﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap");:root {
  color-scheme: light;

  --paper: #f7f4ee;
  --warm-white: #fcfbf8;
  --ivory: #f4f0e8;
  --white: #ffffff;

  --ink: #171a19;
  --graphite: #252b29;

  --deep-teal: #174f49;
  --signal-teal: #14b8a6;

  --sage-soft: #dde8e3;
  --sand-soft: #e9e1d5;
  --stone: #d8d2c7;

  --muted: #68706d;
  --muted-light: #8c928f;

  --soft-border: rgba(23, 26, 25, 0.12);
  --border-light: rgba(255, 255, 255, 0.18);

  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1180px;
  --container-wide: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(20, 184, 166, 0.18);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.22);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(calc(100% - 40px), var(--container-wide));
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease,
    transform .2s ease;
}

.btn-primary {
  border-color: var(--deep-teal);
  background: var(--deep-teal);
  color: white;
}

.btn-primary:hover {
  border-color: var(--graphite);
  background: var(--graphite);
}

.btn-light {
  border-color: white;
  background: white;
  color: var(--deep-teal);
}

.btn-light:hover {
  background: var(--warm-white);
}

.btn-outline-light {
  border-color: rgba(255,255,255,.70);
  background: transparent;
  color: white;
}

.btn-outline-light:hover {
  border-color: white;
  background: rgba(255,255,255,.10);
}

.article-prose {
  max-width: 760px;
  color: var(--graphite);
  font-size: 18px;
  line-height: 1.75;
}

.article-prose > * + * {
  margin-top: 1.35em;
}

.article-prose h2,
.article-prose h3 {
  color: var(--ink);
  scroll-margin-top: 112px;
}

.article-prose h2 {
  margin-top: 2.25em;
  font-size: 30px;
  line-height: 1.22;
  font-weight: 650;
}

.article-prose h3 {
  margin-top: 1.8em;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 650;
}

.article-prose ul,
.article-prose ol {
  padding-left: 1.35em;
}

.article-prose li + li {
  margin-top: .55em;
}

.article-prose blockquote {
  margin-left: 0;
  border-left: 4px solid var(--signal-teal);
  padding-left: 1.2em;
  color: var(--muted);
}

.article-prose a {
  color: var(--deep-teal);
  font-weight: 600;
  text-underline-offset: 4px;
}

.article-prose hr {
  border: 0;
  border-top: 1px solid var(--soft-border);
  margin: 2.2em 0;
}

@media (min-width: 768px) {
  .container,
  .container-wide {
    width: min(calc(100% - 64px), var(--container));
  }

  .container-wide {
    max-width: var(--container-wide);
  }
}

@media (max-width: 640px) {
  .article-prose {
    font-size: 16.5px;
    line-height: 1.72;
  }

  .article-prose h2 {
    font-size: 25px;
  }

  .article-prose h3 {
    font-size: 20px;
  }
}
/* ===== HOMEPAGE ===== */

