/* ==========================================================================
   Amed Framework Business Custom CSS - Bootstrap 5.3 Compatible
   Phase 3: Custom CSS/SCSS (via CDN)
   ========================================================================== */

/* -------------------------------------------------------------------------
   Override Bootstrap 5 Variables
   ------------------------------------------------------------------------- */
:root {
  /* Bootstrap Core Colors */
  --bs-primary: #007bff;
  --bs-secondary: #6c757d;
  --bs-success: #28a745;
  --bs-info: #17a2b8;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #343a40;

  /* Font System */
  --bs-font-sans-serif: "Roboto", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bs-font-serif: Georgia, "Times New Roman", serif;
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* AF Business Custom Color Palette */
  --akm-primary: #007bff;
  --akm-secondary: #6c757d;
  --akm-accent: #28a745;
  --akm-blue: #007bff;
  --akm-green: #28a745;
  --akm-orange: #ffc107;
  --akm-red: #dc3545;
  --akm-gray: #6c757d;
  --akm-light-gray: #f8f9fa;
  --akm-dark-gray: #343a40;

  /* Dimensions & Body Typography */
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.6;

  /* Fluid Heading Scale */
  --fs-h1: clamp(2.00rem, 4.0vw + 1.00rem, 3.25rem);
  --fs-h2: clamp(1.60rem, 2.5vw + 0.80rem, 2.40rem);
  --fs-h3: clamp(1.30rem, 1.8vw + 0.60rem, 1.85rem);
  --fs-h4: clamp(1.10rem, 1.2vw + 0.50rem, 1.40rem);
  --fs-h5: clamp(0.95rem, 0.8vw + 0.40rem, 1.15rem);
  --fs-h6: clamp(0.82rem, 0.5vw + 0.40rem, 0.95rem);

  /* Body & Editorial Scale */
  --fs-body: clamp(0.95rem, 0.3vw + 0.85rem, 1.05rem);
  --fs-lead: clamp(1.10rem, 0.5vw + 0.95rem, 1.30rem);
  --fs-small: 0.85rem;
  --fs-xs: 0.75rem;

  /* Fluid Spacing Rhythm */
  --space-section-y: clamp(2.5rem, 6vw, 5.5rem);
  --space-section-gap: clamp(1.5rem, 4vw, 3.0rem);
  --space-card-pad: clamp(1.15rem, 2.5vw, 1.85rem);

  /* Border Radius */
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-2xl: 2rem;
  --bs-border-radius-pill: 50rem;

  /* Box Shadow */
  --bs-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* -------------------------------------------------------------------------
   Base Style Overrides
   ------------------------------------------------------------------------- */
html,
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--bs-font-sans-serif);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
}

/* Universal Fluid Heading Typography Rules */
h1, .h1 { font-size: var(--fs-h1); line-height: 1.15; text-wrap: balance; overflow-wrap: break-word; word-break: normal; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.25; text-wrap: balance; overflow-wrap: break-word; word-break: normal; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.25; text-wrap: balance; overflow-wrap: break-word; word-break: normal; }
h4, .h4 { font-size: var(--fs-h4); line-height: 1.25; text-wrap: balance; overflow-wrap: break-word; word-break: normal; }
h5, .h5 { font-size: var(--fs-h5); line-height: 1.25; text-wrap: balance; overflow-wrap: break-word; word-break: normal; }
h6, .h6 { font-size: var(--fs-h6); line-height: 1.25; text-wrap: balance; overflow-wrap: break-word; word-break: normal; }

/* Universal Heading & Card Balance */
.hero-slide__title,
.section-heading,
.card-title {
  text-wrap: balance;
}

/* Universal Body & Copy Rules */
p, .card-text, .detail-body p {
  text-wrap: pretty;
}

.cards-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--akm-primary);
}

.cards-section .section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--akm-secondary);
  margin-bottom: 3rem;
}

.custom-card {
  border: none;
  border-radius: var(--bs-border-radius-lg);
  box-shadow: var(--bs-box-shadow);
  overflow: hidden;
  transition: all 0.15s ease-in-out;
  height: 100%;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--bs-box-shadow-lg);
}

