.cpf-counties {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    margin: 2rem 0;
    color: var(--cpf-navy, #142b45);
}
.cpf-counties [hidden] { display: none !important; }
.cpf-counties__map-panel {
    padding: clamp(1.5rem, 4vw, 3rem);
    background: var(--cpf-cream, #f7f5ef);
    border: 1px solid var(--cpf-border, #deded7);
    border-radius: .35rem;
}
.cpf-counties__eyebrow {
    margin: 0 0 1rem;
    color: var(--cpf-red, #a62835);
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.cpf-counties .cpf-counties__heading {
    margin: 0 0 1rem;
    font-family: var(--cpf-serif, Georgia, serif);
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    line-height: 1.12;
}
.cpf-counties__map-panel > p:not([class]) { max-width: 36rem; }
.cpf-counties__skip-map { display: none; }
.cpf-counties.is-interactive .cpf-counties__skip-map {
    display: inline-block;
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    white-space: nowrap;
}
.cpf-counties.is-interactive .cpf-counties__skip-map:focus {
    position: static;
    width: auto;
    height: auto;
    padding: .75rem 1rem;
    margin: 0 0 1rem;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
    background: #fff;
    color: var(--cpf-navy, #142b45);
    outline: 3px solid var(--cpf-navy, #142b45);
    outline-offset: 3px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.cpf-counties__map { margin: 1rem auto 0; max-width: 34rem; }
.cpf-counties__svg { display: block; width: 100%; height: auto; overflow: visible; }
.cpf-counties__svg path {
    fill: #61778b;
    stroke: var(--cpf-cream, #f7f5ef);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
    transition: fill .15s ease;
}
.cpf-counties.is-interactive .cpf-counties__svg path { cursor: pointer; }
.cpf-counties__svg path:hover { fill: var(--cpf-gold, #b89559); stroke: var(--cpf-navy, #142b45); }
.cpf-counties__svg path:focus {
    outline: none;
    stroke: var(--cpf-navy, #142b45);
    stroke-width: 2.5;
}
.cpf-counties__svg path.is-selected { fill: var(--cpf-red, #a62835); }
.cpf-counties__svg path:focus { fill: var(--cpf-gold, #b89559); }
.cpf-counties .cpf-counties__map-hint {
    margin: 1rem 0 .25rem;
    font-size: .88rem;
    color: #4c5d65;
}
.cpf-counties .cpf-counties__map-selection {
    min-height: 1.5em;
    margin: 0;
    font-size: .9rem;
    font-weight: 700;
}
.cpf-counties__controls label {
    display: block;
    margin-bottom: .5rem;
    font-size: 1rem;
    font-weight: 700;
}
.cpf-counties__controls input,
.cpf-counties__controls select {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 3.1rem;
    padding: .7rem .9rem;
    border: 1px solid #a9b3b7;
    border-radius: .2rem;
    background: #fff;
    color: var(--cpf-navy, #142b45);
    font: inherit;
    font-size: 1rem;
}
.cpf-counties__controls .cpf-counties__select-label {
    margin: 1rem 0 .45rem;
    font-size: .85rem;
    font-weight: 500;
    color: #4c5d65;
}
.cpf-counties__controls input:focus,
.cpf-counties__controls select:focus,
.cpf-counties summary:focus-visible,
.cpf-counties a:focus-visible {
    outline: 3px solid var(--cpf-gold, #b89559);
    outline-offset: 3px;
}
.cpf-counties .cpf-counties__result-count {
    margin: 1.25rem 0 .65rem;
    color: #4c5d65;
    font-size: .83rem;
}
.cpf-counties__list { border-top: 1px solid var(--cpf-border, #deded7); }
.cpf-counties.is-interactive .cpf-counties__list {
    max-height: 32rem;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-gutter: stable;
}
.cpf-counties .cpf-counties__county { margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--cpf-border, #deded7); }
.cpf-counties .cpf-counties__county[open] summary { margin-bottom: 0; }
.cpf-counties__county summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: 3.35rem;
    padding: .8rem .75rem;
    cursor: pointer;
    list-style: none;
    font-size: .96rem;
    font-weight: 650;
}
.cpf-counties__county summary::-webkit-details-marker { display: none; }
.cpf-counties__county summary:hover,
.cpf-counties__county[open] summary { background: var(--cpf-cream, #f7f5ef); }
.cpf-counties__county[open] summary { color: var(--cpf-red, #a62835); }
.cpf-counties__expand { color: var(--cpf-red, #a62835); font-size: 1.3rem; font-weight: 400; }
.cpf-counties__county[open] .cpf-counties__expand { transform: rotate(45deg); }
.cpf-counties__county-suffix { font-weight: 400; }
.cpf-counties__county-content { padding: 1rem .75rem 1.3rem; font-size: .92rem; }
.cpf-counties__county-content > p { margin: 0 0 .7rem; }
.cpf-counties .cpf-counties__contact-label { font-size: .75rem; color: #4c5d65; margin: 0 0 .35rem; }
.cpf-counties .cpf-counties__contact-name { font-size: 1.15rem; font-weight: 700; margin: 0 0 .35rem; }
.cpf-counties__email { overflow-wrap: anywhere; }
.cpf-counties__email a { color: var(--cpf-navy, #142b45); text-decoration: underline; text-underline-offset: .2em; }
.cpf-counties__actions { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; margin-top: 1rem; }
.cpf-counties__contact-link {
    display: inline-block;
    padding: .65rem .9rem;
    border-radius: .15rem;
    background: var(--cpf-red, #a62835);
    color: #fff !important;
    font-weight: 650;
    text-decoration: none;
}
.cpf-counties__contact-link:hover { background: #851d29; }
.cpf-counties__site-link { color: var(--cpf-navy, #142b45); text-decoration: underline; text-underline-offset: .2em; font-weight: 650; }
.cpf-counties__no-results { padding: 1.1rem; background: var(--cpf-cream, #f7f5ef); }
@media (max-width: 760px) {
    .cpf-counties { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .cpf-counties__map { max-width: 24rem; }
    .cpf-counties__map-panel { padding: 1.4rem; }
    .cpf-counties .cpf-counties__heading { font-size: 2rem; }
    .cpf-counties.is-interactive .cpf-counties__list { max-height: 28rem; }
}
@media (prefers-reduced-motion: reduce) {
    .cpf-counties__svg path { transition: none; }
}
