/*
Theme Name: Neon Urdu
Theme URI: https://addsmint.com/neon-urdu
Author: AddsMint.com
Author URI: https://addsmint.com
Description: A complete RTL Urdu news theme with customizable layouts, breaking news ticker, hero slider, and full Customizer support. Design & Develop By AddsMint.com
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neon-urdu
Tags: rtl-language, news, blog, custom-colors, custom-menu, featured-images, post-formats, right-to-left
*/

/* ============================================
   GOOGLE FONTS + NAFEES FONT IMPORT
============================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;500;600;700&family=Noto+Kufi+Arabic:wght@400;500;600;700&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES (THEME VARIABLES)
============================================ */
:root {
    /* Primary Colors */
    --neon-primary: #cc0000;
    --neon-primary-dark: #990000;
    --neon-primary-light: #ff3333;
    --neon-secondary: #1a1a2e;
    --neon-accent: #f0a500;

    /* Text Colors */
    --neon-text-primary: #1a1a1a;
    --neon-text-secondary: #555555;
    --neon-text-light: #888888;
    --neon-text-white: #ffffff;
    --neon-text-heading: #111111;
    --neon-text-link: #cc0000;

    /* Background Colors */
    --neon-bg-body: #f4f4f4;
    --neon-bg-white: #ffffff;
    --neon-bg-dark: #1a1a2e;
    --neon-bg-card: #ffffff;
    --neon-bg-section: #f8f8f8;

    /* Header Colors */
    --neon-header-bg: #cc0000;
    --neon-header-text: #ffffff;
    --neon-topbar-bg: #111111;
    --neon-topbar-text: #cccccc;

    /* Breaking News */
    --neon-breaking-bg: #cc0000;
    --neon-breaking-text: #ffffff;
    --neon-breaking-label: "تازہ خبریں";

    /* Typography */
    --neon-font-primary: 'Noto Nastaliq Urdu', 'Nafees Regular', serif;
    --neon-font-secondary: 'Noto Kufi Arabic', sans-serif;
    --neon-font-size-base: 16px;
    --neon-font-size-sm: 14px;
    --neon-font-size-lg: 18px;
    --neon-font-size-xl: 22px;
    --neon-font-size-xxl: 28px;
    --neon-line-height: 2;

    /* Spacing */
    --neon-gap: 20px;
    --neon-gap-sm: 10px;
    --neon-gap-lg: 30px;
    --neon-border-radius: 4px;
    --neon-border-color: #e0e0e0;

    /* Shadows */
    --neon-shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --neon-shadow-md: 0 2px 8px rgba(0,0,0,0.12);
    --neon-shadow-lg: 0 4px 20px rgba(0,0,0,0.15);

    /* ---- v1.2 NEW VARIABLES ---- */

    /* Navigation / Menu Bar */
    --neon-nav-bg: #1a1a2e;
    --neon-nav-text: #ffffff;
    --neon-nav-hover-bg: #cc0000;
    --neon-nav-hover-text: #ffffff;
    --neon-nav-active-underline: #f0a500;

    /* Footer */
    --neon-footer-bg: #1a1a2e;
    --neon-footer-text: rgba(255,255,255,0.75);
    --neon-footer-heading-color: #ffffff;
    --neon-footer-link-color: rgba(255,255,255,0.65);
    --neon-footer-link-hover: #cc0000;
    --neon-footer-bottom-bg: rgba(0,0,0,0.3);
    --neon-footer-border-color: rgba(255,255,255,0.08);

    /* Logo */
    --neon-logo-max-height: 60px;
    --neon-logo-max-width: 220px;

    /* ---- v1.4 ---- */
    --neon-container-max: 1200px;
    --neon-sidebar-width: 300px;
    --neon-home-sidebar-width: 300px;
}

/* ============================================
   FULL-WIDTH LAYOUT (v1.4 default)
   Bands bleed edge-to-edge; .neon-container
   centres the inner content.
============================================ */
html, body { width: 100%; overflow-x: hidden; }

.neon-topbar,
.neon-header,
.neon-nav,
.neon-breaking-news,
.neon-footer,
.neon-footer-bottom,
.neon-credit { width: 100%; }

/* ============================================
   BOXED LAYOUT (body.neon-layout-boxed)
============================================ */
body.neon-layout-boxed {
    background: #e8e8e8;
}
body.neon-layout-boxed > .neon-topbar,
body.neon-layout-boxed > .neon-header,
body.neon-layout-boxed > .neon-nav,
body.neon-layout-boxed > .neon-breaking-news,
body.neon-layout-boxed > .neon-scroll-progress,
body.neon-layout-boxed > #neonMain,
body.neon-layout-boxed > .neon-footer,
body.neon-layout-boxed > .neon-credit {
    max-width: var(--neon-container-max);
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 30px rgba(0,0,0,0.12);
}

/* ============================================
   NAFEES FONT FACE
============================================ */
@font-face {
    font-family: 'Nafees Regular';
    src: url('fonts/NafeesRegular.ttf') format('truetype'),
         url('fonts/NafeesRegular.woff2') format('woff2'),
         url('fonts/NafeesRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   RESET & BASE STYLES
============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    direction: rtl;
    font-size: var(--neon-font-size-base);
}

body {
    font-family: var(--neon-font-primary);
    background-color: var(--neon-bg-body);
    color: var(--neon-text-primary);
    line-height: var(--neon-line-height);
    direction: rtl;
    text-align: right;
}

a {
    color: var(--neon-text-link);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--neon-primary-dark);
}

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

ul, ol {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--neon-font-primary);
    color: var(--neon-text-heading);
    line-height: 1.6;
    font-weight: 700;
}

h1 { font-size: var(--neon-font-size-xxl); }
h2 { font-size: var(--neon-font-size-xl); }
h3 { font-size: var(--neon-font-size-lg); }
h4 { font-size: var(--neon-font-size-base); }

p {
    margin-bottom: 1rem;
    font-size: var(--neon-font-size-base);
    line-height: var(--neon-line-height);
}

