/*
 * Bondida WordPress Theme — Main Stylesheet
 * Version 1.0.0
 * ──────────────────────────────────────────────────────────
 * Table of contents
 *  1.  CSS Custom Properties
 *  2.  Light Mode Overrides
 *  3.  Base Reset & Body
 *  4.  Typography
 *  5.  Container & Layout
 *  6.  Live Scores Ticker
 *  7.  Site Header & Navigation
 *  8.  Mobile Menu
 *  9.  Search Overlay
 * 10.  Breaking News Bar
 * 11.  Hero Slider
 * 12.  Article Cards
 * 13.  Homepage Grid
 * 14.  Sidebar & Widgets
 * 15.  Single Post
 * 16.  Archive Page
 * 17.  Pagination
 * 18.  404 Page
 * 19.  Most-Read List
 * 20.  Footer
 * 21.  WP Core Overrides
 * 22.  Responsive — Tablet  ≤ 1024 px
 * 23.  Responsive — Mobile  ≤ 767 px
 * 24.  Responsive — Small   ≤ 480 px
 * ──────────────────────────────────────────────────────────
 */

/* ── 1. CSS Custom Properties ──────────────────────────── */
:root {
  --color-bg:          #0a0a0a;
  --color-surface:     #141414;
  --color-card:        #1d1d1d;
  --color-card-hover:  #252525;
  --color-border:      #2e2e2e;
  --color-text:        #efefef;
  --color-text-muted:  #888;
  --color-accent:      #00e676;
  --color-accent-text: #0a0a0a;
  --color-red:         #ff3b30;
  --color-gold:        #f59e0b;

  --font-heading: 'Barlow Condensed', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-width:    1320px;
  --pad-x:        24px;
  --gap:          20px;
  --nav-h:        62px;
  --ticker-h:     36px;
  --sidebar-w:    320px;
  --radius:       2px;
}

/* ── 2. Light Mode ─────────────────────────────────────── */
body.light-mode {
  --color-bg:         #f2f2ed;
  --color-surface:    #ffffff;
  --color-card:       #e8e8e3;
  --color-card-hover: #deded8;
  --color-border:     #d4d4ce;
  --color-text:       #0a0a0a;
  --color-text-muted: #6b6b6b;
  --color-accent:     #00954a;
}

/* ── 3. Base Reset & Body ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: .9375rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}

img   { display: block; max-width: 100%; height: auto; }
ul    { list-style: none; }
a     { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--color-accent); }
button { font-family: inherit; cursor: pointer; }

/* ── 4. Typography ─────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--color-text);
}

/* ── 5. Container & Layout ─────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 36px;
  margin-top: 40px;
}

/* ── 6. Live Scores Ticker ─────────────────────────────── */
.bondida-ticker {
  background: var(--color-accent);
  height: var(--ticker-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 200;
  flex-shrink: 0;
}

.ticker-label {
  background: #060606;
  color: var(--color-accent);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-scroll { flex: 1; overflow: hidden; }

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 45s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 56px;
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 700;
}

.ticker-score {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 16px;
}

.ticker-status {
  padding: 1px 7px;
  border-radius: var(--radius);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
}
.ticker-status--live { background: var(--color-red); color: #fff; }
.ticker-status--ft   { background: rgba(0,0,0,.18); color: #0a0a0a; }

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

@keyframes live-pulse {
  0%,100% { opacity:1; transform:scale(1);   }
  50%     { opacity:.4; transform:scale(.75); }
}

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-red);
  flex-shrink: 0;
  animation: live-pulse 1.3s ease infinite;
}

/* ── 7. Site Header & Navigation ───────────────────────── */
.site-header {
  background: var(--color-surface);
  border-bottom: 2px solid var(--color-accent);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.4); }

.header-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 0;
}

/* Logo */
.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 32px;
  flex-shrink: 0;
  text-decoration: none !important;
}
.site-logo-icon {
  width: 34px; height: 34px;
  background: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  flex-shrink: 0;
}
.site-logo-icon span {
  font-family: var(--font-heading);
  font-weight: 900; font-size: 17px;
  color: #0a0a0a; line-height: 1;
}
.site-logo-img { height: 38px; width: auto; }

.site-name {
  font-family: var(--font-heading);
  font-weight: 900; font-size: 24px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1;
}
.site-name span { color: var(--color-accent); }

/* Nav menu */
.primary-navigation { flex: 1; }
.primary-navigation .menu { display: flex; gap: 2px; }
.primary-navigation .menu-item > a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 15px; font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.primary-navigation .menu-item > a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current-menu-ancestor > a {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.btn-search {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text-muted);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  transition: color .15s, border-color .15s;
}
.btn-search:hover { color: var(--color-accent); border-color: var(--color-accent); }

