/* ==========================================================================
   NETFIE NEWS PORTAL BUILDER - PREMIUM STYLE SHEET (V1.2.0)
   ========================================================================== */

:root {
    --netfie-primary: #f97316;      /* Default Netfie High-end Orange */
    --netfie-primary-hover: #ea580c;
    --netfie-secondary: #ca8a04;
    --netfie-dark: #111827;         /* Sleek neutral black/gray */
    --netfie-dark-card: #1f2937;
    --netfie-light-bg: #f9fafb;
    --netfie-border: #e5e7eb;
    --netfie-text-main: #374151;
    --netfie-text-muted: #6b7280;
    --netfie-card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --netfie-card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
    --font-bengali: 'Hind Siliguri', sans-serif;
    --font-latin: 'Inter', sans-serif;
}

.netfie-npb-layout-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto !important;
    padding: 0px 20px 20px 20px;
    background: #ffffff;
    font-family: var(--font-bengali);
    color: var(--netfie-text-main);
    box-sizing: border-box;
    overflow-x: hidden;
}

.netfie-npb-layout-container * {
    box-sizing: border-box;
}

/* ==========================================================================
   AD PLACEMENTS (Premium & Sleek Mock Banners)
   ========================================================================== */
.netfie-ad-header-slot,
.netfie-ad-mid-slot {
    width: 100%;
    margin-bottom: 25px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--netfie-border);
}

.netfie-ad-header-slot.demo-ad,
.netfie-ad-mid-slot.demo-ad {
    background: #fdfdfd;
    padding: 12px;
}

.netfie-ad-header-slot .ad-link,
.netfie-ad-mid-slot .ad-link {
    display: block;
    text-decoration: none;
    background: #fffaec;
    border: 2px dashed #b45309;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.netfie-ad-header-slot .ad-link:hover,
.netfie-ad-mid-slot .ad-link:hover {
    background: #fffbeb;
}

.netfie-ad-header-slot .ad-badge,
.netfie-ad-mid-slot .ad-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    font-family: var(--font-latin);
    font-size: 8px;
    font-weight: 700;
    color: #b45309;
    letter-spacing: 1px;
}

.netfie-ad-header-slot .ad-placeholder-content,
.netfie-ad-mid-slot .ad-placeholder-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-family: var(--font-latin);
    font-weight: 800;
    font-size: 20px;
    color: #451a03;
}

.netfie-ad-header-slot .ad-placeholder-content .btn,
.netfie-ad-mid-slot .ad-placeholder-content .btn {
    background: #b45309;
    color: #fff;
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
}

/* ==========================================================================
   NEW PREMIUM DESIGN UPGRADE: TOP TRENDING SCROLLING TICKER
   ========================================================================== */
.netfie-top-inline-ticker {
    display: flex;
    background: #f8fafc;
    border: 1px solid var(--netfie-border);
    height: 40px;
    align-items: center;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 25px;
}

.netfie-top-inline-ticker .ticker-tag {
    background: var(--netfie-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.netfie-top-inline-ticker .ticker-scroller-window {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.netfie-top-inline-ticker .ticker-marquee-track {
    display: flex;
    align-items: center;
    position: absolute;
    white-space: nowrap;
    animation: marquee 38s linear infinite;
    gap: 40px;
}

.netfie-top-inline-ticker .ticker-marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--netfie-text-main);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.netfie-top-inline-ticker .ticker-marquee-item:hover {
    color: var(--netfie-primary);
}

.netfie-top-inline-ticker .ticker-dot {
    background: var(--netfie-primary);
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* ==========================================================================
   2-COLUMN HOMEPAGE GRID SYSTEM
   ========================================================================== */
.netfie-portal-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
}

@media (max-width: 991px) {
    .netfie-portal-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SECTIONS COMMON ELEMENTS
   ========================================================================== */
.netfie-section {
    margin-bottom: 40px;
}

.netfie-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.netfie-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--netfie-primary);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 12px;
}

.netfie-section-icon .play-dot {
    background: #fff;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.netfie-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--netfie-dark);
    margin: 0;
    padding-right: 15px;
    background: #fff;
    position: relative;
    z-index: 1;
}

.header-line {
    flex-grow: 1;
    height: 2px;
    background: var(--netfie-border);
    position: absolute;
    left: 0;
    right: 0;
    z-index: 0;
}

.netfie-section-header.inverted .netfie-section-title {
    background: var(--netfie-dark);
    color: #fff;
}

/* ==========================================================================
   IMAGE PLACEHOLDERS & HOVER SOCIAL SHARE MODULES
   ========================================================================== */
.netfie-card-img-wrapper {
    width: 100%;
    position: relative;
    padding-top: 56.25%; /* 16:9 Ratio */
    background: #f3f4f6;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--netfie-border);
}

.netfie-card-img-wrapper img,
.netfie-card-img-wrapper .netfie-placeholder-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.netfie-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.netfie-card-link:hover .netfie-card-img-wrapper img,
.netfie-card-link:hover .netfie-placeholder-svg {
    transform: scale(1.05);
}

/* Social sharing icons overlay triggers */
.netfie-social-hover-overlay {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    transition: bottom 0.3s ease-in-out;
    z-index: 10;
}

.netfie-card-img-wrapper:hover .netfie-social-hover-overlay {
    bottom: 0;
}

.share-icon {
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-latin);
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: transform 0.2s;
}

.share-icon:hover {
    transform: scale(1.15);
}

.share-icon.fb { background: #1877f2; }
.share-icon.wa { background: #25d366; }
.share-icon.tw { background: #1da1f2; }

/* ==========================================================================
   SECTION 1: HERO LEAD SECTION
   ========================================================================== */
.netfie-lead-grid-wrapper {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 20px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .netfie-lead-grid-wrapper {
        grid-template-columns: 1fr;
    }
}

.netfie-lead-hero-block {
    background: var(--netfie-light-bg);
    border-radius: 8px;
    padding: 16px;
    border: 1px solid var(--netfie-border);
    box-shadow: var(--netfie-card-shadow);
}

.netfie-lead-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--netfie-dark);
    margin: 15px 0 10px 0;
    line-height: 1.4;
    transition: color 0.2s;
}

.netfie-lead-hero-block:hover .netfie-lead-title {
    color: var(--netfie-primary);
}

.netfie-lead-excerpt {
    font-size: 15px;
    color: var(--netfie-text-muted);
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.netfie-post-date {
    font-family: var(--font-latin);
    font-size: 12px;
    color: var(--netfie-text-muted);
}

/* S1 List block on right */
.netfie-lead-list-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 5px;
}

.netfie-list-item-row {
    border-bottom: 1px solid var(--netfie-border);
    padding-bottom: 12px;
}

.netfie-list-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.netfie-list-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.netfie-list-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--netfie-border);
    position: relative;
}

.netfie-list-thumb img,
.netfie-list-thumb .netfie-placeholder-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.netfie-list-info {
    flex-grow: 1;
}

.netfie-list-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 5px 0;
    color: var(--netfie-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.netfie-list-link:hover .netfie-list-title {
    color: var(--netfie-primary);
}

/* S1 Sub lead cards beneath */
.netfie-sub-lead-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .netfie-sub-lead-grid {
        grid-template-columns: 1fr;
    }
}

.netfie-sub-lead-card .netfie-sub-lead-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin: 10px 0 5px 0;
    color: var(--netfie-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.netfie-sub-lead-card:hover .netfie-sub-lead-title {
    color: var(--netfie-primary);
}

/* ==========================================================================
   SECTION 2: VIDEO/PHOTO GALLERY SLIDER
/* ==========================================================================
   SECTION 21: VIDEO GALLERY SLIDER & CAROUSEL (MODERN UPGRADE)
   ========================================================================== */
.netfie-video-slider-section {
    position: relative;
    background: #ffffff;
    border-radius: 10px;
    padding: 18px 20px;
    border: 1px solid var(--netfie-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.netfie-section-header-right-tools {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.carousel-nav-arrows {
    display: flex;
    gap: 6px;
}

.netfie-carousel-nav-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    line-height: 1;
}

.netfie-carousel-nav-btn:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: scale(1.08);
}

.netfie-gallery-carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 4px 0 10px 0;
}

.netfie-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.netfie-carousel-track::-webkit-scrollbar {
    height: 5px;
}

.netfie-carousel-track::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.netfie-carousel-track::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.netfie-carousel-track::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.netfie-carousel-card {
    flex: 0 0 240px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--netfie-border);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.netfie-carousel-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: #f97316;
}

.carousel-thumb-wrapper {
    width: 100%;
    height: 135px;
    position: relative;
    background: #0f172a;
    overflow: hidden;
}

.carousel-thumb-wrapper img,
.carousel-thumb-wrapper .carousel-placeholder-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.netfie-carousel-card:hover .carousel-thumb-wrapper img {
    transform: scale(1.08);
}

.video-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.5px;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.video-card-badge .yt-dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 6px #ef4444;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(239, 68, 68, 0.92);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45);
    transition: all 0.3s ease;
    z-index: 3;
}

.play-icon-overlay svg {
    width: 22px;
    height: 22px;
    margin-left: 2px;
}

.netfie-carousel-card:hover .play-icon-overlay {
    background: #dc2626;
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
}

.carousel-card-body {
    padding: 12px;
    flex-grow: 1;
}

.carousel-card-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: var(--netfie-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.netfie-carousel-card:hover .carousel-card-title {
    color: var(--netfie-primary);
}

/* ==========================================================================
   SECTION 3: THREE SPLIT SECTION (GRID, AD, RATINGS)
   ========================================================================== */
.three-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    border-top: 1px solid var(--netfie-border);
    padding-top: 25px;
}

@media (max-width: 768px) {
    .three-split-grid {
        grid-template-columns: 1fr;
    }
}

.split-header {
    border-bottom: 2px solid var(--netfie-dark);
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.split-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--netfie-dark);
}

/* Left: circular nationwide items */
.nationwide-item {
    margin-bottom: 12px;
    border-bottom: 1px dotted var(--netfie-border);
    padding-bottom: 12px;
}

.nationwide-item:last-child {
    border-bottom: none;
}

.nationwide-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.circular-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--netfie-primary);
    flex-shrink: 0;
}

.circular-avatar img,
.circular-avatar .netfie-placeholder-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nationwide-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: var(--netfie-dark);
}

.nationwide-link:hover .nationwide-title {
    color: var(--netfie-primary);
}

/* Middle: Vertical Ad slot */
.ad-placeholder-vertical {
    background: #fef08a;
    border: 2px dashed #ca8a04;
    padding: 30px 15px;
    text-align: center;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: var(--font-latin);
    height: calc(100% - 40px);
    min-height: 200px;
}

.ad-placeholder-vertical span {
    font-weight: 800;
    font-size: 16px;
    color: #713f12;
}

.ad-placeholder-vertical .ad-btn {
    background: #ca8a04;
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
}

/* Right: Opinions with circle numbering */
.opinion-rank-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--netfie-border);
}

.opinion-rank-item:last-child {
    border-bottom: none;
}

.rank-number {
    background: var(--netfie-primary);
    color: #fff;
    font-family: var(--font-latin);
    font-weight: 700;
    font-size: 14px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.opinion-rank-title {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--netfie-dark);
}

.opinion-rank-item:hover .opinion-rank-title {
    color: var(--netfie-primary);
}

/* ==========================================================================
   4-COLUMN NEWS GRID PLACEMENT
   ========================================================================== */
.four-column-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .four-column-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .four-column-grid {
        grid-template-columns: 1fr;
    }
}

.netfie-grid-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.netfie-grid-card .netfie-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin: 10px 0 5px 0;
    color: var(--netfie-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.netfie-grid-card:hover .netfie-card-title {
    color: var(--netfie-primary);
}

.netfie-grid-card .netfie-card-excerpt {
    font-size: 13px;
    color: var(--netfie-text-muted);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   DYNAMIC AJAX BUTTON & SPINNER LAYOUT
   ========================================================================== */
.netfie-ajax-trigger-container {
    text-align: center;
    margin-top: 30px;
}

.netfie-load-more-btn {
    background: #fff;
    border: 2px solid var(--netfie-primary);
    color: var(--netfie-primary);
    padding: 12px 30px;
    font-family: var(--font-bengali);
    font-weight: 700;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.netfie-load-more-btn:hover {
    background: var(--netfie-primary);
    color: #fff;
}

.ajax-loading-spinner {
    display: none;
    border: 3px solid rgba(249, 115, 22, 0.2);
    border-top: 3px solid var(--netfie-primary);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 0.8s linear infinite;
}

.netfie-load-more-btn:hover .ajax-loading-spinner {
    border-top-color: #fff;
}

.netfie-load-more-btn.ajax-loading {
    pointer-events: none;
    opacity: 0.8;
}

.netfie-load-more-btn.ajax-loading .ajax-loading-spinner {
    display: inline-block;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   SECTION 5: HIGH-IMPACT GRID LAYOUT
   ========================================================================== */
.impact-grid-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .impact-grid-wrapper {
        grid-template-columns: 1fr;
    }
}

.impact-lead-card {
    background: var(--netfie-light-bg);
    border: 1px solid var(--netfie-border);
    border-radius: 8px;
    padding: 16px;
    box-shadow: var(--netfie-card-shadow);
}

.impact-lead-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--netfie-dark);
    margin: 15px 0 10px 0;
}

.impact-lead-excerpt {
    font-size: 14px;
    color: var(--netfie-text-muted);
    line-height: 1.5;
    margin: 0;
}

.impact-lead-card:hover .impact-lead-title {
    color: var(--netfie-primary);
}

.impact-sub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.impact-sub-card .impact-sub-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin: 8px 0 0 0;
    color: var(--netfie-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.impact-sub-card:hover .impact-sub-title {
    color: var(--netfie-primary);
}

/* ==========================================================================
   SECTION 6: SPLIT HORIZONTAL AND VERTICAL NEWS LIST
   ========================================================================== */
.split-list-grid-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .split-list-grid-wrapper {
        grid-template-columns: 1fr;
    }
}

.split-stacked-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.split-stacked-card {
    background: var(--netfie-light-bg);
    border: 1px solid var(--netfie-border);
    border-radius: 6px;
    padding: 12px;
}

.stacked-card-link {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.stacked-img-wrapper {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.stacked-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stacked-content {
    flex-grow: 1;
}

.stacked-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 5px 0;
    color: var(--netfie-dark);
}

.stacked-excerpt {
    font-size: 12px;
    color: var(--netfie-text-muted);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.split-stacked-card:hover .stacked-title {
    color: var(--netfie-primary);
}

/* S6 Right list column (thumbnails on right) */
.split-list-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.split-list-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--netfie-border);
    padding-bottom: 12px;
}

.split-list-item-row:last-child .split-list-link {
    border-bottom: none;
    padding-bottom: 0;
}

.split-list-info {
    flex-grow: 1;
}

.split-list-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 5px 0;
    color: var(--netfie-dark);
}