/* ============================================
   LAYOUT CONTAINERS
============================================ */
.neon-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.neon-container-fluid {
    width: 100%;
    padding: 0 15px;
}

/* ============================================
   TOP BAR
============================================ */
.neon-topbar {
    background-color: var(--neon-topbar-bg);
    color: var(--neon-topbar-text);
    font-size: 13px;
    font-family: var(--neon-font-secondary);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.neon-topbar .neon-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.neon-topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.neon-topbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.neon-topbar-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--neon-topbar-text);
    font-size: 12px;
}

.neon-topbar-date svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    opacity: 0.7;
}

.neon-topbar-weather {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    cursor: pointer;
}

.neon-topbar-weather .weather-icon {
    font-size: 16px;
}

.neon-topbar-search {
    display: flex;
    align-items: center;
}

.neon-topbar-search form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 3px 10px;
    gap: 6px;
}

.neon-topbar-search input {
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 12px;
    width: 150px;
    font-family: var(--neon-font-primary);
    direction: rtl;
}

.neon-topbar-search input::placeholder {
    color: rgba(255,255,255,0.5);
}

.neon-topbar-search button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
}

.neon-topbar-search button svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.neon-topbar-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.neon-topbar-social a {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    transition: color 0.2s;
}

.neon-topbar-social a:hover {
    color: var(--neon-primary);
}

/* ============================================
   HEADER
============================================ */
.neon-header {
    background-color: var(--neon-header-bg);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--neon-shadow-md);
}

.neon-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 20px;
}

.neon-logo {
    flex-shrink: 0;
    max-width: var(--neon-logo-max-width);
}

.neon-logo img {
    max-height: var(--neon-logo-max-height);
    width: auto;
    transition: max-height 0.2s ease, max-width 0.2s ease;
}

.neon-logo a {
    display: block;
    color: var(--neon-header-text);
    text-decoration: none;
}

.neon-logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--neon-header-text);
    line-height: 1.2;
}

.neon-logo-tagline {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    font-family: var(--neon-font-secondary);
}

.neon-header-ads {
    flex: 1;
    text-align: center;
    max-width: 728px;
}

.neon-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ============================================
   HEADER LAYOUTS v1.3
============================================ */

/* Shared actions group (search + hamburger) */
.neon-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* --- LAYOUT: default --- */
.neon-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 20px;
}

/* --- LAYOUT: logo-right (RTL: logo at start/right, actions at end/left) --- */
.neon-header-inner.neon-hl-right {
    flex-direction: row;         /* logo right → ad center → actions left */
}
.neon-hl-right .neon-logo      { order: 1; margin-right: 0; }
.neon-hl-right .neon-header-ads { order: 2; flex: 1; text-align: center; }
.neon-hl-right .neon-header-actions { order: 3; }

/* --- LAYOUT: logo-left (RTL: logo at end/left, actions at start/right) --- */
.neon-header-inner.neon-hl-left {
    flex-direction: row;
}
.neon-hl-left .neon-logo        { order: 3; }
.neon-hl-left .neon-header-ads  { order: 2; flex: 1; text-align: center; }
.neon-hl-left .neon-header-actions { order: 1; }

/* --- LAYOUT: minimal --- */
.neon-header-inner.neon-hl-minimal {
    flex-direction: row;
    justify-content: space-between;
}

/* --- LAYOUT: centered --- */
.neon-header-centered {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 15px;
}
.neon-hc-left,
.neon-hc-right {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 80px;
    flex-shrink: 0;
}
.neon-hc-right { justify-content: flex-end; }
.neon-logo-center {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
}
.neon-logo-center img { margin: 0 auto; }

/* --- LAYOUT: stacked (logo top-center, actions row below) --- */
.neon-header-stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0 8px;
    gap: 10px;
}
.neon-header-stacked-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Header search toggle button (all layouts) */
.neon-header-search-toggle {
    background: rgba(255,255,255,0.15);
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}
.neon-header-search-toggle:hover { background: rgba(255,255,255,0.30); }

/* Inline ad inside header */
.neon-header-inline-ad { max-width: 100%; }



/* Mobile Menu Toggle */
.neon-mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: white;
    font-size: 24px;
}

/* ============================================
   NAVIGATION / PRIMARY MENU
============================================ */
.neon-nav {
    background-color: var(--neon-nav-bg);
    position: relative;
    z-index: 999;
}

.neon-nav .neon-container {
    position: relative;
}

.neon-primary-menu {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0;
}

.neon-primary-menu::-webkit-scrollbar {
    display: none;
}

.neon-primary-menu > li {
    position: relative;
    flex-shrink: 0;
}

.neon-primary-menu > li > a {
    display: block;
    color: var(--neon-nav-text);
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--neon-font-secondary);
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    border-bottom: 3px solid transparent;
}

.neon-primary-menu > li > a:hover,
.neon-primary-menu > li.current-menu-item > a,
.neon-primary-menu > li.current-menu-parent > a {
    background-color: var(--neon-nav-hover-bg);
    border-bottom-color: var(--neon-nav-active-underline);
    color: var(--neon-nav-hover-text);
}

