.content.scrollable {
    position: relative;
    z-index: 1001;
    max-width: 800px;
    margin: 100px auto;
    padding: 20px;
    color: white;
    height: calc(100vh - 120px);
    overflow-y: auto;
}

.wiki-topic {
    margin: 20px 0;
}

.dropdown-toggle {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    text-align: left;
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 3px solid #ffc107;
    margin-top: 5px;
    border-radius: 8px;
    padding: 0 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.dropdown-content.active {
    max-height: 1000px;
    padding: 10px 15px;
}

/* Sub-dropdowns */
.sub-dropdown {
    margin-top: 10px;
}

.sub-toggle {
    background-color: rgba(255, 255, 255, 0.08);
    border: none;
    padding: 8px;
    width: 100%;
    color: white;
    font-weight: bold;
    text-align: left;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 5px;
}

.sub-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 10px;
    transition: max-height 0.3s ease;
    background-color: rgba(255, 255, 255, 0.03);
    border-left: 2px solid #888;
    border-radius: 6px;
    margin-top: 5px;
}
.sub-content.active {
    max-height: 500px;
    padding: 10px;
}


.sub-content.active {
    max-height: 500px;
    padding: 10px;
}

.wiki-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 10px auto;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.wiki-img-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.wiki-img-grid .wiki-img {
    flex: 1 1 30%;
    max-width: 30%;
    height: 120px; 
    object-fit: cover; 
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    border: 2px solid white;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
}

.wiki-img-grid .wiki-img {
    transition: transform 0.2s ease;
}

.wiki-img-grid .wiki-img:hover {
    transform: scale(1.05);
    cursor: zoom-in;
}