.btn-dark-toggle {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 30px;
  width: 54px; height: 28px;
  position: relative;
  flex-shrink: 0;
  transition: background .2s;
}
.dark-toggle-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: left .25s ease, background .25s;
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}
body.light-mode .dark-toggle-knob { left: 27px; background: var(--color-accent); }

.btn-subscribe {
  background: var(--color-accent);
  color: var(--color-accent-text);
  border: none;
  padding: 8px 20px;
  font-family: var(--font-heading);
  font-weight: 800; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: opacity .15s;
  text-decoration: none !important;
  display: inline-block;
}
.btn-subscribe:hover { color: var(--color-accent-text); opacity: .88; }

/* ── 8. Mobile Menu ────────────────────────────────────── */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: all .3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 9. Search Overlay ─────────────────────────────────── */
.search-overlay {
  display: none;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
}
.search-overlay.open { display: block; }
.search-overlay .search-field {
  width: 100%; background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-size: 16px; padding: 12px 16px;
  font-family: var(--font-body);
}
.search-close {
  background: none; border: none;
  font-size: 28px; color: var(--color-text-muted);
  position: absolute; right: var(--pad-x); top: 14px;
}

/* ── 10. Breaking News Bar ─────────────────────────────── */
.breaking-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.breaking-label {
  background: #cc2200;
  color: #fff;
  height: 100%;
  display: flex; align-items: center;
  padding: 0 14px;
  font-family: var(--font-heading);
  font-weight: 800; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  flex-shrink: 0;
}
.breaking-scroll { flex: 1; overflow: hidden; }
.breaking-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}
.breaking-track:hover { animation-play-state: paused; }
.breaking-item {
  display: inline-block;
  font-size: 13px; font-weight: 500;
  color: var(--color-text);
  margin-right: 80px;
}

/* ── 11. Hero Slider ───────────────────────────────────── */
.hero-slider {
  position: relative;
  height: 580px;
  overflow: hidden;
  background: #000;
}

.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }

.hero-slide__bg { width: 100%; height: 100%; object-fit: cover; }

.hero-slide__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg,rgba(0,0,0,.92) 0%,rgba(0,0,0,.55) 55%,rgba(0,0,0,.1) 100%);
}

.hero-content {
  position: absolute;
  bottom: 60px; left: 0; right: 0;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.hero-content__inner { max-width: 640px; animation: hero-fade .65s ease both; }

.hero-tag {
  display: inline-block;
  background: var(--color-accent); color: var(--color-accent-text);
  font-family: var(--font-heading); font-weight: 900; font-size: 11px;
  padding: 4px 12px; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px,4.5vw,56px);
  font-weight: 900; color: #fff;
  margin-bottom: 14px;
  text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.hero-title a { color: inherit; }
.hero-title a:hover { color: var(--color-accent); }

.hero-excerpt { color: #ccc; font-size: 15px; line-height: 1.65; margin-bottom: 24px; max-width: 520px; }

.hero-cta {
  background: var(--color-accent); color: var(--color-accent-text);
  border: none; padding: 12px 28px;
  font-family: var(--font-heading); font-weight: 900; font-size: 14px;
  letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--radius); display: inline-block;
  transition: opacity .15s;
}
.hero-cta:hover { color: var(--color-accent-text); opacity: .88; }

.hero-thumbs {
  position: absolute; right: var(--pad-x); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px; z-index: 2;
}
.hero-thumb {
  width: 88px; height: 60px; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  border: 2px solid rgba(255,255,255,.15); opacity: .55; transition: all .3s;
}
.hero-thumb.active { border-color: var(--color-accent); opacity: 1; }
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; }

.hero-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.hero-dot {
  border: none; cursor: pointer; border-radius: 4px;
  height: 8px; width: 8px;
  background: rgba(255,255,255,.35); transition: all .3s; padding: 0;
}
.hero-dot.active { background: var(--color-accent); width: 28px; }

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

/* ── 12. Article Cards ─────────────────────────────────── */
.article-card {
  background: var(--color-card);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  transition: background .15s;
  text-decoration: none !important;
}
.article-card:hover { background: var(--color-card-hover); color: inherit; }

.article-card__image {
  display: block; overflow: hidden;
  text-decoration: none !important;
}
.article-card__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.article-card__image:hover img { transform: scale(1.07); }
.article-card__image--large  { height: 260px; }
.article-card__image--medium { height: 190px; }
.article-card__image--small  { height: 155px; }