/* Dropdown Menu */
.neon-primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    box-shadow: var(--neon-shadow-lg);
    border-top: 3px solid var(--neon-nav-hover-bg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.neon-primary-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.neon-primary-menu .sub-menu li a {
    display: block;
    padding: 10px 15px;
    color: var(--neon-text-primary);
    font-size: 13px;
    border-bottom: 1px solid var(--neon-border-color);
    transition: background 0.2s;
}

.neon-primary-menu .sub-menu li a:hover {
    background: var(--neon-bg-section);
    color: var(--neon-primary);
    padding-right: 20px;
}

/* ============================================
   BREAKING NEWS TICKER
============================================ */
.neon-breaking-news {
    background-color: var(--neon-bg-white);
    border-bottom: 2px solid var(--neon-border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.neon-breaking-label {
    background-color: var(--neon-breaking-bg);
    color: var(--neon-breaking-text);
    padding: 8px 18px;
    font-size: 13px;
    font-family: var(--neon-font-secondary);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.neon-breaking-label::before {
    content: '●';
    animation: blink 1s infinite;
    font-size: 10px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.neon-breaking-label::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 50px solid transparent;
    border-right: 10px solid var(--neon-breaking-bg);
}

.neon-breaking-ticker {
    flex: 1;
    overflow: hidden;
    padding: 8px 15px;
    position: relative;
}

.neon-breaking-ticker-inner {
    display: flex;
    gap: 40px;
    animation: ticker-rtl 30s linear infinite;
    width: max-content;
}

.neon-breaking-ticker-inner:hover {
    animation-play-state: paused;
}

@keyframes ticker-rtl {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.neon-breaking-ticker-inner a {
    color: var(--neon-text-primary);
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.2s;
}

.neon-breaking-ticker-inner a:hover {
    color: var(--neon-primary);
}

.neon-breaking-ticker-inner a::before {
    content: '◆';
    color: var(--neon-primary);
    font-size: 8px;
    margin-left: 8px;
}

/* ============================================
   MAIN CONTENT AREA
============================================ */
.neon-main-wrap {
    padding: var(--neon-gap-lg) 0;
}

.neon-content-area {
    display: grid;
    grid-template-columns: 1fr var(--neon-sidebar-width);
    gap: var(--neon-gap);
    align-items: start;
}

.neon-content-area.neon-no-sidebar {
    grid-template-columns: 1fr;
}

.neon-content-area.neon-left-sidebar {
    grid-template-columns: var(--neon-sidebar-width) 1fr;
}

.neon-main-content {
    min-width: 0;
}

.neon-sidebar {
    min-width: 0;
    position: sticky;
    top: 80px;   /* sticks below sticky header */
}

/* ============================================
   HOME PAGE WITH SIDEBAR (v1.4)
============================================ */
.neon-home-with-sidebar {
    display: grid;
    grid-template-columns: 1fr var(--neon-home-sidebar-width);
    gap: var(--neon-gap-lg);
    align-items: start;
}

/* RTL: sidebar on left means sidebar is the first visual column */
body.neon-home-sidebar-left .neon-home-with-sidebar {
    grid-template-columns: var(--neon-home-sidebar-width) 1fr;
}

.neon-home-main-col {
    min-width: 0;
}

.neon-home-sidebar {
    min-width: 0;
    position: sticky;
    top: 80px;
}

/* Sidebar widget styles */
.neon-home-sidebar .neon-widget,
.neon-sidebar .neon-widget {
    background: var(--neon-bg-white);
    border-radius: var(--neon-border-radius);
    overflow: hidden;
    margin-bottom: var(--neon-gap);
    box-shadow: var(--neon-shadow-sm);
}

.neon-home-sidebar .neon-widget-title,
.neon-sidebar .neon-widget-title {
    font-size: 15px;
    font-weight: 700;
    padding: 11px 15px;
    background: var(--neon-secondary);
    color: #fff;
    font-family: var(--neon-font-secondary);
    border-right: 4px solid var(--neon-primary);
}

.neon-home-sidebar .neon-widget-body,
.neon-sidebar .neon-widget-body {
    padding: 12px;
}

/* Popular Posts widget inside sidebar */
.neon-sidebar-popular-post {
    display: flex;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--neon-border-color);
    align-items: flex-start;
}
.neon-sidebar-popular-post:last-child { border-bottom: none; }

.neon-sidebar-popular-post .spp-num {
    width: 26px;
    height: 26px;
    background: var(--neon-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-family: var(--neon-font-secondary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.neon-sidebar-popular-post .spp-thumb {
    flex-shrink: 0;
    border-radius: 3px;
    overflow: hidden;
    display: block;
}
.neon-sidebar-popular-post .spp-thumb img {
    width: 68px;
    height: 54px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.neon-sidebar-popular-post .spp-thumb:hover img { transform: scale(1.06); }
.neon-sidebar-popular-post .spp-info { flex: 1; min-width: 0; }
.neon-sidebar-popular-post .spp-title {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 4px;
}
.neon-sidebar-popular-post .spp-title a {
    color: var(--neon-text-heading);
    transition: color 0.2s;
}
.neon-sidebar-popular-post .spp-title a:hover { color: var(--neon-primary); }
.neon-sidebar-popular-post .spp-date {
    font-size: 11px;
    color: var(--neon-text-secondary);
    font-family: var(--neon-font-secondary);
}

/* Category list widget */
.neon-sidebar-cat-list { padding: 0; margin: 0; }
.neon-sidebar-cat-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--neon-border-color);
    font-size: 14px;
}
.neon-sidebar-cat-list li:last-child { border-bottom: none; }
.neon-sidebar-cat-list li a {
    color: var(--neon-text-primary);
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s, padding 0.2s;
}
.neon-sidebar-cat-list li a::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--neon-primary);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.neon-sidebar-cat-list li a:hover {
    color: var(--neon-primary);
    padding-right: 4px;
}
.neon-sidebar-cat-list li .cat-count {
    background: var(--neon-bg-section);
    color: var(--neon-text-secondary);
    font-size: 11px;
    font-family: var(--neon-font-secondary);
    padding: 2px 7px;
    border-radius: 10px;
    flex-shrink: 0;
}

/* Tags cloud widget */
.neon-sidebar-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.neon-sidebar-tags a {
    background: var(--neon-bg-section);
    color: var(--neon-text-secondary);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 3px;
    border: 1px solid var(--neon-border-color);
    transition: all 0.2s;
    font-family: var(--neon-font-secondary);
}
.neon-sidebar-tags a:hover {
    background: var(--neon-primary);
    color: white;
    border-color: var(--neon-primary);
}

/* Ad widget inside sidebar */
.neon-sidebar-ad { text-align: center; padding: 8px 0; }
.neon-sidebar-ad img { max-width: 100%; border-radius: 3px; }


/* ============================================
   SECTION HEADERS
============================================ */
.neon-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--neon-border-color);
    position: relative;
}

.neon-section-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 80px;
    height: 3px;
    background-color: var(--neon-primary);
}

.neon-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--neon-primary);
    font-family: var(--neon-font-secondary);
    margin: 0;
}

