/*
Theme Name: Populyar.az Modern Pro
Theme URI: https://populyar.az
Author: Populyar.az Team
Description: Populyar.az üçün hazırlanmış ultra-müasir, sürətli, SEO və AdSense optimizasiyalı, çoxdilli, qaranlıq rejimli xəbər və media portalı WordPress mövzusu.
Version: 2.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: populyar
Tags: news, magazine, modern, dark-mode, audio-player, video-news, adsense-ready, multilingual, seo-optimized
*/

:root {
  --navy: #150F3D;
  --navy-2: #1B1440;
  --navy-3: #241B57;
  --coral: #FF5A36;
  --coral-dark: #C23F20;
  --amber: #FFB020;
  --teal: #14B8A6;
  --purple: #7C5CFC;
  --pink: #FF3D6B;
  --green: #3DDC97;
  --ink: #150F3D;
  --muted: #6B6690;
  --line: #EDEAFB;
  --bg: #F7F6FE;
  --surface: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 10px rgba(21,15,61,0.06);
  --shadow-md: 0 10px 28px rgba(21,15,61,0.10);
  --shadow-lg: 0 18px 40px rgba(21,15,61,0.16);
}

[data-theme="dark"] {
  --bg: #0E0A24;
  --surface: #181237;
  --ink: #F2F0FF;
  --muted: #9992CC;
  --line: #2A2255;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.35);
  --shadow-md: 0 10px 28px rgba(0,0,0,0.45);
  --shadow-lg: 0 18px 40px rgba(0,0,0,0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================
   1) READING PROGRESS BAR
   ========================================================== */
#populyar-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 9999;
}
#populyar-progress span {
  display: block;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--coral), var(--amber), var(--pink));
  transition: width 0.1s linear;
}

/* ==========================================================
   2) TOP UTILITY BAR
   ========================================================== */