.split-list-link:hover .split-list-title {
    color: var(--netfie-primary);
}

.split-list-thumb {
    width: 70px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

/* ==========================================================================
   NEW PREMIUM DESIGN UPGRADE: SECTION 12 - PHOTO COLLAGE COLLAGE GRID
   ========================================================================== */
.netfie-photo-collage-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 240px;
    gap: 15px;
}

@media (max-width: 768px) {
    .netfie-photo-collage-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}

.collage-tile {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--netfie-border);
}

.collage-tile .collage-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.collage-tile .netfie-post-img,
.collage-tile .netfie-placeholder-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Masonry relative sizing scales */
.tile-1 { grid-column: span 2; }
.tile-2 { grid-column: span 1; }
.tile-3 { grid-column: span 1; }
.tile-4 { grid-column: span 2; }
.tile-5 { display: none; } /* Used if we want to structure exactly 5 tiles cleanly */

@media (max-width: 768px) {
    .tile-1, .tile-2, .tile-3, .tile-4 {
        grid-column: span 1;
        height: 180px;
    }
}

.collage-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 15px 12px;
    transition: all 0.3s ease;
}

.collage-caption-title {
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.collage-tile:hover .collage-caption-overlay {
    padding-bottom: 22px;
    background: linear-gradient(transparent, rgba(249, 115, 22, 0.95)); /* Fades to primary color on hover! */
}

/* ==========================================================================
   DOUBLE ROW GRIDS COMMON CONFIG
   ========================================================================== */
.double-row-grid {
    grid-template-rows: auto auto;
    row-gap: 25px;
}

.double-row-grid .netfie-grid-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 10px 0 5px 0;
    color: var(--netfie-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.double-row-grid .netfie-grid-card:hover .netfie-grid-title {
    color: var(--netfie-primary);
}

/* ==========================================================================
   SECTION 8: DARK HIGHLIGHT GRID LAYOUT
   ========================================================================== */
.highlight-first-card .highlight-lead-card {
    grid-column: span 1;
    background: #18181b;
    border-radius: 6px;
    padding: 12px;
    border: 1px solid #27272a;
}

.highlight-first-card .highlight-lead-card .card-inner-content {
    padding-top: 10px;
}

.highlight-first-card .highlight-lead-card .netfie-grid-title {
    color: #fef08a !important; /* Yellow bold text */
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.highlight-first-card .highlight-lead-card .netfie-card-excerpt {
    color: #d4d4d8;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.highlight-first-card .highlight-lead-card .netfie-post-date {
    color: #a1a1aa;
}

.highlight-first-card .highlight-lead-card:hover .netfie-grid-title {
    color: #fde047 !important;
}

/* ==========================================================================
   SECTION 9: THREE COLUMN LARGE MIDDLE GRID
   ========================================================================== */
.middle-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .middle-hero-grid {
        grid-template-columns: 1fr;
    }
}

.mid-side-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mid-side-card .mid-side-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 8px 0 5px 0;
    color: var(--netfie-dark);
}

.mid-side-card:hover .mid-side-title {
    color: var(--netfie-primary);
}

.mid-large-card {
    background: var(--netfie-light-bg);
    border: 1px solid var(--netfie-border);
    border-radius: 8px;
    padding: 15px;
    box-shadow: var(--netfie-card-shadow);
}

.mid-large-card .mid-large-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    margin: 15px 0 10px 0;
    color: var(--netfie-dark);
}

.mid-large-card .mid-large-excerpt {
    font-size: 14px;
    color: var(--netfie-text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.mid-large-card:hover .mid-large-title {
    color: var(--netfie-primary);
}

/* ==========================================================================
   RIGHT SIDEBAR ELEMENTS & WIDGET PLACEMENTS
   ========================================================================== */
.netfie-portal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid var(--netfie-border);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--netfie-card-shadow);
}

.sidebar-widget-header {
    border-bottom: 2px solid var(--netfie-primary);
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.sidebar-widget-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--netfie-dark);
}

/* Sidebar Weather forecasting widget styling */
.sidebar-weather-widget {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    padding: 16px 20px;
    border-radius: 6px;
}

.weather-meta-left {
    display: flex;
    flex-direction: column;
}

.weather-meta-left .city-name {
    font-family: var(--font-latin);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.weather-meta-left .condition {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 3px;
}

.weather-meta-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.weather-meta-right .temp {
    font-family: var(--font-latin);
    font-weight: 800;
    font-size: 26px;
    color: var(--netfie-primary);
}

.weather-meta-right .weather-icon {
    width: 45px;
    height: 45px;
}

/* Currency Grid panel widgets styling */
.currency-grid-widget {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.currency-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--netfie-light-bg);
    border: 1px solid var(--netfie-border);
    padding: 10px 15px;
    border-radius: 6px;
}

.currency-item .symbol {
    font-family: var(--font-latin);
    font-weight: 700;
    font-size: 13px;
    color: var(--netfie-dark);
}

.currency-item .rate {
    font-family: var(--font-latin);
    font-weight: 800;
    font-size: 14px;
    color: var(--netfie-secondary);
}

/* ==========================================================================
   SIDEBAR INTERACTIVE PUBLIC OPINION POLL & QUIZ SYSTEM
   ========================================================================== */
.widget-header-title-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.quiz-badge-indicator {
    background: #f3e8ff;
    color: #7e22ce;
    font-family: var(--font-latin);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.quiz-badge-indicator .dashicons {
    font-size: 13px;
    width: 13px;
    height: 13px;
}

.poll-question {
    font-size: 15px;
    font-weight: 700;
    color: var(--netfie-dark);
    line-height: 1.5;
    margin: 0 0 8px 0;
}

.poll-subtitle {
    font-size: 12.5px;
    color: var(--netfie-text-muted);
    margin: 0 0 14px 0;
    line-height: 1.4;
}

.poll-options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.poll-option-label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--netfie-light-bg);
    border: 1px solid var(--netfie-border);
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    transition: all 0.2s ease;
    user-select: none;
}

.poll-option-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-radio-mark {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.poll-option-label:hover {
    border-color: var(--netfie-primary);
    background: #fff;
}

.poll-option-label:hover .custom-radio-mark {
    border-color: var(--netfie-primary);
}

.poll-option-label input[type="radio"]:checked ~ .custom-radio-mark {
    border-color: var(--netfie-primary);
    background: var(--netfie-primary);
}

.poll-option-label input[type="radio"]:checked ~ .custom-radio-mark:after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

.poll-option-label input[type="radio"]:checked ~ .option-text {
    color: var(--netfie-primary);
    font-weight: 700;
}

.poll-action-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poll-submit-btn {
    background: var(--netfie-primary);
    color: #fff;
    border: none;
    width: 100%;
    padding: 11px;
    border-radius: 6px;
    font-family: var(--font-bengali);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.25);
}

.poll-submit-btn:hover {
    background: var(--netfie-primary-hover);
    transform: translateY(-1px);
}

.poll-submit-btn.is-loading .poll-submit-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

.poll-toggle-results-btn,
.poll-back-to-vote-btn {
    background: transparent;
    border: none;
    color: var(--netfie-text-muted);
    font-family: var(--font-bengali);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px;
    text-align: center;
    transition: color 0.2s;
}

.poll-toggle-results-btn:hover,
.poll-back-to-vote-btn:hover {
    color: var(--netfie-primary);
    text-decoration: underline;
}

.poll-result-bar-row {
    margin-bottom: 12px;
    background: var(--netfie-light-bg);
    border: 1px solid var(--netfie-border);
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.poll-result-bar-row.quiz-row-correct {
    border-color: #86efac;
    background: #f0fdf4;
}

.poll-result-bar-row.quiz-row-wrong {
    border-color: #fca5a5;
    background: #fef2f2;
}

.poll-result-bar-row .label-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--netfie-dark);
}

.quiz-check-mark {
    font-size: 11.5px;
    font-weight: 700;
}

.quiz-row-correct .quiz-check-mark {
    color: #16a34a;
}

.quiz-row-wrong .quiz-check-mark {
    color: #dc2626;
}

.pct-wrap {
    display: flex;
    gap: 4px;
    align-items: center;
    font-family: var(--font-latin);
}

.pct-wrap .pct {
    font-weight: 800;
    color: var(--netfie-dark);
}

.pct-wrap .vote-count {
    font-size: 11.5px;
    color: var(--netfie-text-muted);
}

.progress-bar-bg {
    background: #e5e7eb;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    background: var(--netfie-primary);
    height: 100%;
    border-radius: 4px;
    transition: width 1s cubic-bezier(0.1, 1, 0.1, 1);
}

.quiz-row-correct .progress-fill {
    background: #16a34a;
}

.quiz-row-wrong .progress-fill {
    background: #dc2626;
}

.quiz-explanation-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 10px 12px;
    margin: 12px 0;
    font-size: 12.5px;
    color: #92400e;
    line-height: 1.45;
}

.quiz-explanation-box strong {
    display: block;
    margin-bottom: 3px;
    color: #78350f;
}

.poll-results-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
    text-align: center;
}

.poll-thanks {
    margin: 0;
    font-size: 13px;
    color: #374151;
}

.thank-you-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
}

.thank-correct {
    background: #dcfce7;
    color: #15803d;
}

.thank-wrong {
    background: #fee2e2;
    color: #b91c1c;
}

/* Sidebar dynamic social counters widgets */
.social-counters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.counter-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 5px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff !important;
    transition: transform 0.2s;
}

.counter-tile:hover {
    transform: translateY(-3px);
}

.counter-tile .icon {
    font-family: var(--font-latin);
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 5px;
}

.counter-tile .count {
    font-family: var(--font-latin);
    font-weight: 800;
    font-size: 15px;
}

.counter-tile .label {
    font-size: 10px;
    opacity: 0.85;
}

.counter-tile.fb { background: #1877f2; }
.counter-tile.yt { background: #ff0000; }
.counter-tile.tw { background: #1da1f2; }

/* Editor's Choice Highlight block */
.editors-choice-box {
    border-left: 4px solid var(--netfie-primary);
    padding-left: 15px;
}

.editors-choice-box .ed-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 10px 0 5px 0;
    color: var(--netfie-dark);
}

.editors-choice-box .ed-excerpt {
    font-size: 12.5px;
    color: var(--netfie-text-muted);
    line-height: 1.5;
    margin: 0;
}

.editors-choice-box:hover .ed-title {
    color: var(--netfie-primary);
}

/* Tag Cloud Widget elements */
.tag-cloud-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cloud-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid var(--netfie-border);
    transition: all 0.2s ease;
}

.cloud-tag:hover {
    background: var(--netfie-primary);
    color: #fff;
    border-color: var(--netfie-primary);
}

/* Tabbed Widget */
.sidebar-tabs-widget {
    padding: 0;
    overflow: hidden;
}

.sidebar-tab-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f3f4f6;
    border-bottom: 1px solid var(--netfie-border);
}