.neon-section-title-flag {
    background-color: var(--neon-primary);
    color: white;
    padding: 5px 15px;
    font-size: 14px;
    font-family: var(--neon-font-secondary);
    font-weight: 600;
    position: relative;
}

.neon-section-title-flag::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 35px solid transparent;
    border-right: 10px solid var(--neon-primary);
}

.neon-section-more-link {
    font-size: 12px;
    color: var(--neon-primary);
    font-family: var(--neon-font-secondary);
    border: 1px solid var(--neon-primary);
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.2s;
}

.neon-section-more-link:hover {
    background: var(--neon-primary);
    color: white;
}

/* ============================================
   HOME SECTIONS WRAPPER
============================================ */
.neon-home-section {
    margin-bottom: var(--neon-gap-lg);
    background: var(--neon-bg-white);
    padding: 20px;
    border-radius: var(--neon-border-radius);
    box-shadow: var(--neon-shadow-sm);
}

.neon-home-section.neon-section-dark {
    background: var(--neon-bg-dark);
    color: white;
}

.neon-home-section.neon-section-dark .neon-post-title a,
.neon-home-section.neon-section-dark .neon-section-title {
    color: white;
}

.neon-home-section.neon-section-transparent {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

/* ============================================
   FEATURED / HERO SECTION — STATIC LAYOUT
============================================ */
.neon-featured-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--neon-gap-sm);
    margin-bottom: var(--neon-gap);
}

.neon-featured-hero .neon-post-featured {
    grid-column: 1 / -1;
    position: relative;
    overflow: hidden;
    border-radius: var(--neon-border-radius);
}

.neon-featured-hero .neon-post-featured img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.neon-featured-hero .neon-post-featured:hover img {
    transform: scale(1.03);
}

.neon-featured-hero .neon-post-featured .neon-post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.neon-featured-hero .neon-post-featured .neon-post-title {
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.neon-featured-hero .neon-post-featured .neon-post-title a {
    color: white;
}

/* ============================================
   HERO SLIDER (v1.2) — Full-width autoplay slider
   Matches screenshot: big slide + 2 thumbs below
============================================ */
.neon-hero-slider-wrap {
    position: relative;
    margin-bottom: var(--neon-gap);
    background: #000;
    border-radius: var(--neon-border-radius);
    overflow: hidden;
}

/* Main Slider */
.neon-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.neon-hero-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.neon-hero-slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.neon-hero-slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 8s ease;
}

.neon-hero-slide.active img {
    transform: scale(1.04);
}

/* Slide Overlay */
.neon-hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px 20px;
    background: linear-gradient(to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.55) 50%,
        transparent 100%);
}

.neon-hero-slide-cat {
    display: inline-block;
    background: var(--neon-primary);
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    font-family: var(--neon-font-secondary);
    font-weight: 600;
    border-radius: 3px;
    margin-bottom: 10px;
}

.neon-hero-slide-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.neon-hero-slide-title a {
    color: #ffffff !important;
    transition: color 0.2s;
}

.neon-hero-slide-title a:hover {
    color: rgba(255,255,255,0.85) !important;
}

.neon-hero-slide-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    font-family: var(--neon-font-secondary);
}

.neon-hero-slide-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Slider Navigation Arrows */
.neon-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 16px;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.neon-slider-arrow:hover {
    background: var(--neon-primary);
    border-color: var(--neon-primary);
    transform: translateY(-50%) scale(1.08);
}

.neon-slider-arrow-prev { right: 15px; }
.neon-slider-arrow-next { left: 15px; }

/* Slider Dots */
.neon-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}

.neon-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    padding: 0;
}

.neon-slider-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* Slider Thumbnail Strip (matches screenshot: 2 cards below main) */
.neon-hero-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--neon-gap-sm);
    margin-top: var(--neon-gap-sm);
}

.neon-hero-thumb-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--neon-border-radius);
    cursor: pointer;
    transition: opacity 0.2s;
}

.neon-hero-thumb-card:hover {
    opacity: 0.92;
}

.neon-hero-thumb-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.neon-hero-thumb-card:hover img {
    transform: scale(1.04);
}

.neon-hero-thumb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 100%);
}

.neon-hero-thumb-cat {
    display: inline-block;
    background: var(--neon-primary);
    color: white;
    padding: 2px 8px;
    font-size: 11px;
    font-family: var(--neon-font-secondary);
    font-weight: 600;
    border-radius: 2px;
    margin-bottom: 5px;
}

.neon-hero-thumb-title {
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.neon-hero-thumb-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    font-family: var(--neon-font-secondary);
    margin-top: 4px;
}

/* Slider autoplay progress bar */
.neon-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--neon-primary);
    z-index: 11;
    transition: width 0.1s linear;
    width: 0%;
}


/* ============================================
   POST CARD LAYOUTS
============================================ */

/* Base Post Card */
.neon-post-card {
    position: relative;
    overflow: hidden;
    background: var(--neon-bg-card);
    border-radius: var(--neon-border-radius);
    transition: box-shadow 0.2s ease;
}

.neon-post-card:hover {
    box-shadow: var(--neon-shadow-md);
}

.neon-post-thumb {
    overflow: hidden;
    position: relative;
}

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

.neon-post-card:hover .neon-post-thumb img {
    transform: scale(1.04);
}

.neon-post-cat-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: var(--neon-primary);
    color: white;
    padding: 3px 10px;
    font-size: 11px;
    font-family: var(--neon-font-secondary);
    border-radius: 3px;
    z-index: 2;
}

.neon-post-body {
    padding: 12px;
}

.neon-post-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 6px;
}

.neon-post-title a {
    color: var(--neon-text-heading);
    transition: color 0.2s;
}

.neon-post-title a:hover {
    color: var(--neon-primary);
}

.neon-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--neon-text-light);
    font-family: var(--neon-font-secondary);
    flex-wrap: wrap;
}

.neon-post-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.neon-post-excerpt {
    font-size: 13px;
    color: var(--neon-text-secondary);
    line-height: 1.8;
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   LAYOUT STYLES: 2-COLUMN GRID
============================================ */
.neon-layout-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--neon-gap);
}

