/**
 * Google Map — component styles
 * @version 1.0.0
 *
 * Self-contained styles for the responsive iframe map embed.
 * Injected automatically by gm_render_map() in google-map.php.
 *
 * Depends on CSS custom properties defined in the site's main stylesheet
 * (--border). Falls back gracefully if they are not present.
 */

/* ── Responsive embed wrapper ───────────────────────────────────── */

.map-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid var(--border, #ccc);
    margin-bottom: 1.5em;
}

.map-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