.home-header{
  position:absolute;inset:0 0 auto;z-index:40;
  border-bottom:1px solid var(--border-light);
}
.home-header-inner{
  display:flex;min-height:78px;align-items:center;justify-content:space-between;
  gap:24px;
}
.brand{text-decoration:none;color:#fff;min-width:0}
.brand strong{display:block;font-size:19px;line-height:1.3}
.brand span{display:block;margin-top:2px;font-size:14px;line-height:1.4;color:rgba(255,255,255,.84)}
.home-nav{display:flex;align-items:center;gap:32px}
.home-nav a{color:rgba(255,255,255,.88);text-decoration:none;font-size:15px;font-weight:500}
.home-nav a:hover{color:#fff}
.menu-button{
  display:none;width:44px;height:44px;border:1px solid rgba(255,255,255,.3);
  border-radius:10px;background:rgba(255,255,255,.1);color:#fff
}
.mobile-menu{background:var(--warm-white);padding:18px 20px;box-shadow:0 10px 30px rgba(0,0,0,.08)}
.mobile-menu nav{display:grid}
.mobile-menu a{
  padding:15px 0;border-bottom:1px solid var(--soft-border);
  color:var(--ink);text-decoration:none;font-size:17px;font-weight:600
}

.hero{
  position:relative;min-height:820px;overflow:hidden;background:#122522;color:#fff
}
.hero video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover
}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(8,14,13,.76) 0%,rgba(8,14,13,.50) 45%,rgba(8,14,13,.20) 100%)
}
.hero-inner{
  position:relative;z-index:2;padding-top:190px;padding-bottom:100px
}
.eyebrow{
  margin:0;font-family:var(--font-mono);font-size:13px;line-height:1.8;
  letter-spacing:.04em;color:rgba(255,255,255,.75)
}
.hero h1{
  max-width:820px;margin:22px 0 0;font-size:clamp(54px,5vw,76px);
  line-height:1.03;letter-spacing:-.035em;font-weight:650
}
.hero-copy{
  max-width:720px;margin:26px 0 0;font-size:18px;line-height:1.75;
  color:rgba(255,255,255,.82)
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}
.hero-note{margin-top:20px;font-size:15px;line-height:1.7;color:rgba(255,255,255,.78)}

.doctor-mini{
  position:absolute;right:0;bottom:52px;z-index:3;
  display:flex;width:min(410px,calc(100% - 40px));gap:16px;align-items:center;
  padding:16px;border:1px solid rgba(255,255,255,.3);border-radius:14px;
  background:rgba(255,255,255,.94);color:var(--ink)
}
.doctor-mini img{
  width:72px;height:72px;min-width:72px;object-fit:contain;border-radius:10px;background:var(--warm-white)
}
.doctor-mini .label{font-family:var(--font-mono);font-size:13px;color:var(--muted)}
.doctor-mini strong{display:block;margin-top:4px;font-size:16px;line-height:1.45}
.doctor-mini p{margin:7px 0 0;font-size:14px;line-height:1.6;color:var(--muted)}

.section{padding:110px 0}
.section-paper{background:var(--paper)}
.section-white{background:var(--warm-white)}
.section-sage{background:var(--sage-soft)}
.split{
  display:grid;grid-template-columns:.44fr .56fr;gap:56px;align-items:start
}
.split-services{grid-template-columns:.38fr .62fr}
.kicker{
  margin:0;font-family:var(--font-mono);font-size:13px;line-height:1.7;color:var(--muted)
}
.display-title{
  margin:20px 0 0;font-size:clamp(38px,4vw,52px);
  line-height:1.08;letter-spacing:-.025em;font-weight:650
}
.lead-copy{font-size:17px;line-height:1.85;color:var(--muted)}
.border-copy{border-left:1px solid var(--soft-border);padding-left:48px}
.border-copy p{margin:0 0 20px}

.service-list{border-top:1px solid var(--soft-border)}
.service-row{
  display:grid;grid-template-columns:54px 1fr 32px;gap:24px;
  padding:28px 0;border-bottom:1px solid var(--soft-border);
  text-decoration:none;color:var(--ink)
}
.service-row:hover{border-color:var(--deep-teal)}
.service-number{font-family:var(--font-mono);font-size:13px;color:var(--muted)}
.service-title{font-size:24px;line-height:1.25;font-weight:650}
.service-desc{display:block;margin-top:12px;font-size:17px;line-height:1.75;color:var(--muted)}
.service-arrow{font-size:24px;color:var(--muted);transition:transform .2s}
.service-row:hover .service-arrow{transform:translateX(5px);color:var(--deep-teal)}