.neon-layout-2col .neon-post-thumb img {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

/* ============================================
   LAYOUT STYLES: 3-COLUMN GRID
============================================ */
.neon-layout-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--neon-gap);
}

.neon-layout-3col .neon-post-thumb img {
    height: 160px;
    object-fit: cover;
    width: 100%;
}

.neon-layout-3col .neon-post-title {
    font-size: 14px;
}

/* ============================================
   LAYOUT STYLES: 4-COLUMN GRID
============================================ */
.neon-layout-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--neon-gap-sm);
}

.neon-layout-4col .neon-post-thumb img {
    height: 130px;
    object-fit: cover;
    width: 100%;
}

.neon-layout-4col .neon-post-title {
    font-size: 13px;
}

.neon-layout-4col .neon-post-body {
    padding: 8px;
}

/* ============================================
   LAYOUT STYLES: MAGAZINE (1 BIG + 2 SMALL)
============================================ */
.neon-layout-magazine {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--neon-gap);
}

.neon-layout-magazine .neon-post-card:first-child .neon-post-thumb img {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.neon-layout-magazine .neon-magazine-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--neon-gap-sm);
}

.neon-layout-magazine .neon-magazine-sidebar .neon-post-thumb img {
    height: 130px;
    object-fit: cover;
    width: 100%;
}

/* ============================================
   LAYOUT STYLES: LIST
============================================ */
.neon-layout-list {
    display: flex;
    flex-direction: column;
    gap: var(--neon-gap-sm);
}

.neon-layout-list .neon-post-card {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: var(--neon-gap-sm);
    align-items: start;
    background: var(--neon-bg-white);
    border-bottom: 1px solid var(--neon-border-color);
    padding-bottom: var(--neon-gap-sm);
    border-radius: 0;
}

.neon-layout-list .neon-post-card:last-child {
    border-bottom: none;
}

.neon-layout-list .neon-post-thumb img {
    height: 90px;
    object-fit: cover;
    width: 100%;
}

.neon-layout-list .neon-post-body {
    padding: 0;
}

/* ============================================
   LAYOUT STYLES: MIXED (1 BIG + 4 SMALL)
============================================ */
.neon-layout-mixed {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--neon-gap-sm);
}

.neon-layout-mixed .neon-post-card:first-child {
    grid-row: 1 / 3;
}

.neon-layout-mixed .neon-post-card:first-child .neon-post-thumb img {
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    width: 100%;
}

.neon-layout-mixed .neon-post-card:not(:first-child) .neon-post-thumb img {
    height: 120px;
    object-fit: cover;
    width: 100%;
}

/* ============================================
   LAYOUT STYLES: OVERLAY CARDS (v1.2 — improved visibility)
============================================ */
.neon-layout-overlay {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--neon-gap);
}

.neon-layout-overlay .neon-post-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--neon-border-radius);
}

.neon-layout-overlay .neon-post-card .neon-post-thumb img {
    height: 220px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.4s ease;
    display: block;
}

.neon-layout-overlay .neon-post-card:hover .neon-post-thumb img {
    transform: scale(1.06);
}

/* Stronger gradient for readable text */
.neon-layout-overlay .neon-post-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.65) 50%,
        rgba(0, 0, 0, 0.0) 100%
    );
    padding: 30px 14px 14px;
}

.neon-layout-overlay .neon-post-cat-badge {
    position: static;
    display: inline-block;
    margin-bottom: 7px;
    font-size: 11px;
}

.neon-layout-overlay .neon-post-title {
    font-size: 14px;
    line-height: 1.55;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.neon-layout-overlay .neon-post-title a {
    color: #ffffff;
}

.neon-layout-overlay .neon-post-title a:hover {
    color: rgba(255,255,255,0.85);
}

.neon-layout-overlay .neon-post-meta {
    color: rgba(255,255,255,0.72);
    font-size: 11px;
    margin-top: 5px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

/* ============================================
   ADVERTISEMENT BLOCKS
============================================ */
.neon-ad-block {
    text-align: center;
    margin: var(--neon-gap) 0;
}

.neon-ad-block img {
    margin: 0 auto;
    max-width: 100%;
}

.neon-ad-label {
    font-size: 10px;
    color: var(--neon-text-light);
    font-family: var(--neon-font-secondary);
    margin-bottom: 4px;
    text-align: center;
}

/* Ad Sizes */
.neon-ad-728x90 { max-width: 728px; margin: 0 auto; }
.neon-ad-300x250 { max-width: 300px; margin: 0 auto; }
.neon-ad-160x600 { max-width: 160px; margin: 0 auto; }

/* ============================================
   SIDEBAR WIDGETS
============================================ */
.neon-widget {
    background: var(--neon-bg-white);
    margin-bottom: var(--neon-gap);
    border-radius: var(--neon-border-radius);
    overflow: hidden;
    box-shadow: var(--neon-shadow-sm);
}

.neon-widget-title {
    font-size: 15px;
    font-weight: 700;
    padding: 12px 15px;
    background: var(--neon-secondary);
    color: white;
    font-family: var(--neon-font-secondary);
    border-right: 4px solid var(--neon-primary);
}

.neon-widget-body {
    padding: 12px;
}

/* Popular Posts Widget */
.neon-widget-popular-post {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--neon-border-color);
    align-items: flex-start;
}

.neon-widget-popular-post:last-child {
    border-bottom: none;
}

.neon-widget-popular-post .post-num {
    background: var(--neon-primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-family: var(--neon-font-secondary);
    font-weight: 700;
    flex-shrink: 0;
}

.neon-widget-popular-post .post-thumb {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

.neon-widget-popular-post .post-title {
    font-size: 13px;
    line-height: 1.5;
    flex: 1;
}

.neon-widget-popular-post .post-title a {
    color: var(--neon-text-heading);
}

.neon-widget-popular-post .post-title a:hover {
    color: var(--neon-primary);
}

/* Categories Widget */
.neon-widget-categories li {
    border-bottom: 1px dashed var(--neon-border-color);
}

.neon-widget-categories li:last-child {
    border-bottom: none;
}

.neon-widget-categories li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: var(--neon-text-primary);
    font-size: 14px;
    transition: color 0.2s, padding 0.2s;
}

.neon-widget-categories li a:hover {
    color: var(--neon-primary);
    padding-right: 5px;
}

.neon-widget-categories li a span {
    background: var(--neon-bg-section);
    color: var(--neon-text-light);
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 10px;
    font-family: var(--neon-font-secondary);
}

/* Tags Widget */
.neon-widget-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px;
}

.neon-widget-tags a {
    background: var(--neon-bg-section);
    color: var(--neon-text-secondary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid var(--neon-border-color);
    transition: all 0.2s;
    font-family: var(--neon-font-secondary);
}

.neon-widget-tags a:hover {
    background: var(--neon-primary);
    color: white;
    border-color: var(--neon-primary);
}

/* ============================================
   PAGINATION
============================================ */
.neon-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.neon-pagination a,
.neon-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--neon-border-color);
    border-radius: var(--neon-border-radius);
    font-family: var(--neon-font-secondary);
    font-size: 14px;
    color: var(--neon-text-primary);
    transition: all 0.2s;
}

