/*
Theme Name: News Pro
Theme URI: https://mayasoft.com/themes/news-pro
Author: Mayasoft
Author URI: https://mayasoft.com
Description: Tema profesional y comercial para portales de noticias, periódicos digitales y cadenas informativas inspirado en la línea visual de Fox News. Incluye Panel Lateral de Configuración total, Importador de Demo "News" con preservación de noticias e imágenes de la biblioteca, Widgets e iconos nativos para Elementor, Sticky Header y Breaking News Ticker en vivo, Panel de Tasa de Cambio (Dólar/Euro) y Precios de Combustibles en portada, y Gestor de Publicidad Estratégica (ADS) para Home y Entradas. Creado por Mayasoft.
Version: 2.8.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: news-pro
Tags: news, blog, magazine, custom-header, custom-logo, custom-menu, featured-images, theme-options, threaded-comments, two-columns, three-columns, right-sidebar, elementor
*/

:root {
    --np-navy: #003366;
    --np-navy-dark: #001833;
    --np-navy-mid: #002244;
    --np-red: #c20017;
    --np-red-dark: #990012;
    --np-gold: #facc15;
    --np-blue-light: #0284c7;
    --np-bg: #f4f5f7;
    --np-surface: #ffffff;
    --np-text: #0f172a;
    --np-text-muted: #475569;
    --np-border: #dbe2ea;
    --np-font-heading: 'Roboto Condensed', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --np-font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --np-font-serif: 'Merriweather', Georgia, serif;
    --np-container: 1280px;
    --np-radius: 6px;
    --np-shadow: 0 2px 8px rgba(0, 24, 51, 0.07);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--np-font-body);
    background-color: var(--np-bg);
    color: var(--np-text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

body.np-dark-mode {
    --np-bg: #0b1320;
    --np-surface: #132035;
    --np-text: #f1f5f9;
    --np-text-muted: #94a3b8;
    --np-border: #1e293b;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--np-red);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.np-container {
    width: 100%;
    max-width: var(--np-container);
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================================================
   1. TOP UTILITY BAR (DATE, EXCHANGE RATES, FUEL SUMMARY & SOCIAL)
   ========================================================================== */
.np-topbar {
    background-color: var(--np-navy-dark);
    color: #cbd5e1;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 0;
}

.np-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

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

.np-date-badge {
    font-family: var(--np-font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.np-top-tickers {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.np-top-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 3px 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 600;
}

.np-top-pill strong {
    color: var(--np-gold);
    font-family: var(--np-font-heading);
    letter-spacing: 0.4px;
}

.np-top-pill.np-pill-rates strong {
    color: #38bdf8;
}

.np-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.np-live-btn {
    background-color: var(--np-red);
    color: #ffffff !important;
    font-family: var(--np-font-heading);
    font-weight: 800;
    font-size: 11.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(194, 0, 23, 0.45);
}

.np-live-dot {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: np-pulse 1.4s infinite;
}

@keyframes np-pulse {
    0% { transform: scale(0.95); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.45; }
    100% { transform: scale(0.95); opacity: 1; }
}

.np-social-mini {
    display: flex;
    align-items: center;
    gap: 8px;
}

.np-social-mini a {
    color: #cbd5e1;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.07);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.np-social-mini a:hover {
    background: var(--np-red);
    color: #ffffff;
}

/* ==========================================================================
   2. MAIN FOX NEWS STYLE HEADER (BRANDING + HEADER LEADERBOARD AD)
   ========================================================================== */
.np-header-main {
    background-color: var(--np-navy);
    color: #ffffff;
    padding: 16px 0;
    position: relative;
}

.np-header-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.np-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.np-logo-mark {
    background: var(--np-red);
    color: #ffffff;
    width: 64px;
    height: 58px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--np-font-heading);
    font-weight: 900;
    line-height: 1;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.np-logo-mark .np-mark-top {
    font-size: 19px;
    letter-spacing: 0.5px;
}

.np-logo-mark .np-mark-bottom {
    font-size: 12px;
    color: var(--np-gold);
    letter-spacing: 2px;
    margin-top: 2px;
}

.np-brand-text {
    display: flex;
    flex-direction: column;
}

.np-site-title {
    font-family: var(--np-font-heading);
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1;
    text-transform: uppercase;
    color: #ffffff;
}

.np-site-title a {
    color: #ffffff;
}

.np-site-tagline {
    font-size: 11.5px;
    color: #93c5fd;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 4px;
    font-weight: 700;
}

.np-header-ad-wrap {
    flex: 1;
    max-width: 728px;
    display: flex;
    justify-content: flex-end;
}

/* ==========================================================================
   3. STICKY NAVIGATION BAR & SEARCH
   ========================================================================== */
.np-sticky-wrapper {
    position: relative;
    z-index: 999;
}

.np-sticky-wrapper.is-sticky {
    position: sticky;
    top: 0;
    z-index: 9990;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

body.admin-bar .np-sticky-wrapper.is-sticky {
    top: 32px;
}

.np-navbar {
    background-color: var(--np-navy-mid);
    border-top: 3px solid var(--np-red);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.np-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
}

.np-nav-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.np-nav-menu > li {
    position: relative;
}

.np-nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 13px;
    color: #f8fafc;
    font-family: var(--np-font-heading);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.np-nav-menu > li.current-menu-item > a,
.np-nav-menu > li.current-category-ancestor > a,
.np-nav-menu > li > a:hover {
    background-color: var(--np-red);
    color: #ffffff;
}

/* Submenus */
.np-nav-menu li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: var(--np-navy-dark);
    border-top: 3px solid var(--np-red);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: none;
    z-index: 1000;
}

.np-nav-menu li:hover > ul.sub-menu {
    display: block;
}

.np-nav-menu li ul.sub-menu li a {
    display: block;
    padding: 10px 14px;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.np-nav-menu li ul.sub-menu li a:hover {
    background: var(--np-red);
    color: #ffffff;
}

.np-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.np-icon-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s;
}

.np-icon-btn:hover {
    background: var(--np-red);
}

.np-mobile-toggle {
    display: none;
}

.np-search-dropdown {
    display: none;
    background: var(--np-navy-dark);
    padding: 14px 0;
    border-bottom: 2px solid var(--np-red);
}

.np-search-dropdown.active {
    display: block;
}

.np-search-form {
    display: flex;
    gap: 8px;
    max-width: 680px;
    margin: 0 auto;
}

.np-search-form input[type="search"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #334155;
    background: #0f172a;
    color: #ffffff;
    border-radius: 4px;
    font-size: 14px;
}

.np-search-form button {
    background: var(--np-red);
    color: #ffffff;
    border: none;
    padding: 0 20px;
    border-radius: 4px;
    font-family: var(--np-font-heading);
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

/* ==========================================================================
   4. STICKY BREAKING NEWS TICKER ("ÚLTIMA HORA")
   ========================================================================== */
.np-breaking-bar {
    background-color: var(--np-surface);
    border-bottom: 2px solid var(--np-border);
    padding: 6px 0;
}

.np-breaking-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.np-breaking-badge {
    background-color: var(--np-red);
    color: #ffffff;
    font-family: var(--np-font-heading);
    font-weight: 900;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 5px 12px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.np-breaking-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 26px;
    display: flex;
    align-items: center;
}

.np-breaking-list {
    display: flex;
    align-items: center;
    width: 100%;
}

.np-breaking-item {
    display: none;
    align-items: center;
    gap: 10px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
    font-size: 14px;
    color: var(--np-text);
    animation: np-fade-in 0.35s ease;
}

.np-breaking-item.active {
    display: flex;
}

@keyframes np-fade-in {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.np-breaking-time {
    color: var(--np-red);
    font-family: var(--np-font-heading);
    font-weight: 800;
    font-size: 12px;
    background: rgba(194, 0, 23, 0.08);
    padding: 2px 6px;
    border-radius: 3px;
    flex-shrink: 0;
}

.np-breaking-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.np-ticker-btn {
    background: var(--np-bg);
    border: 1px solid var(--np-border);
    color: var(--np-text-muted);
    width: 26px;
    height: 26px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.np-ticker-btn:hover {
    background: var(--np-navy);
    color: #ffffff;
    border-color: var(--np-navy);
}

/* ==========================================================================
   5. HOME EXCHANGE RATES & FUEL PRICES DASHBOARD BAR
   ========================================================================== */
.np-rates-fuel-strip {
    margin: 16px 0;
    background: var(--np-surface);
    border: 1px solid var(--np-border);
    border-radius: var(--np-radius);
    box-shadow: var(--np-shadow);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.np-rf-header {
    background: linear-gradient(135deg, var(--np-navy) 0%, var(--np-navy-dark) 100%);
    color: #ffffff;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 195px;
    border-right: 3px solid var(--np-red);
}

.np-rf-header span.np-rf-sub {
    color: var(--np-gold);
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.np-rf-header h3 {
    font-family: var(--np-font-heading);
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 2px;
}

.np-rf-items {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    divide-x: 1px solid var(--np-border);
}

.np-rf-card {
    padding: 10px 14px;
    border-right: 1px solid var(--np-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.np-rf-card:last-child {
    border-right: none;
}

.np-rf-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--np-text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.np-rf-label i {
    color: var(--np-navy);
}

.np-rf-value {
    font-family: var(--np-font-heading);
    font-size: 14.5px;
    font-weight: 900;
    margin-top: 3px;
    color: var(--np-text);
}

.np-rf-value.is-currency {
    color: var(--np-blue-light);
}

.np-rf-value.is-fuel {
    color: var(--np-red);
}

.np-rf-meta {
    font-size: 10px;
    color: var(--np-text-muted);
    margin-top: 1px;
}

/* ==========================================================================
   6. STRATEGIC AD SLOTS (HOME, HEADER, SIDEBAR, SINGLE POST)
   ========================================================================== */
.np-ad-slot {
    margin: 16px 0;
    text-align: center;
    position: relative;
}

.np-header-ad-wrap .np-ad-slot {
    margin: 0;
    width: 100%;
}

.np-ad-inner {
    background: var(--np-surface);
    border: 1px dashed var(--np-border);
    border-radius: var(--np-radius);
    padding: 10px;
    display: inline-block;
    max-width: 100%;
    position: relative;
}

.np-header-ad-wrap .np-ad-inner {
    background: rgba(0, 24, 51, 0.55);
    border-color: rgba(255, 255, 255, 0.16);
    width: 100%;
}

.np-ad-badge {
    display: inline-block;
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--np-text-muted);
    background: var(--np-bg);
    padding: 1px 7px;
    border-radius: 3px;
    margin-bottom: 5px;
}

.np-header-ad-wrap .np-ad-badge {
    background: var(--np-gold);
    color: #001833;
}

.np-ad-placeholder {
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.04) 0%, rgba(194, 0, 23, 0.04) 100%);
    border-radius: 4px;
}

.np-header-ad-wrap .np-ad-placeholder {
    min-height: 60px;
    background: rgba(255, 255, 255, 0.03);
    color: #e2e8f0;
}

/* ==========================================================================
   7. FOX NEWS HERO 3-COLUMN GRID (LEFT SPOTLIGHT, CENTER HERO, RIGHT LATEST)
   ========================================================================== */
.np-hero-section {
    margin: 20px 0 28px;
}

.np-hero-grid {
    display: grid;
    grid-template-columns: 280px 1fr 310px;
    gap: 20px;
    align-items: start;
}

.np-panel-box {
    background: var(--np-surface);
    border: 1px solid var(--np-border);
    border-radius: var(--np-radius);
    box-shadow: var(--np-shadow);
    overflow: hidden;
}

.np-panel-head {
    background: var(--np-navy);
    color: #ffffff;
    padding: 10px 14px;
    border-left: 5px solid var(--np-red);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.np-panel-head.is-red {
    background: var(--np-red);
    border-left-color: var(--np-navy-dark);
}

.np-panel-head h2, .np-panel-head h3 {
    font-family: var(--np-font-heading);
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 7px;
}

.np-panel-body {
    padding: 14px;
}

/* Center Big Hero Card */
.np-main-hero-card {
    background: var(--np-surface);
    border: 1px solid var(--np-border);
    border-radius: var(--np-radius);
    box-shadow: var(--np-shadow);
    overflow: hidden;
}

.np-hero-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--np-navy-dark);
    overflow: hidden;
}

.np-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.np-main-hero-card:hover .np-hero-thumb img {
    transform: scale(1.03);
}

.np-cat-tag {
    display: inline-block;
    background: var(--np-red);
    color: #ffffff !important;
    font-family: var(--np-font-heading);
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.np-hero-thumb .np-cat-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
}

.np-hero-content {
    padding: 18px 20px 20px;
    border-top: 4px solid var(--np-red);
}

.np-hero-title {
    font-family: var(--np-font-heading);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.18;
    margin-bottom: 10px;
    color: var(--np-text);
}

.np-hero-excerpt {
    color: var(--np-text-muted);
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 12px;
}

.np-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--np-text-muted);
    font-weight: 600;
}

.np-hero-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 16px;
}

.np-mini-card {
    background: var(--np-surface);
    border: 1px solid var(--np-border);
    border-radius: var(--np-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.np-mini-card-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--np-navy-dark);
}

.np-mini-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.np-mini-card-body {
    padding: 10px 12px;
}

.np-mini-card-title {
    font-family: var(--np-font-heading);
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.28;
}

/* Left & Right List Items */
.np-Compact-list li {
    padding: 11px 0;
    border-bottom: 1px solid var(--np-border);
}

.np-Compact-list li:first-child {
    padding-top: 0;
}

.np-Compact-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.np-list-cat {
    font-family: var(--np-font-heading);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--np-red);
    display: block;
    margin-bottom: 3px;
}

.np-list-title {
    font-family: var(--np-font-heading);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--np-text);
}

/* ==========================================================================
   8. CATEGORY BLOCKS (ALL 10 CATEGORIES + DARK VIDEOS SECTION)
   ========================================================================== */
.np-cat-section {
    margin: 28px 0;
}

.np-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--np-navy);
    margin-bottom: 18px;
    padding-bottom: 8px;
}

