@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --orange: #E8573A;
  --orange-light: #F06B50;
  --orange-dark: #D04830;
  --orange-glow: rgba(232, 87, 58, .1);

  --bg-body: #FDFDFB;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-section-alt: #f0f1f5;

  --border-color: rgba(0, 0, 0, 0.06);
  --text-heading: #1a1a2e;
  --text-body: #4a4a5a;
  --text-muted: #8c8c9c;
  
  --radius: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --nav-height: 80px;
  --max-width: 1200px;

  /* Navbar & Dropdown Sync */
  --nav-bg: #ffffff;
  --nav-text: #1a1a2e;
  --nav-text-muted: #6b7280;
  --nav-border: rgba(0, 0, 0, 0.05);
  --nav-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  --nav-shadow-scroll: 0 4px 20px rgba(0, 0, 0, 0.08);
  
  --brand-primary: #1a365d;
  --brand-accent: var(--orange);

  --dropdown-bg: #ffffff;
  --dropdown-border: rgba(0, 0, 0, 0.05);
  --dropdown-shadow: 0 20px 40px rgba(0,0,0,0.12);
  --dropdown-text: #4b5563;
  --dropdown-text-hover: #EE5A36;
  --dropdown-link-hover: rgba(238, 90, 54, 0.05);

  --mega-bg: #ffffff;
  --mega-sidebar-bg: #f9fafb;
  --mega-content-bg: #ffffff;
  --mega-border: rgba(0,0,0,0.05);
  --mega-text: #4b5563;
  --mega-text-hover: #EE5A36;
  --mega-heading: #9ca3af;
  --mega-category-active: #EE5A36;
  --mega-accent-bar: linear-gradient(to right, #EE5A36, #f97316);

  --glass-bg: rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.12);
}

[data-theme="dark"] {
  --bg-body: #121212;
  --bg-white: #1a1a1a;
  --bg-card: #242424;
  --text-heading: #ffffff;
  --text-body: #a8a8a8;
  --text-muted: #757575;
  --border-color: rgba(255, 255, 255, 0.08);

  --nav-bg: #1a1a1a;
  --nav-text: #ffffff;
  --nav-text-muted: rgba(255, 255, 255, 0.6);
  --nav-border: rgba(255, 255, 255, 0.05);
  --brand-primary: #e2e8f0;
  
  --dropdown-bg: #242424;
  --dropdown-border: rgba(255, 255, 255, 0.1);
  --dropdown-text: #cbd5e1;
  --dropdown-link-hover: rgba(255, 255, 255, 0.04);
  
  --mega-bg: #242424;
  --mega-sidebar-bg: #1f1f1f;
  --mega-content-bg: #242424;
  --mega-border: rgba(255,255,255,0.05);
  --mega-text: #cbd5e1;
  --mega-heading: #757575;
}

[data-theme="dark"] .hero-sub {
  background: #121212;
}

[data-theme="dark"] .hero-sub h1 {
  color: #ffffff;
}

[data-theme="dark"] .hero-desc {
  color: #ffffff;
  opacity: 0.9;
}

[data-theme="dark"] .breadcrumb,
[data-theme="dark"] .breadcrumb a {
  color: #ffffff;
  opacity: 0.7;
}

[data-theme="dark"] .breadcrumb .active {
  color: #ffffff;
  opacity: 1;
}

[data-theme="dark"] .hero-overlay {
  background: linear-gradient(155deg, rgba(15, 17, 23, 0.72) 15%, rgba(15, 17, 23, 0) 70%, rgba(15, 17, 23, 0) 100%);
}

[data-theme="dark"] .hero-circle {
  background: #94a3b8;
  opacity: 0.06;
}

[data-theme="dark"] .hg-line,
[data-theme="dark"] .hg-orbit,
[data-theme="dark"] .hg-node,
[data-theme="dark"] .hg-dot,
[data-theme="dark"] .hg-shape {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .hg-line,
[data-theme="dark"] .hg-node,
[data-theme="dark"] .hg-dot,
[data-theme="dark"] .hg-shape {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .hg-node {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .navbar {
  background: rgba(26, 26, 26, .90);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(240, 107, 80, .08);
}
[data-theme="dark"] .navbar.scrolled { 
  background: rgba(26, 26, 26, 0.9) !important; 
  box-shadow: 0 4px 30px rgba(0,0,0,.5); 
}
[data-theme="dark"] .navbar .nav-link { color: rgba(255,255,255,.6); }
[data-theme="dark"] .navbar .nav-link:hover { color: var(--orange) !important; background: rgba(255,255,255,.06); }
[data-theme="dark"] .navbar .brand-title { color: #ffffff !important; }
[data-theme="dark"] .navbar .brand-sub { color: rgba(255,255,255,.6) !important; }
[data-theme="dark"] .navbar .logo-icon { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
[data-theme="dark"] .logo-icon {
  background: var(--orange-glow); border-color: rgba(240, 107, 80, .12);
  color: var(--orange);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 10px; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--nav-border);
    box-shadow: var(--nav-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    box-shadow: var(--nav-shadow-scroll);
}

.navbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 16px;
}

/* ---- Brand ---- */
.nav-brand { flex-shrink: 0; }
.logo-wrapper { display: flex; align-items: center; gap: 12px; }

.nav-logo-img { height: 42px; width: auto; display: block; transition: var(--transition); }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-title { font-weight: 800; font-size: 14px; color: var(--nav-text); letter-spacing: 0.5px; }
.brand-sub { font-weight: 600; font-size: 10px; color: var(--nav-text-muted); letter-spacing: 1px; text-transform: uppercase; }

/* ---- Nav Links ---- */
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
    display: flex; align-items: center; gap: 5px;
    padding: 8px 16px; font-size: 14px; font-weight: 500;
    color: var(--nav-text); border-radius: 8px;
    transition: var(--transition);
    cursor: pointer; position: relative;
}
.nav-link:hover { color: var(--orange); background: rgba(0, 0, 0, .03); }

/* Hide mobile icons on desktop */
.mobile-nav-icon { display: none; }

.dropdown-arrow { transition: transform 0.3s ease, color 0.3s ease; opacity: 0.6; }
.nav-item.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); opacity: 1; color: var(--orange); }

/* ---- Nav Right ---- */
.nav-right { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(0, 0, 0, .05); border: 1.5px solid rgba(0, 0, 0, .05);
    cursor: pointer; transition: var(--transition);
    color: var(--text-heading);
}
.theme-toggle:hover {
    background: rgba(255, 255, 255, .2);
    color: #fff; transform: rotate(20deg) scale(1.08);
}
[data-theme="dark"] .theme-toggle { background: rgba(255, 255, 255, 0.05); }
[data-theme="dark"] .theme-toggle:hover { background: rgba(255, 255, 255, 0.1); }

/* ==============================
   DROPDOWN MENUS
   ============================== */
.dropdown-menu {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(12px);
    min-width: 200px; background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    border-radius: 14px; box-shadow: var(--dropdown-shadow);
    padding: 10px; opacity: 0; visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none; z-index: 100;
}
.nav-item.has-dropdown:hover > .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); pointer-events: auto; }

