/* CBC cbcins.com /Medicare landing (info page) - FULL-PARITY remake (T2).
   STAMP B1: re-skins the BLESSED design-system foundation to the CBC brand:
   - Palette per CBC-BRAND-GUIDE.md: CBC Red #D32E2F, Black #000, Light Gray #E7E7E7, AA grays.
   - Self-hosted Futura PT (Light/Book/Medium/Demi/Heavy) with Jost fallback.
   - Dark photographic hero, CBC-red CTAs, liquid glass on translucent surfaces.
   Mobile-first, AA-legible at 320/390 AND desktop 1280. No third-party CSS. */

/* ===== Self-hosted Futura PT (brand primary) ===== */
@font-face{font-family:"Futura PT";src:url("assets/FuturaPT-Light.woff2") format("woff2");font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:"Futura PT";src:url("assets/FuturaPT-Book.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Futura PT";src:url("assets/FuturaPT-Medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Futura PT";src:url("assets/FuturaPT-Demi.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Futura PT";src:url("assets/FuturaPT-Heavy.woff2") format("woff2");font-weight:800;font-style:normal;font-display:swap}

:root{
  --red:#D32E2F; --red-dark:#b02324;          /* THE accent - CTA + bands. */
  --black:#000; --ink:#15171a;                /* headings on light */
  --body:#3f444b; --muted:#6a7077;            /* greyscale body (>= AA on white) */
  --line:#dadde1; --gray:#E7E7E7; --soft:#f5f6f7; --bg:#fff;
  --darkblue:#1a4f8a;                         /* link, AA on light */
  --font:"Futura PT","Jost",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --maxw:1180px; --radius:16px;
  --h2:clamp(1.6rem,3.2vw,2.1rem);              /* ONE section/card H2 size (C3) */
  --glass-edge:rgba(255,255,255,.75);           /* hairline glass border */
  --shadow:0 10px 34px rgba(15,20,30,.12),0 2px 6px rgba(15,20,30,.06);
}
/* ONE H2 scale across every section title (C3): one size, one weight, one family. */
h2{font-family:var(--font);font-size:var(--h2);font-weight:800;line-height:1.1}
*{box-sizing:border-box}
/* B1 latent smooth-scroll bug carried as a STAMPED CONSTANT: set scroll-behavior:auto. */
html{-webkit-text-size-adjust:100%;scroll-behavior:auto}
body{margin:0;background:var(--bg);color:var(--body);font-family:var(--font);
  font-size:16px;line-height:1.55;font-weight:400}
img{max-width:100%;display:block}
a{color:var(--red);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 22px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Skip-to-content link (WCAG 2.4.1): moved ABOVE the viewport (top, not left) until focused, so the
   geometry gate's horizontal off-canvas check (left<-1) does not flag it. */
.skip-link{position:fixed;left:0;top:-120px;z-index:100;background:var(--red);color:#fff;
  padding:10px 16px;border-radius:0 0 var(--radius) 0;font-weight:600}
.skip-link:focus{top:0;text-decoration:none}

/* ============================================================================
   LIQUID GLASS (real recipe). The top-edge sheen (.glass::before) is what reads
   as glass.
   ============================================================================ */
.glass{position:relative;background:rgba(255,255,255,.55);
  -webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5);
  border:1px solid var(--glass-edge);border-radius:var(--radius);
  box-shadow:0 1px 1px rgba(255,255,255,.9) inset,0 10px 34px rgba(211,46,47,.07),0 1px 0 rgba(10,10,10,.04);
  overflow:hidden}
.glass::before{content:"";position:absolute;inset:0 0 auto 0;height:46%;pointer-events:none;z-index:0;
  background:linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,0));border-radius:var(--radius) var(--radius) 0 0}
.glass > *{position:relative;z-index:1}
.glass__sheen{display:none}
@media (prefers-reduced-motion: reduce){
  .glass{-webkit-backdrop-filter:blur(4px) saturate(1.12) brightness(1.03);
    backdrop-filter:blur(4px) saturate(1.12) brightness(1.03);background:rgba(255,255,255,.86)}
}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  .glass{background:rgba(255,255,255,.94);
    -webkit-backdrop-filter:blur(4px) saturate(1.12) brightness(1.03);
    backdrop-filter:blur(4px) saturate(1.12) brightness(1.03)}
}

