

/* =========================================================
   COUNTY PAGE
   ========================================================= */

.county-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 16px 70px;
    color: #0f172a;
}


/* =========================================================
   HERO
   ========================================================= */

.county-hero {
    text-align: center;
    padding: 35px 15px 30px;
}

.county-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.county-hero h1 span {
    color: #2563eb;
}

.county-hero p {
    max-width: 800px;
    margin: 0 auto;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.8;
}


/* =========================================================
   INFO STRIP
   ========================================================= */

.county-info-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 25px auto 35px;
    max-width: 900px;
}

.county-info-box {
    padding: 18px;
    border-radius: 16px;
    text-align: center;
    background: linear-gradient(
        135deg,
        #eff6ff,
        #ffffff
    );
    border: 1px solid #dbeafe;
}

.county-info-box strong {
    display: block;
    font-size: 1.3rem;
    color: #1d4ed8;
    margin-bottom: 4px;
}

.county-info-box span {
    font-size: .85rem;
    color: #64748b;
}


/* =========================================================
   ADS
   ========================================================= */

.content-ad-wrap {
    width: 100%;
    max-width: 970px;
    min-height: 100px;
    margin: 25px auto 35px;
    text-align: center;
    overflow: hidden;
}


/* =========================================================
   CHECKPOINT GRID
   ========================================================= */

.checkpoint-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}


/* =========================================================
   CHECKPOINT CARD
   ========================================================= */

.checkpoint-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow:
        0 8px 25px rgba(15, 23, 42, .07);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.checkpoint-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 14px 32px rgba(15, 23, 42, .12);
}


/* Colored top line */

.checkpoint-card::before {
    content: "";
    display: block;
    height: 5px;
    background: linear-gradient(
        90deg,
        #2563eb,
        #06b6d4,
        #22c55e
    );
}


/* Card content */

.checkpoint-card-inner {
    padding: 22px;
}


/* City */

.checkpoint-city {
    margin: 0 0 6px;
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 800;
}

.checkpoint-city a {
    color: #0f172a;
    text-decoration: none;
}

.checkpoint-city a:hover {
    color: #2563eb;
}


/* County */

.checkpoint-county {
    margin-bottom: 18px;
    color: #64748b;
    font-size: .88rem;
}


/* Details */

.checkpoint-detail {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 13px 0;
    color: #334155;
    font-size: .94rem;
    line-height: 1.55;
}

.checkpoint-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    font-size: .95rem;
}

.checkpoint-detail strong {
    display: block;
    color: #0f172a;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 2px;
}


/* Source */

.checkpoint-source {
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid #e2e8f0;
}

.checkpoint-source a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #2563eb;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.checkpoint-source a:hover {
    text-decoration: underline;
}


/* =========================================================
   RESPONSIBLE DRIVING BOX
   ========================================================= */

.responsible-driving {
    margin: 45px auto 0;
    max-width: 900px;
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        #f0fdf4,
        #ecfeff
    );
    border: 1px solid #bbf7d0;
}

.responsible-driving h2 {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.responsible-driving p {
    margin: 0;
    color: #334155;
    line-height: 1.75;
}


/* =========================================================
   FAQ
   ========================================================= */

.county-faq {
    max-width: 900px;
    margin: 60px auto 0;
}

.county-faq h2 {
    margin: 0 0 10px;
    font-size: 1.6rem;
    line-height: 1.3;
}

.county-faq-intro {
    margin: 0 0 22px;
    color: #64748b;
    line-height: 1.7;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
    box-shadow:
        0 3px 12px rgba(15, 23, 42, .04);
}

.faq-item summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 19px 52px 19px 20px;
    color: #0f172a;
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.5;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #2563eb;
    font-size: 1.35rem;
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 20px 20px;
    color: #475569;
    font-size: .94rem;
    line-height: 1.8;
}

.faq-answer p {
    margin: 0;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 45px 0 10px;
}

.pagination a,
.pagination .current {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
}

.pagination a {
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #dbeafe;
}

.pagination a:hover {
    background: #dbeafe;
}

.pagination .current {
    color: #ffffff;
    background: #2563eb;
}


/* =========================================================
   MOBILE ADS
   Ads are intentionally hidden on desktop.
   They appear after every 3 cards on mobile.
   ========================================================= */