.dropdown-column { display: flex; flex-direction: column; gap: 2px; }
.dropdown-link {
    display: block; padding: 10px 14px; font-size: 0.85rem; font-weight: 500;
    color: var(--dropdown-text); border-radius: 8px; transition: all 0.2s ease;
    position: relative;
}
.dropdown-link:hover { color: var(--dropdown-text-hover); background: var(--dropdown-link-hover); padding-left: 20px; }
.dropdown-link:hover::before {
    content: ''; position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
    width: 3px; height: 16px; background: var(--orange); border-radius: 2px;
}

/* Nested sub-dropdown */
.dropdown-item-nested { position: relative; }
.dropdown-link.has-sub { display: flex; align-items: center; justify-content: space-between; padding-right: 10px; }
.dropdown-item-nested:hover > .dropdown-link.has-sub { color: var(--dropdown-text-hover); background: var(--dropdown-link-hover); }

.sub-dropdown {
    position: absolute; top: -10px; left: 100%;
    min-width: 180px; background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    border-radius: 12px; box-shadow: var(--dropdown-shadow);
    padding: 8px; opacity: 0; visibility: hidden;
    transform: translateX(10px); transition: all 0.25s ease;
    pointer-events: none;
}
.dropdown-item-nested:hover > .sub-dropdown { opacity: 1; visibility: visible; transform: translateX(4px); pointer-events: auto; }

/* ==============================
   MEGA MENU
   ============================== */
.mega-menu {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: var(--mega-bg); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none; z-index: 99;
    border-top: 3px solid transparent; border-image: var(--mega-accent-bar) 1;
}
.nav-item.has-megamenu:hover > .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

.mega-menu-inner { max-width: var(--max-width); margin: 0 auto; display: flex; min-height: 300px; }
.mega-sidebar {
    width: 240px; flex-shrink: 0; background: var(--mega-sidebar-bg);
    padding: 24px 16px; display: flex; flex-direction: column; gap: 4px;
    border-right: 1px solid var(--mega-border);
}
.mega-category {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 18px; font-size: 0.88rem; font-weight: 550;
    color: var(--mega-text); border-radius: 10px; transition: all 0.2s ease;
}
.mega-category:hover, .mega-category.active { color: var(--mega-category-active); background: rgba(232, 87, 58, 0.08); }

.mega-content { flex: 1; background: var(--mega-content-bg); padding: 32px 40px; }
.mega-panel { display: none; gap: 48px; animation: megaFadeIn 0.3s ease forwards; }
.mega-panel.active { display: flex; }

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

.mega-column { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mega-heading {
    font-size: 11px; font-weight: 700; color: var(--mega-heading);
    text-transform: uppercase; letter-spacing: 1.2px; padding-bottom: 12px;
    margin-bottom: 10px; border-bottom: 1px solid var(--mega-border);
}
.mega-link {
    display: block; padding: 8px 0; font-size: 0.88rem; color: var(--mega-text);
    transition: all 0.2s ease; position: relative; padding-left: 0;
}
.mega-link:hover { color: var(--mega-text-hover); padding-left: 12px; }
.mega-link:hover::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 3px; height: 14px; background: var(--orange); border-radius: 2px;
}
.theme-toggle .icon-sun { display: block; transition: var(--transition); }
.theme-toggle .icon-moon { display: none; transition: var(--transition); }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ---------- Hero Subpage ---------- */
.hero-sub {
    position: relative;
    padding: 140px 20px 100px;
    background: var(--bg-white);
    text-align: center;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
    z-index: 2;
}

.hero-sub h1 { 
    font-size: 3.2rem; 
    font-weight: 800; 
    color: #000000; 
    letter-spacing: 2px; 
    margin-bottom: 15px; 
    text-shadow: none; 
    position: relative;
    z-index: 2;
    transition: color var(--transition);
}

.hero-desc { 
    max-width: 600px; 
    margin: 0 auto 20px; 
    font-size: 0.95rem; 
    color: #000000; 
    opacity: 0.8; 
    position: relative;
    z-index: 2;
}

.breadcrumb { 
    font-size: 0.85rem; 
    color: #000000; 
    font-weight: 600; 
    position: relative;
    z-index: 2;
    opacity: 0.7;
}

.breadcrumb a { color: #000000; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .active { color: #000000; font-weight: 800; opacity: 1; }

/* --- Hero Ornaments --- */
.hero-ornament {
    position: absolute;
    width: 775px;
    height: 775px;
    border-radius: 9999px;
    opacity: 1.0;
    filter: blur(150px);
    z-index: 1;
    pointer-events: none;
}

.ornament-orange-1 {
    background: #EE5A36;
    left: -156px;
    top: -480px;
}

.ornament-orange-2 {
    background: #EE5A36;
    left: 1002px;
    top: -92px;
}

.ornament-green-1 {
    background: #338D24;
    left: 330px;
    top: -337px;
}

.ornament-green-2 {
    background: #338D24;
    left: -389px;
    top: 51px;
}

.ornament-green-3 {
    background: #338D24;
    left: 1002px;
    top: -672px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.25) 15%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0) 100%);
    overflow: hidden;
    pointer-events: none;
}

.hero-circle {
    position: absolute;
    border-radius: 9999px;
    background: white;
    opacity: 0.10;
    pointer-events: none;
}

.hero-circle-1 {
    width: 615px;
    height: 615px;
    left: -15%;
    top: -196px;
}

.hero-circle-2 {
    width: 474px;
    height: 474px;
    left: -154px;
    top: 450px;
}

/* Patterns */
.hero-bg-pattern { 
    position: absolute; 
    inset: 0; 
    pointer-events: none; 
    overflow: hidden; 
    z-index: 1;
}

/* --- Grid lines --- */
.hg-line { position: absolute; opacity: .24; }
.hg-v1, .hg-v2, .hg-v3, .hg-v4 {
  width: 1px; height: 100%; top: 0;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.8) 30%, rgba(255,255,255,.8) 70%, transparent);
}
.hg-v1 { left: 14%; }
.hg-v2 { left: 38%; }
.hg-v3 { left: 62%; }
.hg-v4 { left: 86%; }

.hg-h1, .hg-h2, .hg-h3 {
  height: 1px; width: 100%; left: 0;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.8) 15%, rgba(255,255,255,.8) 85%, transparent);
}
.hg-h1 { top: 22%; }
.hg-h2 { top: 50%; }
.hg-h3 { top: 78%; }