.np-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.np-section-badge {
    background: var(--np-navy);
    color: #ffffff;
    font-family: var(--np-font-heading);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 6px 14px;
    border-left: 5px solid var(--np-red);
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.np-section-more {
    font-family: var(--np-font-heading);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--np-red);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.np-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.np-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.np-grid-2-col-cats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 28px 0;
}

.np-news-card {
    background: var(--np-surface);
    border: 1px solid var(--np-border);
    border-radius: var(--np-radius);
    box-shadow: var(--np-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.np-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 24, 51, 0.12);
}

.np-card-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--np-navy-dark);
    overflow: hidden;
}

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

.np-news-card:hover .np-card-thumb img {
    transform: scale(1.04);
}

.np-card-thumb .np-cat-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 10.5px;
    padding: 3px 8px;
}

.np-card-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.np-card-title {
    font-family: var(--np-font-heading);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--np-text);
}

.np-card-excerpt {
    font-size: 13.5px;
    color: var(--np-text-muted);
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Dark Videos Broadcast Section */
.np-videos-dark-section {
    background: linear-gradient(180deg, #001833 0%, #090d16 100%);
    color: #ffffff;
    padding: 34px 0;
    margin: 32px 0;
    border-top: 4px solid var(--np-red);
    border-bottom: 4px solid var(--np-navy);
}

.np-videos-dark-section .np-section-header {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.np-videos-dark-section .np-section-badge {
    background: var(--np-red);
    border-left-color: var(--np-gold);
}

.np-videos-dark-section .np-section-more {
    color: var(--np-gold);
}

.np-videos-dark-section .np-news-card {
    background: #111c2d;
    border-color: #1e293b;
}

.np-videos-dark-section .np-card-title {
    color: #ffffff;
}

.np-videos-dark-section .np-card-title a:hover {
    color: var(--np-gold);
}

.np-videos-dark-section .np-post-meta {
    color: #94a3b8;
}

.np-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.np-play-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--np-red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 14px rgba(194, 0, 23, 0.6);
}

/* ==========================================================================
   9. SINGLE POST, ARCHIVE & SIDEBAR LAYOUT
   ========================================================================== */
.np-content-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 28px;
    margin: 26px 0 40px;
    align-items: start;
}

.np-single-article {
    background: var(--np-surface);
    border: 1px solid var(--np-border);
    border-radius: var(--np-radius);
    padding: 28px;
    box-shadow: var(--np-shadow);
}

.np-breadcrumbs {
    font-size: 12.5px;
    color: var(--np-text-muted);
    margin-bottom: 14px;
    font-weight: 600;
}

.np-single-title {
    font-family: var(--np-font-heading);
    font-size: 34px;
    font-weight: 900;
    line-height: 1.18;
    margin: 12px 0 14px;
    color: var(--np-text);
}

.np-single-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--np-border);
    border-bottom: 1px solid var(--np-border);
    margin-bottom: 20px;
}

