.locations-regions {
    margin-top: 72px;
    font-family: "Barlow", sans-serif;
}

.locations-regions__title {
    margin: 0;
    color: #111;
    font-size: clamp(1.75rem, 2.2vw, 2.25rem);
    font-weight: 800;
    line-height: 1.12;
}

.locations-regions .hero-regions-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 12px 0 20px;
}

.locations-regions .hero-regions-summary-copy {
    min-width: 0;
}

.locations-regions .hero-regions-summary-copy p {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.6;
}

.locations-regions .hero-regions-summary-controls {
    display: flex;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.locations-regions [x-cloak] {
    display: none !important;
}

.locations-regions .hero-regions-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 10px;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.locations-regions .hero-regions-track::-webkit-scrollbar {
    display: none;
}

.locations-regions .hero-regions-card {
    flex: 0 0 min(320px, 82%);
    min-width: 0;
    scroll-snap-align: start;
}

.locations-regions .hero-regions-card a {
    display: block;
    color: #111;
    text-decoration: none;
}

.locations-regions__image-wrap {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    background: #f5f5f5;
    box-shadow: 0 1px 3px rgb(0 0 0 / 12%);
}

.locations-regions__image-wrap picture,
.locations-regions .hero-regions-image {
    display: block;
    width: 100%;
    height: 100%;
}

.locations-regions .hero-regions-image {
    object-fit: cover;
    transition: transform 0.35s ease-in-out, opacity 0.35s ease-in-out;
}

.locations-regions .hero-regions-card h3 {
    margin: 20px 0 0;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.25;
}

.locations-regions .hero-regions-card a:hover .hero-regions-image {
    transform: scale(1.1);
    opacity: 0.8;
}

.locations-regions .hero-regions-card a:hover h3 {
    color: #d1021c;
}

.locations-regions :is(a, button, [tabindex]):focus-visible {
    outline: 2px solid #d1021c;
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .locations-regions .hero-regions-summary {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 24px;
    }

    .locations-regions .hero-regions-track {
        gap: 16px;
    }

    .locations-regions .hero-regions-card {
        flex-basis: calc((100% - 16px) / 2);
    }
}

@media (min-width: 1024px) {
    .locations-regions .hero-regions-card {
        flex-basis: calc((100% - 32px) / 3);
    }
}

@media (max-width: 500px) {
    .locations-regions {
        margin-top: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .locations-regions .hero-regions-track {
        scroll-behavior: auto;
    }

    .locations-regions .hero-regions-image {
        transition: none;
    }
}
