/* "Our Location" — registry-driven centre details + map.
   Markup: location/components/ourLocation.php
   Follows the location design system (Poppins, --brandClr purple,
   pink accents, dual rem scale: html = 5.31vw mobile / 2.76vw ≥768px). */

.our-location {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0.72rem 1.2rem 2.22rem 1.2rem;
    background-color: #fff8fb;
}

.our-location__content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

/* ── Details card ── */
.our-location__details {
    background-color: #fffffe;
    border: 1px solid #f0d0dd;
    border-radius: 0.6rem;
    padding: 0.9rem 1rem;
}

.our-location__detail {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin: 0 0 0.55rem;
    font-size: 0.68rem;
    line-height: 150%;
    color: #5a5b60;
}

.our-location__detail > span {
    font-weight: 600;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--brandClr, #802a8f);
}

.our-location__detail a {
    color: var(--brandClr, #802a8f);
    font-weight: 600;
    text-decoration: none;
}

.our-location__detail a:hover {
    text-decoration: underline;
}

.our-location__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.7rem;
}

.our-location__actions a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 2rem;
    padding: 0 1.2rem;
    border-radius: 2.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.our-location__directions {
    background-color: var(--brandClr, #802a8f);
    color: #fdfdfd;
}

.our-location__directions:hover {
    background-color: #6a2377;
}

.our-location__call {
    background-color: #fff3f8;
    color: #c7527f;
    border: 1px solid #f0d0dd;
}

.our-location__call:hover {
    background-color: #ffe5f0;
}

.our-location__actions a:focus-visible {
    outline: 2px solid var(--brandClr, #802a8f);
    outline-offset: 2px;
}

/* ── Map ── */
.our-location__iframe {
    width: 100%;
    height: 14rem;
    border-radius: 0.6rem;
    overflow: hidden;
    border: 1px solid #f0d0dd;
}

.our-location__iframe > iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ── Desktop (system switches to 2.76vw rem) ── */
@media screen and (min-width: 768px) {
    .our-location {
        padding: 0.72rem 1.88rem 1.2rem 1.88rem;
    }

    .our-location__content {
        flex-direction: row;
        align-items: stretch;
        gap: 0.5rem;
        margin-top: 0.55rem;
    }

    .our-location__details {
        flex: 0 0 38%;
        border-radius: 0.3rem;
        padding: 0.45rem 0.5rem;
    }

    .our-location__detail {
        margin-bottom: 0.28rem;
        font-size: 0.36rem;
        gap: 0.04rem;
    }

    .our-location__detail > span {
        font-size: 0.3rem;
    }

    .our-location__actions {
        gap: 0.25rem;
        margin-top: 0.35rem;
    }

    .our-location__actions a {
        height: 1.05rem;
        padding: 0 0.6rem;
        border-radius: 0.9rem;
        font-size: 0.36rem;
    }

    .our-location__iframe {
        flex: 1 1 auto;
        height: auto;
        min-height: 7.5rem;
        border-radius: 0.3rem;
    }
}
