/* County hero override — fits long titles, removes overflow */
.hero-sec.hero-county {
    height: auto;
    min-height: 70vh;
    padding: 110px 16px 60px;
    background-attachment: scroll;
}

.hero-sec.hero-county .overlay-sec {
    max-width: 1100px;
    width: 100%;
    padding: 36px 40px;
}

.hero-sec.hero-county .overlay-sec h1 {
    font-size: 2.1rem;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
    overflow-wrap: anywhere;
}

.hero-sec.hero-county .overlay-sec p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.hero-sec.hero-county .overlay-sec p.cheapest-best-claim {
    font-size: 0.95rem;
    color: #d4af37;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 18px;
}

@media (min-width: 992px) {
    .hero-sec.hero-county .overlay-sec h1 { font-size: 2.5rem; }
    .hero-sec.hero-county .overlay-sec p   { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .hero-sec.hero-county {
        min-height: auto;
        padding: 90px 12px 40px;
    }
    .hero-sec.hero-county .overlay-sec {
        padding: 24px 18px;
        max-width: 96%;
    }
    .hero-sec.hero-county .overlay-sec h1 {
        font-size: 1.45rem;
        line-height: 1.3;
    }
    .hero-sec.hero-county .overlay-sec p {
        font-size: 0.95rem;
    }
    .hero-sec.hero-county .overlay-sec p.cheapest-best-claim {
        font-size: 0.8rem;
    }
}

/* Section spacing tighten for readability across county pages */
.county-page section { word-wrap: break-word; }
.county-page .eeat-credentials-section { padding: 32px 0 !important; }
.county-page .eeat-credentials-section h2 { font-size: 1.1rem !important; }

/* Cities chips — professional pill style */
.county-page .security-cities-sec {
    padding: 60px 20px;
    background: #f4f6fa;
}
.county-page .security-cities-sec h2 {
    font-size: 1.9rem !important;
    font-weight: 700 !important;
    color: #1a3c6e !important;
    text-align: center;
    margin-bottom: 36px !important;
    letter-spacing: 0.5px;
    background: none !important;
    -webkit-text-fill-color: #1a3c6e !important;
}
.county-page .cities-container-sec {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 1080px;
    margin: 0 auto;
}
.county-page .city-sec {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    min-width: auto !important;
    font-size: inherit !important;
    transform: none !important;
}
.county-page .city-sec::before {
    display: none !important;
}
.county-page .city-sec:hover {
    transform: none !important;
    box-shadow: none !important;
}
.county-page .city-sec a {
    display: inline-flex;
    align-items: center;
    padding: 11px 22px;
    background: #ffffff;
    color: #1a3c6e;
    border: 1.5px solid #c8d6e8;
    border-radius: 999px;
    font-size: 0.975rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(26,60,110,0.07);
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.county-page .city-sec a:hover {
    background: #1a3c6e;
    color: #ffffff;
    border-color: #1a3c6e;
    box-shadow: 0 4px 14px rgba(26,60,110,0.2);
}
@media (max-width: 576px) {
    .county-page .cities-container-sec { gap: 9px; }
    .county-page .city-sec a { padding: 9px 17px; font-size: 0.9rem; }
}

/* Risk profile / planning notes spacing */
.county-page .row .col-md-6 { display: flex; }
.county-page .row .col-md-6 > div { width: 100%; }
