/* ==========================================================================
   Tamil Tech Mystery - Ultra-Responsive Modern Stylesheet
   ========================================================================== */

/* --- 1. CSS Custom Properties & Design Tokens --- */
:root {
  /* Brand Glow & Accent Colors based on Official Logo (Red, Flame, Sun Yellow) */
  --primary: #e11d48;
  --primary-glow: rgba(225, 29, 72, 0.4);
  --secondary: #ff5722;
  --accent: #facc15;
  --accent-glow: rgba(250, 204, 21, 0.4);
  --pink: #f43f5e;
  --flame: #ff4b2b;
  --success: #10b981;
  --warning: #f59e0b;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #e11d48 0%, #ff5722 50%, #facc15 100%);
  --grad-accent: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  --grad-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --grad-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(6, 10, 18, 0.95) 100%);

  /* Fonts */
  --font-tamil: 'Noto Sans Tamil', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --font-scale: 0.94rem;
}

/* --- Dark Theme (Default) --- */
[data-theme="dark"] {
  --primary: #ff2a5f;
  --primary-glow: rgba(255, 42, 95, 0.4);
  --secondary: #ff5722;
  --accent: #facc15;
  --accent-glow: rgba(250, 204, 21, 0.35);

  --grad-primary: linear-gradient(135deg, #ff2a5f 0%, #ff5722 55%, #facc15 100%);
  --grad-accent: linear-gradient(135deg, #ff2a5f 0%, #be123c 100%);

  --bg-body: #0c0d14;
  --bg-surface: #121522;
  --bg-surface-elevated: #1a1e30;
  --bg-glass: rgba(18, 21, 34, 0.92);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 42, 95, 0.5);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  /* Kadence Global Palette Overrides for Dark Mode */
  --global-palette1: #ff2a5f;
  --global-palette2: #ff5722;
  --global-palette3: #f8fafc;
  --global-palette4: #cbd5e1;
  --global-palette5: #94a3b8;
  --global-palette6: #1a1e30;
  --global-palette7: #121522;
  --global-palette8: #0c0d14;
  --global-palette9: #060a12;
  --global-palette-highlight: #ff2a5f;
  --global-palette-highlight-alt: #ff5722;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.6);
  --ambient-opacity: 0.15;
}

/* Global Dark Mode High-Contrast Typography & Kadence Theme Overrides */
html[data-theme="dark"],
body[data-theme="dark"],
[data-theme="dark"] {
  background-color: #07090e !important;
  color: #f1f5f9 !important;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .entry-title,
[data-theme="dark"] .section-heading,
[data-theme="dark"] .main-heading,
[data-theme="dark"] .post-card-title,
[data-theme="dark"] .hero-main-title,
[data-theme="dark"] .trending-header-bar h3,
[data-theme="dark"] .widget-title-header h3,
[data-theme="dark"] .trending-info h4,
[data-theme="dark"] .category-archive-title,
[data-theme="dark"] strong,
[data-theme="dark"] b {
  color: #ffffff !important;
}

[data-theme="dark"] h1 a,
[data-theme="dark"] h2 a,
[data-theme="dark"] h3 a,
[data-theme="dark"] h4 a,
[data-theme="dark"] h5 a,
[data-theme="dark"] h6 a,
[data-theme="dark"] .entry-title a,
[data-theme="dark"] .post-card-title a,
[data-theme="dark"] .hero-main-title a,
[data-theme="dark"] .trending-info h4 a,
[data-theme="dark"] .pop-info h4 a,
[data-theme="dark"] .trending-hero-item a,
[data-theme="dark"] .popular-row a {
  color: #ffffff !important;
  text-decoration: none;
}

[data-theme="dark"] h1 a:hover,
[data-theme="dark"] h2 a:hover,
[data-theme="dark"] h3 a:hover,
[data-theme="dark"] h4 a:hover,
[data-theme="dark"] h5 a:hover,
[data-theme="dark"] h6 a:hover,
[data-theme="dark"] .post-card-title a:hover,
[data-theme="dark"] .hero-main-title a:hover,
[data-theme="dark"] .trending-info h4 a:hover,
[data-theme="dark"] .pop-info h4 a:hover {
  color: #ff5722 !important;
}

[data-theme="dark"] p,
[data-theme="dark"] .post-card-excerpt,
[data-theme="dark"] .hero-summary-text,
[data-theme="dark"] .widget-caption,
[data-theme="dark"] .community-widget p,
[data-theme="dark"] .sidebar-widget-card p,
[data-theme="dark"] .entry-content p,
[data-theme="dark"] .category-archive-desc {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .post-card-meta,
[data-theme="dark"] .post-card-meta span,
[data-theme="dark"] .hero-meta-bar,
[data-theme="dark"] .hero-meta-bar span,
[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .sub-heading,
[data-theme="dark"] .trending-date,
[data-theme="dark"] .pop-count,
[data-theme="dark"] .entry-meta,
[data-theme="dark"] .entry-meta span {
  color: #94a3b8 !important;
}

[data-theme="dark"] .modern-post-card,
[data-theme="dark"] .sidebar-widget-card,
[data-theme="dark"] .featured-hero-card,
[data-theme="dark"] .trending-hero-sidebar,
[data-theme="dark"] .category-hero-card {
  background-color: #111625 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .header-nav-bar {
  background-color: rgba(7, 9, 14, 0.96) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .nav-item {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .nav-item:hover,
[data-theme="dark"] .nav-item.active {
  color: #ffffff !important;
}

[data-theme="dark"] .ticker-content span,
[data-theme="dark"] .ticker-content a {
  color: #f8fafc !important;
}

/* --- Light Theme (Bright Mode) --- */
[data-theme="light"] {
  --primary: #e11d48;
  --primary-glow: rgba(225, 29, 72, 0.25);
  --secondary: #ff5722;
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.25);

  --grad-primary: linear-gradient(135deg, #e11d48 0%, #ff5722 60%, #f59e0b 100%);
  --grad-accent: linear-gradient(135deg, #e11d48 0%, #be123c 100%);

  --bg-body: #fafaf9;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f4f4f5;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --border-color: #e4e4e7;
  --border-focus: rgba(225, 29, 72, 0.5);

  --text-primary: #09090b;
  --text-secondary: #27272a;
  --text-muted: #71717a;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.1);
  --ambient-opacity: 0.06;
}

/* --- 2. Global Reset & Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  font-size: var(--font-scale);
}

body,
body.ttm-modern-body {
  font-family: var(--font-tamil);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
  -webkit-font-smoothing: antialiased;
}

[data-theme="dark"] body.ttm-modern-body {
  background-color: #0c0d14;
  color: #f8fafc;
}

[data-theme="light"] body.ttm-modern-body {
  background-color: #fafaf9;
  color: #09090b;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button, input {
  font-family: inherit;
}

/* Container Constraint */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Ambient Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
  opacity: var(--ambient-opacity);
}

.ambient-top-left {
  top: -80px;
  left: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #00f2fe, transparent 70%);
}

.ambient-top-right {
  top: -40px;
  right: -40px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
}

.ambient-mid-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #ec4899, transparent 75%);
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.text-primary { color: var(--primary) !important; }
.text-cyan { color: #00f2fe !important; }
.text-accent { color: var(--accent) !important; }
.text-flame { color: var(--flame) !important; }
.text-red { color: #ef4444 !important; }

/* --- 3. Top Announcement & Ticker Bar --- */
.top-bar {
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.78rem;
  padding: 5px 0;
  position: relative;
  z-index: 101;
  width: 100%;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.breaking-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.breaking-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.76rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse-dot-anim 1.5s infinite;
}

@keyframes pulse-dot-anim {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.ticker-wrapper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.ticker-content {
  display: inline-flex;
  gap: 35px;
  white-space: nowrap;
  animation: ticker-slide-anim 80s linear infinite;
}

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

.ticker-content span {
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.82rem;
}

.ticker-content span:hover {
  color: var(--primary);
}

@keyframes ticker-slide-anim {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.top-bar-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.live-date {
  color: var(--text-muted);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.font-resizer-tool {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 2px 4px;
  gap: 2px;
}

.font-resizer-tool button {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 3px;
}

.font-resizer-tool button:hover {
  color: var(--primary);
}

.theme-toggle-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.theme-toggle-pill:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* --- 4. Main Header Navigation (2-Row Zero-Collision Architecture) --- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
}

/* Header Upper Bar: Logo & Actions */
.header-upper-bar {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-upper-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-symbol {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 1px;
  background: #ffffff;
  border: 2px solid var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-logo:hover .logo-symbol {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 0 18px var(--primary-glow);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.drawer-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
  background: #ffffff;
  flex-shrink: 0;
}

.footer-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
  background: #ffffff;
  flex-shrink: 0;
}

.logo-info {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.3px;
  line-height: 1.15;
  color: var(--text-primary);
  white-space: nowrap;
}

.logo-title .gradient-text {
  background: linear-gradient(135deg, #ff2a5f 0%, #ff5722 50%, #facc15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.logo-tagline {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* Upper Bar Actions */
.header-action-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.search-pill-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  padding: 6px 13px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.80rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.search-pill-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.kbd-shortcut {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  font-size: 0.62rem;
  padding: 2px 5px;
  border-radius: 4px;
  font-family: var(--font-en);
  color: var(--text-muted);
}

.btn-join-comm {
  padding: 6px 14px;
  font-size: 0.82rem;
}

/* Header Lower Bar: Category Navigation */
.header-nav-bar {
  background: rgba(0, 0, 0, 0.15);
  padding: 9px 0;
  position: relative;
  z-index: 90;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.desktop-nav {
  display: flex;
  align-items: center;
  width: 100%;
  overflow: visible;
}

.desktop-nav ul.nav-links-list,
.nav-links-list {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 6px !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

.desktop-nav ul.nav-links-list > li,
.nav-links-list > li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: inline-flex !important;
  align-items: center !important;
}

.desktop-nav ul.nav-links-list > li.nav-dropdown,
.nav-links-list > li.nav-dropdown {
  margin-left: auto !important;
  position: relative !important;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.84rem;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: var(--transition-fast);
}

.nav-item i {
  font-size: 0.76rem;
  opacity: 0.85;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-primary);
  background: rgba(225, 29, 72, 0.08);
  box-shadow: inset 0 0 0 1px rgba(225, 29, 72, 0.2);
}

.nav-item.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #ff2a5f 0%, #ff5722 100%);
  box-shadow: 0 4px 14px rgba(255, 42, 95, 0.4);
  font-weight: 700;
}

.nav-item.active i {
  color: #ffffff !important;
}

/* Nav Dropdown Menu ("மேலும்") */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown .dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 230px;
  background: var(--bg-surface-elevated, #18181b);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-md, 8px);
  padding: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 1000;
  backdrop-filter: blur(12px);
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  display: block;
  animation: fadeInDown 0.2s ease forwards;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm, 6px);
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(225, 29, 72, 0.1);
  color: var(--primary);
}

.dropdown-item i {
  font-size: 1.1rem;
  color: var(--primary);
}

.dropdown-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.dropdown-item small {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Light Mode Specific Header & Navigation Styling */
[data-theme="light"] .header-upper-bar {
  border-bottom: 1px solid #e4e4e7;
}

[data-theme="light"] .header-nav-bar {
  background: #fafaf9;
  border-bottom: 1px solid #e4e4e7;
}

[data-theme="light"] .nav-item {
  color: #27272a;
  font-weight: 600;
}

[data-theme="light"] .nav-item:hover {
  color: #e11d48;
  background: #fff1f2;
}

[data-theme="light"] .nav-item.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #e11d48 0%, #ff4b2b 100%);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
  font-weight: 700;
}

[data-theme="light"] .nav-item.active i {
  color: #ffffff !important;
}

[data-theme="light"] .logo-symbol {
  background: #ffffff;
  border: 2px solid #e11d48;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25);
}

[data-theme="light"] .logo-title {
  color: #09090b;
}

[data-theme="light"] .logo-title .gradient-text {
  background: linear-gradient(135deg, #e11d48 0%, #ff5722 55%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .logo-tagline {
  color: #71717a;
  font-weight: 600;
}

[data-theme="light"] .btn-glow-gradient {
  background: linear-gradient(135deg, #e11d48 0%, #ff5722 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

[data-theme="light"] .search-pill-btn {
  background: #f4f4f5;
  border-color: #d4d4d8;
  color: #3f3f46;
}

[data-theme="light"] .search-pill-btn:hover {
  border-color: #e11d48;
  color: #e11d48;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.15);
}

[data-theme="light"] .dropdown-panel {
  background: #ffffff;
  border-color: #e4e4e7;
  box-shadow: 0 12px 32px rgba(9, 9, 11, 0.12);
}

[data-theme="light"] .dropdown-item:hover {
  background: #fff1f2;
  color: #e11d48;
}



[data-theme="light"] .trending-hero-sidebar,
[data-theme="light"] .featured-hero-card,
[data-theme="light"] .modern-post-card,
[data-theme="light"] .sidebar-widget {
  background: #ffffff;
  border-color: #e4e4e7;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .trending-hero-item:hover {
  background: #fafaf9;
  border-color: #d4d4d8;
}

[data-theme="light"] .filter-tab-pill {
  background: #ffffff;
  border-color: #d4d4d8;
  color: #27272a;
}

[data-theme="light"] .filter-tab-pill:hover {
  background: #fff1f2;
  color: #e11d48;
  border-color: #fda4af;
}

[data-theme="light"] .filter-tab-pill.active {
  background: linear-gradient(135deg, #e11d48 0%, #ff5722 45%, #f59e0b 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.35), 0 0 10px rgba(245, 158, 11, 0.3);
}

[data-theme="light"] .pop-rank {
  background: #ffe4e6;
  color: #e11d48;
  border-color: rgba(225, 29, 72, 0.3);
}

[data-theme="light"] .search-modal-card,
[data-theme="light"] .quick-preview-dialog {
  background: #ffffff;
  border-color: #d4d4d8;
}

[data-theme="light"] .modal-search-bar {
  background: #fafaf9;
  border-color: #e4e4e7;
}

[data-theme="light"] .search-item-row {
  background: #fafaf9;
  border-color: #e4e4e7;
}

[data-theme="light"] .search-item-row:hover {
  background: #fff1f2;
  border-color: #e11d48;
}

[data-theme="light"] .quick-filter-tag {
  background: #f4f4f5;
  border-color: #d4d4d8;
  color: #e11d48;
}

[data-theme="light"] .drawer-content {
  background: #ffffff;
  border-color: #e4e4e7;
}

[data-theme="light"] .drawer-nav-item {
  color: #27272a;
}

[data-theme="light"] .drawer-nav-item:hover,
[data-theme="light"] .drawer-nav-item.active {
  background: #fff1f2;
  color: #e11d48;
}

/* Nav Dropdown Menu */
.nav-dropdown {
  position: relative;
  margin-left: auto;
}

.dropdown-btn .arrow-icon {
  font-size: 0.65rem;
  margin-left: 3px;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .arrow-icon {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  left: auto;
  min-width: 220px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition-smooth);
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
  font-size: 0.84rem;
  transition: var(--transition-fast);
}

.dropdown-item i {
  font-size: 1rem;
  color: var(--primary);
}

.dropdown-item div {
  display: flex;
  flex-direction: column;
}

.dropdown-item strong {
  color: var(--text-primary);
  font-size: 0.84rem;
}

.dropdown-item small {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.dropdown-item:hover {
  background: rgba(0, 242, 254, 0.08);
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.btn-glow-gradient {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-glow-gradient:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-primary-solid {
  background: linear-gradient(135deg, #e11d48, #d92654);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary-solid:hover {
  background: linear-gradient(135deg, #be123c, #9f1239);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-outline-white:hover {
  background: #fff;
  color: #0c1220;
}

.btn-sm {
  padding: 5px 12px;
  font-size: 0.78rem;
}

.btn-block {
  width: 100%;
}

.mobile-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xs);
  padding: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
}

/* --- 5. AdSense Leaderboard Banner --- */
.ad-leaderboard-wrapper {
  margin: 16px auto 6px auto;
  position: relative;
  background: var(--bg-surface);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

.ad-badge-text {
  position: absolute;
  top: 5px;
  right: 8px;
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.ad-mockup-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: var(--font-en);
  text-align: center;
}

/* --- 6. Hero Showcase Section --- */
.hero-showcase-section {
  padding: 22px 0 34px 0;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

.hero-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 20px;
  box-sizing: border-box;
}

/* Featured Hero Card */
.featured-hero-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  min-width: 0;
  transition: var(--transition-smooth);
}

.featured-hero-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-focus);
}

.hero-media-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-hero-card:hover .hero-media-img {
  transform: scale(1.04);
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-overlay);
}

.hero-floating-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.badge-pill {
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.70rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.badge-gradient-ai {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
}

.badge-glass-time {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-card-details {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.hero-meta-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

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

.hero-main-title {
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--text-primary);
}

.hero-main-title a:hover {
  color: var(--primary);
}

.hero-summary-text {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.hero-action-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.action-circle-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.action-circle-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(0, 242, 254, 0.1);
}

.action-circle-btn.saved {
  color: #f59e0b;
  border-color: #f59e0b;
}

/* Trending Sidebar */
.trending-hero-sidebar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.trending-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.trending-header-bar h3 {
  font-size: 0.98rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-pill {
  font-size: 0.66rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.trending-stories-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trending-item {
  display: flex;
  gap: 9px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.trending-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.trending-item:hover {
  transform: translateX(3px);
}

.trending-rank-num {
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-muted);
  width: 20px;
  opacity: 0.6;
  flex-shrink: 0;
}

.trending-thumb {
  position: relative;
  width: 70px;
  height: 56px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  flex-shrink: 0;
}

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

.mini-tag {
  position: absolute;
  bottom: 2px;
  left: 2px;
  font-size: 0.58rem;
  padding: 1px 4px;
  border-radius: 2px;
  font-weight: 700;
  color: #ffffff;
}

.mini-tag.space { background: #6366f1; }
.mini-tag.mystery { background: #ec4899; }
.mini-tag.tips { background: #10b981; }
.mini-tag.fuel { background: #f97316; }

.trending-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.trending-date {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.trending-info h4 {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

.trending-info h4 a:hover {
  color: var(--primary);
}

/* Trending Aliases for full WordPress template compatibility */
.trending-list-scroll {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trending-hero-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-fast);
  color: inherit;
  text-decoration: none;
}
.trending-hero-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.trend-rank-num {
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-muted);
  width: 22px;
  opacity: 0.6;
  flex-shrink: 0;
}
.trend-thumb-box {
  position: relative;
  width: 80px;
  height: 64px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  flex-shrink: 0;
}
.trend-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trend-cat-tag {
  position: absolute;
  bottom: 2px;
  left: 2px;
  font-size: 0.58rem;
  padding: 1px 4px;
  border-radius: 2px;
  font-weight: 700;
  color: #ffffff;
  background: var(--primary);
}
.trend-info-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.trend-info-box h4 {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}
.trend-date-tag {
  font-size: 0.68rem;
  color: var(--text-muted);
}
.trending-badge-live {
  font-size: 0.7rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* --- 7. Quick Live Stats Strip --- */
.quick-stats-section,
.stats-counter-strip {
  padding: 18px 0;
  margin: 10px 0 25px 0;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .quick-stats-section,
[data-theme="light"] .stats-counter-strip {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.stats-card-grid,
.stats-four-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-pill-box,
.stat-card {
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  transition: all var(--transition-smooth);
  border: 1.5px solid transparent;
  backdrop-filter: blur(10px);
}

.stat-pill-box:hover,
.stat-card:hover {
  transform: translateY(-3px);
}

/* 1. Fuel Card (Orange/Amber Theme) */
.stat-pill-box.fuel-card,
.stats-four-grid > .stat-card:nth-child(1) {
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.12) 0%, rgba(234, 88, 12, 0.04) 100%);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.08);
}
.stat-pill-box.fuel-card:hover,
.stats-four-grid > .stat-card:nth-child(1):hover {
  border-color: #f97316;
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.2);
}
[data-theme="light"] .stat-pill-box.fuel-card,
[data-theme="light"] .stats-four-grid > .stat-card:nth-child(1) {
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 100%);
  border-color: #fdba74;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.08);
}
[data-theme="light"] .stat-pill-box.fuel-card:hover,
[data-theme="light"] .stats-four-grid > .stat-card:nth-child(1):hover {
  border-color: #ea580c;
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.18);
}

/* 2. ISRO Mission Card (Cyan/Sky Theme) */
.stat-pill-box.isro-card,
.stats-four-grid > .stat-card:nth-child(2) {
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.12) 0%, rgba(59, 130, 246, 0.04) 100%);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.08);
}
.stat-pill-box.isro-card:hover,
.stats-four-grid > .stat-card:nth-child(2):hover {
  border-color: #06b6d4;
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.2);
}
[data-theme="light"] .stat-pill-box.isro-card,
[data-theme="light"] .stats-four-grid > .stat-card:nth-child(2) {
  background: linear-gradient(145deg, #ecfeff 0%, #e0f2fe 100%);
  border-color: #7dd3fc;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.08);
}
[data-theme="light"] .stat-pill-box.isro-card:hover,
[data-theme="light"] .stats-four-grid > .stat-card:nth-child(2):hover {
  border-color: #0284c7;
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.18);
}

/* 3. AI Model Card (Purple/Violet Theme) */
.stat-pill-box.ai-card,
.stats-four-grid > .stat-card:nth-child(3) {
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.14) 0%, rgba(236, 72, 153, 0.04) 100%);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.08);
}
.stat-pill-box.ai-card:hover,
.stats-four-grid > .stat-card:nth-child(3):hover {
  border-color: #a855f7;
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.2);
}
[data-theme="light"] .stat-pill-box.ai-card,
[data-theme="light"] .stats-four-grid > .stat-card:nth-child(3) {
  background: linear-gradient(145deg, #faf5ff 0%, #f3e8ff 100%);
  border-color: #d8b4fe;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.08);
}
[data-theme="light"] .stat-pill-box.ai-card:hover,
[data-theme="light"] .stats-four-grid > .stat-card:nth-child(3):hover {
  border-color: #9333ea;
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.18);
}

/* 4. Community Card (Gold/Ruby Theme) */
.stat-pill-box.comm-card,
.stats-four-grid > .stat-card:nth-child(4) {
  background: linear-gradient(145deg, rgba(234, 179, 8, 0.12) 0%, rgba(225, 29, 72, 0.04) 100%);
  border-color: rgba(234, 179, 8, 0.3);
  box-shadow: 0 4px 20px rgba(234, 179, 8, 0.08);
}
.stat-pill-box.comm-card:hover,
.stats-four-grid > .stat-card:nth-child(4):hover {
  border-color: #eab308;
  box-shadow: 0 8px 25px rgba(234, 179, 8, 0.2);
}
[data-theme="light"] .stat-pill-box.comm-card,
[data-theme="light"] .stats-four-grid > .stat-card:nth-child(4) {
  background: linear-gradient(145deg, #fefce8 0%, #fef08a 100%);
  border-color: #fde047;
  box-shadow: 0 4px 15px rgba(234, 179, 8, 0.08);
}
[data-theme="light"] .stat-pill-box.comm-card:hover,
[data-theme="light"] .stats-four-grid > .stat-card:nth-child(4):hover {
  border-color: #ca8a04;
  box-shadow: 0 8px 25px rgba(234, 179, 8, 0.18);
}

.stat-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.stat-icon-wrapper,
.stat-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.fuel-card .stat-icon-wrapper,
.stats-four-grid > .stat-card:nth-child(1) .stat-icon-wrap { background: rgba(249, 115, 22, 0.2); color: #f97316; }
.isro-card .stat-icon-wrapper,
.stats-four-grid > .stat-card:nth-child(2) .stat-icon-wrap { background: rgba(0, 242, 254, 0.2); color: #0284c7; }
.ai-card .stat-icon-wrapper,
.stats-four-grid > .stat-card:nth-child(3) .stat-icon-wrap { background: rgba(168, 85, 247, 0.2); color: #9333ea; }
.comm-card .stat-icon-wrapper,
.stats-four-grid > .stat-card:nth-child(4) .stat-icon-wrap { background: rgba(234, 179, 8, 0.2); color: #ca8a04; }

[data-theme="dark"] .isro-card .stat-icon-wrapper,
[data-theme="dark"] .stats-four-grid > .stat-card:nth-child(2) .stat-icon-wrap { color: #00f2fe; }
[data-theme="dark"] .ai-card .stat-icon-wrapper,
[data-theme="dark"] .stats-four-grid > .stat-card:nth-child(3) .stat-icon-wrap { color: #c084fc; }
[data-theme="dark"] .comm-card .stat-icon-wrapper,
[data-theme="dark"] .stats-four-grid > .stat-card:nth-child(4) .stat-icon-wrap { color: #facc15; }

.status-indicator-tag,
.stat-badge-trend {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

.status-indicator-tag.green,
.stat-badge-trend.stat-green { background: rgba(16, 185, 129, 0.18); color: #059669; }
.status-indicator-tag.cyan,
.stat-badge-trend.stat-cyan { background: rgba(6, 182, 212, 0.18); color: #0284c7; }
.status-indicator-tag.purple,
.stat-badge-trend.stat-purple { background: rgba(168, 85, 247, 0.18); color: #7e22ce; }
.status-indicator-tag.gold,
.stat-badge-trend.stat-pink { background: rgba(234, 179, 8, 0.22); color: #a16207; }

[data-theme="dark"] .status-indicator-tag.green,
[data-theme="dark"] .stat-badge-trend.stat-green { color: #10b981; }
[data-theme="dark"] .status-indicator-tag.cyan,
[data-theme="dark"] .stat-badge-trend.stat-cyan { color: #00f2fe; }
[data-theme="dark"] .status-indicator-tag.purple,
[data-theme="dark"] .stat-badge-trend.stat-purple { color: #c084fc; }
[data-theme="dark"] .status-indicator-tag.gold,
[data-theme="dark"] .stat-badge-trend.stat-pink { color: #facc15; }

.stat-content-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.stat-label,
.stat-title-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="light"] .stat-label,
[data-theme="light"] .stat-title-label {
  color: #64748b;
}

.stat-number,
.stat-number-val {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="light"] .stat-number,
[data-theme="light"] .stat-number-val {
  color: #0f172a;
}

.stat-number small,
.stat-number-val small {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* --- 8. Web Stories Section --- */
.web-stories-section {
  padding: 5px 0 28px 0;
  position: relative;
  z-index: 1;
}

.section-title-header {
  margin-bottom: 14px;
}

.main-heading {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sub-heading {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* --- 8. Instagram Reels Video Showcase Section --- */
.insta-reels-section {
  padding: 10px 0 28px 0;
  position: relative;
  z-index: 1;
}

.reels-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.text-insta-grad {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.insta-follow-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.35);
  text-decoration: none;
  transition: var(--transition-fast);
}

.insta-follow-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 39, 67, 0.5);
  color: #ffffff !important;
}

.badge-insta-count {
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
}

.reels-scroll-container {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .reels-scroll-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .reels-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 8px;
  }
  .reel-card {
    flex: 0 0 180px;
    scroll-snap-align: start;
  }
}

.reel-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 16;
  min-height: 270px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.reel-card:hover {
  transform: translateY(-6px);
  border-color: #dc2743;
  box-shadow: 0 12px 28px rgba(220, 39, 67, 0.25);
}

.reel-thumb-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.reel-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reel-card:hover .reel-thumb-box img {
  transform: scale(1.08);
}

.reel-scrim-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(6, 10, 18, 0.95) 100%);
  pointer-events: none;
}

.reel-top-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
  gap: 6px;
}

.reel-insta-badge {
  background: linear-gradient(45deg, #f09433 0%, #dc2743 100%);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.reel-stat-badge {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.reel-center-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.play-glass-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-smooth);
}

.play-glass-btn i {
  margin-left: 2px;
}

.reel-card:hover .play-glass-btn {
  transform: scale(1.15);
  background: linear-gradient(45deg, #f09433, #dc2743);
  border-color: #ffffff;
}

.reel-bottom-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.reel-category-tag {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #facc15;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  align-self: flex-start;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.reel-title {
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95);
}

.reel-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 0.70rem;
  color: rgba(255, 255, 255, 0.8);
}

.reel-likes {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f43f5e;
  font-weight: 700;
}

.reel-watch-text {
  font-size: 0.66rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
}

.reel-card:hover .reel-watch-text {
  color: #facc15;
}

/* --- 9. Main Content Layout (Feed + Sidebar) --- */
/* CRITICAL: Strict Grid Sizing to prevent Sidebar Overflow */
.main-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  width: 100%;
  margin-bottom: 45px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.primary-feed-column {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.sidebar-column {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Category Filter Tabs Bar */
.category-tabs-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
}

.section-heading {
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tabs-scroll-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  padding-bottom: 2px;
}

.filter-tab-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-fast);
}

.filter-tab-pill:hover {
  color: #ffc107;
  border-color: #ff6b2b;
  background: rgba(255, 87, 34, 0.08);
  transform: translateY(-1px);
}

.filter-tab-pill.active {
  background: linear-gradient(135deg, #ff1b4b 0%, #ff5722 45%, #ffb300 100%);
  color: #ffffff;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 27, 75, 0.45), 0 0 12px rgba(255, 179, 0, 0.4);
  transform: translateY(-1px);
}

/* News Cards Grid */
.news-grid-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.modern-post-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: var(--transition-smooth);
}

.modern-post-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
}

.post-thumb-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
}

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

.modern-post-card:hover .post-thumb-wrapper img {
  transform: scale(1.05);
}

.category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.badge-ai { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.badge-mystery { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.badge-tips { background: linear-gradient(135deg, #10b981, #059669); }
.badge-daily { background: linear-gradient(135deg, #f97316, #ea580c); }
.badge-cinema { background: linear-gradient(135deg, #e11d48, #be123c); }

.post-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.post-card-meta {
  display: flex;
  gap: 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.post-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
}

.post-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.post-card-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.post-card-excerpt {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.read-btn-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.read-btn-link:hover {
  transform: translateX(3px);
}

.card-icon-tools {
  display: flex;
  gap: 5px;
}

.btn-tool {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-tool:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-tool.saved {
  color: #f59e0b;
  border-color: #f59e0b;
}

/* In-Feed Native Ad */
.infeed-ad-card {
  margin: 24px 0;
  position: relative;
  background: var(--bg-surface);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-sizing: border-box;
}

.ad-small-tag {
  position: absolute;
  top: 5px;
  right: 8px;
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.infeed-ad-content {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-secondary);
}

.infeed-ad-content i {
  font-size: 1.8rem;
  color: var(--accent);
  flex-shrink: 0;
}

.infeed-ad-content strong {
  color: var(--text-primary);
  font-size: 0.9rem;
}

.infeed-ad-content p {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Mystery Spotlight Section */
.mystery-spotlight-box {
  margin-top: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  background-image: radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.12) 0%, transparent 50%);
  box-sizing: border-box;
}

.spotlight-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.spotlight-badge-title h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: 4px;
}

.badge-accent {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(139, 92, 246, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.spotlight-all-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.spotlight-duo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 16px;
}

.spotlight-big-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
}

.spotlight-big-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-dark-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(6, 10, 18, 0.95) 100%);
}

.spotlight-text-content {
  position: absolute;
  inset: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  z-index: 2;
  gap: 6px;
}

.spotlight-cat-tag {
  background: #a855f7;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  align-self: flex-start;
}

.spotlight-text-content h3 {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.spotlight-text-content p {
  font-size: 0.76rem;
  color: #cbd5e1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spotlight-side-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spotlight-mini-item {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--bg-surface-elevated);
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  min-width: 0;
  transition: var(--transition-fast);
}

.spotlight-mini-item:hover {
  border-color: var(--primary);
  transform: translateX(3px);
}

.spotlight-mini-item img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  flex-shrink: 0;
}

.mini-cat {
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 700;
}

.spotlight-mini-item h4 {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2px;
}

/* --- 10. Sidebar Widgets --- */
.sidebar-widget-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-sizing: border-box;
  width: 100%;
}

.widget-title-header {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 14px;
}

.widget-title-header h3 {
  font-size: 0.98rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
}

/* Community Widget */
.community-widget {
  background: linear-gradient(145deg, var(--bg-surface) 0%, rgba(0, 242, 254, 0.05) 100%);
  border-color: rgba(0, 242, 254, 0.2);
}

.widget-caption {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.45;
}

.community-action-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comm-channel-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  transition: var(--transition-fast);
  color: #fff;
}

.comm-channel-box i:first-child {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.comm-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.comm-text strong {
  font-size: 0.86rem;
  white-space: nowrap;
}

.comm-text span {
  font-size: 0.68rem;
  opacity: 0.85;
  white-space: nowrap;
}

.arrow-end {
  font-size: 0.72rem;
  opacity: 0.7;
}

.youtube-box {
  background: linear-gradient(135deg, #cc181e, #ff0000);
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.25);
}

.instagram-box {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  box-shadow: 0 4px 10px rgba(225, 48, 108, 0.25);
}

.facebook-box {
  background: linear-gradient(135deg, #1877f2, #0d65d9);
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.25);
}

.x-box {
  background: linear-gradient(135deg, #18181b, #000000);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.comm-channel-box:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

/* Follower Count Badges & Micro-Pills */
.comm-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(4px);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-left: auto;
  margin-right: 4px;
  flex-shrink: 0;
  color: #ffffff;
}

.comm-count-badge i {
  font-size: 0.65rem !important;
  opacity: 0.9;
}

.header-cta-badge {
  background: rgba(255, 255, 255, 0.25);
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  margin-left: 4px;
  vertical-align: middle;
}

/* Drawer Social Grid with Followers */
.drawer-socials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.drawer-soc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
  gap: 3px;
}

.drawer-soc-card i {
  font-size: 1.15rem;
}

.drawer-soc-card .soc-name {
  font-size: 0.72rem;
}

.drawer-soc-card .soc-count {
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.25);
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.drawer-soc-card.yt { background: linear-gradient(135deg, #cc181e, #ff0000); }
.drawer-soc-card.insta { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.drawer-soc-card.fb { background: linear-gradient(135deg, #1877f2, #0d65d9); }
.drawer-soc-card.x-soc { background: linear-gradient(135deg, #27272a, #09090b); border: 1px solid rgba(255, 255, 255, 0.15); }

.drawer-soc-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Author Social Followers Pills */
.author-social-followers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.author-soc-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none;
  transition: var(--transition-fast);
}

.author-soc-pill.yt { background: #cc181e; }
.author-soc-pill.insta { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.author-soc-pill.fb { background: #1877f2; }
.author-soc-pill.x-soc { background: #18181b; border: 1px solid rgba(255, 255, 255, 0.2); }

.author-soc-pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.15);
}


/* Sidebar Ad */
.ad-widget-card {
  position: relative;
  text-align: center;
}

.sidebar-ad-inner {
  min-height: 220px;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: var(--font-en);
}

/* Popular Posts */
.popular-posts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popular-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.popular-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pop-rank {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary);
  border: 1px solid var(--border-focus);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.pop-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pop-badge {
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 700;
}

.pop-info h4 {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.pop-info h4 a:hover {
  color: var(--primary);
}

.pop-count {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Category Chips */
.category-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.chip-item .chip-num {
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 5px;
  border-radius: 8px;
  font-size: 0.65rem;
}

.chip-item:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Newsletter */
.newsletter-widget {
  text-align: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.08) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.newsletter-icon-circle {
  width: 44px;
  height: 44px;
  background: var(--grad-accent);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin: 0 auto 10px auto;
}

.newsletter-widget h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.newsletter-widget p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.newsletter-form-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.newsletter-form-inner input {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.82rem;
  outline: none;
}

.newsletter-form-inner input:focus {
  border-color: var(--accent);
}

.spam-text {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* --- 11. Search Modal Overlay --- */
.search-modal-backdrop, .quick-preview-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 70px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.search-modal-backdrop.open, .quick-preview-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.search-modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 620px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(-16px);
  transition: var(--transition-smooth);
}

.search-modal-backdrop.open .search-modal-card {
  transform: translateY(0);
}

.modal-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-surface-elevated);
}

.search-leading-icon {
  font-size: 1rem;
  color: var(--primary);
}

.modal-search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.clear-btn, .esc-btn, .close-quick-dialog-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
}

.clear-btn {
  font-size: 1.3rem;
}

.esc-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--text-muted);
}

.search-tags-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.quick-filter-tag {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  cursor: pointer;
}

.modal-search-results {
  padding: 16px;
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.search-item-row:hover {
  border-color: var(--primary);
}

.search-item-row img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-xs);
  object-fit: cover;
}

.search-item-row h4 {
  font-size: 0.84rem;
  font-weight: 700;
}

/* Quick Preview Dialog */
.quick-preview-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 580px;
  padding: 20px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.close-quick-dialog-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.3rem;
}

/* --- 12. Mobile Drawer Navigation --- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  z-index: 999;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--primary);
}

.drawer-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.4rem;
  cursor: pointer;
}

.drawer-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  border: 1px solid var(--border-color);
}

.drawer-search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.82rem;
}

.drawer-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
}

.drawer-link:hover, .drawer-link.active {
  background: rgba(0, 242, 254, 0.08);
  color: var(--primary);
}

.drawer-community-box {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.drawer-community-box p {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.drawer-socials {
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- 13. Site Footer --- */
.main-site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding-top: 45px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.footer-grid-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 28px;
  padding-bottom: 35px;
  box-sizing: border-box;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-primary);
  font-family: var(--font-en);
  margin-bottom: 12px;
}

.footer-brand-logo i {
  color: var(--primary);
  font-size: 1.3rem;
}

.footer-description {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.footer-social-bar {
  display: flex;
  gap: 8px;
}

.footer-social-bar a {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-social-bar a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.footer-title {
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 6px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list li a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.footer-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.footer-tag-cloud a {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 3px;
  color: var(--text-secondary);
}

.site-verified-badge {
  font-size: 0.76rem;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.footer-bottom-strip {
  border-top: 1px solid var(--border-color);
  padding: 16px 0;
  background: var(--bg-body);
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Floating Scroll Button */
.floating-scroll-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  color: #04101e;
  border: none;
  box-shadow: 0 4px 12px var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 99;
}

.floating-scroll-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Toast */
.toast-wrapper {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1000;
}

.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-focus);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
}

/* ==========================================================================
   14. Complete Responsive Breakpoints (Fixing Right Overflow on All Screens)
   ========================================================================== */

/* Large Laptops / Desktop (< 1200px) */
@media (max-width: 1200px) {
  .nav-item {
    padding: 5px 8px;
    font-size: 0.8rem;
  }
  .search-text, .kbd-shortcut {
    display: none;
  }
  .btn-join-comm span {
    font-size: 0.8rem;
  }
}

/* Medium Laptops Navigation (< 1200px) */
@media (max-width: 1200px) {
  .nav-item {
    padding: 5px 8px;
    font-size: 0.79rem;
    gap: 4px;
  }
  .nav-links-list {
    gap: 3px;
  }
}

/* Medium Laptops & Large Tablets (< 1080px) */
@media (max-width: 1080px) {
  .main-content-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar-column {
    margin-top: 10px;
  }
  .hero-layout-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .stats-card-grid,
  .stats-four-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stories-scroll-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tablet & Collapse Nav (< 992px) */
@media (max-width: 992px) {
  .header-nav-bar, .btn-join-comm, .live-date {
    display: none;
  }
  .mobile-hamburger {
    display: flex;
  }
  .header-upper-inner {
    justify-content: space-between;
  }
}

/* Mobile Phones (< 768px) */
@media (max-width: 768px) {
  .news-grid-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .spotlight-duo-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-media-wrapper {
    height: 220px;
  }
  .hero-main-title {
    font-size: 1.15rem;
  }
  .stats-card-grid,
  .stats-four-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .stories-scroll-container {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-bottom-flex {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  .post-single-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .post-single-title {
    font-size: 1.35rem !important;
  }
  .post-featured-media {
    height: 240px !important;
  }
  .reaction-buttons-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .related-grid-cards {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* ==========================================================================
   Single Post Article Page & Google AEO / SEO Components
   ========================================================================== */

/* Reading Progress Bar */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: var(--grad-primary);
  z-index: 1000;
  transition: width 0.1s ease;
}

/* Breadcrumbs */
.breadcrumb-container {
  padding: 14px 0 6px 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb-list a {
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

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

.breadcrumb-sep {
  font-size: 0.65rem;
  opacity: 0.5;
}

.breadcrumb-list li.active {
  color: var(--primary);
  font-weight: 600;
}

/* Post Single Layout */
.post-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding: 16px 0 40px 0;
}

.post-single-article {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

/* Article Header */
.post-header-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}

.post-header-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-reading-time {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.badge-verified {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.post-single-title {
  font-size: 1.85rem;
  line-height: 1.35;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.post-author-meta-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

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

.author-text-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.author-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.author-badge {
  font-size: 0.7rem;
  background: rgba(225, 29, 72, 0.12);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.meta-date-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Social Share Strip */
.social-share-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.share-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
}

.wa-btn {
  background: #25d366;
  color: #ffffff;
}

.tele-btn {
  background: #0088cc;
  color: #ffffff;
}

.x-btn {
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.copy-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.share-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Featured Media */
.post-featured-media {
  margin: 10px 0 24px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.post-hero-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.media-caption {
  padding: 8px 14px;
  background: var(--bg-surface-elevated);
  font-size: 0.74rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
}

/* Google AI Search (AEO) Key Takeaways Box */
.ai-key-takeaways-box {
  background: linear-gradient(145deg, rgba(225, 29, 72, 0.08) 0%, rgba(250, 204, 21, 0.05) 100%);
  border: 1.5px solid rgba(225, 29, 72, 0.35);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 20px 0 26px 0;
  box-shadow: 0 4px 20px rgba(225, 29, 72, 0.08);
}

[data-theme="light"] .ai-key-takeaways-box {
  background: linear-gradient(145deg, #fff1f2 0%, #fefce8 100%);
  border-color: #fda4af;
}

.takeaways-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.takeaways-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.takeaways-list strong {
  color: var(--text-primary);
}

/* Table of Contents */
.table-of-contents-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0 26px 0;
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  color: var(--text-primary);
}

.toc-arrow {
  transition: transform var(--transition-fast);
}

.table-of-contents-box.collapsed .toc-arrow {
  transform: rotate(-90deg);
}

.table-of-contents-box.collapsed .toc-list {
  display: none;
}

.toc-list {
  margin-top: 12px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.86rem;
}

.toc-list a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.toc-list a:hover {
  color: var(--primary);
  padding-left: 4px;
}

/* Post Content Body */
.post-content-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.post-content-body p {
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.lead-paragraph {
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--text-primary) !important;
}

.post-content-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 32px 0 14px 0;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}

.custom-callout-quote {
  background: var(--bg-surface-elevated);
  border-left: 4px solid var(--primary);
  padding: 18px 22px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

.custom-callout-quote .quote-icon {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.custom-callout-quote p {
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.custom-callout-quote cite {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 700;
}

.responsive-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.modern-article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.modern-article-table th {
  background: var(--bg-surface-elevated);
  padding: 12px 16px;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-color);
}

.modern-article-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.modern-article-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.styled-feature-bullets {
  padding-left: 20px;
  margin: 16px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

/* FAQ Accordion */
.post-faq-section {
  margin: 36px 0;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
}

.faq-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 0.92rem;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-item[open] .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 18px 16px 18px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Reader Reactions */
.reader-reactions-card {
  margin: 32px 0;
  padding: 20px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-align: center;
}

.reader-reactions-card h4 {
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.reaction-buttons-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.reaction-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.84rem;
  transition: var(--transition-fast);
}

.reaction-btn:hover, .reaction-btn.active {
  border-color: var(--primary);
  background: rgba(225, 29, 72, 0.12);
  transform: scale(1.05);
}

/* Author E-E-A-T Bio */
.author-eeat-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin: 32px 0;
  align-items: center;
}

.author-bio-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary);
  flex-shrink: 0;
}

.author-bio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-bio-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.author-title-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-title-badge-row h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
}

.verified-tag {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.author-role-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.author-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.author-social-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.author-social-links a:hover {
  color: var(--primary);
}

.author-all-articles-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary) !important;
  text-decoration: none;
  margin-left: auto;
}

/* Related Posts */
.related-posts-section {
  margin: 36px 0;
}

.related-header h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.related-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-card-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: var(--transition-fast);
}

.related-card-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.related-thumb {
  position: relative;
  height: 130px;
  overflow: hidden;
}

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

.related-thumb .cat-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.related-card-item h4 {
  padding: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

/* Comments Section */
.comments-section {
  margin: 40px 0 10px 0;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.comments-title h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.comment-item {
  display: flex;
  gap: 12px;
  background: var(--bg-surface-elevated);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.comment-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.comment-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-author-row strong {
  font-size: 0.88rem;
  color: var(--text-primary);
}

.comment-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.comment-body p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.comment-submit-form {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-submit-form h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.form-grid-inputs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.comment-submit-form input, .comment-submit-form textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-family: inherit;
  outline: none;
}

.comment-submit-form input:focus, .comment-submit-form textarea:focus {
  border-color: var(--primary);
}

/* ==========================================================================
   16. Category & Archive Hero Banner System
   ========================================================================== */
.category-archive-hero {
  padding: 20px 0 28px 0;
  position: relative;
  z-index: 1;
}

.category-hero-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.06) 0%, rgba(0, 242, 254, 0.04) 100%), var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .category-hero-card {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.12) 0%, rgba(0, 242, 254, 0.06) 100%), #131b2e;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.cat-hero-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.25) 0%, rgba(255, 87, 34, 0) 70%);
  filter: blur(40px);
  pointer-events: none;
}

.cat-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.cat-hero-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.cat-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ff1b4b 0%, #ff5722 100%);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(255, 87, 34, 0.3);
}

.cat-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.category-archive-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

[data-theme="dark"] .category-archive-title {
  color: #f8fafc !important;
}

.category-archive-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

[data-theme="dark"] .category-archive-desc {
  color: #cbd5e1 !important;
}

/* Feed Header Bar on Archive Pages */
.feed-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   17. Modern Pagination System
   ========================================================================== */
.ttm-pagination-wrapper {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.ttm-pagination-wrapper ul.page-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.ttm-pagination-wrapper .page-numbers li {
  margin: 0;
}

.ttm-pagination-wrapper .page-numbers a,
.ttm-pagination-wrapper .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 700;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

[data-theme="dark"] .ttm-pagination-wrapper .page-numbers a,
[data-theme="dark"] .ttm-pagination-wrapper .page-numbers span {
  background: #151d30;
  border-color: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

.ttm-pagination-wrapper .page-numbers a:hover {
  background: rgba(255, 87, 34, 0.1);
  border-color: #ff5722;
  color: #ff5722;
  transform: translateY(-2px);
}

.ttm-pagination-wrapper .page-numbers span.current {
  background: linear-gradient(135deg, #ff1b4b 0%, #ff5722 100%);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.4);
}

/* ==========================================================================
   18. Newsletter Sidebar Widget
   ========================================================================== */
.newsletter-sidebar-widget {
  background: linear-gradient(145deg, var(--bg-surface) 0%, rgba(255, 179, 0, 0.05) 100%);
  border-color: rgba(255, 179, 0, 0.2);
}

.newsletter-sidebar-form .input-with-btn {
  display: flex;
  align-items: center;
  gap: 6px;
}

.newsletter-sidebar-form input {
  flex: 1;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-fast);
}

[data-theme="dark"] .newsletter-sidebar-form input {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

.newsletter-sidebar-form input:focus {
  border-color: #ff5722;
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.15);
}

.btn-nl-submit {
  background: linear-gradient(135deg, #ff1b4b 0%, #ff5722 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 9px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition-fast);
  box-shadow: 0 3px 8px rgba(255, 87, 34, 0.3);
}

.btn-nl-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

/* ==========================================================================
   19. Empty States & Filter Alert Notices
   ========================================================================== */
.filter-empty-alert, .no-posts-alert {
  grid-column: 1 / -1;
  width: 100%;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
  box-sizing: border-box;
}

[data-theme="dark"] .filter-empty-alert,
[data-theme="dark"] .no-posts-alert {
  background: #131b2e;
  border-color: rgba(255, 255, 255, 0.15);
}

.empty-notice-card i, .no-posts-alert i {
  font-size: 2rem;
  color: #ff5722;
  margin-bottom: 10px;
}

.empty-notice-card h4, .no-posts-alert h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

[data-theme="dark"] .empty-notice-card h4,
[data-theme="dark"] .no-posts-alert h3 {
  color: #f8fafc !important;
}

.empty-notice-card p, .no-posts-alert p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

[data-theme="dark"] .empty-notice-card p,
[data-theme="dark"] .no-posts-alert p {
  color: #cbd5e1 !important;
}

.btn-goto-cat, .btn-return-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff1b4b 0%, #ff5722 100%);
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.35);
  transition: var(--transition-fast);
}

.btn-goto-cat:hover, .btn-return-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 87, 34, 0.5);
  color: #ffffff !important;
}