/* --- Orbit rings --- */
.hg-orbit {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.07);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.ho1 { width: 460px; height: 460px; animation: hgSpin 50s linear infinite; }
.ho2 { width: 320px; height: 320px; border-style: dashed; border-color: rgba(255,255,255,.15); animation: hgSpin 35s linear infinite reverse; }
.ho3 { width: 160px; height: 160px; border-width: 2px; border-color: rgba(255,255,255,.24); animation: hgSpin 25s linear infinite; }
@keyframes hgSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* --- Pulsing nodes --- */
.hg-node {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.35), 0 0 20px rgba(255,255,255,.1);
}
.hn1 { top: 22%; left: 14%; animation: hgPulse 3.5s ease-in-out infinite; }
.hn2 { top: 22%; left: 62%; animation: hgPulse 3.5s ease-in-out .6s infinite; }
.hn3 { top: 50%; left: 38%; animation: hgPulse 3.5s ease-in-out 1.2s infinite; }
.hn4 { top: 50%; left: 86%; animation: hgPulse 3.5s ease-in-out 1.8s infinite; }
.hn5 { top: 78%; left: 14%; animation: hgPulse 3.5s ease-in-out 2.4s infinite; }
.hn6 { top: 78%; left: 62%; animation: hgPulse 3.5s ease-in-out .9s infinite; }

@keyframes hgPulse {
  0%, 100% { opacity: .15; transform: scale(1); }
  50% { opacity: .6; transform: scale(2.2); }
}

/* --- Floating dots --- */
.hg-dot { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.85); }
.hd1 { top: 10%; left: 7%;  animation: hgFloat 9s ease-in-out infinite; }
.hd2 { top: 28%; left: 24%; animation: hgFloat 11s ease-in-out 1s infinite; }
.hd3 { top: 55%; left: 9%;  animation: hgFloat 8s ease-in-out 2s infinite; }
.hd4 { top: 72%; left: 30%; animation: hgFloat 10s ease-in-out .5s infinite; }
.hd5 { top: 18%; left: 78%; animation: hgFloat 12s ease-in-out 3s infinite; }
.hd6 { top: 42%; left: 92%; animation: hgFloat 9s ease-in-out 1.5s infinite; }
.hd7 { top: 82%; left: 72%; animation: hgFloat 10s ease-in-out 4s infinite; }
.hd8 { top: 65%; left: 54%; animation: hgFloat 8s ease-in-out 2.5s infinite; }

@keyframes hgFloat {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: .4; }
  50%  { transform: translateY(-50px) scale(1.4); opacity: .25; }
  90%  { opacity: .06; }
  100% { transform: translateY(-100px) scale(.5); opacity: 0; }
}

