/* Explain: Styles for the image lightbox overlay and zoom functionality. */
.zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(26, 20, 22, 0.88);
    backdrop-filter: blur(6px);
}

.zoom-overlay.is-open {
    display: flex;
}

.zoom-image {
    max-width: min(94vw, 1200px);
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 1.2rem;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.zoom-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 250ms ease;
}

.zoom-close:hover {
    background: rgba(255, 255, 255, 0.28);
}