.utility-bar {
  background: var(--navy);
  color: #C9C3FF;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 8px 0;
}
.utility-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.utility-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.weather-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.12);
  padding-right: 14px;
}
.weather-item .icon { color: var(--amber); }
.currency-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
}
.curr-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.06);
  padding: 2px 7px;
  border-radius: 5px;
}
.curr-pill .code { font-weight: 800; color: #fff; }
.curr-pill .rate { font-family: monospace; }
.curr-pill .up { color: var(--green); font-weight: 700; }
.curr-pill .down { color: #FF5A5A; font-weight: 700; }

.utility-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  font-size: 11px;
}
.lang-switch a {
  padding: 2px 6px;
  border-radius: 5px;
  color: #C9C3FF;
  opacity: 0.75;
}
.lang-switch a.active,
.lang-switch a:hover {
  opacity: 1;
  background: var(--coral);
  color: #fff;
}
.theme-toggle-btn {
  color: #C9C3FF;
  font-size: 14px;
  padding: 2px;
  display: flex;
  align-items: center;
}
.theme-toggle-btn:hover { color: #fff; }

/* ==========================================================
   3) SITE HEADER
   ========================================================== */
header.site-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--coral), #FF8A45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(255,90,54,0.4);
}
.brand-text {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}
.brand-text span { color: #FF7A50; }
.brand-sub {
  display: block;
  font-size: 9.5px;
  color: rgba(255,255,255,0.5);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-search {
  position: relative;
  flex: 1;
  max-w: 420px;
}
.search-form-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 8px 14px;
  gap: 8px;
  transition: all 0.2s ease;
}
.search-form-wrap:focus-within {
  background: rgba(255,255,255,0.14);
  border-color: var(--coral);
}
.search-form-wrap input {
  background: none;
  border: none;
  color: #fff;
  font-size: 13px;
  outline: none;
  width: 100%;
}
.search-form-wrap input::placeholder { color: rgba(255,255,255,0.45); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-action {
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.btn-action:hover { background: rgba(255,255,255,0.15); }
.btn-primary {
  background: linear-gradient(135deg, var(--coral), #FF8A45);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,90,54,0.35);
  border: none;
}
.btn-primary:hover { opacity: 0.95; }

/* ==========================================================
   4) MEGA NAV
   ========================================================== */
nav.mega-nav {
  background: var(--navy-3);
  position: sticky;
  top: 68px;
  z-index: 45;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mega-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}
.mega-nav ul::-webkit-scrollbar { display: none; }
.mega-nav a {
  font-size: 12.5px;
  font-weight: 800;
  color: #C9C3FF;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.mega-nav li.current-menu-item a,
.mega-nav a:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.mega-nav li.current-menu-item a {
  background: var(--coral);
}
.live-link {
  color: #fff !important;
  background: rgba(255,61,107,0.2) !important;
  border: 1px solid rgba(255,61,107,0.4);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 3px rgba(255,61,107,0.3);
  display: inline-block;
}

/* ==========================================================
   5) BREAKING TICKER
   ========================================================== */
.ticker {
  background: linear-gradient(90deg, var(--amber), var(--coral), var(--pink));
  padding: 8px 0;
}
.ticker .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ticker-badge {
  background: var(--navy);
  color: var(--amber);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.ticker-content {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================
   6) LIVE BANNER
   ========================================================== */
.live-banner {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--pink), var(--coral));
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
  color: #fff;
}
.live-banner .play-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.live-banner .info { flex: 1; min-width: 0; }
.live-banner .badge {
  background: var(--navy);
  color: #fff;
  font-size: 9.5px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 4px;
}
.live-banner h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.live-banner .watch-btn {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

/* ==========================================================
   7) HERO CONTENT GRID (2fr / 1fr)
   ========================================================== */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.hero-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  background-size: cover;
  background-position: center;
}
.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,15,61,0.15) 0%, rgba(21,15,61,0.85) 100%);
}
.hero-card .cat-pill {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  background: #fff;
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 8px;
  margin-bottom: auto;
}
.hero-card .hero-info {
  position: relative;
  z-index: 2;
}
.hero-card .hero-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}
.hero-card h1 {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 10px;
}
.hero-card p {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
  max-width: 90%;
}
.hero-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.sub-articles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card .thumb {
  height: 140px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background-size: cover;
  background-position: center;
}
.card .cat {
  font-size: 10.5px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.card h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  line-height: 1.35;
  color: var(--ink);
}
.card .meta {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 700;
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
}

/* ==========================================================
   8) SIDEBAR (Most Read & Ad Slot)
   ========================================================== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.side-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.side-title {
  font-size: 14px;
  font-weight: 900;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.most-read-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.most-read-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.most-read-item .num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--coral);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.most-read-item p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
.most-read-item .views {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 700;
  margin-top: 4px;
}

/* ==========================================================
   9) SECTION TITLES & PICKS
   ========================================================== */
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  margin: 36px 0 18px;
  color: var(--ink);
}
.section-title .bar {
  width: 5px;
  height: 20px;
  border-radius: 3px;
  display: inline-block;
}
.picks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pick {
  height: 150px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  padding: 14px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pick::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(21,15,61,0.85) 100%);
}
.pick span {
  position: relative;
  z-index: 2;
}
.pick:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================
   10) AUDIO SECTION (CPT)
   ========================================================== */
.audio-section {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 36px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
}
.audio-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.audio-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
}
.track-list {
  padding: 10px 0;
}
.track {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s;
}
.track:last-child { border-bottom: none; }
.track:hover { background: rgba(255,255,255,0.04); }
.track-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(255,90,54,0.4);
}
.track-info {
  flex: 1;
  min-width: 0;
}
.track-info h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}
.track-info p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #9992CC;
}
.track-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.track-meta .duration {
  font-family: monospace;
  font-size: 12px;
  color: #C9C3FF;
}
.track-download-link {
  color: var(--green);
  font-size: 16px;
  padding: 6px;
}

/* ==========================================================
   11) VIDEO SECTION (CPT)
   ========================================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.video-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.video-thumb {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}
.video-play-btn {
  position: relative;
  z-index: 2;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  border: 2px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.video-card .content {
  padding: 14px;
}
.video-card h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}

/* ==========================================================
   12) NEWS FEED (CHRONOLOGY)
   ========================================================== */
