/* Stretch the existing map toggle across its header, keeping its text and postback. */
.section .section-header.map-section-heading {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
}

.map-section-heading .map-section-toggle {
    margin-left: auto;
    flex-shrink: 0;
    text-align: right;
    text-transform: none;
}

.map-section-heading .map-section-toggle::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: pointer;
}

.map-section-heading:has(.map-section-toggle):hover {
    background-color: #f3f3f3;
}

body.dark-mode .section .map-section-heading:has(.map-section-toggle):hover {
    background-color: var(--dark-surface-hover, #333438);
}

.map-section-toggle:focus-visible::before {
    outline: 2px solid currentColor;
    outline-offset: -3px;
    border-radius: 6px;
}
