/* Shared H&S shell styles: applied to every Astro route, independent of page-specific styles. */
:root{--navy:#0c2852;--navy-2:#15345f;--ink:#171717;--cream:#f6f1e8;--gold:#caa55b;--line:#ddd2bf;--max:1180px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:#171717;background:#fff;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.5}
.wrap{max-width:1180px;margin-left:auto;margin-right:auto;padding-left:28px;padding-right:28px}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.97);backdrop-filter:blur(14px);border-bottom:1px solid #eee}
.site-header .nav{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.site-header .brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:#171717;flex-shrink:0}
.site-header .monogram{width:54px;height:54px;border:1px solid #ddd2bf;background:linear-gradient(145deg,#17355f,#0b2348);color:#caa55b;display:grid;place-items:center;font-family:Georgia,serif;font-size:1.28rem;font-weight:700}
.site-header .brandname{font-family:Georgia,serif;font-size:1.14rem;letter-spacing:.08em}
.site-header .brandsub{font-size:.68rem;color:#737373;text-transform:uppercase;letter-spacing:.18em}
.site-header nav{display:flex;gap:22px;align-items:center;font-size:.92rem}
.site-header nav a{text-decoration:none;color:#171717}
.site-header nav a:hover,.site-header nav a[aria-current=page]{color:#0c2852;text-decoration:underline;text-decoration-color:#caa55b;text-underline-offset:5px}
.site-header nav .phone{color:#0c2852;font-family:Arial,Helvetica,sans-serif;font-size:1.14rem;font-weight:800;white-space:nowrap}
.site-header .menu-btn{display:none;font-family:Arial,Helvetica,sans-serif;font-weight:800;line-height:1;cursor:pointer}
.site-header .mobile-menu{background:#fff;border-top:1px solid #ddd2bf;box-shadow:0 10px 24px rgba(16,30,52,.08)}
.site-header .mobile-menu[hidden]{display:none!important}
.site-header .mobile-menu .wrap{padding-top:10px;padding-bottom:14px}
.site-header .mobile-menu a{display:block;padding:13px 0;border-bottom:1px solid #ddd2bf;text-decoration:none;font-weight:750;color:#111}
.site-header .mobile-menu a:last-child{border-bottom:none;color:#0c2852;font-family:Arial,Helvetica,sans-serif;font-weight:850}
body>footer{background:#151515;color:#bbb;padding:46px 0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.5}
body>footer .footer-grid{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:start}
body>footer strong{color:#fff}
body>footer .legal{font-size:.8rem;margin-top:18px;max-width:880px}
body>footer a{color:#d9e2f1}
body>footer .footer-contact{text-align:right}
body>footer .footer-housekeeping{margin-top:18px}
body>footer .footer-links{display:flex;flex-wrap:wrap;gap:8px 14px}
body>footer .copyright{margin-top:10px}
@media(max-width:1100px) and (min-width:901px){.site-header nav{gap:12px;font-size:.82rem}.site-header .brandname{font-size:1rem}.site-header nav .phone{font-size:.95rem}}
@media(max-width:900px){.site-header nav{display:none}.site-header .menu-btn{display:grid;place-items:center;width:44px;min-width:44px;height:44px;border:1px solid #ddd2bf;background:#fff;font-size:1.25rem}body>footer .footer-grid{grid-template-columns:1fr}body>footer .footer-contact{text-align:left;margin-top:4px}body>footer .footer-housekeeping{text-align:left;margin-top:24px}}
@media(max-width:600px){.wrap{padding-left:20px;padding-right:20px}.site-header .nav{min-height:78px}.site-header .monogram{width:46px;height:46px}.site-header .brandname{font-size:.92rem}.site-header .brandsub{font-size:.57rem}body>footer .rights-reserved{display:block}}

/* V211 RC7: consistent, readable Living Guide chapter treatment; limited to three medical chapters. */
.lg-chapter-page { background:#fffdf9; color:#28323b; }
.lg-chapter-topline { background:#f7f3ec; border-bottom:1px solid #e6ded0; font-size:.9rem; padding:13px 0; }
.lg-chapter-topline .wrap { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.lg-chapter-topline a { color:#173d56; text-underline-offset:4px; }
.lg-chapter-topline span:last-child { color:#66615a; }
.lg-chapter-page > section:first-of-type { background:linear-gradient(180deg,#fffdf9,#f8f3ea) !important; padding:clamp(46px,7vw,82px) 0 !important; }
.lg-chapter-page > section:first-of-type h1 { font-size:clamp(2.45rem,4.4vw,4.55rem) !important; line-height:1.1 !important; max-width:940px; letter-spacing:-.025em; }
.lg-chapter-page > section:first-of-type .lead { max-width:790px; line-height:1.7; }
.lg-chapter-page > section:not(:first-of-type) { padding-top:clamp(32px,5vw,60px); padding-bottom:clamp(32px,5vw,60px); }
.lg-chapter-page h2 { font-size:clamp(1.8rem,3.3vw,3.1rem) !important; line-height:1.17 !important; letter-spacing:-.02em; }
.lg-chapter-page p { line-height:1.7; }
.lg-chapter-page figure[data-hs-living-guide-art] { margin-top:28px !important; margin-bottom:34px !important; }
.lg-chapter-page figure[data-hs-living-guide-art] img { object-fit:contain; max-height:520px; }
.lg-chapter-page [data-hs-lg-reading-nav] { margin-top:22px; }
@media(max-width:640px) { .lg-chapter-topline {font-size:.82rem;} .lg-chapter-page > section:first-of-type h1 {font-size:clamp(2.2rem,9vw,3.1rem) !important;} .lg-chapter-page figure[data-hs-living-guide-art] {margin:22px auto !important;} }

/* RC8: guide treatment for pathology, trials and daily life, without modifying article text. */
.lg-chapter-extended .reader-grid { gap:clamp(16px,2.5vw,28px); }
.lg-chapter-extended .reader-grid article { border:1px solid #e6ded0; border-radius:14px; background:#fffdfa; padding:clamp(18px,2.8vw,30px); }
.lg-chapter-extended .reader-text { max-width:830px; }
.lg-chapter-extended .reader-links { display:flex; flex-wrap:wrap; gap:12px 24px; margin-top:24px; }
.lg-chapter-extended .reader-links a { color:#173d56; text-underline-offset:4px; }
.lg-chapter-extended .v211f-support-hero { background:linear-gradient(180deg,#fffdf9,#f8f3ea) !important; }
.lg-chapter-extended .v211f-support-hero h1 { max-width:940px; font-size:clamp(2.45rem,4.4vw,4.55rem); line-height:1.1; letter-spacing:-.025em; }
.lg-chapter-extended figure img { max-width:100%; height:auto; }
@media(max-width:640px) { .lg-chapter-extended .reader-links {flex-direction:column;align-items:flex-start;} .lg-chapter-extended .reader-grid article {padding:18px;} }
