/**
 * Contact page map — full-width layout after office photo removal.
 * Loaded after main.build.*; does not modify main.build.* files.
 *
 * Legacy desktop rules lock #map / .map-border to 379px (half row with photo).
 * The new embed uses #contact-map / .map-border--full and fills the content column.
 */

body.template_contact .visual-address .map-border,
body.template_contact .map-border--full {
    float: none;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 1.5rem;
    border: 1px solid #d2d4d5;
    box-sizing: border-box;
}

body.template_contact .contact-map {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #e8eaeb;
}

body.template_contact .contact-map__iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

body.template_contact .contact-map__link {
    margin: 0.75rem 0 0;
    padding: 0 0.25rem;
    font-size: 0.9em;
}

body.template_contact .contact-map__link a {
    color: #f16936;
}

/* Office photo column is no longer used */
body.template_contact .office-face-wrapper {
    display: none;
}

@media screen and (min-width: 992px) {
    body.template_contact .visual-address .map-border,
    body.template_contact .map-border--full {
        float: none;
        width: 100%;
        height: auto;
        margin-right: 0;
    }

    body.template_contact .contact-map {
        height: 400px;
    }
}
