.elementor-1192 .elementor-element.elementor-element-b1dfbed{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for html, class: .elementor-element-d64840e *//* SHARED BRAND STYLING */
.shovan-media-page {
    font-family: 'Inter', sans-serif;
    color: #333;
    background: #fff;
    padding-top: 50px; /* Adds space at the very top of the page */
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER SECTION (Matched to News) */
.media-header-section {
    background: #f4f8fc; 
    padding: 80px 0; /* Increased from 80px to 100px for more "breath" */
    text-align: center;
}

.media-badge {
    color: #0a74c9; 
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.media-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 15px;
}

.media-subtitle {
    color: #666;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* SEARCH BOX */
.media-search-bx {
    max-width: 500px;
    margin: 0 auto;
}

.search-inner {
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.search-inner input {
    width: 100%;
    padding: 15px 25px;
    border: 1px solid #ddd;
    border-radius: 50px;
    outline: none;
    background: #fff;
}

.search-submit {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 40px;
    border-radius: 50%;
    background: #0a74c9;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* TABS */
.media-tabs {
    margin: 40px 0;
    border-bottom: 1px solid #eee;
}

.media-tabs ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0 0 15px 0;
    gap: 15px;
    overflow-x: auto;
}

.media-tab-btn {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    transition: 0.3s;
}

.media-tab-btn.active, .media-tab-btn:hover {
    background: #0a74c9;
    color: #fff;
    border-color: #0a74c9;
    box-shadow: 0 4px 12px rgba(10, 116, 201, 0.2);
}

/* FINAL CLEAN GRID & CARDS */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.media-card {
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    transition: 0.3s;
}

.media-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.thumbnail-wrapper {
    position: relative;
    cursor: pointer;
    background: #000;
    aspect-ratio: 16/9;
}

.thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    transition: 0.3s;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: #fff;
    opacity: 0.8;
}

.card-content {
    padding: 25px;
}

.cat-tag {
    color: #0a74c9; /* Brand Blue */
    font-weight: 700;
    font-size: 13px;
    display: none;
    margin-bottom: 10px;
}

.video-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}

.video-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.video-date {
    font-size: 12px;
    color: #bbb;
}


/* Modal Styling */
.video-modal {
    display: none;
    position: fixed;
    z-index: 99999; /* Extra high z-index */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
}

.modal-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .media-grid { 
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }
    .media-title { 
        font-size: 28px; /* Smaller title for mobile screens */
    }
    .media-header-section {
        padding: 60px 0; /* Less padding on mobile */
    }
    .media-tabs ul {
        justify-content: flex-start; /* Allows scrolling tabs on mobile */
        padding-left: 10px;
        -webkit-overflow-scrolling: touch;
    }
    .media-tab-btn {
        padding: 8px 16px; /* Smaller buttons for small screens */
        font-size: 14px;
    }
    .search-inner input {
        padding: 12px 20px; /* Slimmer search bar on mobile */
    }
}/* End custom CSS */