/* Location Cards + Map (matchbox-loc-child layout; Haven Figma 5331:3996 / mobile 5330:3543)
   pt140 pb16 → Display heading → 56 → 16-inset row of 936×560 photo cards (55% overlay, copy bottom: name / address / phone left, View Site right) → 16 → 560 map */
.loc-cards-map {
    padding: clamp(70px, 7.292vw, 140px) 0 1rem;
}
/* as a widget right after the Diff widget, the Diff's bottom padding already spaces it */
.widget-diff + .loc-cards-map.lcm-widget {
    padding-top: 0;
}
.loc-cards-map .lcm-heading h2 {
    margin: 0 0 clamp(32px, 2.917vw, 56px);
    color: var(--black);
    font-family: var(--headingFont);
    font-size: var(--dispFontSize);
    font-weight: var(--headingFontWeight);
    line-height: 1.25;
    text-align: center;
    text-transform: lowercase;
}
.loc-cards-map .lcm-cards {
    display: flex;
    gap: 1rem;
    padding: 0 1rem;
}
.loc-cards-map .lcm-card {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    aspect-ratio: 936 / 560;
    overflow: hidden;
}
.loc-cards-map .lcm-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgb(0 0 0 / 55%);
}
.loc-cards-map .lcm-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.loc-cards-map .lcm-copy {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(24px, 2.917vw, 56px);
    color: var(--white);
}
.loc-cards-map .lcm-name {
    margin: 0 0 clamp(16px, 1.667vw, 32px);
    color: var(--white);
    font-family: var(--headingFont);
    font-size: var(--h3FontSize);
    font-weight: var(--headingFontWeight);
    line-height: 1.25;
    text-transform: lowercase;
}
.loc-cards-map .lcm-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.loc-cards-map .lcm-contact li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    color: var(--white);
    font-family: var(--bodyFont);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
}
/* Figma phone row gap is 14 (address 16) */
.loc-cards-map .lcm-contact li.lcm-phone {
    gap: 14px;
}
.loc-cards-map .lcm-contact .fas,
.loc-cards-map .lcm-contact .fa {
    flex: 0 0 18px;
    font-size: 1.125rem;
    text-align: center;
}
.loc-cards-map .lcm-contact a {
    color: inherit;
    text-decoration: none;
}
.loc-cards-map .lcm-contact a:hover {
    text-decoration: underline;
}
.loc-cards-map .lcm-view {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    flex: none;
    color: var(--altBg);
    font-family: var(--overlineFont);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2.4px;
    line-height: 1.5;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}
.loc-cards-map .lcm-view .lcm-arrow {
    transition: transform .3s ease;
}
.loc-cards-map .lcm-view:hover .lcm-arrow,
.loc-cards-map .lcm-view:focus-visible .lcm-arrow {
    transform: translateX(4px);
}
.loc-cards-map .lcm-map {
    margin-top: 1rem;
    padding: 0 1rem;
}
.loc-cards-map .lcm-map .main-map {
    width: 100%;
    height: clamp(320px, 29.167vw, 560px);
}

/* Mobile (Figma 5330:3543): no heading; py16, cards stacked 16 apart (361×358, copy top / View Site bottom, p32), 361 square map */
@media (max-width: 1024px) {
    .loc-cards-map {
        padding: 1rem 0;
    }
    .loc-cards-map .lcm-heading {
        display: none;
    }
    .loc-cards-map .lcm-cards {
        flex-direction: column;
    }
    .loc-cards-map .lcm-card {
        flex: none;
        aspect-ratio: 361 / 358;
    }
    .loc-cards-map .lcm-copy {
        inset: 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        padding: 2rem;
    }
    .loc-cards-map .lcm-name {
        margin-bottom: 1.5rem;
    }
    .loc-cards-map .lcm-contact {
        gap: 1rem;
    }
    .loc-cards-map .lcm-contact li.lcm-addr {
        align-items: flex-start;
    }
    .loc-cards-map .lcm-map .main-map {
        height: auto;
        aspect-ratio: 1;
    }
}
