/*
Theme Name: redchampion
Theme URI: https://redchampion.gr
Author: redchampion
Author URI: https://redchampion.gr
Description: Custom red-and-white editorial theme for redchampion, an independent Greek news site about Olympiacos S.F.P. and all of its sports.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: redchampion
Tags: news, sports, custom-menu, featured-images, custom-logo, translation-ready
*/

/* =========================================================
   1. Design tokens & reset
   ========================================================= */
:root {
  --rc-red: #d71920;
  --rc-red-600: #b90f16;
  --rc-red-700: #8e0a10;
  --rc-red-800: #6d070c;
  --rc-red-soft: #fff2f2;
  --rc-red-tint: #ffe3e4;
  --rc-ink: #0d0e12;
  --rc-ink-2: #17181d;
  --rc-ink-3: #24262d;
  --rc-muted: #5f6470;
  --rc-muted-2: #646a75;
  --rc-line: #e4e5ea;
  --rc-bg: #ffffff;
  --rc-bg-soft: #f4f4f6;
  --rc-gold: #e2b24a;
  --rc-radius: 14px;
  --rc-radius-sm: 9px;
  --rc-shadow: 0 14px 38px rgba(13, 14, 18, 0.11);
  --rc-shadow-sm: 0 6px 18px rgba(13, 14, 18, 0.07);
  --rc-container: 1200px;
  --rc-gutter: clamp(16px, 3vw, 28px);
  --font-sans: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-head: 'Roboto Condensed', 'Arial Narrow', 'Segoe UI', Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--rc-bg);
  color: var(--rc-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
a { color: var(--rc-red); text-decoration: none; }
a:hover { color: var(--rc-red-600); }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-head); line-height: 1.1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
iframe { max-width: 100%; }
:focus-visible { outline: 3px solid rgba(215, 25, 32, 0.55); outline-offset: 2px; }