.custom-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.custom-card .card-body {
  padding: 1.5rem;
}

.custom-card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--akm-primary);
  margin-bottom: 0.75rem;
}

.custom-card .card-text {
  color: var(--akm-gray);
  line-height: 1.5;
}

.custom-card .card-footer {
  background-color: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 1.5rem;
}

/* -------------------------------------------------------------------------
   Products Section
   ------------------------------------------------------------------------- */
.products-section {
  padding: 4rem 0;
  background-color: var(--akm-light-gray);
}

.product-card {
  border: none;
  border-radius: var(--bs-border-radius-lg);
  overflow: hidden;
  transition: all 0.15s ease-in-out;
  background: white;
  box-shadow: var(--bs-box-shadow);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--bs-box-shadow-lg);
}

.product-card .product-image-container {
  overflow: hidden;
  height: 200px;
  position: relative;
}

.product-card .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.15s ease-in-out;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-card .product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--akm-red);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.product-card .product-info {
  padding: 1.5rem;
}

.product-card .product-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--akm-primary);
  margin-bottom: 0.5rem;
}

.product-card .product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--akm-green);
  margin-bottom: 0.75rem;
}

.product-card .product-description {
  font-size: 0.875rem;
  color: var(--akm-gray);
  line-height: 1.5;
}

/* -------------------------------------------------------------------------
   Features Section
   ------------------------------------------------------------------------- */
.features-section {
  padding: 4rem 0;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  transition: transform 0.15s ease-in-out;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item .feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--akm-primary), var(--akm-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  box-shadow: var(--bs-box-shadow);
}

.feature-item .feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--akm-primary);
  margin-bottom: 1rem;
}

.feature-item .feature-description {
  color: var(--akm-gray);
  line-height: 1.5;
}

/* -------------------------------------------------------------------------
   Testimonials Section
   ------------------------------------------------------------------------- */
.testimonials-section {
  padding: 4rem 0;
  background-color: var(--akm-light-gray);
}

.testimonial-card {
  background: white;
  border-radius: var(--bs-border-radius-lg);
  padding: 2rem;
  box-shadow: var(--bs-box-shadow);
  text-align: center;
  height: 100%;
}

.testimonial-card .testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 4px solid white;
  box-shadow: var(--bs-box-shadow);
}

