/* Government learning pages: the existing navy, gold, and warm paper palette. */
.gov-page{--gov-navy:#13394a;--gov-gold:#f1bd48;--gov-ink:#163845;--gov-muted:#526874;--gov-paper:#fffaf0;color:var(--gov-ink)}
.gov-page *{box-sizing:border-box}
.gov-page [hidden]{display:none!important}
.gov-page h1,.gov-page h2,.gov-page h3{line-height:1.12}
.gov-page p,.gov-page li{line-height:1.7}
.gov-page h2{font-size:clamp(1.55rem,2.8vw,2.2rem);margin:0 0 .7rem}
.gov-page h3{font-size:1.25rem;margin:.5rem 0 .65rem}
.gov-page section{scroll-margin-top:1.5rem}
.gov-eyebrow{display:block;font-size:.78rem;letter-spacing:.13em;text-transform:uppercase;font-weight:850;color:#725317;margin-bottom:.8rem}
.gov-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.8fr);background:var(--gov-navy);border-radius:24px;overflow:hidden;color:#fff;margin:1.3rem 0 0;box-shadow:0 18px 42px #13394a17}
.gov-hero-copy{padding:clamp(1.7rem,4vw,3.5rem);align-self:center}
.gov-hero .gov-eyebrow{color:#ffdc8c}
.gov-hero h1{font-size:clamp(2.9rem,5.8vw,5.2rem);letter-spacing:-.045em;margin:.3rem 0 1rem;color:#fff}
.gov-hero h1 span{display:block;color:#ffda83}
.gov-hero .gov-lede{font-size:clamp(1.1rem,1.8vw,1.35rem);max-width:34ch;color:#e6edf0}
.gov-hero .gov-kicker{font-size:.9rem;color:#d2e2e7;margin:1.4rem 0 0}
.gov-portrait{margin:0;position:relative;min-width:0;display:flex;flex-direction:column;background:#e4e3dd}
.gov-portrait img{width:100%;height:100%;max-height:620px;object-fit:cover;object-position:center 25%;display:block;min-height:330px}
.gov-portrait figcaption{position:absolute;bottom:0;left:0;right:0;padding:1rem 1.2rem;background:linear-gradient(transparent,#082b3be8);padding-top:3rem;color:white;font-size:.77rem}
.gov-portrait a{color:white}
.gov-jumps{display:flex;flex-wrap:wrap;gap:.65rem;padding:1.1rem 0;margin:0 0 2.1rem;border-bottom:1px solid #d7dedb}
.gov-jumps button{font:inherit;font-weight:750;border:1px solid #c5d1ce;background:#fff;color:var(--gov-ink);border-radius:999px;padding:.7rem 1rem;cursor:pointer}
.gov-jumps button:hover,.gov-jumps button:focus-visible{background:#f7df9d;border-color:#ad8125}
.gov-section{margin:3rem 0}
.gov-section-intro{max-width:70ch;color:var(--gov-muted);margin:0 0 1.5rem}
.gov-two-col{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);gap:1.6rem;align-items:start}
.gov-reading{background:#fff;border:1px solid #d8dfdc;border-radius:20px;padding:clamp(1.3rem,3vw,2.3rem)}
.gov-reading p{font-size:1.09rem;max-width:68ch}
.gov-reading p:last-child{margin-bottom:0}
.gov-reading-controls{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.25rem}
.gov-reading-controls button{background:#f0f3f1;border:1px solid #c9d4d0;border-radius:8px;padding:.65rem .85rem;font:inherit;font-size:.9rem;font-weight:750;color:var(--gov-ink);cursor:pointer}
.gov-reading-controls button[aria-pressed=true]{background:var(--gov-navy);border-color:var(--gov-navy);color:#fff}
.gov-note{background:#fff4d7;border:1px solid #dec68d;border-radius:16px;padding:1.4rem}
.gov-note p{margin-bottom:0}
.gov-note + .gov-note{margin-top:1rem}
.gov-note dl{margin:0}
.gov-note dt{font-weight:850;margin:1rem 0 .3rem}
.gov-note dd{margin:0;line-height:1.5}
.gov-update{display:flex;gap:1.2rem;background:#e9f2ef;border-left:5px solid #327967;border-radius:0 14px 14px 0;padding:1.35rem 1.5rem;margin-top:1.4rem}
.gov-update p{margin:.3rem 0}
.gov-update strong{display:block}
.gov-source-line{font-size:.8rem;color:var(--gov-muted);line-height:1.6;margin-top:1.15rem}
.gov-source-line a{display:inline-block;margin-right:.85rem;color:#245e71;text-decoration:underline}
.gov-timeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem;list-style:none;padding:0;margin:1.5rem 0}
.gov-timeline li{background:#f7f3e8;border-top:4px solid #cc9a32;padding:1.1rem;border-radius:0 0 10px 10px}
.gov-timeline .gov-year{display:block;color:#876116;font-size:1.7rem;font-weight:850}
.gov-timeline strong{display:block;line-height:1.3;margin:.35rem 0 .6rem}
.gov-timeline p{font-size:.91rem;margin:0}
.gov-role-grid,.gov-video-grid,.gov-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem}
.gov-role{padding:1.5rem;border-radius:16px;background:#fff;border:1px solid #d6dfda;border-top:5px solid #32816d}
.gov-role:nth-child(2){border-top-color:#c99c3c}
.gov-role:nth-child(3){border-top-color:#547ba0}
.gov-role .gov-number{display:inline-grid;place-items:center;min-width:2.2rem;height:2.2rem;background:#eef3ef;border-radius:100%;font-weight:850}
.gov-role p{margin:0}
.gov-video-card{display:flex;flex-direction:column;border:1px solid #d6dfda;border-radius:16px;overflow:hidden;background:#fff;min-width:0}
.gov-video-frame{position:relative;aspect-ratio:16/9;background:#13394a;flex:none;overflow:hidden}
.gov-video-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;opacity:.82}
.gov-play{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;border:0;width:100%;font:inherit;color:#fff;background:linear-gradient(transparent,#092b3c65);font-weight:800;cursor:pointer;gap:.6rem;padding:1rem}
.gov-play span:first-child{display:grid;place-items:center;width:60px;height:60px;border-radius:100%;background:#f4c95c;color:#163845;font-size:1.5rem;box-shadow:0 5px 24px #0004}
.gov-play:hover span:first-child,.gov-play:focus-visible span:first-child{background:#fff1c7;transform:scale(1.05)}
.gov-video-frame iframe{width:100%;height:100%;border:0;position:absolute;inset:0}
.gov-video-copy{padding:1.25rem;display:flex;flex-direction:column;flex:1}
.gov-video-meta{font-size:.76rem;line-height:1.5;color:#56707a}
.gov-video-card p{font-size:.96rem}
.gov-video-question{border-top:1px solid #e0e6e1;padding-top:.8rem;margin-top:auto}
.gov-video-links{display:flex;flex-wrap:wrap;gap:.65rem;font-size:.84rem;font-weight:750}
.gov-video-links a{color:#245e71;text-decoration:underline}
.gov-video-help{font-size:.85rem;color:var(--gov-muted)}
.gov-trip-banner{display:grid;grid-template-columns:1fr 1fr;border-radius:20px;overflow:hidden;background:#183e50;color:white}
.gov-trip-banner img{width:100%;height:100%;object-fit:cover;min-height:300px}
.gov-trip-banner>div{padding:2rem}
.gov-trip-banner h2{color:white}
.gov-trip-banner p{color:#e1ebee}
.gov-trip-banner .button{background:#f2c65d;color:#173b4a;border-color:#f2c65d}
.gov-deck{border:1px solid #c8d4d0;background:#f1f3ef;border-radius:18px;overflow:hidden;margin:1.4rem 0}
.gov-deck-head{display:flex;gap:1rem;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:1rem 1.3rem;background:#173b4a;color:white}
.gov-deck-head label{font-size:.82rem;font-weight:750;display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}
.gov-deck-head select{max-width:100%;padding:.65rem;border-radius:6px;border:0;font:inherit;color:#173b4a;background:#fff}
.gov-deck-head button{border:1px solid #93a7af;color:#fff;background:transparent;padding:.6rem .8rem;border-radius:6px;font:inherit;cursor:pointer}
.gov-slide-stage{background:#e6e9e6;display:grid;place-items:center;min-height:160px}
.gov-slide-stage img{display:block;width:100%;height:auto;max-height:78vh;object-fit:contain}
.gov-deck-controls{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.85rem 1.3rem;background:#fff}
.gov-deck-controls button{font:inherit;font-weight:750;background:#173b4a;color:#fff;padding:.65rem 1rem;border:0;border-radius:6px;cursor:pointer}
.gov-deck-controls button:disabled{opacity:.4;cursor:default}
.gov-deck-controls span{font-size:.88rem;text-align:center}
.gov-deck-bottom{padding:1rem 1.3rem}
.gov-deck-bottom p{margin:.4rem 0}
.gov-slide-text{white-space:pre-line;font-size:.95rem;background:white;padding:1rem;border-radius:8px;margin-top:.7rem}
.gov-deck:fullscreen{overflow:auto;background:#f0f2ef;border-radius:0}
.gov-deck:fullscreen .gov-slide-stage img{max-height:calc(100vh - 190px)}
.gov-material-filters{display:flex;flex-wrap:wrap;gap:.6rem;margin:1.1rem 0 1.5rem}
.gov-material-filters button{font:inherit;font-weight:750;padding:.65rem 1rem;border-radius:999px;border:1px solid #b8c9c3;background:#fff;color:#173b4a;cursor:pointer}
.gov-material-filters button[aria-pressed=true]{color:white;background:#173b4a;border-color:#173b4a}
.gov-resource{border:1px solid #d8dfdc;background:white;padding:1.4rem;border-radius:14px;display:flex;flex-direction:column;min-width:0}
.gov-resource .gov-eyebrow{margin:0;font-size:.7rem;color:#58756b}
.gov-resource h3{line-height:1.25}
.gov-resource p{font-size:.94rem}
.gov-resource .gov-file-links{margin-top:auto;display:flex;flex-wrap:wrap;gap:.6rem}
.gov-file-links a{font-size:.86rem;font-weight:800;padding:.6rem .8rem;border-radius:6px;background:#eaf1ed;color:#194b59;text-decoration:none}
.gov-file-links a:hover{background:#d3e5dd}
.gov-resource-note{font-size:.8rem!important;background:#fff5df;padding:.65rem;border-radius:6px;color:#6a521b}
.gov-math{background:#fff9ea;border:1px solid #e5cd94;padding:clamp(1.2rem,3vw,2rem);border-radius:18px}
.gov-math-layout{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;align-items:start}
.gov-math-inputs{display:flex;gap:1rem;flex-wrap:wrap;margin:1rem 0}
.gov-math-inputs label{display:flex;flex-direction:column;gap:.35rem;font-weight:750}
.gov-math-inputs input{width:100px;border:1px solid #a39b83;border-radius:6px;background:white;font:inherit;padding:.6rem}
.gov-unit-grid{display:grid;gap:2px;max-width:350px;aspect-ratio:var(--gov-cols)/var(--gov-rows);padding:4px;background:#a37923;margin:1rem 0}
.gov-unit-grid span{aspect-ratio:1;background:#f8dc8b;border:1px solid #fff8}
.gov-math-output{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
.gov-math-output>div{background:white;padding:1rem;border-radius:10px;border:1px solid #e5cd94}
.gov-math-output strong{display:block;font-size:1.5rem;color:#755112;margin:.3rem 0}
.gov-model-note{font-size:.84rem;color:#6b5a32}
.gov-glossary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}
.gov-glossary>div{padding:1rem;border:1px solid #dae2dc;border-radius:10px;background:white}
.gov-glossary dt{font-weight:850;margin-bottom:.4rem}
.gov-glossary dd{margin:0;font-size:.91rem;line-height:1.55}
.gov-sources{border-top:1px solid #cad6cf;padding-top:1.3rem;font-size:.9rem}
.gov-sources ul{columns:2;padding-left:1.25rem}
.gov-sources li{break-inside:avoid;margin:.6rem 0}
.gov-teacher-note{margin:1.2rem 0;padding:1rem 1.2rem;border:1px solid #d4ddd6;background:#f5f6ef;border-radius:12px;font-size:.91rem}
.gov-teacher-note summary{font-weight:800;cursor:pointer}
.gov-collection-lead{padding:clamp(1.5rem,4vw,3rem);border-radius:20px;background:#173b4a;color:#fff;margin:1.3rem 0 2rem}
.gov-collection-lead h1{font-size:clamp(2.2rem,4.2vw,3.7rem);color:white;margin:.5rem 0 1rem;letter-spacing:-.03em}
.gov-collection-lead .gov-eyebrow{color:#ffdc8c}
.gov-collection-lead p{color:#e6edf0;max-width:70ch}
.gov-link-row{display:flex;flex-wrap:wrap;gap:.65rem;margin:1rem 0}
.gov-link-row .button{font-size:.9rem}
.gov-section-top{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.gov-tour-links{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.gov-tour-link{background:#fff;border:1px solid #d6dfda;border-radius:16px;padding:1.5rem}
.gov-statehouse .gov-capsule-layout{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;align-items:start}
.gov-capsule-timeline{list-style:none;padding:0;margin:0}
.gov-capsule-timeline li{padding:.8rem 0;border-bottom:1px solid #d9dfd6}
.gov-capsule-timeline strong{display:block;font-size:1.25rem;color:#936c1c}
.gov-capsule-timeline p{margin:.3rem 0}
.gov-compact-feature{background:#fff4d7;border:1px solid #dfc78e;padding:1.25rem 1.5rem;border-radius:16px;margin:1.5rem 0}
.gov-compact-feature h2{margin:.3rem 0}
.gov-compact-feature p{margin:.45rem 0 .8rem}
.gov-reading-audio-note{font-size:.82rem;color:#526874}
.gov-page button:focus-visible,.gov-page a:focus-visible,.gov-page select:focus-visible,.gov-page input:focus-visible{outline:3px solid #b66c1b;outline-offset:3px}
@media(max-width:900px){.gov-timeline{grid-template-columns:repeat(3,minmax(0,1fr))}.gov-video-grid,.gov-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gov-glossary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.gov-hero{grid-template-columns:1fr}.gov-portrait{max-height:450px}.gov-portrait img{max-height:450px;object-position:center 20%}.gov-two-col,.gov-trip-banner,.gov-math-layout,.gov-statehouse .gov-capsule-layout,.gov-tour-links{grid-template-columns:1fr}.gov-role-grid,.gov-video-grid,.gov-resource-grid{grid-template-columns:1fr}.gov-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}.gov-timeline li:last-child{grid-column:1/-1}.gov-hero h1{font-size:3.2rem}.gov-trip-banner img{min-height:210px;max-height:270px}.gov-section{margin:2.3rem 0}.gov-deck-controls{padding:.8rem;gap:.5rem}.gov-deck-controls button{padding:.6rem .7rem}.gov-sources ul{columns:1}.gov-update{padding:1rem}.gov-jumps{gap:.5rem}.gov-jumps button{font-size:.9rem;padding:.6rem .8rem}}
@media print{.gov-jumps,.gov-reading-controls,.gov-play,.gov-deck-head,.gov-deck-controls,.gov-material-filters{display:none}.gov-hero{background:#fff!important;color:#173b4a!important;box-shadow:none;border:1px solid #999}.gov-hero h1,.gov-hero h1 span,.gov-hero .gov-lede,.gov-hero .gov-eyebrow,.gov-hero .gov-kicker{color:#173b4a!important}.gov-video-frame{display:none}.gov-section,.gov-resource,.gov-role{break-inside:avoid}.gov-sources ul{columns:1}.gov-portrait{max-height:280px}}
