/* ================================
   MOBILE COUNTY PAGE
================================ */

@media (max-width: 768px) {

    /* HERO */
    .county-hero {
        height: 45vh;
        min-height: 300px;
        background-position: center center;
    }

    .county-hero .overlay {
        padding: 20px;
        text-align: center;
    }

    .county-hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }


    /* CONTENT */
    .county-content {
        padding: 40px 18px;
    }

    .container {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .text {
        width: 100%;
        max-width: 80ch;
    }

    .text h3 {
        font-size: 1.5rem;
    }

    .text p {
        font-size: 15px;
        line-height: 1.7;
    }


    /* MAP */
    .map {
        width: 100%;
    }

    .map iframe {
        width: 100%;
        height: 280px;
        border-radius: 10px;
    }


    /* OTHER COUNTIES */
    .county-section {
        padding: 45px 15px;
    }

    .county-section h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .county-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        perspective: none;
    }


    /* COUNTY CARDS */
    .county-card,
    .county-card:nth-child(1),
    .county-card:nth-child(2),
    .county-card:nth-child(4),
    .county-card:nth-child(5),
    .county-card.active {
        width: 100%;
        height: 260px;
        transform: none;
        border-radius: 12px;
    }

    .county-card:hover {
        transform: translateY(-5px);
    }

    .county-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .card-info {
        padding: 10px;
    }

    .card-info h3 {
        font-size: 13px;
    }

    .card-info span {
        font-size: 11px;
        padding: 4px 8px;
    }
}


/* SMALL PHONES */
@media (max-width: 480px) {

    .county-hero {
        height: 40vh;
        min-height: 260px;
    }

    .county-hero h1 {
        font-size: 1.7rem;
    }

    .county-content {
        padding: 35px 15px;
    }

    .text h3 {
        font-size: 1.4rem;
    }

    .text p {
        font-size: 14px;
    }

    .map iframe {
        height: 240px;
    }

    .county-container {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .county-card,
    .county-card:nth-child(1),
    .county-card:nth-child(2),
    .county-card:nth-child(4),
    .county-card:nth-child(5),
    .county-card.active {
        height: 230px;
    }
}