#map-displays {
    width: 682px;
    margin: auto;
    padding-top: 32px;
    position: relative;
    /* 绝对定位的幻灯片被约束在此高度内 */
    height: 682px;
    padding-bottom: 24px;
    z-index: 1;
}

.map-display {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
    pointer-events: none;
}

.map-display.active {
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
}

.the-map {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 682px;
    height: 682px;
}

#map-footer {
    display: flex;
    width: 682px;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    gap: 20px;
    padding-bottom: 32px;
}

#map-info-footer {
    display: flex;
    flex-flow: column nowrap;
    gap: 4px;

}

#page-indicator {
    display: flex;
    flex-flow: row nowrap;
    gap: 8px;
    align-items: center;
    position: relative;
    padding: 0;
    justify-content: flex-end;
}

.page {
    width: 6px;
    height: 6px;
    border-radius: 6px;
    background-color: var(--gray-1);
    cursor: pointer;
}

.page.this-page {
    background-color: var(--black);
}

#left-arrow-button, #right-arrow-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

#left-arrow-button img, #right-arrow-button img {
    width: 100%;
    height: 100%;
    transition: filter 0.2s ease;
}

#left-arrow-button:hover img, #right-arrow-button:hover img {
    filter: brightness(0.7);
    transition: filter 0.2s ease;
}

.sect-title {
    display: flex;
    flex-flow: row nowrap;
    align-items: baseline;
    gap: 12px;
    padding-bottom: 12px;
}

.sect-title-open {
    align-items: center;
    gap: 6px;
}

.maps-section {
    flex: 1 1 calc(50% - 12px);
    gap: 6px;
}

@keyframes buttonClick {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.85);
    }
    100% {
        transform: scale(1);
    }
}

#left-arrow-button.click-animate, #right-arrow-button.click-animate {
    animation: buttonClick 0.3s ease;
}

/* Responsive styles for Tablet */

@media (max-width: 920px) {
    #searchForm {
        display: none;
    }

    #map-displays {
        width: 600px;
        height: 600px;
    }

    .the-map {
        width: 600px;
        height: 600px;
    }

    #map-footer {
        width: 600px;
    }
}

/* Responsive styles for Mobile */

@media (max-width: 690px) {
    #map-displays {
        display: flex;
        width: calc(100% - 32px);
        height: auto;
        aspect-ratio: 1 / 1;
        margin: 0 16px;
    }

    .the-map {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    #map-footer {
        width: calc(100% - 64px);
        margin: 0 32px;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}