#revolts-encyclopaedia {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 20px;
    padding: 20px;
    min-height: 100vh; /* Ensures it expands fully */
}

/* #encyclopaedia-map a {
    all: unset;
} */

.encyclopedia-sidebar {
    background: #f0f0f0;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: start;
    width: 100%;
    min-height: 500px; /* Prevents overlapping */
    overflow: auto; /* Allows scrolling if content overflows */
}

.left-column {
    flex: 1;
    min-width: 300px; /* Ensures a minimum width for images */
}

.right-column {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer {
    clear: both;
    position: relative;
    width: 100%;
}

/* .select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select2-dropdown {
    width: auto !important; 
    max-width: 300px;
} */

#map {
    transition: height 0.1s ease-in-out;
}
