img.wp-smiley,
img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
}

/* Hide all video popups by default */
.video-popup-block {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    background: rgba(0, 0, 0, 0.85);
    padding: 20px;
    border-radius: 10px;
    max-width: 90%;
    max-height: 80%;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

/* Center the video inside */
.video-popup-block video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Show popup when active */
.video-popup-block.active {
    display: block;
    z-index: 19991;
}

/* Close button (× icon) */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    z-index: 1060;
    transition: 0.3s;
}

.close-btn:hover {
    color: #ff4444;
}

/* Optional: Dim background when popup is open */
body.video-open {
    overflow: hidden;
}

h4.text-dark {
    color: black !important;
}

img:is([sizes="auto" i], [sizes^="auto," i]) {
    contain-intrinsic-size: 3000px 1500px
}