.sidebar-tab-buttons .tab-btn {
    border: none;
    background: transparent;
    padding: 12px;
    font-family: var(--font-bengali);
    font-size: 15px;
    font-weight: 700;
    color: var(--netfie-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-tab-buttons .tab-btn.active {
    background: #fff;
    color: var(--netfie-primary);
    border-top: 3px solid var(--netfie-primary);
}

.sidebar-tab-contents {
    padding: 20px;
}

.sidebar-tab-pane {
    display: none;
}

.sidebar-tab-pane.active {
    display: block;
}

.tab-item-row {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid var(--netfie-border);
    padding-bottom: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.tab-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.tab-item-num {
    background: var(--netfie-light-bg);
    color: var(--netfie-text-muted);
    font-family: var(--font-latin);
    font-size: 13px;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--netfie-border);
}

.tab-item-title {
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--netfie-dark);
}

.tab-item-row:hover .tab-item-title {
    color: var(--netfie-primary);
}

/* Sidebar Ads slots styling */
.ad-placeholder-sidebar {
    background: #ffedd5;
    border: 2px dashed #ea580c;
    padding: 30px 15px;
    text-align: center;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ad-placeholder-sidebar .ad-title {
    font-family: var(--font-latin);
    font-weight: 800;
    font-size: 16px;
    color: #7c2d12;
}

.ad-placeholder-sidebar .ad-button {
    background: #ea580c;
    color: #fff;
    font-family: var(--font-latin);
    font-weight: 700;
    font-size: 11px;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
}

.ad-placeholder-sidebar-image {
    background: #111827;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.ad-placeholder-sidebar-image .brand-text {
    font-family: var(--font-latin);
    font-weight: 800;
    font-size: 32px;
    color: var(--netfie-primary);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.ad-placeholder-sidebar-image .sub-text {
    font-size: 12px;
    color: #9ca3af;
}

.ad-placeholder-sidebar-yellow {
    background: #fef9c3;
    border: 1px solid #fef08a;
    padding: 30px 15px;
    text-align: center;
    border-radius: 6px;
    color: #713f12;
}

.ad-placeholder-sidebar-yellow .title {
    font-family: var(--font-latin);
    font-weight: 800;
    font-size: 20px;
    display: block;
    margin-bottom: 5px;
}

.ad-placeholder-sidebar-yellow .sub {
    font-size: 11px;
}

/* Facebook widget Page Mock */
.fb-page-mock {
    background: #f0f2f5;
    border-radius: 6px;
    border: 1px solid #ccd0d5;
    padding: 12px;
}

.fb-mock-header {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.fb-mock-logo {
    background: #1877f2;
    color: #fff;
    font-family: var(--font-latin);
    font-weight: 800;
    font-size: 20px;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fb-mock-meta .name {
    font-weight: 700;
    font-size: 13.5px;
    color: #1c1e21;
}

.fb-mock-meta .likes {
    font-size: 11px;
    color: #65676b;
}

.fb-mock-body {
    display: flex;
    justify-content: center;
}

.fb-follow-btn {
    background: #1877f2;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    width: 100%;
    text-align: center;
}

/* Print Edition Mock */
.epaper-wrapper {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--netfie-border);
}

.epaper-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.epaper-link:hover .epaper-img {
    transform: scale(1.03);
}

.epaper-placeholder {
    background: #f3f4f6;
    padding: 40px 20px;
    text-align: center;
    color: var(--netfie-text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.newspaper-icon {
    width: 48px;
    height: 48px;
    color: var(--netfie-primary);
}

.epaper-placeholder .title {
    font-size: 14px;
    font-weight: 700;
    color: var(--netfie-dark);
}

/* ==========================================================================
   SECTION 10: FULL WIDTH PREMIUM VIDEO GALLERY (DARK THEME)
   ========================================================================== */
.netfie-dark-video-playlist-section {
    background: var(--netfie-dark);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 40px calc(50vw - 50% + 20px);
    width: 100vw;
    box-sizing: border-box;
}

.video-playlist-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 25px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .video-playlist-grid {
        grid-template-columns: 1fr;
    }
}

.main-video-player-container {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #27272a;
}

.video-iframe-ratio {
    position: relative;
    padding-top: 56.25%; /* 16:9 ratio */
    width: 100%;
}

.video-iframe-ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.main-video-info {
    padding: 20px;
    background: var(--netfie-dark-card);
    border-top: 1px solid #27272a;
}

.main-video-info h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

.video-share-bar {
    display: flex;
    gap: 15px;
}

.video-share-bar .share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #a1a1aa;
    font-size: 13px;
    cursor: pointer;
}

/* Playlist Scroll area on right */
.playlist-items-scrollable {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 430px;
    overflow-y: auto;
    padding-right: 5px;
}

.playlist-row-item {
    display: flex;
    gap: 12px;
    background: var(--netfie-dark-card);
    border: 1px solid #27272a;
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.playlist-row-item:hover,
.playlist-row-item.active {
    background: #27272a;
    border-color: var(--netfie-primary);
}

.playlist-thumb {
    width: 100px;
    height: 62px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.playlist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-thumb .play-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.playlist-thumb .play-indicator svg {
    width: 12px;
    height: 12px;
}

.playlist-title {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: #e4e4e7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.playlist-row-item.active .playlist-title {
    color: var(--netfie-primary);
}

/* ==========================================================================
   SECTION 11: FULL WIDTH NEWS TICKER (BOTTOM CAROUSEL)
   ========================================================================== */
.netfie-bottom-ticker-section {
    background: var(--netfie-dark);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    border-top: 3px solid var(--netfie-primary);
    height: 45px;
}

.ticker-prefix-label {
    background: var(--netfie-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    flex-shrink: 0;
    white-space: nowrap;
    position: relative;
    z-index: 10;
}

.ticker-scroller-window {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-marquee-track {
    display: flex;
    align-items: center;
    position: absolute;
    white-space: nowrap;
    animation: marquee 35s linear infinite;
    gap: 40px;
}

.ticker-marquee-track:hover {
    animation-play-state: paused;
}

.ticker-marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #e4e4e7;
    font-size: 13.5px;
    font-weight: 600;
    transition: color 0.2s;
}

.ticker-marquee-item:hover {
    color: var(--netfie-primary);
}

.ticker-dot {
    background: var(--netfie-primary);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

/* ==========================================================================
   BREAKING NEWS SLIDE-DOWN ALERT BANNER
   ========================================================================== */
.netfie-breaking-bar {
    position: fixed;
    top: -60px;
    left: 0;
    right: 0;
    background: #ef4444; /* Alert Crimson Red */
    color: #fff;
    height: 50px;
    display: flex;
    align-items: center;
    z-index: 99999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: top 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.netfie-breaking-bar.slide-active {
    top: 0;
}

.netfie-breaking-bar .alert-label {
    background: #b91c1c;
    font-family: var(--font-latin);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    flex-shrink: 0;
}

.netfie-breaking-bar .marquee-wrapper {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.netfie-breaking-bar .marquee-text-content {
    font-weight: 700;
    font-size: 14.5px;
    color: #fff;
    text-decoration: none;
    padding-left: 20px;
    white-space: nowrap;
    animation: marquee-breaking 25s linear infinite;
    display: inline-block;
}

.netfie-breaking-bar .alert-close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    padding: 0 20px;
    height: 100%;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.netfie-breaking-bar .alert-close-btn:hover {
    opacity: 0.8;
}

@keyframes marquee-breaking {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* ==========================================================================
   VIDEO POPUP LIGHTBOX MODAL OVERLAY
   ========================================================================== */
.netfie-video-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.netfie-video-modal-overlay.active {
    display: flex;
}

.modal-box-container {
    width: 90%;
    max-width: 800px;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.modal-close-btn:hover {
    transform: scale(1.1);
}

.modal-video-body {
    position: relative;
    padding-top: 56.25%; /* 16:9 Ratio */
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.modal-video-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   NETFIE MODERN HEADER & MOBILE APP-STYLE DRAWER SYSTEM
   ========================================================================== */
.netfie-header-master-wrapper {
    width: 100%;
    position: relative;
    font-family: var(--font-bengali, 'Hind Siliguri', sans-serif);
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.netfie-header-master-wrapper *,
.netfie-header-master-wrapper *::before,
.netfie-header-master-wrapper *::after {
    box-sizing: border-box;
}

/* ================= DESKTOP HEADER (>= 992px) ================= */
.netfie-desktop-header-wrap {
    width: 100%;
    background: var(--hdr-bg, #ffffff);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* 1. Top Bar */
.netfie-topbar {
    width: 100%;
    background-color: var(--hdr-topbar-bg, #1a1a1a);
    color: var(--hdr-topbar-text, #b3b3b3);
    font-size: 13px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.netfie-topbar-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.netfie-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.netfie-topbar-left i {
    color: #cc1e1e;
    margin-right: 4px;
}

.netfie-topbar-divider {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 4px;
}

.netfie-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}

.netfie-topbar-socials {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: var(--hdr-topbar-text, #b3b3b3);
    font-size: 12px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.topbar-social-btn:hover {
    color: #ffffff;
    transform: translateY(-1px);
}
.topbar-social-btn.fb:hover { background: #1877f2; color: #fff; }
.topbar-social-btn.tw:hover { background: #1da1f2; color: #fff; }
.topbar-social-btn.yt:hover { background: #ff0000; color: #fff; }
.topbar-social-btn.ig:hover { background: #e1306c; color: #fff; }
.topbar-social-btn.ln:hover { background: #0077b5; color: #fff; }

.netfie-topbar-epaper-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.netfie-topbar-epaper-btn:hover {
    background: #cc1e1e;
    color: #ffffff;
}

.netfie-lang-pill-btn {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 3px 10px;
    border-radius: 12px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}
.netfie-lang-pill-btn:hover {
    background: #cc1e1e;
    border-color: #cc1e1e;
    color: #ffffff;
}

/* 2. Main Masthead (Logo, 728x90 Ad, Search) */
.netfie-masthead {
    width: 100%;
    background: var(--hdr-bg, #ffffff);
    position: relative;
    border-bottom: 1px solid #edf2f7;
}

.netfie-masthead-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.netfie-masthead-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.netfie-masthead-logo-img {
    max-height: var(--hdr-logo-h-pc, 65px);
    width: auto;
    display: block;
    object-fit: contain;
}

/* Styled Typography Logo */
.netfie-masthead-typo-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.typo-logo-title {
    display: flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1.1;
}

.typo-prefix {
    font-size: calc(var(--hdr-logo-txt-size, 34px) * 0.76);
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.5px;
}

.typo-accent {
    font-size: var(--hdr-logo-txt-size, 34px);
    font-weight: 900;
    color: #cc1e1e;
    letter-spacing: -0.5px;
}

.typo-logo-sub {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    margin-top: 2px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.typo-logo-sub::before,
.typo-logo-sub::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.typo-logo-domain {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: #cc1e1e;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 1px;
}

/* 728x90 Ad Slot */
.netfie-masthead-ad-slot {
    flex: 1;
    max-width: 728px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.netfie-header-banner-728 {
    max-width: 100%;
    height: auto;
    max-height: 90px;
    display: block;
    object-fit: contain;
    border-radius: 4px;
}

.netfie-ad-script-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Search Trigger Button */
.netfie-masthead-search-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.netfie-masthead-search-trigger {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.netfie-masthead-search-trigger:hover {
    background: #cc1e1e;
    border-color: #cc1e1e;
    color: #ffffff;
    transform: scale(1.05);
}

/* Desktop Expandable Search Dropdown */
.netfie-desktop-search-dropdown {
    display: none;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 3px solid #cc1e1e;
    padding: 16px 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
}

.netfie-desktop-search-dropdown.open {
    display: block;
    animation: netfieSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes netfieSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.netfie-desktop-search-container {
    max-width: 800px;
    margin: 0 auto;
}

.netfie-search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.netfie-search-field {
    flex: 1;
    height: 46px;
    padding: 0 18px;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    font-size: 15px;
    font-family: inherit;
    background: #f8fafc;
    outline: none;
    transition: all 0.2s ease;
}

.netfie-search-field:focus {
    border-color: #cc1e1e;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(204, 30, 30, 0.1);
}

.netfie-search-submit {
    height: 46px;
    padding: 0 24px;
    background: #cc1e1e;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.netfie-search-submit:hover {
    background: #a81515;
}

.netfie-search-close {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.netfie-search-close:hover {
    color: #cc1e1e;
    background: #f1f5f9;
}

/* 3. Bottom Navigation Bar */
.netfie-navbar {
    width: 100%;
    background-color: var(--hdr-menu-bg, #111111);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.netfie-navbar-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.netfie-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex: 1;
}

.netfie-nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.netfie-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    color: var(--hdr-menu-text, #ffffff);
    font-family: var(--hdr-menu-font, 'Hind Siliguri', sans-serif);
    font-size: var(--hdr-menu-size, 15px);
    font-weight: var(--hdr-menu-weight, 600);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.netfie-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 3px;
    background: var(--hdr-menu-hover, #cc1e1e);
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.2s ease;
}

.netfie-nav-item:hover > .netfie-nav-link::after {
    opacity: 1;
    transform: scaleX(1);
}

.netfie-nav-link .nav-home-ico {
    font-size: 15px;
}

.netfie-nav-link .nav-caret {
    font-size: 11px;
    opacity: 0.7;
    transition: transform 0.25s ease;
}

.netfie-nav-item:hover > .netfie-nav-link {
    color: var(--hdr-menu-hover, #cc1e1e);
}

.netfie-nav-item:hover > .netfie-nav-link .nav-caret {
    transform: rotate(180deg);
}

.netfie-nav-epaper-right {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
}

.epaper-nav-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px;
    padding: 6px 14px !important;
    margin: 4px 0;
    font-size: 13.5px !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.epaper-nav-btn::after {
    display: none !important;
}

.epaper-nav-btn:hover {
    background: var(--hdr-menu-hover, #cc1e1e) !important;
    color: #ffffff !important;
}

/* Sub-Menu Dropdown */
.netfie-nav-item .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--hdr-sub-bg, #1e1e1e);
    border-top: 3px solid var(--hdr-sub-border, #cc1e1e);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    min-width: 210px;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    border-radius: 0 0 6px 6px;
}

.netfie-nav-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.netfie-nav-item .sub-menu li {
    width: 100%;
    margin: 0;
    padding: 0;
}

.netfie-nav-item .sub-menu li a {
    display: block;
    padding: 10px 18px;
    color: var(--hdr-sub-text, #ffffff);
    font-family: var(--hdr-menu-font, 'Hind Siliguri', sans-serif);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.netfie-nav-item .sub-menu li:last-child a {
    border-bottom: none;
}

.netfie-nav-item .sub-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--hdr-sub-border, #cc1e1e);
    padding-left: 22px;
}

.netfie-nav-item .sub-menu li a:hover {
    background-color: var(--hdr-sub-hover-bg, #cc1e1e);
    color: var(--hdr-sub-hover-text, #ffffff);
    padding-left: 22px;
}

/* ================= MOBILE APP-STYLE HEADER (< 992px) ================= */
.app-header-wrap {
    width: 100%;
    position: sticky;
    top: 0;
    left: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #eef0f3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-family: var(--font-bengali, 'Hind Siliguri', sans-serif);
    z-index: 1000;
}

.app-header-bar {
    max-width: 100%;
    height: 60px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 50px 1fr auto;
    align-items: center;
}

.app-header-bar.app-header-bar--swapped {
    grid-template-columns: auto 1fr 50px;
}

.hdr-left {
    display: flex;
    align-items: var(--hdr-mob-menu-align, center);
    justify-content: flex-start;
    height: 100%;
}

.hdr-left.hdr-left-search {
    align-items: var(--hdr-mob-search-align, center);
    gap: 8px;
}

.hdr-left .hdr-icon-menu-btn {
    margin-top: var(--hdr-mob-menu-top, 0px);
    margin-left: var(--hdr-mob-menu-left, 0px);
}

.hdr-left .hdr-icon-search-btn {
    margin-top: var(--hdr-mob-search-top, 0px);
    margin-left: var(--hdr-mob-search-right, 0px);
}

.hdr-left .hdr-eng-btn {
    margin-top: var(--hdr-mob-search-top, 0px);
}

.hdr-icon-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #1a1a1a;
    font-size: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.15s ease;
}

.hdr-icon-btn:active {
    background-color: #f1f3f5;
}

.hdr-center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hdr-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hdr-logo img {
    max-height: var(--hdr-logo-h-mobile, 38px);
    width: auto;
    display: block;
    object-fit: contain;
}

.hdr-logo .logo-txt {
    font-size: calc(var(--hdr-logo-txt-size, 34px) * 0.62);
    font-weight: 800;
    color: #111111;
    line-height: 1.1;
}

.hdr-logo .logo-txt span {
    color: #cc1e1e;
}

.hdr-logo .logo-sub {
    font-size: 9.5px;
    color: #666666;
    font-weight: 600;
    margin-top: -1px;
}

.hdr-right {
    display: flex;
    align-items: var(--hdr-mob-search-align, center);
    gap: 8px;
    justify-content: flex-end;
    height: 100%;
}

.hdr-right.hdr-right-menu {
    align-items: var(--hdr-mob-menu-align, center);
}

.hdr-right .hdr-icon-search-btn,
.hdr-right .hdr-eng-btn {
    margin-top: var(--hdr-mob-search-top, 0px);
}

.hdr-right .hdr-icon-search-btn {
    margin-right: var(--hdr-mob-search-right, 0px);
}

.hdr-right .hdr-icon-menu-btn {
    margin-top: var(--hdr-mob-menu-top, 0px);
    margin-right: var(--hdr-mob-menu-left, 0px);
}

.hdr-eng-btn {
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 700;
    color: #1a1a1a;
    border: 1.5px solid #1a1a1a;
    padding: 3px 9px;
    border-radius: 14px;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.hdr-eng-btn:active {
    background-color: #cc1e1e;
    border-color: #cc1e1e;
    color: #ffffff;
}

/* Mobile Search Popup Modal */
.hdr-search-popup {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999999 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    font-family: var(--font-bengali, 'Hind Siliguri', sans-serif);
}

.hdr-search-popup.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.hdr-search-popup-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hdr-search-popup-dialog {
    position: relative;
    width: calc(100% - 32px);
    max-width: 480px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    padding: 20px;
    z-index: 2;
    transform: translateY(-20px) scale(0.96);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.hdr-search-popup.open .hdr-search-popup-dialog {
    transform: translateY(0) scale(1);
}

.hdr-search-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.hdr-search-popup-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hdr-search-popup-title i {
    color: #cc1e1e;
}

.hdr-search-popup-close {
    background: #f1f3f5;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #495057;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.hdr-search-popup-close:hover,
.hdr-search-popup-close:active {
    background: #cc1e1e;
    color: #ffffff;
}

.hdr-search-popup-field {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    padding: 4px 6px 4px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hdr-search-popup-field:focus-within {
    border-color: #cc1e1e;
    box-shadow: 0 0 0 3px rgba(204, 30, 30, 0.12);
    background: #ffffff;
}

.hdr-search-popup-field input[type="search"],
.hdr-search-popup-field input[type="text"] {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 8px 4px !important;
    font-size: 15px !important;
    color: #1a1a1a !important;
    outline: none !important;
    font-family: inherit !important;
    box-shadow: none !important;
}

.hdr-search-popup-submit {
    background: #cc1e1e !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 24px !important;
    padding: 9px 20px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s ease, transform 0.1s ease !important;
    font-family: inherit !important;
    white-space: nowrap !important;
}

.hdr-search-popup-submit:hover {
    background: #a91515 !important;
}

.hdr-search-popup-submit:active {
    transform: scale(0.97) !important;
}

body.netfie-search-active {
    overflow: hidden !important;
}

/* ================= Boston Star News Compact Mobile/Tablet Menu Slider ================= */
.bsn-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-top: 1px solid #ebebeb;
    border-bottom: 1.5px solid #0056b3;
    width: 100%;
    height: 44px; /* Compact height for mobile/tablet */
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hind Siliguri", "Kalpurush", "SolaimanLipi", sans-serif;
    user-select: none;
}

/* Horizontal Scroll Area */
.bsn-scroll-container {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Momentum scrolling on iOS/Android */
    scrollbar-width: none; /* Hide for Firefox */
    padding: 0 12px;
    width: 100%;
    cursor: grab;
}

.bsn-scroll-container::-webkit-scrollbar {
    display: none; /* Hide for Chrome/Safari */
}

.bsn-scroll-container.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* Menu Item Buttons (Pills) */
.bsn-pill {
    flex-shrink: 0;
}

.bsn-pill a {
    display: block;
    padding: 5px 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #2b2b2b;
    text-decoration: none;
    border-radius: 20px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* Hover Styles (সফট ব্লু শেড) */
.bsn-pill a:hover {
    color: #0056b3;
    background: #eff6ff;
    border-color: #bfdbfe;
}

/* Active / Home Button (মেরুনের বদলে লাইট গ্রে) */
.bsn-pill.active a {
    color: #1f2937;
    background: #e5e7eb; /* লাইট গ্রে */
    border-color: #d1d5db;
    font-weight: 700;
}

/* Special Highlight (প্রবাসের গল্প) */
.bsn-pill.special a {
    color: #b45309;
    background: #fffbeb;
    border-color: #fde68a;
}

/* Smaller Floating Circular Arrow Buttons */
.bsn-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    user-select: none;
}

.bsn-arrow svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #333333;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* অ্যারো বাটনের হোভার নীল রঙ */
.bsn-arrow:hover {
    background: #0056b3;
    border-color: #0056b3;
}

.bsn-arrow:hover svg {
    stroke: #ffffff;
}

.bsn-arrow-left {
    left: 4px;
}

.bsn-arrow-right {
    right: 4px;
}

/* Auto-hide when at ends */
.bsn-arrow.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Tablet & Desktop Tweaks */
@media (min-width: 768px) {
    .bsn-slider-wrapper {
        height: 48px;
    }
    .bsn-pill a {
        font-size: 14.5px;
        padding: 6px 14px;
    }
    .bsn-arrow {
        width: 30px;
        height: 30px;
    }
}

/* Off-canvas Navigation Drawer */
.hdr-drawer-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999998 !important;
    transform: none !important;
}

.hdr-drawer-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
}

.hdr-drawer {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: -320px !important;
    width: 290px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    background: #ffffff !important;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.3);
    z-index: 999999 !important;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1), right 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    transform: none !important;
}

.hdr-drawer.open {
    left: 0 !important;
}

.hdr-drawer.drawer-right {
    left: auto !important;
    right: -320px !important;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
}

.hdr-drawer.drawer-right.open {
    left: auto !important;
    right: 0 !important;
}

.hdr-drawer-top {
    padding: 16px 18px;
    background-color: var(--hdr-drawer-top, #171717);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hdr-drawer-menu-label {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.hdr-drawer-top-placeholder {
    color: #cc1e1e;
}

.hdr-drawer-top button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
}

.hdr-drawer-links {
    list-style: none;
    padding: 6px 0;
    margin: 0;
    overflow-y: auto;
    flex: 1;
}

.hdr-drawer-links .drawer-item {
    border-bottom: 1px solid #f3f4f6;
}

.drawer-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-main-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: var(--hdr-drawer-link, #222222);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    flex: 1;
    transition: all 0.2s ease;
}

.drawer-main-link i {
    color: var(--hdr-drawer-icon, #cc1e1e);
    width: 18px;
    text-align: center;
    font-size: 15px;
}

.drawer-main-link:active,
.drawer-main-link:hover {
    background-color: #fbebeb;
    color: #cc1e1e;
}

.drawer-sub-toggle {
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.drawer-sub-toggle.active {
    transform: rotate(180deg);
    color: #cc1e1e;
}

.drawer-sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 6px 0;
    background: #f8fafc;
}

.drawer-sub-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px 9px 44px;
    color: #475569;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
}

.drawer-sub-menu li a i {
    font-size: 10px;
    color: #94a3b8;
}

.drawer-sub-menu li a:hover {
    color: #cc1e1e;
    background: #f1f5f9;
}

.hdr-drawer-footer {
    padding: 14px 18px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.drawer-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.drawer-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    text-decoration: none;
}

body.netfie-drawer-active {
    overflow: hidden !important;
}

/* ================= RESPONSIVE SWITCHING ================= */
@media (min-width: 992px) {
    .netfie-desktop-header-wrap {
        display: block !important;
    }
    .app-header-wrap,
    .hdr-drawer,
    .hdr-drawer-overlay {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .netfie-desktop-header-wrap {
        display: none !important;
    }
    .app-header-wrap {
        display: block !important;
    }
    .hdr-drawer {
        display: flex !important;
    }
}


/* ==========================================================================
   FRONTEND FOOTER STYLING
   ========================================================================== */
.netfie-frontend-footer {
    width: 100%;
    background: #090d16;
    color: #ffffff;
    padding: 30px 24px 30px 24px;
    box-sizing: border-box;
    font-family: var(--font-bengali);
    margin-top: 0px !important;
    border-top: 4px solid var(--netfie-primary);
}

.netfie-frontend-footer .footer-main-widgets {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 991px) {
    .netfie-frontend-footer .footer-main-widgets {
        grid-template-columns: 1.5fr 1fr;
        gap: 40px;
    }
    .netfie-frontend-footer .newsletter-col {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .netfie-frontend-footer .footer-main-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .netfie-frontend-footer .newsletter-col {
        grid-column: span 1;
    }
}

.netfie-frontend-footer .footer-logo-container img.footer-logo {
    max-height: 55px;
    margin-bottom: 20px;
    display: block;
}

.netfie-frontend-footer .netfie-logo.text-logo {
    font-size: 28px;
    font-family: var(--font-latin);
    margin-bottom: 15px;
}

.netfie-frontend-footer .netfie-logo-bold {
    font-weight: 800;
    color: var(--netfie-primary);
}

.netfie-frontend-footer .netfie-logo-light {
    font-weight: 300;
    color: #ffffff;
}

.netfie-frontend-footer .footer-description {
    color: #9ca3af;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    max-width: 480px;
}

.netfie-frontend-footer .footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.netfie-frontend-footer .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    font-family: var(--font-latin);
    transition: all 0.3s ease;
    border: none;
}

.netfie-frontend-footer .social-icon.fb { background: #1877f2; }
.netfie-frontend-footer .social-icon.tw { background: #1da1f2; }
.netfie-frontend-footer .social-icon.yt { background: #ff0000; }
.netfie-frontend-footer .social-icon.ig { background: #e1306c; }
.netfie-frontend-footer .social-icon.ln { background: #0077b5; }

.netfie-frontend-footer .social-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 0.9;
}

.netfie-frontend-footer .footer-col-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.5px;
}

.netfie-frontend-footer .footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--netfie-primary);
    border-radius: 2px;
}

.netfie-frontend-footer .footer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.netfie-frontend-footer .footer-menu-list li a {
    text-decoration: none;
    color: #9ca3af;
    font-size: 14.5px;
    transition: all 0.2s ease;
    display: inline-block;
}

.netfie-frontend-footer .footer-menu-list li a:hover {
    color: var(--netfie-primary);
    transform: translateX(3px);
}

/* Newsletter form controls */
.netfie-frontend-footer .footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.netfie-frontend-footer .newsletter-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 6px;
    box-sizing: border-box;
    transition: all 0.3s;
}

.netfie-frontend-footer .newsletter-input:focus {
    outline: none;
    border-color: var(--netfie-primary);
    background: rgba(255, 255, 255, 0.08);
}

.netfie-frontend-footer .newsletter-btn {
    width: 100%;
    background: var(--netfie-primary);
    color: #ffffff;
    border: none;
    padding: 12px;
    font-family: var(--font-bengali);
    font-weight: 700;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.netfie-frontend-footer .newsletter-btn:hover {
    background: var(--netfie-primary-hover);
}

.netfie-frontend-footer .footer-bottom-bar {
    max-width: 1200px;
    margin: 25px auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.netfie-frontend-footer .copyright-text {
    color: #4b5563;
    font-size: 13.5px;
    margin: 0;
    font-family: var(--font-latin);
}

/* Hide scrollbars for cleaner high-end UI */
.netfie-lead-list-block::-webkit-scrollbar,
.playlist-items-scrollable::-webkit-scrollbar {
    display: none;
}
.netfie-lead-list-block,
.playlist-items-scrollable {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ==========================================================================
   RESPONSIVENESS AND MOBILE/PC OPTIMIZATIONS
   ========================================================================== */

/* Fix horizontal scrolling issue with 100vw sections on mobile */
@media (max-width: 768px) {
    .netfie-dark-video-playlist-section,
    .netfie-bottom-ticker-section {
        margin-left: -20px !important;
        margin-right: -20px !important;
        width: calc(100% + 40px) !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Ensure header elements wrap elegantly and align beautifully on mobile and tablets */
@media (max-width: 991px) {
    .netfie-frontend-header .header-main-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    .netfie-frontend-header .header-nav-menu {
        justify-content: center;
        width: 100%;
    }
    .netfie-frontend-header .header-menu-list {
        justify-content: center;
        gap: 15px 20px;
    }
}

@media (max-width: 576px) {
    .netfie-frontend-header .header-menu-list {
        gap: 10px 15px;
    }
    .netfie-frontend-header .header-menu-list li a {
        font-size: 14px;
    }
    .netfie-frontend-header .header-social-links {
        justify-content: center;
        width: 100%;
        margin-top: 5px;
    }
}

/* Ad slots responsiveness & Mobile Demo Ads Removal */
@media (max-width: 768px) {
    .netfie-ad-demo-box-slot,
    .netfie-ad-is-demo,
    .demo-ad,
    .ad-placeholder-sidebar,
    .ad-placeholder-vertical,
    .netfie-ad-header-slot.demo-ad,
    .netfie-ad-mid-slot.demo-ad {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
    }
}

/* Stacked cards on very small screens */
@media (max-width: 480px) {
    .stacked-card-link {
        flex-direction: column;
        gap: 10px;
    }
    .stacked-img-wrapper {
        width: 100%;
        height: auto;
        padding-top: 56.25%; /* 16:9 ratio */
        position: relative;
    }
    .stacked-img-wrapper img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .netfie-list-link {
        gap: 10px;
    }
    .netfie-list-thumb {
        width: 70px;
        height: 55px;
    }
}

/* Fix any container padding on extremely small devices */
@media (max-width: 360px) {
    .netfie-npb-layout-container {
        padding: 0px 10px 10px 10px;
    }
    .netfie-dark-video-playlist-section,
    .netfie-bottom-ticker-section {
        margin-left: -10px !important;
        margin-right: -10px !important;
        width: calc(100% + 20px) !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* ==========================================================================
   SIDEBAR LOCATION OVERRIDES
   ========================================================================== */
.netfie-portal-sidebar .four-column-grid,
.netfie-portal-sidebar .three-split-grid,
.netfie-portal-sidebar .middle-hero-grid,
.netfie-portal-sidebar .netfie-lead-grid-wrapper,
.netfie-portal-sidebar .impact-grid-wrapper,
.netfie-portal-sidebar .split-list-grid-wrapper,
.netfie-portal-sidebar .netfie-sub-lead-grid,
.netfie-portal-sidebar .netfie-photo-collage-grid,
.netfie-portal-sidebar .video-playlist-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 15px !important;
}

.netfie-portal-sidebar .split-col,
.netfie-portal-sidebar .mid-side-col,
.netfie-portal-sidebar .mid-large-col,
.netfie-portal-sidebar .impact-lead-card,
.netfie-portal-sidebar .impact-sub-grid,
.netfie-portal-sidebar .split-stacked-cards,
.netfie-portal-sidebar .split-list-items {
    width: 100% !important;
    max-width: 100% !important;
}

.netfie-portal-sidebar .collage-tile {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    height: 180px !important;
}

.netfie-portal-sidebar .netfie-grid-card,
.netfie-portal-sidebar .impact-sub-card,
.netfie-portal-sidebar .mid-side-card,
.netfie-portal-sidebar .netfie-sub-lead-card {
    width: 100% !important;
}

.netfie-portal-sidebar .netfie-custom-section {
    border: 1px solid var(--netfie-border);
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    margin-bottom: 20px;
}

/* ==========================================================================
   ADDITIONAL MOBILE RESPONSIVENESS OVERRIDES (NON-DESTRUCTIVE)
   ========================================================================== */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.netfie-npb-layout-container,
.netfie-frontend-header,
.netfie-frontend-footer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 991px) {
    .netfie-lead-grid-wrapper {
        grid-template-columns: 1fr !important;
    }
    .middle-hero-grid {
        grid-template-columns: 1fr !important;
    }
    .three-split-grid {
        grid-template-columns: 1fr !important;
    }
    .netfie-photo-collage-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: auto !important;
    }
    .tile-1, .tile-4 {
        grid-column: span 2 !important;
    }
    .tile-2, .tile-3 {
        grid-column: span 1 !important;
    }
    /* Stop 100vw calculations from overflowing on mobile */
    .netfie-dark-video-playlist-section,
    .netfie-bottom-ticker-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 576px) {
    .netfie-section {
        margin-bottom: 22px !important;
    }
    .netfie-npb-layout-container {
        padding: 0px 10px 10px 10px !important;
    }
    .impact-sub-grid {
        grid-template-columns: 1fr !important;
    }
    .netfie-photo-collage-grid {
        grid-template-columns: 1fr !important;
    }
    .tile-1, .tile-2, .tile-3, .tile-4 {
        grid-column: span 1 !important;
        height: 160px !important;
    }
    .netfie-section-title {
        font-size: 18px !important;
    }
    .netfie-lead-title {
        font-size: 20px !important;
    }
    .netfie-portal-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    /* Reduce height of main post card images on mobile */
    .netfie-card-img-wrapper {
        max-width: 100% !important;
        padding-top: 50% !important;
    }
}

/* ==========================================================================
   MOBILE VIEW NEWS APP DESIGN SYSTEM (ALL 22 SECTIONS)
   ========================================================================== */
@media (max-width: 768px) {
    /* Hide headers on mobile */
    .netfie-frontend-header,
    header,
    .site-header {
        display: none !important;
    }

    /* Set app-like background and content margins */
    .netfie-npb-layout-container {
        background: #f1f5f9 !important;
        padding: 10px !important;
    }

    /* Wrap all 22 sections into clean mobile app cards */
    .netfie-section {
        background: #ffffff !important;
        border-radius: 12px !important;
        padding: 15px !important;
        margin-bottom: 16px !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
        overflow: hidden !important;
    }

    /* Ticker Section App Styling Override */
    .netfie-top-inline-ticker {
        padding: 0 !important;
        display: flex !important;
        align-items: stretch !important;
    }
    .netfie-top-inline-ticker .ticker-tag {
        background: #ef4444 !important; /* Premium news red */
        color: #fff !important;
        font-size: 11px !important;
        padding: 8px 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .netfie-top-inline-ticker .ticker-scroller-window {
        padding: 0 10px !important;
        flex-grow: 1 !important;
    }
    .netfie-top-inline-ticker .ticker-marquee-item {
        font-size: 13px !important;
    }

    /* App-style section header */
    .netfie-section-header {
        margin-bottom: 12px !important;
        border-bottom: 1px solid #f1f5f9 !important;
        padding-bottom: 8px !important;
    }
    .netfie-section-title {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        padding-right: 0 !important;
    }
    .header-line {
        display: none !important; /* Hide line graphic for app aesthetic */
    }
    .netfie-section-icon {
        width: 16px !important;
        height: 16px !important;
        margin-right: 8px !important;
    }

    /* Collapse all layout grids to stack vertically */
    .netfie-portal-grid,
    .netfie-lead-grid-wrapper,
    .netfie-sub-lead-grid,
    .three-split-grid,
    .four-column-grid,
    .impact-grid-wrapper,
    .impact-sub-grid,
    .split-list-grid-wrapper,
    .middle-hero-grid,
    .video-playlist-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* Reset columns size logic */
    .split-col,
    .mid-side-col,
    .mid-large-col,
    .impact-lead-card,
    .impact-sub-grid,
    .split-stacked-cards,
    .split-list-items {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Standard card layout elements in App */
    .netfie-card-img-wrapper {
        border-radius: 8px !important;
        padding-top: 52% !important;
        border: none !important;
    }
    .netfie-card-title, 
    .netfie-sub-lead-title, 
    .netfie-grid-title, 
    .mid-large-title, 
    .opinion-rank-title,
    .nationwide-title {
        font-size: 13.5px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        color: #1e293b !important;
        margin: 8px 0 4px 0 !important;
    }
    .netfie-card-excerpt, 
    .netfie-lead-excerpt, 
    .mid-large-excerpt {
        font-size: 12px !important;
        line-height: 1.5 !important;
        color: #64748b !important;
        margin-bottom: 8px !important;
    }
    .netfie-post-date {
        font-size: 10.5px !important;
        color: #94a3b8 !important;
    }

    /* App List row transformation: Image on right, Text content on left */
    .netfie-list-link,
    .split-list-link,
    .stacked-card-link {
        display: flex !important;
        flex-direction: row-reverse !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 12px !important;
        text-decoration: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
        padding-bottom: 10px !important;
    }
    .netfie-list-item-row:last-child .netfie-list-link,
    .split-list-item-row:last-child .split-list-link,
    .split-stacked-card:last-child .stacked-card-link {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
    .netfie-list-info,
    .split-list-info,
    .stacked-content {
        flex-grow: 1 !important;
    }
    .netfie-list-title,
    .split-list-title,
    .stacked-title {
        font-size: 13px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        color: #1e293b !important;
        margin: 0 0 4px 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .netfie-list-thumb,
    .split-list-thumb,
    .stacked-img-wrapper {
        width: 80px !important;
        height: 60px !important;
        border-radius: 6px !important;
        flex-shrink: 0 !important;
        position: relative !important;
        padding-top: 0 !important;
    }

    /* Video section styling */
    .main-video-info {
        padding: 12px !important;
    }
    .main-video-info h3 {
        font-size: 14.5px !important;
    }
    .playlist-row-item {
        padding: 8px !important;
    }
    .playlist-thumb {
        width: 80px !important;
        height: 50px !important;
    }
    .playlist-title {
        font-size: 12px !important;
    }
}

/* ==========================================================================
   EXPANDED ADVERTISEMENT BANNER SLOTS (ALL SIZES & LOCATIONS)
   ========================================================================== */
.netfie-ad-banner-slot {
    margin: 18px auto;
    text-align: center;
    overflow: hidden;
    position: relative;
    max-width: 100%;
}

.netfie-ad-header-slot {
    margin: 0 auto 16px auto;
    max-width: 970px;
}

.netfie-ad-after-lead-slot {
    margin: 16px 0 22px 0;
}

.netfie-ad-mid-slot {
    margin: 22px 0;
}

.netfie-ad-fullwidth-slot {
    margin: 25px auto;
    max-width: 970px;
}

.netfie-ad-prefooter-slot {
    margin: 30px auto 10px auto;
    max-width: 970px;
}

.sidebar-ad-slot-widget {
    margin-bottom: 22px;
}

.netfie-ad-image-link {
    display: inline-block;
    max-width: 100%;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.netfie-ad-image-link:hover {
    transform: scale(1.01);
    opacity: 0.96;
}

.netfie-ad-image-link img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.netfie-ad-demo-box-slot {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.netfie-ad-demo-box-slot:hover {
    border-color: var(--netfie-primary);
    background: #fff;
}

.netfie-ad-demo-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-decoration: none;
    gap: 15px;
}

.netfie-ad-demo-badge {
    background: #e2e8f0;
    color: #475569;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 3px;
    font-family: var(--font-latin);
}

.netfie-ad-demo-text {
    display: flex;
    align-items: center;
    gap: 15px;
}

.netfie-ad-demo-text .demo-sub {
    font-weight: 700;
    color: #334155;
    font-size: 13.5px;
}

.netfie-ad-demo-text .demo-btn {
    background: var(--netfie-primary);
    color: #fff;
    font-weight: 800;
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 4px;
    font-family: var(--font-latin);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   POST SECTIONS UNDER VIDEO GALLERY (SECTIONS 23, 24, 25, 26)
   ========================================================================== */

/* 1. Section 23: Bottom Magazine Hero Grid */
.bottom-magazine-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.magazine-lead-card {
    display: block;
    text-decoration: none;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid var(--netfie-border);
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.magazine-lead-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.magazine-lead-card .mag-thumb {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.magazine-lead-card .mag-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.magazine-lead-card:hover .mag-thumb img {
    transform: scale(1.04);
}

.magazine-lead-card .mag-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--netfie-primary);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    z-index: 2;
}

.magazine-lead-card .mag-body {
    padding: 16px;
}

.magazine-lead-card .mag-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--netfie-text-muted);
    margin-bottom: 6px;
}

.magazine-lead-card .mag-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--netfie-dark);
    line-height: 1.4;
    margin: 0 0 8px 0;
    transition: color 0.2s;
}

.magazine-lead-card:hover .mag-title {
    color: var(--netfie-primary);
}

.magazine-lead-card .mag-excerpt {
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.55;
    margin: 0;
}

.magazine-side-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
}

.magazine-side-card {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid var(--netfie-border);
    border-radius: 8px;
    padding: 8px 10px;
    transition: all 0.2s;
}

.magazine-side-card:hover {
    border-color: var(--netfie-primary);
    background: #fafafa;
}

.magazine-side-card .side-thumb {
    width: 100px;
    height: 75px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.magazine-side-card .side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.magazine-side-card:hover .side-thumb img {
    transform: scale(1.06);
}

.magazine-side-card .side-info {
    flex-grow: 1;
}

.magazine-side-card .side-date {
    font-size: 11px;
    color: var(--netfie-text-muted);
    display: block;
    margin-bottom: 4px;
}

.magazine-side-card .side-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--netfie-dark);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.magazine-side-card:hover .side-title {
    color: var(--netfie-primary);
}

/* 2. Section 24: District / Regional 4-Column Grid */
.district-four-col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.district-col-card {
    background: #ffffff;
    border: 1px solid var(--netfie-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.district-col-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.district-card-link {
    display: block;
    text-decoration: none;
}

.district-col-card .district-thumb {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.district-col-card .district-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.district-col-card:hover .district-thumb img {
    transform: scale(1.05);
}

.district-col-card .district-body {
    padding: 12px;
}

.district-col-card .district-date {
    font-size: 11px;
    color: var(--netfie-text-muted);
    display: block;
    margin-bottom: 4px;
}

.district-col-card .district-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--netfie-dark);
    line-height: 1.4;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.district-col-card:hover .district-title {
    color: var(--netfie-primary);
}

.district-col-card .district-excerpt {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 3. Section 25: Technology & Science 3-Column Modern Grid */
.tech-three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.tech-col-card {
    background: #ffffff;
    border: 1px solid var(--netfie-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tech-col-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.tech-card-link {
    display: block;
    text-decoration: none;
}

.tech-col-card .tech-thumb {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.tech-col-card .tech-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tech-col-card:hover .tech-thumb img {
    transform: scale(1.05);
}

.tech-col-card .tech-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.85);
    color: #38bdf8;
    font-family: var(--font-latin);
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 3px;
    backdrop-filter: blur(4px);
}

.tech-col-card .tech-body {
    padding: 14px;
}

.tech-col-card .tech-date {
    font-size: 11.5px;
    color: var(--netfie-text-muted);
    display: block;
    margin-bottom: 5px;
}

.tech-col-card .tech-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--netfie-dark);
    line-height: 1.4;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.tech-col-card:hover .tech-title {
    color: var(--netfie-primary);
}

.tech-col-card .tech-excerpt {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 4. Section 26: More News & AJAX Load More Grid */
.more-news-four-col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.more-news-col-card {
    background: #ffffff;
    border: 1px solid var(--netfie-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.more-news-col-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.more-card-link {
    display: block;
    text-decoration: none;
}

.more-news-col-card .more-thumb {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.more-news-col-card .more-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.more-news-col-card:hover .more-thumb img {
    transform: scale(1.05);
}

.more-news-col-card .more-body {
    padding: 12px;
}

.more-news-col-card .more-date {
    font-size: 11px;
    color: var(--netfie-text-muted);
    display: block;
    margin-bottom: 4px;
}

.more-news-col-card .more-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--netfie-dark);
    line-height: 1.4;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.more-news-col-card:hover .more-title {
    color: var(--netfie-primary);
}

.more-news-col-card .more-excerpt {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.netfie-load-more-wrapper {
    text-align: center;
    margin: 25px 0 10px 0;
}

.netfie-load-more-btn {
    background: var(--netfie-primary);
    color: #ffffff;
    border: none;
    padding: 11px 28px;
    border-radius: 25px;
    font-family: var(--font-bengali);
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 3px 8px rgba(249, 115, 22, 0.25);
    transition: all 0.25s ease;
}

.netfie-load-more-btn:hover {
    background: var(--netfie-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(249, 115, 22, 0.35);
}

.netfie-load-more-btn.ajax-loading .load-more-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

.netfie-card-fade-in {
    animation: netfieFadeUp 0.4s ease forwards;
}

@keyframes netfieFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive breakdowns for bottom sections */
@media (max-width: 991px) {
    .bottom-magazine-grid {
        grid-template-columns: 1fr;
    }
    .district-four-col-grid,
    .more-news-four-col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tech-three-col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .district-four-col-grid,
    .more-news-four-col-grid,
    .tech-three-col-grid {
        grid-template-columns: 1fr;
    }
}

/* Fallback SVG handling for bottom section thumbnails */
.mag-thumb .netfie-placeholder-svg,
.side-thumb .netfie-placeholder-svg,
.district-thumb .netfie-placeholder-svg,
.tech-thumb .netfie-placeholder-svg,
.more-thumb .netfie-placeholder-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mag-thumb .netfie-placeholder-svg svg,
.side-thumb .netfie-placeholder-svg svg,
.district-thumb .netfie-placeholder-svg svg,
.tech-thumb .netfie-placeholder-svg svg,
.more-thumb .netfie-placeholder-svg svg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* =========================================================================
   HEADER RIGHT & STICKY BOTTOM FLOATING AD STYLING
   ========================================================================= */
.header-right-ad-slot {
    margin-left: auto;
    display: flex;
    align-items: center;
    max-height: 80px;
    overflow: hidden;
}

.header-right-ad-slot img {
    max-height: 70px;
    width: auto;
    border-radius: 4px;
}

.netfie-sticky-bottom-ad-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    padding: 8px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: netfieSlideUp 0.4s ease-out;
}

@keyframes netfieSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.sticky-ad-inner {
    position: relative;
    max-width: 970px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sticky-ad-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 26px;
    height: 26px;
    background: #dc2626;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: background 0.15s ease, transform 0.15s ease;
    z-index: 100;
}

.sticky-ad-close:hover {
    background: #b91c1c;
    transform: scale(1.1);
}

.netfie-sticky-bottom-ad-bar .netfie-ad-banner-slot {
    margin: 0;
    max-height: 90px;
}

.netfie-sticky-bottom-ad-bar .netfie-ad-banner-slot img {
    max-height: 90px;
    width: auto;
}

@media (max-width: 768px) {
    .header-right-ad-slot {
        display: none;
    }
    .netfie-sticky-bottom-ad-bar {
        padding: 6px 10px;
    }
}

/* ==========================================================================
   DYNAMIC CUSTOM SECTIONS (5 MODERN LAYOUTS)
   ========================================================================== */

/* 1. 4-Column Grid */
.custom-grid4-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.custom-grid-card {
    display: block;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid var(--netfie-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.custom-grid-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--netfie-primary);
}

.custom-card-thumb {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
    background: #f1f5f9;
}

.custom-card-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-grid-card:hover .custom-card-thumb img,
.custom-lead-card:hover .custom-lead-thumb img,
.custom-split-card:hover .custom-split-thumb img,
.custom-overlay-card:hover .custom-overlay-thumb img,
.custom-list-item:hover .custom-list-thumb img {
    transform: scale(1.05);
}

.custom-card-badge,
.custom-lead-badge,
.custom-overlay-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.custom-card-body {
    padding: 12px;
}

.custom-card-date {
    font-size: 11.5px;
    color: var(--netfie-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.custom-card-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--netfie-dark);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.custom-grid-card:hover .custom-card-title,
.custom-lead-card:hover .custom-lead-title,
.custom-side-card:hover .custom-side-title,
.custom-split-card:hover .custom-split-title,
.custom-list-item:hover .custom-list-title {
    color: var(--netfie-primary);
}

/* 2. Lead + Side Stack List */
.custom-lead-list-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.custom-lead-card {
    display: block;
    text-decoration: none;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--netfie-border);
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.custom-lead-thumb {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.custom-lead-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.custom-lead-body {
    padding: 16px;
}

.custom-lead-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--netfie-dark);
    line-height: 1.35;
    margin: 0 0 8px 0;
    transition: color 0.2s;
}

.custom-lead-excerpt {
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
}

.custom-side-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
}

.custom-side-card {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid var(--netfie-border);
    border-radius: 8px;
    padding: 8px 10px;
    transition: all 0.2s;
}

.custom-side-card:hover {
    border-color: var(--netfie-primary);
    background: #fafafa;
}

.custom-side-thumb {
    width: 90px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.custom-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-side-info {
    flex-grow: 1;
}

.custom-side-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--netfie-dark);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 3. 2-Column Split */
.custom-split2-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.custom-split-card {
    display: block;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid var(--netfie-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
}

.custom-split-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--netfie-primary);
}

.custom-split-thumb {
    position: relative;
    padding-top: 55%;
    overflow: hidden;
}

.custom-split-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-split-body {
    padding: 14px;
}

.custom-split-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--netfie-dark);
    line-height: 1.4;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.custom-split-excerpt {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* 4. Overlay Magazine */
.custom-overlay-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.custom-overlay-card {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    height: 240px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.custom-overlay-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.custom-overlay-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.custom-overlay-shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%);
}

.custom-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 2;
}

.custom-overlay-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin: 8px 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.custom-overlay-date {
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
}

/* 5. Compact Thumbnail List */
.custom-list-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid var(--netfie-border);
    border-radius: 6px;
    padding: 8px 10px;
    transition: all 0.15s ease;
}

.custom-list-item:hover {
    border-color: var(--netfie-primary);
    background: #fafafa;
}

.custom-list-thumb {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.custom-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-list-content {
    flex-grow: 1;
}

.custom-list-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--netfie-dark);
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 991px) {
    .custom-grid4-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .custom-lead-list-container {
        grid-template-columns: 1fr;
    }
    .custom-overlay-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .custom-grid4-container,
    .custom-split2-container,
    .custom-overlay-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   NETFIE SINGLE POST UI - COMPLETE MODERN STYLING
   ========================================================================== */
.netfie-single-post-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px 20px 40px 20px;
    font-family: var(--font-bengali);
    box-sizing: border-box;
    color: var(--netfie-dark);
}

/* 1. Breadcrumbs */
.netfie-single-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8fafc;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #64748b;
    border: 1px solid #e2e8f0;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.netfie-single-breadcrumb a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
}

.netfie-single-breadcrumb a:hover {
    color: var(--netfie-primary);
}

.netfie-single-breadcrumb .crumb-separator {
    color: #cbd5e1;
}

.netfie-single-breadcrumb .crumb-current {
    color: #64748b;
    font-weight: 500;
}

/* 2. Grid Container Layout Modes */
.netfie-single-grid-container {
    display: grid;
    grid-template-columns: minmax(180px, 210px) minmax(0, 1fr) minmax(280px, 330px);
    gap: 26px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

/* 3-Column Layout (Default) */
.netfie-single-grid-container.layout-grid-3_column {
    display: grid;
    grid-template-columns: minmax(180px, 210px) minmax(0, 1fr) minmax(280px, 330px);
    gap: 26px;
}

/* 2-Column Layout (Right Sidebar) */
.netfie-single-grid-container.layout-grid-2_column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 28px;
}

/* 1-Column Layout (Full Width / Centered Reading) */
.netfie-single-grid-container.layout-grid-1_column {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.netfie-single-layout-1_column .netfie-single-main-col {
    max-width: 880px;
    margin: 0 auto;
}

/* 3. Left Column (Floating / Sticky) */
.netfie-single-left-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}

.netfie-left-share-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.share-box-header {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f5f9;
}

.share-btn-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-left-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 5px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-left-share svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.btn-left-share.share-fb { background: #1877f2; }
.btn-left-share.share-fb:hover { background: #0c63d4; }
.btn-left-share.share-wa { background: #25d366; }
.btn-left-share.share-wa:hover { background: #1ebc59; }
.btn-left-share.share-x { background: #000000; }
.btn-left-share.share-x:hover { background: #333333; }
.btn-left-share.share-copy { background: #334155; }
.btn-left-share.share-copy:hover { background: #1e293b; }

/* Category Top News Card */
.netfie-left-category-top-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.category-top-header {
    background: #0f172a;
    color: #ffffff;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-top-header h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.category-top-list {
    display: flex;
    flex-direction: column;
}

.category-top-item {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    align-items: flex-start;
}

.category-top-item:last-child {
    border-bottom: none;
}

.top-rank-badge {
    font-size: 13px;
    font-weight: 800;
    color: #ef4444;
    font-family: var(--font-bengali);
    flex-shrink: 0;
    margin-top: 1px;
}

.top-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.top-item-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}

.top-item-title:hover {
    color: var(--netfie-primary);
}

.top-item-time {
    font-size: 10.5px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 3px;
}

.top-item-time .dashicons {
    font-size: 11px;
    width: 11px;
    height: 11px;
}

/* 4. Main Article Column */
.netfie-single-main-col {
    min-width: 0;
}

.netfie-single-article-content-card {
    background: #ffffff;
    border-radius: 8px;
}

.article-cat-badge-wrap {
    margin-bottom: 10px;
}

.article-cat-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-decoration: none;
    border-left: 3px solid var(--netfie-primary);
    transition: all 0.15s;
}

.article-cat-badge:hover {
    background: var(--netfie-primary);
    color: #ffffff;
}

.single-article-headline {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
    margin: 0 0 14px 0;
}

.single-article-lead-excerpt {
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.single-article-lead-excerpt p {
    margin: 0;
}

/* Sub-headline from ACF / Soledad theme (penci_post_sub_title) */
.single-article-subtitle {
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.single-article-subtitle h2,
.single-article-subtitle .sub-headline-text {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.55;
    color: #475569;
    margin: 0;
}

/* Smooth font transitions for Headline, Subtitle, and Body */
.single-article-headline,
.single-article-subtitle,
.single-article-subtitle h2,
.single-article-subtitle .sub-headline-text,
.single-article-body-text,
.single-article-body-text p {
    transition: font-size 0.2s ease, line-height 0.2s ease;
}

/* Proportional Controlled Font Growth */
.netfie-single-post-wrapper.font-scale-small .single-article-headline {
    font-size: 26px;
    line-height: 1.32;
}
.netfie-single-post-wrapper.font-scale-small .single-article-subtitle h2,
.netfie-single-post-wrapper.font-scale-small .sub-headline-text {
    font-size: 16.5px;
    line-height: 1.5;
}

.netfie-single-post-wrapper.font-scale-large .single-article-headline {
    font-size: 34px;
    line-height: 1.38;
}
.netfie-single-post-wrapper.font-scale-large .single-article-subtitle h2,
.netfie-single-post-wrapper.font-scale-large .sub-headline-text {
    font-size: 22px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .netfie-single-post-wrapper.font-scale-small .single-article-headline {
        font-size: 19px !important;
    }
    .netfie-single-post-wrapper.font-scale-small .single-article-subtitle h2,
    .netfie-single-post-wrapper.font-scale-small .sub-headline-text {
        font-size: 14.5px !important;
    }
    .netfie-single-post-wrapper.font-scale-large .single-article-headline {
        font-size: 25px !important;
    }
    .netfie-single-post-wrapper.font-scale-large .single-article-subtitle h2,
    .netfie-single-post-wrapper.font-scale-large .sub-headline-text {
        font-size: 18px !important;
    }
}

/* Meta Bar */
.single-article-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 14px;
    font-size: 12.5px;
    color: #64748b;
}

.meta-left-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.meta-left-group .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.meta-left-group .meta-item .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: #94a3b8;
}

/* Font Resizer Tools */
.font-resizer-tools {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 2px 6px;
}

.font-resizer-tools .resizer-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-right: 2px;
}

.font-resizer-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    color: #334155;
    transition: all 0.15s;
    line-height: 1.2;
}

.font-resizer-btn:hover,
.font-resizer-btn.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

/* Share Toolbar */
.single-article-share-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.share-toolbar-label {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.share-toolbar-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.2;
}

.tool-btn svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

.btn-share-fb { background: #1877f2; }
.btn-share-fb:hover { background: #0c63d4; }
.btn-share-wa { background: #25d366; }
.btn-share-wa:hover { background: #1ebc59; }
.btn-share-x { background: #000000; padding: 5px 8px; }
.btn-share-x:hover { background: #333333; }
.btn-share-li { background: #0a66c2; padding: 5px 8px; }
.btn-share-li:hover { background: #084e96; }
.btn-tool-copy { background: #64748b; padding: 5px 8px; }
.btn-tool-copy:hover { background: #475569; }
.btn-tool-print { background: #dc2626; }
.btn-tool-print:hover { background: #b91c1c; }
.btn-tool-photocard { background: #d97706; }
.btn-tool-photocard:hover { background: #b45309; }

.tool-btn .dashicons {
    font-size: 13px;
    width: 13px;
    height: 13px;
}

/* Featured Image Box */
.single-featured-image-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    background: #0f172a;
}

.single-main-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.img-watermark-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(185, 28, 28, 0.85);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.single-img-caption {
    font-size: 12.5px;
    color: #64748b;
    padding: 8px 12px;
    background: #f8fafc;
    font-style: italic;
    border-bottom: 1px solid #e2e8f0;
}

/* Article Body */
.single-article-body-text {
    font-size: 18px;
    line-height: 1.85;
    color: #1e293b;
    margin-bottom: 30px;
    transition: font-size 0.2s ease;
}

.single-article-body-text p,
.single-article-body-text span,
.single-article-body-text div,
.single-article-body-text li {
    font-size: inherit;
    line-height: inherit;
}

.single-article-body-text p {
    margin-bottom: 18px;
}

.single-article-body-text h2,
.single-article-body-text h3,
.single-article-body-text h4 {
    color: #0f172a;
    font-weight: 800;
    margin: 24px 0 12px 0;
}

.single-article-body-text blockquote {
    margin: 20px 0;
    padding: 14px 18px;
    background: #fff7ed;
    border-left: 4px solid #f97316;
    border-radius: 0 6px 6px 0;
    font-size: 17px;
    font-weight: 600;
    color: #9a3412;
}

/* Complete Responsive Images & Media System */
.single-article-body-text img,
.single-article-content-card img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 6px;
    box-sizing: border-box;
}

/* WordPress Figures, Captions & Image Blocks */
.single-article-body-text figure,
.single-article-body-text .wp-block-image,
.single-article-body-text .wp-caption {
    max-width: 100% !important;
    width: auto !important;
    box-sizing: border-box;
    margin: 16px auto;
}

.single-article-body-text figure img,
.single-article-body-text .wp-block-image img,
.single-article-body-text .wp-caption img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

.single-article-body-text figcaption,
.single-article-body-text .wp-caption-text,
.single-article-body-text .wp-block-image figcaption {
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
    text-align: center;
    padding: 6px 4px 0 4px;
    font-style: italic;
    box-sizing: border-box;
}

/* WordPress Galleries */
.single-article-body-text .wp-block-gallery,
.single-article-body-text .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.single-article-body-text .gallery .gallery-item {
    box-sizing: border-box;
    max-width: 100%;
}

/* Responsive Video & Embed Wrappers (16:9 Aspect Ratio) */
.single-article-body-text iframe,
.single-article-body-text embed,
.single-article-body-text object,
.single-article-body-text video {
    max-width: 100% !important;
    box-sizing: border-box;
}

.single-article-body-text iframe[src*="youtube.com"],
.single-article-body-text iframe[src*="youtu.be"],
.single-article-body-text iframe[src*="vimeo.com"],
.single-article-body-text iframe[src*="dailymotion.com"],
.single-article-body-text .wp-block-embed-youtube,
.single-article-body-text .wp-block-embed__wrapper {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
    border-radius: 8px;
}

/* Responsive Data Tables */
.single-article-body-text table {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    margin: 18px 0;
    box-sizing: border-box;
}

.single-article-body-text th,
.single-article-body-text td {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    min-width: 100px;
}

/* Text & Code Block Overflow Protection */
.single-article-body-text {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.single-article-body-text pre,
.single-article-body-text code {
    white-space: pre-wrap;
    word-break: break-all;
    max-width: 100%;
    box-sizing: border-box;
    background: #f8fafc;
    border-radius: 6px;
    padding: 8px 12px;
}

/* Third-Party Injected Elements (Buttons, Audio, Ratings, Reactions) */
.single-article-body-text .sharedaddy,
.single-article-body-text .wpeditor-content,
.single-article-body-text .wp-audio-playlist,
.single-article-body-text .mejs-container,
.single-article-body-text .wp-block-buttons,
.single-article-body-text .reaction-buttons,
.single-article-body-text .post-ratings {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-wrap: wrap !important;
    overflow-x: auto !important;
}

/* Bottom Engagement Box */
.single-bottom-engagement-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.engagement-text h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 800;
    color: #991b1b;
}

.engagement-text p {
    margin: 0;
    font-size: 12.5px;
    color: #7f1d1d;
}

.engagement-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-engage {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 5px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.15s;
}

.btn-engage svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.btn-engage.fb-engage { background: #1877f2; }
.btn-engage.fb-engage:hover { background: #0c63d4; }
.btn-engage.wa-engage { background: #25d366; }
.btn-engage.wa-engage:hover { background: #1ebc59; }
.btn-engage.comment-engage { background: #0f172a; }
.btn-engage.comment-engage:hover { background: #334155; }

/* Related News 4-Column Section */
.single-related-news-section {
    margin-bottom: 30px;
    border-top: 2px solid #0f172a;
    padding-top: 18px;
}

.related-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.related-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    border-left: 4px solid var(--netfie-primary);
    padding-left: 8px;
}

.related-view-all {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--netfie-primary);
    text-decoration: none;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.related-news-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.related-news-card:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.related-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.related-thumb-wrap {
    width: 100%;
    height: 105px;
    background: #0f172a;
    overflow: hidden;
}

.related-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-news-card:hover .related-thumb-img {
    transform: scale(1.06);
}

.related-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.related-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}

.related-news-card:hover .related-card-title {
    color: var(--netfie-primary);
}

.related-date {
    font-size: 10.5px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 3px;
}

.related-date .dashicons {
    font-size: 11px;
    width: 11px;
    height: 11px;
}

/* Bottom Ads Grid */
.single-bottom-ads-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.single-bottom-ads-grid:empty,
.single-bottom-ads-grid.demo-ads-only:empty,
.netfie-left-ad-slot:empty,
.netfie-right-ad-slot:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}

.single-bottom-ads-grid.has-single-uploaded-ad {
    grid-template-columns: 1fr !important;
}

/* 5. Right Sidebar Column */
.netfie-single-right-col {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.netfie-right-latest-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.latest-box-header {
    background: #0f172a;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title-group {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
}

.header-title-group h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
}

.live-pill-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    animation: netfiePulse 1.2s infinite;
}

@keyframes netfiePulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
    100% { opacity: 1; transform: scale(1); }
}

.latest-news-list {
    display: flex;
    flex-direction: column;
}

.latest-news-item {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
}

.latest-news-item:last-child {
    border-bottom: none;
}

.latest-item-link {
    display: flex;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    align-items: center;
}

.latest-item-thumb {
    width: 75px;
    height: 52px;
    border-radius: 4px;
    overflow: hidden;
    background: #0f172a;
    flex-shrink: 0;
}

.latest-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.latest-item-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}

.latest-item-link:hover .latest-item-title {
    color: var(--netfie-primary);
}

.latest-item-time {
    font-size: 10.5px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 3px;
}

.latest-item-time .dashicons {
    font-size: 11px;
    width: 11px;
    height: 11px;
}

/* E-Paper Promo Box */
.netfie-right-epaper-box {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 8px;
    padding: 16px 18px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.epaper-tag {
    font-size: 10px;
    font-weight: 800;
    background: #f97316;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.4px;
    display: inline-block;
    margin-bottom: 4px;
}

.epaper-header-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
}

.btn-epaper-read {
    background: #ffffff;
    color: #0f172a !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.btn-epaper-read:hover {
    background: #f97316;
    color: #ffffff !important;
}

/* Toast Tooltip for Link Copy */
.netfie-copy-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #0f172a;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    z-index: 999999;
    opacity: 0;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.netfie-copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Responsive Breakpoints & Fluid Scaling */
@media (min-width: 1400px) {
    .netfie-single-post-wrapper {
        padding: 20px 30px 50px 30px;
    }
    .netfie-single-grid-container.layout-grid-3_column {
        grid-template-columns: 210px 1fr 340px;
        gap: 30px;
    }
    .netfie-single-grid-container.layout-grid-2_column {
        grid-template-columns: 1fr 350px;
        gap: 32px;
    }
    .single-article-headline {
        font-size: 34px;
    }
}

@media (max-width: 1199px) {
    .netfie-single-post-wrapper {
        padding: 15px 16px 35px 16px;
    }
    .netfie-single-grid-container.layout-grid-3_column {
        grid-template-columns: 180px 1fr 300px;
        gap: 20px;
    }
    .netfie-single-grid-container.layout-grid-2_column {
        grid-template-columns: 1fr 300px;
        gap: 22px;
    }
}

/* ==========================================================================
   TABLET & MOBILE SCREENS (<= 991px): Clean Single Column View
   ========================================================================== */
@media (max-width: 991px) {
    .netfie-single-left-col,
    .netfie-single-right-col {
        display: none !important;
    }
    .netfie-single-grid-container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .netfie-single-post-wrapper {
        padding: 14px 16px 35px 16px;
        max-width: 100% !important;
        overflow-x: hidden;
    }
    .related-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* ==========================================================================
   MOBILE SMARTPHONES (<= 768px): Modern Mobile News Portal UX
   ========================================================================== */
@media (max-width: 768px) {
    .netfie-single-post-wrapper {
        padding: 10px 12px 30px 12px;
        box-sizing: border-box;
        overflow-x: hidden;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 1. Swipeable Fluid Breadcrumbs */
    .netfie-single-breadcrumb {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 7px 10px;
        font-size: 11.5px;
        margin-bottom: 12px;
        gap: 5px;
        align-items: center;
        border-radius: 5px;
    }
    .netfie-single-breadcrumb::-webkit-scrollbar {
        display: none;
    }
    .crumb-home, .crumb-cat, .crumb-current {
        flex-shrink: 0;
    }

    /* 2. Category Badge */
    .article-cat-badge-wrap {
        margin-bottom: 8px;
    }
    .article-cat-badge {
        font-size: 11px;
        padding: 3px 8px;
        border-radius: 3px;
    }

    /* 3. Article Headline & Sub-headline */
    .single-article-headline {
        font-size: 22px;
        line-height: 1.38;
        font-weight: 800;
        margin: 6px 0 10px 0;
        word-break: break-word;
        overflow-wrap: break-word;
        letter-spacing: -0.01em;
    }

    .single-article-subtitle {
        margin: 0 0 12px 0;
        padding-bottom: 10px;
        border-bottom: 1px solid #f1f5f9;
    }
    .single-article-subtitle h2,
    .single-article-subtitle .sub-headline-text {
        font-size: 16px;
        line-height: 1.55;
        font-weight: 600;
        color: #475569;
        word-break: break-word;
        overflow-wrap: break-word;
        margin: 0;
    }

    /* 4. Meta Bar (Reporter, Date, Time, Views, Resizer) */
    .single-article-meta-bar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 8px 0 10px 0;
        margin-bottom: 12px;
        border-top: 1px solid #f1f5f9;
        border-bottom: 1px solid #f1f5f9;
    }

    .meta-left-group {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 12px;
        font-size: 12px;
        line-height: 1.4;
        color: #64748b;
    }
    .meta-left-group .meta-author {
        font-weight: 700;
        color: #0f172a;
    }
    .meta-left-group .meta-item {
        display: inline-flex;
        align-items: center;
        gap: 3px;
    }
    .meta-left-group .meta-item .dashicons {
        font-size: 13px;
        width: 13px;
        height: 13px;
    }

    /* Touch-friendly Font Resizer on Mobile */
    .font-resizer-tools {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: #f1f5f9;
        padding: 3px 6px;
        border-radius: 6px;
        align-self: flex-start;
    }
    .resizer-label {
        font-size: 11px;
        font-weight: 700;
        margin-right: 2px;
    }
    .font-resizer-btn {
        min-height: 30px;
        min-width: 32px;
        padding: 3px 8px;
        font-size: 11px;
        border-radius: 4px;
        touch-action: manipulation;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* 5. Horizontal Smooth Swipe Share Toolbar */
    .single-article-share-toolbar {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px 0 10px 0;
        gap: 8px;
        margin-bottom: 14px;
        border-bottom: 1px solid #f1f5f9;
        align-items: center;
    }
    .single-article-share-toolbar::-webkit-scrollbar {
        display: none;
    }
    .share-toolbar-label {
        flex-shrink: 0;
        font-size: 11.5px;
        font-weight: 700;
        color: #475569;
    }
    .share-toolbar-buttons {
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
    }
    .tool-btn {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 6px 12px;
        font-size: 11.5px;
        font-weight: 600;
        min-height: 32px;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        touch-action: manipulation;
    }
    .tool-btn svg {
        width: 13px;
        height: 13px;
    }
    .tool-btn.btn-share-wa {
        background: #25d366;
        color: #ffffff !important;
        font-weight: 700;
    }
    .tool-btn.btn-tool-print {
        display: none !important; /* Hide E-Print on mobile screens */
    }

    /* 6. Featured Image Box & Watermark */
    .single-featured-image-box {
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 14px;
        width: 100% !important;
    }
    .single-main-img {
        width: 100% !important;
        height: auto !important;
        max-height: 300px;
        object-fit: cover;
        border-radius: 8px;
        display: block;
    }
    .img-watermark-badge {
        bottom: 8px;
        right: 8px;
        font-size: 9.5px;
        padding: 2px 6px;
        border-radius: 3px;
    }
    .single-img-caption {
        font-size: 11.5px;
        line-height: 1.45;
        color: #64748b;
        padding: 6px 2px 0 2px;
    }

    /* 7. Article Body Typography & Element Safeguards */
    .single-article-body-text {
        font-size: 17px;
        line-height: 1.85;
        color: #1e293b;
        margin-bottom: 22px;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .single-article-body-text p {
        margin-bottom: 16px;
    }
    .single-article-body-text h2 {
        font-size: 20px;
        line-height: 1.4;
        margin: 20px 0 10px 0;
    }
    .single-article-body-text h3 {
        font-size: 18px;
        line-height: 1.4;
        margin: 18px 0 8px 0;
    }
    .single-article-body-text h4 {
        font-size: 16px;
        line-height: 1.4;
        margin: 16px 0 6px 0;
    }
    .single-article-body-text blockquote {
        margin: 16px 0;
        padding: 10px 14px;
        font-size: 15px;
        line-height: 1.7;
        border-left: 4px solid var(--netfie-primary);
        background: #f8fafc;
        border-radius: 0 6px 6px 0;
    }

    /* Fluid Responsive Media Safeguards inside Body */
    .single-article-body-text img,
    .single-article-body-text figure,
    .single-article-body-text video,
    .single-article-body-text embed,
    .single-article-body-text object {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box;
    }

    /* Reset Float Alignments on Mobile (Prevents Squished Text alongside images) */
    .single-article-body-text .alignleft,
    .single-article-body-text .alignright,
    .single-article-body-text .aligncenter,
    .single-article-body-text .alignnone {
        float: none !important;
        display: block !important;
        margin: 14px auto !important;
        max-width: 100% !important;
        width: 100% !important;
        clear: both !important;
    }

    /* Force WordPress Captions and Figures to 100% Fluid Width on Mobile */
    .single-article-body-text .wp-caption,
    .single-article-body-text figure,
    .single-article-body-text .wp-block-image {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        clear: both !important;
    }

    .single-article-body-text .wp-caption img,
    .single-article-body-text figure img,
    .single-article-body-text .wp-block-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* Mobile Galleries: Clean 2-column or 1-column */
    .single-article-body-text .wp-block-gallery,
    .single-article-body-text .gallery {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .single-article-body-text .gallery .gallery-item {
        width: 100% !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    .single-article-body-text iframe {
        max-width: 100% !important;
        box-sizing: border-box;
    }
    .single-article-body-text table {
        display: block;
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-collapse: collapse;
    }
    .single-article-body-text pre,
    .single-article-body-text code {
        white-space: pre-wrap;
        word-break: break-all;
        max-width: 100%;
    }

    /* 8. Bottom Social Engagement Box */
    .single-bottom-engagement-box {
        padding: 14px 12px;
        border-radius: 8px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        text-align: center;
        margin-bottom: 22px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
    }
    .engagement-text h4 {
        font-size: 13.5px;
        margin: 0 0 4px 0;
    }
    .engagement-text p {
        font-size: 11.5px;
        margin: 0;
        color: #64748b;
    }
    .engagement-actions {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }
    .btn-engage {
        flex: 1 1 110px;
        min-height: 38px;
        justify-content: center;
        padding: 6px 10px;
        font-size: 12px;
        font-weight: 700;
        border-radius: 6px;
    }

    /* 9. Sleek Related News Feed on Mobile */
    .single-related-news-section {
        margin-bottom: 22px;
        padding-top: 14px;
        border-top: 2px solid #f1f5f9;
    }
    .related-section-header {
        margin-bottom: 12px;
    }
    .related-title {
        font-size: 15.5px;
    }
    .related-view-all {
        font-size: 11.5px;
    }
    .related-news-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .related-news-card {
        background: #ffffff;
        border-radius: 8px;
        border: 1px solid #f1f5f9;
        box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    }
    .related-news-card .related-card-link {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 8px;
        text-decoration: none;
    }
    .related-thumb-wrap {
        width: 90px;
        min-width: 90px;
        height: 66px;
        border-radius: 6px;
        overflow: hidden;
        flex-shrink: 0;
    }
    .related-thumb-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .related-body {
        flex: 1;
        padding: 0;
        min-width: 0;
    }
    .related-card-title {
        font-size: 13px;
        font-weight: 700;
        line-height: 1.35;
        color: #0f172a;
        margin: 0 0 4px 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .related-date {
        font-size: 10.5px;
        color: #94a3b8;
        display: flex;
        align-items: center;
        gap: 3px;
    }

    /* 10. Bottom Ad Banners & Comments (Hide Demo Ads on Mobile) */
    .netfie-ad-demo-box-slot,
    .netfie-ad-is-demo,
    .demo-ad,
    .bottom-ad-demo-item,
    .ad-placeholder-sidebar,
    .ad-placeholder-vertical,
    .ad-placeholder-sidebar-image,
    .ad-placeholder-sidebar-yellow,
    .sidebar-ad-is-demo,
    .netfie-ad-header-slot.netfie-ad-is-demo,
    .netfie-ad-header-slot.demo-ad,
    .netfie-ad-mid-slot.netfie-ad-is-demo,
    .netfie-ad-after-lead-slot.netfie-ad-is-demo,
    .netfie-ad-prefooter-slot.netfie-ad-is-demo,
    .netfie-sticky-slot.netfie-ad-is-demo,
    .sidebar-ad-slot-widget.netfie-ad-is-demo {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        border: none !important;
        box-shadow: none !important;
        overflow: hidden !important;
        visibility: hidden !important;
    }

    .single-bottom-ads-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }

    .single-bottom-ads-grid.demo-ads-only,
    .single-bottom-ads-grid:not(:has(.netfie-ad-uploaded-slot)) {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .single-bottom-ads-grid.has-single-uploaded-ad {
        grid-template-columns: 1fr !important;
    }

    /* Uploaded Real Ads Fluid Responsive Display on Mobile */
    .netfie-ad-banner-slot.netfie-ad-uploaded-slot,
    .bottom-ad-uploaded-item,
    .netfie-ad-header-slot:not(.demo-ad):not(.netfie-ad-is-demo),
    .netfie-ad-mid-slot:not(.demo-ad):not(.netfie-ad-is-demo),
    .netfie-ad-after-lead-slot:not(.netfie-ad-is-demo),
    .netfie-ad-prefooter-slot:not(.netfie-ad-is-demo) {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        margin: 14px auto !important;
        overflow: hidden !important;
    }

    .netfie-ad-banner-slot.netfie-ad-uploaded-slot img,
    .netfie-ad-image-link img,
    .bottom-ad-uploaded-item img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
        border-radius: 6px !important;
        box-sizing: border-box !important;
    }

    .netfie-ad-banner-slot.netfie-ad-uploaded-slot iframe,
    .netfie-ad-banner-slot.netfie-ad-uploaded-slot ins {
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .single-comments-wrapper {
        margin-top: 20px;
        width: 100%;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   EXTRA SMALL SCREENS (<= 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .netfie-single-post-wrapper {
        padding: 8px 10px 24px 10px;
    }
    .single-article-headline {
        font-size: 20px;
        line-height: 1.36;
    }
    .single-article-subtitle h2,
    .single-article-subtitle .sub-headline-text {
        font-size: 15px;
    }
    .single-article-body-text {
        font-size: 16.5px;
        line-height: 1.8;
    }
    .related-thumb-wrap {
        width: 82px;
        min-width: 82px;
        height: 60px;
    }
    .related-card-title {
        font-size: 12.5px;
    }
}

/* Print Styles */
@media print {
    .netfie-single-left-col,
    .netfie-single-right-col,
    .single-article-share-toolbar,
    .font-resizer-tools,
    .single-bottom-engagement-box,
    .single-related-news-section,
    .single-bottom-ads-grid,
    .netfie-single-breadcrumb,
    header, footer, nav, #comments {
        display: none !important;
    }
    .netfie-single-grid-container {
        display: block !important;
    }
    .single-article-headline {
        font-size: 24pt !important;
        color: #000 !important;
    }
    .single-article-body-text {
        font-size: 12pt !important;
        color: #000 !important;
        line-height: 1.5 !important;
    }
}

/* ==========================================================================
   NETFIE NEWS PORTAL PREMIUM FULL-WIDTH FOOTER
   ========================================================================== */
.netfie-footer-wrapper,
.footer-wrapper {
    box-sizing: border-box;
    width: 100%;
    background-color: var(--netfie-footer-bg, #141414);
    color: var(--netfie-footer-text, #b3b3b3);
    font-size: 14px;
    line-height: 1.7;
    font-family: var(--font-bengali, 'Hind Siliguri', sans-serif);
    position: relative;
    clear: both;
    margin-top: 40px;
}

.netfie-footer-wrapper *,
.footer-wrapper * {
    box-sizing: border-box;
}

/* Dedicated Footer Advertisement Banner Container */
.footer-ad-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 35px 20px 0;
    text-align: center;
    box-sizing: border-box;
    clear: both;
}

.footer-ad-container:empty {
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 0 !important;
}

.footer-ad-container.above-footer {
    margin: 40px auto 0;
    padding: 0 20px;
}

.footer-ad-container .netfie-ad-banner-slot {
    margin: 0 auto;
}

.netfie-footer-wrapper .footer-container,
.footer-wrapper .footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
}

.netfie-footer-wrapper .footer-container.no-newsletter-col,
.footer-wrapper .footer-container.no-newsletter-col {
    grid-template-columns: 1.4fr 1fr 1fr;
}

/* Column Titles */
.netfie-footer-wrapper .footer-title,
.footer-wrapper .footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 22px 0;
    position: relative;
    display: inline-block;
    letter-spacing: -0.2px;
}

.netfie-footer-wrapper .footer-title::after,
.footer-wrapper .footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 35px;
    height: 2px;
    background: var(--netfie-footer-accent, #e5a910);
}

/* Column 1: Editorial Info */
.footer-col-1 .site-logo {
    margin-bottom: 18px;
}

.footer-col-1 .site-logo img {
    max-height: 52px;
    width: auto;
    display: block;
}

.footer-col-1 .team-info {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 0 18px 0 !important;
}

.footer-col-1 .team-info li {
    font-size: 13.5px;
    color: #cfcfcf;
    line-height: 1.7;
    margin-bottom: 4px;
    list-style: none !important;
}

.footer-col-1 .team-info li strong {
    color: #ffffff;
}

.footer-col-1 .contact-info {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 0 20px 0 !important;
    border-top: 1px solid #242424;
    padding-top: 12px;
}

.footer-col-1 .contact-info li {
    margin-bottom: 5px;
    font-size: 13.5px;
    list-style: none !important;
}

.footer-col-1 .contact-info li strong {
    color: #ffffff;
}

.footer-col-1 .contact-info li a {
    color: #cfcfcf;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col-1 .contact-info li a:hover {
    color: var(--netfie-footer-accent, #e5a910);
}

/* Social Media Icons */
.footer-wrapper .social-links,
.netfie-footer-wrapper .social-links {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-wrapper .social-links a,
.netfie-footer-wrapper .social-links a {
    width: 34px;
    height: 34px;
    background-color: #222222;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-decoration: none !important;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-wrapper .social-links a:hover,
.netfie-footer-wrapper .social-links a:hover {
    background-color: var(--netfie-footer-accent, #e5a910);
    color: #000000 !important;
    transform: translateY(-2px);
}

/* Columns 2 & 3: Links */
.footer-wrapper .footer-links,
.netfie-footer-wrapper .footer-links {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.footer-wrapper .footer-links li,
.netfie-footer-wrapper .footer-links li {
    margin-bottom: 9px;
    list-style: none !important;
    position: relative;
}

.footer-wrapper .footer-links a,
.netfie-footer-wrapper .footer-links a {
    color: #cfcfcf !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: color 0.3s, transform 0.2s;
}

.footer-wrapper .footer-links a i,
.netfie-footer-wrapper .footer-links a i {
    font-size: 10px;
    color: var(--netfie-footer-accent, #e5a910);
    transition: transform 0.2s;
}

.footer-wrapper .footer-links a:hover,
.netfie-footer-wrapper .footer-links a:hover {
    color: var(--netfie-footer-accent, #e5a910) !important;
    transform: translateX(-2px);
}

/* Footer Sub Menu Under Main Menu */
.footer-wrapper .footer-links .sub-menu,
.netfie-footer-wrapper .footer-links .sub-menu,
.footer-wrapper .footer-links .footer-sub-menu,
.netfie-footer-wrapper .footer-links .footer-sub-menu {
    list-style: none !important;
    padding-left: 14px !important;
    margin: 7px 0 10px 4px !important;
    border-left: 2px solid rgba(229, 169, 16, 0.4);
}

.footer-wrapper .footer-links .sub-menu li,
.netfie-footer-wrapper .footer-links .sub-menu li,
.footer-wrapper .footer-links .footer-sub-menu li,
.netfie-footer-wrapper .footer-links .footer-sub-menu li {
    margin-bottom: 6px !important;
    list-style: none !important;
}

.footer-wrapper .footer-links .sub-menu a,
.netfie-footer-wrapper .footer-links .sub-menu a,
.footer-wrapper .footer-links .footer-sub-menu a,
.netfie-footer-wrapper .footer-links .footer-sub-menu a {
    color: #a8a8a8 !important;
    font-size: 13px !important;
    gap: 6px !important;
    font-weight: 500;
}

.footer-wrapper .footer-links .sub-menu a i,
.netfie-footer-wrapper .footer-links .sub-menu a i,
.footer-wrapper .footer-links .footer-sub-menu a i,
.netfie-footer-wrapper .footer-links .footer-sub-menu a i {
    font-size: 8px !important;
    color: var(--netfie-footer-accent, #e5a910);
    opacity: 0.8;
}

.footer-wrapper .footer-links .sub-menu a:hover,
.netfie-footer-wrapper .footer-links .sub-menu a:hover,
.footer-wrapper .footer-links .footer-sub-menu a:hover,
.netfie-footer-wrapper .footer-links .footer-sub-menu a:hover {
    color: var(--netfie-footer-accent, #e5a910) !important;
    transform: translateX(3px) !important;
}

/* Column 4: Newsletter */
.footer-wrapper .newsletter-desc,
.netfie-footer-wrapper .newsletter-desc {
    color: #b5b5b5;
    margin: 0 0 18px 0;
    font-size: 13.5px;
    line-height: 1.6;
}

.footer-wrapper .newsletter-form,
.netfie-footer-wrapper .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-wrapper .newsletter-form input[type="email"],
.netfie-footer-wrapper .newsletter-form input[type="email"] {
    width: 100% !important;
    padding: 12px 16px !important;
    background: #1c1c1c !important;
    border: 1px solid #2d2d2d !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.3s;
}

.footer-wrapper .newsletter-form input[type="email"]:focus,
.netfie-footer-wrapper .newsletter-form input[type="email"]:focus {
    border-color: var(--netfie-footer-accent, #e5a910) !important;
    box-shadow: 0 0 0 2px rgba(229, 169, 16, 0.2) !important;
}

.footer-wrapper .newsletter-form input[type="email"]::placeholder,
.netfie-footer-wrapper .newsletter-form input[type="email"]::placeholder {
    color: #777777;
}

.footer-wrapper .newsletter-form button,
.netfie-footer-wrapper .newsletter-form button {
    width: 100% !important;
    padding: 12px !important;
    background-color: var(--netfie-footer-accent, #e5a910) !important;
    border: none !important;
    border-radius: 6px !important;
    color: #111111 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s, transform 0.2s;
}

.footer-wrapper .newsletter-form button:hover,
.netfie-footer-wrapper .newsletter-form button:hover {
    filter: brightness(0.92);
    transform: translateY(-1px);
}

/* Bottom Bar (Centered Copyright) */
.footer-wrapper .footer-bottom,
.netfie-footer-wrapper .footer-bottom {
    border-top: 1px solid #232323;
    padding: 20px;
    text-align: center;
}

.footer-wrapper .footer-bottom-container,
.netfie-footer-wrapper .footer-bottom-container {
    max-width: 1320px;
    margin: 0 auto;
    font-size: 13.5px;
    color: #999999;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .netfie-footer-wrapper .footer-container,
    .footer-wrapper .footer-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .netfie-footer-wrapper .footer-container,
    .footer-wrapper .footer-container {
        grid-template-columns: 1fr !important;
        padding: 40px 16px 30px;
        gap: 28px;
    }
    .footer-col-1 .site-logo h2 {
        font-size: 22px !important;
    }
    .footer-wrapper .footer-bottom,
    .netfie-footer-wrapper .footer-bottom {
        padding: 16px;
    }
    .footer-wrapper .footer-bottom-container,
    .netfie-footer-wrapper .footer-bottom-container {
        font-size: 12.5px;
    }
}





