* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}


:root {
    --maxWidth: 1920px;
    --cardWidth: 280px;
}

.selectableCountyColor {
    fill: rgb(149, 203, 137);
}
.activeCountyColor {
    fill: rgb(231, 172, 47);
}

.svgContainer {
    width: 100%;
    max-width: var(--maxWidth);
    margin: 0 auto;
}


.svgCode {
    border: 0;
}


/* County Information Styles */

.countyInformation {
    width: 100%;
    height: auto;
    max-width: var(--maxWidth);
    margin: 0 auto;
    padding: 10px;
    background-color: #f4f7fa;
}

.county_information {
display: block;
}

.card_holder {
    display: flex;
    width: 100%;
    height: auto;
    max-width: var(--maxWidth);
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px;
    justify-content: center;
}

.card {
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    overflow: hidden;
    max-width: var(--cardWidth);
    height: auto;
    flex: 0 1 var(--cardWidth);
    cursor: pointer;
    border: 1px solid #e0e4ea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.card:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    height: auto;
    max-width: var(--cardWidth);
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.card-content {
    padding: 16px;
    background-color: #ffffff;
    border-top: 2px solid #e0e4ea;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1px;
    color: #1a1a2e;
    font-weight: 600;
}

.card-content div {
    font-size: .875rem;
    width: 100%;
    color: #505b6d;

}


.card-content div:last-child {
    margin-bottom: 0;
}

.card .specialty_area, .card .title {
    font-size: .8rem !important;
    line-height: 1.2rem !important;
    font-style: italic;

}
.card .address {
    font-size: .8rem !important;
    line-height: 1.2rem !important;
    margin-top: 10px;
}
.card .contact-info {
    margin-top: 15px;
    display: flex;
    gap: 10px;
		margin-bottom: 6px;
}

.card .contact-info div {
    text-align: center;
    flex: 0 1 50%;
}

.card .county-name {
	text-align: center;
}

/* Media query */
@media (max-width: 1024px) {
    .countyInformation {
        gap: 10px;
        padding: 5px;
        text-align: center;
    }

    .card {
        width: 100%;
        max-width: 100%;
        flex: 0 1 100%;
    }

    .card img {
        max-height: 300px;
    }

    .card-content {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 1px !important;
    }

    .card-content div {
        font-size: 1rem !important;
    }
    .card .specialty_area {
        line-height: .7rem !important;
    }
}

