/* R31C COUNTY PUBLIC HERO: DIRECT RENDERER + EXTERNAL CSS */

/* Native image element is permitted by existing image-src self CSP. */
body>header.r31c-county-hero { isolation:isolate; background-image:linear-gradient(110deg,#142e4c,#185d6f)!important; }
body>header.r31c-county-hero>.r31c-cover { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 62%; z-index:0; pointer-events:none; }
body>header.r31c-county-hero>.r31c-veil {position:absolute;inset:0; background:linear-gradient(90deg,rgba(6,20,41,.88),rgba(7,24,43,.67) 47%,rgba(10,30,48,.25));z-index:1;pointer-events:none}
body>header.r31c-county-hero .hero-content{position:relative;z-index:2}
body>header.r31c-county-hero .hero-panel{background:rgba(12,30,50,.61)!important}
@media(max-width:640px){body>header.r31c-county-hero>.r31c-cover{object-position:center 73%}}

/* R31B PREMIUM COUNTY: style the actual public page, not a separate appended banner. */
body>header.r31c-county-hero{position:relative!important;isolation:isolate;overflow:hidden;min-height:430px!important;background-color:#10253c!important;background-image:linear-gradient(92deg,rgba(4,19,37,.80) 0%,rgba(6,25,43,.63) 45%,rgba(6,25,43,.15) 100%),linear-gradient(125deg,#173e64,#197584)!important;background-size:cover!important;background-position:center 58%!important;background-repeat:no-repeat!important;color:#fff!important;border:0!important}
body>header.r31c-county-hero::before,body>header.r31c-county-hero::after{content:none!important;display:none!important}
body>header.r31c-county-hero .hero-content{position:relative!important;z-index:2;min-height:410px!important;padding-top:34px!important;padding-bottom:62px!important;align-items:center!important;gap:25px!important}
body>header.r31c-county-hero .hero-copy{position:relative!important;z-index:2!important;max-width:730px!important}
body>header.r31c-county-hero .ey{letter-spacing:.20em!important;color:#f2d28b!important;text-transform:uppercase!important;font-weight:800!important}
body>header.r31c-county-hero h1{font-size:clamp(34px,3.8vw,55px)!important;line-height:1.07!important;letter-spacing:-.045em!important;text-wrap:balance!important;color:#fff!important;text-shadow:0 3px 22px rgba(0,0,0,.22)!important}
body>header.r31c-county-hero .hero-copy>p{font-size:clamp(16px,1.6vw,20px)!important;line-height:1.7!important;max-width:630px!important;color:#f4f5f9!important}
body>header.r31c-county-hero .pills{display:flex!important;flex-wrap:wrap!important;gap:9px!important}
body>header.r31c-county-hero .pills span{display:inline-flex!important;align-items:center!important;padding:11px 15px!important;border-radius:10px!important;border:1px solid rgba(255,255,255,.38)!important;background:rgba(10,30,51,.50)!important;backdrop-filter:blur(8px)!important;font-size:12px!important;font-weight:740!important;color:#fff!important}
body>header.r31c-county-hero .hero-panel{background:rgba(10,30,49,.63)!important;border:1px solid rgba(255,255,255,.33)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;border-radius:23px!important;box-shadow:0 22px 55px rgba(3,15,27,.25)!important;color:#fff!important;padding:23px!important}
body>header.r31c-county-hero .hero-panel h2{font-size:clamp(27px,3vw,42px)!important;line-height:1.11!important;color:white!important}
body>header.r31c-county-hero .hero-panel p,body>header.r31c-county-hero .hero-panel span{color:#f1f4fa!important}
body>header.r31c-county-hero .hero-stats>div{background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.19)!important;border-radius:12px!important}
body>header.r31c-county-hero .hero-stats strong{color:#f3cb76!important}
body>main.w{max-width:1250px!important}
body>main .welcome-bar{position:relative!important;z-index:4!important;margin-top:-38px!important;border-radius:18px!important;box-shadow:0 24px 60px rgba(11,27,48,.13)!important}
body>main .grid{gap:23px!important}
body>main .join{border-radius:24px!important;overflow:hidden!important}
@media(max-width:900px){body>header.r31c-county-hero .hero-content{padding-top:32px!important;padding-bottom:55px!important;gap:22px!important}body>header.r31c-county-hero{min-height:unset!important}}
@media(max-width:640px){body>header.r31c-county-hero{background-position:center 65%!important}body>header.r31c-county-hero .hero-content{padding:30px 21px 52px!important;min-height:0!important}body>header.r31c-county-hero .hero-panel{padding:22px!important;border-radius:16px!important}body>header.r31c-county-hero h1{font-size:clamp(30px,8.5vw,43px)!important}body>main .welcome-bar{margin-top:-20px!important}}

@media(max-width:640px){body>header.r31c-county-hero .hero-panel{display:none!important}body>header.r31c-county-hero .pills span{padding:8px 10px!important;font-size:11px!important}}