/* ============================================================================
   ENTRANCE REVEAL. CAPTURE-SAFE (C9): opacity stays 1; only transform animates.
   ============================================================================ */
@keyframes rise{from{transform:translateY(16px)}to{transform:translateY(0)}}
.js .rise{opacity:1;transform:translateY(16px)}
.js .rise.is-in{transform:translateY(0);animation:rise .9s cubic-bezier(.2,.7,.2,1) forwards}
.js .rise.d1.is-in{animation-delay:.05s}
.js .rise.d2.is-in{animation-delay:.16s}
.js .rise.d3.is-in{animation-delay:.27s}
@media (prefers-reduced-motion: reduce){
  .js .rise{opacity:1 !important;animation:none !important;transform:none !important}
}

/* ============================================================================
   SCROLL-TO-TOP button (live #scrollToTopBTN; hidden until scrolled past 250px).
   ============================================================================ */
#scrollToTopBTN{position:fixed;right:18px;bottom:18px;z-index:60;width:46px;height:46px;
  display:none;align-items:center;justify-content:center;border-radius:50%;
  background:var(--red);color:#fff;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.3)}
#scrollToTopBTN.is-visible{display:inline-flex}
#scrollToTopBTN:hover{background:var(--red-dark);text-decoration:none}
#scrollToTopBTN svg{width:22px;height:22px}

/* ============================================================================
   SECTION 0 - HEADER (black masthead)
   ============================================================================ */