.neon-pagination a:hover,
.neon-pagination .current {
    background: var(--neon-primary);
    border-color: var(--neon-primary);
    color: white;
}

/* ============================================
   SINGLE POST
============================================ */
.neon-single-post {
    background: var(--neon-bg-white);
    padding: 25px;
    border-radius: var(--neon-border-radius);
    box-shadow: var(--neon-shadow-sm);
}

.neon-single-post .neon-post-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--neon-border-color);
}

.neon-single-post .neon-post-featured-image {
    margin-bottom: 20px;
    border-radius: var(--neon-border-radius);
    overflow: hidden;
}

.neon-single-post .neon-post-featured-image img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

.neon-post-content {
    font-size: 16px;
    line-height: 2;
    color: var(--neon-text-primary);
}

.neon-post-content p {
    margin-bottom: 1.2rem;
}

.neon-post-content h2,
.neon-post-content h3 {
    margin: 1.5rem 0 0.8rem;
    color: var(--neon-primary);
}

.neon-post-content blockquote {
    border-right: 4px solid var(--neon-primary);
    background: var(--neon-bg-section);
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--neon-text-secondary);
    border-radius: 0 var(--neon-border-radius) var(--neon-border-radius) 0;
}

/* Share Buttons */
.neon-share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.neon-share-label {
    font-size: 13px;
    color: var(--neon-text-light);
    font-family: var(--neon-font-secondary);
    flex-shrink: 0;
}

.neon-share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-family: var(--neon-font-secondary);
    color: white;
    transition: opacity 0.2s;
}

.neon-share-btn:hover {
    opacity: 0.85;
    color: white;
}

.neon-share-btn.facebook { background: #1877f2; }
.neon-share-btn.twitter { background: #1da1f2; }
.neon-share-btn.whatsapp { background: #25d366; }
.neon-share-btn.telegram { background: #2ca5e0; }

/* Related Posts */
.neon-related-posts {
    margin-top: 30px;
    border-top: 2px solid var(--neon-border-color);
    padding-top: 20px;
}

/* ============================================
   FOOTER (v1.2 — full color control via CSS vars)
============================================ */
.neon-footer {
    background-color: var(--neon-footer-bg);
    color: var(--neon-footer-text);
    margin-top: var(--neon-gap-lg);
}

.neon-footer-widgets {
    padding: 40px 0 30px;
    border-bottom: 1px solid var(--neon-footer-border-color);
}

.neon-footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--neon-gap-lg);
}

.neon-footer-widget-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--neon-footer-heading-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--neon-primary);
    font-family: var(--neon-font-secondary);
}

.neon-footer-widget ul li {
    padding: 6px 0;
    border-bottom: 1px solid var(--neon-footer-border-color);
}

.neon-footer-widget ul li a {
    color: var(--neon-footer-link-color);
    font-size: 14px;
    transition: color 0.2s, padding 0.2s;
}

.neon-footer-widget ul li a::before {
    content: '←';
    margin-left: 6px;
    color: var(--neon-primary);
    font-size: 12px;
}

.neon-footer-widget ul li a:hover {
    color: var(--neon-footer-link-hover);
    padding-right: 5px;
}

.neon-footer-about-text {
    font-size: 14px;
    color: var(--neon-footer-text);
    line-height: 1.9;
}

.neon-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.neon-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 14px;
    transition: background 0.2s;
}

.neon-footer-social a:hover {
    background: var(--neon-primary);
    color: white;
}

/* Footer Bottom Bar */
.neon-footer-bottom {
    padding: 15px 0;
    background: var(--neon-footer-bottom-bg);
}

.neon-footer-bottom .neon-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.neon-footer-copyright {
    font-size: 13px;
    color: var(--neon-footer-text);
    font-family: var(--neon-font-secondary);
}

.neon-footer-copyright a {
    color: var(--neon-accent);
}

