.button-maps {
    --button-text: #ffffff;
    --button-background: #526935;
}

.button-map {
    --button-text: #ffffff;
    --button-background: #926c4d;
}

/* 1) Container */
.slide-container {
    margin: 0;
}

/* 2) The slide-down panel starts collapsed */
.expand-panel {
    margin-top: -1rem;
    margin-bottom: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border: none;
    border-radius: 0.5rem;
}

/* 3) When open, show border and expand */
.expand-panel.open {
    max-height: 300px;
    margin-bottom: 1rem;
}

/* 4) The panel's content area */
.expand-panel__content {
    position: relative;
    background-color: #fff;
    color: #000;
    padding-top: 1rem;
    box-sizing: border-box;
}


/* ------------------------------------
   Dark theme support (forced .theme-dark)
   ------------------------------------ */
:root.theme-dark .expand-panel__content {
    background-color: #121212;
    color: #ffffff;
}

/* ------------------------------------
   Auto theme support (.theme-auto):
   Light by default, switch on system dark
   ------------------------------------ */
/* Light defaults if system is light */
:root.theme-auto .expand-panel__content {
    background-color: #fff;
    color: #000;
}

/* Dark overrides if system is dark */
@media (prefers-color-scheme: dark) {
    :root.theme-auto .expand-panel__content {
        background-color: #121212;
        color: #ffffff;
    }
}