.article-card__body { padding: 14px 16px 18px; }

.article-card__category {
  display: inline-block;
  font-family: var(--font-heading); font-size: 10px; font-weight: 800;
  color: var(--color-accent); letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 7px;
}
.article-card__category:hover { color: var(--color-accent); }

.article-card__title {
  font-family: var(--font-heading); font-weight: 800; line-height: 1.15;
  color: var(--color-text); display: block; margin: 0;
  text-decoration: none !important;
}
.article-card__title:hover { color: var(--color-accent); }
.article-card__title--large  { font-size: 24px; }
.article-card__title--medium { font-size: 18px; }
.article-card__title--small  { font-size: 15px; }

.article-card__meta { display: flex; gap: 14px; margin-top: 10px; font-size: 11px; color: var(--color-text-muted); }

/* Horizontal */
.article-card--horizontal {
  display: flex; gap: 14px;
  background: transparent; border-radius: 0;
  padding: 14px 0; border-bottom: 1px solid var(--color-border);
}
.article-card--horizontal:hover { background: transparent; }
.article-card--horizontal .article-card__image { width: 110px; height: 74px; flex-shrink: 0; border-radius: var(--radius); }
.article-card--horizontal .article-card__image--small { height: 74px; }
.article-card--horizontal .article-card__body { padding: 0; }

/* ── 13. Homepage Grid ─────────────────────────────────── */
.home-content { padding-top: 40px; padding-bottom: 80px; }
.posts-grid { display: grid; gap: var(--gap); }
.posts-grid--2col { grid-template-columns: 1.55fr 1fr; }
.posts-grid--3col { grid-template-columns: repeat(3,1fr); }
.posts-grid--4col { grid-template-columns: repeat(4,1fr); }
.posts-grid__aside { display: flex; flex-direction: column; gap: var(--gap); }

.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}
.section-header__title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 800; font-size: 19px;
  letter-spacing: .06em; text-transform: uppercase;
}
.section-header__title::before {
  content: ''; display: block; width: 4px; height: 22px;
  background: var(--color-accent); flex-shrink: 0;
}
.section-header__action {
  background: none; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 5px 14px; font-family: var(--font-heading); font-weight: 700; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted);
  transition: color .15s, border-color .15s; text-decoration: none !important;
}
.section-header__action:hover { color: var(--color-accent); border-color: var(--color-accent); }

/* ── 14. Sidebar & Widgets ─────────────────────────────── */
.widget { background: var(--color-card); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.widget:last-child { margin-bottom: 0; }

.widget__title {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 2px solid var(--color-accent);
  font-family: var(--font-heading); font-weight: 800; font-size: 14px;
  letter-spacing: .1em; text-transform: uppercase;
}
.widget__title a { color: var(--color-accent); font-size: 11px; letter-spacing: .06em; }
.widget__body { padding: 8px 0; }

/* Standings */
.standings-mini__row { display: grid; grid-template-columns: 24px 1fr 28px; gap: 6px; align-items: center; padding: 7px 16px; }
.standings-mini__pos { font-family: var(--font-heading); font-weight: 800; font-size: 12px; color: var(--color-text-muted); }
.standings-mini__pos--ucl { color: var(--color-accent); }
.standings-mini__pos--rel { color: var(--color-red); }
.standings-mini__team { font-size: 13px; }
.standings-mini__pts { font-family: var(--font-heading); font-weight: 800; font-size: 17px; text-align: right; }

.widget__legend { display: flex; gap: 14px; padding: 10px 16px; border-top: 1px solid var(--color-border); font-size: 11px; color: var(--color-text-muted); }
.legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 1px; margin-right: 5px; vertical-align: middle; }
.legend-dot--ucl { background: var(--color-accent); }
.legend-dot--uel { background: var(--color-gold); }

/* Fixtures */
.fixture-item { padding: 10px 16px; border-bottom: 1px solid var(--color-border); }
.fixture-item:last-child { border-bottom: none; }
.fixture-item__time { font-size: 10px; color: var(--color-accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 5px; }
.fixture-item__teams { display: flex; justify-content: space-between; font-size: 13px; }
.fixture-item__vs { font-family: var(--font-heading); font-weight: 700; color: var(--color-text-muted); font-size: 12px; }
.fixture-item__comp { font-size: 10px; color: var(--color-text-muted); margin-top: 3px; }

/* Results */
.result-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; padding: 8px 16px; border-bottom: 1px solid var(--color-border); }
.result-row:last-child { border-bottom: none; }
.result-row__team { font-size: 12px; font-weight: 500; }
.result-row__team--home { text-align: right; }
.result-row__score { text-align: center; }
.result-row__scorenum { font-family: var(--font-heading); font-weight: 900; font-size: 18px; line-height: 1; }
.result-row__scorenum--live { color: var(--color-red); }
.result-row__status { font-size: 9px; font-weight: 700; letter-spacing: .05em; color: var(--color-text-muted); margin-top: 2px; }
.result-row__status--live { color: var(--color-red); }

