.page-map {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: auto;
    gap: 2rem;
    position: relative;
}

.map-header {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: absolute;
    top: 1rem;
    right: 21rem;
    justify-content: flex-end;
    width: 100%;
    padding: 0.5rem;
}

.map-header a {
    background-color: var(--color-background);
    color: var(--color-on-background);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.map-header a:hover {
    background-color: var(--color-background-hover);
    color: var(--color-on-background-hover);
}
.map-header a.active {
    background-color: var(--color-primary);
    color: var(--color-on-primary);
}

.map-container {
    width: 100%;
    max-width: 50rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 48rem) {
    .page-map {
        padding: 1rem;
    }

    .map-image {
        border-radius: 0.25rem;
    }
}
