/* CBBC shared footer map - centered layout */
.footer-map-section {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 34px 0;
}

/* Keep the map and its introduction centered within the footer. */
.footer-map-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    width: 100%;
    max-width: 1000px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.footer-map-copy {
    width: 100%;
    max-width: 760px;
    min-width: 0;
    text-align: center !important;
}

.footer-map-kicker {
    display: inline-block;
    margin-bottom: 9px;
    color: #a9d8e8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.footer-map-copy h2 {
    margin: 0 0 12px;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(21px, 2.5vw, 28px);
    line-height: 1.25;
}

.footer-map-copy p {
    margin: 5px 0;
    color: #c7dbe3;
    font-size: 13px;
    line-height: 1.6;
}

.footer-map-copy .footer-map-name {
    color: #fff;
    font-weight: 700;
}

.footer-map-directions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 15px;
    border: 1px solid rgba(169, 216, 232, .55);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}

.footer-map-directions:hover,
.footer-map-directions:focus-visible {
    border-color: #a9d8e8;
    background: rgba(169, 216, 232, .12);
    color: #fff;
}

.footer-map-frame {
    width: 100%;
    max-width: 760px;
    min-width: 0;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 13px;
    background: rgba(255, 255, 255, .06);
}

.footer-map-frame iframe {
    display: block;
    width: 100% !important;
    height: 360px;
    border: 0;
}

@media (max-width: 700px) {
    .footer-map-section {
        padding: 26px 0;
    }

    .footer-map-layout {
        width: calc(100% - 32px);
        gap: 16px !important;
    }

    .footer-map-frame iframe {
        height: 260px;
    }
}