::selection { background: var(--rc-red); color: #fff; }

.container {
  width: 100%;
  max-width: var(--rc-container);
  margin-inline: auto;
  padding-inline: var(--rc-gutter);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0; white-space: nowrap;
}
.skip-link {
  position: absolute;
  top: -100px; left: 16px; z-index: 9999;
  background: var(--rc-red); color: #fff;
  padding: 12px 20px; border-radius: 0 0 8px 8px;
  font-weight: 700;
}
.skip-link:focus { top: 0; color: #fff; }

/* =========================================================
   2. Top bar
   ========================================================= */
.topbar {
  background: var(--rc-ink);
  color: #b9bcc5;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.topbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 38px;
}
.topbar__date { text-transform: capitalize; letter-spacing: 0.01em; }
.topbar__tagline {
  text-align: center;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10.5px;
  color: #8f939d;
  white-space: nowrap;
}
.topbar__right { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.topbar__link { color: #b9bcc5; font-weight: 600; }
.topbar__link:hover { color: #fff; }
.socials { display: flex; align-items: center; gap: 6px; }
.socials a {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  color: #b9bcc5;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.socials a:hover { background: var(--rc-red); color: #fff; transform: translateY(-1px); }
.socials svg { width: 15px; height: 15px; }

/* =========================================================
   3. Masthead
   ========================================================= */
.masthead {
  background: var(--rc-bg);
  border-bottom: 1px solid var(--rc-line);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--rc-ink);
  min-width: 0;
}
.brand:hover { color: var(--rc-ink); }
.brand__crest {
  width: 56px;
  height: auto;
  flex: none;
  filter: drop-shadow(0 4px 10px rgba(215, 25, 32, .22));
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__word {
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.015em;
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__word .red { color: var(--rc-red); }
.brand__tagline {
  margin-top: 7px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rc-muted);
  white-space: nowrap;
}
.masthead__aside { display: flex; align-items: center; gap: 22px; flex: none; }
.masthead__follow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rc-muted-2);
  padding-right: 18px;
  border-right: 1px solid var(--rc-line);
  line-height: 1.8;
  text-align: right;
}
.masthead .socials a { background: var(--rc-bg-soft); color: var(--rc-ink); width: 34px; height: 34px; }
.masthead .socials a:hover { background: var(--rc-red); color: #fff; }

/* Search */
.search-form { position: relative; display: flex; align-items: stretch; }
.search-form .search-field {
  width: clamp(160px, 18vw, 240px);
  border: 1px solid var(--rc-line);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--rc-ink);
  background: var(--rc-bg-soft);
  min-width: 0;
}
.search-form .search-field::placeholder { color: var(--rc-muted-2); }
.search-form .search-field:focus { outline: none; border-color: var(--rc-red); background: #fff; }
.search-form .search-submit {
  border: 0;
  background: var(--rc-red);
  color: #fff;
  padding: 0 16px;
  border-radius: 0 999px 999px 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .18s ease;
}
.search-form .search-submit:hover { background: var(--rc-red-700); }
.search-form .search-submit svg { width: 17px; height: 17px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 8px;
  background: var(--rc-red);
  color: #fff;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 3px; width: 18px; }
.nav-toggle__bars span { display: block; height: 2px; background: #fff; border-radius: 2px; }

/* =========================================================
   4. Primary navigation
   ========================================================= */
.mainnav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(100deg, var(--rc-red-700), var(--rc-red) 55%, var(--rc-red-600));
  box-shadow: 0 6px 18px rgba(142, 10, 16, 0.22);
}
.mainnav__inner { display: flex; align-items: stretch; min-height: 52px; }
.mainnav .menu { display: flex; flex-wrap: wrap; align-items: stretch; list-style: none; margin: 0; padding: 0; width: 100%; }
.mainnav .menu > li { position: relative; display: flex; align-items: stretch; }
.mainnav .menu > li > a {
  display: flex;
  align-items: center;
  padding: 0 clamp(10px, 1.45vw, 19px);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  transition: background .16s ease, border-color .16s ease;
}
.mainnav .menu > li > a:hover,
.mainnav .menu > li.current-menu-item > a,
.mainnav .menu > li.current-menu-ancestor > a,
.mainnav .menu > li.current_page_item > a {
  background: rgba(0, 0, 0, 0.18);
  border-bottom-color: #fff;
  color: #fff;
}
.mainnav .menu > li.menu-item-has-children > a::after {
  content: "";
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.8);
  margin-left: 8px;
}
.mainnav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 226px;
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: var(--rc-shadow);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 95;
}
.mainnav .menu > li:hover > .sub-menu,
.mainnav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.mainnav .sub-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--rc-ink);
  font-size: 13.5px;
  font-weight: 600;
}
.mainnav .sub-menu a:hover { background: var(--rc-red-soft); color: var(--rc-red); }
.mainnav__home {
  display: flex; align-items: center;
  padding-inline: 16px; color: #fff;
}

/* =========================================================
   5. Breaking ticker
   ========================================================= */
.ticker {
  background: var(--rc-ink);
  color: #fff;
  display: flex;
  align-items: stretch;
  min-height: 44px;
  overflow: hidden;
}
.ticker__label {
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--rc-red);
  padding: 0 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.ticker__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: rc-pulse 1.8s infinite;
}
@keyframes rc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.65); }
  70% { box-shadow: 0 0 0 9px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.ticker__viewport { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: rc-ticker 55s linear infinite;
  padding-left: 10px;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  color: #d9dbe1;
  font-size: 13.5px;
  white-space: nowrap;
  padding: 0 26px;
  position: relative;
}
.ticker__item::after {
  content: "";
  position: absolute;
  right: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rc-red);
}
.ticker__item:hover { color: #fff; }
.ticker__item strong { color: #fff; font-weight: 600; }
@keyframes rc-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .ticker__viewport { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
  .ticker__viewport::-webkit-scrollbar { display: none; }
}

/* =========================================================
   6. Homepage: hero
   ========================================================= */
.site-main { padding-bottom: 20px; }

.hero { padding-top: clamp(20px, 3vw, 34px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(300px, 0.95fr);
  gap: 20px;
}
.hero__lead {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 500px;
  border-radius: var(--rc-radius);
  overflow: hidden;
  background: var(--rc-ink-2);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hero__lead:hover .hero__media img { transform: scale(1.035); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0) 25%, rgba(10, 10, 12, .55) 58%, rgba(10, 10, 12, .94) 100%),
    linear-gradient(90deg, rgba(10, 10, 12, .45), transparent 55%);
}
.hero__content { padding: clamp(22px, 3.6vw, 38px); width: 100%; color: #fff; }
.hero__cat { margin-bottom: 14px; }
.hero__title {
  font-size: clamp(29px, 3.85vw, 49px);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 14px;
  text-wrap: balance;
}
.hero__title a { color: #fff; }
.hero__title a:hover { color: #ffe9e9; }
.hero__excerpt {
  max-width: 62ch;
  color: #d6d8de;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: #c3c6ce; font-size: 12.5px; }
.hero__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .7; }

.hero__side {
  background: #fff;
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--rc-shadow-sm);
}
.hero__side-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rc-ink);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--rc-ink);
  margin-bottom: 4px;
}
.hero__side-head::before { content: ""; width: 18px; height: 3px; background: var(--rc-red); border-radius: 2px; }
.hero__side-list { list-style: none; display: flex; flex-direction: column; flex: 1; }
.hero__side-item { border-bottom: 1px solid var(--rc-line); }
.hero__side-item:last-child { border-bottom: 0; }
.hero__side-link {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  color: var(--rc-ink);
}
.hero__side-item:last-child .hero__side-link { padding-bottom: 4px; }
.hero__side-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  line-height: 0.9;
  color: var(--rc-muted-2);
  min-width: 34px;
  transition: color .18s ease;
}
.hero__side-link:hover .hero__side-num { color: var(--rc-red); }
.hero__side-cat {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rc-red);
  margin-bottom: 5px;
}
.hero__side-title {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.hero__side-link:hover .hero__side-title { color: var(--rc-red); }
.hero__side-date { display: block; font-size: 11.5px; line-height: 1.3; color: var(--rc-muted-2); }

/* =========================================================
   7. Shared editorial components
   ========================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rc-red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  line-height: 1;
}
.badge:hover { background: var(--rc-red-700); color: #fff; }
.badge--ghost { background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(4px); }

.meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--rc-muted);
  font-size: 12px;
  line-height: 1.4;
}
.meta .dot { width: 3px; height: 3px; background: var(--rc-muted-2); border-radius: 50%; }
.meta a { color: inherit; }
.meta a:hover { color: var(--rc-red); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rc-line);
  position: relative;
}
.section-head::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 62px; height: 3px;
  background: var(--rc-red);
}
.section-head__title {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section-head__title .kicker {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--rc-red);
  background: var(--rc-red-soft);
  padding: 5px 8px;
  border-radius: 4px;
  line-height: 1;
}
.section-head__link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rc-ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.section-head__link svg { width: 15px; height: 15px; transition: transform .18s ease; }
.section-head__link:hover { color: var(--rc-red); }
.section-head__link:hover svg { transform: translateX(3px); }

/* =========================================================
   8. Sports strip
   ========================================================= */
.sports { padding-top: clamp(26px, 3.4vw, 42px); }
.sports__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.sport-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 10px 15px;
  border: 1px solid var(--rc-line);
  border-radius: 12px;
  background: #fff;
  color: var(--rc-ink);
  text-align: center;
  min-height: 118px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.sport-tile:hover {
  border-color: var(--rc-red);
  background: var(--rc-red-soft);
  color: var(--rc-ink);
  transform: translateY(-3px);
  box-shadow: var(--rc-shadow-sm);
}
.sport-tile__icon {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--rc-red-soft);
  color: var(--rc-red);
  transition: background .18s ease, color .18s ease;
}
.sport-tile:hover .sport-tile__icon { background: var(--rc-red); color: #fff; }
.sport-tile__icon svg { width: 24px; height: 24px; }
.sport-tile__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}
.sport-tile__count { font-size: 10.5px; color: var(--rc-muted-2); letter-spacing: 0.02em; }
.sport-tile--all {
  background: var(--rc-ink);
  border-color: var(--rc-ink);
  color: #fff;
}
.sport-tile--all .sport-tile__icon { background: rgba(255,255,255,.1); color: #fff; }
.sport-tile--all .sport-tile__count { color: rgba(255,255,255,.6); }
.sport-tile--all:hover {
  background: var(--rc-red);
  border-color: var(--rc-red);
  color: #fff;
}
.sport-tile--all:hover .sport-tile__icon { background: #fff; color: var(--rc-red); }

/* =========================================================
   9. Manifesto / quote band
   ========================================================= */
.manifesto {
  margin-top: clamp(28px, 3.6vw, 44px);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 2px, transparent 2px 14px),
    linear-gradient(110deg, var(--rc-red-800), var(--rc-red) 58%, var(--rc-red-700));
  color: #fff;
  overflow: hidden;
  position: relative;
}
.manifesto::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 340px; height: 340px;
  background: url('assets/images/crest.svg') center / contain no-repeat;
  opacity: .1;
  transform: rotate(10deg);
  pointer-events: none;
}
.manifesto__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: clamp(26px, 3.4vw, 38px);
  position: relative;
  z-index: 1;
}
.manifesto__eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 8px;
}
.manifesto__eyebrow::before { content: ""; width: 26px; height: 2px; background: #fff; opacity: .7; }
.manifesto__quote {
  font-family: var(--font-head);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 760px;
  margin: 0;
}
.manifesto__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 14px;
  transition: background .18s ease, border-color .18s ease;
}
.manifesto__cta:hover { background: #fff; border-color: #fff; color: var(--rc-red-700); }
.manifesto__cta svg { width: 16px; height: 16px; }

/* =========================================================
   10. Layout with sidebar
   ========================================================= */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  gap: clamp(24px, 3.2vw, 42px);
  align-items: start;
  padding-top: clamp(28px, 3.6vw, 44px);
}
.layout__main { min-width: 0; }