.np-share-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.np-share-btn {
    padding: 5px 11px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.np-share-fb { background: #1877f2; }
.np-share-tw { background: #0f172a; }
.np-share-wa { background: #25d366; }

.np-single-featured {
    margin-bottom: 22px;
    border-radius: var(--np-radius);
    overflow: hidden;
}

.np-entry-content {
    font-family: var(--np-font-serif);
    font-size: 17px;
    line-height: 1.8;
    color: var(--np-text);
}

.np-entry-content p {
    margin-bottom: 18px;
}

.np-entry-content h2, .np-entry-content h3 {
    font-family: var(--np-font-heading);
    margin: 26px 0 12px;
    line-height: 1.25;
}

/* Sidebar Widgets */
.np-sidebar .widget {
    background: var(--np-surface);
    border: 1px solid var(--np-border);
    border-radius: var(--np-radius);
    padding: 18px;
    margin-bottom: 22px;
    box-shadow: var(--np-shadow);
}

.np-sidebar .widget-title {
    font-family: var(--np-font-heading);
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    background: var(--np-navy);
    color: #ffffff;
    padding: 9px 14px;
    border-left: 5px solid var(--np-red);
    margin: -18px -18px 16px -18px;
}

/* ==========================================================================
   10. FOOTER & MAYASOFT SIGNATURE
   ========================================================================== */
.np-footer {
    background-color: var(--np-navy-dark);
    color: #cbd5e1;
    border-top: 5px solid var(--np-red);
    padding-top: 42px;
    margin-top: 40px;
}

.np-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 28px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.np-footer-title {
    font-family: var(--np-font-heading);
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 16px;
    padding-left: 10px;
    border-left: 4px solid var(--np-red);
}

.np-footer-links li {
    margin-bottom: 8px;
}

.np-footer-links a {
    color: #cbd5e1;
    font-size: 14px;
}

.np-footer-links a:hover {
    color: var(--np-gold);
}

.np-footer-bottom {
    padding: 18px 0;
    background: #001024;
    font-size: 13px;
}

.np-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.np-mayasoft-signature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 5px;
    font-weight: 700;
    color: #ffffff;
}

.np-mayasoft-signature strong {
    color: var(--np-gold);
    letter-spacing: 0.4px;
}

/* ==========================================================================
   11. V2.6 & V2.7 UPGRADES: SQUARE ADS, HEADER BANNER, TOPBAR & FOOTER LOGO
   ========================================================================== */
.np-top-utility-items {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.np-top-util-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: #e2e8f0;
}

.np-top-util-item i {
    color: var(--np-gold);
}

.np-top-util-item.is-whatsapp i {
    color: #25d366;
}

.np-top-util-item a {
    color: #e2e8f0;
}

.np-top-util-item a:hover {
    color: var(--np-gold);
}

.np-brand-row-mobile {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Hidden on Desktop, visible on Mobile App View */
.np-app-drawer-trigger,
.np-mobile-app-actions,
.np-mobile-drawer,
.np-drawer-backdrop,
.np-mobile-bottom-nav {
    display: none;
}

/* Square Ads Grid & Flexible Ad Containers */
.np-square-ads-section {
    margin: 24px 0;
}

.np-square-ads-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.np-ad-slot {
    margin: 14px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.np-header-ad-wrap .np-ad-slot {
    margin: 0;
    width: 100%;
    align-items: flex-end;
}

.np-ad-card-box {
    background: var(--np-surface);
    border: 1px solid var(--np-border);
    border-radius: var(--np-radius);
    padding: 8px;
    box-shadow: var(--np-shadow);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.np-header-ad-wrap .np-ad-card-box {
    background: rgba(0, 24, 51, 0.45);
    border-color: rgba(255, 255, 255, 0.14);
    padding: 5px;
}

.np-ad-label-small {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--np-text-muted);
    margin-bottom: 4px;
    opacity: 0.75;
}

.np-header-ad-wrap .np-ad-label-small {
    color: #93c5fd;
    margin-bottom: 3px;
}

.np-ad-frame {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
}

.np-ad-frame a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.np-ad-frame img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Object-fit modes for square & custom ad images */
.np-ad-fit-cover img {
    object-fit: cover;
}

.np-ad-fit-contain img {
    object-fit: contain;
}

.np-ad-fit-fill img {
    object-fit: fill;
}

.np-ad-fit-auto img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: scale-down;
}

/* Footer Image Logo */
.np-footer-logo-img {
    display: inline-block;
    margin-bottom: 12px;
}

.np-footer-logo-img img {
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

/* ==========================================================================
   12. NATIVE MOBILE NEWS APP EXPERIENCE (TABLETS & SMARTPHONES <= 1100px / <= 860px)
   ========================================================================== */
@media (max-width: 1100px) {
    .np-hide-tablet {
        display: none !important;
    }
    .np-hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    .np-hero-col-center {
        grid-column: 1 / -1;
        order: -1;
    }
    .np-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .np-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    body {
        padding-bottom: 66px; /* Space for Fixed Bottom App Navigation Bar */
    }

    .np-container {
        padding: 0 12px;
    }

    /* 1. Hide Desktop Topbar on Mobile (Utilities are inside App Drawer & App Header) */
    .np-topbar,
    .np-desktop-only-actions {
        display: none !important;
    }

    /* 2. Sleek Mobile App Top Bar + Header */
    .np-header-main {
        padding: 10px 0 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .np-header-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .np-brand-row-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 10px;
    }

    .np-app-drawer-trigger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #ffffff;
        font-size: 17px;
        cursor: pointer;
        flex-shrink: 0;
    }

    .np-brand {
        gap: 9px;
        flex: 1;
        min-width: 0;
    }

    .np-logo-mark {
        width: 44px;
        height: 40px;
        border-width: 1.5px;
        flex-shrink: 0;
    }

    .np-logo-mark .np-mark-top {
        font-size: 13px;
    }

    .np-logo-mark .np-mark-bottom {
        font-size: 9px;
    }

    .np-site-title {
        font-size: 22px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .np-site-tagline {
        font-size: 9px;
        letter-spacing: 0.6px;
        margin-top: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .np-mobile-app-actions {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
    }

    .np-mobile-live-pill {
        background: var(--np-red);
        color: #ffffff !important;
        font-family: var(--np-font-heading);
        font-size: 11px;
        font-weight: 800;
        padding: 5px 9px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        letter-spacing: 0.4px;
        box-shadow: 0 2px 8px rgba(194, 0, 23, 0.45);
    }

    /* Responsive Header 728x90 Banner on Mobile */
    .np-header-ad-wrap {
        max-width: 100%;
        justify-content: center;
    }

    .np-header-ad-wrap .np-ad-slot {
        align-items: center;
        width: 100%;
    }

    .np-header-ad-wrap .np-ad-card-box {
        width: 100%;
        padding: 4px;
    }

    .np-ad-slot-header .np-ad-frame {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 728 / 90;
    }

    /* 3. Touch-Swipeable Horizontal Category Ribbon (Native App Tabs) */
    .np-navbar {
        background: var(--np-navy-dark);
        border-top: 2px solid var(--np-red);
    }

    .np-navbar-inner {
        min-height: 44px;
        padding: 0 8px;
    }

    .np-nav-menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
        gap: 6px;
        padding: 6px 4px;
        background: transparent;
    }

    .np-nav-menu::-webkit-scrollbar {
        display: none;
    }

    .np-nav-menu > li {
        flex: 0 0 auto;
        width: auto;
    }

    .np-nav-menu > li > a {
        padding: 6px 13px;
        font-size: 12.5px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.1);
        white-space: nowrap;
    }

    .np-nav-menu > li.current-menu-item > a,
    .np-nav-menu > li > a:hover {
        background: var(--np-red);
        border-color: var(--np-red);
        color: #ffffff;
    }

    /* 4. Compact Breaking News Bar on Mobile */
    .np-breaking-bar {
        padding: 5px 0;
    }

    .np-breaking-inner {
        gap: 8px;
    }

    .np-breaking-badge {
        font-size: 10.5px;
        padding: 4px 8px;
        border-radius: 4px;
    }

    .np-breaking-item {
        font-size: 13px;
    }

    /* 5. Exchange Rates & Fuel Prices Horizontal Swipe Carousel on Mobile */
    .np-rates-fuel-strip {
        margin: 12px 0;
        flex-direction: column;
        border-radius: 10px;
    }

    .np-rf-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 8px 12px;
        min-width: 100%;
        border-right: none;
        border-bottom: 2px solid var(--np-red);
    }

    .np-rf-header h3 {
        font-size: 13.5px;
        margin: 0;
    }

    .np-rf-items {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
    }

    .np-rf-items::-webkit-scrollbar {
        display: none;
    }

    .np-rf-card {
        flex: 0 0 158px;
        scroll-snap-align: start;
        padding: 9px 12px;
    }

    /* 6. Single-Column Mobile Grids */
    .np-hero-grid,
    .np-content-layout,
    .np-grid-3,
    .np-grid-4 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* 7. Off-Canvas Mobile App Drawer */
    .np-drawer-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 12, 28, 0.68);
        backdrop-filter: blur(3px);
        z-index: 99990;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.28s ease, visibility 0.28s ease;
    }

    .np-drawer-backdrop.is-open {
        opacity: 1;
        visibility: visible;
    }

    .np-mobile-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 84%;
        max-width: 320px;
        background: #001833;
        color: #ffffff;
        z-index: 99999;
        transform: translateX(-102%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 8px 0 30px rgba(0, 0, 0, 0.45);
    }

    .np-mobile-drawer.is-open {
        transform: translateX(0);
    }

    .np-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px;
        background: #00264d;
        border-bottom: 3px solid var(--np-red);
    }

    .np-drawer-brand {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: var(--np-font-heading);
        font-size: 18px;
        color: #ffffff;
    }

    .np-drawer-badge {
        background: var(--np-red);
        color: #ffffff;
        font-size: 11px;
        font-weight: 900;
        padding: 3px 7px;
        border-radius: 4px;
    }

    .np-drawer-close {
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: #ffffff;
        width: 34px;
        height: 34px;
        border-radius: 6px;
        font-size: 16px;
        cursor: pointer;
    }

    .np-drawer-body {
        flex: 1;
        overflow-y: auto;
        padding: 14px 16px;
    }

    .np-drawer-search {
        display: flex;
        gap: 6px;
        margin-bottom: 14px;
    }

    .np-drawer-search input {
        flex: 1;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.18);
        color: #ffffff;
        padding: 9px 12px;
        border-radius: 6px;
        font-size: 13.5px;
    }

    .np-drawer-search button {
        background: var(--np-red);
        border: none;
        color: #ffffff;
        width: 40px;
        border-radius: 6px;
        cursor: pointer;
    }

    .np-drawer-utilities {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 16px;
    }

    .np-drawer-util-pill {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 6px;
        padding: 8px 10px;
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
        color: #e2e8f0;
    }

    .np-drawer-section-label {
        font-family: var(--np-font-heading);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1px;
        color: #93c5fd;
        margin-bottom: 8px;
    }

    .np-drawer-nav-list li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .np-drawer-nav-list li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 11px 4px;
        color: #f8fafc;
        font-size: 14px;
        font-weight: 700;
    }

    .np-drawer-nav-list li a span {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    .np-drawer-nav-list li a span i {
        color: var(--np-red);
        width: 18px;
        text-align: center;
    }

    .np-drawer-nav-list li a .np-chevron {
        font-size: 11px;
        color: #64748b;
    }

    .np-drawer-footer {
        padding: 12px 16px;
        background: #001024;
        font-size: 11.5px;
        color: #94a3b8;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* 8. Fixed Bottom App Navigation Bar (iOS / Android News App Tab Bar) */
    .np-mobile-bottom-nav {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(0, 24, 51, 0.96);
        backdrop-filter: blur(10px);
        border-top: 2px solid var(--np-red);
        z-index: 9990;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.25);
    }

    .np-mob-tab {
        background: none !important;
        border: none !important;
        color: #94a3b8;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 6px 2px !important;
        gap: 4px;
        font-size: 10.5px;
        line-height: 1.1 !important;
        font-weight: 700;
        cursor: pointer;
        text-decoration: none;
        box-sizing: border-box;
    }

    .np-mob-tab i {
        font-size: 16px;
        line-height: 1 !important;
        height: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #cbd5e1;
        margin: 0 !important;
    }

    .np-mob-tab span {
        display: block;
        line-height: 1.1 !important;
        margin: 0 !important;
    }

    .np-mob-tab i {
        font-size: 16px;
        color: #cbd5e1;
    }

    .np-mob-tab.active,
    .np-mob-tab:hover {
        color: #ffffff;
    }

    .np-mob-tab.active i {
        color: var(--np-gold);
    }

    .np-mob-tab-live i {
        color: var(--np-red);
    }
}