.doctor-section{
  display:grid;grid-template-columns:150px 1fr;gap:44px;align-items:center
}
.doctor-photo{
  width:150px;height:180px;padding:6px;border-radius:14px;background:var(--warm-white);
  object-fit:contain
}
.doctor-name{margin:14px 0 0;font-size:18px;font-weight:650}
.doctor-text{max-width:820px;font-size:17px;line-height:1.85;color:var(--muted)}
.doctor-tags{font-size:16px;line-height:1.8;color:var(--graphite)}

.process-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  margin-top:44px;border-top:1px solid var(--soft-border)
}
.process-item{position:relative;padding:32px 30px 0;border-left:1px solid var(--soft-border)}
.process-item:first-child{border-left:0}
.process-dot{
  position:absolute;top:-5px;left:30px;width:10px;height:10px;
  border-radius:50%;background:var(--signal-teal)
}
.process-number{font-family:var(--font-mono);font-size:56px;color:var(--stone)}
.process-item h3{margin:18px 0 0;font-size:22px;line-height:1.4}
.process-item p{font-size:17px;line-height:1.8;color:var(--muted)}

.article-preview-grid{display:grid;grid-template-columns:.56fr .44fr;gap:40px;margin-top:40px}
.article-featured,.article-small{border-top:1px solid var(--soft-border);border-bottom:1px solid var(--soft-border);padding:30px 0}
.article-small + .article-small{border-top:0}
.article-meta{font-family:var(--font-mono);font-size:13px;color:var(--muted)}
.article-featured h3{font-size:36px;line-height:1.2;margin:16px 0}
.article-small h3{font-size:24px;line-height:1.25;margin:16px 0}
.article-preview-grid p{font-size:16px;line-height:1.75;color:var(--muted)}
.text-link{display:inline-block;margin-top:18px;color:var(--deep-teal);font-weight:650;text-decoration:none}

.faq-list{border-top:1px solid var(--soft-border)}
.faq-item{border-bottom:1px solid var(--soft-border)}
.faq-button{
  width:100%;min-height:68px;display:flex;align-items:center;justify-content:space-between;
  gap:20px;padding:20px 0;border:0;background:transparent;text-align:left;
  font-size:19px;font-weight:650;color:var(--ink)
}
.faq-answer{padding:0 0 24px;max-width:760px;font-size:16px;line-height:1.85;color:var(--muted)}

