:root {
  --primary-color: #0B3B60; /* Dark Navy from logo */
  --secondary-color: #2E7D32; /* Leaf Green from logo */
  --accent-color: #00838F; /* Cyan */
  --background-light: #F8FAF9;
  --text-dark: #1E293B;
  --text-light: #64748B;
  --white: #FFFFFF;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --tap-min: 44px;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Outfit', system-ui, sans-serif;
}

body {
  background-color: var(--background-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

body.cdc-mobile-nav-open {
  overflow: hidden;
  touch-action: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   Typography & Utilities 
========================================= */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-center { text-align: center; }
.my-4 { margin: 4rem 0; }
.py-4 { padding: 4rem 0; }
.py-6 { padding: 6rem 0; }

.section-title {
  font-size: clamp(1.65rem, 4.5vw, 2.5rem);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  width: 40%;
  height: 4px;
  background-color: var(--secondary-color);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}
.section-subtitle {
  font-size: clamp(1rem, 2.8vw, 1.125rem);
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
}
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
  padding-top: 0;
  padding-bottom: 0;
}
@media (min-width: 768px) {
  .container {
    padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
  }
}
@media (min-width: 1100px) {
  .container {
    padding-left: max(2rem, env(safe-area-inset-left, 0px));
    padding-right: max(2rem, env(safe-area-inset-right, 0px));
  }
}

/* =========================================
   Buttons 
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  min-height: var(--tap-min);
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-size: 1rem;
  letter-spacing: 0.5px;
}
.btn-primary {
  background-color: var(--secondary-color);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background-color: #246428;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* =========================================
   Header & Navigation 
========================================= */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem max(1rem, env(safe-area-inset-left)) 0.5rem max(1rem, env(safe-area-inset-right));
  font-size: 0.875rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: center;
}
.top-bar__item {
  display: inline-block;
  line-height: 1.45;
  max-width: 100%;
}
.top-bar__sep {
  margin: 0 6px;
  opacity: 0.85;
}
.app-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.app-header.nav-drawer-open {
  z-index: 12000;
}
.nav-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 59, 96, 0.45);
  z-index: 11990;
}
.nav-drawer-overlay.is-visible {
  display: block;
}
@media (min-width: 992px) {
  .nav-drawer-overlay {
    display: none !important;
  }
}
.nav-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
}
.logo img {
  height: 50px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1rem;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--secondary-color);
}

/* =========================================
   Hero Section 
========================================= */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: var(--primary-color);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero_background_1774870051748.png') center/cover no-repeat;
  opacity: 0.2;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  color: var(--white);
}
.hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--white);
}
.hero-title span {
  color: var(--secondary-color);
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0.9;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* =========================================
   Cards Grid (Services, Programs) 
========================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.card:hover::before {
  transform: scaleX(1);
}
.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
  background: rgba(0, 131, 143, 0.1);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.card-text {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.card-list {
  list-style: none;
  margin-bottom: 1.5rem;
}
.card-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.card-list li i {
  color: var(--secondary-color);
}

/* =========================================
   Why Choose Us 
========================================= */
.highlights-section {
  background: var(--primary-color);
  color: var(--white);
}
.highlights-section .section-title { color: var(--white); }
.highlight-pill {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 1rem 2rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2);
  margin: 0.5rem;
  transition: var(--transition);
}
.highlight-pill:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

/* =========================================
   Footer 
========================================= */
.app-footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 4rem 0 2rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-title {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}
.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}
/* Floating social + WhatsApp (injected by <cdc-footer>) */
.cdc-float-actions {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cdc-float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cdc-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.cdc-float-btn--instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}
.cdc-float-btn--facebook {
  background: #1877f2;
}
.cdc-float-btn--whatsapp {
  background: #25d366;
  font-size: 1.85rem;
}
@media (max-width: 480px) {
  .cdc-float-actions {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    gap: 10px;
  }
  .cdc-float-btn {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
  .cdc-float-btn--whatsapp {
    font-size: 1.7rem;
  }
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}
.footer-legal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}
.footer-legal-links a:hover {
  color: var(--secondary-color);
}

/* =========================================
   Legal Pages
========================================= */
.legal-hero {
  background: linear-gradient(135deg, rgba(11, 59, 96, 0.98), rgba(0, 131, 143, 0.92));
  color: var(--white);
  padding: 5.5rem 0 4rem;
}
.legal-hero-content {
  max-width: 860px;
}
.legal-eyebrow {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.legal-title {
  font-size: 3.25rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.legal-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 760px;
}
.legal-meta {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}
.legal-shell {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.legal-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(11, 59, 96, 0.08);
  padding: 2.5rem;
}
.legal-section + .legal-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(100, 116, 139, 0.15);
}
.legal-section h2 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}
.legal-section p {
  color: var(--text-light);
  font-size: 1rem;
}
.legal-list {
  margin: 1rem 0 0 1.2rem;
  color: var(--text-light);
}
.legal-list li + li {
  margin-top: 0.6rem;
}

/* =========================================
   Mobile Menu Styles
========================================= */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.mobile-menu-btn:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.nav-links__cta-mobile {
  display: none;
}