.neon-footer-bottom-menu {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.neon-footer-bottom-menu a {
    font-size: 12px;
    color: var(--neon-footer-link-color);
    font-family: var(--neon-font-secondary);
    transition: color 0.2s;
}

.neon-footer-bottom-menu a:hover {
    color: var(--neon-primary);
}

.neon-credit {
    font-size: 12px;
    color: var(--neon-footer-text);
    opacity: 0.55;
    font-family: var(--neon-font-secondary);
    text-align: center;
    padding: 8px 0;
    background: rgba(0,0,0,0.2);
}

.neon-credit a {
    color: var(--neon-accent);
    font-weight: 600;
}

/* ============================================
   FOOTER WIDGET OVERRIDES v1.3
   Fix: .neon-widget has white bg by default — 
   inside footer we strip it and adapt colors
============================================ */
.neon-footer .neon-widget {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 0;
}

.neon-footer .neon-widget-title {
    background: transparent;
    color: var(--neon-footer-heading-color);
    border-right: 4px solid var(--neon-primary);
    padding: 0 12px 10px 0;
    margin-bottom: 12px;
    font-size: 16px;
    border-bottom: none;
}

.neon-footer .neon-widget-body {
    padding: 0;
    background: transparent;
}

/* Recent posts inside footer */
.neon-footer .neon-widget-popular-post {
    border-bottom: 1px solid var(--neon-footer-border-color);
    padding: 8px 0;
}
.neon-footer .neon-widget-popular-post:last-child {
    border-bottom: none;
}
.neon-footer .neon-widget-popular-post .post-title a {
    color: var(--neon-footer-link-color);
}
.neon-footer .neon-widget-popular-post .post-title a:hover {
    color: var(--neon-footer-link-hover);
}

/* Category links inside footer */
.neon-footer .neon-widget-categories li {
    border-bottom: 1px solid var(--neon-footer-border-color);
}
.neon-footer .neon-widget-categories li a {
    color: var(--neon-footer-link-color);
}
.neon-footer .neon-widget-categories li a:hover {
    color: var(--neon-footer-link-hover);
}

/* Standard WP widget text in footer */
.neon-footer .widget,
.neon-footer .widget p,
.neon-footer .widget li,
.neon-footer .widget a {
    color: var(--neon-footer-text);
    background: transparent;
}
.neon-footer .widget a:hover { color: var(--neon-footer-link-hover); }

.neon-footer .widget-title,
.neon-footer .widgettitle {
    color: var(--neon-footer-heading-color);
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--neon-primary);
    font-family: var(--neon-font-secondary);
}

/* WordPress default widget background reset */
.neon-footer .widget ul li,
.neon-footer .widget ol li {
    background: transparent;
    border-bottom: 1px solid var(--neon-footer-border-color);
    padding: 6px 0;
}
.neon-footer .widget ul li:last-child,
.neon-footer .widget ol li:last-child {
    border-bottom: none;
}

/* Customizer widget wrapper added before/after title */
.neon-footer #sidebar-footer-1 > div,
.neon-footer #sidebar-footer-2 > div,
.neon-footer #sidebar-footer-3 > div,
.neon-footer #sidebar-footer-4 > div {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

/* ============================================
   FOOTER COL INNER — v1.3 default content
============================================ */
.neon-footer-widget-col { min-width: 0; }
.neon-footer-col-inner { /* transparent inherits footer bg */ }

/* Footer link list */
.neon-footer-link-list { padding: 0; margin: 0; }
.neon-footer-link-list li {
    padding: 7px 0;
    border-bottom: 1px solid var(--neon-footer-border-color);
    display: flex;
    align-items: center;
    gap: 6px;
}
.neon-footer-link-list li:last-child { border-bottom: none; }
.neon-footer-link-list li::before {
    content: '←';
    color: var(--neon-primary);
    font-size: 12px;
    flex-shrink: 0;
}
.neon-footer-link-list li a {
    color: var(--neon-footer-link-color);
    font-size: 14px;
    transition: color 0.2s, padding 0.2s;
}
.neon-footer-link-list li a:hover {
    color: var(--neon-footer-link-hover);
    padding-right: 4px;
}

/* Footer recent posts */
.neon-footer-recent-item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--neon-footer-border-color);
    align-items: flex-start;
}
.neon-footer-recent-item:last-child { border-bottom: none; }
.neon-footer-recent-thumb { flex-shrink: 0; display: block; overflow: hidden; border-radius: 3px; }
.neon-footer-recent-thumb img {
    width: 70px; height: 54px; object-fit: cover; display: block; transition: transform 0.3s;
}
.neon-footer-recent-thumb:hover img { transform: scale(1.06); }
.neon-footer-recent-text { flex: 1; min-width: 0; }
.neon-footer-recent-text a {
    display: block;
    color: var(--neon-footer-link-color);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 4px;
    transition: color 0.2s;
}
.neon-footer-recent-text a:hover { color: var(--neon-footer-link-hover); }
.neon-footer-recent-text span {
    font-size: 11px;
    color: var(--neon-footer-text);
    opacity: 0.6;
    font-family: var(--neon-font-secondary);
}

/* Footer contact list */
.neon-footer-contact-list { padding: 0; margin: 0; }
.neon-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--neon-footer-border-color);
    font-size: 14px;
    color: var(--neon-footer-text);
}
.neon-footer-contact-list li:last-child { border-bottom: none; }
.neon-footer-contact-list li i {
    color: var(--neon-primary);
    width: 16px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
}
.neon-footer-contact-list li a { color: var(--neon-footer-link-color); }
.neon-footer-contact-list li a:hover { color: var(--neon-footer-link-hover); }