/* ── 15. Single Post ───────────────────────────────────── */
.single-hero { position: relative; height: 480px; overflow: hidden; }
.single-hero__img { width: 100%; height: 100%; object-fit: cover; }
.single-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(0,0,0,.85) 28%,rgba(0,0,0,.15) 72%); }
.single-hero__content { position: absolute; bottom: 0; left: 0; right: 0; padding-bottom: 44px; }

.single-category {
  display: inline-block;
  background: var(--color-accent); color: var(--color-accent-text);
  font-family: var(--font-heading); font-weight: 900; font-size: 11px;
  padding: 4px 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px;
}

.single-title { font-size: clamp(26px,4vw,52px); color: #fff; max-width: 820px; }

.single-meta {
  display: flex; align-items: center; gap: 20px;
  padding-bottom: 20px; margin-bottom: 28px; margin-top: 28px;
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.single-author { display: flex; align-items: center; gap: 12px; }
.single-author__avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: var(--color-card); flex-shrink: 0; }
.single-author__avatar img { width: 100%; height: 100%; object-fit: cover; }
.single-author__name { font-weight: 600; font-size: 14px; }
.single-author__date { font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }
.single-share { margin-left: auto; display: flex; gap: 8px; }
.btn-share { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 6px 14px; font-family: var(--font-heading); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); transition: color .15s, border-color .15s; }
.btn-share:hover { color: var(--color-accent); border-color: var(--color-accent); }

.single-lead { font-family: var(--font-heading); font-size: 22px; font-weight: 600; line-height: 1.5; font-style: italic; margin-bottom: 28px; }
.single-body p  { font-size: 16px; line-height: 1.78; margin-bottom: 20px; text-wrap: pretty; }
.single-body h2 { font-size: 26px; margin-top: 36px; margin-bottom: 14px; border-left: 4px solid var(--color-accent); padding-left: 16px; }
.single-body h3 { font-size: 20px; margin-top: 28px; margin-bottom: 10px; }
.single-body blockquote { border-left: 4px solid var(--color-accent); padding: 16px 20px; margin: 28px 0; background: var(--color-card); font-style: italic; font-size: 18px; color: var(--color-text-muted); }
.single-body img { border-radius: var(--radius); margin: 24px 0; max-width: 100%; }
.single-body a { color: var(--color-accent); text-decoration: underline; }

.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.article-tag { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 5px 12px; font-size: 12px; color: var(--color-text-muted); font-weight: 500; transition: border-color .15s, color .15s; text-decoration: none !important; }
.article-tag:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ── 16. Archive Page ──────────────────────────────────── */
.archive-hero { background: var(--color-surface); padding: 48px 0; border-bottom: 2px solid var(--color-accent); }
.archive-hero__label { font-family: var(--font-heading); font-size: 11px; font-weight: 800; color: var(--color-accent); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.archive-hero__title { font-size: clamp(36px,5vw,56px); }
.archive-hero__count { color: var(--color-text-muted); font-size: 13px; margin-top: 6px; }

/* ── 17. Pagination ────────────────────────────────────── */
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-links a, .nav-links span { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 8px 16px; font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--color-text-muted); transition: all .15s; }
.nav-links a:hover, .nav-links .current { background: var(--color-accent); color: var(--color-accent-text); border-color: var(--color-accent); }

/* ── 19. Most-Read List ────────────────────────────────── */
.most-read { padding: 0; }
.most-read__item { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--color-border); color: inherit; text-decoration: none !important; transition: background .15s; }
.most-read__item:last-child { border-bottom: none; }
.most-read__item:hover { background: var(--color-card-hover); }
.most-read__num { font-family: var(--font-heading); font-weight: 900; font-size: 28px; color: var(--color-border); line-height: 1; flex-shrink: 0; width: 32px; }
.most-read__title { font-family: var(--font-heading); font-size: 15px; font-weight: 700; line-height: 1.2; color: var(--color-text); }
.most-read__meta { font-size: 11px; color: var(--color-text-muted); margin-top: 4px; }