/* --- Geometric shapes --- */
.hg-shape { position: absolute; opacity: .24; }
.hs-sq { width: 50px; height: 50px; border: 2px solid #fff; border-radius: 12px; top: 16%; right: 12%; transform: rotate(25deg); animation: hgDrift 7s ease-in-out infinite; }
.hs-ci { width: 32px; height: 32px; border: 2px solid #fff; border-radius: 50%; bottom: 22%; left: 8%; animation: hgDrift 9s ease-in-out 2s infinite; }
.hs-di { width: 28px; height: 28px; border: 2px solid #fff; top: 40%; left: 6%; transform: rotate(45deg); animation: hgDrift 8s ease-in-out 3s infinite; }
@keyframes hgDrift {
  0%, 100% { transform: translateY(0) rotate(25deg); }
  50% { transform: translateY(-14px) rotate(40deg); }
}

/* ---------- Search & Category ---------- */
.filter-section { margin-top: -30px; position: relative; z-index: 10; padding-bottom: 40px; }
.search-box-wrapper { max-width: 500px; margin: 0 auto; }
.search-box {
    background: var(--bg-white);
    border-radius: 30px;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}
.search-box input { border: none; outline: none; background: transparent; flex: 1; font-size: 0.9rem; color: var(--text-heading); font-family: inherit; }
.search-icon { color: var(--text-muted); }

.category-nav-wrapper { margin-top: 30px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
.category-nav { display: flex; align-items: center; justify-content: center; gap: 20px; }
.cat-label { font-weight: 700; font-size: 0.9rem; color: var(--text-heading); }
.cat-links { display: flex; gap: 25px; flex-wrap: wrap; justify-content: center; }
.cat-link { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; padding: 5px 0; position: relative; }
.cat-link:hover, .cat-link.active { color: var(--text-heading); }
.cat-link.active::after {
    content: ''; position: absolute; bottom: -16px; left: 0; right: 0; height: 3px; background: var(--orange); border-radius: 2px;
}

/* ---------- Content Section ---------- */
.content-section { padding: 60px 0; text-align: center; }
.section-title-alt h2 { font-size: 2.2rem; font-weight: 800; color: var(--text-heading); margin-bottom: 40px; }
.content-placeholder { width: 100%; max-width: 900px; margin: 0 auto; }
.placeholder-box {
    background: #E0E0E0;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 5px;
}
[data-theme="dark"] .placeholder-box { background: #333; color: #555; }

/* ---------- News Section ---------- */
.news-section { padding: 10px 0 40px; background: var(--bg-body); }
.section-title-center { text-align: center; margin-bottom: 50px; }
.section-title-center h2 { font-size: 2.2rem; font-weight: 800; color: var(--text-heading); margin-bottom: 10px; }
.section-subtitle { font-size: 1rem; color: var(--text-body); opacity: 0.8; margin-left: auto; margin-right: auto; max-width: 600px; }

.news-horizontal-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 20px;
}

.news-item-horizontal {
    display: grid;
    grid-template-columns: clamp(200px, 20vw, 300px) 1fr;
    gap: clamp(20px, 4vw, 40px);
    align-items: center;
    padding: clamp(20px, 3vw, 30px);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.news-item-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: var(--orange-glow);
}


.news-item-horizontal:hover .news-item-title {
    color: var(--orange);
}

.news-item-img {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-item-horizontal:hover .news-item-img img {
    transform: scale(1.08);
}

.news-item-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-badge {
    background: #dcfce7;
    color: #166534;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 700;
    width: fit-content;
    text-transform: capitalize;
}

.news-item-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.4;
    transition: var(--transition);
    cursor: pointer;
    margin-bottom: 6px;
}

.news-item-excerpt {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.85;
}

.news-item-excerpt + .news-item-date {
    margin-top: auto;
}

.news-item-date {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
}

[data-theme="dark"] .news-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

/* =========================================
   PREMIUM NEWS 
   ========================================= */
.section-premium { padding: 40px 0; background: var(--bg-body); }
.section-title-wrap { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 40px; }
.title-line { width: 5px; height: 35px; background: linear-gradient(to bottom, #EE5A36, #F06B50); border-radius: 4px; flex-shrink: 0; margin-top: 5px; }
.section-title { font-size: 1.5rem; font-weight: 800; color: var(--text-heading); line-height: 1.2; text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: 4px; }
.section-subtitle { font-size: 1rem; color: var(--text-body); margin-top: 0; line-height: 1.5; }

.news-layout-premium { 
  display: grid; 
  grid-template-columns: 1.15fr 0.85fr 1fr; 
  gap: 30px; 
  align-items: stretch;
}

@media (max-width: 1280px) {
  .news-layout-premium { 
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 24px; 
  }
}


/* N-Hero Col */
.n-hero-col { height: 100%; display: flex; flex-direction: column; }
.n-card-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--bg-card);
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  text-decoration: none;
}
.n-card-hero:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }

.n-img-wrapper {
  position: relative;
  width: 100%;
  height: 50%;
  min-height: 200px;
  overflow: hidden;
}
.n-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.n-card-hero:hover .n-img-wrapper img { transform: scale(1.06); }
.n-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--orange);
  color: #fff;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(238, 90, 54, 0.3);
}

.n-content-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: clamp(20px, 3vw, 30px);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  margin-top: -30px;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  border-radius: 20px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.n-meta { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.8rem; font-weight: 600; margin-bottom: clamp(8px, 1.5vw, 12px); }
.n-meta svg { color: var(--orange); margin-top: -2px; }
.n-content-glass h3 { 
  font-size: clamp(1.2rem, 2.5vw, 1.6rem); 
  font-weight: 800; 
  color: var(--text-heading); 
  line-height: 1.3; 
  margin-bottom: clamp(10px, 2vw, 15px); 
  transition: color 0.3s ease; 
}
.n-card-hero:hover .n-content-glass h3 { color: var(--orange); }
.n-content-glass p { 
  font-size: clamp(0.85rem, 1.5vw, 0.95rem); 
  color: var(--text-body); 
  line-height: 1.65; 
  display: -webkit-box; 
  -webkit-line-clamp: 3; 
  line-clamp: 3; 
  -webkit-box-orient: vertical; 
  overflow: hidden; 
  margin: 0; 
  opacity: 0.9;
}


/* N-Side Col */
.n-side-col { display: flex; flex-direction: column; gap: 20px; height: 100%; }
.n-card-vertical {
  position: relative;
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  min-height: 180px;
  transform: translateZ(0);
}
.n-card-vertical img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.n-card-vertical:hover img { transform: scale(1.08); }

.n-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  padding: clamp(20px, 3vw, 30px) clamp(15px, 2.5vw, 25px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
  transition: background 0.4s ease;
}
.n-card-vertical:hover .n-card-overlay { background: linear-gradient(to top, rgba(238, 90, 54, 0.95) 0%, rgba(0,0,0,0.4) 70%, transparent 100%); }

.n-badge-sm { align-self: flex-start; background: rgba(255,255,255,0.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; letter-spacing: 0.05em; }
.n-card-overlay h4 { 
  color: #fff; 
  font-size: clamp(1rem, 2.2vw, 1.25rem); 
  font-weight: 800; 
  line-height: 1.35; 
  margin-bottom: 8px; 
  display: -webkit-box; 
  -webkit-line-clamp: 3; 
  line-clamp: 3; 
  -webkit-box-orient: vertical; 
  overflow: hidden; 
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.n-date-sm { color: rgba(255,255,255,0.8); font-size: 0.8rem; font-weight: 600; }


/* N-List Col */
.n-list-col { background: var(--bg-card); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: 0 10px 40px rgba(0,0,0,0.05); display: flex; flex-direction: column; border: 1px solid var(--border-color); }
.n-list-header { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.n-list-header h4 { font-size: 1.25rem; font-weight: 800; color: var(--text-heading); text-transform: uppercase; letter-spacing: 0.05em; margin: 0; }
.n-line { flex: 1; height: 2px; background: rgba(0,0,0,0.05); position: relative; border-radius: 2px; }
.n-line::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 50px; background: var(--orange); border-radius: 2px; }

.n-article-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(15px, 2vw, 25px); }
.n-article-list li a { display: flex; align-items: center; gap: 18px; padding: 12px; border-radius: 14px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); background: rgba(255,255,255,0); text-decoration: none; }
.n-article-list li a:hover { background: rgba(238, 90, 54, 0.08); transform: translateX(8px); }
.n-num { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; color: rgba(238, 90, 54, 0.1); line-height: 1; transition: color 0.3s ease; font-variant-numeric: tabular-nums; flex-shrink: 0; width: 45px; }
.n-article-list li a:hover .n-num { color: var(--orange); }
.n-text { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.n-text h5 { font-size: 1rem; font-weight: 700; color: var(--text-heading); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.3s ease; margin: 0; }
.n-article-list li a:hover .n-text h5 { color: var(--orange); }
.n-list-meta { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; opacity: 0.8; }


/* Dark Mode Overrides */
[data-theme="dark"] .n-content-glass { 
  background: rgba(30, 30, 30, 0.8); 
  border: 1px solid rgba(255,255,255,0.1); 
  backdrop-filter: blur(20px);
}
[data-theme="dark"] .n-card-hero { box-shadow: 0 10px 40px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.08); }
[data-theme="dark"] .n-list-col { 
  background: var(--bg-card);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5); 
  border: 1px solid rgba(255,255,255,0.08); 
}
[data-theme="dark"] .n-line { background: rgba(255,255,255,0.15); }
[data-theme="dark"] .n-article-list li a:hover { background: rgba(238, 90, 54, 0.15); }
[data-theme="dark"] .n-num { color: rgba(255,255,255,0.08); }
[data-theme="dark"] .n-card-vertical { border: 1px solid rgba(255,255,255,0.08); }


/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0 20px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-white);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-logo-area .brand-title {
  color: var(--text-heading);
  font-size: 1rem;
  font-weight: 800;
  margin-top: 5px;
}

.footer-logo-area .brand-sub {
  font-size: 0.82rem;
  margin-top: 8px;
  line-height: 1.5;
  color: var(--text-muted);
}

.footer-contact-info h4,
.footer-social h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-heading);
  position: relative;
  padding-bottom: 8px;
}

.footer-contact-info h4::after,
.footer-social h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--orange);
  border-radius: 3px;
}

.footer-contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-body);
  font-size: 0.88rem;
}

.footer-contact-info svg {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 3px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  background: var(--text-heading);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(232, 87, 58, 0.3);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--orange);
}

@media (max-width: 1024px) {
    .site-footer { padding-bottom: 100px; }
}

@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-contact-info li { justify-content: center; }
    .footer-bottom-bar { flex-direction: column; gap: 10px; text-align: center; }
}

/* ---------- Animations ---------- */
.fade-in { opacity: 0; transform: translateY(20px); transition: 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 60px;
    margin-bottom: 20px;
}