@media (max-width: 991px) {
  .hero-title { font-size: clamp(2rem, 7vw, 3rem); }
  .top-bar {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.65rem max(1rem, env(safe-area-inset-left)) 0.65rem max(1rem, env(safe-area-inset-right));
    font-size: 0.8rem;
  }
  .mobile-menu-btn {
    display: inline-flex;
    position: absolute;
    right: max(1rem, env(safe-area-inset-right));
    top: 50%;
    transform: translateY(-50%);
    z-index: 12010;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 88vw);
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    box-shadow: -5px 0 24px rgba(0, 0, 0, 0.12);
    padding: max(5rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
    transition: right 0.3s ease;
    z-index: 12005;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links li {
    margin-bottom: 0.35rem;
  }
  .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: var(--tap-min);
    padding: 0.35rem 0;
    width: 100%;
  }
  .nav-links__cta-mobile {
    display: block;
    list-style: none;
    margin: 1rem 0 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid rgba(11, 59, 96, 0.1);
  }
  .nav-links__cta-btn {
    width: 100%;
    justify-content: center;
  }
  .nav-container > .hero-buttons.nav-book-desktop {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title { font-size: clamp(1.85rem, 7vw, 2.75rem); }
  .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .footer-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .legal-hero {
    padding: 4rem 0 3rem;
  }
  .legal-title { font-size: clamp(1.85rem, 5vw, 2.35rem); }
  .legal-card { padding: 1.5rem; }
  /* Fallback overrides for inline conditions */
  .contact-grid { grid-template-columns: 1fr !important; }
  .reliability-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 576px) {
  .highlight-pill {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    margin: 0.35rem;
    width: calc(100% - 0.7rem);
    max-width: 100%;
    justify-content: center;
  }
  .hero {
    min-height: auto;
    padding: 4rem 0 3rem;
    align-items: flex-start;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero .hero-content {
    text-align: center;
  }
  .hero .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .py-6 {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
  .py-4 {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }
  .logo img {
    height: 44px;
    width: auto;
    max-width: min(160px, 52vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .card:hover {
    transform: none;
  }
  .highlight-pill:hover {
    transform: none;
  }
  .blog-card:hover .blog-card__media img {
    transform: none;
  }
  .btn-primary:hover {
    transform: none;
  }
}

/* =========================================
   Interior Image & About Block
========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
/* Animations */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-slide-up {
  animation: slideUp 0.8s ease forwards;
}

/* =========================================
   Blog (integrated patient education)
========================================= */
.blog-subnav {
  background: linear-gradient(180deg, var(--white) 0%, #f4f7f9 100%);
  border-bottom: 1px solid rgba(11, 59, 96, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
.blog-subnav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 0.85rem 0;
}
.blog-subnav__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-color);
  white-space: nowrap;
}
.blog-subnav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
}
.blog-subnav__link {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  transition: var(--transition);
}
.blog-subnav__link:hover {
  color: var(--secondary-color);
  background: rgba(46, 125, 50, 0.08);
}
.blog-subnav__link--active {
  color: var(--white);
  background: var(--primary-color);
}
.blog-subnav__link--active:hover {
  color: var(--white);
  background: var(--primary-color);
  opacity: 0.92;
}

.blog-hero {
  background: linear-gradient(135deg, rgba(11, 59, 96, 0.97), rgba(0, 131, 143, 0.9));
  color: var(--white);
  padding: 4rem 0 3.5rem;
}
.blog-hero--compact {
  padding: 3rem 0 2.5rem;
}
.blog-hero__inner {
  max-width: 820px;
}
.blog-hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.88;
  margin-bottom: 0.75rem;
}
.blog-hero__title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.blog-hero__lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  max-width: 640px;
}

.blog-breadcrumb {
  margin-bottom: 1.25rem;
}
.blog-breadcrumb--article {
  margin-bottom: 2rem;
}
.blog-breadcrumb__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}
.blog-breadcrumb--article .blog-breadcrumb__list {
  color: var(--text-light);
}
.blog-breadcrumb__list li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  opacity: 0.55;
  pointer-events: none;
}
.blog-breadcrumb__list a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-breadcrumb__list a:hover {
  color: var(--secondary-color);
}
.blog-hero .blog-breadcrumb__list a:hover {
  color: var(--white);
  opacity: 0.95;
}

.blog-section {
  padding-bottom: 5rem;
}
.blog-section-heading .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}
.blog-section-heading.text-center .section-title {
  display: inline-block;
}

.blog-empty {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 560px;
  margin: 0 auto;
}

.blog-grid {
  margin-top: 2rem;
}

.blog-card {
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(11, 59, 96, 0.06);
}
.blog-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e8eef2;
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}
.blog-card__body {
  padding: 1.5rem 1.65rem 1.65rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card__meta-top {
  margin-bottom: 0.85rem;
}
.blog-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 131, 143, 0.12);
  color: var(--accent-color);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.blog-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.35;
  color: var(--primary-color);
}
.blog-card__title a:hover {
  color: var(--accent-color);
}
.blog-card__excerpt {
  color: var(--text-light);
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.55;
}
.blog-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(100, 116, 139, 0.15);
  padding-top: 1rem;
  margin-top: auto;
}
.blog-card__date {
  color: var(--text-light);
  font-size: 0.85rem;
}
.blog-card__read {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}
.blog-card__read:hover {
  color: var(--accent-color);
}

