.county-search input[type=search],.top-city-panel input[type=search]{border:1px solid #dfe8df!important;background:#f7faf7!important;box-shadow:none!important}
.county-search input[type=search]:focus,.top-city-panel input[type=search]:focus{outline:2px solid #00681455;outline-offset:2px}
.ms-search-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:44px;border:0;background:transparent;color:var(--green-darker,#042a0c);cursor:pointer;border-radius:8px}
.ms-search-toggle:hover{background:#edf3ec}.ms-search-toggle:focus-visible{outline:2px solid #006814;outline-offset:2px}
.ms-search-overlay{position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;visibility:hidden;pointer-events:none;opacity:0;transition:opacity .25s ease,visibility .25s}
.ms-search-overlay.is-open{opacity:1;visibility:visible;pointer-events:auto}
.ms-search-backdrop{position:absolute;inset:0;background:#042a0c20;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.ms-search-panel{position:relative;background:#f7faf6;color:#132219;padding:36px max(24px,calc((100vw - 1100px)/2)) 48px;max-height:calc(100dvh - 24px);overflow:auto;transform:translateY(-18px);transition:transform .3s ease;box-shadow:0 8px 20px #042a0c08}
.is-open .ms-search-panel{transform:translateY(0)}
.ms-search-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;font-weight:700;color:#006814}
.ms-search-panel button{border:0;background:transparent;color:#526057;cursor:pointer;border-radius:8px;min-width:44px;min-height:44px}
.ms-search-panel button:hover{background:#e9f0e8}.ms-search-panel button:focus-visible,.ms-search-panel a:focus-visible{outline:2px solid #006814;outline-offset:2px}
.ms-search-row{display:flex;align-items:center;gap:12px;margin-bottom:28px;color:#526057}
.ms-search-row input[type=search]{font-family:var(--font-display,inherit);font-size:clamp(23px,3vw,32px);font-weight:600;background:transparent;border:0;border-radius:0;box-shadow:none;color:#132219;padding:10px 0;width:100%;min-width:0;outline:none}
.ms-search-row input::placeholder{color:#6b776d;opacity:1}.ms-search-row:focus-within{box-shadow:0 1px #00681440}
.ms-search-row input::-webkit-search-cancel-button{display:none}
.ms-search-label{font-size:14px;color:#657368;margin:0 0 12px}.ms-search-results{list-style:none;padding:0;margin:0}
.ms-search-results li{margin:0}.ms-search-results a{display:flex;gap:12px;align-items:baseline;padding:9px 12px;margin-left:-12px;border-radius:6px;text-decoration:none!important;color:#173b20;font-weight:600;font-size:16px}
.ms-search-results a:hover{background:#eaf1e8;color:#042a0c}.ms-search-results a span:first-child{color:#7b8d7c}
.ms-search-more{margin-top:18px}.ms-search-overlay [hidden]{display:none!important}
@media(max-width:760px){.ms-search-panel{min-height:100dvh;max-height:100dvh;padding:18px 24px 40px}.ms-search-top{margin-bottom:24px}.ms-search-results a{padding-block:13px}.ms-search-toggle{width:36px}}
@media(prefers-reduced-motion:reduce){.ms-search-overlay,.ms-search-panel{transition:none;transform:none}}

/* Search refinements shared by desktop and mobile. */
.ms-search-top{justify-content:flex-end;margin-bottom:8px}
.ms-search-panel .ms-search-close{display:flex;align-items:center;justify-content:center;font-size:23px;color:#173b20;background:#e8eee6;border:1px solid #d7e2d4;border-radius:50%;flex-shrink:0}
.ms-search-panel .ms-search-close:hover{background:#dce7d9}
.ms-search-row input[type=search]{font-size:clamp(18px,2.4vw,30px)}
.county-panel .county-search{display:flex!important;align-items:center!important;gap:12px!important;position:relative!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:8px 0!important}
.county-panel .county-search>strong{display:none!important}
.county-panel .county-search .county-search-cue{display:flex!important;position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:none;font-size:0!important;flex:0 0 22px;color:#657368}
.county-panel .county-search-cue svg{width:22px;height:22px}
.county-panel .county-search input[type=search]{display:block!important;opacity:1!important;visibility:visible!important;position:static!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:none!important;padding:10px 0!important;width:100%!important;min-width:0;font-family:var(--font-display,inherit);font-size:clamp(19px,2vw,28px)!important;font-weight:600;color:#173b20}
.county-panel .county-search input::placeholder{color:#6b776d!important;opacity:1!important}
.county-panel .county-search:focus-within{box-shadow:0 1px #00681455!important}

.ms-search-panel .ms-search-close{gap:10px;padding:8px 16px;border-radius:999px;font:600 15px var(--font-body,inherit);min-height:44px}.ms-search-close span{font-size:24px;font-weight:400;line-height:1}

/* Keep area search in one row, matching the site-wide search. */
.county-panel{background:#f7faf6!important}
.county-panel .county-heading{border-bottom:0!important}
.county-panel .county-search{flex-direction:row!important;flex-wrap:nowrap!important}
.county-panel .county-search .county-search-cue{padding:0!important;margin:0!important;align-self:center!important}
.county-panel .county-search input[type=search]{flex:1 1 auto!important;height:auto!important;font-size:clamp(18px,2.4vw,30px)!important}
.ms-search-panel{max-height:100%;padding-top:32px}
@media(max-width:760px){.ms-search-panel{min-height:100%;max-height:100%;padding-top:24px}}

.county-panel .county-search input[type=search]::-webkit-search-cancel-button{display:none;-webkit-appearance:none}
.county-panel .county-search-clear{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:44px;border:0;border-radius:8px;background:transparent;color:var(--green-darker,#042a0c);cursor:pointer;padding:0}
.county-panel .county-search-clear:hover{background:#edf3ec}
.county-panel .county-search-clear:focus-visible{outline:2px solid #006814;outline-offset:2px}
.county-panel .county-search-clear[hidden]{display:none!important}

/* Seamless full-width Service Areas dropdown. */
.nav-desktop .county-panel{position:fixed!important;left:0!important;right:0!important;top:var(--county-top,130px)!important;transform:none!important;width:100%!important;max-width:none!important;max-height:calc(100dvh - var(--county-top,130px))!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:36px max(24px,calc((100vw - 1100px)/2)) 48px!important;z-index:1001}
.county-panel .county-heading{border:0!important}.county-panel .county-search{min-width:0;flex:1}
.county-backdrop{position:fixed;inset:var(--county-top,130px) 0 0;z-index:90;background:#042a0c20;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s}
.county-menu-active .county-backdrop{opacity:1;visibility:visible}
.county-menu-active #siteHeader .navbar{background:#f7faf6;box-shadow:none}
.nav-desktop .county-menu[open] .county-panel{animation:county-reveal .28s ease-out}
.nav-desktop .county-menu.ms-switched-open[open] .county-panel{animation:none}
.county-menu-switching .nav-desktop .county-menu[open] .county-panel{animation:none!important}.county-menu-switching .nav-desktop .county-menu[open] .county-panel>*{animation:county-content-crossfade .24s ease both}@keyframes county-content-crossfade{from{opacity:.35}to{opacity:1}}
@keyframes county-reveal{from{opacity:0;clip-path:inset(0 0 20% 0)}to{opacity:1;clip-path:inset(0)}}
.mobile-nav .county-panel{border:0!important;border-radius:0!important;background:#f7faf6!important}
@media(prefers-reduced-motion:reduce){.nav-desktop .county-menu[open] .county-panel{animation:none}.county-backdrop{transition:none}}

/* Shared seamless navigation surface and retracting search transition. */
.county-menu-active #siteHeader,.ms-search-active #siteHeader{border-bottom:0!important;box-shadow:none!important}
.county-menu-active #siteHeader .navbar,.ms-search-active #siteHeader .navbar{border:0!important;background:#f7faf6!important;box-shadow:none!important}
.nav-desktop .county-menu summary::after,.nav-desktop .county-menu summary::before{display:none!important}
.nav-desktop{align-self:stretch}.nav-desktop>.county-menu,.nav-desktop>.county-menu>summary{height:100%}.nav-desktop>.county-menu>summary{padding-inline:.08rem}
.county-main-link{color:inherit;text-decoration:none!important;font:inherit}
.nav-desktop .county-panel{border:0!important;outline:0!important}
.ms-search-panel{clip-path:inset(0 0 100% 0);transform:none!important;transition:clip-path .26s ease-in-out}
.is-open .ms-search-panel{clip-path:inset(0)}
.ms-search-overlay{transition:opacity .26s ease,visibility .26s}
@media(prefers-reduced-motion:reduce){.ms-search-panel,.ms-search-overlay{transition:none}}

/* Align the area-directory action with the county columns. */
.nav-desktop .county-panel .county-heading{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:center}
.nav-desktop .county-heading .county-search{grid-column:1 / 4}
.county-panel .county-heading a.county-view-all{justify-self:start;justify-content:flex-start;background:transparent;border:0;color:#111;text-decoration:none;padding:12px 18px;margin-left:-18px;transition:background-color .18s ease,color .18s ease}
.county-panel .county-heading a.county-view-all:hover,.county-panel .county-heading a.county-view-all:focus-visible{background:#006814;color:#fff}
@media(prefers-reduced-motion:reduce){.county-panel .county-heading a.county-view-all{transition:none}}

/* Mobile search owns the full screen; the menu control becomes its close X. */
.ms-search-mobile-bar{display:none}
@media(max-width:1199px){
 /* Sit above the test banner so it cannot cover the close control. */
 .ms-search-overlay{top:0!important;height:100dvh;background:#f7faf6;z-index:100000}
 .ms-search-panel{box-sizing:border-box;width:100%;height:100%;min-height:100%;max-height:100%;padding:0 24px max(40px,env(safe-area-inset-bottom));overscroll-behavior:contain;box-shadow:none}
 .ms-search-mobile-bar{display:flex;justify-content:flex-end;align-items:center;min-height:64px;padding-top:env(safe-area-inset-top);margin-bottom:24px;position:sticky;top:0;background:#f7faf6;z-index:2}
 .ms-search-panel .ms-search-mobile-exit{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:0;background:transparent;color:#042a0c;border-radius:8px;animation:ms-search-exit-in .26s ease}
 .ms-search-panel .ms-search-mobile-exit:hover{background:#edf3ec}
 .ms-search-active #siteHeader{visibility:hidden}
 .ms-search-row{gap:10px;margin-bottom:32px}
 .ms-search-row>svg{flex-shrink:0}
 .ms-search-row input[type=search]{font-size:clamp(16px,4.5vw,28px)}
 .ms-search-results a{padding-block:13px}
}
@keyframes ms-search-exit-in{from{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.ms-search-panel .ms-search-mobile-exit{animation:none}}

/* Full-screen mobile submenu, with persistent back and close controls. */
.ms-mobile-submenu[hidden]{display:none!important}
.ms-mobile-submenu{position:fixed;inset:0;z-index:100001;height:100dvh;overflow-y:auto;overscroll-behavior:contain;background:#f7faf6;color:#173b20;padding:0 24px max(40px,env(safe-area-inset-bottom));box-sizing:border-box}
.ms-mobile-submenu>.county-menu{display:block;position:static;width:100%;border:0}
.ms-mobile-submenu>.county-menu>summary{display:none}
.ms-mobile-submenu-bar{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;align-items:center;min-height:64px;padding-top:env(safe-area-inset-top);margin-bottom:24px;background:#f7faf6}
.ms-mobile-submenu-bar button{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border:0;border-radius:8px;background:transparent;color:#042a0c;cursor:pointer}
.ms-mobile-submenu-bar button:hover{background:#edf3ec}
.ms-mobile-submenu-bar button:focus-visible{outline:2px solid #006814;outline-offset:2px}
.ms-mobile-submenu .county-panel{display:block!important;position:static!important;transform:none!important;opacity:1!important;visibility:visible!important;width:100%!important;max-width:none!important;max-height:none!important;padding:0!important;border:0!important;box-shadow:none!important;animation:none!important}
.ms-mobile-submenu .county-heading{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-bottom:24px}
.ms-mobile-submenu .county-grid{display:grid;grid-template-columns:1fr;gap:28px}
.ms-mobile-submenu .county-grid h3{font-size:16px;color:#657368;margin-bottom:10px}
.ms-mobile-submenu .county-grid a{display:block;font-size:22px;line-height:1.4;font-weight:600;padding:9px 0;margin-left:0;color:#173b20}
.ms-mobile-submenu .county-search .county-search-clear{display:none!important}
.ms-mobile-submenu .county-grid [hidden]{display:none!important}

.ms-mobile-main-bar{display:none}
@media(max-width:1199px){
 #mobileMenu:not([hidden]){display:block!important;position:fixed!important;inset:0!important;z-index:100000;width:100%;height:100dvh;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;padding:0 24px max(40px,env(safe-area-inset-bottom))!important;background:#f7faf6!important;border:0!important;box-shadow:none!important;animation:ms-main-menu-in .3s ease-out}
 #mobileMenu .ms-mobile-main-bar{display:flex;position:sticky;top:0;z-index:2;align-items:center;justify-content:flex-end;min-height:64px;padding-top:env(safe-area-inset-top);margin-bottom:24px;background:#f7faf6}
 .ms-mobile-main-bar button{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;background:transparent;border:0;border-radius:8px;color:#042a0c;cursor:pointer}
 .ms-mobile-main-bar button:focus-visible{outline:2px solid #006814;outline-offset:2px}
 #mobileMenu .mobile-nav{display:flex;flex-direction:column;gap:0;padding:0!important;border:0!important}
 #mobileMenu .mobile-link{display:block;padding:12px 0!important;margin:0;border:0!important;font-size:28px;line-height:1.25;font-weight:600;color:#173b20;text-decoration:none}
 #mobileMenu .county-menu,#mobileMenu .mobile-cta{border:0!important;box-shadow:none!important}
 #mobileMenu .mobile-cta{padding:28px 0 0!important}
 #mobileMenu summary{list-style:none!important}
 #mobileMenu summary>span,#mobileMenu summary::before,#mobileMenu summary::after,#mobileMenu summary::-webkit-details-marker{display:none!important}
 #mobileMenu summary::marker{content:''}
}
@keyframes ms-main-menu-in{from{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#mobileMenu:not([hidden]){animation:none}}

/* Shared menu hierarchy: a clear overview, followed by smaller county groups. */
.county-menu-layout{display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,3fr);gap:48px;align-items:start}
.county-menu-layout .county-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 32px}
.county-menu-layout h3{font-size:14px;font-weight:500;text-transform:none;letter-spacing:0;line-height:1.5;margin:0 0 14px}
.county-menu-layout .county-grid a{font-size:16px;font-weight:550;line-height:1.5;padding:9px 8px}
.county-overview .county-view-all{display:block;font-size:clamp(24px,2.4vw,28px);font-weight:650;letter-spacing:-.03em;line-height:1.3;text-decoration:none;color:#006814;padding:9px 8px;margin-left:-8px;border-radius:7px;background:transparent;border:0}
.county-overview .county-view-all:hover{background:#006814;color:#fff}
.nav-desktop .county-panel .county-heading{display:block;margin-bottom:32px;padding-bottom:0}
.ms-mobile-submenu .county-menu-layout{grid-template-columns:1fr;gap:28px}
.ms-mobile-submenu .county-menu-layout .county-grid{grid-template-columns:1fr;gap:24px}
.ms-mobile-submenu .county-menu-layout h3{font-size:14px;text-transform:none;letter-spacing:0}
.ms-mobile-submenu .county-menu-layout .county-grid a{font-size:20px;padding-block:10px}
.ms-mobile-submenu .county-overview .county-view-all{font-size:28px}
/* Shared touch targets and a direct destination after opening a mobile submenu. */
.ms-search-toggle{width:44px!important;min-width:44px;height:44px}
.ms-mobile-section-link{font-size:20px;font-weight:600;line-height:1.4;text-decoration:none;color:inherit;padding:10px 8px;text-align:center}
@media(max-width:1199px){.ms-mobile-submenu .county-heading,.ms-mobile-submenu .county-search-status{display:none!important}}

/* One measured right edge for the area search, close control and city hover fields. */
@media(min-width:1200px){.nav-desktop>.county-menu:not(.ms-general-menu) .county-heading,.nav-desktop>.county-menu:not(.ms-general-menu) .county-menu-layout,.nav-desktop>.county-menu:not(.ms-general-menu) .county-search-status{max-width:1480px!important}.nav-desktop>.county-menu:not(.ms-general-menu) .county-menu-layout{grid-template-columns:minmax(270px,1.25fr) minmax(0,2.46fr);gap:clamp(20px,2vw,34px)}.nav-desktop>.county-menu:not(.ms-general-menu) .county-menu-layout .county-grid{gap:28px clamp(20px,2vw,34px)}.nav-desktop>.county-menu:not(.ms-general-menu) .county-menu-layout .county-grid a{width:fit-content;max-width:100%;padding-inline:10px;margin-left:-10px;border-radius:7px}.nav-desktop>.county-menu:not(.ms-general-menu) .county-menu-layout .county-grid a:hover,.nav-desktop>.county-menu:not(.ms-general-menu) .county-menu-layout .county-grid a:focus-visible{background:#e8f1e7}}


@media(min-width:1200px){.nav-desktop>.county-menu:not(.ms-general-menu) .county-menu-layout{grid-template-columns:minmax(270px,1.25fr) repeat(4,minmax(150px,.82fr));gap:clamp(20px,2vw,34px)}.nav-desktop>.county-menu:not(.ms-general-menu) .county-overview{grid-column:1}.nav-desktop>.county-menu:not(.ms-general-menu) .county-grid{display:grid;grid-column:2/-1;grid-template-columns:subgrid;gap:28px clamp(20px,2vw,34px)}}