.page-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-heading);
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
}

.page-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.page-btn.active {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    box-shadow: 0 8px 20px rgba(232, 87, 58, 0.3);
}

.page-btn.prev, .page-btn.next {
    color: var(--text-body);
}

[data-theme="dark"] .page-btn {
    background: var(--bg-card);
    border-color: rgba(255,255,255,0.1);
    color: #cbd5e1;
}

[data-theme="dark"] .page-btn.active {
    background: var(--orange);
    color: #fff;
}

@media (max-width: 768px) {
    .pagination { gap: 8px; margin-top: 40px; }
    .page-btn { width: 38px; height: 38px; font-size: 0.85rem; }
}
@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    
    body { padding-bottom: 110px; } 

    /* Navbar Stays Top with Contrast */
    .navbar { 
        height: 64px !important; 
        box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important; 
        border-bottom: 1px solid rgba(0,0,0,0.05) !important; 
        background: var(--nav-bg) !important; 
        backdrop-filter: none !important; /* CRITICAL FIX: Prevent containing block for fixed pill */
        -webkit-backdrop-filter: none !important;
    }
    .navbar .brand-title { color: var(--nav-text) !important; }
    .navbar .brand-sub { color: var(--nav-text-muted) !important; }
    .navbar .brand-sub { color: var(--nav-text-muted) !important; }
    .navbar .theme-toggle { color: var(--nav-text) !important; border-color: rgba(0,0,0,0.1) !important; }
    
    .navbar-inner { padding: 0 16px !important; }
    .logo-wrapper { transform: scale(0.8); }

    /* Floating Navigation Pill */
    .nav-links {
        position: fixed !important; 
        bottom: 24px !important; 
        top: auto !important;
        left: 50% !important; 
        transform: translateX(-50%) !important;
        width: calc(100% - 32px) !important; 
        max-width: 500px !important;
        height: auto !important;
        min-height: 64px !important;
        background: var(--nav-bg) !important;
        padding: 8px 16px !important;
        display: flex !important; 
        flex-direction: row !important;
        justify-content: space-between !important; 
        align-items: center !important;
        border-radius: 40px !important; 
        border: 1px solid rgba(255,255,255,0.2) !important;
        box-shadow: 0 12px 32px rgba(238, 90, 54, 0.4) !important;
        z-index: 9999 !important; /* Always on top */
        backdrop-filter: blur(15px) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    
    .nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; position: static; }
    .nav-link { 
        padding: 4px 0 !important; 
        font-size: 11px !important; 
        flex-direction: column !important; 
        gap: 3px !important;
        color: var(--nav-text-muted) !important; 
        font-weight: 600 !important;
        background: transparent !important;
    }
    .mobile-nav-icon { display: block !important; width: 22px; height: 22px; }
    .nav-link span { display: block; }
    .nav-link .dropdown-arrow { display: none; }
    .nav-link:hover, .nav-item.mobile-open .nav-link { color: var(--brand-accent) !important; }

    /* Menus Pop-up (Above Pill) */
    .dropdown-menu, .mega-menu {
        position: fixed !important; 
        bottom: 95px !important; 
        top: auto !important;
        left: 50% !important; 
        transform: translateX(-50%) !important;
        width: calc(100vw - 32px) !important; 
        max-width: 480px !important;
        max-height: 65vh !important; 
        overflow-y: auto !important;
        display: none; 
        border-radius: 24px; 
        background: var(--dropdown-bg);
        padding: 24px; 
        z-index: 10005 !important; 
        box-shadow: 0 15px 50px rgba(0,0,0,0.3);
        border: 1px solid var(--dropdown-border);
        pointer-events: auto !important;
    }
    
    .sub-dropdown {
        position: static !important;
        width: 100% !important;
        display: none;
        border: none !important;
        background: rgba(238, 90, 54, 0.05) !important;
        box-shadow: none !important;
        padding: 8px !important;
        margin-top: 10px !important;
        border-radius: 12px !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    .dropdown-item-nested.mobile-open > .sub-dropdown { display: block !important; }

    .nav-item.mobile-open > .dropdown-menu, 
    .nav-item.mobile-open > .mega-menu { 
        display: block !important; 
        animation: mobilePop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
    }
    
    @keyframes mobilePop {
        from { opacity: 0; transform: translateX(-50%) translateY(30px) scale(0.95); }
        to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
    }

    /* Mega Menu Accordion */
    .mega-menu-inner { flex-direction: column; }
    .mega-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--mega-border); padding: 0 0 12px; margin-bottom: 12px; }
    .mega-category { padding: 14px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; }
    .mega-category.active, .mega-category.mobile-active { background: rgba(238, 90, 54, 0.1); color: #EE5A36; }
    .mega-category.active svg, .mega-category.mobile-active svg { transform: rotate(90deg); }
    .mega-content { padding: 0; }
    .mega-panel { display: none !important; flex-direction: column; gap: 20px; padding: 16px; background: rgba(238,90,54,0.03); border-radius: 16px; }
    .mega-panel.active, .mega-panel.mobile-active { display: flex !important; }

    /* News Section Refinement */
    .news-layout-premium { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 25px; 
    }
    .n-hero-col { 
        grid-column: span 2; 
        height: auto; 
    }
    .n-img-wrapper { 
        height: 320px; 
        min-height: 220px; 
    }
    .n-side-col { 
        grid-column: span 1; 
        flex-direction: column; 
        gap: 20px; 
    }
    .n-list-col { 
        grid-column: span 1; 
        padding: 24px; 
    }
    .n-list-header h4 { 
        font-size: 1.15rem; 
    }
    .n-article-list li a { 
        padding: 12px; 
        gap: 12px; 
    }
    .n-num { 
        font-size: 1.6rem; 
    }
    .n-text h5 { 
        font-size: 1rem; 
    }
    .n-content-glass { 
        padding: 25px; 
        margin-top: -20px;
        border-radius: 20px 20px 0 0;
    }
    .n-content-glass h3 { 
        font-size: 1.3rem; 
    }
    .n-card-overlay h4 { 
        font-size: 1.1rem; 
    }
    
    .news-horizontal-list { 
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px; 
    }
    .news-item-horizontal { 
        display: flex;
        flex-direction: column;
        gap: 20px; 
        padding: 20px;
        background: var(--bg-card);
        border-radius: var(--radius-md);
        border: 1px solid var(--border-color);
        height: 100%;
    }
    .news-item-img {
        width: 100%;
        aspect-ratio: 16/9;
    }
    .news-item-content {
        padding: 0;
    }
    .news-item-title {
        font-size: 1.1rem;
    }
    
    .hero-sub { padding: 120px 20px 80px; }
    .hero-sub h1 { font-size: 2.2rem; }
    .hero-desc { font-size: 0.9rem; }

    /* Category Navigation Compact */
    .filter-section { margin-top: -20px; padding-bottom: 30px; }
    .search-box-wrapper { max-width: 100%; padding: 0 10px; }
    .category-nav { flex-direction: column; gap: 10px; width: 100%; align-items: center; }
    .cat-label { font-size: 0.85rem; }
    .cat-links { 
        display: flex; 
        gap: 15px; 
        flex-wrap: nowrap; 
        overflow-x: auto; 
        justify-content: flex-start; 
        padding: 0 10px 15px; 
        -webkit-overflow-scrolling: touch; 
        scrollbar-width: none; /* Firefox */
    }
    .cat-links::-webkit-scrollbar { display: none; } /* Chrome/Safari */
    .cat-link { font-size: 0.85rem; padding: 4px 0; white-space: nowrap; flex-shrink: 0; }
    .cat-link.active::after { bottom: -8px; height: 2px; }

    .section-title-center h2 { font-size: 1.8rem; }
    .section-title-alt h2 { font-size: 1.8rem; margin-bottom: 25px; }
    .search-box { padding: 10px 20px; }
    .news-body h3 { font-size: 1.25rem; }
    .list-heading { font-size: 1.35rem; }
}

