/* ==========================================================================
   Table of Contents
   ==========================================================================
   01. Variables & Base Styles
   02. Global Utility Classes
   03. Header, Navigation & Search
   04. Mobile Sidebar (Offcanvas) & Sticky Date Bar
   05. Global UI Components (Ads, Scroll to Top)
   06. Homepage Layouts (Hero & Categories 1-7)
   07. Category Archive Pages & Pagination
   08. Footer Area
   ========================================================================== */

/* =======================================
   01. Variables & Base Styles
   ======================================= */
:root {
    --brand-blue: #004a8b; 
    --brand-red: #e30613;  
    --text-dark: #222222;
}

body {
    font-family: 'Mukta', sans-serif;
    background-color: #f4f6f9;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

/* =======================================
   02. Global Utility Classes
   ======================================= */
.text-brand-blue { 
    color: var(--brand-blue) !important; 
}

/* Truncates text to exactly 3 lines */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

/* General hover image scaling transition */
.transition-scale {
    transition: transform 0.3s ease;
}
.list-item-hover:hover .transition-scale {
    transform: scale(1.08);
}

/* =======================================
   03. Header, Navigation & Search
   ======================================= */
/* Custom Mobile Header */
.mobile-logo { height: 35px; width: auto; }
.mobile-date { font-size: 13px; letter-spacing: 0.5px; }

/* Desktop Header */
.top-header { background-color: #ffffff; }
.main-logo { max-width: 260px; height: auto; }

/* Navigation Menu */
.main-nav {
    background-color: var(--brand-blue); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
    z-index: 1030;
    padding: 0;
}
.main-nav.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    animation: slideDown 0.3s ease-in-out;
}
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.main-nav .nav-link {
    color: #ffffff !important; 
    font-size: 17px;
    font-weight: 500;
    padding: 14px 18px; 
    transition: all 0.2s ease;
}
.main-nav .nav-icon-small {
    font-size: 18px !important; 
    padding: 14px 12px;
}
.main-nav .nav-link:hover {
    color: var(--brand-red) !important; 
    background-color: rgba(255, 255, 255, 0.05);
}

/* Hoverable Dropdown (Desktop Nav Only) */
@media (min-width: 992px) {
    .hover-dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}
.dropdown-menu {
    border-radius: 0 0 5px 5px; border: none;
    border-top: 3px solid var(--brand-red); 
    box-shadow: 0 8px 16px rgba(0,0,0,0.15); padding: 0;
}
.dropdown-item { font-weight: 500; font-size: 16px; padding: 10px 20px; border-bottom: 1px solid #f0f0f0; }
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { background-color: #f8f9fa; color: var(--brand-red); }

/* Unified Search Form */
.search-form-box {
    width: 280px !important;
    border-top: 3px solid var(--brand-red) !important;
    border-radius: 0 0 5px 5px !important;
    padding: 15px !important;
    background-color: #ffffff !important;
}

/* =======================================
   04. Mobile Sidebar & Sticky Date Bar
   ======================================= */
/* Sidebar (Offcanvas) Styling */
.sidebar-menu-list > li {
    border-bottom: 1px solid #f0f0f0;
}
.sidebar-menu-list > li > a,
.sidebar-link-wrap > a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: 0.3s;
}
.sidebar-menu-list > li > a:hover,
.sidebar-link-wrap > a:hover {
    color: var(--brand-red);
    background-color: #f8f9fa;
    padding-left: 25px; 
}

/* Mobile Sidebar Submenu (Collapse style) */
.sidebar-submenu {
    background-color: #f8f9fa;
    box-shadow: inset 0px 4px 6px -5px rgba(0,0,0,0.1);
}
.sidebar-submenu li { border-bottom: 1px solid #eaeaea; }
.sidebar-submenu li:last-child { border-bottom: none; }
.sidebar-submenu li a {
    display: block;
    padding: 10px 20px 10px 35px; /* Deeper indent */
    font-size: 16px;
    color: var(--text-dark);
    text-decoration: none;
    transition: 0.3s;
}
.sidebar-submenu li a:hover {
    color: var(--brand-red);
    background-color: #eef1f5;
    padding-left: 40px; 
}

/* Desktop Date Bar */
#stickyDateBar {
    display: none; 
    position: fixed; 
    left: 0; 
    width: 100%; 
    z-index: 1020;
}
.date-badge {
    background-color: #1a1a1a; 
    color: #ffffff;
    display: inline-block; 
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
}

/* =======================================
   05. Global UI Components
   ======================================= */
/* Universal Ads Area (.long-ad-area) */
.long-ad-area { width: 100%; }
.long-ad-area .widget { width: 100%; text-align: center; }
.long-ad-area .widget a { display: block; width: 100%; }
.long-ad-area .widget img,
.long-ad-area .widget iframe {
    width: 100% !important; 
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}
.long-ad-area .widget a:hover img {
    transform: scale(1.01); 
}

/* Scroll to Top Button */
#scrollToTopBtn {
    display: none; position: fixed; bottom: 30px; right: 30px; z-index: 999;
    font-size: 20px; border: none; background-color: var(--brand-red); color: white; cursor: pointer;
    width: 45px; height: 45px; border-radius: 50%; box-shadow: 0 4px 8px rgba(0,0,0,0.2); transition: all 0.3s;
}
#scrollToTopBtn:hover { background-color: var(--brand-blue); transform: translateY(-3px); }

/* Sticky Sidebar Settings (Used in multiple layouts) */
.sticky-sidebar-offset {
    top: 100px; 
    z-index: 10;
}

/* =======================================
   06. Homepage Layouts
   ======================================= */

/* --- Fullscreen / Featured News Block --- */
.news-kicker { background-color: var(--brand-blue); font-size: 14px; letter-spacing: 0.5px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); }
.news-title-pro a { font-size: 2.8rem; line-height: 1.3; color: var(--text-dark); transition: color 0.3s ease; }
.news-title-pro a:hover { color: var(--brand-red) !important; }
.news-subtitle { font-size: 1.4rem; line-height: 1.5; font-weight: 500; }
.author-icon { width: 40px; height: 40px; object-fit: cover; background-color: #f4f6f9; border-color: #e0e0e0 !important; }
.image-wrapper { position: relative; display: block; max-width: 900px; margin-left: auto; margin-right: auto; }
.pro-image { max-height: 550px; object-fit: cover; transition: transform 0.4s ease; }
.image-wrapper:hover .pro-image { transform: scale(1.02); }
.news-excerpt { font-size: 1.15rem; line-height: 1.8; max-width: 850px; }

@media (max-width: 991px) {
    .news-title-pro a { font-size: 2.2rem; }
    .news-subtitle { font-size: 1.3rem; }
    .pro-image { max-height: 450px; }
}
@media (max-width: 767px) {
    .news-title-pro a { font-size: 1.8rem; }
    .news-subtitle { font-size: 1.1rem; }
    .pro-image { max-height: 300px; }
    .news-excerpt { font-size: 1.05rem; }
}

/* --- Feature Section (Dark Carousel) --- */
.feature-section { background-color: #121212; }
.feature-line { height: 1px; background-color: #333333; }
.feature-main-title { font-size: 1.8rem; letter-spacing: 0.5px; }
.feature-card { position: relative; overflow: hidden; border-radius: 4px; }
.feature-img { height: 380px; object-fit: cover; transition: transform 0.4s ease; }
.feature-card:hover .feature-img { transform: scale(1.05); }
.feature-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 55%; 
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    z-index: 2;
}
.feature-title { font-size: 1.15rem; line-height: 1.6; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); transition: color 0.3s ease; }
.feature-card:hover .feature-title { color: var(--brand-red) !important; }

/* Custom Pagination Dots */
.feature-carousel .owl-dots { margin-top: 25px !important; text-align: center; }
.feature-carousel .owl-dot span {
    width: 8px !important; height: 8px !important; background: #444444 !important;
    margin: 5px 4px !important; border-radius: 50%; transition: all 0.3s ease;
}
.feature-carousel .owl-dot.active span { background: var(--brand-red) !important; transform: scale(1.3); }

/* --- Cat 1 & Cat 2 Layout --- */
.overlay-card { transition: transform 0.3s ease; }
.overlay-img { object-fit: cover; transition: transform 0.4s ease; }
.overlay-card:hover .overlay-img, .list-item-hover:hover .overlay-img { transform: scale(1.05); }
.large-img { height: 420px; }
.medium-img { height: 220px; }
.grid-img { height: 190px; }
.list-thumb-img { width: 120px; height: 85px; }
.overlay-grad {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; 
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%); z-index: 2;
}