.mobile-card-ad {
    display: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .county-page {
        padding: 10px 12px 50px;
    }

    .county-hero {
        padding: 28px 8px 25px;
    }

    .county-hero h1 {
        font-size: 2rem;
    }

    .county-hero p {
        font-size: .97rem;
        line-height: 1.7;
    }

    .county-info-strip {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .checkpoint-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .checkpoint-card-inner {
        padding: 19px;
    }

    /*
     * Mobile ad after every 3 cards.
     */

    .mobile-card-ad {
        display: block;
        width: 100%;
        min-height: 280px;
        margin: 4px 0 8px;
        overflow: hidden;
        text-align: center;
    }

    .content-ad-wrap {
        min-height: 100px;
        margin: 20px auto 25px;
    }

    .responsible-driving {
        padding: 20px;
        margin-top: 35px;
    }

    .county-faq {
        margin-top: 45px;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .county-hero h1 {
        font-size: 1.75rem;
    }

    .checkpoint-city {
        font-size: 1.2rem;
    }

    .checkpoint-detail {
        font-size: .9rem;
    }

    .pagination a,
    .pagination .current {
        min-width: 38px;
        height: 38px;
        padding: 0 9px;
    }

}

/* County archive refinements — color system mirrors global frontend. */
.county-page{padding:0 0 26px;max-width:none;color:#173247}.county-hero{position:relative;text-align:left;background:linear-gradient(120deg,#163a59,#205f88);border-radius:19px;padding:clamp(24px,4vw,43px);overflow:hidden;margin-bottom:18px}.county-hero:after{content:"";position:absolute;width:230px;height:230px;border-radius:50%;right:-95px;top:-105px;border:33px solid rgba(255,255,255,.055);pointer-events:none}.location-eyebrow{display:block;letter-spacing:.13em;text-transform:uppercase;font-weight:850;font-size:.72rem;color:#f2c758;margin-bottom:10px}.county-hero h1,.site-main .content .county-hero h1{color:white;font-size:clamp(1.85rem,3.1vw,3.1rem);max-width:770px;text-align:left;line-height:1.17;margin:0 0 13px}.county-hero .page-marker{color:#f6cd70;font-size:.58em;white-space:nowrap}.county-hero p{color:#d6e7f4;text-align:left;margin:0;max-width:730px;font-size:1rem;line-height:1.75}.county-info-strip{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));margin:18px 0 28px;gap:12px}.county-info-box{border:1px solid #e3ebf5;background:linear-gradient(145deg,#f5f9fd,#fff);border-radius:13px;padding:18px 12px;text-align:left}.county-info-box strong{font-size:1.22rem;color:#153e5e;margin-bottom:3px}.county-info-box span{font-weight:650;color:#728396;font-size:.78rem}.checkpoint-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.checkpoint-card{box-shadow:0 7px 23px rgba(15,46,73,.055);border-radius:15px;border:1px solid #e0e8f2}.checkpoint-card::before{height:4px;background:linear-gradient(90deg,#eabf58 0%,#b8cfa5 32%,#1d709a 100%)}.checkpoint-card-inner{padding:22px}.checkpoint-city{font-size:1.25rem}.checkpoint-city a{color:#173d5c}.checkpoint-county{font-size:.83rem}.checkpoint-icon{background:#eff6fa;color:#17618e}.checkpoint-detail{line-height:1.55}.checkpoint-detail strong{color:#335a71}.checkpoint-source{border-color:#e3ebf2}.checkpoint-source a{color:#1c638e}.checkpoint-card:hover{box-shadow:0 15px 33px rgba(15,46,73,.1)}.content-ad-wrap{max-width:100%;margin:17px auto 25px}.pagination{margin:22px 0 30px}.county-page .location-editorial{max-width:none}
@media(max-width:840px){.checkpoint-grid{grid-template-columns:1fr}.county-hero{padding:26px 20px}.county-info-strip{margin:15px 0 22px}.county-info-box{padding:14px}.county-info-box strong{font-size:1.06rem}}@media(max-width:560px){.county-page{padding:0 0 20px}.county-hero{border-radius:14px;padding:24px 18px}.county-info-strip{grid-template-columns:1fr;gap:8px}.county-info-box{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 15px}.county-info-box strong{margin:0}.checkpoint-card-inner{padding:19px}.county-hero h1{font-size:1.83rem}.county-hero p{font-size:.94rem}}
