/* ═══════════════════════════════════════════════════════
   WAW THEME — waw-main.css
   Dark neon theme for wearewrestling.net
   Colours: #fc026e (pink), #0a0a0a (bg), #111 (surface)
═══════════════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --pink:       #fc026e;
    --pink-dark:  #e8006a;
    --bg:         #0a0a0a;
    --surface:    #111111;
    --surface2:   #1a1a1a;
    --surface3:   #222222;
    --text:       #f0f0f0;
    --muted:      #888888;
    --border:     #2a2a2a;
    --radius:     4px;
    --nav-width:  200px;
    --sidebar-w:  260px;
    --font:          'Inter', 'Helvetica Neue', Arial, sans-serif;
    --font-display:  'Bebas Neue', 'Oswald', 'Inter', sans-serif;
    --font-heading:  'Oswald', 'Inter', sans-serif;
    --font-mono:     'IBM Plex Mono', 'Courier New', monospace;
    --topbar-h:   38px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; border-radius: 2px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
button { cursor: pointer; font-family: var(--font); }

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* ── SITE LAYOUT ── */
.waw-site-wrap {
    display: grid;
    grid-template-columns: var(--nav-width) 1fr var(--sidebar-w);
    grid-template-rows: auto;
    min-height: 100vh;
}

.waw-content-col {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ═══════════════════════════════════════════════════════
   LEFT NAV
═══════════════════════════════════════════════════════ */
.waw-nav {
    grid-column: 1;
    grid-row: 1 / 99;
    background: #0d0d0d;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}
.waw-nav::-webkit-scrollbar { display: none; }

/* Logo */
.waw-logo {
    padding: 1.5rem 1.2rem 1rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.waw-logo a { display: block; }
.waw-logo .logo-we {
    display: block;
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: 0.04em;
    color: #f0f0f0;
    line-height: 1;
}
.waw-logo .logo-wr {
    display: block;
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: 0.04em;
    color: var(--pink);
    line-height: 1;
}
.waw-logo .logo-domain {
    display: block;
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 1px;
    margin-top: 4px;
    font-weight: 400;
    font-style: normal;
}

/* Nav list */
.waw-nav-list {
    list-style: none;
    padding: 0.5rem 0;
    flex: 1;
}
.waw-nav-list li a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 1.2rem;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: #999;
    text-transform: uppercase;
    transition: color 0.15s, background 0.15s;
    border-left: 2px solid transparent;
}
.waw-nav-list li a:hover {
    color: var(--text);
    background: var(--surface2);
}
.waw-nav-list li.active a {
    color: var(--pink);
    border-left-color: var(--pink);
    background: rgba(252, 2, 110, 0.06);
}
.nav-icon { font-size: 14px; opacity: 0.7; flex-shrink: 0; }
.waw-nav-list li.active a .nav-icon { opacity: 1; }

.nav-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 1.2rem;
    list-style: none;
}

/* Nav search */
.nav-search {
    margin: 0.6rem 1.2rem;
    position: relative;
    flex-shrink: 0;
}
.nav-search input {
    width: 100%;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 6px 10px;
    font-size: 11px;
    color: var(--text);
    outline: none;
    transition: border-color 0.15s;
}
.nav-search input:focus { border-color: var(--pink); }
.nav-search input::placeholder { color: var(--muted); }
.nav-search-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    pointer-events: none;
}

/* Social icons */
.nav-socials {
    display: flex;
    gap: 14px;
    padding: 1rem 1.2rem;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}
.nav-socials a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    transition: color 0.15s;
    line-height: 1;
}
.nav-socials a:hover { color: var(--pink); }

/* Mobile toggle (hidden on desktop) */
.waw-nav-toggle { display: none; }

/* ═══════════════════════════════════════════════════════
   TOP BAR / BREAKING TICKER (The Squash)
═══════════════════════════════════════════════════════ */
.waw-topbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0;
    height: var(--topbar-h);
    overflow: hidden;
    flex-shrink: 0;
}

.ticker-label {
    background: var(--pink);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
}

.ticker-track {
    flex: 1;
    overflow: hidden;   /* clips the belt — NEVER translated */
    height: 100%;
    min-width: 0;
    position: relative;
}

/* .ticker-belt is created by JS and sits inside .ticker-track */
/* Give it full height so items vertically centre */
.ticker-track > div {
    height: 100%;
    align-items: center;
}
/* .ticker-inner holds the actual <span> items */
.ticker-inner {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    height: 100%;
}

.ticker-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 11px;
    color: #bbb;
    padding-right: 40px;
}
.ticker-item a { color: #bbb; transition: color 0.15s; }
.ticker-item a:hover { color: var(--pink); }
.ticker-dot { color: var(--pink); margin-right: 5px; font-size: 8px; }

.topbar-date {
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
    padding: 0 14px;
    flex-shrink: 0;
    border-left: 1px solid var(--border);
    height: 100%;
    display: flex;
    align-items: center;
}

/* ═══════════════════════════════════════════════════════
   MAIN CONTENT
═══════════════════════════════════════════════════════ */
.waw-main {
    flex: 1;
    padding: 1.5rem;
    min-width: 0;
}

/* Section headers */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.section-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    display: flex;
    align-items: center;
}
.section-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 13px;
    background: var(--pink);
    margin-right: 9px;
    flex-shrink: 0;
}
.section-date { font-size: 11px; color: var(--muted); }
.view-all {
    font-size: 11px;
    color: var(--pink);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: opacity 0.15s;
}
.view-all:hover { opacity: 0.75; }

/* ── HERO ── */
.waw-hero {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.8rem;
    aspect-ratio: 16 / 7;
    background: var(--surface2);
}
.waw-hero-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.hero-img-wrap {
    position: absolute;
    inset: 0;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-img--placeholder .hero-placeholder-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #08001a 0%, #160028 35%, #001830 70%, #040012 100%);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.35) 55%, transparent 100%);
}
.hero-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--pink);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 3px 8px;
    text-transform: uppercase;
    border-radius: 2px;
    z-index: 1;
}
.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 1;
}
.hero-promo-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--pink);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.hero-title {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    max-width: 680px;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.hero-excerpt {
    font-size: 13px;
    color: rgba(255,255,255,.75);
    margin-bottom: 12px;
    max-width: 560px;
    line-height: 1.5;
}
.hero-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 11px;
    color: rgba(255,255,255,.5);
}
.hero-time time { margin-left: 4px; }
.hero-read-more { color: var(--pink); font-weight: 700; letter-spacing: 0.5px; }

/* ── LATEST LIVE EVENTS ROW (container) ──
   Wraps one or more .waw-live-feature cards. Single-event nights render
   exactly like the original full-width card (row is just a block with
   one child). Multi-show nights (.is-multi) lay cards side by side so
   a visitor can compare and pick, rather than one show claiming the
   whole section — each card keeps its own promotion accent via its own
   --wlf-accent/--wlf-ink, set inline per-card as before. */
.waw-live-feature-row {
    margin-bottom: 1.8rem;
}
.waw-live-feature-row.is-multi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 0; /* individual cards keep their own bottom margin off; row owns the gap */
}
.waw-live-feature-row.is-multi .waw-live-feature {
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .waw-live-feature-row.is-multi {
        grid-template-columns: 1fr;
    }
}

/* ── LATEST LIVE EVENT FEATURE CARD ──
   Full-bleed promotion-colour gradient field (accent blended into near-
   black so white text always has contrast regardless of how light the
   accent itself is — NJPW gold and AAA cyan included). The show name
   renders twice: small as the real heading, and oversized + near-
   transparent as a background watermark, broadcast-graphics style.
   Replaces the earlier logo-in-a-panel layout, which read as a small
   placeholder image floating in a grey box rather than a designed
   card — this treatment doesn't depend on the quality/shape of
   whatever image Wikipedia happens to have for a given show. */
