/* Alpine County: ATLAS no-local-jail model. Scoped to the approved sitewide system. */
.county-alpine{--ap-orange:#f24a2e;--ap-ink:#17171b;--ap-paper:#f5f3ed;--ap-soft:#ebe8df;--ap-line:#d7d2c8;--ap-muted:#686761;background:var(--ap-paper);color:var(--ap-ink)}
.county-alpine .ap-kicker,.county-alpine .ap-card-label{margin:0 0 .7rem;color:var(--ap-orange);font:700 .7rem/1.2 "Instrument Sans",Arial,sans-serif;letter-spacing:.11em;text-transform:uppercase}
.county-alpine .at-legacy-body>section{padding:clamp(3.75rem,7vw,7rem) 0;border-bottom:1px solid var(--ap-line)}
.county-alpine .at-legacy-body h2,.county-alpine .ap-guide-section h2{margin:.2rem 0 1.25rem;font-family:"Barlow Condensed",Impact,sans-serif;font-size:clamp(2.65rem,5vw,5.2rem);font-weight:800;line-height:.88;letter-spacing:-.035em}
.county-alpine .at-legacy-body h3,.county-alpine .ap-guide-section h3{font-family:"Barlow Condensed",Impact,sans-serif;font-size:1.55rem;line-height:1}
.county-alpine .at-legacy-body p,.county-alpine .ap-guide-section p{line-height:1.65}

.county-alpine .ap-story{display:grid;grid-template-columns:minmax(0,1.56fr) minmax(18rem,1fr);gap:clamp(2rem,6vw,5rem);align-items:center}
.county-alpine .ap-story__copy{max-width:48rem}.county-alpine .ap-story__copy>p:not(.ap-kicker){max-width:42rem;font-size:1.02rem}
.county-alpine .ap-story figure{margin:0}.county-alpine .ap-story img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;filter:saturate(.82) contrast(1.03);-webkit-mask-image:linear-gradient(to right,transparent,#000 15%,#000 88%,transparent),linear-gradient(to bottom,transparent,#000 12%,#000 80%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent,#000 15%,#000 88%,transparent),linear-gradient(to bottom,transparent,#000 12%,#000 80%,transparent);mask-composite:intersect}

.county-alpine .ap-route{background:var(--ap-ink);color:#fff;margin-inline:calc(50% - 50vw);padding-inline:max(1.25rem,calc((100vw - 78rem)/2))!important}
.county-alpine .ap-route h2,.county-alpine .ap-route h3{color:#fff}.county-alpine .ap-route header{max-width:52rem;margin-bottom:2.5rem}
.county-alpine .ap-route ol{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0;padding:0;border-top:1px solid #48484c;list-style:none}
.county-alpine .ap-route li{display:grid;grid-template-columns:3.6rem 1fr;gap:1rem;padding:1.75rem 1.5rem 1.75rem 0;border-right:1px solid #48484c}
.county-alpine .ap-route li+li{padding-left:1.5rem}.county-alpine .ap-route li:last-child{border-right:0}
.county-alpine .ap-route li>span{color:var(--ap-orange);font:800 1.45rem/1 "Barlow Condensed",Impact,sans-serif}.county-alpine .ap-route h3{margin:0 0 .65rem}.county-alpine .ap-route li p{min-height:7.5rem;margin:.25rem 0;color:#d4d2cc;font-size:.9rem}.county-alpine .ap-route a{color:#fff;font-weight:700;text-underline-offset:4px}

.county-alpine .ap-receivers>header,.county-alpine .ap-family-tasks>header,.county-alpine .ap-local-help>header{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(15rem,.65fr);gap:2rem 5rem;align-items:end;margin-bottom:2.4rem}.county-alpine .ap-receivers>header>p,.county-alpine .ap-family-tasks>header>p,.county-alpine .ap-local-help>header>p{color:var(--ap-muted)}
.county-alpine .ap-receiver-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:4px solid var(--ap-ink);border-bottom:1px solid var(--ap-line)}
.county-alpine .ap-receiver-grid article{display:flex;flex-direction:column;min-width:0;padding:1.5rem;border-right:1px solid var(--ap-line);background:#fff}.county-alpine .ap-receiver-grid article:first-child{padding-left:0;background:transparent}.county-alpine .ap-receiver-grid article:last-child{border-right:0}
.county-alpine .ap-receiver-grid h3{margin:.15rem 0 .5rem}.county-alpine .ap-receiver-grid .ap-system{margin:0 0 1rem;color:var(--ap-orange);font-size:.75rem;font-weight:800}.county-alpine .ap-receiver-grid address{min-height:3.2rem;font-style:normal;line-height:1.45}.county-alpine .ap-receiver-grid article>p:not(.ap-card-label,.ap-system){color:var(--ap-muted);font-size:.86rem}.county-alpine .ap-receiver-grid article>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.75rem;margin-top:auto;padding-top:1rem;border-top:1px solid var(--ap-line)}.county-alpine .ap-receiver-grid a{color:var(--ap-ink);font-size:.76rem;font-weight:800}

.county-alpine .ap-family-tasks{display:grid;grid-template-columns:minmax(17rem,.75fr) minmax(0,1.25fr);gap:3rem 7rem}.county-alpine .ap-family-tasks>header{display:block;margin:0}.county-alpine .ap-family-tasks>div{border-top:4px solid var(--ap-ink)}
.county-alpine .ap-family-tasks>div>a{display:grid;grid-template-columns:2.5rem 1fr 1rem;gap:1rem;align-items:center;padding:1.15rem 0;border-bottom:1px solid var(--ap-line);color:var(--ap-ink);text-decoration:none}.county-alpine .ap-family-tasks span,.county-alpine .ap-family-tasks b{color:var(--ap-orange);font-weight:800}.county-alpine .ap-family-tasks strong,.county-alpine .ap-family-tasks small{display:block}.county-alpine .ap-family-tasks strong{font-family:"Barlow Condensed",Impact,sans-serif;font-size:1.3rem}.county-alpine .ap-family-tasks small{color:var(--ap-muted);font-size:.78rem}

.county-alpine .ap-local-help{background:#fff;margin-inline:calc(50% - 50vw);padding-inline:max(1.25rem,calc((100vw - 78rem)/2))!important}.county-alpine .ap-help-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:4px solid var(--ap-ink)}.county-alpine .ap-help-grid article{min-height:12rem;padding:1.5rem 1.5rem 1.5rem 0;border-right:1px solid var(--ap-line);border-bottom:1px solid var(--ap-line)}.county-alpine .ap-help-grid article:nth-child(3n+2),.county-alpine .ap-help-grid article:nth-child(3n+3){padding-left:1.5rem}.county-alpine .ap-help-grid article:nth-child(3n){border-right:0}.county-alpine .ap-help-grid h3{margin:0 0 .75rem}.county-alpine .ap-help-grid p{color:var(--ap-muted);font-size:.86rem}.county-alpine .ap-help-grid a{color:var(--ap-orange);font-weight:800}.county-alpine .ap-help-grid small{display:block;margin-top:.45rem}

.county-alpine .ap-sources{display:grid;grid-template-columns:.85fr 1.15fr;gap:3rem 6rem}.county-alpine .ap-sources nav{display:grid;border-top:4px solid var(--ap-ink)}.county-alpine .ap-sources nav a{padding:.9rem 0;border-bottom:1px solid var(--ap-line);color:var(--ap-ink);font-size:.8rem;font-weight:750;text-decoration:none}

/* The county hub uses the Atlas frame; restore its intentional section layout
   above the shared legacy-flattening rules without changing other counties. */
body.county-alpine .at-directory--frame{display:block}
body.county-alpine .at-directory--frame>.at-directory-aside{display:none}
body.county-alpine .at-legacy-body>section{padding:48px 0!important;margin:0!important;border-bottom:1px solid var(--ap-line)!important}
body.county-alpine .at-legacy-body .ap-route{background:var(--ap-ink)!important;padding:32px!important;margin:16px 0!important}
body.county-alpine .at-legacy-body .ap-route :is(h2,h3,p,li,span,div,a){color:#fff!important}
body.county-alpine .at-legacy-body .ap-route li>span{color:#ff775c!important}
body.county-alpine .at-legacy-body .ap-route li p{min-height:0}
body.county-alpine .at-legacy-body .ap-route ol{max-width:none!important;width:100%}
body.county-alpine.atlas-page .at-legacy-body .ap-route a:not([class*="button"]){color:#fff!important;text-decoration:underline}
body.county-alpine .at-legacy-body .ap-local-help{padding:48px 0!important;margin:0!important}
body.county-alpine .at-legacy-body .ap-receiver-grid article{background:#fff!important;padding:24px!important}
body.county-alpine .at-legacy-body :is(.ap-kicker,.ap-card-label){color:#a73520!important}
body.county-alpine .ap-receivers>header,body.county-alpine .ap-local-help>header{display:block;max-width:760px}
body.county-alpine :is(.ap-story,.ap-guide-section,.ap-answer,.ap-family-tasks) :is(h2,h3,strong){font-family:"YC Barlow","Arial Narrow",sans-serif}
body.county-alpine :is(.ap-kicker,.ap-card-label){font-family:"YC Instrument",Arial,sans-serif}
body.county-alpine :is(.ap-guide-section,.ap-answer) h2{font-size:clamp(28px,3vw,40px);line-height:1.05}
body.county-alpine .ap-route li>span,body.county-alpine .ap-guide-route li>span{font-family:"YC Barlow","Arial Narrow",sans-serif}
body.county-alpine .ap-guide-section{padding-block:48px}
body.county-alpine .ap-answer .at-button{color:#17171b!important}
body.county-alpine :is(a,summary):focus-visible{outline:3px solid #a73520!important;outline-offset:4px}
@media(max-width:600px){body.county-alpine .at-legacy-body .ap-route{padding:24px 18px!important}body.county-alpine .ap-family-tasks>div>a{grid-template-columns:1.5rem minmax(0,1fr) 1rem}body.county-alpine .ap-guide-route li{grid-template-columns:2rem minmax(0,1fr)}body.county-alpine .ap-answer{padding:20px}body.county-alpine .ap-receiver-grid address{overflow-wrap:anywhere}}

/* Family task pages */
.county-alpine .ap-guide-opening{align-items:start}.county-alpine .ap-answer{padding:1.75rem;border-top:4px solid var(--ap-orange);background:#fff;box-shadow:0 12px 36px rgba(20,20,24,.08)}.county-alpine .ap-answer h2{margin:.2rem 0 1rem;font-family:"Barlow Condensed",Impact,sans-serif;font-size:2rem;line-height:.95}.county-alpine .ap-answer p{line-height:1.55}.county-alpine .ap-answer__actions{display:flex;flex-wrap:wrap;gap:.8rem;align-items:center;margin-top:1.25rem}
.county-alpine .ap-guide-section{padding-block:clamp(3.5rem,7vw,6.5rem)}.county-alpine .ap-guide-section>header{max-width:56rem;margin-bottom:2.5rem}
.county-alpine .ap-guide-route{display:grid;grid-template-columns:minmax(17rem,.72fr) minmax(0,1.28fr);gap:3rem 6rem}.county-alpine .ap-guide-route>header{margin:0}.county-alpine .ap-guide-route ol{margin:0;padding:0;border-top:4px solid var(--ap-ink);list-style:none}.county-alpine .ap-guide-route li{display:grid;grid-template-columns:3.2rem 1fr;gap:1rem;padding:1.2rem 0;border-bottom:1px solid var(--ap-line)}.county-alpine .ap-guide-route li>span{color:var(--ap-orange);font:800 1.35rem/1 "Barlow Condensed",Impact,sans-serif}.county-alpine .ap-guide-route h3{margin:0 0 .45rem}.county-alpine .ap-guide-route li p{margin:0;color:var(--ap-muted);font-size:.9rem}
.county-alpine .ap-receiver-band{background:#fff}.county-alpine .ap-receiver-band .ap-receiver-grid article:first-child{background:#fff}.county-alpine .ap-detail{display:grid;grid-template-columns:.85fr 1.15fr;gap:3rem 6rem;align-items:start}.county-alpine .ap-detail ul{margin:0;padding:0;border-top:4px solid var(--ap-ink);list-style:none}.county-alpine .ap-detail li{padding:1rem 0;border-bottom:1px solid var(--ap-line)}
.county-alpine .ap-official{background:var(--ap-ink);color:#fff}.county-alpine .ap-official .ap-guide-section{display:grid;grid-template-columns:.8fr 1.2fr;gap:3rem 6rem}.county-alpine .ap-official h2{color:#fff}.county-alpine .ap-official p{color:#d4d2cc}.county-alpine .ap-official nav{display:grid;border-top:4px solid var(--ap-orange)}.county-alpine .ap-official nav a{padding:1rem 0;border-bottom:1px solid #48484c;color:#fff;font-weight:700;text-decoration:none}

@media(max-width:920px){.county-alpine .ap-story,.county-alpine .ap-receivers>header,.county-alpine .ap-family-tasks,.county-alpine .ap-local-help>header,.county-alpine .ap-sources,.county-alpine .ap-guide-route,.county-alpine .ap-detail,.county-alpine .ap-official .ap-guide-section{grid-template-columns:1fr}.county-alpine .ap-route ol,.county-alpine .ap-receiver-grid{grid-template-columns:1fr}.county-alpine .ap-route li,.county-alpine .ap-route li+li{padding:1.4rem 0;border-right:0;border-bottom:1px solid #48484c}.county-alpine .ap-route li p{min-height:0}.county-alpine .ap-receiver-grid article,.county-alpine .ap-receiver-grid article:first-child{padding:1.4rem 0;border-right:0;border-bottom:1px solid var(--ap-line);background:transparent}.county-alpine .ap-help-grid{grid-template-columns:repeat(2,1fr)}.county-alpine .ap-help-grid article,.county-alpine .ap-help-grid article:nth-child(n){padding:1.3rem;border-right:1px solid var(--ap-line)}.county-alpine .ap-help-grid article:nth-child(2n){border-right:0}}
@media(max-width:600px){.county-alpine .at-legacy-body>section{padding-block:3.5rem}.county-alpine .ap-story{gap:1.75rem}.county-alpine .ap-story figure{max-width:23rem}.county-alpine .ap-story figcaption{font-size:.68rem}.county-alpine .ap-help-grid{grid-template-columns:1fr}.county-alpine .ap-help-grid article,.county-alpine .ap-help-grid article:nth-child(n){min-height:0;padding:1.2rem 0;border-right:0}.county-alpine .ap-guide-opening .at-intro{padding-bottom:1.5rem}}
@media(prefers-reduced-motion:reduce){.county-alpine *{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* One photographic section: the landscape continues beneath the copy. */
body.county-alpine .at-legacy-body>section.ap-story{display:block;position:relative;isolation:isolate;padding:clamp(28px,4vw,56px)!important;margin:32px 0!important;border:0!important;background:linear-gradient(90deg,#0f1719 0%,#0f1719 46%,rgba(15,23,25,.65) 62%,rgba(15,23,25,.14) 100%) 0 0/100% 100% no-repeat,url('/assets/california-heroes/county/alpine-county-official-1024.jpg') right center/auto 100% no-repeat #0f1719!important}
body.county-alpine .at-legacy-body .ap-story__copy{max-width:650px;position:relative}
body.county-alpine .at-legacy-body .ap-story__copy :is(h2,p,strong){color:#fff!important}
body.county-alpine .at-legacy-body .ap-story__copy .ap-kicker{color:#fff!important}
body.county-alpine.atlas-page .at-legacy-body .ap-story__copy a.at-link{color:#fff!important;text-decoration:underline;text-underline-offset:5px}
body.county-alpine .at-legacy-body .ap-story figure{display:none!important}
@media(max-width:600px){body.county-alpine .at-legacy-body>section.ap-story{background:linear-gradient(90deg,rgba(15,23,25,.9),rgba(15,23,25,.78)),url('/assets/california-heroes/county/alpine-county-official-1024.jpg') center/cover no-repeat!important;padding:28px 24px!important}}
