/* Phoenix Acting - shared footer location block (NAP + Google Map).

   The markup is static HTML inside each <footer> so the address is crawlable,
   and the iframe uses loading="lazy" so the Google Maps payload is only
   fetched once a visitor actually scrolls down to the footer.

   Everything is scoped under .footer-map, so no existing footer rule changes. */

.footer-map {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(0, 1.4fr);
    gap: 2rem;
    align-items: center;
    box-sizing: border-box;
    max-width: 1100px;
    margin: 0 auto 2rem;
    /* Side padding matters on the policy pages, whose footers have none */
    padding: 2rem 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: left;
}

.footer-map h3 {
    font-family: var(--font-primary, 'Playfair Display', serif);
    font-size: 1.15rem;
    color: var(--primary, #E5B94E);
    margin: 0 0 .75rem;
}

.footer-map address {
    font-style: normal;
    font-size: .9rem;
    line-height: 1.7;
    color: var(--text-secondary, #C9C9C9);
    margin: 0 0 .5rem;
}

.footer-map-contact {
    font-size: .9rem;
    line-height: 1.7;
    margin: 0 0 1rem;
}

.footer-map-contact a {
    color: var(--text-secondary, #C9C9C9);
    text-decoration: none;
}

.footer-map-contact a:hover {
    color: var(--primary, #E5B94E);
}

.footer-map-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1.1rem;
    border: 1px solid var(--primary, #E5B94E);
    border-radius: 999px;
    color: var(--primary, #E5B94E);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .3s, color .3s;
}

.footer-map-link:hover {
    background: var(--primary, #E5B94E);
    color: var(--bg-darkest, #030612);
}

.footer-map-embed {
    position: relative;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(229, 185, 78, .3);
    background: rgba(255, 255, 255, .04);
}

.footer-map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    /* The default Maps tiles are bright against the dark footer */
    filter: grayscale(25%) contrast(1.05);
}

@media (max-width: 768px) {
    .footer-map {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }

    .footer-map-embed {
        height: 180px;
    }
}
