/* Additions for the SEO pages and visual refresh. Uses the same tokens as index-SDegyeS7.css. */
:root{--ink:#1b2430;--navy:#0b3a6b;--navy-deep:#072844;--blue:#155a9c;--sand:#f4f0e8;--paper:#fbfaf7;--white:#ffffff;--line:#e3dcd0;--muted:#3e4c5e}

/* Typography */
.page-hero h1,.hero.hero-photo h1{letter-spacing:-.03em}
.page-hero .lede,.hero.hero-photo .lede{font-size:clamp(1.08rem,1.4vw,1.22rem);line-height:1.55}
.page-body{font-size:1.0625rem;line-height:1.7}
.page-body h2{letter-spacing:-.03em}
.section-intro h2{letter-spacing:-.03em}
.h1-sub{display:block;margin-top:.55rem;font-size:clamp(1.25rem,3.4vw,2rem);line-height:1.2;color:var(--blue);letter-spacing:-.02em;font-weight:500}

/* Homepage photo hero */
.hero.hero-photo{
  position:relative;
  color:#e7eef6;
  isolation:isolate;
  background-color:var(--navy-deep);
  background-image:
    linear-gradient(105deg,rgba(7,40,68,.94) 0%,rgba(7,40,68,.84) 38%,rgba(11,58,107,.58) 100%),
    url("/images/office-building-800.webp");
  background-size:cover;
  background-position:center 40%;
  padding-top:2.2rem;
  padding-bottom:2.2rem;
  min-height:28rem;
}
@media(min-width:700px){
  .hero.hero-photo{
    background-image:
      linear-gradient(105deg,rgba(7,40,68,.93) 4%,rgba(7,40,68,.78) 46%,rgba(11,58,107,.5) 100%),
      url("/images/office-building.webp");
    padding-top:3.4rem;
    padding-bottom:3.2rem;
    min-height:34rem;
  }
}
.hero.hero-photo .eyebrow{color:#9ec0e6}
.hero.hero-photo h1,.hero.hero-photo .h1-sub{color:#fff}
.hero.hero-photo .h1-sub{color:#d7e4f4}
.hero.hero-photo .lede{color:#dce6f0;max-width:40rem}
.hero.hero-photo .hero-note{color:#c5d3e4}
.hero.hero-photo .btn-secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.hero.hero-photo .btn-secondary:hover{background:rgba(255,255,255,.1);color:#fff}
.hero.hero-photo .portrait img{box-shadow:0 22px 48px rgba(0,0,0,.35);border:3px solid rgba(255,255,255,.22)}
.hero.hero-photo .portrait figcaption{color:#c5d3e4}

/* Inner-page heroes */
.page-hero{width:100%;background:var(--navy-deep);color:#e7eef6;padding:1.6rem max(1rem,calc((100% - 76rem)/2)) 2.3rem}
.page-hero h1{font-size:clamp(2rem,6vw,3.2rem);max-width:46rem;color:#fff}
.page-hero .lede{margin-top:.9rem;max-width:44rem;color:#dce6f0}
.page-hero .hero-actions{margin-top:1.15rem}
.page-hero .hero-note{color:#c5d3e4}
.page-hero .eyebrow{color:#9ec0e6}
.page-hero .btn-secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.page-hero .btn-secondary:hover{background:rgba(255,255,255,.1);color:#fff}
.breadcrumb{margin:0 0 1.15rem;font-size:.92rem;color:#c5d3e4}
.breadcrumb ol{display:flex;flex-wrap:wrap;gap:.25rem .5rem;list-style:none;margin:0;padding:0}
.breadcrumb li+li:before{content:"/";margin-right:.5rem;color:#8aa0b8}
.breadcrumb a{font-weight:600;color:#d7e4f4}
.breadcrumb a:hover{color:#fff}

/* Layout */
.page-layout{display:grid;gap:2rem;max-width:76rem;margin:0 auto;padding:2.4rem 1rem 3.2rem}
.page-body{max-width:46rem;min-width:0}
.page-body h2{margin:2.3rem 0 .65rem;font-size:clamp(1.5rem,3.2vw,2.05rem)}
.page-body h2:first-child{margin-top:0}
.page-body h3{margin:1.4rem 0 .35rem}
.page-body p,.page-body li{color:var(--ink)}
.page-body ul,.page-body ol{padding-left:1.25rem;margin:.4rem 0 1rem}
.page-body li+li{margin-top:.3rem}
.credit{margin:0 0 1.6rem;padding:1rem 1.15rem;background:var(--sand);border:1px solid var(--line);border-left:4px solid var(--blue);border-radius:.75rem;color:var(--muted)}
.credit strong{color:var(--navy-deep)}
.cta-band{margin:2rem 0;padding:1.25rem 1.3rem;background:var(--navy-deep);color:#e7eef6;border-radius:1rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.9rem}
.cta-band p{margin:0;font-weight:600;color:#fff;font-size:1.1rem}
.cta-band .btn-primary{background:#fff;color:var(--navy-deep)}
.cta-band .btn-primary:hover{background:var(--sand);color:var(--navy-deep)}
.side-card{background:var(--white);border:1px solid var(--line);border-radius:1rem;padding:1.15rem 1.2rem 1.3rem;align-self:start;box-shadow:0 10px 30px rgba(23,36,51,.04)}
.side-card h2{font-size:1.25rem;margin:0 0 .5rem}
.side-card .contact-dl div{grid-template-columns:3.6rem 1fr}
.side-card .btn{width:100%;margin-top:.25rem}
.side-card > img{border-radius:.75rem;margin-bottom:.9rem;aspect-ratio:4/5;object-fit:cover;object-position:center top;width:100%;height:auto}
.side-links{list-style:none;margin:.2rem 0 0;padding:0;display:grid;gap:.35rem}
.side-links a{font-weight:600}
.faq-item{border-top:1px solid var(--line);padding:1rem 0 .25rem}
.faq-item:last-child{border-bottom:1px solid var(--line)}
.faq-item h3{margin:0 0 .35rem;font-size:1.18rem;color:var(--navy)}
.faq-item p{margin:0 0 .75rem;color:var(--muted)}
.disclaimer{margin-top:2rem;padding:1.05rem 1.15rem;background:var(--sand);border-radius:.75rem;color:var(--muted);font-size:.95rem}
.disclaimer p{margin:0 0 .5rem}.disclaimer p:last-child{margin-bottom:0}

/* Condition cards */
.cond-grid{display:grid;gap:1rem}
.cond-card{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);border-radius:1.1rem;padding:1.2rem 1.2rem 1.25rem;box-shadow:0 10px 28px rgba(23,36,51,.04)}
.cond-card .icon{display:inline-flex;align-items:center;justify-content:center;width:3.2rem;height:3.2rem;margin:0 0 .8rem;border-radius:.85rem;background:var(--sand);color:var(--navy);flex:none}
.cond-card .icon svg{display:block;width:34px;height:34px}
.cond-card h3{margin:0 0 .4rem;font-size:1.28rem}
.cond-card h3 a{color:var(--navy);text-decoration:none}
.cond-card h3 a:hover{color:var(--blue);text-decoration:underline}
.cond-card p{margin:0 0 .85rem;color:var(--muted)}
.cond-card .text-link{margin-top:auto}
.cond-more{margin:1.3rem 0 0;color:var(--muted)}
@media(prefers-reduced-motion:no-preference){
  .cond-card{transition:transform .25s ease,box-shadow .25s ease}
  .cond-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(23,36,51,.08)}
}

/* Navy section band + 3-step visit strip */
.section-navy{width:100%;max-width:none;background:var(--navy-deep);color:#e7eef6;padding-left:max(1rem,calc((100% - 76rem)/2));padding-right:max(1rem,calc((100% - 76rem)/2))}
.section-navy h2{color:#fff}
.section-navy .eyebrow{color:#9ec0e6}
.section-navy .section-intro p{color:#c5d3e4}
.steps{display:grid;gap:1.15rem;list-style:none;margin:0;padding:0}
.steps li{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:1rem;padding:1.15rem 1.2rem 1.25rem}
.step-num{display:flex;align-items:center;justify-content:center;width:2.1rem;height:2.1rem;margin:0 0 .7rem;border-radius:999px;background:#fff;color:var(--navy-deep);font-weight:700;font-size:1.05rem}
.steps h3{margin:0 0 .4rem;color:#fff;font-size:1.25rem}
.steps p{margin:0;color:#d5e0ec}
@media(min-width:800px){.steps{grid-template-columns:1fr 1fr 1fr;gap:1.25rem}}

/* Locations image band */
.image-band{margin:0;width:100%;background:var(--navy-deep)}
.image-band picture{display:block;width:100%}
.image-band img{display:block;width:100%;height:auto;object-fit:cover;object-position:center 42%}
.image-band figcaption{max-width:76rem;margin:0 auto;padding:.7rem 1rem .95rem;color:#c5d3e4;font-size:.95rem}

.edu-list.no-links article p{margin-bottom:0}
.towns{columns:2;max-width:26rem;padding-left:1.25rem}
.map-embed{margin-top:1.2rem}
.error-page{max-width:40rem;margin:0 auto;padding:4rem 1rem}
.error-page h1{color:var(--navy-deep)}

@media(min-width:720px){.cond-grid{grid-template-columns:1fr 1fr}}
@media(min-width:980px){
  .cond-grid{grid-template-columns:repeat(4,1fr)}
  .page-layout{grid-template-columns:minmax(0,1fr) 20rem;gap:3rem;padding-top:2.9rem}
  .side-card{position:sticky;top:6rem}
}

/* Scroll fade-in: only below-the-fold elements get is-pending, so first paint stays visible. */
@media(prefers-reduced-motion:no-preference){
  .reveal.is-pending{opacity:0;transform:translateY(16px)}
  .reveal.is-visible{opacity:1;transform:none;transition:opacity .7s ease,transform .7s ease}
}
@media(prefers-reduced-motion:reduce){
  .reveal,.reveal.is-pending,.reveal.is-visible{opacity:1;transform:none;transition:none}
}

/* Care team */
.side-more{margin-top:1.2rem}
.team-grid{display:grid;gap:1.15rem}
.team-card{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);border-radius:1.1rem;padding:1.15rem 1.2rem 1.3rem;box-shadow:0 10px 28px rgba(23,36,51,.04)}
.team-card img{width:100%;max-width:220px;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:center top;border-radius:.9rem;background:#d5d8de;margin:0 0 .85rem}
.team-card h3{margin:.2rem 0 .45rem}
.team-card p{color:var(--muted);margin:0 0 .85rem}
.team-card .hero-card-kicker{margin:0}
.team-card .text-link{margin-top:auto;font-weight:700}
@media(min-width:720px){.team-grid{grid-template-columns:1fr 1fr;gap:1.5rem}}

/* Provider page hero with portrait */
.page-hero-split .hero-copy{min-width:0}
.page-hero-split .portrait{margin:1.3rem 0 0;width:min(100%,260px)}
.page-hero-split .portrait img{width:100%;height:auto;aspect-ratio:300/396;object-fit:cover;object-position:center top;border-radius:1.1rem;border:3px solid rgba(255,255,255,.22);box-shadow:0 22px 48px rgba(0,0,0,.35);background:#d5d8de}
.page-hero-split .portrait figcaption{margin-top:.45rem;color:#c5d3e4;font-size:.92rem}
@media(min-width:720px){
  .page-hero-split{display:grid;grid-template-columns:1.35fr .65fr;align-items:end;gap:2rem}
  .page-hero-split .portrait{margin:0;justify-self:end;width:min(100%,300px)}
}
