/* ==========================================================================
   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
   ========================================================================== */
.netfie-gallery-carousel {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
}

.netfie-carousel-track {
    display: flex;
    gap: 20px;
}

.netfie-carousel-card {
    flex: 0 0 220px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--netfie-border);
    cursor: pointer;
    box-shadow: var(--netfie-card-shadow);
    transition: all 0.3s ease;
}

.netfie-carousel-card:hover {
    box-shadow: var(--netfie-card-shadow-hover);
    transform: translateY(-3px);
}

.carousel-thumb-wrapper {
    width: 100%;
    height: 125px;
    position: relative;
    background: #374151;
}

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

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(249, 115, 22, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.play-icon-overlay svg {
    width: 20px;
    height: 20px;
}

.netfie-carousel-card:hover .play-icon-overlay {
    background: #ea580c;
    transform: translate(-50%, -50%) scale(1.1);
}

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

/* ==========================================================================
   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 voting poll styles */
.poll-question {
    font-size: 15px;
    font-weight: 700;
    color: var(--netfie-dark);
    line-height: 1.5;
    margin-top: 0;
}

.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;
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

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

.poll-submit-btn {
    background: var(--netfie-primary);
    color: #fff;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    font-family: var(--font-bengali);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

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

.poll-result-bar-row {
    margin-bottom: 14px;
}

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

.progress-bar-bg {
    background: var(--netfie-border);
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    background: var(--netfie-primary);
    height: 100%;
    border-radius: 5px;
    transition: width 1.2s cubic-bezier(0.1, 1, 0.1, 1); /* Beautiful spring fill animation! */
}

.poll-thanks {
    text-align: center;
    font-size: 12.5px;
    color: #16a34a;
    font-weight: 700;
    margin-top: 15px;
}

/* 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%;
}

/* ==========================================================================
   FRONTEND HEADER STYLING
   ========================================================================== */
.netfie-frontend-header {
    width: 100%;
    background: #ffffff;
    border-top: 4px solid var(--netfie-primary);
    border-bottom: 1px solid var(--netfie-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 18px 24px;
    box-sizing: border-box;
    font-family: var(--font-bengali);
    margin-bottom: 0 !important;
}

.netfie-frontend-header .header-main-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
}

.netfie-frontend-header .header-logo-container img.header-logo {
    max-height: 50px;
    display: block;
}

.netfie-frontend-header .netfie-logo-link {
    text-decoration: none;
    font-size: 26px;
    font-family: var(--font-latin);
}

.netfie-frontend-header .netfie-logo-bold {
    font-weight: 800;
    color: var(--netfie-primary);
    letter-spacing: 0.5px;
}

.netfie-frontend-header .netfie-logo-light {
    font-weight: 300;
    color: var(--netfie-dark);
}

.netfie-frontend-header .header-nav-menu {
    display: flex;
    align-items: center;
}

.netfie-frontend-header .header-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.netfie-frontend-header .header-menu-list li {
    position: relative;
}

/* Premium Sub Menu Dropdowns */
.netfie-frontend-header .header-menu-list li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid var(--netfie-border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    border-radius: 6px;
    border-top: 3px solid var(--netfie-primary);
}

.netfie-frontend-header .header-menu-list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.netfie-frontend-header .header-menu-list li .sub-menu li {
    width: 100%;
    margin: 0;
}

.netfie-frontend-header .header-menu-list li .sub-menu li a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--netfie-dark);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.netfie-frontend-header .header-menu-list li .sub-menu li a:hover {
    background: #f3f4f6;
    color: var(--netfie-primary);
    padding-left: 24px;
}

.netfie-frontend-header .header-menu-list li .sub-menu li a::after {
    display: none;
}

.netfie-frontend-header .header-menu-list li a {
    text-decoration: none;
    color: var(--netfie-dark);
    font-weight: 700;
    font-size: 15px;
    position: relative;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.netfie-frontend-header .header-menu-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--netfie-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
}

.netfie-frontend-header .header-menu-list li a:hover {
    color: var(--netfie-primary);
}

.netfie-frontend-header .header-menu-list li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.netfie-frontend-header .header-social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.netfie-frontend-header .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f3f4f6;
    color: var(--netfie-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    font-family: var(--font-latin);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--netfie-border);
}

.netfie-frontend-header .social-icon.fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; box-shadow: 0 0 10px rgba(24,119,242,0.4); transform: translateY(-2px); }
.netfie-frontend-header .social-icon.tw:hover { background: #1da1f2; color: #fff; border-color: #1da1f2; box-shadow: 0 0 10px rgba(29,161,242,0.4); transform: translateY(-2px); }
.netfie-frontend-header .social-icon.yt:hover { background: #ff0000; color: #fff; border-color: #ff0000; box-shadow: 0 0 10px rgba(255,0,0,0.4); transform: translateY(-2px); }
.netfie-frontend-header .social-icon.ig:hover { background: #e1306c; color: #fff; border-color: #e1306c; box-shadow: 0 0 10px rgba(225,48,108,0.4); transform: translateY(-2px); }
.netfie-frontend-header .social-icon.ln:hover { background: #0077b5; color: #fff; border-color: #0077b5; box-shadow: 0 0 10px rgba(0,119,181,0.4); transform: translateY(-2px); }


/* ==========================================================================
   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;
}
