/*
Theme Name: CaneloGGG Combat
Theme URI: https://caneloggg.com
Author: CaneloGGG
Description: Dark fight-night magazine theme for boxing and MMA coverage
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: caneloggg
*/

/* ─── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ─── Custom Properties ─────────────────────────────────────────────────────── */
:root {
  --bg:         #0C0C0F;
  --surface:    #15161B;
  --surface-2:  #1C1E25;
  --red:        #D11F2D;
  --red-dk:     #9E1622;
  --gold:       #E0B84C;
  --text:       #ECECEE;
  --text-muted: rgba(236,236,238,0.55);
  --border:     rgba(255,255,255,0.10);
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-cond:  'Oswald', system-ui, sans-serif;
  --font-body:  'Inter', system-ui, sans-serif;
  --max-w:      1280px;
  --r:          2px;
  --transition: 0.22s ease;
}

/* ─── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
.article-grid, .content-sidebar { min-width: 0; }

/* ─── Utility ────────────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.pill {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: var(--red);
  color: #fff;
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--r);
}
.pill-outline {
  display: inline-block;
  padding: 0.42rem 1rem;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-cond);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.pill-outline:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ─── Skip Link ──────────────────────────────────────────────────────────────── */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--red); color: #fff; padding: 0.5rem 1rem; z-index: 999; transition: top 0.2s; }
.skip-link:focus { top: 0; }

/* ─── Header ─────────────────────────────────────────────────────────────────── */
.topline { height: 3px; background: linear-gradient(90deg, var(--red) 0%, var(--gold) 100%); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,12,15,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 1.5rem; }
.site-logo { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.04em; color: #fff; white-space: nowrap; flex-shrink: 0; line-height: 1; }
.site-logo span { color: var(--red); }
.site-logo:hover { opacity: 0.9; }

.primary-nav { display: flex; align-items: center; gap: 0.15rem; }
.primary-nav a { font-family: var(--font-cond); font-size: 0.92rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(236,236,238,0.78); padding: 0.4rem 0.7rem; border-radius: var(--r); transition: color var(--transition), background var(--transition); white-space: nowrap; }
.primary-nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }

.header-actions { display: flex; align-items: center; gap: 0.3rem; flex-shrink: 0; }
.btn-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--r); color: var(--text); transition: color var(--transition), background var(--transition); }
.btn-icon:hover { color: var(--gold); background: rgba(255,255,255,0.06); }
.btn-icon svg { width: 21px; height: 21px; }
.menu-toggle { display: none; }