/* =========================================================
   11. Post cards & grids
   ========================================================= */
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.post-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--rc-shadow); border-color: #d7d8de; }
.card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--rc-bg-soft);
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.045); }
.card__media .badge { position: absolute; top: 12px; left: 12px; z-index: 2; box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.card__body { padding: 16px 18px 17px; display: flex; flex-direction: column; flex: 1; }
.card__title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.015em;
  margin-bottom: 9px;
}
.card__title a { color: var(--rc-ink); }
.card__title a:hover { color: var(--rc-red); }
.card__excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--rc-muted);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__meta { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rc-line); }
.card--horizontal { flex-direction: row; }
.card--horizontal .card__media { width: 40%; min-height: 100%; aspect-ratio: auto; flex: none; }
.card--horizontal .card__body { padding: 18px 20px; }
.card--horizontal .card__title { font-size: 20px; }
.card--compact .card__title { font-size: 16px; }
.card--compact .card__excerpt { display: none; }

/* 3-column full width grids */
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

/* =========================================================
   12. Sidebar widgets
   ========================================================= */
.sidebar { min-width: 0; }
.widget {
  background: #fff;
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius);
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: var(--rc-shadow-sm);
}
.widget:last-child { margin-bottom: 0; }
.widget__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 13px;
  margin-bottom: 6px;
  border-bottom: 2px solid var(--rc-ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.widget__head::before { content: ""; width: 16px; height: 3px; background: var(--rc-red); border-radius: 2px; flex: none; }
.widget__head .widget__more {
  margin-left: auto;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--rc-muted-2);
  font-weight: 700;
}
.widget__head .widget__more:hover { color: var(--rc-red); }

.mini-list { list-style: none; }
.mini-list li { border-bottom: 1px solid var(--rc-line); }
.mini-list li:last-child { border-bottom: 0; }
.mini-item { display: flex; gap: 12px; padding: 12px 0; color: var(--rc-ink); align-items: flex-start; }
.mini-list li:first-child .mini-item { padding-top: 10px; }
.mini-item__thumb { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex: none; background: var(--rc-bg-soft); }
.mini-item__body { min-width: 0; }
.mini-item__cat { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rc-red); margin-bottom: 3px; }
.mini-item__title { font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; margin-bottom: 3px; }
.mini-item:hover .mini-item__title { color: var(--rc-red); }
.mini-item__date { display: block; font-size: 10.5px; color: var(--rc-muted-2); }
.mini-item--no-thumb .mini-item__body { padding-left: 0; }