/* ── 20. Footer ────────────────────────────────────────── */
.site-footer { background: #050505; border-top: 2px solid #1c1c1c; margin-top: 80px; padding: 56px var(--pad-x) 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand__name { font-family: var(--font-heading); font-weight: 900; font-size: 26px; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-brand__name span { color: var(--color-accent); }
.footer-brand__desc { color: #555; font-size: 13px; line-height: 1.8; max-width: 260px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.footer-social a { background: #1a1a1a; color: #666; font-size: 11px; padding: 5px 10px; border-radius: var(--radius); font-weight: 600; letter-spacing: .06em; transition: background .15s, color .15s; }
.footer-social a:hover { background: var(--color-accent); color: var(--color-accent-text); }
.footer-col__title { font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 16px; }
.footer-col__links { display: flex; flex-direction: column; gap: 10px; }
.footer-col__links a { color: #555; font-size: 13px; }
.footer-col__links a:hover { color: #aaa; }
.footer-bottom { border-top: 1px solid #1a1a1a; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: #333; font-size: 12px; }

/* ── 21. WP Core Overrides ─────────────────────────────── */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--color-text-muted); margin-top: 6px; }
.aligncenter { margin-inline: auto; }
.alignright { float: right; margin-left: 24px; }
.alignleft  { float: left; margin-right: 24px; }
.wp-block-quote { border-left: 4px solid var(--color-accent); padding: 16px 20px; background: var(--color-card); }
.search-form { display: flex; gap: 8px; }
.search-field { flex: 1; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); color: var(--color-text); font-size: 15px; padding: 10px 14px; font-family: var(--font-body); }
.search-submit { background: var(--color-accent); color: var(--color-accent-text); border: none; border-radius: var(--radius); padding: 10px 20px; font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* ── 22. Responsive — Tablet ≤ 1024px ─────────────────── */
@media (max-width:1024px) {
  :root { --pad-x: 20px; --sidebar-w: 280px; }
  .posts-grid--4col { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-thumbs { display: none; }
}

/* ── 23. Responsive — Mobile ≤ 767px ──────────────────── */
@media (max-width:767px) {
  :root { --pad-x: 16px; --nav-h: 56px; }

  /* Nav */
  .primary-navigation {
    display: none;
    position: absolute; top: calc(var(--nav-h) + 2px); left: 0; right: 0;
    background: var(--color-surface);
    border-bottom: 2px solid var(--color-accent);
    z-index: 999;
  }
  .primary-navigation.open { display: block; }
  .primary-navigation .menu { flex-direction: column; gap: 0; }
  .primary-navigation .menu-item > a { padding: 14px 20px; border-bottom: 1px solid var(--color-border); border-bottom-width: 1px !important; margin-bottom: 0; }
  .menu-toggle { display: flex; }
  .btn-subscribe { padding: 7px 14px; font-size: 12px; }

  /* Hero */
  .hero-slider { height: 400px; }
  .hero-title { font-size: 28px; }
  .hero-excerpt { display: none; }
  .hero-content { bottom: 36px; }
  .hero-content__inner { max-width: 100%; }

  /* Layout */
  .content-wrapper { grid-template-columns: 1fr; }
  .sidebar { display: none; }

  /* Grids */
  .posts-grid--2col { grid-template-columns: 1fr; }
  .posts-grid--3col { grid-template-columns: 1fr 1fr; }
  .posts-grid--4col { grid-template-columns: 1fr 1fr; }

  /* Cards */
  .article-card__image--large  { height: 200px; }
  .article-card__image--medium { height: 170px; }

  /* Single */
  .single-hero { height: 260px; }
  .single-title { font-size: 24px; }
  .single-share { margin-left: 0; }
  .single-meta  { gap: 12px; }

  /* Archive */
  .archive-hero { padding: 32px 0; }
  .archive-hero__title { font-size: 36px; }

  /* Breaking */
  .breaking-bar { display: none; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .site-footer { margin-top: 48px; padding-top: 40px; }
}

/* ── 24. Responsive — Small ≤ 480px ───────────────────── */
@media (max-width:480px) {
  .posts-grid--3col { grid-template-columns: 1fr; }
  .posts-grid--4col { grid-template-columns: 1fr; }
  .hero-slider { height: 340px; }
  .hero-title { font-size: 24px; }
  .hero-tag { font-size: 10px; }
  .hero-cta { padding: 10px 20px; font-size: 13px; }
  .site-name { font-size: 19px; }
  .single-hero { height: 220px; }
}