@media (max-width: 768px) {
    .hero-sub { padding: 100px 20px 60px; border-radius: 0 0 30px 30px; }
    .hero-sub h1 { font-size: 1.8rem; }
    .hero-desc { font-size: 0.85rem; }

    .category-nav { gap: 6px; padding: 0; align-items: center; }
    .cat-label { font-size: 0.8rem; opacity: 0.9; margin-bottom: 4px; }
    .cat-links { gap: 12px; justify-content: flex-start; padding: 0 5px 12px; }
    .cat-link { font-size: 0.85rem; }

    .section-title-center h2 { font-size: 1.5rem; }
    .section-title-alt h2 { font-size: 1.5rem; margin-bottom: 20px; }
    .placeholder-box { font-size: 1.5rem; letter-spacing: 2px; }

    /* Compact News for Mobile Tablet */
    .news-layout-premium {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .n-hero-col, .n-side-col, .n-list-col {
        grid-column: span 1;
    }
    .n-img-wrapper {
        height: 250px;
    }
    .n-side-col {
        gap: 20px;
    }
    .n-card-vertical {
        min-height: 220px;
    }
    .n-list-col {
        padding: 20px;
    }
    .n-article-list li a {
        padding: 10px;
    }

    .news-horizontal-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .news-item-horizontal { 
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        padding: 15px;
        border-radius: 12px;
    }

    .news-item-img {
        width: 110px;
        height: 110px;
        flex-shrink: 0;
        border-radius: 12px;
    }
    .news-item-title {
        font-size: 1.05rem;
        margin-bottom: 2px;
    }
    .news-item-excerpt {
        display: -webkit-box; /* Re-enable excerpt on larger mobile if space permits */
        -webkit-line-clamp: 2;
        line-clamp: 2;
        font-size: 0.85rem;
        opacity: 0.8;
    }
    .news-badge {
        padding: 2px 8px;
        font-size: 0.65rem;
    }
}

/* =========================================
   FOOTER 
   ========================================= */
.site-footer {
    padding: 30px 0 20px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    color: var(--text-body);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

/* Brand Section */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-brand .logo-icon {
    width: 38px;
    height: 38px;
    background: var(--orange);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(232, 87, 58, 0.2);
}

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

.brand-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-heading);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.brand-sub-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.footer-description {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-body);
    max-width: 300px;
}

/* Headings & Lists */
.site-footer h4 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 6px;
}

.site-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 3px;
    background: var(--orange);
    border-radius: 3px;
}

.footer-contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: flex-start;
    font-size: 0.85rem;
}

.footer-contact-info svg {
    color: var(--orange);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    color: var(--text-heading);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icons a:hover {
    background: var(--orange);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(232, 87, 58, 0.15);
    border-color: var(--orange);
}

/* Bottom Bar */
.footer-bottom-bar {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--orange);
}

/* =========================================
   RESPONSIVE FOOTER 
   ========================================= */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 30px 0 20px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        margin-bottom: 24px;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-description {
        margin: 0 auto;
        font-size: 0.82rem;
    }

    .site-footer h4 { margin-bottom: 12px; font-size: 0.85rem; }

    .site-footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact-info ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact-info li {
        justify-content: center;
        text-align: center;
        margin-bottom: 8px;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding-top: 15px;
    }
}

/* ==========================================
   RESPONSIVE DESIGN 
   ========================================== */
