/* Compact map header: desktop/tablet and mobile. */
.map2-header.map2-header--compact {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 24px;
    padding: 18px 22px;
    margin-bottom: 16px;
    align-items: center;
}

.map2-header--compact .map2-header-copy h1 {
    margin: 0;
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    line-height: 1.25;
    letter-spacing: -.02em;
}

.map2-header--compact .map2-header-description {
    margin: 5px 0 0;
    max-width: none;
    font-size: var(--type-body, 1rem);
    line-height: 1.5;
}

.map2-header-notice {
    min-width: 0;
    max-width: 340px;
    font-size: var(--type-small, .875rem);
    line-height: 1.5;
}

.map2-header-notice summary {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--purple-border, #e1daf5);
    border-radius: 9px;
    color: var(--purple-dark, #6243df);
    background: var(--purple-soft, #f3efff);
    font-weight: 700;
    cursor: pointer;
    overflow-wrap: anywhere;
}

.map2-header-notice summary:focus-visible {
    outline: 3px solid var(--purple-dark, #6243df);
    outline-offset: 3px;
}

.map2-header-notice-content {
    padding: 8px 12px 0;
    overflow-wrap: anywhere;
}
.map2-header-notice-content p { margin: 0 0 6px; }
.map2-header-notice-content a { text-underline-offset: .15em; }

@media (max-width: 760px) {
    .map2-header.map2-header--compact {
        grid-template-columns: minmax(0, 1fr);
        padding: 16px;
        gap: 10px;
    }
    .map2-header-notice { max-width: none; }
}
