/* Korema Lightbox Styles */
.korema-lightbox {
    display: none;
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
	place-content: center;
	padding: 20px;
}

.korema-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.korema-lightbox-content {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.korema-lightbox.active .korema-lightbox-content {
    transform: scale(1);
}

.korema-lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    -o-object-fit: contain;
       object-fit: contain;
}

.korema-lightbox-title {
    color: white;
    margin-top: 15px;
    font-size: 18px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 600px;
}

.korema-lightbox-close {
    position: absolute;
    top: 0px;
    right: 0px;
	transform: translate(50%, -50%);
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease, transform 0.2s ease;
}

.korema-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.korema-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.korema-lightbox-prev,
.korema-lightbox-next {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    font-weight: bold;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.korema-lightbox-prev svg,
.korema-lightbox-next svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.korema-lightbox-prev {
    margin-left: 0;
}

.korema-lightbox-next {
    margin-right: 0;
}

.korema-lightbox-prev:hover,
.korema-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.korema-lightbox-prev:disabled,
.korema-lightbox-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.korema-lightbox-prev:disabled:hover,
.korema-lightbox-next:disabled:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
   
    
    .korema-lightbox-image {
        max-height: 70vh;
    }
    

    .korema-lightbox-title {
        font-size: 16px;
        margin-top: 10px;
    }
}

