/* ── Location cards ─────────────────────────────────────────
   Figma: desktop 3015:80714 — two quarry cards on Light Grey;
   mobile 3015:80620 — stacked, the button full width.
   ─────────────────────────────────────────────────────────── */

.location-cards {
    padding: var(--pad-y) var(--pad-x);
    background: var(--color-grey-light);
}

.location-cards__inner {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: var(--site-max-w);
    margin: 0 auto;
}

.location-cards__head {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.location-cards__title {
    font-size: 45px;
    font-weight: 600;
    line-height: 48px;
    text-transform: capitalize;
}

.location-cards__text,
.location-cards__line,
.location-cards__more {
    color: var(--color-text-muted);
    line-height: 20px;
}

.location-cards__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    list-style: none;
}

.location-cards__card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-white);
    box-shadow: 0 0 12px rgb(0 0 0 / 0.12);
}

.location-cards__photo {
    width: 100%;
    height: 315px;
    border-radius: 12px;
    object-fit: cover;
}

.location-cards__about {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.location-cards__name {
    font-size: 32px;
    font-weight: 600;
    line-height: 34px;
    text-transform: capitalize;
}

.location-cards__facts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 20px;
    list-style: none;
}

.location-cards__facts li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-cards__facts svg {
    flex: none;
}

.location-cards__more {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.location-cards__button {
    align-self: flex-start;
    min-width: 171px;
}

@media (max-width: 1024px) {
    .location-cards__title {
        font-size: 32px;
        line-height: 34px;
    }

    .location-cards__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}

/* ── Mobile: tighter cards, the button full width ───────────── */
@media (max-width: 767px) {
    .location-cards {
        padding-inline: 20px;
    }

    .location-cards__inner {
        gap: 24px;
    }

    .location-cards__card {
        padding: 16px;
    }

    .location-cards__photo {
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 10px;
    }

    .location-cards__about {
        gap: 4px;
    }

    .location-cards__name {
        font-size: 24px;
        line-height: 27px;
    }

    .location-cards__line {
        font-family: var(--font-body);
        font-weight: 400;
        line-height: 20.8px;
    }

    .location-cards__button {
        align-self: stretch;
    }
}
