/* =====================================================
   MEDIA AND MODAL COMPONENTS
   Extracted from style.css lines ~651-900 and related sections
   ===================================================== */

/* ===== VIDEO EMBED UTILITIES ===== */
.video-embed,
.video-embed-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    margin-bottom: 30px;
    max-width: 100%;
}

.video-embed {
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
}

.video-embed-container {
    border-radius: 15px;
    margin-bottom: 20px;
}

.video-embed iframe,
.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== VIDEO MODAL STYLES ===== */
.vidmodal .modal-body {
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 0;
}

.vidmodal .modal-content {
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 0;
    background: none;
}

.vidmodal button.btn-close {
    position: fixed;
    top: 25px;
    right: 25px;
    filter: invert(1);
    opacity: 1;
}

.modal-backdrop.show {
    opacity: 0.9;
    background: var(--color-text-primary);
}


/* ===== IMAGE OVERLAY EFFECTS ===== */
.imgbox {
    position: relative;
    display: block;
    overflow: hidden;
}

.imgbox:hover .overlay {
    opacity: 1;
}

.imgbox .overlay {
    z-index: 3;
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0%;
    background-color: rgba(34, 34, 35, .8);
    position: absolute;
    opacity: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imgbox .overlay img {
    z-index: 4;
    border-radius: 1000000px;
}

/* ===== INNER BLOG CARD EFFECTS ===== */
.innerblog .card:hover .img img {
}

/* Modal responsive styles moved to responsive-mobile.css to avoid duplication */

/* ===== MEDIA LINK STYLES ===== */
a[data-bs-toggle="modal"],
.video-popup,
.gallery-link {
    color: var(--link-media);
}