.cat-badge-politics { background: #c0392b; }
.cat-badge-sports { background: #27ae60; }
.cat-badge-tech { background: #2980b9; }
.cat-badge-economy { background: #f39c12; }
.cat-badge-world { background: #8e44ad; }
.cat-badge-pakistan { background: #16a085; }
.cat-badge-entertainment { background: #e91e63; }

/* ============================================
   WEATHER WIDGET IN TOPBAR (AJAX POWERED)
============================================ */
.neon-weather-display {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--neon-topbar-text);
}

.neon-weather-display .weather-temp {
    font-weight: 600;
    font-family: var(--neon-font-secondary);
}

/* ============================================
   SEARCH OVERLAY
============================================ */
.neon-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.neon-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.neon-search-overlay-inner {
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
}

.neon-search-overlay form {
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.neon-search-overlay input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    outline: none;
    font-size: 18px;
    font-family: var(--neon-font-primary);
    direction: rtl;
}

.neon-search-overlay button {
    background: var(--neon-primary);
    border: none;
    padding: 0 25px;
    cursor: pointer;
    color: white;
    font-size: 18px;
    transition: background 0.2s;
}

.neon-search-overlay button:hover {
    background: var(--neon-primary-dark);
}

.neon-search-overlay-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.2s;
}

.neon-search-overlay-close:hover {
    transform: rotate(90deg);
}

/* ============================================
   MOBILE MENU (OFFCANVAS)
============================================ */
.neon-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.neon-mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.neon-mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: white;
    z-index: 9999;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: var(--neon-shadow-lg);
}

.neon-mobile-menu-panel.active {
    right: 0;
}

.neon-mobile-menu-header {
    background: var(--neon-primary);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.neon-mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.neon-mobile-nav ul {
    padding: 10px 0;
}

.neon-mobile-nav ul li {
    border-bottom: 1px solid var(--neon-border-color);
}

.neon-mobile-nav ul li a {
    display: block;
    padding: 12px 20px;
    color: var(--neon-text-primary);
    font-size: 15px;
    font-family: var(--neon-font-secondary);
    transition: background 0.2s, color 0.2s;
}

.neon-mobile-nav ul li a:hover {
    background: var(--neon-bg-section);
    color: var(--neon-primary);
    padding-right: 28px;
}

.neon-mobile-nav ul .sub-menu {
    background: var(--neon-bg-section);
    display: none;
}

.neon-mobile-nav ul .sub-menu.active {
    display: block;
}

.neon-mobile-nav ul .sub-menu li a {
    padding-right: 35px;
    font-size: 13px;
}

/* ============================================
   BACK TO TOP BUTTON
============================================ */
.neon-back-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 42px;
    height: 42px;
    background: var(--neon-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--neon-shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s;
    z-index: 999;
}

.neon-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.neon-back-to-top:hover {
    background: var(--neon-primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   SCROLL PROGRESS BAR
============================================ */
.neon-scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    height: 3px;
    background: var(--neon-primary);
    z-index: 9999;
    transition: width 0.1s;
    width: 0%;
}

/* ============================================
   UTILITY CLASSES
============================================ */
.neon-clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.neon-hidden { display: none !important; }
.neon-text-center { text-align: center; }
.neon-text-right { text-align: right; }
.neon-mt-0 { margin-top: 0; }
.neon-mb-0 { margin-bottom: 0; }

/* ============================================
   RESPONSIVE — TABLET (max-width: 1024px)
============================================ */
@media (max-width: 1024px) {
    .neon-content-area {
        grid-template-columns: 1fr 280px;
    }

    .neon-layout-4col {
        grid-template-columns: repeat(3, 1fr);
    }

    .neon-footer-widgets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   RESPONSIVE — MOBILE (max-width: 768px)
============================================ */
@media (max-width: 768px) {
    :root {
        --neon-font-size-base: 15px;
        --neon-font-size-xxl: 22px;
        --neon-gap: 12px;
        --neon-gap-lg: 20px;
    }

    .neon-topbar {
        display: none;
    }

    .neon-header-inner {
        padding: 8px 0;
    }

    /* All header layout inner wrappers get compact padding on mobile */
    .neon-header-centered,
    .neon-header-stacked,
    .neon-header-inner.neon-hl-right,
    .neon-header-inner.neon-hl-left,
    .neon-header-inner.neon-hl-minimal {
        padding: 8px 0;
    }

    .neon-logo-text {
        font-size: 22px;
    }

    .neon-header-ads {
        display: none;
    }

    .neon-mobile-menu-toggle {
        display: flex;
    }

    .neon-nav {
        display: none;
    }

    .neon-content-area {
        grid-template-columns: 1fr;
    }

    .neon-sidebar {
        display: none;
    }

    /* Home sidebar also collapses and stacks below */
    .neon-home-with-sidebar,
    body.neon-home-sidebar-left .neon-home-with-sidebar {
        grid-template-columns: 1fr !important;
    }

    .neon-home-sidebar {
        position: static;
        order: 99;   /* push below main content on mobile */
    }

    .neon-hero-slide img {
        height: 240px;
    }

    .neon-hero-thumbs {
        grid-template-columns: 1fr 1fr;
    }

    .neon-hero-thumb-card img {
        height: 140px;
    }

    .neon-hero-slide-title {
        font-size: 17px;
    }

    .neon-layout-2col,
    .neon-layout-3col,
    .neon-layout-4col,
    .neon-layout-mixed {
        grid-template-columns: 1fr;
    }

    .neon-layout-magazine {
        grid-template-columns: 1fr;
    }

    .neon-layout-magazine .neon-magazine-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .neon-layout-magazine .neon-magazine-sidebar .neon-post-card {
        flex: 1;
        min-width: 140px;
    }

    .neon-featured-hero {
        grid-template-columns: 1fr;
    }

    .neon-featured-hero .neon-post-featured {
        grid-column: 1;
    }

    .neon-featured-hero .neon-post-featured img {
        height: 220px;
    }

    .neon-layout-overlay {
        grid-template-columns: 1fr 1fr;
    }

    .neon-footer-widgets-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--neon-gap);
    }

    .neon-footer-bottom .neon-container {
        flex-direction: column;
        text-align: center;
    }

    .neon-home-section {
        padding: 15px;
    }

    .neon-breaking-label::after {
        display: none;
    }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (max-width: 480px)
============================================ */
@media (max-width: 480px) {
    .neon-layout-overlay {
        grid-template-columns: 1fr;
    }

    .neon-footer-widgets-grid {
        grid-template-columns: 1fr;
    }

    .neon-layout-list .neon-post-card {
        grid-template-columns: 100px 1fr;
    }

    .neon-single-post {
        padding: 15px;
    }

    .neon-featured-hero .neon-post-featured img {
        height: 180px;
    }

    .neon-featured-hero .neon-post-featured .neon-post-title {
        font-size: 16px;
    }
}

/* ============================================
   PRINT STYLES
============================================ */
@media print {
    .neon-header,
    .neon-topbar,
    .neon-nav,
    .neon-breaking-news,
    .neon-sidebar,
    .neon-footer,
    .neon-back-to-top,
    .neon-share-buttons {
        display: none;
    }

    .neon-content-area {
        grid-template-columns: 1fr;
    }

    body {
        background: white;
        color: black;
    }
}

/* ============================================
   WORDPRESS CORE CLASSES
============================================ */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float: left; margin: 5px 0 20px 20px; }
.alignleft { float: right; margin: 5px 20px 20px 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--neon-text-light); text-align: center; margin-top: 5px; }
.sticky { border-right: 4px solid var(--neon-primary); }
.bypostauthor { }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