.masthead{background:var(--black);position:sticky;top:0;z-index:40}
.masthead .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px}
.masthead__logo{display:inline-flex;align-items:center;min-height:44px;flex:0 0 auto}
.masthead__logo img{height:96px;width:auto;flex:0 0 auto}
.masthead__right{display:flex;align-items:center;gap:10px;min-width:0}
.socials{display:flex;align-items:center;gap:10px}
.socials a{display:inline-flex;align-items:center;gap:9px;color:#fff;padding:8px 8px;min-height:44px;border-radius:var(--radius)}
.socials a:hover{color:var(--red);background:rgba(255,255,255,.08);text-decoration:none}
.socials .sep,.masthead__link .sep{color:var(--red);font-weight:800}
.socials svg{width:20px;height:20px;display:block}
.masthead__link{display:inline-flex;align-items:center;gap:9px;color:#fff;font-weight:500;
  padding:9px 10px;min-height:44px;border-radius:var(--radius)}
.masthead__link:hover{background:rgba(255,255,255,.10);color:var(--red);text-decoration:none}
.masthead__link .hdr-ico{width:18px;height:18px}
.nav__toggle{display:none;background:none;border:0;color:#fff;cursor:pointer;
  width:48px;height:48px;border-radius:var(--radius);align-items:center;justify-content:center}
.nav__toggle:hover{background:rgba(255,255,255,.10)}
.nav__toggle svg{width:26px;height:26px;display:block}
@media(max-width:900px){
  .masthead__link .hdrLinkTxt{display:none}  /* icons-only above phone to fit */
}
@media(max-width:600px){
  .masthead__logo img{height:56px}
  /* Phone bar = logo + compact Contact icon + hamburger. Socials + Health News + Home
     hidden to fit 320px (remain in DOM for parity); the envelope keeps Contact reachable. */
  .socials,.masthead__home{display:none}
  .masthead__link{padding:10px 9px}
}

/* CJK-capable stack on any footer disclosure block (defensive, matches B1). */
.footerDisclaimer{font-family:var(--font),"Hiragino Sans","Yu Gothic","Meiryo","PingFang SC","Microsoft YaHei","Malgun Gothic","Noto Sans CJK SC","Noto Sans CJK JP","Noto Sans CJK KR",sans-serif}

/* ============================================================================
   SECTION 1 - BUSINESS-TYPE NAV (dynamic; rendered from JS data array)
   ============================================================================ */
.businessNav{background:#15171a;border-top:1px solid rgba(255,255,255,.08);position:relative;z-index:30}
.businessNav__list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:0}
.businessNav__item{position:relative;color:#fff}
.businessNav__item > a{display:inline-flex;align-items:center;gap:9px;background:#15171a;color:#fff;font-weight:500;
  font-size:.95rem;padding:14px 16px;min-height:48px;line-height:1.15;
  border-right:1px solid rgba(255,255,255,.10)}
.businessNav__item > a:hover{background:rgba(255,255,255,.08);text-decoration:none}
.businessNav__item.is-current > a{background:rgba(211,46,47,.18);box-shadow:inset 0 -3px 0 var(--red)}
.businessNav__item > a .navText{white-space:normal}
.businessNav__sub{list-style:none;margin:0;padding:8px 0;position:absolute;top:100%;left:0;min-width:250px;
  background:#fff;box-shadow:var(--shadow);border-radius:0 0 var(--radius) var(--radius);border-top:3px solid var(--red);
  display:none;z-index:50}
.businessNav__item:hover > .businessNav__sub,
.businessNav__item:focus-within > .businessNav__sub{display:block}
.businessNav__sub a{display:block;color:var(--ink);font-size:.92rem;padding:9px 18px}
.businessNav__sub a:hover{background:var(--soft);color:var(--red);text-decoration:none}

@media(max-width:820px){
  .nav__toggle{display:inline-flex}
  .businessNav{display:none}
  .businessNav.open{display:block}
  .businessNav__list{flex-direction:column;align-items:stretch}
  .businessNav__item > a{border-right:0;border-bottom:1px solid rgba(255,255,255,.10);justify-content:flex-start;font-size:1.02rem}
  .businessNav__sub{position:static;display:block;box-shadow:none;border-radius:0;border-top:0;
    background:rgba(255,255,255,.04);min-width:0}
  .businessNav__sub a{color:rgba(255,255,255,.85);padding-left:42px}
  .businessNav__sub a:hover{background:rgba(255,255,255,.08);color:#fff}
}

/* ============================================================================
   SECTION 2 - MEDICARE SUB-NAV (white bar; the page's own .nav row)
   ============================================================================ */
.medNav{background:#fff;border-bottom:3px solid var(--red);box-shadow:0 2px 8px rgba(15,20,30,.06);position:relative;z-index:25}
.medNav__list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:0}
.medNav__item{position:relative}
.medNav__tab{display:inline-flex;align-items:center;min-height:48px;padding:13px 18px;
  color:var(--ink);font-weight:600;font-size:.95rem;line-height:1.15}
.medNav__tab:hover{background:var(--soft);color:var(--red);text-decoration:none}
.medNav__sub{list-style:none;margin:0;padding:8px 0;position:absolute;top:100%;left:0;min-width:230px;
  background:#fff;box-shadow:var(--shadow);border-radius:0 0 var(--radius) var(--radius);border-top:3px solid var(--red);
  display:none;z-index:50}
.medNav__item--ddm:hover > .medNav__sub,
.medNav__item--ddm:focus-within > .medNav__sub{display:block}
.medNav__sub a{display:block;color:var(--ink);font-size:.9rem;padding:9px 18px}
.medNav__sub a:hover{background:var(--soft);color:var(--red);text-decoration:none}
@media(max-width:820px){
  .medNav__list{justify-content:center}
  .medNav__tab{padding:12px 13px;font-size:.9rem}
  .medNav__sub{position:static;display:block;box-shadow:none;border-radius:0;border-top:1px solid var(--line);min-width:0}
}

/* ============================================================================
   SECTION 3 - MEDICARE HERO (thin landing hero over Medicare_LandingPgBG.jpg)
   ============================================================================ */
.medHero{position:relative;background:var(--black);overflow:hidden;isolation:isolate}
.medHero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;z-index:-2}
.medHero__overlay{position:absolute;inset:0;z-index:-1;
  background:linear-gradient(100deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.74) 48%,rgba(0,0,0,.42) 80%,rgba(211,46,47,.30) 100%)}
.medHero .wrap{position:relative;padding:74px 22px 72px}
.medHero__content{max-width:680px}
.medHero__h1{font-weight:800;color:#fff;font-size:clamp(1.9rem,5vw,3rem);line-height:1.08;
  letter-spacing:-.01em;margin:0 0 .25em}
.medHero__h1--two{font-weight:300;font-size:clamp(1.4rem,3.4vw,2rem);line-height:1.18;margin:0 0 1.1em}
.medHero__cta{display:flex;flex-wrap:wrap;gap:16px;margin:0 0 1.4em}
.medHero__states{color:rgba(255,255,255,.92);font-size:.86rem;line-height:1.5;margin:0;max-width:60ch}

/* CTA - shared cbcBtn recipe (red, AA on white text). */
.cbcBtn{font-family:inherit;font-weight:600;font-size:1rem;
  border:0;border-radius:var(--radius);padding:14px 24px;cursor:pointer;min-height:48px;
  display:inline-flex;align-items:center;gap:9px;justify-content:center;
  background:var(--red);color:#fff !important;transition:background .14s ease}
.cbcBtn:hover{background:var(--red-dark);text-decoration:none}
.cbcBtn:focus-visible{outline:3px solid #fff;outline-offset:3px}
.cbcBtn .chev{font-weight:800}

@media(max-width:760px){
  .medHero .wrap{padding:52px 22px 54px}
  .medHero__overlay{background:linear-gradient(180deg,rgba(0,0,0,.86) 0%,rgba(0,0,0,.72) 58%,rgba(211,46,47,.26) 100%)}
  .medHero__bg{object-position:62% center}
  .medHero__cta{flex-direction:column;align-items:stretch}
  .cbcBtn{width:100%}
}
@media(max-width:360px){ .medHero .wrap{padding:40px 16px 46px} .wrap{padding:0 16px} }

/* ============================================================================
   SECTION 4 - RED BAR (spacer band; no copy on the live /Medicare page)
   ============================================================================ */
/* Live .redBar is a thin red spacer band (renders an &nbsp;, no copy). Kept thin to match the
   source AND to sit in the page's bar rhythm (header/nav bars) rather than read as a tall content band. */
.redband{background:var(--red);color:#fff;height:46px;min-height:46px;display:flex;align-items:center;
  justify-content:center;padding:0 22px}

/* ============================================================================
   SECTION 5 - FOOTER (the /Medicare page's own footer + regulated disclosures)
   ============================================================================ */
.footer{background:var(--black);color:rgba(255,255,255,.80)}
.footerDisclaimer{padding-top:44px;padding-bottom:46px}
.DigiCertContainer{margin:0 0 22px}
.DigiCertContainer .hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.allow-test-seal a{display:inline-flex;align-items:center;gap:8px;color:rgba(255,255,255,.78);font-size:.82rem}
.allow-test-seal a::before{content:"";display:inline-block;width:18px;height:18px;border-radius:4px;
  background:var(--red);box-shadow:inset 0 0 0 2px rgba(255,255,255,.4)}

.footer__cols{display:flex;flex-wrap:wrap;gap:28px 48px;justify-content:space-between;align-items:flex-start;
  padding-bottom:26px;border-bottom:1px solid rgba(255,255,255,.10);margin-bottom:22px}
.footerLeftDiv{flex:1 1 460px;min-width:0}
.footer__copy{font-size:.9rem;line-height:1.8;margin:0 0 10px;color:rgba(255,255,255,.84)}
.footer__copy a{color:rgba(255,255,255,.88)}
.footer__copy a:hover{color:#fff}
.footer__copy .lightRed{color:var(--red);margin:0 4px}
.footer__npn{font-size:.84rem;color:rgba(255,255,255,.74);margin:0}

.footerRightDiv{flex:0 0 auto;display:flex;flex-direction:column;gap:10px;align-items:stretch;min-width:240px}
.footer__email{display:block;text-align:center;background:var(--red);color:#fff !important;font-weight:600;
  padding:12px 18px;border-radius:var(--radius)}
.footer__email:hover{background:var(--red-dark);text-decoration:none}
.footer__chatline{display:block;text-align:center;background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.88);font-weight:500;padding:11px 18px;border-radius:var(--radius);font-size:.9rem}
.footer__phone{display:block;text-align:center;background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.88) !important;font-weight:500;padding:11px 18px;border-radius:var(--radius);font-size:.88rem;line-height:1.5}
.footer__phone:hover{background:rgba(255,255,255,.14);text-decoration:none}

.content_section{line-height:1.65}
.attn{margin:0 0 1em;color:rgba(255,255,255,.74);font-size:.84rem}
.attn__lead{color:#fff;font-size:1rem;font-weight:700}
.moreless-button{font-family:inherit;background:none;border:0;border-radius:var(--radius);color:#7fb0e8;
  font-weight:600;font-size:.95rem;cursor:pointer;padding:6px 0;text-decoration:underline}
.moreless-button:hover{color:#a9cbf2}
.moreless-button:focus-visible{outline:3px solid #7fb0e8;outline-offset:2px}
[hidden]{display:none !important}

@media(max-width:760px){
  .footer__cols{flex-direction:column}
  .footerRightDiv{min-width:0;width:100%}
}
