/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 20 2026 | 10:21:44 */
/* Image Modal */
.single-post-content .image-modal-trigger {
    cursor: pointer;
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.85);
}

.image-modal.is-open {
    display: flex;
}

.image-modal__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    max-height: 100%;
}

.image-modal__image {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 120px);
    object-fit: contain;
}

.image-modal__close {
    position: absolute;
    top: -45px;
    right: 0;

    width: 36px;
    height: 36px;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);
    color: #fff;

    font-size: 26px;
    line-height: 36px;
    text-align: center;

    cursor: pointer;
}

.image-modal__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.image-modal__bottom {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin-top: 12px;
}

.image-modal__alt {
    flex: 1;
    min-width: 0;

    color: #fff;
    font-size: 14px;
    line-height: 1.5;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.image-modal__download {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 16px;

    border-radius: 5px;
    background: #fff;
    color: #111;

    font-size: 14px;
    text-decoration: none;

    cursor: pointer;
}

.image-modal__download:hover {
    background: #eee;
    color: #111;
}


/* Mobile */
@media (max-width: 600px) {

    .image-modal {
        padding: 15px;
    }

    .image-modal__image {
        max-width: calc(100vw - 30px);
        max-height: calc(100vh - 110px);
    }

    .image-modal__close {
        top: -42px;
        right: 0;
    }

    .image-modal__bottom {
        gap: 10px;
    }

    .image-modal__alt {
        font-size: 13px;
    }

    .image-modal__download {
        padding: 7px 12px;
        font-size: 13px;
    }
}
