/* Container */
.if-308f6801-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* Header */
.if-308f6801-header {
    text-align: center;
}
.if-308f6801-icon {
    margin-bottom: 10px;
}
.if-308f6801-icon i {
    font-size: 32px;
    color: #61A39D;
}
.if-308f6801-icon svg {
    width: 32px;
    height: 32px;
    fill: #61A39D;
}
.if-308f6801-heading {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
}

/* Scrollable Gallery */
.if-308f6801-gallery-scroll {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    width: 100%;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}
.if-308f6801-gallery-scroll::-webkit-scrollbar {
    height: 8px;
}
.if-308f6801-gallery-scroll::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.if-308f6801-image-item {
    position: relative;
    flex: 0 0 auto;
    width: 250px;
    height: 250px; /* Overridden by controls */
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
}

.if-308f6801-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.if-308f6801-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.if-308f6801-image-item:hover .if-308f6801-image-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.if-308f6801-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}
.if-308f6801-lightbox.active {
    opacity: 1;
    visibility: visible;
}
.if-308f6801-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.if-308f6801-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}
