.map-locations {
    --map-locations-navy: #002b3e;
    --map-locations-orange: #f26522;
    padding: clamp(3rem, 7vw, 6.5rem) 0;
    background: #fff;
}

.map-locations__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(2.5rem, 5vw, 5rem);
}

.map-locations__media {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
}

.map-locations__map-notice {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 2;
    margin: 0;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #002b3e;
    font-size: 0.8rem;
    line-height: 1.4;
    box-shadow: 0 0.25rem 1rem rgba(0, 43, 62, 0.16);
}

.map-locations__map--error {
    display: grid;
    place-items: center;
    padding: 2rem;
    background: #eef1f2;
    color: #536068;
    text-align: center;
}

.map-locations__map {
    display: block;
    width: 100%;
    height: 100%;
    min-height: clamp(25rem, 36vw, 34rem);
    border: 0;
    border-radius: 0.35rem;
}

.map-locations__content {
    align-self: center;
}

.map-locations__placeholder {
    display: grid;
    width: 100%;
    min-height: 21rem;
    place-items: center;
    border: 2px dashed #bdc5c9;
    color: #66747b;
    text-align: center;
}

.map-locations__heading {
    margin: 0 0 1.15rem;
    color: var(--map-locations-navy);
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.05;
}

.map-locations__description {
    max-width: 38rem;
    color: #536068;
}

.map-locations__description > :first-child {
    margin-top: 0;
}

.map-locations__description > :last-child {
    margin-bottom: 0;
}

.map-locations__benefits {
    display: grid;
    gap: 0.65rem;
    margin: 1.6rem 0 0;
    padding: 0;
    color: #4a555b;
    list-style: none;
}

.map-locations__benefits li {
    position: relative;
    padding-left: 1.9rem;
}

.map-locations__benefits li::before {
    content: "";
    position: absolute;
    top: 0.24em;
    left: 0.15rem;
    width: 0.5rem;
    height: 0.9rem;
    border-right: 2px solid var(--map-locations-orange);
    border-bottom: 2px solid var(--map-locations-orange);
    transform: rotate(45deg);
}

.map-locations__search {
    margin-top: 2rem;
}

.map-locations__search-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 40rem;
}

.map-locations__search-input {
    width: 100%;
    min-width: 0;
    min-height: 3.4rem;
    padding: 0.85rem 1rem;
    border: 1px solid #a8acb4;
    background: #fff;
    color: #002b3e;
    font: inherit;
}

.map-locations__search-input:focus {
    border-color: var(--map-locations-orange);
    outline: 3px solid rgba(242, 101, 34, 0.22);
    outline-offset: 0;
}

.map-locations__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.4rem;
    margin: 0;
    padding: 0.9rem 1.7rem;
    border-radius: 0.2rem;
    background: var(--map-locations-orange);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 180ms ease, transform 180ms ease;
}

.map-locations__search-message,
.map-locations__search-empty {
    margin: 0.65rem 0 0;
    color: #536068;
    font-size: 0.875rem;
}

.map-locations__button:hover,
.map-locations__button:focus-visible {
    background: var(--map-locations-navy);
    color: #fff;
    transform: translateY(-2px);
}

.map-locations__button:focus-visible {
    outline: 3px solid rgba(242, 101, 34, 0.35);
    outline-offset: 3px;
}

@media (max-width: 767.98px) {
    .map-locations__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .map-locations__media {
        order: 2;
    }

    .map-locations__content {
        order: 1;
    }

    .map-locations__map {
        height: min(28rem, 75vw);
        min-height: 20rem;
    }
}

@media (max-width: 479.98px) {
    .map-locations__search-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .map-locations__button {
        width: 100%;
    }
}