.final-cta{background:var(--deep-teal);color:#fff}
.final-cta-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
.final-cta p{font-size:17px;line-height:1.8;color:rgba(255,255,255,.78)}

.footer{background:#102421;color:#fff}
.footer-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:44px;padding-top:64px;padding-bottom:64px
}
.footer h3{margin:0;font-size:20px}
.footer h4{margin:0;font-size:15px}
.footer p,.footer a,.footer li{
  font-size:14px;line-height:1.75;color:rgba(255,255,255,.68)
}
.footer a{text-decoration:none}
.footer a:hover{color:#fff}
.footer ul{list-style:none;margin:16px 0 0;padding:0}
.footer li + li{margin-top:10px}

@media(max-width:900px){
  .home-nav,.header-cta{display:none}
  .menu-button{display:inline-grid;place-items:center}
  .hero{min-height:760px}
  .hero-inner{padding-top:135px;padding-bottom:80px}
  .hero h1{font-size:clamp(39px,11vw,48px)}
  .doctor-mini{position:relative;right:auto;bottom:auto;margin-top:28px}
  .split,.split-services,.doctor-section,.article-preview-grid,.final-cta-grid,.footer-grid{grid-template-columns:1fr}
  .border-copy{border-left:0;border-top:1px solid var(--soft-border);padding:26px 0 0}
  .section{padding:76px 0}
  .process-grid{grid-template-columns:1fr;border-top:0;border-left:1px solid var(--soft-border)}
  .process-item{padding:0 0 36px 28px;border-left:0}
  .process-dot{left:-5px;top:5px}
  .process-number{font-size:42px}
  .doctor-section{grid-template-columns:110px 1fr}
  .doctor-photo{width:110px;height:140px}
}

@media(max-width:640px){
  .container,.container-wide{width:min(calc(100% - 36px),var(--container))}
  .hero-copy{font-size:16px}
  .hero-actions{display:grid}
  .hero-actions .btn{width:100%}
  .doctor-section{grid-template-columns:1fr}
  .display-title{font-size:34px}
  .service-row{grid-template-columns:40px 1fr 20px;gap:12px}
  .service-title{font-size:21px}
  .service-desc{font-size:16px}
}


/* ===== SUBPAGE SHELL ===== */

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid var(--soft-border);
  background:rgba(247,244,238,.96);
  backdrop-filter:blur(12px);
}

.site-header-inner{
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.site-brand{
  min-width:0;
  text-decoration:none;
  color:var(--ink);
}

.site-brand strong{
  display:block;
  font-size:19px;
  line-height:1.3;
}

.site-brand span{
  display:block;
  margin-top:2px;
  max-width:460px;
  font-size:13px;
  line-height:1.45;
  color:var(--muted);
}

.site-nav{
  display:flex;
  align-items:center;
  gap:30px;
}

.site-nav a{
  text-decoration:none;
  color:var(--muted);
  font-size:15px;
  font-weight:500;
}

.site-nav a:hover{
  color:var(--ink);
}

.site-header .menu-button{
  border-color:var(--soft-border);
  background:white;
  color:var(--ink);
}

.page-main{
  min-height:65vh;
}

.page-shell{
  padding:42px 0 90px;
}

.breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
  color:var(--muted);
  font-size:14px;
}

.breadcrumb a{
  text-decoration:none;
}

.breadcrumb a:hover{
  color:var(--ink);
}

.page-intro{
  max-width:900px;
  margin-top:42px;
}

.page-kicker{
  margin:0;
  font-family:var(--font-mono);
  font-size:13px;
  line-height:1.7;
  color:var(--deep-teal);
}

.page-title{
  margin:16px 0 0;
  max-width:900px;
  font-size:clamp(38px,5vw,62px);
  line-height:1.08;
  letter-spacing:-.035em;
  font-weight:650;
}

.page-description{
  max-width:760px;
  margin:22px 0 0;
  font-size:17px;
  line-height:1.85;
  color:var(--muted);
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  margin-top:44px;
}

.content-card{
  border:1px solid var(--soft-border);
  border-radius:16px;
  background:white;
  padding:30px;
}

.content-card h2{
  margin:12px 0 0;
  font-size:25px;
  line-height:1.3;
}

.content-card p{
  font-size:15px;
  line-height:1.8;
  color:var(--muted);
}

.card-kicker{
  margin:0;
  font-family:var(--font-mono);
  font-size:12px;
  line-height:1.6;
  letter-spacing:.08em;
  color:var(--deep-teal);
}

.detail-list{
  margin:20px 0 0;
  padding-left:19px;
  color:var(--muted);
}

.detail-list li{
  padding-left:4px;
  font-size:15px;
  line-height:1.75;
}

.detail-list li + li{
  margin-top:8px;
}

.topic-line{
  margin-top:18px !important;
  color:var(--graphite) !important;
}

.notice{
  margin-top:28px;
  border:1px solid var(--soft-border);
  border-radius:16px;
  background:var(--paper);
  padding:28px;
}

.notice h2{
  margin:0;
  font-size:22px;
}

.notice p{
  margin:12px 0 0;
  color:var(--muted);
  line-height:1.8;
}

.about-grid,
.contact-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);
  gap:28px;
  margin-top:44px;
}

.prose-card{
  border:1px solid var(--soft-border);
  border-radius:16px;
  background:white;
  padding:36px;
}

.prose-card h1,
.prose-card h2{
  margin-top:0;
}

.prose-card p{
  font-size:16px;
  line-height:1.9;
  color:var(--muted);
}

.side-card{
  border:1px solid var(--soft-border);
  border-radius:16px;
  background:var(--paper);
  padding:30px;
}