@media (max-width: 1024px) {
  :root {
    --nav-h: 60px;
    --radius: 12px;
    --brand-accent: var(--orange);
  }

  /* Navbar Top Adjustments */
  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .brand-title {
    font-size: 13px;
  }

  .brand-sub {
    font-size: 9px;
  }

  .navbar {
    top: 0 !important;
    bottom: auto !important;
    background: var(--nav-bg) !important;
    box-shadow: none;
    border-bottom: 1px solid var(--nav-border);
    height: 60px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  }

  /* Floating Bottom Nav Pill */
  .nav-links {
    position: fixed !important;
    bottom: 24px !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 32px) !important;
    max-width: 500px !important;
    background: #EE5A36 !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 16px !important;
    box-shadow: var(--shadow-lg) !important;
    gap: 4px !important;
    height: auto !important;
    min-height: 64px !important;
    border-radius: 40px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    z-index: 9999 !important;
    backdrop-filter: blur(15px) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: flex !important;
  }
  
  .nav-item {
    width: auto !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    border-bottom: none !important;
    position: static !important;
  }
  
  .nav-link {
    display: flex !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 0 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    gap: 3px !important;
    line-height: 1.1 !important;
    background: transparent !important;
    border-radius: 20px !important;
  }
  
  .nav-link:hover, .nav-item.mobile-open .nav-link { 
    color: #ffffff !important; 
    background: rgba(255, 255, 255, 0.2) !important; 
  }
  [data-theme="dark"] .nav-link:hover {
    background: rgba(255, 255, 255, 0.04) !important;
  }

  .mobile-nav-icon {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    color: #ffffff !important;
  }

  .nav-link .dropdown-arrow {
    display: none !important;
  }

  .nav-link:hover,
  .nav-item.mobile-open .nav-link {
    color: var(--brand-accent) !important;
    background: transparent !important;
  }

  /* Dropdowns reset for mobile: Pop UP vertically */
  .dropdown-menu,
  .mega-menu {
    position: fixed !important;
    top: auto !important;
    bottom: 90px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 32px) !important;
    max-width: 480px !important;
    max-height: calc(100vh - 150px) !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: none !important;
    border: 1px solid var(--dropdown-border) !important;
    border-radius: 20px !important;
    background: var(--dropdown-bg) !important;
    padding: 16px !important;
    margin: 0 !important;
    z-index: 1050 !important;
    box-shadow: var(--shadow-lg) !important;
  }

  .nav-item.mobile-open > .dropdown-menu,
  .nav-item.mobile-open > .mega-menu {
    display: block !important;
    animation: popUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }

  @keyframes popUp {
    from { opacity: 0; transform: translateY(20px) translateX(-50%) scale(0.95); }
    to { opacity: 1; transform: translateY(0) translateX(-50%) scale(1); }
  }

  .sub-dropdown {
    position: static !important;
    width: 100% !important;
    display: none !important;
    border: none !important;
    border-radius: 12px !important;
    background: rgba(0, 0, 0, 0.04) !important;
    padding: 8px !important;
    margin-top: 8px !important;
    box-shadow: none !important;
  }

  [data-theme="dark"] .sub-dropdown {
    background: var(--dropdown-link-hover) !important;
  }

  .dropdown-item-nested.mobile-open > .sub-dropdown {
    display: block !important;
    animation: slideDownFade 0.3s ease forwards !important;
  }

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

  .dropdown-link {
    padding: 12px 16px !important;
    font-size: 15px !important;
  }

  .mega-menu-inner {
    flex-direction: column !important;
    min-height: auto !important;
    padding: 8px 0 !important;
  }

  .mega-sidebar {
    width: 100% !important;
    border-right: none !important;
    background: transparent !important;
  }

  .mega-category {
    padding: 14px 16px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
  }

  .mega-category svg {
    transition: transform 0.3s ease !important;
    display: block !important;
  }

  .mega-category.mobile-active svg {
    transform: rotate(90deg) !important;
  }

  .mega-content {
    padding: 0 !important;
    width: 100% !important;
  }

  .mega-panel {
    display: none !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 4px 12px 16px 32px !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    background: rgba(0, 0, 0, 0.02) !important;
  }

  [data-theme="dark"] .mega-panel {
    background: rgba(255, 255, 255, 0.03) !important;
  }

  .mega-panel.mobile-active {
    display: flex !important;
  }

  /* Page Sections */
  .hero-sub { padding: 90px 24px 40px !important; }
  .category-nav-wrapper { padding: 20px 0 !important; }
  .news-layout-premium { grid-template-columns: 1fr !important; gap: 32px !important; }
  .site-footer { padding-bottom: 110px !important; }
}

@media (max-width: 640px) {
  .hero-sub h1 { font-size: 2.2rem !important; }
}

@media (max-width: 480px) {
  .nav-logo-img { height: 34px !important; }
  .hero-sub h1 { font-size: 1.8rem !important; }
  .site-footer { padding-bottom: 110px !important; }
}

@media (max-width: 400px) {
  .navbar-inner { padding: 0 16px; height: 56px; }
  .nav-logo-img { height: 28px !important; }
  .hero-sub { padding: 80px 16px 30px !important; }
}

@media (max-width: 350px) {
  .container { padding: 0 16px; }
  .navbar-inner { padding: 0 16px; }
  .hero-sub h1 { font-size: 1.6rem !important; }
}

@media (max-width: 320px) {
  .container { padding: 0 14px; }
  .navbar-inner { padding: 0 14px; }
  .logo-wrapper { transform: scale(0.8) !important; transform-origin: left center !important; }
}

@media (max-width: 280px) {
  .container { padding: 0 8px; }
  .navbar-inner { padding: 0 8px; }
  .nav-links { width: calc(100% - 16px) !important; padding: 4px 8px !important; border-radius: 20px !important; }
  .nav-link { padding: 4px 0 !important; font-size: 8px !important; }
  .mobile-nav-icon { width: 14px !important; height: 14px !important; }
  .logo-wrapper { transform: scale(0.65) !important; transform-origin: left center !important; }
}

@media (max-width: 240px) {
  .container { padding: 0 6px; }
  .navbar-inner { padding: 0 6px; }
  .hero-sub h1 { font-size: 1.35rem !important; }
}

@media (max-width: 200px) {
  .container { padding: 0 4px; }
  .navbar-inner { padding: 0 4px; }
  .nav-links { width: calc(100% - 4px) !important; padding: 2px !important; }
  .logo-wrapper { transform: scale(0.55) !important; transform-origin: left center !important; }
}

/* ==========================================
   ULTRA-COMPACT RESPONSIVE (350px → 200px)
   ========================================== */

@media (max-width: 350px) {
  /* --- Hero --- */
  .hero-sub { padding: 75px 10px 25px !important; border-radius: 0 0 20px 20px !important; }
  .hero-desc { font-size: 0.78rem !important; padding: 0 4px; }
  .breadcrumb { font-size: 0.72rem !important; }

  /* --- Search & Category --- */
  .filter-section { margin-top: -15px !important; padding-bottom: 15px !important; }
  .search-box { padding: 8px 12px !important; border-radius: 20px !important; }
  .search-box input { font-size: 0.8rem !important; }
  .category-nav-wrapper { margin-top: 15px !important; padding-bottom: 8px !important; }
  .cat-label { font-size: 0.72rem !important; }
  .cat-links { gap: 8px !important; padding: 0 2px 8px !important; }
  .cat-link { font-size: 0.72rem !important; padding: 3px 0 !important; }

  /* --- Section Titles --- */
  .section-title-center { margin-bottom: 25px !important; }
  .section-title-center h2 { font-size: 1.2rem !important; }
  .section-subtitle { font-size: 0.8rem !important; }
  .section-title { font-size: 1.1rem !important; }
  .section-title-wrap { margin-bottom: 20px !important; gap: 10px !important; }
  .title-line { width: 4px !important; height: 25px !important; }

  /* --- News Items (Horizontal List) --- */
  .news-horizontal-list { gap: 12px !important; }
  .news-item-horizontal {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 10px !important;
    border-radius: 10px !important;
  }
  .news-item-img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
    border-radius: 8px !important;
  }
  .news-item-title { font-size: 0.88rem !important; line-height: 1.3 !important; }
  .news-item-excerpt { font-size: 0.75rem !important; -webkit-line-clamp: 2 !important; }
  .news-item-date { font-size: 0.72rem !important; }
  .news-badge { padding: 2px 8px !important; font-size: 0.6rem !important; }

  /* --- News --- */
  .news-layout-premium { gap: 18px !important; }
  .n-img-wrapper { height: 160px !important; min-height: 120px !important; }
  .n-content-glass {
    padding: 14px !important;
    margin: -15px 8px 8px !important;
    border-radius: 14px !important;
  }
  .n-content-glass h3 { font-size: 1rem !important; margin-bottom: 6px !important; }
  .n-content-glass p { font-size: 0.78rem !important; -webkit-line-clamp: 2 !important; }
  .n-meta { font-size: 0.7rem !important; margin-bottom: 6px !important; }
  .n-badge { padding: 3px 8px !important; font-size: 0.6rem !important; top: 8px !important; left: 8px !important; }
  .n-card-vertical { min-height: 150px !important; }
  .n-card-overlay { padding: 12px 10px !important; }
  .n-card-overlay h4 { font-size: 0.85rem !important; -webkit-line-clamp: 2 !important; }
  .n-badge-sm { font-size: 0.58rem !important; padding: 3px 7px !important; margin-bottom: 6px !important; }
  .n-date-sm { font-size: 0.68rem !important; }
  .n-list-col { padding: 14px !important; }
  .n-list-header h4 { font-size: 1rem !important; }
  .n-article-list { gap: 10px !important; }
  .n-article-list li a { padding: 8px !important; gap: 10px !important; border-radius: 10px !important; }
  .n-num { font-size: 1.2rem !important; width: 30px !important; }
  .n-text h5 { font-size: 0.82rem !important; }
  .n-list-meta { font-size: 0.68rem !important; }

  /* --- Pagination --- */
  .pagination { gap: 4px !important; margin-top: 25px !important; }
  .page-btn { width: 30px !important; height: 30px !important; font-size: 0.75rem !important; border-radius: 8px !important; }

  /* --- Footer Compact --- */
  .site-footer { padding: 20px 0 20px !important; }
  .footer-content { gap: 16px !important; margin-bottom: 16px !important; }
  .footer-brand .logo-icon { width: 30px !important; height: 30px !important; border-radius: 8px !important; }
  .brand-title { font-size: 0.82rem !important; }
  .brand-sub-title { font-size: 0.7rem !important; }
  .footer-description { font-size: 0.75rem !important; }
  .site-footer h4 { font-size: 0.78rem !important; margin-bottom: 10px !important; }
  .footer-contact-info li { font-size: 0.75rem !important; gap: 6px !important; margin-bottom: 8px !important; }
  .footer-contact-info svg { width: 14px !important; height: 14px !important; }
  .social-icons { gap: 6px !important; }
  .social-icons a { width: 30px !important; height: 30px !important; border-radius: 6px !important; }
  .social-icons a svg { width: 14px !important; height: 14px !important; }
  .footer-bottom-bar { padding-top: 12px !important; font-size: 0.68rem !important; }
  .footer-bottom-links { gap: 10px !important; }
}