.waw-live-feature {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.8rem;
    background: linear-gradient(
        115deg,
        color-mix(in srgb, var(--wlf-accent, var(--pink)) 38%, #0a0a0a) 0%,
        color-mix(in srgb, var(--wlf-accent, var(--pink)) 22%, #0a0a0a) 45%,
        #0a0a0a 100%
    );
    border: 1px solid var(--border);
}
.waw-live-feature.is-live {
    border: 2px solid var(--wlf-accent, var(--pink));
    box-shadow: 0 0 0 1px rgba(252,2,110,0.25), 0 0 24px rgba(252,2,110,0.2);
}
.waw-live-feature-link {
    position: relative;
    display: block;
}
.waw-live-feature-watermark {
    position: absolute;
    top: -22px;
    right: -16px;
    font-family: var(--font-display);
    font-size: 90px;
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -2px;
    color: rgba(255,255,255,0.07);
    text-transform: uppercase;
    text-align: right;
    width: 65%;
    overflow-wrap: break-word;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-3deg);
}
.waw-live-feature-dot {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px #fff;
    animation: waw-lf-pulse 1.3s ease-in-out infinite;
    z-index: 2;
}
.waw-live-feature-body {
    position: relative;
    z-index: 1;
    padding: 1.1rem 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 7px;
    max-width: 580px;
}
.waw-live-feature-top-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.waw-live-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    flex-shrink: 0;
}
.waw-live-feature-pill.is-live {
    background: #fff;
    color: #0a0a0a;
}
.waw-live-feature-pill.is-ended {
    background: rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.8);
}
.waw-live-feature-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
    animation: waw-lf-pulse 1.3s ease-in-out infinite;
}
.waw-live-feature-bg-logo {
    position: absolute;
    top: 50%;
    right: -5%;
    height: 130%;
    max-height: none;
    width: auto;
    max-width: 60%;
    transform: translateY(-50%);
    object-fit: contain;
    opacity: 0.9;
    -webkit-mask-image: linear-gradient(to left, black 50%, transparent 95%);
    mask-image: linear-gradient(to left, black 50%, transparent 95%);
    pointer-events: none;
    z-index: 0;
}
.waw-live-feature-kicker {
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.5px;
}
.waw-live-feature-title {
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-transform: uppercase;
    line-height: 1.02;
    color: #fff;
    margin: 0;
}
.waw-live-feature-meta {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
}
.waw-live-feature-result {
    margin-top: 2px;
    padding: 8px 12px;
    background: rgba(0,0,0,0.25);
    border-left: 3px solid #fff;
}
.waw-live-feature-result-winner {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.waw-live-feature-result.is-empty .waw-live-feature-result-winner {
    font-weight: 400;
    font-style: italic;
    color: rgba(255,255,255,0.8);
}
.waw-live-feature-matches {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.waw-live-feature-match {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255,255,255,0.75);
}
.waw-live-feature-match-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    flex-shrink: 0;
    margin-top: 6px;
}
.waw-live-feature-match.is-done {
    color: rgba(255,255,255,0.95);
}
.waw-live-feature-match.is-done .waw-live-feature-match-dot {
    background: #fff;
}
.waw-live-feature-match strong {
    font-weight: 700;
    color: #fff;
}
.waw-live-feature-match-more {
    font-size: 12px;
    font-style: italic;
    color: rgba(255,255,255,0.55);
    padding-left: 14px; /* aligns under the dot+text above, without its own dot */
}
.waw-live-feature-cta {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.waw-live-feature.is-ended .waw-live-feature-cta {
    font-family: var(--font);
    text-transform: uppercase;
}

/* ── Compact mode (3-card grid on a multi-show night) ──
   The base card above is sized and laid out for a full-width single
   card; at one-third width the 90px watermark and 27px title both
   read oversized and the background logo crowds the text. These
   overrides scale things down to fit a ~280–380px card comfortably.
   Single-event nights are completely unaffected — none of this
   applies outside .is-multi. */
.waw-live-feature-row.is-multi .waw-live-feature-body {
    padding: 1rem 1.3rem;
    max-width: none; /* the 580px full-width assumption doesn't apply in a grid column */
    gap: 5px;
}
.waw-live-feature-row.is-multi .waw-live-feature-watermark {
    display: none; /* text watermark reads as clutter at card-grid width; the real logo image (if any) still shows via .waw-live-feature-bg-logo */
}
.waw-live-feature-row.is-multi .waw-live-feature-bg-logo {
    max-width: 45%;
    opacity: 0.7;
}
.waw-live-feature-row.is-multi .waw-live-feature-title {
    font-size: 19px;
}
.waw-live-feature-row.is-multi .waw-live-feature-meta {
    font-size: 12px;
}
.waw-live-feature-row.is-multi .waw-live-feature-pill {
    font-size: 10px;
    padding: 4px 10px;
}
.waw-live-feature-row.is-multi .waw-live-feature-match {
    font-size: 12px;
}
.waw-live-feature-row.is-multi .waw-live-feature-cta {
    font-size: 12px;
}
@keyframes waw-lf-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.25; }
}
@media (prefers-reduced-motion: reduce) {
    .waw-live-feature-dot, .waw-live-feature-pill-dot { animation: none; }
}
@media (max-width: 600px) {
    .waw-live-feature-watermark { font-size: 64px; }
    .waw-live-feature-title { font-size: 22px; }
    .waw-live-feature-body { padding: 1rem 1.4rem; }
}

