/* Colonoscopy Guide restyle to match atlas22.com v13 (CMO order of 10 Nov 2026, look only). Loaded after
   guide.css. The black header and footer, the 1240px / max(24px, 6vw) margin, Instrument Serif headlines
   and the atlas22.com blue are atlas22.com's; the reading area stays light (dark text on white). No red. */
@font-face{font-family:'Instrument Serif';src:url(instrument-serif-latin-400-normal.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url(instrument-serif-latin-400-italic.woff2) format('woff2');font-weight:400;font-style:italic;font-display:swap}
:root{
  --bg:#FFFFFF; --band:#F2F5FA; --band2:#F2F5FA; --ink:#0E1B2C; --muted:#4A5A6E; --line:#D9E0EA; --card:#FFFFFF;
  --accent:#2F5FD0; --accent-ink:#FFFFFF; --accent-soft:#E7EEFD; --sky:#0E1B2C;
  --warn:#0E1B2C; --warn-soft:#F2F5FA; --deep:#0E1B2C; --deep-ink:#FFFFFF; --deep-btn:#8FB0FF;
  --f-head:'Instrument Serif',Georgia,'Times New Roman',serif;
}
.wrap{max-width:1240px;padding-left:max(24px,env(safe-area-inset-left,0px),6vw);padding-right:max(24px,env(safe-area-inset-right,0px),6vw)}

/* headlines: Instrument Serif, regular weight (it runs narrow, so a little larger) */
h1,h2,.brand b,.three h3,.stat b{font-family:var(--f-head);font-weight:400;letter-spacing:-.005em}
h1{font-size:clamp(38px,5.4vw,60px);line-height:1.05}
h2{font-size:clamp(30px,3.4vw,40px);line-height:1.1}
.three h3{font-size:28px;color:var(--ink)}
.stat b{font-size:42px}

/* header: atlas22.com's black bar, same height and margin; the site name and the guide's own menu */
header{background:#000;border-bottom:0}
header .wrap{padding-block:14px;container-type:inline-size}
.hright{gap:12px}
.brand{color:#fff}
.brand b{font-size:25px;color:#fff;line-height:1.2;white-space:nowrap}
nav.top{gap:0;font-size:14px}
nav.top a{color:#C9D3DF;padding:8px 7px;border-radius:6px;border-bottom:0}
nav.top a:hover{color:#fff;background:rgba(255,255,255,.06)}
nav.top a[aria-current="page"]{color:#fff;box-shadow:inset 0 -2px 0 #5484F2}
nav.top a.home22{padding-left:10px;margin-left:3px;border-left:1px solid rgba(255,255,255,.18);border-radius:0}
/* The topic menu shows only when the header has room for it (about 1125 to 2080 px wide, in both
   languages); otherwise the Menu button. A container query, since the 6vw margin narrows wide screens too. */
@media (max-width:1180px){nav.top{display:flex}.mnav{display:none}}
@container (max-width:990px){nav.top{display:none}.mnav{display:block}}
.lang{color:#DADADA;border:1px solid rgba(255,255,255,.28);border-radius:6px;padding:7px 12px;font-size:14px}
.lang:hover{color:#fff;border-color:rgba(255,255,255,.6)}
.mnav summary{color:#DADADA;border:1px solid rgba(255,255,255,.28);border-radius:6px;font-size:15px;padding:8px 12px;min-height:38px}
.mnav .menu{background:#000;border:1px solid #1b2738;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.mnav .menu a{color:#DADADA}
.mnav .menu a:hover{color:#fff;background:rgba(255,255,255,.06)}
.mnav .menu a.home22{border-top:1px solid #1b2738}
:focus-visible{outline-color:#5484F2}

/* atlas22.com blue for links and buttons (#2F5FD0 on white passes AA); square-ish buttons as there */
a{color:var(--accent)}
.btn{border-radius:8px}
.btn.ghost{color:var(--accent);border-color:var(--accent)}

/* light-navy tint panels for callouts; warnings in navy, not red */
.hero{background:linear-gradient(180deg,#F2F5FA 0%,#FFFFFF 100%)}
.note,.doctor{background:#F2F5FA}
.alert{background:#F2F5FA;border-left-color:#0E1B2C}
.alert h3,.warnp .kicker{color:#0E1B2C}
.steps .warnc a{border-color:#0E1B2C}
.timeline .when,.kicker{color:var(--accent)}

/* atlas22.com's generous section spacing */
.hero{padding-block:72px 56px}
.simple,.path{padding-block:72px}
.figure{padding-block:8px 64px}
.expert{padding-block:8px 72px}
.topic{padding-block:64px 72px}
.trusted{padding-block:48px}

/* footer: atlas22.com's black footer */
footer{background:#000;color:#9AA7B4;padding-block:32px;font-size:13.5px}
footer .wrap{gap:8px}
footer .logo img{height:22px}
footer a{color:#DADADA}
footer nav{margin-top:6px}

@media (max-width:620px){h1{font-size:clamp(34px,9vw,44px)}.brand b{font-size:24px}}
@media (max-width:360px){h1{font-size:32px}}

/* printing: plain black on white, no menus */
@media print{
  header,footer{background:#fff!important;color:#000!important}
  .brand,.brand b,footer a{color:#000!important}
  nav.top,.mnav,.lang,.trusted .tlinks span{display:none!important}
  footer .logo{display:none}
  a{color:#000}
  .hero{background:#fff}
}

/* Type sizes as on the atlas22.com home page (Ravi, 14 Nov 2026): body 16px, reading text and lead
   16-18px, h1 30-46px, h2 26-34px, the header menu 15.5px medium. Same fonts as before. */
body{font-size:16px;line-height:1.6}
h1{font-size:clamp(30px,3.2vw,46px);line-height:1.08}
h2{font-size:clamp(26px,2.4vw,34px);line-height:1.1}
h3{font-size:clamp(17px,1.35vw,19px);font-weight:600}
.three h3{font-size:clamp(20px,1.8vw,24px)}
.lead,main p,main li{font-size:clamp(16px,1.25vw,18px);line-height:1.6}
.three p,.etxt p,.video p,.steps p,.doctor p,.note,table,.tlinks,.signup label.f,.signup .cb{font-size:16px}
.stat b{font-size:clamp(32px,3vw,42px)}
.stat span,.etxt .who{font-size:15px}
.meta,figcaption,.signup .fine{font-size:14px}
.kicker,th,.trusted .fine{font-size:13px}
.trusted h2{font-size:clamp(22px,2vw,26px)}
.btn{font-size:16px;font-weight:600;min-height:46px;padding:11px 20px}
.n{width:36px;height:36px;font-size:16px}
.thead .n{width:42px;height:42px;font-size:18px}
.brand b{font-size:22px}
nav.top{font-size:15.5px;font-weight:500}
nav.top a{font-weight:500;letter-spacing:.005em}
.mnav summary{font-size:14px;font-weight:500;min-height:36px;padding:7px 12px}
.mnav .menu a{font-size:15.5px;font-weight:500;padding:9px 12px}
.lang{font-size:14px;font-weight:500}
footer{font-size:13px}

/* the gold separator above the black footer, as on atlas22.com (Ravi, 16 Nov) */
footer{position:relative}
footer::before{content:"";position:absolute;top:-1.3px;left:50%;width:120px;height:1.6px;transform:translateX(-50%);z-index:2;opacity:.9;
 background:linear-gradient(90deg,rgba(201,164,92,0),#C9A45C 18%,#E2C27D 50%,#C9A45C 82%,rgba(201,164,92,0))}