.testimonial-card .testimonial-content {
  font-style: italic;
  color: var(--akm-gray);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.testimonial-card .testimonial-author {
  font-weight: 600;
  color: var(--akm-primary);
  margin-bottom: 0.25rem;
}

.testimonial-card .testimonial-role {
  color: var(--akm-secondary);
  font-size: 0.875rem;
}

/* -------------------------------------------------------------------------
   Contact Section
   ------------------------------------------------------------------------- */
.contact-section {
  padding: 4rem 0;
}

.contact-form {
  background: white;
  border-radius: var(--bs-border-radius-lg);
  padding: 2rem;
  box-shadow: var(--bs-box-shadow);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form .form-group label {
  font-weight: 600;
  color: var(--akm-primary);
  margin-bottom: 0.5rem;
}

.contact-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: var(--bs-border-radius);
  padding: 0.75rem 1rem;
  transition: all 0.15s ease-in-out;
}

.contact-form .form-control:focus {
  border-color: var(--akm-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.contact-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-submit {
  background: linear-gradient(45deg, var(--akm-primary), var(--akm-blue));
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.15s ease-in-out;
  width: 100%;
}

.contact-form .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* -------------------------------------------------------------------------
   Footer - Modernized with Bootstrap 5
   ------------------------------------------------------------------------- */
.main-footer {
  background-color: var(--akm-dark-gray);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 0;
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  margin-bottom: 1rem;
  display: block;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
}

.social-link:hover {
  background: var(--akm-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* -------------------------------------------------------------------------
   Swiper Carousel Custom Styles
   ------------------------------------------------------------------------- */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-carousel .swiper-slide {
  padding: 1rem;
}

/* -------------------------------------------------------------------------
   GLightbox Custom Styles
   ------------------------------------------------------------------------- */
.glightbox {
  border-radius: var(--bs-border-radius);
  overflow: hidden;
}

/* -------------------------------------------------------------------------
   Flatpickr Custom Styles
   ------------------------------------------------------------------------- */
.flatpickr-calendar {
  font-family: var(--bs-font-sans-serif);
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow-lg);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--akm-primary);
  border-color: var(--akm-primary);
}

/* -------------------------------------------------------------------------
   Custom Buttons - Bootstrap 5 ile Uyumlu
   ------------------------------------------------------------------------- */
.btn-custom {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.15s ease-in-out;
  border: none;
}

.btn-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-gradient-primary {
  background: linear-gradient(45deg, var(--akm-primary), var(--akm-blue));
  border: none;
  color: white;
}

.btn-gradient-primary:hover {
  background: linear-gradient(45deg, var(--akm-blue), var(--akm-primary));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-gradient-success {
  background: linear-gradient(45deg, var(--akm-green), #20c997);
  border: none;
  color: white;
}

.btn-gradient-success:hover {
  background: linear-gradient(45deg, #20c997, var(--akm-green));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* -------------------------------------------------------------------------
   Form Styles - Bootstrap 5 Compatible (AKM Custom Focus Styles)
   ------------------------------------------------------------------------- */
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--akm-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-check-input:checked {
  background-color: var(--akm-primary);
  border-color: var(--akm-primary);
}

/* -------------------------------------------------------------------------
   Custom Alert Styles - AKM Custom Alert Variants (On Bootstrap 5)
   ------------------------------------------------------------------------- */
.alert-akm-primary {
  background-color: rgba(0, 123, 255, 0.1);
  color: var(--akm-primary);
  border: 1px solid rgba(0, 123, 255, 0.2);
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow-sm, 0 .125rem .25rem rgba(0,0,0,.075));
  padding: 1rem 1.5rem;
}

.alert-akm-success {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--akm-green);
  border: 1px solid rgba(40, 167, 69, 0.2);
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow-sm, 0 .125rem .25rem rgba(0,0,0,.075));
  padding: 1rem 1.5rem;
}

.alert-akm-danger {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--akm-red);
  border: 1px solid rgba(220, 53, 69, 0.2);
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow-sm, 0 .125rem .25rem rgba(0,0,0,.075));
  padding: 1rem 1.5rem;
}

.alert-akm-warning {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--akm-orange);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: var(--bs-border-radius);
  box-shadow: var(--bs-box-shadow-sm, 0 .125rem .25rem rgba(0,0,0,.075));
  padding: 1rem 1.5rem;
}

/* -------------------------------------------------------------------------
   Modal Styles - AKM Custom Modal Variants (On Bootstrap 5)
   ------------------------------------------------------------------------- */
.modal-content {
  border: none;
  border-radius: var(--bs-border-radius-xl);
  box-shadow: var(--bs-box-shadow-lg);
}

.modal-title {
  font-weight: 600;
  color: var(--akm-primary);
}

/* -------------------------------------------------------------------------
   Utility Classes
   ------------------------------------------------------------------------- */
.text-gradient {
  color: var(--akm-primary);
  font-weight: 700;
}

.container-custom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.rounded-custom {
  border-radius: var(--bs-border-radius-lg) !important;
}

.rounded-xl {
  border-radius: var(--bs-border-radius-xl) !important;
}

.rounded-2xl {
  border-radius: var(--bs-border-radius-2xl) !important;
}

.shadow-custom {
  box-shadow: var(--bs-box-shadow) !important;
}

.shadow-lg-custom {
  box-shadow: var(--bs-box-shadow-lg) !important;
}

.transition-custom {
  transition: all 0.15s ease-in-out !important;
}

.section-padding {
  padding: 4rem 0;
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.backdrop-blur {
  backdrop-filter: blur(5px);
}

/* -------------------------------------------------------------------------
   Hover Efektleri
   ------------------------------------------------------------------------- */
.hover-lift {
  transition: transform 0.15s ease-in-out;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

.hover-scale {
  transition: transform 0.15s ease-in-out;
}

.hover-scale:hover {
  transform: scale(1.05);
}

.hover-shadow {
  transition: box-shadow 0.15s ease-in-out;
}

.hover-shadow:hover {
  box-shadow: var(--bs-box-shadow-lg);
}

/* -------------------------------------------------------------------------
   Loading Spinner
   ------------------------------------------------------------------------- */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* -------------------------------------------------------------------------
   Animasyonlar
   ------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s ease-out;
}

/* -------------------------------------------------------------------------
   Color Classes
   ------------------------------------------------------------------------- */
.text-akm-primary { color: var(--akm-primary) !important; }
.text-akm-secondary { color: var(--akm-secondary) !important; }
.text-akm-success { color: var(--akm-green) !important; }
.text-akm-danger { color: var(--akm-red) !important; }
.text-akm-warning { color: var(--akm-orange) !important; }

.bg-akm-primary { background-color: var(--akm-primary) !important; }
.bg-akm-secondary { background-color: var(--akm-secondary) !important; }
.bg-akm-success { background-color: var(--akm-green) !important; }
.bg-akm-danger { background-color: var(--akm-red) !important; }
.bg-akm-warning { background-color: var(--akm-orange) !important; }

/* -------------------------------------------------------------------------
   Responsive Customizations
   ------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .akmslider {
    height: 400px;
  }

  .akmslider .slide-content h2 {
    font-size: 2rem;
  }

  .akmslider .slide-content p {
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {
  .akmslider {
    height: 300px;
  }

  .akmslider .slide-content {
    padding: 1.5rem;
  }

  .akmslider .slide-content h2 {
    font-size: 1.5rem;
  }

  .akmslider .slide-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem !important;
  }

  .main-header .navbar-nav {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    border-radius: var(--bs-border-radius-lg);
    margin-top: 0.5rem;
  }

  .feature-item,
  .testimonial-card,
  .product-card {
    margin-bottom: 2rem;
  }

  .section-padding {
    padding: 2rem 0;
  }
}

@media (max-width: 576px) {
  .akmslider {
    height: 250px;
  }

  .akmslider .slide-content {
    padding: 1rem;
  }

  .akmslider .slide-content h2 {
    font-size: 1.25rem;
  }

  .akmslider .slide-content p {
    font-size: 0.875rem;
  }

  .cards-section .section-title,
  .features-section .section-title,
  .testimonials-section .section-title,
  .contact-section .section-title {
    font-size: 1.75rem !important;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .footer-content {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

/* -------------------------------------------------------------------------
   Scrollbar Styles (For Webkit-based browsers)
   ------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--akm-primary);
  border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0056b3;
}

/* -------------------------------------------------------------------------
   Selection Stilleri
   ------------------------------------------------------------------------- */
::selection {
  background-color: rgba(0, 123, 255, 0.2);
  color: var(--akm-primary);
}

::-moz-selection {
  background-color: rgba(0, 123, 255, 0.2);
  color: var(--akm-primary);
}

/* Breadcrumb Divider */
.breadcrumb {
    --bs-breadcrumb-divider: ' > ';
}

/* ==========================================================================
   Professional Newspaper Typography (NYT Style)
   ========================================================================== */

/* Section / Category Labels - Subtle & Modern */
.nyt-news-heading {
    font-family: var(--bs-body-font-family, system-ui, -apple-system, sans-serif) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    color: #121212 !important;
    border-top: 2px solid #000 !important; /* NYT's distinct heavy section line */
    border-bottom: none !important;
    padding-top: 0.65rem !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0 !important;
    display: block;
    width: 100%;
    transition: all 0.2s ease;
}

.nyt-news-heading a {
    color: inherit !important;
    text-decoration: none !important;
}

.nyt-news-heading a:hover {
    opacity: 0.7;
}

/* Category Column - Modern Grid with Dividers (Fine Ink Grid) */
.category-column {
    border-right: 1px solid #eeeeee !important;
    border-bottom: 1px solid #eeeeee !important;
    background-color: #ffffff !important;
    transition: background-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-column:hover {
    background-color: #fafafa !important;
}

/* 3-column behavior alignment */
@media (min-width: 992px) {
    .category-column:nth-child(3n) {
        border-right: none !important; /* Clean outer edge */
    }
}

/* Ensure visual hierarchy */
@media (max-width: 768px) {
    .nyt-news-heading {
        font-size: 0.7rem !important;
        margin-bottom: 1rem !important;
        padding-top: 0.5rem !important;
    }
    .category-column {
        border-right: none !important;
        border-bottom: 1px solid #eee !important;
    }
}

/* Article Headlines & Content - Premium Typography */
.nyt-article-title {
    font-family: 'Literata', serif !important;
    font-size: 1.32rem !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    margin-bottom: 0.65rem !important;
    transition: color 0.2s;
}

.nyt-article-title a {
    color: #121212 !important;
    text-decoration: none !important;
}

.nyt-article-title a:hover {
    color: #333 !important;
}

.nyt-article-summary {
    font-family: var(--bs-font-sans-serif);
    font-size: 0.94rem !important;
    line-height: 1.58 !important;
    color: #374151 !important;
    margin-top: 0.85rem !important;
}

.nyt-article-meta {
    color: #64748b !important;
    letter-spacing: 0.05em !important;
}

/* ==========================================================================
   Modern Cookie Consent Banner / Floating Notice Card
   ========================================================================== */
.cookie-consent-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: auto;
    width: 400px;
    max-width: calc(100vw - 48px);
    background: #ffffff;
    color: #1e293b;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.06);
    padding: 1.25rem;
    z-index: 2050;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

[data-bs-theme="dark"] .cookie-consent-banner {
    background: #1e293b;
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2);
}

.cookie-consent-banner.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.cookie-consent-banner .container,
.cookie-consent-banner .cookie-consent-container {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.cookie-consent-banner .cookie-consent-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.cookie-consent-banner .cookie-consent-icon {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--bs-primary, #007bff);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.cookie-consent-banner .cookie-consent-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: inherit;
    font-family: var(--bs-font-sans-serif, sans-serif);
}

.cookie-consent-banner .cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.cookie-consent-banner .cookie-consent-actions .btn {
    font-size: 0.8125rem;
    padding: 0.375rem 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.cookie-consent-banner .btn-primary {
    background-color: var(--bs-primary, #007bff);
    border-color: var(--bs-primary, #007bff);
    color: #ffffff;
}

.cookie-consent-banner .btn-primary:hover {
    filter: brightness(0.92);
}

.cookie-consent-banner .cookie-policy-btn,
.cookie-consent-banner .btn-outline-light {
    border-color: rgba(0, 0, 0, 0.15);
    color: #475569;
    background: transparent;
}

[data-bs-theme="dark"] .cookie-consent-banner .cookie-policy-btn,
[data-bs-theme="dark"] .cookie-consent-banner .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    color: #cbd5e1;
}

.cookie-consent-banner .cookie-policy-btn:hover,
.cookie-consent-banner .btn-outline-light:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #1e293b;
}

[data-bs-theme="dark"] .cookie-consent-banner .cookie-policy-btn:hover,
[data-bs-theme="dark"] .cookie-consent-banner .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

@media (max-width: 575.98px) {
    .cookie-consent-banner {
        right: 16px;
        bottom: 16px;
        left: 16px;
        width: auto;
        max-width: none;
        padding: 1rem;
        border-radius: 0.875rem;
    }
}
/* ==========================================================================
   Clean Code Separation Utility & Component Classes
   ========================================================================== */
.object-fit-cover { object-fit: cover !important; }
.object-fit-contain { object-fit: contain !important; }
.ratio-16-9 { aspect-ratio: 16 / 9 !important; }
.ratio-4-3 { aspect-ratio: 4 / 3 !important; }
.ratio-1-1 { aspect-ratio: 1 / 1 !important; }

.h-96 { height: 96px !important; }
.w-96 { width: 96px !important; }
.h-84 { height: 84px !important; }
.w-84 { width: 84px !important; }
.h-60 { height: 60px !important; }
.w-60 { width: 60px !important; }
.h-48 { height: 48px !important; }
.w-48 { width: 48px !important; }
.h-44 { height: 44px !important; }
.w-44 { width: 44px !important; }
.h-40 { height: 40px !important; }
.w-40 { width: 40px !important; }
.h-38 { height: 38px !important; }
.w-32 { width: 32px !important; }
.h-32 { height: 32px !important; }
.w-24 { width: 24px !important; }
.h-24 { height: 24px !important; }
.w-18 { width: 18px !important; }
.h-18 { height: 18px !important; }
.w-250 { width: 250px !important; }

.h-140 { height: 140px !important; }
.h-160 { height: 160px !important; }
.h-180 { height: 180px !important; }
.h-200 { height: 200px !important; }
.h-220 { height: 220px !important; }
.h-240 { height: 240px !important; }
.h-260 { height: 260px !important; }
.h-280 { height: 280px !important; }
.h-300 { height: 300px !important; }
.h-380 { height: 380px !important; }
.h-400 { height: 400px !important; }
.h-420 { height: 420px !important; }

.max-h-40 { max-height: 40px !important; }
.max-h-48 { max-height: 48px !important; }
.max-h-60 { max-height: 60px !important; }
.max-h-70 { max-height: 70px !important; }
.max-h-80 { max-height: 80px !important; }
.max-h-380 { max-height: 380px !important; }
.max-h-420 { max-height: 420px !important; }

.max-w-40 { max-width: 40px !important; }
.max-w-60 { max-width: 60px !important; }
.max-w-80 { max-width: 80px !important; }
.max-w-100 { max-width: 100px !important; }

.sticky-top-2rem { top: 2rem !important; }
.mt-20px { margin-top: 20px !important; }
.brand-text-lg { font-size: 1.5rem !important; }
.brand-mark-circle {
  width: 40px;
  height: 40px;
  font-family: 'Pirata One', system-ui;
  font-weight: bold;
  font-size: 1.2rem;
}
.brand-mark-user {
  width: 32px;
  height: 32px;
  font-weight: 700;
}
.user-avatar-sm {
  width: 24px;
  height: 24px;
  font-weight: 600;
  font-size: 12px;
}
.user-avatar-md {
  width: 32px;
  height: 32px;
  font-weight: 600;
  font-size: 16px;
}
.svg-chevron-menu {
  opacity: 0.7;
  margin-left: 2px;
}
[dir="rtl"] .svg-chevron-menu {
  margin-left: 0;
  margin-right: 2px;
}
.btn-dark-toggle-mobile {
  width: 54px;
  height: 58px;
}
.meta-text-xs {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  letter-spacing: 0.04em !important;
}
.meta-text-sm {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
}
.dropdown-header-spaced {
  letter-spacing: 0.05em !important;
}
.cursor-pointer {
  cursor: pointer !important;
}
.captcha-img {
  height: 38px !important;
  cursor: pointer !important;
}
.video-poster-container {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}
.img-hover-zoom {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  cursor: pointer !important;
}
.img-hover-zoom:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}
.svg-hidden-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.footer-map-container {
  height: 300px;
  overflow: hidden;
}
.akm-logo-footer {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}
.fallback-hide {
  display: none !important;
}
.fallback-show {
  display: flex !important;
}
.w-56 { width: 56px !important; }
.h-56 { height: 56px !important; }
.max-w-600 { max-width: 600px !important; }
.w-72 { width: 72px !important; }
.h-72 { height: 72px !important; }
.min-w-80 { min-width: 80px !important; }
.max-w-150 { max-width: 150px !important; }