.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3.5rem;
}
.blog-pagination__nums {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
}
.blog-pagination__current {
  background: var(--primary-color);
  color: var(--white);
  min-width: 2.75rem;
  min-height: var(--tap-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
}
.blog-pagination__num {
  background: var(--white);
  border: 1px solid rgba(11, 59, 96, 0.12);
  color: var(--text-dark);
  min-width: 2.75rem;
  min-height: var(--tap-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 600;
}
.blog-pagination__num:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}
.blog-pagination__btn {
  padding: 0.5rem 1.25rem !important;
  min-height: var(--tap-min);
}

.blog-section--article {
  padding-top: 2.5rem;
}
.blog-article {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.5rem 2.25rem 3rem;
  border-radius: 16px;
}
.blog-article__header {
  text-align: center;
  margin-bottom: 2rem;
}
.blog-article__title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
  margin-top: 1rem;
}
.blog-article__byline {
  color: var(--text-light);
  margin-top: 1rem;
  font-size: 1rem;
}
.blog-article__hero-img {
  margin-bottom: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.blog-article__hero-img img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
}

.prose-blog {
  font-size: 1.075rem;
  line-height: 1.85;
  color: var(--text-dark);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.prose-blog h2,
.prose-blog h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-family: 'Outfit', system-ui, sans-serif;
}
.prose-blog h2 {
  font-size: 1.45rem;
}
.prose-blog h3 {
  font-size: 1.2rem;
}
.prose-blog p {
  margin-bottom: 1rem;
}
.prose-blog ul,
.prose-blog ol {
  margin: 1rem 0 1.25rem 1.25rem;
}
.prose-blog li + li {
  margin-top: 0.35rem;
}
.prose-blog a {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose-blog a:hover {
  color: var(--secondary-color);
}
.prose-blog img,
.prose-blog video {
  max-width: 100%;
  height: auto;
}
.prose-blog table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
}
@media (max-width: 768px) {
  .blog-article__content.prose-blog {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.blog-share {
  border-top: 1px solid rgba(100, 116, 139, 0.18);
  padding-top: 2rem;
  margin-top: 2.5rem;
}
.blog-share__title {
  font-size: 1.1rem;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.blog-share__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.blog-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
}
.blog-share__btn--facebook { background: #1877f2; }
.blog-share__btn--twitter { background: #1da1f2; }
.blog-share__btn--linkedin { background: #0a66c2; }
.blog-share__btn--whatsapp { background: #25d366; }
.blog-share__btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.blog-article__back {
  margin-top: 2.5rem;
  text-align: center;
}

/* Homepage blog teaser */
.blog-teaser-section {
  background: var(--white);
  border-top: 1px solid rgba(11, 59, 96, 0.06);
}
.blog-teaser-card {
  background: linear-gradient(135deg, rgba(11, 59, 96, 0.06), rgba(0, 131, 143, 0.06));
  border: 1px solid rgba(11, 59, 96, 0.08);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .blog-teaser-card {
    grid-template-columns: 1fr auto;
    gap: 3rem;
    padding: 3.5rem 3rem;
  }
}
.blog-teaser-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}
.blog-teaser-title {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}
.blog-teaser-text {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 560px;
}

.blog-breadcrumb__list li[aria-current='page'] {
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 991px) {
  .blog-subnav__inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.75rem;
  }
  .blog-subnav__label {
    flex-shrink: 0;
  }
  .blog-subnav__links {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    gap: 0.45rem;
    padding-bottom: 4px;
    scrollbar-width: thin;
    overscroll-behavior-x: contain;
  }
  .blog-subnav__link {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .blog-hero {
    padding: 3rem 0 2.75rem;
  }
  .blog-hero--compact {
    padding: 2.25rem 0 2rem;
  }
  .blog-article {
    padding: 1.5rem 1.25rem 2rem;
    margin-left: 0;
    margin-right: 0;
    border-radius: 12px;
  }
  .blog-section {
    padding-bottom: 3.5rem;
  }
}

@media (max-width: 576px) {
  .blog-teaser-card {
    padding: 2rem 1.25rem;
  }
  .blog-teaser-title {
    font-size: clamp(1.35rem, 5.5vw, 2rem);
  }
  .blog-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .blog-card__read {
    white-space: normal;
  }
  .blog-pagination {
    flex-direction: column;
    gap: 1rem;
  }
  .blog-pagination__nums {
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .blog-share__buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-share__btn {
    width: 100%;
    min-height: var(--tap-min);
    justify-content: center;
  }
  .prose-blog {
    font-size: 1rem;
    line-height: 1.75;
  }
  .prose-blog h2 {
    font-size: 1.25rem;
  }
  .prose-blog h3 {
    font-size: 1.08rem;
  }
}
