.container {
    width:100%;
    border:1px solid #d3d3d3;
}
.container div {
    width:100%;
}
.container .header {
    background-color:#d3d3d3;
    padding: 2px;
    cursor: pointer;
    font-weight: bold;
}
.container .content {
    display: none;
    padding : 5px;
}

/* Enhanced Abstract Accordion */
.abstract-accordion {
    margin: 15px 0;
    border: none;
}

.abstract-header {
    background-color: #3a3a3a;
    color: #ffffff;
    padding: 12px 15px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 5px;
    border: 1px solid #4a4a4a;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.abstract-header:hover {
    background-color: #4a4a4a;
    border-color: #5a5a5a;
}

.abstract-header::after {
    content: "▼";
    color: #ffffff;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.abstract-header.active::after {
    transform: rotate(-180deg);
}

.abstract-content {
    display: none;
    padding: 15px;
    margin-top: 10px;
    font-style: italic;
    line-height: 1.6;
    background-color: #3a3a3a;
    color: #ffffff;
    border-radius: 5px;
}

/* Netflix-style Image Scroller */
.image-scroller-container {
    margin: 20px 0;
    overflow: hidden;
    position: relative;
}

.scroller-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s ease, transform 0.3s ease;
    user-select: none;
}

.scroller-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.scroller-arrow.left {
    left: 10px;
}

.scroller-arrow.right {
    right: 10px;
}

.scroller-arrow:disabled {
    background-color: rgba(0, 0, 0, 0.3);
    cursor: not-allowed;
    opacity: 0.5;
}

.scroller-arrow:disabled:hover {
    transform: translateY(-50%) scale(1);
}

.image-scroller {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.image-scroller::-webkit-scrollbar {
    height: 8px;
}

.image-scroller::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.image-scroller::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.image-scroller::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.image-tile {
    flex: 0 0 auto;
    width: 400px;
    max-width: 90vw;
    transition: transform 0.3s ease;
}

.image-tile img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.image-tile img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .image-tile {
        width: 300px;
    }
}