/* Mobile Menu */
.mobile-nav { display: none; position: fixed; inset: 0; z-index: 200; background: var(--bg); padding: 5rem 2rem 2rem; flex-direction: column; gap: 0.4rem; overflow-y: auto; }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { font-family: var(--font-cond); font-size: 1.4rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.mobile-nav a:hover { color: var(--red); }
.mobile-nav-close { position: absolute; top: 1rem; right: 1.5rem; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; }

/* Search Bar */
.search-bar { display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 150; background: var(--surface); padding: 1rem 2rem; box-shadow: 0 4px 24px rgba(0,0,0,0.5); }
.search-bar.is-open { display: flex; align-items: center; gap: 1rem; }
.search-bar input { flex: 1; padding: 0.75rem 1rem; font-family: var(--font-body); font-size: 1rem; border: none; border-bottom: 2px solid var(--red); background: transparent; color: #fff; outline: none; }
.search-bar input::placeholder { color: rgba(255,255,255,0.45); }
.search-bar button { color: var(--gold); font-family: var(--font-cond); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* ─── Main Layout ────────────────────────────────────────────────────────────── */
.site-main { max-width: var(--max-w); margin: 0 auto; padding: 3rem 2rem; }

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.hero { margin-bottom: 4.5rem; width: 100%; }
.hero-inner { position: relative; display: block; width: 100%; height: clamp(500px, 72vh, 800px); overflow: hidden; border-radius: var(--r); }
.hero-inner:hover .hero-img { transform: scale(1.04); }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 0.8s ease; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,10,0.96) 0%, rgba(8,8,10,0.35) 55%, rgba(8,8,10,0.10) 100%); }
.hero-content-wrap { position: absolute; bottom: 2.5rem; left: 0; right: 0; padding: 0 clamp(1.5rem, 5vw, 3.5rem); }
.hero-content { max-width: 780px; }
.hero-content .pill { margin-bottom: 1.1rem; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 0.94; letter-spacing: 0.01em; color: #fff; margin-bottom: 1rem; }
.hero-excerpt { font-family: var(--font-body); font-size: 1.05rem; color: rgba(255,255,255,0.82); margin-bottom: 1.2rem; max-width: 640px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-meta { font-family: var(--font-cond); font-size: 0.92rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.78); display: flex; align-items: center; gap: 0.75rem; }
.hero-meta span { display: flex; align-items: center; gap: 0.6rem; }
.hero-meta .dot { width: 4px; height: 4px; background: var(--gold); }

/* ─── Section Headers ────────────────────────────────────────────────────────── */
.section-heading { font-family: var(--font-display); font-size: 2.1rem; letter-spacing: 0.03em; color: #fff; margin-bottom: 2rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.7rem; }
.section-heading::before { content: ''; width: 5px; height: 26px; background: var(--red); display: inline-block; }

/* ─── Card Grid ──────────────────────────────────────────────────────────────── */
.editors-picks { margin-bottom: 4.5rem; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.article-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: transform var(--transition), border-color var(--transition); }
.article-card:hover { transform: translateY(-4px); border-color: var(--red); }
.article-card:hover .card-img { transform: scale(1.05); }
.card-thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.article-card > div { padding: 1.3rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.card-category { font-family: var(--font-cond); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.card-title { font-family: var(--font-cond); font-size: 1.3rem; font-weight: 600; line-height: 1.18; text-transform: uppercase; color: #fff; margin-bottom: 0.7rem; transition: color var(--transition); }
.article-card:hover .card-title { color: var(--red); }
.card-excerpt { font-family: var(--font-body); font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1rem; }
.card-meta { font-family: var(--font-cond); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; padding-top: 0.9rem; border-top: 1px solid var(--border); margin-top: auto; }
.card-meta .dot { width: 3px; height: 3px; background: var(--gold); }

/* ─── Trending Strip ─────────────────────────────────────────────────────────── */
.trending { margin-bottom: 4.5rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--red); border-radius: var(--r); }
.trending-inner { display: flex; align-items: center; gap: 1.5rem; }
.trending-label { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.05em; color: var(--gold); white-space: nowrap; }
.trending-pills { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.trending-pills::-webkit-scrollbar { display: none; }

/* ─── Two-col Layout ─────────────────────────────────────────────────────────── */
.content-sidebar { display: grid; grid-template-columns: 1fr 330px; gap: 3.5rem; align-items: start; }

/* ─── Latest Feed ────────────────────────────────────────────────────────────── */
.latest-articles h2 { margin-bottom: 2rem; }
.feed-list { display: flex; flex-direction: column; }
.feed-item { display: flex; gap: 1.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--border); }
.feed-item:first-child { padding-top: 0; }
.feed-item:hover .feed-thumb img { transform: scale(1.05); }
.feed-item:hover .feed-title { color: var(--red); }
.feed-thumb { width: 210px; flex-shrink: 0; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--r); }
.feed-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.feed-content { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.feed-category { font-family: var(--font-cond); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.feed-title { font-family: var(--font-cond); font-size: 1.45rem; font-weight: 600; line-height: 1.15; text-transform: uppercase; color: #fff; margin-bottom: 0.5rem; transition: color var(--transition); }
.feed-excerpt { font-family: var(--font-body); font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0.6rem; }
.feed-meta { font-family: var(--font-cond); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); }
.btn-load-more { display: block; width: 100%; padding: 1.1rem; margin-top: 2rem; background: transparent; border: 1px solid var(--red); color: var(--red); font-family: var(--font-cond); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; border-radius: var(--r); transition: background var(--transition), color var(--transition); }
.btn-load-more:hover { background: var(--red); color: #fff; }

/* ─── Sidebar ────────────────────────────────────────────────────────────────── */
.site-sidebar { display: flex; flex-direction: column; gap: 2.5rem; position: sticky; top: 94px; }
.newsletter-widget { background: linear-gradient(160deg, var(--red-dk), var(--red)); color: #fff; padding: 2rem; border-radius: var(--r); text-align: center; }
.newsletter-widget .mail-icon { font-size: 2.4rem; display: block; margin-bottom: 0.6rem; }
.newsletter-widget h3 { font-family: var(--font-display); font-size: 1.9rem; letter-spacing: 0.03em; color: #fff; margin-bottom: 0.5rem; line-height: 1; }
.newsletter-widget p { font-family: var(--font-body); font-size: 0.85rem; color: rgba(255,255,255,0.9); line-height: 1.55; margin-bottom: 1.4rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.7rem; }
.newsletter-form input { width: 100%; padding: 0.8rem 1rem; background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--r); font-family: var(--font-body); font-size: 0.9rem; color: #fff; outline: none; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.btn-subscribe { width: 100%; padding: 0.85rem 1rem; background: #0C0C0F; color: var(--gold); font-family: var(--font-cond); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; border-radius: var(--r); transition: color var(--transition); }
.btn-subscribe:hover { color: #fff; }
.widget-title { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.04em; color: #fff; margin-bottom: 1.4rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.popular-list { display: flex; flex-direction: column; gap: 1.2rem; }
.popular-item { display: flex; gap: 1rem; align-items: flex-start; }
.popular-item:hover .popular-title { color: var(--red); }
.popular-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--red); flex-shrink: 0; width: 1.8rem; line-height: 1; }
.popular-title { font-family: var(--font-cond); font-size: 1.05rem; font-weight: 500; line-height: 1.2; text-transform: uppercase; color: var(--text); transition: color var(--transition); }
.categories-list { display: flex; flex-direction: column; }
.categories-list a { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--border); font-family: var(--font-cond); font-size: 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text); transition: color var(--transition), padding-left var(--transition); }
.categories-list a:hover { color: var(--gold); padding-left: 0.5rem; }
.categories-list a span { font-size: 0.85rem; color: var(--text-muted); }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer { background: #08080A; color: var(--text); margin-top: 5rem; border-top: 3px solid var(--red); }
.footer-main { max-width: var(--max-w); margin: 0 auto; padding: 4rem 2rem 3rem; display: grid; grid-template-columns: 1.7fr 1fr 1.4fr 1fr; gap: 3rem; }
.footer-logo { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.04em; color: #fff; display: block; margin-bottom: 0.8rem; line-height: 1; }
.footer-logo span { color: var(--red); }
.footer-tagline { font-family: var(--font-cond); font-size: 0.92rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.footer-about { font-family: var(--font-body); font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }
.footer-col-title { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.04em; color: #fff; margin-bottom: 1.1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-family: var(--font-cond); font-size: 0.95rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.25rem 2rem; max-width: var(--max-w); margin: 0 auto; font-family: var(--font-cond); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(236,236,238,0.4); display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }

/* ─── Single Post ────────────────────────────────────────────────────────────── */
.single-hero { margin-bottom: 2.5rem; }
.single-hero-img { width: 100%; aspect-ratio: 16/7; object-fit: cover; border-radius: var(--r); }
.single-header { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.single-title { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 0.98; letter-spacing: 0.01em; margin: 1rem 0 1.25rem; color: #fff; }
.single-meta { font-family: var(--font-cond); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.single-meta a { color: var(--gold); }
.single-meta .dot { width: 4px; height: 4px; background: var(--red); }
.single-content { max-width: 720px; margin: 0 auto; font-family: var(--font-body); font-size: 1.12rem; line-height: 1.85; color: rgba(236,236,238,0.9); }
.single-content p { margin-bottom: 1.5rem; }
.single-content h2 { font-family: var(--font-cond); font-weight: 600; text-transform: uppercase; font-size: 1.75rem; margin: 2.5rem 0 1rem; line-height: 1.15; color: #fff; }
.single-content h3 { font-family: var(--font-cond); font-weight: 600; text-transform: uppercase; font-size: 1.4rem; margin: 2rem 0 0.75rem; color: #fff; }
.single-content blockquote { border-left: 3px solid var(--gold); padding: 0.5rem 1.5rem; margin: 2rem 0; font-family: var(--font-cond); font-weight: 500; font-size: 1.35rem; line-height: 1.3; color: var(--gold); }
.single-content ul, .single-content ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.single-content ul { list-style: disc; }
.single-content ol { list-style: decimal; }
.single-content li { margin-bottom: 0.5rem; }
.single-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.single-content img { border-radius: var(--r); margin: 2rem auto; }
.post-tags { max-width: 720px; margin: 2.5rem auto; display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ─── Archive ────────────────────────────────────────────────────────────────── */
.archive-header { margin-bottom: 3rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.archive-label { font-family: var(--font-cond); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 0.4rem; display: block; }
.archive-title { font-family: var(--font-display); font-size: 3rem; letter-spacing: 0.03em; line-height: 1; color: #fff; }
.archive-desc { margin-top: 0.75rem; font-family: var(--font-body); color: var(--text-muted); }

/* ─── 404 ────────────────────────────────────────────────────────────────────── */
.not-found { text-align: center; padding: 6rem 2rem; }
.not-found h1 { font-family: var(--font-display); font-size: 8rem; color: var(--red); line-height: 1; margin-bottom: 1rem; }
.not-found p { font-family: var(--font-body); font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; }

/* ─── Authors ────────────────────────────────────────────────────────────────── */
.authors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.author-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2.5rem 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); transition: border-color var(--transition), transform var(--transition); }
.author-card:hover { border-color: var(--red); transform: translateY(-3px); }
.author-card-avatar-link { display: block; margin-bottom: 1.25rem; }
.author-card-avatar, .author-card-avatar-link img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }
.author-card-name { font-family: var(--font-cond); font-size: 1.35rem; font-weight: 600; text-transform: uppercase; margin-bottom: 0.25rem; }
.author-card-name a { color: #fff; transition: color var(--transition); }
.author-card-name a:hover { color: var(--red); }
.author-card-count { font-family: var(--font-cond); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 1rem; }
.author-card-bio { font-family: var(--font-body); font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.25rem; }
.author-card-link { font-family: var(--font-cond); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold); }
.author-hero { border-bottom: 1px solid var(--border); padding-bottom: 2.5rem; }
.author-hero-inner { display: flex; gap: 2.5rem; align-items: flex-start; }
.author-hero-avatar, .author-hero-inner img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--gold); }
.author-hero-info { flex: 1; }
.author-hero-name { font-family: var(--font-display); font-size: 2.6rem; letter-spacing: 0.03em; text-transform: uppercase; margin: 0.25rem 0 1rem; line-height: 1; color: #fff; }
.author-hero-bio { font-family: var(--font-body); font-size: 1rem; color: var(--text-muted); line-height: 1.75; max-width: 680px; margin-bottom: 1rem; }
.author-hero-count { font-family: var(--font-cond); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }

/* ─── Pagination ─────────────────────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 3rem; font-family: var(--font-cond); font-weight: 600; font-size: 1rem; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: var(--r); color: var(--text); transition: all var(--transition); }
.pagination a:hover, .pagination .current { background: var(--red); color: #fff; border-color: var(--red); }

/* ─── WP Alignment ───────────────────────────────────────────────────────────── */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin: 1.5rem auto; text-align: center; }
.wp-caption-text { font-family: var(--font-cond); font-size: 0.85rem; text-transform: uppercase; color: var(--text-muted); text-align: center; margin-top: 0.5rem; }

/* ═══ TABLET ═══ */
@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .menu-toggle { display: flex; }
  .content-sidebar { grid-template-columns: 1fr; }
  .site-sidebar { position: static; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══ MOBILE ═══ */
@media (max-width: 640px) {
  .header-inner, .site-main, .footer-bottom { padding-left: 1.25rem; padding-right: 1.25rem; }
  .site-main { padding-top: 2rem; }
  .site-logo { font-size: 1.5rem; }
  .hero { margin-bottom: 3rem; }
  .hero-inner { height: clamp(400px, 62vh, 540px); }
  .hero-content-wrap { padding: 1.5rem; bottom: 1.5rem; }
  .hero-title { font-size: 2.6rem; }
  .hero-excerpt { display: none; }
  .article-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .editors-picks { margin-bottom: 3rem; }
  .section-heading { font-size: 1.7rem; }
  .feed-item { flex-direction: column; gap: 1rem; }
  .feed-thumb { width: 100%; aspect-ratio: 16/9; }
  .trending { margin-bottom: 3rem; }
  .trending-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.25rem 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .single-title { font-size: 2.4rem; }
  .single-hero-img { aspect-ratio: 4/3; }
  .archive-title { font-size: 2.2rem; }
  .authors-grid { grid-template-columns: 1fr; }
  .author-hero-inner { flex-direction: column; align-items: center; text-align: center; }
}