/* ==========================================================================
   13. SMARTPHONE NATIVE APP CARD FEED LAYOUT (<= 640px)
   ========================================================================== */
@media (max-width: 640px) {
    .np-breaking-controls {
        display: none;
    }

    .np-main-hero-card {
        border-radius: 12px;
    }

    .np-hero-content {
        padding: 14px 15px 16px;
    }

    .np-hero-title {
        font-size: 21px;
        line-height: 1.22;
    }

    .np-hero-excerpt {
        font-size: 13.5px;
        margin-bottom: 10px;
    }

    /* Hero Sub-Cards become Horizontal App List Cards on Phones */
    .np-hero-subgrid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .np-mini-card {
        display: grid;
        grid-template-columns: 108px 1fr;
        align-items: center;
        gap: 12px;
        padding: 9px;
        border-radius: 10px;
    }

    .np-mini-card-thumb {
        width: 108px;
        height: 76px;
        aspect-ratio: auto;
        border-radius: 7px;
    }

    .np-mini-card-body {
        padding: 0;
    }

    .np-mini-card-title {
        font-size: 14.5px;
        line-height: 1.26;
    }

    /* Category Sections: 1st Card Large Featured, Cards 2..4 Compact Horizontal App Cards! */
    .np-cat-section .np-news-card {
        border-radius: 10px;
    }

    .np-cat-section .np-news-card:not(:first-child) {
        display: grid;
        grid-template-columns: 112px 1fr;
        align-items: center;
        gap: 12px;
        padding: 10px;
    }

    .np-cat-section .np-news-card:not(:first-child) .np-card-thumb {
        width: 112px;
        height: 80px;
        aspect-ratio: auto;
        border-radius: 7px;
    }

    .np-cat-section .np-news-card:not(:first-child) .np-card-thumb .np-cat-tag {
        display: none;
    }

    .np-cat-section .np-news-card:not(:first-child) .np-card-body {
        padding: 0;
    }

    .np-cat-section .np-news-card:not(:first-child) .np-card-title {
        font-size: 14.5px;
        line-height: 1.26;
        margin-bottom: 5px;
    }

    .np-cat-section .np-news-card:not(:first-child) .np-card-excerpt {
        display: none;
    }

    /* Single Article Mobile Polish */
    .np-single-article {
        padding: 16px;
        border-radius: 10px;
    }

    .np-single-title {
        font-size: 24px;
    }

    .np-entry-content {
        font-size: 16px;
        line-height: 1.72;
    }

    .np-footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

/* ==========================================================================
   12. V2.6 UPGRADES: SQUARE ADS (300x300), IMAGE FIT MODES, TOPBAR UTILITY & FOOTER LOGO
   ========================================================================== */
.np-top-utility-items {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.np-top-util-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: #e2e8f0;
}

.np-top-util-item i {
    color: var(--np-gold);
}

.np-top-util-item.is-whatsapp i {
    color: #25d366;
}

.np-top-util-item a {
    color: #e2e8f0;
}

.np-top-util-item a:hover {
    color: var(--np-gold);
}

/* Square Ads Grid & Flexible Ad Containers */
.np-square-ads-section {
    margin: 24px 0;
}

.np-square-ads-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.np-ad-slot {
    margin: 14px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.np-ad-card-box {
    background: var(--np-surface);
    border: 1px solid var(--np-border);
    border-radius: var(--np-radius);
    padding: 8px;
    box-shadow: var(--np-shadow);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.np-ad-label-small {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--np-text-muted);
    margin-bottom: 5px;
    opacity: 0.75;
}

.np-ad-frame {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
}

.np-ad-frame a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.np-ad-frame img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Object-fit modes for square & custom ad images */
.np-ad-fit-cover img {
    object-fit: cover;
}

.np-ad-fit-contain img {
    object-fit: contain;
}

.np-ad-fit-fill img {
    object-fit: fill;
}

.np-ad-fit-auto img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: scale-down;
}

/* Footer Image Logo */
.np-footer-logo-img {
    display: inline-block;
    margin-bottom: 12px;
}

.np-footer-logo-img img {
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

/* ==========================================================================
   11. V2.6 & V2.7 UPGRADES: SQUARE ADS, HEADER BANNER, TOPBAR & FOOTER LOGO
   ========================================================================== */
.np-top-utility-items {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.np-top-util-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: #e2e8f0;
}

.np-top-util-item i {
    color: var(--np-gold);
}

.np-top-util-item.is-whatsapp i {
    color: #25d366;
}

.np-top-util-item a {
    color: #e2e8f0;
}

.np-top-util-item a:hover {
    color: var(--np-gold);
}

.np-brand-row-mobile {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Hidden on Desktop, visible on Mobile App View */
.np-app-drawer-trigger,
.np-mobile-app-actions,
.np-mobile-drawer,
.np-drawer-backdrop,
.np-mobile-bottom-nav {
    display: none;
}

/* Square Ads Grid & Flexible Ad Containers */
.np-square-ads-section {
    margin: 24px 0;
}

.np-square-ads-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.np-ad-slot {
    margin: 14px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.np-header-ad-wrap .np-ad-slot {
    margin: 0;
    width: 100%;
    align-items: flex-end;
}

.np-ad-card-box {
    background: var(--np-surface);
    border: 1px solid var(--np-border);
    border-radius: var(--np-radius);
    padding: 8px;
    box-shadow: var(--np-shadow);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.np-header-ad-wrap .np-ad-card-box {
    background: rgba(0, 24, 51, 0.45);
    border-color: rgba(255, 255, 255, 0.14);
    padding: 5px;
}

.np-ad-label-small {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--np-text-muted);
    margin-bottom: 4px;
    opacity: 0.75;
}

.np-header-ad-wrap .np-ad-label-small {
    color: #93c5fd;
    margin-bottom: 3px;
}

.np-ad-frame {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
}

.np-ad-frame a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.np-ad-frame img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Object-fit modes for square & custom ad images */
.np-ad-fit-cover img {
    object-fit: cover;
}

.np-ad-fit-contain img {
    object-fit: contain;
}

.np-ad-fit-fill img {
    object-fit: fill;
}

.np-ad-fit-auto img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: scale-down;
}

/* Footer Image Logo */
.np-footer-logo-img {
    display: inline-block;
    margin-bottom: 12px;
}

.np-footer-logo-img img {
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

/* ==========================================================================
   12. NATIVE MOBILE NEWS APP EXPERIENCE (TABLETS & SMARTPHONES <= 1100px / <= 860px)
   ========================================================================== */
@media (max-width: 1100px) {
    .np-hide-tablet {
        display: none !important;
    }
    .np-hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    .np-hero-col-center {
        grid-column: 1 / -1;
        order: -1;
    }
    .np-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .np-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    body {
        padding-bottom: 66px; /* Space for Fixed Bottom App Navigation Bar */
    }

    .np-container {
        padding: 0 12px;
    }

    /* 1. Hide Desktop Topbar on Mobile (Utilities are inside App Drawer & App Header) */
    .np-topbar,
    .np-desktop-only-actions {
        display: none !important;
    }

    /* 2. Sleek Mobile App Top Bar + Header */
    .np-header-main {
        padding: 10px 0 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .np-header-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .np-brand-row-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 10px;
    }

    .np-app-drawer-trigger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #ffffff;
        font-size: 17px;
        cursor: pointer;
        flex-shrink: 0;
    }

    .np-brand {
        gap: 9px;
        flex: 1;
        min-width: 0;
    }

    .np-logo-mark {
        width: 44px;
        height: 40px;
        border-width: 1.5px;
        flex-shrink: 0;
    }

    .np-logo-mark .np-mark-top {
        font-size: 13px;
    }

    .np-logo-mark .np-mark-bottom {
        font-size: 9px;
    }

    .np-site-title {
        font-size: 22px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .np-site-tagline {
        font-size: 9px;
        letter-spacing: 0.6px;
        margin-top: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .np-mobile-app-actions {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
    }

    .np-mobile-live-pill {
        background: var(--np-red);
        color: #ffffff !important;
        font-family: var(--np-font-heading);
        font-size: 11px;
        font-weight: 800;
        padding: 5px 9px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        letter-spacing: 0.4px;
        box-shadow: 0 2px 8px rgba(194, 0, 23, 0.45);
    }

    /* Responsive Header 728x90 Banner on Mobile */
    .np-header-ad-wrap {
        max-width: 100%;
        justify-content: center;
    }

    .np-header-ad-wrap .np-ad-slot {
        align-items: center;
        width: 100%;
    }

    .np-header-ad-wrap .np-ad-card-box {
        width: 100%;
        padding: 4px;
    }

    .np-ad-slot-header .np-ad-frame {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 728 / 90;
    }

    /* 3. Touch-Swipeable Horizontal Category Ribbon (Native App Tabs) */
    .np-navbar {
        background: var(--np-navy-dark);
        border-top: 2px solid var(--np-red);
    }

    .np-navbar-inner {
        min-height: 44px;
        padding: 0 8px;
    }

    .np-nav-menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
        gap: 6px;
        padding: 6px 4px;
        background: transparent;
    }

    .np-nav-menu::-webkit-scrollbar {
        display: none;
    }

    .np-nav-menu > li {
        flex: 0 0 auto;
        width: auto;
    }

    .np-nav-menu > li > a {
        padding: 6px 13px;
        font-size: 12.5px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.1);
        white-space: nowrap;
    }

    .np-nav-menu > li.current-menu-item > a,
    .np-nav-menu > li > a:hover {
        background: var(--np-red);
        border-color: var(--np-red);
        color: #ffffff;
    }

    /* 4. Compact Breaking News Bar on Mobile */
    .np-breaking-bar {
        padding: 5px 0;
    }

    .np-breaking-inner {
        gap: 8px;
    }

    .np-breaking-badge {
        font-size: 10.5px;
        padding: 4px 8px;
        border-radius: 4px;
    }

    .np-breaking-item {
        font-size: 13px;
    }

    /* 5. Exchange Rates & Fuel Prices Horizontal Swipe Carousel on Mobile */
    .np-rates-fuel-strip {
        margin: 12px 0;
        flex-direction: column;
        border-radius: 10px;
    }

    .np-rf-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 8px 12px;
        min-width: 100%;
        border-right: none;
        border-bottom: 2px solid var(--np-red);
    }

    .np-rf-header h3 {
        font-size: 13.5px;
        margin: 0;
    }

    .np-rf-items {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
    }

    .np-rf-items::-webkit-scrollbar {
        display: none;
    }

    .np-rf-card {
        flex: 0 0 158px;
        scroll-snap-align: start;
        padding: 9px 12px;
    }

    /* 6. Single-Column Mobile Grids */
    .np-hero-grid,
    .np-content-layout,
    .np-grid-3,
    .np-grid-4 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* 7. Off-Canvas Mobile App Drawer */
    .np-drawer-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 12, 28, 0.68);
        backdrop-filter: blur(3px);
        z-index: 99990;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.28s ease, visibility 0.28s ease;
    }

    .np-drawer-backdrop.is-open {
        opacity: 1;
        visibility: visible;
    }

    .np-mobile-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 84%;
        max-width: 320px;
        background: #001833;
        color: #ffffff;
        z-index: 99999;
        transform: translateX(-102%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 8px 0 30px rgba(0, 0, 0, 0.45);
    }

    .np-mobile-drawer.is-open {
        transform: translateX(0);
    }

    .np-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px;
        background: #00264d;
        border-bottom: 3px solid var(--np-red);
    }

    .np-drawer-brand {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: var(--np-font-heading);
        font-size: 18px;
        color: #ffffff;
    }

    .np-drawer-badge {
        background: var(--np-red);
        color: #ffffff;
        font-size: 11px;
        font-weight: 900;
        padding: 3px 7px;
        border-radius: 4px;
    }

    .np-drawer-close {
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: #ffffff;
        width: 34px;
        height: 34px;
        border-radius: 6px;
        font-size: 16px;
        cursor: pointer;
    }

    .np-drawer-body {
        flex: 1;
        overflow-y: auto;
        padding: 14px 16px;
    }

    .np-drawer-search {
        display: flex;
        gap: 6px;
        margin-bottom: 14px;
    }

    .np-drawer-search input {
        flex: 1;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.18);
        color: #ffffff;
        padding: 9px 12px;
        border-radius: 6px;
        font-size: 13.5px;
    }

    .np-drawer-search button {
        background: var(--np-red);
        border: none;
        color: #ffffff;
        width: 40px;
        border-radius: 6px;
        cursor: pointer;
    }

    .np-drawer-utilities {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 16px;
    }

    .np-drawer-util-pill {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 6px;
        padding: 8px 10px;
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
        color: #e2e8f0;
    }

    .np-drawer-section-label {
        font-family: var(--np-font-heading);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1px;
        color: #93c5fd;
        margin-bottom: 8px;
    }

    .np-drawer-nav-list li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .np-drawer-nav-list li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 11px 4px;
        color: #f8fafc;
        font-size: 14px;
        font-weight: 700;
    }

    .np-drawer-nav-list li a span {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    .np-drawer-nav-list li a span i {
        color: var(--np-red);
        width: 18px;
        text-align: center;
    }

    .np-drawer-nav-list li a .np-chevron {
        font-size: 11px;
        color: #64748b;
    }

    .np-drawer-footer {
        padding: 12px 16px;
        background: #001024;
        font-size: 11.5px;
        color: #94a3b8;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* 8. Fixed Bottom App Navigation Bar (iOS / Android News App Tab Bar) */
    .np-mobile-bottom-nav {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(0, 24, 51, 0.96);
        backdrop-filter: blur(10px);
        border-top: 2px solid var(--np-red);
        z-index: 9990;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.25);
    }

    .np-mob-tab {
        background: none !important;
        border: none !important;
        color: #94a3b8;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 6px 2px !important;
        gap: 4px;
        font-size: 10.5px;
        line-height: 1.1 !important;
        font-weight: 700;
        cursor: pointer;
        text-decoration: none;
        box-sizing: border-box;
    }

    .np-mob-tab i {
        font-size: 16px;
        line-height: 1 !important;
        height: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #cbd5e1;
        margin: 0 !important;
    }

    .np-mob-tab span {
        display: block;
        line-height: 1.1 !important;
        margin: 0 !important;
    }

    .np-mob-tab i {
        font-size: 16px;
        color: #cbd5e1;
    }

    .np-mob-tab.active,
    .np-mob-tab:hover {
        color: #ffffff;
    }

    .np-mob-tab.active i {
        color: var(--np-gold);
    }

    .np-mob-tab-live i {
        color: var(--np-red);
    }
}