.side-card p{
  font-size:15px;
  line-height:1.85;
  color:var(--muted);
}

.contact-form{
  border:1px solid var(--soft-border);
  border-radius:16px;
  background:white;
  padding:28px;
}

.field-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.field{
  display:grid;
  gap:8px;
  font-size:14px;
  font-weight:600;
}

.field input,
.field select{
  width:100%;
  min-height:48px;
  border:1px solid var(--soft-border);
  border-radius:10px;
  background:var(--paper);
  padding:0 14px;
  color:var(--ink);
}

.contact-note{
  margin:20px 0;
  font-size:14px;
  line-height:1.75;
  color:var(--muted);
}

.legal-card{
  margin-top:40px;
  border:1px solid var(--soft-border);
  border-radius:16px;
  background:white;
  padding:34px;
}

.legal-card p{
  margin:0;
  font-size:16px;
  line-height:1.9;
  color:var(--muted);
}

.legal-card p + p{
  margin-top:18px;
}

.notfound{
  min-height:65vh;
  display:grid;
  place-items:center;
  text-align:center;
  padding:70px 0;
}

.notfound-code{
  font-family:var(--font-mono);
  font-size:14px;
  font-weight:600;
  letter-spacing:.25em;
  color:var(--signal-teal);
}

.notfound h1{
  margin:16px 0 0;
  font-size:clamp(38px,5vw,58px);
}

.notfound p{
  max-width:620px;
  margin:18px auto 0;
  color:var(--muted);
  font-size:16px;
  line-height:1.8;
}

@media(max-width:900px){
  .site-nav,
  .site-header .header-cta{
    display:none;
  }

  .site-header .menu-button{
    display:inline-grid;
    place-items:center;
  }

  .service-grid,
  .about-grid,
  .contact-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:640px){
  .site-header-inner{
    min-height:74px;
  }

  .site-brand span{
    max-width:245px;
    font-size:11px;
  }

  .page-shell{
    padding:30px 0 70px;
  }

  .page-title{
    font-size:38px;
  }

  .content-card,
  .prose-card,
  .side-card,
  .contact-form,
  .legal-card{
    padding:22px;
  }

  .field-grid{
    grid-template-columns:1fr;
  }
}

/* ===== STATIC ARTICLES ===== */

.article-tools{
  margin-top:42px;
  padding:22px;
  border:1px solid var(--soft-border);
  border-radius:14px;
  background:var(--paper);
}

.article-search-field{
  display:grid;
  gap:8px;
  max-width:520px;
  font-size:14px;
  font-weight:600;
}

.article-search-field input{
  min-height:48px;
  width:100%;
  border:1px solid var(--soft-border);
  border-radius:10px;
  background:white;
  padding:0 15px;
}

.article-filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}

.article-filter{
  min-height:38px;
  border:1px solid var(--soft-border);
  border-radius:999px;
  background:white;
  padding:7px 14px;
  color:var(--muted);
  font-size:13px;
  font-weight:600;
}

.article-filter.is-active{
  border-color:var(--deep-teal);
  background:var(--deep-teal);
  color:white;
}

.article-list{
  margin-top:44px;
}

.article-list-card{
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  gap:26px;
  padding:28px 0;
  border-bottom:1px solid var(--soft-border);
}

.article-list-image{
  overflow:hidden;
  border-radius:10px;
  background:var(--sage-soft);
}

.article-list-image img{
  width:100%;
  height:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}

.article-placeholder{
  display:grid;
  min-height:150px;
  place-items:center;
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.1em;
  color:var(--deep-teal);
}

.article-list-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 15px;
  color:var(--muted);
  font-size:13px;
}

.article-list-meta span:first-child{
  color:var(--deep-teal);
  font-weight:700;
  text-transform:uppercase;
}

.article-list-card h2{
  margin:10px 0 0;
  font-size:28px;
  line-height:1.25;
}