.feed {
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.feed-item {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
  transition: background 0.15s;
}
.feed-item:last-child { border-bottom: none; }
.feed-item:hover { background: var(--bg); }
.feed-time {
  font-size: 11px;
  font-weight: 800;
  font-family: monospace;
  color: var(--muted);
  width: 44px;
  flex-shrink: 0;
  padding-top: 2px;
}
.feed-bar {
  width: 4px;
  align-self: stretch;
  border-radius: 2px;
  flex-shrink: 0;
}
.feed-content {
  flex: 1;
  min-width: 0;
}
.feed-tag {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 4px;
}
.feed-content h4 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}
.feed-content p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.feed-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

/* ==========================================================
   13) AD SLOTS & BILLBOARDS
   ========================================================== */
.ad-slot {
  margin: 20px 0;
  padding: 16px;
  text-align: center;
  border: 2px dashed rgba(124,92,252,0.3);
  border-radius: var(--radius-lg);
  font-size: 12px;
  color: var(--purple);
  font-weight: 800;
  background: rgba(124,92,252,0.04);
}
.ad-slot.has-code {
  border-style: solid;
  border-color: transparent;
  background: transparent;
  padding: 0;
}

/* ==========================================================
   14) SINGLE POST (ARTICLE) RICH EXPERIENCE
   ========================================================== */
.single-wrap {
  position: relative;
  margin-top: 24px;
}
.single-content {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  max-width: 800px;
  margin: 0 auto;
}
.single-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  margin-bottom: 24px;
  color: #fff;
}
.single-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,15,61,0.2) 0%, rgba(21,15,61,0.85) 100%);
}
.single-hero .cat-pill {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  background: #fff;
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}
.single-hero h1 {
  position: relative;
  z-index: 2;
  font-size: 28px;
  font-weight: 900;
  margin: 0;
  line-height: 1.25;
}
.author-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}
.author-info h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}
.author-info p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.entry-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
}
.entry-body p { margin-bottom: 20px; }
.entry-body > p:first-of-type::first-letter {
  float: left;
  font-size: 52px;
  font-weight: 900;
  line-height: 0.82;
  padding: 6px 10px 0 0;
  color: var(--coral);
}
.entry-body blockquote {
  background: var(--bg);
  border-left: 4px solid var(--coral);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  font-style: italic;
  font-size: 16px;
  margin: 24px 0;
}

/* REACTION WIDGET */
.reaction-widget {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
  text-align: center;
}
.reaction-widget h4 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 900;
}
.reaction-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.reaction-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  transition: all 0.15s;
}
.reaction-btn:hover {
  transform: translateY(-2px);
  border-color: var(--coral);
}

/* ==========================================================
   15) FOOTER
   ========================================================= */
footer.site-footer {
  background: var(--navy);
  color: #8B84C9;
  padding: 50px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 40px;
}
.footer-logo {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
}
.footer-logo span { color: #FF7A50; }
.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #8B84C9;
  margin: 12px 0 16px;
}
.social-row {
  display: flex;
  gap: 10px;
}
.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C9C3FF;
  font-weight: 800;
  font-size: 15px;
  transition: all 0.2s;
}
.social-row a:hover {
  background: var(--coral);
  color: #fff;
}
.fcol h5 {
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.fcol a {
  display: block;
  font-size: 13px;
  color: #8B84C9;
  padding: 5px 0;
}
.fcol a:hover { color: #fff; }
.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #6B6690;
}
.footer-bottom a { color: #6B6690; }
.footer-bottom a:hover { color: #fff; }

/* Responsive adjustments */
@media (max-width: 992px) {
  .content-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .sub-articles { grid-template-columns: 1fr; }
  .picks-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-card { min-height: 280px; padding: 20px; }
  .hero-card h1 { font-size: 20px; }
  .header-search { display: none; }
}