/* ── LATEST NEWS GRID ── */
.waw-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.8rem;
}
.news-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color 0.15s, transform 0.15s;
}
.news-card:hover { border-color: rgba(252,2,110,0.4); transform: translateY(-2px); }
.news-card-link { display: block; }
.news-card-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface2);
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.news-card:hover .news-card-img img { transform: scale(1.03); }
.news-card-img-ph {
    width: 100%;
    height: 100%;
    background: var(--surface3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-card-body { padding: 10px 12px 12px; }
.news-card-title { font-size: 12px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; color: var(--text); }
.news-card-meta { font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 10px; }

/* Promotion badges */
.waw-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 6px;
    text-transform: uppercase;
    border-radius: 2px;
    z-index: 1;
}
.waw-badge--wwe  { background: #e8006a; color: #fff; }
.waw-badge--aew  { background: #9b00ff; color: #fff; }
.waw-badge--tna  { background: #ff6200; color: #fff; }
.waw-badge--njpw { background: #ffd200; color: #000; }
.waw-badge--roh  { background: #ff2400; color: #fff; }
.waw-badge--aaa  { background: #00e5ff; color: #000; }
.waw-badge--mlw  { background: #b4ff00; color: #000; }

/* ── FEATURED STORIES (Originals) ── */
.waw-featured-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.8rem;
}
.waw-featured-grid--4 { grid-template-columns: repeat(2, 1fr); }
.waw-featured-grid--6 { grid-template-columns: repeat(3, 1fr); }

.featured-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    transition: border-color 0.15s;
}
.featured-card:hover { border-color: rgba(252,2,110,0.4); }
.featured-card-link { display: flex; width: 100%; }

.featured-card-img {
    width: 110px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: var(--surface2);
    aspect-ratio: 1 / 1;
}
.featured-card-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8); transition: transform 0.3s; }
.featured-card:hover .featured-card-img img { transform: scale(1.04); }

.featured-cat-strip {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1;
}
.featured-img-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-top: 3px solid;
}
.featured-img-ph span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.5;
    text-align: center;
    line-height: 1.3;
}

.featured-card-body {
    padding: 10px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}
.featured-cat-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}
.featured-card-title {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
    flex: 1;
    margin-bottom: 6px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.featured-card-meta { font-size: 10px; color: var(--muted); }

/* ── NEWS FEED LIST ── */
.waw-feed-list {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.8rem;
}
.feed-item { border-bottom: 1px solid var(--border); }
.feed-item:last-child { border-bottom: none; }
.feed-item-link {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 14px;
    transition: background 0.15s;
    text-decoration: none;
}
.feed-item-link:hover { background: var(--surface2); }

/* Large source logo tile */
.feed-logo-tile {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    background: var(--surface2);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feed-logo-tile img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.feed-logo-initials {
    font-size: 16px;
    font-weight: 900;
    color: var(--muted);
}

/* Content column */
.feed-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Top row: badge + time */
.feed-top-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.feed-badge {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 3px;
    flex-shrink: 0;
}
.feed-badge--news    { background: #1a3a5c; color: #7ab3e0; }
.feed-badge--result  { background: #1a3a1a; color: #39ff14; }

/* Originals / Spotlight feed items — distinct from wire-story items:
   outlined logo tile and badge using the per-category accent colour
   (set inline via style attr in waw_render_feed_item()) instead of
   the fixed NEWS/RESULT palette or a source favicon. */
.feed-item--original .feed-logo-tile--original {
    background: var(--surface2);
    border: 1.5px solid;
}
.feed-item--original .feed-logo-tile--original .feed-logo-initials {
    font-weight: 900;
}
.feed-badge--original {
    background: transparent;
    border: 1px solid;
}

.feed-time {
    font-size: 10px;
    color: var(--muted);
    white-space: nowrap;
}

/* Title */
.feed-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Excerpt */
.feed-excerpt {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Source row: small favicon + name */
.feed-source-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}
.feed-favicon-sm {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    flex-shrink: 0;
    object-fit: contain;
}
.feed-source-name {
    font-size: 10px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Empty state */
.waw-empty { color: var(--muted); font-size: 13px; padding: 1rem 0; }

/* ── POWER RANKINGS — grouped by promotion ── */
.pr-promo-group { margin-bottom: 2rem; }
.pr-promo-group:last-child { margin-bottom: 0; }
.pr-promo-group__header {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 0.9rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border);
}
.pr-promo-group__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}
.pr-promo-group__label {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0.03em;
    color: var(--text);
    text-transform: uppercase;
}

/* ── PAGINATION ── */
.waw-pagination { margin: 1.5rem 0; display: flex; gap: 8px; flex-wrap: wrap; }
.waw-pagination .page-numbers {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 6px 12px;
    font-size: 12px;
    color: var(--muted);
    transition: all 0.15s;
}
.waw-pagination .page-numbers.current,
.waw-pagination .page-numbers:hover { background: var(--pink); border-color: var(--pink); color: #fff; }

/* ── SINGLE POST ── */
.waw-main--single { max-width: 780px; }
.single-header { margin-bottom: 1.5rem; }
.single-meta-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.single-title { font-size: 26px; font-weight: 900; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 10px; }
.single-meta { font-size: 12px; color: var(--muted); }
.single-featured-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; }
.single-featured-img img { width: 100%; }
.single-content { font-size: 15px; line-height: 1.75; color: #ddd; }
.single-content p { margin-bottom: 1.2rem; }
.single-content h2 { font-size: 20px; margin: 1.8rem 0 0.8rem; color: var(--text); }
.single-content h3 { font-size: 17px; margin: 1.4rem 0 0.6rem; color: var(--text); }
.single-source-link a { color: var(--pink); font-weight: 600; }

/* ═══════════════════════════════════════════════════════
   RIGHT SIDEBAR
═══════════════════════════════════════════════════════ */
.waw-sidebar {
    grid-column: 3;
    grid-row: 1 / 99;
    background: #0d0d0d;
    border-left: 1px solid var(--border);
    padding: 1.2rem;
    overflow-y: auto;
    overflow-x: hidden;
    position: sticky;
    top: 0;
    height: 100vh;
    scrollbar-width: none;
}
.waw-sidebar::-webkit-scrollbar { display: none; }

.sidebar-section { margin-bottom: 1.6rem; }

.sidebar-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}
.sidebar-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 12px;
    background: var(--pink);
    margin-right: 8px;
    flex-shrink: 0;
}
.sidebar-subtitle { font-size: 10px; color: var(--muted); margin-bottom: 0.8rem; margin-top: -0.4rem; }

/* Trending */
.trending-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    transition: opacity 0.15s;
    text-decoration: none;
}
.trending-item:hover { opacity: 0.8; }
.trending-item:last-of-type { border-bottom: none; }

.trend-num { font-size: 14px; font-weight: 900; color: var(--pink); width: 16px; flex-shrink: 0; line-height: 1; }
.trend-avatar {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    background: var(--surface2);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trend-avatar img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); }
.trend-avatar-ph { font-size: 18px; }
.trend-info { flex: 1; min-width: 0; }
.trend-name { font-size: 12px; font-weight: 700; color: var(--text); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trend-promo { font-size: 10px; color: var(--muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trend-ago { font-size: 10px; color: var(--muted); flex-shrink: 0; }

.sidebar-view-all { display: block; margin-top: 0.8rem; font-size: 10px; color: var(--pink); font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }

/* ── Wrestler Hub sidebar — hot wrestlers ─────────────────── */
.wh-trending-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: opacity 0.15s;
}
.wh-trending-item:hover { opacity: 0.8; }
.wh-trending-item:last-of-type { border-bottom: none; }

.wh-trend-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface2);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wh-trend-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.wh-trend-initials {
    font-size: 13px;
    font-weight: 900;
    color: var(--muted);
    line-height: 1;
}

.wh-trend-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.wh-trend-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 4px;
}
.wh-trend-crown { font-size: 11px; flex-shrink: 0; }

.wh-trend-meta {
    font-size: 10px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wh-trend-promo { font-weight: 700; flex-shrink: 0; }
.wh-trend-dot { opacity: 0.4; flex-shrink: 0; }
.wh-trend-coverage { flex-shrink: 0; }
.wh-trend-count { font-weight: 700; flex-shrink: 0; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 2px; }

.wh-trend-fires {
    font-size: 11px;
    flex-shrink: 0;
    letter-spacing: -2px;
    line-height: 1;
}
.wh-trend-arrow {
    font-size: 12px;
    color: var(--muted);
    flex-shrink: 0;
    opacity: 0.5;
}

/* SMARK promo */
.smark-promo {
    display: block;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.15s;
    text-decoration: none;
}
.smark-promo:hover { border-color: var(--pink); }
.smark-promo-img {
    background: linear-gradient(135deg, #0d0010 0%, #1a0028 50%, #00080f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.smark-promo-inner { text-align: center; padding: 1rem 0.8rem; }
.smark-eyebrow { display: block; font-size: 9px; letter-spacing: 2px; color: rgba(252,2,110,.8); text-transform: uppercase; margin-bottom: 4px; }
.smark-game-title { font-size: 28px; font-weight: 900; color: #fff; letter-spacing: -1px; font-style: italic; line-height: 1; margin-bottom: 2px; }
.smark-game-sub { display: block; font-size: 9px; letter-spacing: 1.5px; color: rgba(255,255,255,.45); text-transform: uppercase; margin-bottom: 8px; }
.smark-puzzle-icons { font-size: 22px; letter-spacing: 4px; margin-bottom: 6px; }
.smark-puzzle-num { display: block; font-size: 10px; color: rgba(255,255,255,.5); }
.smark-cta-bar {
    background: var(--pink);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    padding: 7px;
}

/* Gorilla Position */
.gp-card {
    display: block;
    background: var(--surface2);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color 0.15s;
}
.gp-card:hover { border-color: rgba(252,2,110,.4); }
.gp-thumb {
    aspect-ratio: 16 / 9;
    position: relative;
    background: linear-gradient(135deg, #001020 0%, #0a001a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.gp-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); }
.gp-thumb-placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, #001020 0%, #0a001a 100%); }
.gp-play {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(252,2,110,.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    flex-shrink: 0;
}
.gp-play span { color: #fff; font-size: 14px; margin-left: 2px; }
.gp-info { padding: 10px; }
.gp-label { font-size: 9px; font-weight: 700; letter-spacing: 1px; color: var(--pink); text-transform: uppercase; margin-bottom: 4px; display: block; }
.gp-title { font-size: 12px; font-weight: 700; color: var(--text); line-height: 1.4; }

/* Newsletter */
.newsletter-box {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
}
.newsletter-copy { font-size: 11px; color: var(--muted); margin-bottom: 10px; line-height: 1.5; }
.waw-newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.waw-newsletter-form input[type="email"] {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 7px 10px;
    font-size: 11px;
    color: var(--text);
    outline: none;
    transition: border-color 0.15s;
}
.waw-newsletter-form input[type="email"]:focus { border-color: var(--pink); }
.waw-newsletter-form input::placeholder { color: var(--muted); }
.waw-btn {
    width: 100%;
    border: none;
    border-radius: var(--radius);
    padding: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.waw-btn--pink { background: var(--pink); color: #fff; transition: background 0.15s; }
.waw-btn--pink:hover { background: var(--pink-dark); }
.waw-newsletter-msg { font-size: 11px; min-height: 1em; }
.waw-newsletter-msg.success { color: #39ff14; }
.waw-newsletter-msg.error { color: #ff4444; }

/* ── WIDGET AREA ── */
.waw-widget { margin-bottom: 1.4rem; }
.waw-widget-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 0.8rem;
    padding-left: 11px;
    border-left: 3px solid var(--pink);
}

/* ═══════════════════════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════════════════════ */
.waw-site-footer {
    grid-column: 1 / -1;
    background: #080808;
    border-top: 1px solid var(--border);
    padding: 1.5rem;
}
.waw-footer-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.waw-footer-logo { font-weight: 900; font-style: italic; font-size: 16px; }
.waw-footer-logo .logo-wr { color: var(--pink); }
.waw-footer-nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.waw-footer-nav a { font-size: 11px; color: var(--muted); transition: color 0.15s; }
.waw-footer-nav a:hover { color: var(--pink); }
.waw-footer-copy { font-size: 11px; color: var(--muted); margin-left: auto; }
.waw-footer-copy a { color: var(--muted); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Tablet (< 1080px)
═══════════════════════════════════════════════════════ */
@media ( max-width: 1080px ) {
    :root {
        --nav-width:   160px;
        --sidebar-w:   220px;
    }
    .hero-title { font-size: 22px; }
    .waw-news-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile (< 768px) ── */
@media ( max-width: 768px ) {
    .waw-site-wrap {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr auto;
    }

    /* Nav becomes topbar strip on mobile */
    .waw-nav {
        grid-column: 1;
        grid-row: 1;
        position: fixed;
        top: 0;
        left: -100%;
        width: 240px;
        height: 100%;
        z-index: 1000;
        transition: left 0.25s ease;
    }
    .waw-nav.is-open { left: 0; }

    .waw-nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        padding: 12px;
        position: fixed;
        top: 8px;
        left: 8px;
        z-index: 1100;
        cursor: pointer;
    }
    .waw-nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 1px; transition: transform 0.2s; }
    .waw-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .waw-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .waw-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .waw-content-col { grid-column: 1; }
    .waw-topbar { padding-left: 52px; }

    .waw-sidebar {
        grid-column: 1;
        grid-row: auto;
        position: static;
        height: auto;
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .waw-news-grid { grid-template-columns: repeat(2, 1fr); }
    .waw-featured-grid--4,
    .waw-featured-grid--6 { grid-template-columns: 1fr; }
    .hero-title { font-size: 18px; }
    .topbar-date { display: none; }

    .waw-footer-inner { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
    .waw-footer-copy { margin-left: 0; }
}

@media ( max-width: 480px ) {
    .waw-news-grid { grid-template-columns: 1fr; }
    .waw-main { padding: 1rem; }
}

/* ── CUSTOM LOGO (uploaded via Customizer) ── */
.waw-logo .custom-logo-link {
    display: block;
}
.waw-logo .custom-logo {
    display: block;
    max-width: 160px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ═══════════════════════════════════════════════════════
   SINGLE ARTICLE — single.php
═══════════════════════════════════════════════════════ */

/* Breadcrumb */
.waw-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}
.waw-breadcrumb a { color: var(--muted); transition: color .15s; }
.waw-breadcrumb a:hover { color: var(--pink); }
.bc-sep { color: var(--border); }
.bc-current { color: var(--text); }

/* Article */
.waw-article { max-width: 780px; }

.article-header { margin-bottom: 1.4rem; }

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.article-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 8px;
    border: 1px solid;
    border-radius: 2px;
}
.article-source-tag {
    font-size: 10px;
    color: var(--muted);
    background: var(--surface2);
    padding: 2px 8px;
    border-radius: 2px;
}

.article-title {
    font-size: 30px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--text);
    margin-bottom: 10px;
    text-transform: uppercase;
}
.article-dek {
    font-size: 16px;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 14px;
    font-weight: 400;
}

.article-byline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.byline-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    flex-wrap: wrap;
}
.byline-author { color: var(--text); font-weight: 600; }
.byline-dot { color: var(--border); }
.byline-read { color: var(--muted); }

.byline-share { display: flex; gap: 8px; }
.share-btn {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 2px;
    border: 1px solid var(--border);
    background: var(--surface2);
    color: var(--text);
    cursor: pointer;
    transition: border-color .15s, background .15s;
    font-family: var(--font);
}
.share-btn:hover { border-color: var(--pink); background: var(--surface3); }
.share-btn--x { }

.article-hero-img {
    margin: 1.4rem 0 0;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/7;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: block;
    position: relative;
}
/* Handle both direct img and the_post_thumbnail() figure wrapper */
.article-hero-img figure,
.article-hero-img .wp-post-image,
.article-hero-img figure.wp-caption,
.article-hero-img figure.wp-block-post-featured-image {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.article-hero-img img,
.article-hero-img figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.article-accent-bar {
    height: 3px;
    margin-bottom: 1.8rem;
}

/* Article body / entry-content */
.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #ccc;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
}

.entry-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    /* overflow-x: hidden clips text before it wraps — use clip instead */
    overflow-x: clip;
}

/* Every direct child of entry-content must stay within bounds */
.entry-content > * {
    max-width: 100%;
    box-sizing: border-box;
}

.entry-content p { margin-bottom: 1.3rem; }

/* ── WAW Evening Briefing — global text-transform reset ──
   Prevents any upstream uppercase inheritance from bleeding
   into briefing card body copy. Headlines stay uppercase
   via their own explicit rules in briefing-style.css.     */
.waw-eb-opening p,
.waw-eb-story p,
.waw-eb-closing p {
    text-transform: none !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.entry-content h2 { font-size: 22px; font-weight: 800; color: var(--text); margin: 2rem 0 0.8rem; text-transform: uppercase; letter-spacing: -0.3px; }
.entry-content h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 1.6rem 0 0.6rem; }
.entry-content h4 { font-size: 15px; font-weight: 700; color: var(--text); margin: 1.2rem 0 0.5rem; }
.entry-content a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { opacity: .8; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; margin-bottom: 1.3rem; }
.entry-content li { margin-bottom: 0.4rem; }
.entry-content blockquote {
    border-left: 3px solid var(--pink);
    margin: 1.5rem 0;
    padding: 0.8rem 1.2rem;
    background: var(--surface);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 17px;
    color: #ddd;
    font-style: italic;
}
.entry-content img { max-width: 100%; border-radius: var(--radius); margin: 1rem 0; }
.entry-content figure { margin: 1.5rem 0; }
.entry-content figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; text-align: center; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 1.3rem; }
.entry-content th { background: var(--surface2); color: var(--text); padding: 8px 12px; text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid var(--pink); }
.entry-content td { padding: 8px 12px; border-bottom: 1px solid var(--border); color: #ccc; }
.entry-content tr:hover td { background: var(--surface2); }

/* RSS story source CTA */
.article-story-wrap { }
.article-story-excerpt { font-size: 16px; color: #ccc; line-height: 1.75; margin-bottom: 1.5rem; }
.article-source-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pink);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: background .15s;
}
.article-source-cta:hover { background: var(--pink-dark); }

/* Tags */
.article-footer { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.article-tag {
    font-size: 11px;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 2px;
    transition: color .15s, border-color .15s;
}
.article-tag:hover { color: var(--pink); border-color: var(--pink); }

/* Related posts */
.related-posts { margin-top: 2.5rem; }

/* ── Comments ── */
.comments-area {
    max-width: 780px;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.comments-heading {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
}
.comments-heading::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 13px;
    background: var(--pink);
    margin-right: 9px;
}
.disqus-thread { min-height: 200px; }

/* Native comments */
.waw-comment-list { list-style: none; padding: 0; }
.waw-comment { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.comment-inner { display: flex; gap: 12px; }
.comment-avatar img { border-radius: 2px; }
.comment-body { flex: 1; }
.comment-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 6px; }
.comment-author { color: var(--text); font-weight: 700; }
.comment-time { color: var(--muted); }
.comment-text { font-size: 14px; color: #ccc; line-height: 1.6; }
.comment-text p { margin-bottom: 0.5rem; }
.comment-reply a { font-size: 11px; color: var(--pink); font-weight: 600; margin-top: 6px; display: inline-block; }

.comment-form-title { font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin: 1.5rem 0 1rem; }
.comment-form-field { margin-bottom: 12px; }
.comment-form-field label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.comment-form-field textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text);
    outline: none;
    font-family: var(--font);
    transition: border-color .15s;
}
.comment-form-field textarea:focus,
.comment-form input:focus { border-color: var(--pink); }
.comment-form-field textarea { resize: vertical; min-height: 100px; }

/* ═══════════════════════════════════════════════════════
   ARCHIVE — archive.php
═══════════════════════════════════════════════════════ */
.archive-banner {
    border-left: 4px solid var(--pink);
    padding: 1.2rem 1.4rem;
    background: var(--surface);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 1.8rem;
    position: relative;
    overflow: hidden;
}
.archive-eyebrow { display: block; font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
.archive-title { font-size: 26px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.5px; }
.archive-desc { font-size: 13px; color: var(--muted); margin-top: 6px; }
.archive-accent-bar { height: 2px; margin-top: 12px; border-radius: 1px; }
.archive-author-header { display: flex; align-items: center; gap: 16px; }
.archive-author-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--pink); }
.archive-author-bio { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.5; max-width: 60ch; text-transform: none; font-weight: 400; }
@media (max-width: 600px) {
    .archive-author-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ═══════════════════════════════════════════════════════
   CATEGORY — category.php
═══════════════════════════════════════════════════════ */
.cat-banner {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.4rem;
    margin-bottom: 1.4rem;
    overflow: hidden;
}
.cat-banner-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}
/* Originals archive spans every category rather than one fixed colour
   — gradient strip across the real locked palette (Evening Briefing,
   Clash Card, Power Rankings, The Squash, On This Day, Gorilla
   Position) instead of a single flat accent. */
.cat-banner-accent--originals {
    background: linear-gradient(
        90deg,
        #e8006a 0%,
        #00cfff 20%,
        #ffd700 40%,
        #ff8c00 60%,
        #c084fc 80%,
        #fc026e 100%
    );
}
.cat-eyebrow { display: block; font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cat-title { font-family: var(--font-display); font-size: 36px; text-transform: uppercase; letter-spacing: 0.02em; }
.cat-desc { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* Category mini-hero */
.cat-hero {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 6;
    margin-bottom: 0;
}
.cat-hero-link { display: block; width: 100%; height: 100%; position: relative; }
.cat-hero-img { position: absolute; inset: 0; }
.cat-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-hero-ph { position: absolute; inset: 0; }
.cat-hero-overlay { position: absolute; inset: 0; }
.cat-hero-badge {
    position: absolute;
    top: 12px; left: 12px;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 3px 8px;
    text-transform: uppercase;
    border-radius: 2px;
    z-index: 1;
}
.cat-hero-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.2rem;
    z-index: 1;
}
.cat-hero-title {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    line-height: 1.2;
    margin-bottom: 6px;
}
.cat-hero-exc { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.cat-hero-time { font-size: 11px; color: rgba(255,255,255,.5); }

/* ═══════════════════════════════════════════════════════
   PAGE — page.php
═══════════════════════════════════════════════════════ */
.waw-page { max-width: 780px; }

.page-header { margin-bottom: 1.4rem; }
.page-title {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin: 10px 0 12px;
}
.page-title-bar { height: 3px; width: 48px; background: var(--pink); }

.page-hero-img { margin-bottom: 1.8rem; border-radius: var(--radius); overflow: hidden; }
.page-hero-img img { width: 100%; }

.page-content { font-size: 15px; line-height: 1.8; color: #ccc; }
.page-content p { margin-bottom: 1.2rem; }
.page-content h2 { font-size: 20px; font-weight: 800; color: var(--text); margin: 1.8rem 0 0.7rem; text-transform: uppercase; }
.page-content h3 { font-size: 17px; font-weight: 700; color: var(--text); margin: 1.4rem 0 0.5rem; }
.page-content a { color: var(--pink); text-decoration: underline; }
.page-content ul, .page-content ol { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.page-content li { margin-bottom: 0.4rem; }

/* ═══════════════════════════════════════════════════════
   SEARCH — search.php
═══════════════════════════════════════════════════════ */
.search-header { margin-bottom: 1.8rem; }

.search-form-large {
    display: flex;
    gap: 0;
    margin-bottom: 0.8rem;
}
.search-form-large input[type="search"] {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    padding: 10px 14px;
    font-size: 15px;
    color: var(--text);
    outline: none;
    transition: border-color .15s;
}
.search-form-large input:focus { border-color: var(--pink); }
.search-form-large input::placeholder { color: var(--muted); }
.search-form-large button {
    background: var(--pink);
    color: #fff;
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 10px 16px;
    font-size: 16px;
    cursor: pointer;
    transition: background .15s;
}
.search-form-large button:hover { background: var(--pink-dark); }
.search-meta { font-size: 13px; color: var(--muted); }
.search-meta strong { color: var(--text); }
.search-post-type { font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: var(--surface2); padding: 2px 6px; border-radius: 2px; color: var(--muted); }
.news-card-excerpt { font-size: 11px; color: var(--muted); margin: 4px 0 6px; line-height: 1.4; }

/* No results */
.search-no-results { text-align: center; padding: 3rem 0; }
.empty-icon { font-size: 48px; margin-bottom: 1rem; }
.search-no-results h2 { font-size: 20px; font-weight: 700; margin-bottom: 0.5rem; }
.search-no-results p { color: var(--muted); font-size: 14px; margin-bottom: 1.5rem; }
.empty-cats { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 1.5rem; }
.empty-cat-pill {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border: 1px solid var(--border);
    border-radius: 2px;
    color: var(--muted);
    transition: all .15s;
}
.empty-cat-pill:hover { border-color: var(--pink); color: var(--pink); }
.waw-empty-state { padding: 2rem 0; }

/* ═══════════════════════════════════════════════════════
   404 — 404.php
═══════════════════════════════════════════════════════ */
.error-404 {
    max-width: 500px;
    margin: 3rem auto;
    text-align: center;
    padding: 2rem;
}
.error-code {
    font-size: 96px;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    letter-spacing: -4px;
    color: var(--surface3);
    margin-bottom: 0.5rem;
}
.error-code span { color: var(--pink); }
.error-title { font-size: 24px; font-weight: 800; text-transform: uppercase; margin-bottom: 0.8rem; }
.error-msg { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 1.8rem; }

.error-actions { display: flex; gap: 10px; justify-content: center; margin-bottom: 1.5rem; flex-wrap: wrap; }
.error-btn {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 10px 18px;
    border-radius: var(--radius);
    text-transform: uppercase;
    transition: all .15s;
}
.error-btn--primary { background: var(--pink); color: #fff; }
.error-btn--primary:hover { background: var(--pink-dark); }
.error-btn--ghost { border: 1px solid var(--border); color: var(--muted); }
.error-btn--ghost:hover { border-color: var(--pink); color: var(--pink); }

.error-search {
    max-width: 360px;
    margin: 0 auto;
}
.error-search form {
    display: flex;
}
.error-search input {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    padding: 9px 12px;
    font-size: 13px;
    color: var(--text);
    outline: none;
}
.error-search input:focus { border-color: var(--pink); }
.error-search input::placeholder { color: var(--muted); }
.error-search button {
    background: var(--pink);
    color: #fff;
    border: none;
    padding: 9px 14px;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 14px;
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════════
   INDEX / ARCHIVE responsive tweaks
═══════════════════════════════════════════════════════ */
@media ( max-width: 900px ) {
    .article-title { font-size: 24px; }
    .cat-hero-title { font-size: 18px; }
}

@media ( max-width: 768px ) {
    .article-title { font-size: 20px; }
    .article-byline { flex-direction: column; align-items: flex-start; gap: 10px; }
    .byline-share { width: 100%; }
    .share-btn { flex: 1; text-align: center; }
    .waw-article, .waw-page { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   FIX PATCHES
═══════════════════════════════════════════════════════ */

/* FIX 1 — Nav: no icons, cleaner spacing */
.waw-nav-list li a {
    gap: 0;           /* was 9px for icon gap, now text-only */
    padding: 8px 1.4rem;
    letter-spacing: 0.6px;
}

/* FIX 2 — Ticker: clip inside track, never overflow into label/date */
.waw-topbar {
    overflow: hidden;
}
.ticker-track {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}
.ticker-item {
    white-space: nowrap;
    padding-right: 48px;
    display: flex;
    align-items: center;
    height: 100%;
}

/* FIX 3 — Wrestler avatar initials fallback */
.trend-avatar-initials {
    font-size: 11px;
    font-weight: 700;
    color: var(--pink);
    letter-spacing: 0.5px;
    line-height: 1;
}
.trend-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* wrestlers are usually head-shots */
    border-radius: 2px;
}

/* FIX 5 — Feed: favicon only, no source name text */
.feed-source-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    flex-shrink: 0;
}
.feed-favicon {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    flex-shrink: 0;
    object-fit: contain;
    background: var(--surface3);
    padding: 2px;
}
/* Source name text hidden — favicon only */
.feed-source { display: none; }

/* FIX 5 — Load More button */
.feed-load-more-wrap {
    display: flex;
    justify-content: center;
    padding: 20px 14px;
    border-top: 1px solid var(--border);
}
.feed-load-more-btn {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 12px 36px;
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
    font-family: var(--font);
    min-width: 200px;
}
.feed-load-more-btn:hover:not(:disabled) {
    border-color: var(--pink);
    color: var(--pink);
    background: var(--surface3);
}
.feed-load-more-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

/* Nav search — no icon, normal left padding */
.nav-search input {
    padding: 6px 10px;
}

/* ═══════════════════════════════════════════════════════
   WAW ORIGINALS SIDEBAR NAV
═══════════════════════════════════════════════════════ */
.sidebar-originals { margin-bottom: 1.4rem; }

.originals-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.originals-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    background: var(--surface2);
    overflow: hidden;
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease;
}
.originals-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 60%);
    pointer-events: none;
}
.originals-link:hover {
    border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
    background: color-mix(in srgb, var(--accent) 5%, var(--surface2));
}
.originals-body {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.originals-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.3px;
    line-height: 1.3;
}
.originals-meta {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.2px;
    margin-top: 1px;
}
.originals-count {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    min-width: 26px;
    text-align: center;
    background: color-mix(in srgb, var(--accent) 16%, var(--surface3));
    color: color-mix(in srgb, var(--accent) 75%, white);
    padding: 3px 8px;
    border-radius: 4px;
}
.originals-count--off {
    color: var(--muted);
    background: var(--surface3);
}

/* Feed favicon placeholder when no favicon resolves */
.feed-favicon-ph {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: var(--surface3);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   WRESTLER QUICK-LINKS (single.php)
═══════════════════════════════════════════════════════ */
.article-wrestler-links {
    margin: 1.8rem 0 0;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}
.wrestler-links-label {
    font-size: 12px;
    color: var(--muted);
    flex-shrink: 0;
}
.wrestler-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
}
.wrestler-link-pill {
    font-size: 13px;
    font-weight: 600;
    color: var(--pink);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .15s;
}
.wrestler-link-pill:hover {
    border-bottom-color: var(--pink);
}
.wrestler-link-pill:not(:last-child)::after {
    content: '·';
    margin-left: 10px;
    color: var(--muted);
    font-weight: 400;
}

/* ═══════════════════════════════════════════════════════
   SMARK ARTICLE BAR (single.php)
   The coloured-squares promo strip
═══════════════════════════════════════════════════════ */
.smark-article-bar {
    margin: 1.4rem 0 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: #0d0010;
    border: 1px solid rgba(252,2,110,.25);
}
.smark-bar-inner {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.4rem;
    text-decoration: none;
    transition: background .15s;
}
.smark-bar-inner:hover { background: rgba(252,2,110,.07); }

.smark-bar-left { flex: 1; min-width: 0; }
.smark-bar-eyebrow {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(252,2,110,.7);
    margin-bottom: 2px;
}
.smark-bar-title {
    display: block;
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1;
    margin-bottom: 3px;
}
.smark-bar-sub {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,.45);
}

/* Wordle-style colour boxes */
.smark-bar-grid {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-shrink: 0;
}
.smark-row {
    display: flex;
    gap: 3px;
}
.smark-box {
    width: 18px;
    height: 18px;
    border-radius: 2px;
    flex-shrink: 0;
}
.smark-box--miss  { background: #1a1a1a; border: 1px solid #333; }   /* dark = wrong */
.smark-box--close { background: #b59f00; }   /* yellow = close */
.smark-box--hit   { background: #538d4e; }   /* green = correct */

.smark-bar-cta {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--pink);
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

@media ( max-width: 480px ) {
    .smark-bar-grid { display: none; }
}

/* ═══════════════════════════════════════════════════════
   SINGLE POST — 2-COLUMN INTERNAL LAYOUT
   Fills the blank right-side space with a story aside.
═══════════════════════════════════════════════════════ */

/* Layout handles width — but enforce 100% so nothing escapes the column */
.waw-main--single { max-width: 100%; padding: 0; overflow-x: clip; }
.waw-article      { max-width: 100%; overflow-x: clip; }

.single-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 0;
    align-items: start;
    min-height: 0;
}

.single-article-col {
    padding: 1.5rem 1.4rem 1.5rem 1.5rem;
    min-width: 0;
    overflow-x: clip;
    border-right: 1px solid var(--border);
}

/* ── STORY ASIDE (right column within single post) ── */
.single-story-aside {
    padding: 1.5rem 1.2rem;
    position: sticky;
    top: var(--topbar-h);
    max-height: calc(100vh - var(--topbar-h));
    overflow-y: auto;
    scrollbar-width: none;
}
.single-story-aside::-webkit-scrollbar { display: none; }

.story-aside-section {
    margin-bottom: 1.6rem;
}

.story-aside-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.story-aside-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 11px;
    background: var(--pink);
    margin-right: 8px;
    flex-shrink: 0;
}

/* Compact story list */
.story-aside-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.aside-story-item {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: opacity .15s;
}
.aside-story-item:last-child { border-bottom: none; }
.aside-story-item:hover { opacity: .8; }

.aside-story-img {
    width: 54px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 2px;
    overflow: hidden;
    background: var(--surface2);
}
.aside-story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.aside-story-img-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface3);
}
.aside-story-img-ph span {
    font-size: 8px;
    font-weight: 900;
    font-style: italic;
    color: var(--pink);
    opacity: .6;
}
.aside-story-info { flex: 1; min-width: 0; }
.aside-story-title {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.aside-story-time {
    font-size: 10px;
    color: var(--muted);
}

/* SMARK aside widget */
.aside-smark-widget {
    display: block;
    background: #0d0010;
    border: 1px solid rgba(252,2,110,.25);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    transition: border-color .15s;
}
.aside-smark-widget:hover { border-color: var(--pink); }
.aside-smark-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    gap: 10px;
}
.aside-smark-left { flex: 1; }
.aside-smark-eyebrow {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(252,2,110,.7);
    margin-bottom: 2px;
}
.aside-smark-title {
    display: block;
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1;
    margin-bottom: 2px;
}
.aside-smark-sub {
    display: block;
    font-size: 10px;
    color: rgba(255,255,255,.4);
}
.aside-smark-grid {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-shrink: 0;
}
.aside-smark-cta {
    background: var(--pink);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    padding: 7px;
}

/* Gorilla Position aside card */
.aside-gp-card {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    transition: border-color .15s;
}
.aside-gp-card:hover { border-color: var(--pink); }
.aside-gp-card img {
    display: block;
    width: 100%;
    height: auto;
}
.aside-gp-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 10px;
    background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 100%);
}
.aside-gp-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--pink);
}

/* Responsive — collapse aside below 900px */
@media ( max-width: 900px ) {
    .single-layout {
        grid-template-columns: 1fr;
    }
    .single-article-col {
        border-right: none;
        padding: 1.2rem;
    }
    .single-story-aside {
        position: static;
        max-height: none;
        border-top: 1px solid var(--border);
        padding: 1.2rem;
    }
}

/* ═══════════════════════════════════════════════════════
   SINGLE POST — hide right sidebar, story aside takes over
   WordPress adds .single to <body> on all single post pages.
═══════════════════════════════════════════════════════ */
body.single .waw-sidebar {
    display: none;
}
body.single .waw-site-wrap {
    grid-template-columns: var(--nav-width) 1fr;
}

/* Give story aside a bit more room now it's the only right column — desktop only */
@media ( min-width: 901px ) {
    body.single .single-layout {
        grid-template-columns: 1fr 280px;
    }
}

/* On tablet where nav also tucks away, full width article */
@media ( max-width: 900px ) {
    body.single .waw-site-wrap {
        grid-template-columns: 1fr;
    }
}



/* ═══════════════════════════════════════════════════════
   WRESTLER HUB — CSS bridge for wh-style.css
   The plugin references these variables/classes. Our theme
   provides them here so both plugin CSS and our CSS work.
═══════════════════════════════════════════════════════ */

/* Missing CSS variables the plugin expects */
:root {
    --bg2:        var(--surface2);   /* #1a1a1a */
    --bg3:        var(--surface3);   /* #222222 */
    --font-head:  'Inter', 'Helvetica Neue', Arial, sans-serif;
    --font-body:  var(--font);
    --transition: 0.15s ease;
    --container:  100%;
}

/* Container — full width within our grid */
.container {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem;
}

/* .waw-content-grid — plugin's internal 2-column layout
   Lives inside the content column of our 3-col grid.
   We hide the outer sidebar on wrestler pages (see below). */
.waw-content-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 1.6rem;
    align-items: start;
}

/* ── Plugin's internal aside — override our outer sidebar styles ── */
/* Scope tightly so we only target the aside INSIDE .waw-content-grid */
.waw-content-grid > aside.waw-sidebar {
    position: static !important;
    grid-column: auto !important;
    grid-row: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    background: transparent !important;
    border-left: none !important;
    padding: 0 !important;
    display: block !important;
}

/* Outer sidebar hidden on wrestler pages — plugin provides its own */
body.single-waw_wrestler aside#waw-sidebar { display: none; }
body.single-waw_wrestler .waw-site-wrap   { grid-template-columns: var(--nav-width) 1fr; }

/* ── Section headers ── */
.waw-section-header {
    margin-bottom: 1rem;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.waw-section-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    display: flex;
    align-items: center;
    margin: 0;
}
.waw-section-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 13px;
    background: var(--pink);
    margin-right: 9px;
    flex-shrink: 0;
}

/* ── Widget box ── */
.waw-widget {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 1.2rem;
}
.waw-widget__title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

/* ── Promotion tag classes (used by plugin on .waw-news-item__tag) ── */
.waw-news-item__tag,
/* Tag badges — scoped to span/a only so WordPress post_class() tag-* on <article> doesn't bleed */
span.tag-wwe, a.tag-wwe, .waw-badge.tag-wwe,
span.tag-aew, a.tag-aew, .waw-badge.tag-aew,
span.tag-njpw, a.tag-njpw, .waw-badge.tag-njpw,
span.tag-tna, a.tag-tna, .waw-badge.tag-tna,
span.tag-roh, a.tag-roh, .waw-badge.tag-roh,
span.tag-aaa, a.tag-aaa, .waw-badge.tag-aaa,
span.tag-mlw, a.tag-mlw, .waw-badge.tag-mlw,
span.tag-news, a.tag-news, .waw-badge.tag-news {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}
span.tag-wwe, a.tag-wwe   { background: #e8006a; color: #fff; }
span.tag-aew, a.tag-aew   { background: #9b00ff; color: #fff; }
span.tag-njpw, a.tag-njpw { background: #ffd200; color: #000; }
span.tag-tna, a.tag-tna   { background: #ff6200; color: #fff; }
span.tag-roh, a.tag-roh   { background: #ff2400; color: #fff; }
span.tag-aaa, a.tag-aaa   { background: #00e5ff; color: #000; }
span.tag-mlw, a.tag-mlw   { background: #b4ff00; color: #000; }
span.tag-news, a.tag-news  { background: #333;    color: #ccc; }

/* Ensure <article> with tag-* classes never gets coloured background */
article.tag-wwe, article.tag-aew, article.tag-njpw, article.tag-tna,
article.tag-roh, article.tag-aaa, article.tag-mlw, article.tag-news {
    background: transparent;
    color: inherit;
}

/* ── News item list (wrestler hub "Latest News" section) ── */
.waw-news-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.waw-news-item {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.waw-news-item:last-child { border-bottom: none; }
.waw-news-item__link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    transition: background .15s;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.waw-news-item__link:hover { background: var(--surface2); }

.waw-news-item__source-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.waw-news-item__source-icon img {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    object-fit: contain;
    background: var(--surface3);
    padding: 1px;
}
.waw-news-item__abbr {
    font-size: 8px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.5px;
    background: var(--surface3);
    border-radius: 2px;
    padding: 2px 3px;
    line-height: 1;
}
/* This is now a true grid track sized minmax(0, 1fr) by the parent
 * .waw-news-item__link grid above — a hard, spec-guaranteed ceiling
 * that content cannot push past, unlike flex's min-width:0 which is
 * advisory only. width:100% here means "100% of the grid track",
 * which itself can never exceed the available row width. */
.waw-news-item__body {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    contain: inline-size;
}
.waw-news-item__title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    width: 100%;
    display: block;
}
.waw-news-item__excerpt {
    font-size: 11px;
    color: var(--muted);
    margin: 0 0 3px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.waw-news-item__meta {
    display: flex;
    gap: 8px;
    font-size: 10px;
    color: var(--muted);
}
.waw-news-item__source-name { color: var(--muted); }
.waw-news-item__time        { color: var(--muted); }

/* ── Widget template parts ── */
.widget-post-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: opacity .15s;
}
.widget-post-item:last-child { border-bottom: none; }
.widget-post-item:hover { opacity: .8; }
.widget-post-img { width: 44px; height: 44px; flex-shrink: 0; border-radius: 2px; overflow: hidden; background: var(--surface2); }
.widget-post-img img { width: 100%; height: 100%; object-fit: cover; }
.widget-post-info { flex: 1; min-width: 0; }
.widget-post-title { font-size: 11px; font-weight: 600; color: var(--text); line-height: 1.35; margin: 0 0 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.widget-post-time  { font-size: 10px; color: var(--muted); }

/* SMARK sidebar-ad widget */
.widget-smark-promo {
    display: block;
    background: #0d0010;
    border: 1px solid rgba(252,2,110,.25);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    margin-bottom: 1.2rem;
    transition: border-color .15s;
}
.widget-smark-promo:hover { border-color: var(--pink); }
.widget-smark-inner { padding: 10px 12px; }
.widget-smark-eyebrow { display: block; font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(252,2,110,.7); margin-bottom: 2px; }
.widget-smark-title   { display: block; font-size: 20px; font-weight: 900; font-style: italic; color: #fff; letter-spacing: -0.5px; line-height: 1; margin-bottom: 2px; }
.widget-smark-sub     { display: block; font-size: 10px; color: rgba(255,255,255,.4); }
.widget-smark-cta     { background: var(--pink); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-align: center; padding: 6px; }

/* Responsive: stack wrestler hub columns on narrow screens */
@media ( max-width: 900px ) {
    .waw-content-grid {
        grid-template-columns: 1fr;
    }
    body.single-waw_wrestler .waw-site-wrap {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════
   SHARED SMARK + GORILLA POSITION SIDEBAR WIDGET
   Used via template-parts/sidebar-ad.php across all sidebars.
═══════════════════════════════════════════════════════ */

/* SMARK widget */
.sb-smark-wrap { margin-bottom: 1.2rem; }

.sb-smark {
    display: block;
    background: #0d0010;
    border: 1px solid rgba(252,2,110,.3);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    transition: border-color .15s;
}
.sb-smark:hover { border-color: var(--pink); }

.sb-smark-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 10px;
    gap: 10px;
}
.sb-smark-left { flex: 1; min-width: 0; }

.sb-smark-eyebrow {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(252,2,110,.8);
    margin-bottom: 3px;
}
.sb-smark-title {
    display: block;
    font-size: 28px;
    font-weight: 900;
    font-style: italic;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 4px;
}
.sb-smark-sub {
    display: block;
    font-size: 10px;
    color: rgba(255,255,255,.45);
    letter-spacing: 0.3px;
}

/* Wordle-style result grid */
.sb-smark-grid {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-shrink: 0;
}
.sb-smark-row {
    display: flex;
    gap: 3px;
}
.sb-box {
    width: 18px;
    height: 18px;
    border-radius: 2px;
}
.sb-miss  { background: #1a1a1a; border: 1px solid #333; }
.sb-close { background: #b59f00; }
.sb-hit   { background: #538d4e; }

.sb-smark-cta {
    background: var(--pink);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    padding: 8px;
    display: block;
}

/* Gorilla Position widget */
.sb-gp-wrap { margin-bottom: 1.2rem; }

.sb-gp-card {
    display: block;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color .15s;
    text-decoration: none;
}
.sb-gp-card:hover { border-color: var(--pink); }
.sb-gp-card img {
    display: block;
    width: 100%;
    height: auto;
}
.sb-gp-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 100%);
}
.sb-gp-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--pink);
}

/* ═══════════════════════════════════════════════════════
   PROMOTION PAGE — template-promotion.php
═══════════════════════════════════════════════════════ */
.waw-main--promo { padding: 1.5rem; }

.promo-banner {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.4rem;
}
.promo-banner-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
}
.promo-banner-inner { padding: 1.2rem 1.4rem 1.4rem; }

.promo-title {
    font-size: 52px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1;
    color: var(--text);
    margin: 8px 0 6px;
}
.promo-count {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

/* Hero source/meta row */
.cat-hero-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: rgba(255,255,255,.5);
}
.cat-hero-src { color: rgba(255,255,255,.4); }

/* ═══════════════════════════════════════════════════════
   MONETISATION — AD SLOT PLACEHOLDERS
   No ad network script lives in this theme. These are empty,
   uniquely-IDed containers an AdSense (or other network) tag
   manager can target later. Until then every slot below
   collapses to zero height/margin automatically — via the
   live :has()/:empty selectors, not JS — so there is no
   layout shift and no script cost from an unfilled slot.
═══════════════════════════════════════════════════════ */

.ad-label {
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: center;
    color: var(--muted);
    margin-bottom: 6px;
}

/* Wrapper: label + slot. Collapses completely (zero height,
   zero margin) while the inner .ad-slot has no creative. */
.ad-unit { margin: 2rem 0; }
.ad-unit:has(.ad-slot:empty) {
    display: none;
    margin: 0;
}

.ad-slot {
    display: block;
    width: 100%;
    text-align: center;
    overflow: hidden;
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
}
.ad-slot:not(:empty) {
    background: #111;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: var(--radius);
    padding: 12px;
}

/* Leaderboard / billboard (970x250, fallback 728x90 / 970x90) */
.ad-slot--leaderboard:not(:empty) { min-height: 90px; }

/* Sticky sidebar (300x600, fallback 300x250) — desktop only.
   Sits inside .waw-sidebar / .single-story-aside, which are
   already independently-scrolling sticky columns, so a nested
   position:sticky here sticks within that scrollport with no
   extra JS needed for the sticky behaviour itself. */
.ad-slot--sidebar { display: none; }
@media ( min-width: 769px ) {
    .ad-slot--sidebar { display: block; }
    .ad-slot--sidebar:not(:empty) {
        position: sticky;
        top: 0;
    }
}

/* Inline article ad (728x90 / 336x280) — no extra vertical
   rhythm beyond the .ad-unit wrapper's own margin. */
.ad-slot--inline { margin: 0; }

/* Native ad (sponsored feed/grid cards) — the surrounding
   .news-card / .feed-item already supplies the chrome, so the
   slot itself stays bare until a creative is injected. */
.ad-slot--native {
    background: transparent;
    border: none;
}
.ad-slot--native:not(:empty) {
    border: none;
    background: transparent;
    padding: 10px 12px;
}

/* Footer banners (728x90) */
.ad-slot--footer:not(:empty) { min-height: 90px; }

/* ── Mobile Anchor — fixed bottom bar, mobile only ── */
.ad-unit--mobile-anchor { margin: 0; }
@media ( max-width: 768px ) {
    .ad-unit--mobile-anchor {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 800; /* below .waw-nav-toggle (1100) / .waw-nav.is-open (1000) */
        text-align: center;
    }
    .ad-unit--mobile-anchor:has(.ad-slot:empty) {
        position: static;
    }
    .ad-unit--mobile-anchor .ad-label {
        position: absolute;
        top: -14px;
        left: 8px;
        margin: 0;
        font-size: 7px;
        background: #0d0d0d;
        padding: 1px 5px;
        border-radius: 2px 2px 0 0;
    }
    .ad-unit--mobile-anchor .ad-slot--mobile-anchor {
        max-width: 320px;
        margin: 0 auto;
        border-radius: 0;
        border-width: 1px 0 0;
    }
    /* Reserve room above the fixed bar so the last feed item /
       footer banner isn't hidden behind it — only when filled. */
    body:has(.ad-unit--mobile-anchor .ad-slot:not(:empty)) .waw-content-col {
        padding-bottom: 56px;
    }
}
@media ( min-width: 769px ) {
    .ad-unit--mobile-anchor { display: none; }
}

/* ── Sponsored native cards ──────────────────────────────
   Reuse .news-card / .feed-item exactly (dimensions, hover,
   radius, type, spacing all inherited) and just add the
   "Sponsored" eyebrow. The whole card — not only the inner
   slot — disappears when there's no creative to show. */
.news-card.sponsored-card,
.feed-item.sponsored-feed-item {
    position: relative;
}
.news-card.sponsored-card:has(.ad-slot:empty),
.feed-item.sponsored-feed-item:has(.ad-slot:empty) {
    display: none;
}
.news-card.sponsored-card .sponsored-label {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0,0,0,.55);
    padding: 2px 6px;
    border-radius: 2px;
}
.news-card.sponsored-card .ad-slot--native {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feed-item.sponsored-feed-item .sponsored-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 16px 14px 0;
    display: block;
}
.feed-item.sponsored-feed-item .ad-slot--native {
    padding: 8px 14px 16px;
}