@media (max-width: 280px) {
  /* --- Hero --- */
  .hero-sub { padding: 70px 6px 20px !important; border-radius: 0 0 16px 16px !important; }
  .hero-desc { font-size: 0.72rem !important; }

  /* --- Search & Category --- */
  .search-box { padding: 6px 10px !important; }
  .search-box input { font-size: 0.75rem !important; }
  .cat-label { font-size: 0.65rem !important; }
  .cat-links { gap: 6px !important; }
  .cat-link { font-size: 0.65rem !important; }

  /* --- Section Titles --- */
  .section-title-center h2 { font-size: 1rem !important; }
  .section-title { font-size: 0.95rem !important; }

  /* --- News Items --- */
  .news-item-horizontal { padding: 8px !important; gap: 8px !important; }
  .news-item-title { font-size: 0.8rem !important; }
  .news-item-excerpt { font-size: 0.7rem !important; }
  .news-badge { font-size: 0.55rem !important; padding: 2px 6px !important; }

  /* --- News --- */
  .n-img-wrapper { height: 130px !important; min-height: 100px !important; }
  .n-content-glass { padding: 10px !important; margin: -10px 4px 4px !important; }
  .n-content-glass h3 { font-size: 0.88rem !important; }
  .n-content-glass p { font-size: 0.72rem !important; }
  .n-card-vertical { min-height: 120px !important; }
  .n-card-overlay h4 { font-size: 0.78rem !important; }
  .n-list-col { padding: 10px !important; }
  .n-list-header h4 { font-size: 0.88rem !important; }
  .n-text h5 { font-size: 0.75rem !important; }
  .n-num { font-size: 1rem !important; width: 25px !important; }

  /* --- Pagination --- */
  .page-btn { width: 26px !important; height: 26px !important; font-size: 0.68rem !important; }

  /* --- Footer --- */
  .footer-brand .logo-icon { width: 26px !important; height: 26px !important; }
  .brand-title { font-size: 0.75rem !important; }
  .footer-description { font-size: 0.7rem !important; }
  .footer-contact-info li { font-size: 0.7rem !important; }
  .social-icons a { width: 26px !important; height: 26px !important; }
}

@media (max-width: 240px) {
  /* --- News Items --- */
  .news-item-horizontal { padding: 6px !important; }
  .news-item-title { font-size: 0.75rem !important; }
  .news-item-excerpt { display: none !important; }

  /* --- News --- */
  .n-img-wrapper { height: 110px !important; }
  .n-content-glass { padding: 8px !important; margin: -8px 2px 2px !important; }
  .n-content-glass h3 { font-size: 0.8rem !important; }
  .n-content-glass p { display: none !important; }
  .n-card-vertical { min-height: 100px !important; }
  .n-card-overlay h4 { font-size: 0.7rem !important; }
  .n-list-col { padding: 8px !important; }

  /* --- Pagination --- */
  .pagination { gap: 3px !important; }
  .page-btn { width: 24px !important; height: 24px !important; font-size: 0.6rem !important; border-radius: 6px !important; }

  /* --- Footer --- */
  .site-footer { padding: 15px 0 10px !important; }
  .footer-content { gap: 12px !important; }
}

@media (max-width: 200px) {
  /* --- News Items --- */
  .news-item-horizontal { padding: 4px !important; gap: 6px !important; border-radius: 8px !important; }
  .news-item-img { border-radius: 6px !important; }
  .news-item-title { font-size: 0.7rem !important; }

  /* --- News --- */
  .n-img-wrapper { height: 90px !important; min-height: 70px !important; }
  .n-content-glass { padding: 6px !important; margin: -6px 2px 2px !important; border-radius: 10px !important; }
  .n-content-glass h3 { font-size: 0.72rem !important; }
  .n-card-vertical { min-height: 80px !important; }
  .n-list-col { padding: 6px !important; }
  .n-article-list li a { padding: 4px !important; gap: 6px !important; }
  .n-text h5 { font-size: 0.65rem !important; }
  .n-num { font-size: 0.85rem !important; width: 20px !important; }

  /* --- Footer --- */
  .footer-brand { gap: 6px !important; }
  .site-footer h4 { font-size: 0.7rem !important; }
  .footer-bottom-bar { font-size: 0.6rem !important; }
}

/* --- Custom Orange Scrollbar --- */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #EE5A36;
    border-radius: 6px;
    border: 3px solid #f1f1f1;
}
::-webkit-scrollbar-thumb:hover {
    background: #d94c2c;
}
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #EE5A36 #f1f1f1;
}

