header {
    background: rgba(var(--lrs-black), 1);
    border-bottom: 3px solid rgb(var(--lrs-green-3));
}


.browseZone {
    height: 100%;
    flex-grow: 1;
    width: 100%;
    min-height: 350px;
    height: fit-content;
    background: rgba(var(--lrs-monochrome-1), 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 32px 32px 24px;
    gap: 24px;
    position: relative;
    max-width: 1200px;
}

.browseZone.row {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}



.browseZone:first-of-type {
    padding-top: 128px;
}

.browseZone .heading {
    font-size: 32px;
    color: rgb(var(--lrs-black));
    font-weight: 900;
    user-select: none;
    width: 100%;
    max-width: 1200px;

}

.section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    max-width: 1000px;
}

.section-top {
    width: 100%;
    background: rgb(var(--lrs-green-4));
    padding: 8px 16px 8px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
    border-radius: 4px;
    cursor: pointer;
}

.section .section-top:hover {
    background: rgb(var(--lrs-green-3));
}



.section .heading {
    font-size: 32px;
    color: rgb(var(--lrs-monochrome-1));
    font-weight: 900;
    user-select: none;
}

.section i {
    font-size: 48px;
    color: rgb(var(--lrs-green-1));
    transition: 0.2s;
}

.section.opened i {
    transform: scaleY(-1);
    color: rgb(var(--lrs-green-1));
}

.section:hover i {
    color: rgb(var(--lrs-monochrome-1));
}

.browseImageZone {
    display: none;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    background: rgb(var(--lrs-black));
    padding: 12px;
    border-bottom-left-radius: 4px;
    gap: 12px;
    border-bottom-right-radius: 4px;
    width: calc(100% - 24px);
}

.section.opened .browseImageZone {
    display: flex;

}

.browseImageZone .showcase-image {
    height: 250px;
    object-fit: cover;
    user-select: none;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid rgb(var(--lrs-green-4));
    transition: 0.2s border;
}

.browseImageZone .showcase-image:hover {
    border: 3px solid rgb(var(--lrs-green-2));
}



.singleImage {
    position: relative;
    max-width: 480px;
    max-height: 360px;
    min-width:320px;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    border: 3px solid rgb(var(--lrs-green-4));
    transition: 0.2s border;
    object-fit: cover;
    flex-grow: 1;
    overflow: hidden;
    position: relative;
}


/* slider container*/

.slider-container {
    --startPos: 35%;
    flex-grow: 1;
    position: relative;
    min-width:320px;
    max-width: 480px;
    max-height: 360px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    border: 3px solid rgb(var(--lrs-green-4));
    transition: 0.2s border;
}

.slider-container:hover {
    border: 3px solid rgb(var(--lrs-green-2));
}

.slider-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
}

.after-image {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center left;
    mask-image: linear-gradient(to right, black var(--startPos), transparent var(--startPos));
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--startPos);
    width: 8px;
    border-left: 3px solid rgb(var(--lrs-black));
    border-right: 3px solid rgb(var(--lrs-black));
    background: rgb(var(--lrs-green-4));
    cursor: ew-resize;
    z-index: 10;
    transition: background 0.2s, border-left 0.2s, border-right 0.2s;
}
.slider-container:hover .slider-handle{
    border-left: 3px solid rgb(var(--lrs-green-4));
    border-right: 3px solid rgb(var(--lrs-green-4));
    background: rgb(var(--lrs-green-2));
}

.slider-handle::before {
    content: "\f337";
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 10px solid transparent;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.85);
    border: 3px solid rgb(var(--lrs-green-1));
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 32px;
}

.label-before,
.label-after {
    position: absolute;
    top: 16px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    font-size: 18px;
    user-select: none;
    padding: 4px 6px;
}

.label-before {
    left: 16px;
}

.label-after {
    right: 16px;
}