/* A location's page (M7): the masthead, the LocationCosmo artboard's first band. */
.location-masthead {
    padding: 1.5rem 0 2rem;
}

.location-masthead__crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.location-masthead__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.location-masthead__text {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.location-masthead__text > * {
    margin: 0;
}

.location-masthead__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bs-primary);
}

.location-masthead__name {
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 700;
}

.location-masthead__lead {
    font-size: 1.125rem;
}

.location-masthead__address {
    font-style: normal;
}

.location-masthead__open {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.location-masthead__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bs-secondary-color);
}

.is-open .location-masthead__dot {
    background: var(--bs-success);
}

.is-closed .location-masthead__dot {
    background: var(--bs-danger);
}

.location-masthead__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.location-masthead__media img,
.location-masthead__map {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--bs-border-radius);
    display: block;
}

.location-masthead__map {
    background: var(--bs-secondary-bg);
}

@media (max-width: 767.98px) {
    .location-masthead__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .location-masthead__media img,
    .location-masthead__map {
        height: 220px;
    }

    .location-masthead__actions .btn {
        flex: 1 1 auto;
    }
}