/* Fixtures */
.fixture { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rc-line); }
.fixture:last-child { border-bottom: 0; padding-bottom: 4px; }
.fixture__date {
  flex: none;
  width: 46px;
  border-radius: 8px;
  background: var(--rc-bg-soft);
  border: 1px solid var(--rc-line);
  text-align: center;
  padding: 5px 0 4px;
  line-height: 1;
}
.fixture__day { display: block; font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--rc-ink); }
.fixture__month { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rc-muted); margin-top: 2px; }
.fixture__body { min-width: 0; flex: 1; }
.fixture__sport { font-size: 9.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--rc-red); }
.fixture__teams { display: block; font-size: 13.5px; font-weight: 700; color: var(--rc-ink); line-height: 1.35; margin: 2px 0; }
.fixture__meta { font-size: 10.5px; color: var(--rc-muted-2); }

/* Standings */
.standings { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.standings th {
  text-align: left;
  font-size: 9.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--rc-muted-2);
  font-weight: 700;
  padding: 8px 4px;
  border-bottom: 1px solid var(--rc-line);
}
.standings th.num, .standings td.num { text-align: center; width: 30px; }
.standings td { padding: 7px 4px; border-bottom: 1px solid var(--rc-line); }
.standings tr:last-child td { border-bottom: 0; }
.standings .team { display: flex; align-items: center; gap: 7px; font-weight: 600; white-space: nowrap; }
.standings .team i { width: 4px; height: 16px; border-radius: 2px; background: var(--rc-line); }
.standings tr.is-rc td { background: var(--rc-red); color: #fff; font-weight: 700; }
.standings tr.is-rc td:first-child { border-radius: 6px 0 0 6px; }
.standings tr.is-rc td:last-child { border-radius: 0 6px 6px 0; }
.standings tr.is-rc .team i { background: #fff; }
.standings__note { margin: 10px 0 0; font-size: 10px; color: var(--rc-muted-2); line-height: 1.5; }

/* Tags */
.tagcloud { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 10px; }
.tagcloud a {
  display: inline-block;
  background: var(--rc-bg-soft);
  border: 1px solid var(--rc-line);
  color: var(--rc-ink-3);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
}
.tagcloud a:hover { background: var(--rc-red); border-color: var(--rc-red); color: #fff; }

/* Newsletter widget */
.widget--newsletter {
  background: var(--rc-ink);
  border-color: var(--rc-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.widget--newsletter::after {
  content: "";
  position: absolute; right: -30px; bottom: -30px;
  width: 150px; height: 150px;
  background: url('assets/images/crest.svg') center / contain no-repeat;
  opacity: .09;
}
.widget--newsletter .widget__head { border-bottom-color: rgba(255,255,255,.2); color: #fff; }
.widget--newsletter .widget__head::before { background: var(--rc-red); }
.widget--newsletter p { position: relative; z-index: 1; font-size: 12.5px; color: #b9bcc5; margin: 8px 0 14px; }
.widget--newsletter .newsletter-form { position: relative; z-index: 1; display: grid; gap: 8px; }
.widget--newsletter input[type="email"] {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  color: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}
.widget--newsletter input[type="email"]::placeholder { color: #8d919b; }
.widget--newsletter button {
  border: 0;
  background: var(--rc-red);
  color: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
}
.widget--newsletter button:hover { background: var(--rc-red-700); }
.widget--newsletter .newsletter-note { font-size: 10px; color: #8d919b; margin: 0; }

/* =========================================================
   13. Article / single
   ========================================================= */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding-top: 20px;
  font-size: 11.5px;
  color: var(--rc-muted-2);
}
.breadcrumbs a { color: var(--rc-muted); }
.breadcrumbs a:hover { color: var(--rc-red); }
.breadcrumbs .sep { opacity: .55; }

.article { padding-top: 16px; }
.article__header { max-width: 860px; }
.article__cat { margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.article__cat .rt { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rc-muted-2); }
.article__title {
  font-size: clamp(31px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.article__dek {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.62;
  color: var(--rc-muted);
  margin-bottom: 22px;
  max-width: 72ch;
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--rc-line);
  border-bottom: 1px solid var(--rc-line);
  margin-bottom: 24px;
}
.author-chip { display: flex; align-items: center; gap: 10px; }
.author-chip__avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; border: 2px solid var(--rc-red-tint); object-fit: cover; background: var(--rc-red-soft); }
.author-chip__name { display: block; font-size: 13px; font-weight: 700; line-height: 1.2; color: var(--rc-ink); }
.author-chip__role { display: block; font-size: 10.5px; color: var(--rc-muted-2); }
.article__meta .meta { margin-left: auto; }
.share { display: flex; align-items: center; gap: 6px; }
.share__label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rc-muted-2); margin-right: 4px; }
.share a, .share button {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--rc-line);
  background: #fff;
  color: var(--rc-ink);
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.share a:hover, .share button:hover { background: var(--rc-red); border-color: var(--rc-red); color: #fff; }
.share svg { width: 14px; height: 14px; }

.article__hero { margin: 0 0 10px; }
.article__hero img { width: 100%; border-radius: var(--rc-radius); aspect-ratio: 16 / 9; object-fit: cover; }
.article__caption { font-size: 11.5px; color: var(--rc-muted-2); padding: 8px 2px 0; line-height: 1.5; }

.entry-content {
  font-size: 17px;
  line-height: 1.78;
  color: #23252b;
  padding-top: 12px;
  max-width: 78ch;
}
.entry-content > * { max-width: 100%; }
.entry-content p { margin: 0 0 1.35em; }
.entry-content h2 {
  font-size: clamp(24px, 2.6vw, 31px);
  font-weight: 800;
  margin: 1.6em 0 0.55em;
  letter-spacing: -0.01em;
  scroll-margin-top: 90px;
}
.entry-content h2::after { content: ""; display: block; width: 44px; height: 3px; background: var(--rc-red); margin-top: 9px; border-radius: 2px; }
.entry-content h3 { font-size: 23px; font-weight: 700; margin: 1.4em 0 0.5em; }
.entry-content h4 { font-size: 19px; font-weight: 700; margin: 1.2em 0 0.4em; }
.entry-content a { color: var(--rc-red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-thickness: 2px; }
.entry-content strong { font-weight: 700; color: var(--rc-ink); }
.entry-content ul, .entry-content ol { margin: 0 0 1.35em 1.2em; padding: 0; }
.entry-content li { margin-bottom: 0.45em; padding-left: 4px; }
.entry-content blockquote {
  margin: 1.7em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--rc-red);
  background: var(--rc-red-soft);
  border-radius: 0 10px 10px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.4;
  color: var(--rc-ink);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content figure { margin: 1.8em 0; }
.entry-content figure img { border-radius: 10px; }
.entry-content figcaption { font-size: 12px; color: var(--rc-muted-2); text-align: center; margin-top: 7px; }
.entry-content img { border-radius: 10px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 14.5px; }
.entry-content th, .entry-content td { border: 1px solid var(--rc-line); padding: 9px 11px; text-align: left; }
.entry-content th { background: var(--rc-bg-soft); font-weight: 700; }
.entry-content hr { border: 0; border-top: 1px solid var(--rc-line); margin: 2em 0; }
.entry-content .wp-block-quote { border-left: 4px solid var(--rc-red); padding-left: 20px; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content .alignwide { width: min(100%, 980px); margin-left: auto; margin-right: auto; }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.entry-content .aligncenter { display: block; margin-inline: auto; }
.entry-content .alignleft { float: left; margin: 0 20px 14px 0; }
.entry-content .alignright { float: right; margin: 0 0 14px 20px; }

.article__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--rc-line); }
.article__tags .label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rc-muted-2); margin-right: 4px; }
.article__tags a { background: var(--rc-bg-soft); border: 1px solid var(--rc-line); padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--rc-ink-3); }
.article__tags a:hover { background: var(--rc-red); border-color: var(--rc-red); color: #fff; }

.author-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 20px;
  border-radius: var(--rc-radius);
  background: var(--rc-bg-soft);
  border: 1px solid var(--rc-line);
}
.author-box__avatar { width: 58px; height: 58px; border-radius: 50%; flex: none; background: var(--rc-red-soft); border: 2px solid #fff; box-shadow: var(--rc-shadow-sm); }
.author-box__label { font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rc-red); }
.author-box__name { font-family: var(--font-head); font-weight: 800; font-size: 21px; line-height: 1.2; margin: 3px 0 5px; }
.author-box__bio { font-size: 13px; color: var(--rc-muted); margin: 0; line-height: 1.6; }

.related { margin-top: clamp(30px, 4vw, 46px); }
.related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.post-nav a { display: block; padding: 14px 16px; border: 1px solid var(--rc-line); border-radius: 10px; color: var(--rc-ink); min-width: 0; }
.post-nav a:hover { border-color: var(--rc-red); background: var(--rc-red-soft); }
.post-nav__label { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rc-muted-2); margin-bottom: 4px; }
.post-nav__title { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-nav a:last-child { text-align: right; }

/* =========================================================
   14. Archives, search, pages, 404
   ========================================================= */
.archive-hero {
  margin-top: 22px;
  background:
    radial-gradient(900px 300px at 85% -20%, rgba(215, 25, 32, .55), transparent 60%),
    linear-gradient(110deg, var(--rc-ink), var(--rc-ink-2));
  border-radius: var(--rc-radius);
  color: #fff;
  padding: clamp(24px, 3.6vw, 42px);
  position: relative;
  overflow: hidden;
}
.archive-hero::after {
  content: "";
  position: absolute; right: 20px; top: 50%;
  width: 190px; height: 190px;
  transform: translateY(-50%);
  background: url('assets/images/crest.svg') center / contain no-repeat;
  opacity: .07;
}
.archive-hero__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.archive-hero__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--rc-red);
  color: #fff;
  flex: none;
}
.archive-hero__icon svg { width: 28px; height: 28px; }
.archive-hero__kicker { font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #f3b5b8; }
.archive-hero__title {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin: 4px 0 0;
}
.archive-hero__desc { margin: 12px 0 0; max-width: 66ch; color: #c3c6ce; font-size: 14.5px; line-height: 1.65; }
.archive-hero__count { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); padding: 5px 12px; border-radius: 999px; font-size: 11.5px; color: #e7e8ec; }
.archive-hero__count strong { color: #fff; }

.archive-body { padding-top: clamp(26px, 3.4vw, 40px); }
.archive-body .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.archive-body--sidebar .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.search-list { display: flex; flex-direction: column; gap: 16px; }
.search-list .card { flex-direction: row; }
.search-list .card__media { width: 240px; flex: none; aspect-ratio: 16 / 10; }
.search-list .card__body { padding: 18px 22px; }
.search-list .card__title { font-size: 21px; }

.pagination { display: flex; justify-content: center; margin-top: clamp(28px, 3.5vw, 40px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pagination .page-numbers {
  display: grid; place-items: center;
  min-width: 40px; height: 40px;
  padding: 0 12px;
  border: 1px solid var(--rc-line);
  border-radius: 8px;
  color: var(--rc-ink);
  font-weight: 600;
  font-size: 13.5px;
  background: #fff;
}
.pagination .page-numbers:hover { border-color: var(--rc-red); color: var(--rc-red); }
.pagination .page-numbers.current { background: var(--rc-red); border-color: var(--rc-red); color: #fff; }
.pagination .page-numbers.dots { border: 0; background: none; min-width: 24px; }

.page-hero { padding-top: clamp(28px, 4vw, 46px); max-width: 860px; }
.page-hero__label { display: inline-flex; align-items: center; gap: 9px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rc-red); margin-bottom: 10px; }
.page-hero__label::before { content: ""; width: 22px; height: 2px; background: var(--rc-red); }
.page-hero h1 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 14px; }
.page-hero .page-hero__lead { font-size: 17px; color: var(--rc-muted); line-height: 1.65; max-width: 64ch; }
.page-body { max-width: 800px; padding-top: 24px; }
.page-body .entry-content { padding-top: 0; }

.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.contact-card { border: 1px solid var(--rc-line); border-radius: 12px; padding: 18px; background: #fff; }
.contact-card__label { font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rc-red); margin-bottom: 5px; }
.contact-card a, .contact-card span { font-size: 15px; font-weight: 600; color: var(--rc-ink); }
.contact-card a:hover { color: var(--rc-red); }

.error-404 { text-align: center; padding: clamp(40px, 8vw, 90px) 16px; }
.error-404__code {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(96px, 20vw, 190px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px var(--rc-red);
  margin-bottom: 10px;
}
.error-404 h1 { font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 12px; }
.error-404 p { color: var(--rc-muted); max-width: 52ch; margin-inline: auto; margin-bottom: 22px; }
.error-404 .search-form { max-width: 380px; margin-inline: auto; justify-content: center; }
.error-404 .search-form .search-field { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--rc-red); color: #fff;
  border-radius: 999px;
  padding: 11px 22px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 14px;
}
.btn:hover { background: var(--rc-red-700); color: #fff; }
.btn--ghost { background: transparent; border: 1px solid var(--rc-line); color: var(--rc-ink); }
.btn--ghost:hover { border-color: var(--rc-ink); background: var(--rc-ink); color: #fff; }

/* =========================================================
   15. Comments
   ========================================================= */
.comments-area { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--rc-line); }
.comments-title, .comment-reply-title { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.comment-list { list-style: none; margin: 0 0 26px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 34px; margin: 0; }
.comment-body { padding: 16px 18px; border: 1px solid var(--rc-line); border-radius: 10px; margin-bottom: 14px; }
.comment-author { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 13.5px; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 11px; color: var(--rc-muted-2); margin: 3px 0 9px; }
.comment-content { font-size: 14.5px; line-height: 1.7; }
.comment-respond .comment-form { display: grid; gap: 12px; }
.comment-form label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%;
  border: 1px solid var(--rc-line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
}
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form .submit {
  justify-self: start;
  border: 0;
  background: var(--rc-red);
  color: #fff;
  border-radius: 999px;
  padding: 11px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}
.comment-form .submit:hover { background: var(--rc-red-700); }

/* =========================================================
   16. Footer
   ========================================================= */
.site-footer {
  margin-top: clamp(34px, 5vw, 60px);
  background: var(--rc-ink);
  color: #a9adb7;
  border-top: 4px solid var(--rc-red);
  position: relative;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.9fr 1.2fr;
  gap: clamp(22px, 3.5vw, 48px);
  padding-block: clamp(34px, 4.5vw, 52px);
}
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__brand img { width: 48px; }
.footer__brand .brand__word { font-size: 30px; color: #fff; }
.footer__brand .brand__word .red { color: var(--rc-red); }
.footer__about { font-size: 13px; line-height: 1.7; margin-bottom: 18px; max-width: 36ch; color: #9da1ab; }
.footer .socials a { border: 1px solid rgba(255,255,255,.12); }
.footer .socials a:hover { border-color: var(--rc-red); }
.footer__heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative;
}
.footer__heading::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 34px; height: 2px; background: var(--rc-red); }
.footer__list { list-style: none; display: grid; gap: 8px; font-size: 13px; }
.footer__list a { color: #a9adb7; }
.footer__list a:hover { color: #fff; }
.footer__contact { list-style: none; display: grid; gap: 11px; font-size: 13px; }
.footer__contact li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.5; }
.footer__contact svg { width: 15px; height: 15px; color: var(--rc-red); flex: none; margin-top: 2px; }
.footer__contact a { color: #d3d5da; }
.footer__contact a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #7d818b;
}
.footer__bottom a { color: #a9adb7; }
.footer__bottom a:hover { color: #fff; }
.footer__disclaimer { max-width: 62ch; line-height: 1.55; }

/* =========================================================
   16b. Ad slots (AdSense / ad networks)
   ========================================================= */
.ad-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: clamp(18px, 2.4vw, 26px) auto;
  border-radius: 10px;
  overflow: hidden;
  background: #fbfbfc;
}
.ad-slot.is-placeholder {
  border: 1px dashed #d6d8de;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,.018) 0 10px, transparent 10px 20px),
    #fbfbfc;
  min-height: 0;
  height: auto;
}
.ad-slot__tag {
  position: absolute;
  top: 8px;
  left: 12px;
  font-size: clamp(7px, 2vw, 8px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #646a75;
}
.ad-slot__hint {
  font-size: clamp(8.5px, 2.4vw, 10.5px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
  color: #646a75;
  text-align: center;
  padding: 18px 10px 12px;
  max-width: 100%;
}

/* Real ad markup is clamped to the slot width. */
.ad-slot > * { max-width: 100%; }
.ad-slot iframe,
.ad-slot ins,
.ad-slot img,
.ad-slot svg { max-width: 100%; }

/* Placeholders keep the ad proportions and shrink with the container,
   so a 728×90 unit never renders as a stretched 970px box. */
.ad-slot--leaderboard { max-width: 970px; }
.ad-slot--billboard { max-width: 970px; }
.ad-slot--inline { max-width: 728px; }
.ad-slot--mpu { max-width: 300px; }
.ad-slot--halfpage { max-width: 300px; }

.ad-slot.is-placeholder.ad-slot--leaderboard,
.ad-slot.is-placeholder.ad-slot--inline,
.ad-slot.is-placeholder.ad-slot--footer {
  aspect-ratio: 728 / 90;
  height: auto;
  min-height: 56px;
  max-height: 90px;
}
.ad-slot.is-placeholder.ad-slot--billboard {
  aspect-ratio: 970 / 250;
  height: auto;
  min-height: 140px;
  max-height: 250px;
}
.ad-slot.is-placeholder.ad-slot--mpu {
  aspect-ratio: 300 / 250;
  height: auto;
  min-height: 200px;
  max-height: 250px;
}
.ad-slot.is-placeholder.ad-slot--halfpage {
  aspect-ratio: 300 / 600;
  height: auto;
  min-height: 280px;
  max-height: 600px;
}

.ad-slot--grid { grid-column: 1 / -1; margin: 2px 0 4px; }
.ad-slot--article { margin: 28px 0; }
.ad-slot--article-bottom { margin: 30px 0 0; }
.ad-slot--footer { margin-bottom: 0; }
.sidebar .ad-slot { max-width: 100%; }
.sidebar .ad-slot--mpu, .sidebar .ad-slot--halfpage { margin-bottom: 22px; }
.sidebar .ad-slot.is-placeholder.ad-slot--halfpage { max-height: 420px; }

/* The entry-content reset `.entry-content > * { max-width: 100% }` is more
   specific than the single-class ad sizes, so re-assert them for in-article ads. */
.entry-content > .ad-slot--leaderboard,
.entry-content .ad-slot--leaderboard { max-width: 970px; }
.entry-content > .ad-slot--billboard,
.entry-content .ad-slot--billboard { max-width: 970px; }
.entry-content > .ad-slot--inline,
.entry-content .ad-slot--inline { max-width: 728px; }
.entry-content > .ad-slot--mpu,
.entry-content .ad-slot--mpu { max-width: 300px; }
.entry-content > .ad-slot--halfpage,
.entry-content .ad-slot--halfpage { max-width: 300px; }


/* Article meta layout keeps share icons on the right */
.article__meta .share { margin-left: 0; }

/* Search inside the mobile nav */
.mainnav__search { display: none; }
.archive-hero__search { margin-top: 18px; max-width: 460px; }
.archive-hero__search .search-field {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.archive-hero__search .search-field::placeholder { color: #b6bac3; }
.archive-hero__search .search-field:focus { background: #fff; color: var(--rc-ink); }

/* Card media needs a block link on top of the image */
.card__media-link { display: block; width: 100%; height: 100%; }

/* =========================================================
   17. WordPress core bits
   ========================================================= */
.alignleft { float: left; margin: 0 20px 14px 0; }
.alignright { float: right; margin: 0 0 14px 20px; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--rc-muted-2); text-align: center; padding-top: 6px; }
.sticky { position: relative; }
.sticky .card__title::before { content: "★ "; color: var(--rc-red); }
.bypostauthor { position: relative; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery-item { margin: 0; }
.gallery img { border-radius: 8px; }
.wp-block-image img { border-radius: 10px; }
.wp-block-embed { margin: 1.5em 0; }
.wp-block-button__link { background: var(--rc-red); border-radius: 999px; font-family: var(--font-head); text-transform: uppercase; font-weight: 700; letter-spacing: .05em; }
.wp-block-separator { border: 0; border-top: 1px solid var(--rc-line); }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table td, .wp-block-table th { border: 1px solid var(--rc-line); padding: 8px; }

/* =========================================================
   18. Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.95fr); }
  .hero__lead { min-height: 440px; }
  .layout { grid-template-columns: minmax(0, 1fr) 310px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__grid > div:last-child .footer__contact { grid-template-columns: repeat(2, 1fr); display: grid; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .masthead__aside { display: none; }
  .mainnav {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(330px, 88vw);
    height: 100%;
    transform: translateX(-102%);
    transition: transform .28s cubic-bezier(.2,.7,.3,1);
    background: var(--rc-ink);
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 20px 0 60px rgba(0,0,0,.35);
    padding: 22px 18px 30px;
  }
  .mainnav.is-open { transform: none; }
  .mainnav::before {
    content: "redchampion";
    display: block;
    font-family: var(--font-head);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    font-size: 28px;
    color: #fff;
    padding: 4px 10px 18px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 10px;
  }
  .mainnav__inner { display: block; min-height: 0; }
  .mainnav .menu { display: block; }
  .mainnav .menu > li { display: block; }
  .mainnav .menu > li > a {
    padding: 13px 10px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 17px;
    border-left: 3px solid transparent;
  }
  .mainnav .menu > li > a:hover,
  .mainnav .menu > li.current-menu-item > a { background: rgba(255,255,255,.05); border-bottom-color: rgba(255,255,255,.08); border-left-color: var(--rc-red); }
  .mainnav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255,255,255,.04);
    box-shadow: none;
    border-radius: 0;
    padding: 4px 0 4px 12px;
    display: block;
    min-width: 0;
  }
  .mainnav .sub-menu a { color: #c9ccd4; }
  .mainnav .sub-menu a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .mainnav .menu > li.menu-item-has-children > a::after { float: right; margin-top: 8px; }
  body.nav-open { overflow: hidden; }
  .nav-overlay {
    position: fixed; inset: 0;
    background: rgba(6,7,9,.55);
    backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
    z-index: 999;
  }
  body.nav-open .nav-overlay { opacity: 1; visibility: visible; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__lead { min-height: 430px; }
  .hero__side { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; }
  .hero__side-head { grid-column: 1 / -1; }
  .hero__side-list { display: grid; grid-template-columns: 1fr 1fr; grid-column: 1 / -1; column-gap: 22px; }
  .hero__side-item { border-bottom: 1px solid var(--rc-line); }
  .hero__side-item:nth-last-child(-n+2) { border-bottom: 0; }

  .layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .widget { margin-bottom: 0; }
  .archive-body .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .archive-hero::after { width: 130px; height: 130px; opacity: .05; }
}

@media (max-width: 960px) {
  .mainnav__search {
    display: block;
    padding: 16px 10px 0;
  }
  .mainnav__search .search-form .search-field {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
    flex: 1;
    width: 100%;
  }
  .mainnav__search .search-form .search-field::placeholder { color: #8d919b; }
  .mainnav__search .search-form .search-field:focus { background: #fff; color: var(--rc-ink); }
}

@media (max-width: 760px) {
  .ad-slot__hint { padding: 16px 8px 10px; }
  .ad-slot__tag { top: 6px; left: 8px; }
  .topbar__inner { grid-template-columns: 1fr auto; min-height: 34px; font-size: 11.5px; }
  .topbar__tagline { display: none; }
  .topbar__right .socials { display: none; }
  .masthead__inner { padding-block: 14px; gap: 14px; }
  .brand { gap: 10px; }
  .brand__crest { width: 42px; }
  .brand__word { font-size: clamp(24px, 7vw, 34px); }
  .brand__tagline { font-size: 8px; letter-spacing: 0.15em; margin-top: 5px; }
  .nav-toggle { padding: 9px 11px; font-size: 12px; }
  .nav-toggle__label { display: none; }
  .nav-toggle__bars { width: 20px; }
  .ticker__label { padding: 0 12px; font-size: 11px; letter-spacing: .06em; }
  .ticker__item { font-size: 12.5px; padding: 0 18px; }
  .hero { padding-top: 16px; }
  .hero__lead { min-height: 380px; border-radius: 12px; }
  .hero__content { padding: 20px; }
  .hero__title { font-size: clamp(26px, 7.4vw, 36px); }
  .hero__excerpt { display: none; }
  .hero__side { grid-template-columns: 1fr; padding: 16px 18px; }
  .hero__side-list { grid-template-columns: 1fr; }
  .hero__side-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--rc-line); }
  .hero__side-item:last-child { border-bottom: 0; }
  .sports__grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .sport-tile { min-height: 96px; padding: 12px 6px; gap: 6px; }
  .sport-tile__icon { width: 34px; height: 34px; }
  .sport-tile__icon svg { width: 20px; height: 20px; }
  .sport-tile__name { font-size: 11.5px; }
  .sport-tile__count { display: none; }
  .manifesto__inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .manifesto__quote { font-size: clamp(22px, 6vw, 30px); }
  .manifesto__cta { padding: 11px 18px; font-size: 13px; }
  .post-grid, .archive-body .post-grid, .post-grid--3, .archive-grid { grid-template-columns: 1fr; }
  .card__title { font-size: 19px; }
  .layout { padding-top: 24px; }
  .sidebar { grid-template-columns: 1fr; }
  .article__title { font-size: clamp(28px, 8vw, 38px); }
  .article__meta { gap: 12px; }
  .article__meta .meta { margin-left: 0; width: 100%; order: 3; }
  .share { margin-left: auto; }
  .entry-content { font-size: 16px; }
  .entry-content .alignleft, .entry-content .alignright { float: none; margin: 1em auto; display: block; }
  .related__grid { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav a:last-child { text-align: left; }
  .search-list .card { flex-direction: column; }
  .search-list .card__media { width: 100%; aspect-ratio: 16/9; }
  .search-list .card__title { font-size: 19px; }
  .archive-hero { border-radius: 12px; }
  .archive-hero__title { font-size: clamp(28px, 8vw, 40px); }
  .contact-cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__grid > div:first-child, .footer__grid > div:last-child { grid-column: auto; }
  .footer__grid > div:last-child .footer__contact { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .comment-list .children { padding-left: 14px; }
}

@media (max-width: 420px) {
  .sports__grid { grid-template-columns: repeat(2, 1fr); }
  .brand__tagline { display: none; }
}

/* Admin bar offset */
.admin-bar .mainnav { top: 32px; }
@media (max-width: 782px) { .admin-bar .mainnav { top: 46px; } }

/* Print */
@media print {
  .topbar, .mainnav, .ticker, .masthead__aside, .sidebar, .site-footer, .share, .related, .post-nav, .comments-area { display: none !important; }
  .layout { display: block; }
  .article__title { font-size: 34px; }
  body { font-size: 12pt; }
  a { color: #000; text-decoration: none; }
}