/* ==========================================================================
   13. SMARTPHONE NATIVE APP CARD FEED LAYOUT (<= 640px)
   ========================================================================== */
@media (max-width: 640px) {
    .np-breaking-controls {
        display: none;
    }

    .np-main-hero-card {
        border-radius: 12px;
    }

    .np-hero-content {
        padding: 14px 15px 16px;
    }

    .np-hero-title {
        font-size: 21px;
        line-height: 1.22;
    }

    .np-hero-excerpt {
        font-size: 13.5px;
        margin-bottom: 10px;
    }

    /* Hero Sub-Cards become Horizontal App List Cards on Phones */
    .np-hero-subgrid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .np-mini-card {
        display: grid;
        grid-template-columns: 108px 1fr;
        align-items: center;
        gap: 12px;
        padding: 9px;
        border-radius: 10px;
    }

    .np-mini-card-thumb {
        width: 108px;
        height: 76px;
        aspect-ratio: auto;
        border-radius: 7px;
    }

    .np-mini-card-body {
        padding: 0;
    }

    .np-mini-card-title {
        font-size: 14.5px;
        line-height: 1.26;
    }

    /* Category Sections: 1st Card Large Featured, Cards 2..4 Compact Horizontal App Cards! */
    .np-cat-section .np-news-card {
        border-radius: 10px;
    }

    .np-cat-section .np-news-card:not(:first-child) {
        display: grid;
        grid-template-columns: 112px 1fr;
        align-items: center;
        gap: 12px;
        padding: 10px;
    }

    .np-cat-section .np-news-card:not(:first-child) .np-card-thumb {
        width: 112px;
        height: 80px;
        aspect-ratio: auto;
        border-radius: 7px;
    }

    .np-cat-section .np-news-card:not(:first-child) .np-card-thumb .np-cat-tag {
        display: none;
    }

    .np-cat-section .np-news-card:not(:first-child) .np-card-body {
        padding: 0;
    }

    .np-cat-section .np-news-card:not(:first-child) .np-card-title {
        font-size: 14.5px;
        line-height: 1.26;
        margin-bottom: 5px;
    }

    .np-cat-section .np-news-card:not(:first-child) .np-card-excerpt {
        display: none;
    }

    /* Single Article Mobile Polish */
    .np-single-article {
        padding: 16px;
        border-radius: 10px;
    }

    .np-single-title {
        font-size: 24px;
    }

    .np-entry-content {
        font-size: 16px;
        line-height: 1.72;
    }

    .np-footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}
