.wp-content-lightbox {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.9) !important;
    z-index: 9999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    /*padding: 20px !important;*/
    box-sizing: border-box !important;
    cursor: zoom-out !important;
}
.wp-content-lightbox.active {
    display: flex !important;
}
.lightbox-content {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.lightbox-close {
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    color: white !important;
    background: none !important;
    border: none !important;
    font-size: 30px !important;
    cursor: pointer !important;
    z-index: 100 !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}
.lightbox-close:hover {
    transform: scale(1.1) !important;
}
.lightbox-prev, .lightbox-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: white !important;
    background: rgb(0 0 0 / 25%) !important;
    border: none !important;
    font-size: 20px !important;
    cursor: pointer !important;
    z-index: 100 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}
.lightbox-prev {
    left: 10px !important;
}
.lightbox-next {
    right: 10px !important;
}
.lightbox-prev:hover, .lightbox-next:hover {
    background: rgb(0 0 0 / 46%) !important;
}
.lightbox-img-container {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    position: relative !important;
}
.lightbox-img {
    max-width: 100% !important;
    max-height: 100% !important;
    cursor: grab !important;
    transition: transform 0.1s ease-out !important;
    object-fit: contain !important;
}
.lightbox-img.grabbing {
    cursor: grabbing !important;
}
.entry-content img:not(.has-lightbox),
.wp-block-image img:not(.has-lightbox) {
    cursor: zoom-in !important;
    transition: opacity 0.3s ease !important;
}