/* multiple-locations.css */

.locations-section {
    max-width: 960px;
    margin: 0 auto;
    padding: 64px 48px 80px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.location-card {
    background: var(--banner-background);
    border: 3px solid var(--orange);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.location-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--blue);
}

.location-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    filter: grayscale(10%);
    transition: filter var(--transition);
}

.location-card:hover .location-card-img {
    filter: grayscale(0%);
}

.location-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.location-card-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--blue-dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--orange);
    letter-spacing: 0.03em;
}

.location-card-address {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.6;
}

.location-card-description {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.8;
}

.location-card-description b {
    color: var(--blue-dark);
    font-weight: 600;
}

.location-card-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.location-card-contact a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition);
}

.location-card-contact a:first-child {
    font-weight: 600;
    color: var(--blue);
}

.location-card-map {
    width: 100%;
    height: 200px;
    border: 0;
    display: block;
    filter: grayscale(20%);
    transition: filter var(--transition);
}

.location-card:hover .location-card-map {
    filter: none;
}

/* ── Single location — fullscreen layout ── */
.location-card:only-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    flex-direction: unset;
}

.location-card:only-child .location-card-img {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 300px;
    max-height: 400px;
    object-fit: cover;
}

.location-card:only-child .location-card-body {
    grid-column: 2;
    grid-row: 1;
}

.location-card:only-child .location-card-map {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 320px;
    width: 100%;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .locations-section {
        grid-template-columns: 1fr;
        padding: 40px 20px 60px;
    }

    /* Single location stacks vertically on mobile */
    .location-card:only-child {
        display: flex;
        flex-direction: column;
    }

    .location-card:only-child .location-card-img {
        height: 220px;
        max-height: unset;
        min-height: unset;
    }

    .location-card:only-child .location-card-map {
        height: 240px;
    }
}