@media (max-width: 991px) {
    .large-img { height: 300px; }
    .grid-img { height: 220px; }
}
@media (max-width: 576px) {
    .large-img { height: 220px; }
    .list-thumb-img { width: 100px; height: 75px; }
}

/* --- Cat 3 & Cat 4 Layout --- */
.cat-red-top-title { padding-top: 10px; }
.cat-red-top-title::before { content: ""; position: absolute; top: -5px; left: 0; width: 100%; height: 4px; background-color: var(--brand-red); }
.split-feature-bg { background-color: #222222; }
.split-img-wrap { min-height: 350px; }
.split-img { transition: transform 0.5s ease; }
.split-feature-bg:hover .split-img { transform: scale(1.04); }
.cat3-list-img-wrap { width: 150px; height: 95px; }
.op-thumb-wrap { width: 105px; height: 75px; }

@media (max-width: 767px) {
    .split-img-wrap { min-height: 220px; order: -1; }
    .cat3-list-img-wrap { width: 120px; height: 85px; }
}

/* --- Cat 5 Layout (Opinion/Blog 4-Col) --- */
@media (min-width: 992px) { .opinion-blog-col:not(:last-child) { border-right: 1px solid #dcdcdc; } }
@media (max-width: 991px) and (min-width: 768px) {
    .opinion-blog-col:nth-child(odd) { border-right: 1px solid #dcdcdc; }
    .opinion-blog-col:nth-child(1), .opinion-blog-col:nth-child(2) { border-bottom: 1px solid #dcdcdc; padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
}
@media (max-width: 767px) {
    .opinion-blog-col:not(:last-child) { border-bottom: 1px solid #dcdcdc; padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
}

/* --- Cat 6 Layout (Two-Column Focus) --- */
.focus-card-img { height: 350px; }
.focus-card h3 a { font-size: 1.8rem; }

@media (max-width: 991px) {
    .focus-card-img { height: 250px; }
    .focus-card h3 a { font-size: 1.5rem; }
}
@media (max-width: 767px) {
    .focus-card-img { height: 220px; }
    .focus-card h3 a { font-size: 1.35rem; }
}

/* --- Cat 7 Layout (Model Gallery) --- */
.model-card { height: 380px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.model-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important; }
.model-img { height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.model-card:hover .model-img { transform: scale(1.04); }
.model-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 55%; 
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 40%, rgba(255, 255, 255, 0) 100%); z-index: 2;
}

/* Model Gallery Navigation Arrows */
.model-gallery-carousel .owl-nav button.owl-prev,
.model-gallery-carousel .owl-nav button.owl-next {
    position: absolute; top: 45%; transform: translateY(-50%);
    width: 38px; height: 38px; background-color: #ffffff !important;
    border-radius: 50% !important; box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    color: var(--brand-red) !important; font-size: 22px !important;
    display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
}
.model-gallery-carousel .owl-nav button.owl-prev { left: -15px; }
.model-gallery-carousel .owl-nav button.owl-next { right: -15px; }
.model-gallery-carousel .owl-nav button:hover { background-color: var(--brand-red) !important; color: #ffffff !important; }

/* =======================================
   07. Category Archive Pages & Pagination
   ======================================= */
.cat-feat-img { height: 450px; }
.cat-grid-img-wrap { height: 180px; }

/* Floating White Card Overlap Effect */
@media (min-width: 992px) {
    .cat-feat-card { margin-left: -80px; z-index: 2; }
}
@media (max-width: 991px) {
    .cat-feat-img { height: 300px; }
    .cat-feat-card { margin-top: -50px; margin-left: 15px; margin-right: 15px; z-index: 2; }
}

/* Pagination */
.page-link:hover { background-color: var(--brand-red); color: white !important; border-color: var(--brand-red); }
.page-item.active .page-link { z-index: 3; }

/* =======================================
   08. Footer Area
   ======================================= */
.site-footer { background-color: #0b316b; font-size: 15px; }
.footer-top-row .footer-col { border-right: 1px solid rgba(255, 255, 255, 0.15); }
.footer-top-row .col-lg-2:last-child { border-right: none; }

@media (max-width: 991px) {
    .footer-top-row .footer-col { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.15); padding-bottom: 20px; }
}

.footer-logo {
    max-width: 220px;
    background-color: #ffffff; 
    padding: 12px 15px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); 
}
.footer-heading { font-size: 20px; font-weight: 600; margin-bottom: 20px; color: #ffffff;}
.footer-desc { line-height: 1.8; color: #e0e0e0; }
.footer-list li { margin-bottom: 8px; color: #e0e0e0; }

.social-icons a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 35px; height: 35px; background-color: rgba(255, 255, 255, 0.2);
    color: white; border-radius: 50%; margin-right: 10px; text-decoration: none; transition: 0.3s;
}
.social-icons a:hover { background-color: var(--brand-red); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 14px; }
.footer-bottom-links a { color: #ffffff; text-decoration: none; }
.footer-bottom-links a:hover { text-decoration: underline; }
.copyright-text, .developer-credit { color: #e0e0e0; }









/* =======================================
   Popup Advertisement Modal
   ======================================= */
   
/* Force the widget wrapper and image to fill the modal neatly */
.popup-adv-widget-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

.popup-ad-body img,
.popup-ad-body iframe {
    width: 100% !important;
    height: auto !important;
    display: block;
    max-height: 80vh; /* Prevents it from being taller than the screen */
    object-fit: contain;
}

/* Skip Button Styling */
.skip-ad-btn {
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.skip-ad-btn:hover {
    background-color: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
}









/* =======================================
   09. Single News Page Styles (Mobile Sticky Fixed)
   ======================================= */

/* Sticky Title Wrapper */
.sticky-title-wrapper {
    position: sticky;
    top: 55px; /* Sits cleanly below the navigation bar on desktop */
    z-index: 1020;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 12px 15px; 
    margin-bottom: 15px;
    transition: all 0.25s ease;
    backdrop-filter: blur(6px); 
}

/* Main News Title Base Style */
.single-news-title {
    font-size: 2.2rem; 
    line-height: 1.35;
    transition: color 0.3s ease, font-size 0.3s ease;
}

/* State when scrolling & stuck */
.sticky-title-wrapper.is-stuck {
    background-color: #ffffff; 
    border-bottom: 2px solid var(--brand-red); 
    padding: 10px 15px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sticky-title-wrapper.is-stuck .single-news-title {
    color: var(--brand-blue) !important; /* Smooth shift to brand blue on scroll */
    font-size: 1.6rem; 
}

/* Featured Image */
.single-feat-img {
    max-height: 550px;
    object-fit: cover;
}

/* Article Typography */
.single-news-content {
    font-family: 'Mukta', sans-serif;
}
.single-news-content p {
    font-size: 20px;
    line-height: 1.8;
    color: #222222; 
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-align: justify; 
}
.single-news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

/* Mobile & Tablet Adjustments (Top offset updated so title stays visible below mobile nav) */
@media (max-width: 991px) {
    .sticky-title-wrapper { 
        top: 72px; /* Clears the mobile header cleanly */
        padding: 10px 12px; 
    } 
    .single-news-title { font-size: 1.8rem; }
    .sticky-title-wrapper.is-stuck .single-news-title { font-size: 1.4rem; }
    .single-feat-img { max-height: 400px; }
    .single-news-content p { font-size: 18px; } 
}

@media (max-width: 767px) {
    .sticky-title-wrapper { 
        top: 75px; /* Matches mobile nav height */
        padding: 8px 10px;
    } 
    .single-news-title { font-size: 1.5rem; }
    .sticky-title-wrapper.is-stuck .single-news-title { font-size: 1.25rem; }
    .single-feat-img { max-height: 300px; }
    .single-news-content p { font-size: 17px; } 
    .share-buttons-wrapper { margin-top: 15px; width: 100%; }
}




/* =======================================
   10. Sidebar & Advertisement Styles
   ======================================= */

/* --- LATEST POSTS WIDGET --- */
.sidebar-post-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.sidebar-post-title {
    font-size: 1.15rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.recent-post-link:hover .sidebar-post-title {
    color: var(--brand-red) !important;
    transform: translateX(5px); 
}

.recent-post-link i {
    transition: transform 0.3s ease;
}
.recent-post-link:hover i {
    transform: scale(1.2);
}

/* --- SIDEBAR ADVERTISEMENTS (WIDGETS) --- */
/* Target the exact widget class you registered */
.sidebar-ads-area .widget_media_image {
    margin-bottom: 25px; /* Adds space between multiple banners */
    text-align: center;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Clean shadow for depth */
}

/* Ensure the absolute last ad doesn't have dead space underneath it */
.sidebar-ads-area .widget_media_image:last-child {
    margin-bottom: 0;
}

/* Make image widgets 100% responsive */
.sidebar-ads-area .widget_media_image img {
    width: 100% !important;
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Smooth zoom effect when a reader hovers over the ad */
.sidebar-ads-area .widget_media_image a {
    display: block;
    overflow: hidden; /* Contains the image zoom */
}
.sidebar-ads-area .widget_media_image a:hover img {
    transform: scale(1.03);
}





/* =======================================
   11. Related Posts Styles
   ======================================= */

/* Force a uniform height for all related post images */
.related-img-wrap {
    height: 160px;
    background-color: #f4f6f9; /* Fallback color while loading */
}

/* Set up the smooth transition for the title */
.related-post-title {
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

/* Hover color change effect */
.related-post-link:hover .related-post-title {
    color: var(--brand-red) !important;
}

/* Responsive adjustments for tiny mobile screens */
@media (max-width: 576px) {
    .related-img-wrap {
        height: 200px; /* Makes the image slightly taller when stacked in a single column */
    }
}



/* =======================================
   13. 404 Error Page Styles
   ======================================= */

/* Massive stylized 404 text */
.error-code {
    font-size: 8rem;
    line-height: 1;
    text-shadow: 4px 4px 0 rgba(227, 6, 19, 0.1); /* Subtle red shadow using brand-red */
    letter-spacing: -2px;
}

/* Mobile adjustments for the 404 text */
@media (max-width: 767px) {
    .error-code {
        font-size: 5rem;
    }
}



/* =======================================
   14. Search Results Styles
   ======================================= */

/* Force consistent thumbnail heights for list views */
.search-img-wrap {
    height: 180px;
    background-color: #f4f6f9;
}

/* Ensure the last search result doesn't have a bottom border */
.search-result-card:last-of-type {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Title hover color */
.search-post-title {
    font-size: 1.6rem;
    transition: color 0.3s ease;
}
.search-post-title:hover {
    color: var(--brand-red) !important;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .search-img-wrap { height: 220px; }
    .search-post-title { font-size: 1.4rem; }
}
@media (max-width: 576px) {
    .search-img-wrap { height: 200px; }
}



/* =======================================
   15. 3-Column Category Section (Cat 9, 10, 11)
   ======================================= */

/* Box styling for hover elevation */
.multi-col-category-box {
    transition: box-shadow 0.3s ease;
}
.multi-col-category-box:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05) !important;
}

/* Restrict the thumbnail size to keep the list perfectly aligned */
.col-news-thumb-wrapper {
    width: 100px;
    height: 75px;
    background-color: #f4f6f9;
}

/* Ensure images fill the wrapper perfectly */
.col-news-thumb-img {
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Set up the smooth transition for the title */
.title-transition a {
    transition: color 0.3s ease;
    line-height: 1.5;
}

/* --- HOVER EFFECTS --- */
/* Zoom image and change title color to red on hover */
.col-news-item-hover:hover .col-news-thumb-img {
    transform: scale(1.08);
}
.col-news-item-hover:hover .title-transition a {
    color: var(--brand-red) !important;
}

/* Remove the bottom border and padding from the absolute last item in the list */
.column-news-list .col-news-item-hover:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* Mobile Adjustments */
@media (max-width: 576px) {
    .col-news-thumb-wrapper {
        width: 85px;
        height: 65px;
    }
}





/* =======================================
   16. In-Article Advertisement Styles
   ======================================= */

/* Center the ad block and give it breathing room */
.websoft-ad-widget {
    display: block;
    width: 100%;
    margin: 2.5rem 0;
    text-align: center;
}

/* Make sure the image banner is fully responsive */
.websoft-ad-widget img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Soft shadow to match theme */
    transition: transform 0.3s ease;
}

/* Setup the link wrapper */
.websoft-ad-widget a {
    display: inline-block;
    position: relative;
    text-decoration: none;
}

/* Automatically add a professional "विज्ञापन" text label above the ad */
.websoft-ad-widget a::before {
    content: "विज्ञापन";
    display: block;
    font-size: 12px;
    color: #888888;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-align: center;
}

/* Smooth zoom effect on hover */
.websoft-ad-widget a:hover img {
    transform: scale(1.02);
}