.article-list-card h2 a{
  text-decoration:none;
}

.article-list-card p{
  max-width:760px;
  margin:12px 0 0;
  color:var(--muted);
  font-size:16px;
  line-height:1.75;
}

.article-empty{
  margin-top:28px;
  border:1px solid var(--soft-border);
  border-radius:12px;
  padding:24px;
  color:var(--muted);
}

.article-detail-header{
  max-width:930px;
  margin:48px auto 0;
  text-align:center;
}

.article-detail-header h1{
  margin:18px 0 0;
  font-size:clamp(40px,5vw,62px);
  line-height:1.08;
  letter-spacing:-.035em;
}

.article-detail-excerpt{
  max-width:780px;
  margin:20px auto 0;
  color:var(--muted);
  font-size:18px;
  line-height:1.75;
}

.article-detail-meta{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px 18px;
  margin-top:20px;
  color:var(--muted);
  font-size:14px;
}

.article-cover{
  max-width:1040px;
  margin:38px auto 0;
  overflow:hidden;
  border-radius:12px;
  background:var(--sage-soft);
}

.article-cover img{
  width:100%;
  max-height:580px;
  object-fit:cover;
}

.article-detail-layout{
  display:grid;
  grid-template-columns:220px minmax(0,760px);
  justify-content:center;
  gap:48px;
  margin-top:52px;
}

.article-toc{
  position:sticky;
  top:110px;
  align-self:start;
  border:1px solid var(--soft-border);
  border-radius:12px;
  background:white;
  padding:20px;
}

.article-toc > p{
  margin:0;
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--muted);
}

.article-toc ol{
  margin:16px 0 0;
  padding-left:18px;
}

.article-toc li{
  margin-top:8px;
  font-size:13px;
  line-height:1.55;
}

.article-toc a{
  color:var(--muted);
  text-decoration:none;
}

.article-toc a:hover{
  color:var(--deep-teal);
}

.article-toc .toc-level-3{
  margin-left:12px;
}

.article-disclaimer,
.article-author{
  margin-top:32px;
  border:1px solid var(--soft-border);
  border-radius:12px;
  background:white;
  padding:24px;
}

.article-disclaimer h2,
.article-author h2{
  margin:0;
  font-size:21px;
}

.article-disclaimer p,
.article-author p{
  margin:12px 0 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.8;
}

.article-related{
  margin-top:70px;
  padding-top:42px;
  border-top:1px solid var(--soft-border);
}

.article-related > h2{
  margin:0;
  font-size:30px;
}

.related-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:26px;
}

.related-grid article{
  border:1px solid var(--soft-border);
  border-radius:12px;
  background:white;
  padding:22px;
}

.related-grid h3{
  margin:10px 0 0;
  font-size:20px;
  line-height:1.35;
}

.related-grid h3 a{
  text-decoration:none;
}

.related-grid p{
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}

.article-bottom-cta{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:30px;
  margin-top:58px;
  border-radius:14px;
  background:var(--deep-teal);
  padding:34px;
  color:white;
}

.article-bottom-cta h2{
  margin:0;
  font-size:28px;
}

.article-bottom-cta p{
  max-width:700px;
  margin:10px 0 0;
  color:rgba(255,255,255,.75);
  line-height:1.7;
}

@media(max-width:900px){
  .article-list-card{
    grid-template-columns:180px 1fr;
  }

  .article-detail-layout{
    grid-template-columns:1fr;
  }

  .article-toc{
    position:static;
  }

  .related-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:640px){
  .article-list-card{
    grid-template-columns:1fr;
  }

  .article-list-card h2{
    font-size:24px;
  }

  .article-detail-header h1{
    font-size:38px;
  }

  .article-detail-excerpt{
    font-size:16px;
  }

  .article-bottom-cta{
    grid-template-columns:1fr;
    padding:24px;
  }
}
