/*
Theme Name: DeckZone
Theme URI: https://deckzone.sk
Author: DeckZone
Description: Steam Deck & Handheld Gaming blog téma. Moderný, rýchly a SEO-friendly dizajn pre slovenských gamers.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: deckzone
Tags: blog, gaming, tech, responsive, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/
/* ================================================
   DECKZONE — Steam Deck & Handheld Gaming Blog
   Version: 1.0.0
   ================================================ */

:root {
  --bg:       #f0f4f8;
  --surface:  #ffffff;
  --card:     #ffffff;
  --border:   #e2e8f0;
  --border-b: #cbd5e1;
  --accent:   #0284c7;
  --accent-l: rgba(2,132,199,.10);
  --accent-2: #ea580c;
  --accent-3: #7c3aed;
  --accent-4: #16a34a;
  --text:     #475569;
  --bright:   #0f172a;
  --muted:    #94a3b8;
  --head:     'Barlow Condensed', sans-serif;
  --body:     'Barlow', sans-serif;
  --mono:     'JetBrains Mono', monospace;
  --shadow:   0 1px 3px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.08);
  --shadow-sm:0 1px 2px rgba(0,0,0,.05), 0 2px 8px rgba(0,0,0,.05);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── READING PROGRESS ─────────────────────── */
#reading-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 3px; width: 0%; background: var(--accent);
  transition: width .1s linear;
}

/* ── CONTAINER ────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── TOP BAR ──────────────────────────────── */
.top-bar { background: var(--bright); padding: 7px 0; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.45); }
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.live { display: flex; align-items: center; gap: 6px; color: #4ade80; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ── NAVIGATION ───────────────────────────── */
.main-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 var(--border);
  transition: box-shadow .2s;
}
.main-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.10); }
.nav-inner { display: flex; align-items: center; height: 64px; gap: 36px; }
.logo { font-family: var(--mono); font-size: 19px; font-weight: 500; color: var(--bright); text-decoration: none; display: flex; align-items: center; flex-shrink: 0; letter-spacing: -.01em; }
.logo .lb { color: var(--accent); }
.nav-links { display: flex; list-style: none; flex: 1; }
.nav-links li a { font-family: var(--body); font-size: 12.5px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 8px 15px; border-radius: 6px; transition: color .18s, background .18s; text-transform: uppercase; letter-spacing: .05em; display: block; }
.nav-links li a:hover,
.nav-links li.active > a,
.nav-links li.current-menu-item > a { color: var(--accent); }
.nav-links li a:hover { background: var(--bg); }
.nav-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.btn-icon { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all .18s; text-decoration: none; }
.btn-icon:hover { border-color: var(--accent); color: var(--accent); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--bright); border-radius: 2px; transition: all .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--surface); padding: 80px 24px 32px;
  flex-direction: column; gap: 4px;
  transform: translateX(100%); transition: transform .3s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-family: var(--head); font-size: 28px; font-weight: 800; color: var(--bright); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: .02em; display: block; transition: color .18s; }
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav-close { position: absolute; top: 16px; right: 20px; font-size: 28px; background: none; border: none; cursor: pointer; color: var(--muted); line-height: 1; }

/* ── BUTTONS ──────────────────────────────── */
.btn-primary { background: var(--accent); color: #fff; font-family: var(--head); font-size: 14px; font-weight: 700; padding: 9px 22px; border-radius: 6px; border: none; cursor: pointer; text-decoration: none; letter-spacing: .04em; transition: opacity .18s, transform .18s; text-transform: uppercase; white-space: nowrap; display: inline-block; }
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }
.btn-ghost { font-family: var(--head); font-size: 14px; font-weight: 700; padding: 9px 22px; border-radius: 6px; border: 1.5px solid var(--border-b); background: transparent; color: var(--text); cursor: pointer; text-decoration: none; letter-spacing: .04em; text-transform: uppercase; transition: all .18s; display: inline-block; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── HERO ─────────────────────────────────── */
.hero { background: var(--surface); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 80% at 65% 50%, rgba(2,132,199,.06) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 56px, rgba(2,132,199,.04) 56px, rgba(2,132,199,.04) 57px),
    repeating-linear-gradient(90deg, transparent, transparent 56px, rgba(2,132,199,.04) 56px, rgba(2,132,199,.04) 57px);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 88px 24px 80px; max-width: 1200px; margin: 0 auto; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.hero-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--accent); border-radius: 1px; }
.hero-title { font-family: var(--head); font-size: 62px; font-weight: 900; line-height: .92; color: var(--bright); text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 22px; }
.hero-title span { color: var(--accent); }
.hero-excerpt { font-size: 16px; color: var(--text); line-height: 1.7; margin-bottom: 28px; max-width: 470px; }
.hero-meta { display: flex; gap: 14px; align-items: center; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-bottom: 26px; }
.sep { color: var(--border-b); }
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-visual { display: flex; align-items: center; justify-content: center; }
.deck-svg { width: 100%; max-width: 460px; filter: drop-shadow(0 8px 40px rgba(2,132,199,.18)) drop-shadow(0 2px 8px rgba(0,0,0,.10)); animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* ── TICKER ───────────────────────────────── */
.ticker { background: var(--bright); padding: 11px 0; overflow: hidden; cursor: default; }
.ticker-track { display: flex; animation: tick 36s linear infinite; white-space: nowrap; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { font-family: var(--mono); font-size: 12px; font-weight: 400; color: rgba(255,255,255,.6); padding: 0 28px; display: flex; align-items: center; gap: 8px; }
.ticker-item b { color: #fff; font-weight: 500; }
.ticker-item::after { content: '//'; color: rgba(255,255,255,.2); margin-left: 8px; }
@keyframes tick { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── SECTIONS ─────────────────────────────── */
section { padding: 64px 0; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 2px solid var(--border); }
.section-title { font-family: var(--head); font-size: 34px; font-weight: 800; color: var(--bright); text-transform: uppercase; letter-spacing: -.01em; }
.section-title span { color: var(--accent); }
.section-link { font-family: var(--mono); font-size: 11px; color: var(--muted); text-decoration: none; display: flex; align-items: center; gap: 5px; transition: color .18s; letter-spacing: .04em; text-transform: uppercase; }
.section-link:hover { color: var(--accent); }
.section-link::after { content: '→'; }

/* ── POST CARDS ───────────────────────────── */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: box-shadow .22s, transform .22s; cursor: pointer; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.post-card:hover .ct-inner { transform: scale(1.05); }
.card-thumb { height: 192px; overflow: hidden; position: relative; flex-shrink: 0; }
.ct-inner { width: 100%; height: 100%; transition: transform .4s ease; display: flex; align-items: center; justify-content: center; position: relative; }
.t1 { background: linear-gradient(135deg,#bfdbfe 0%,#3b82f6 60%,#1d4ed8 100%); }
.t2 { background: linear-gradient(135deg,#ede9fe 0%,#8b5cf6 60%,#6d28d9 100%); }
.t3 { background: linear-gradient(135deg,#fce7f3 0%,#ec4899 60%,#be185d 100%); }
.t4 { background: linear-gradient(135deg,#d1fae5 0%,#34d399 60%,#059669 100%); }
.t5 { background: linear-gradient(135deg,#fed7aa 0%,#f97316 60%,#c2410c 100%); }
.t6 { background: linear-gradient(135deg,#cffafe 0%,#22d3ee 60%,#0e7490 100%); }
.ct-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb-icon { font-size: 56px; opacity: .22; user-select: none; }
.thumb-badge { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 10px; font-weight: 500; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: .06em; backdrop-filter: blur(8px); }
.b-review { background: rgba(255,255,255,.85); color: var(--accent);   border: 1px solid rgba(2,132,199,.25); }
.b-guide  { background: rgba(255,255,255,.85); color: var(--accent-3); border: 1px solid rgba(124,58,237,.25); }
.b-news   { background: rgba(255,255,255,.85); color: var(--accent-2); border: 1px solid rgba(234,88,12,.25); }
.b-tips   { background: rgba(255,255,255,.85); color: var(--accent-4); border: 1px solid rgba(22,163,74,.25); }
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-family: var(--mono); font-size: 10px; font-weight: 500; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; display: block; }
.card-title { font-family: var(--head); font-size: 21px; font-weight: 700; color: var(--bright); line-height: 1.1; margin-bottom: 10px; text-transform: uppercase; }
.card-title a { text-decoration: none; color: inherit; transition: color .18s; }
.card-title a:hover { color: var(--accent); }
.card-excerpt { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); margin-top: auto; }
.card-meta { font-family: var(--mono); font-size: 10px; color: var(--muted); display: flex; gap: 10px; }
.score-bar { display: flex; gap: 3px; }
.sd { width: 8px; height: 8px; border-radius: 2px; background: var(--border); }
.sd.on   { background: var(--accent); }
.sd.warm { background: var(--accent-2); }
.card-badge { font-family: var(--mono); font-size: 11px; font-weight: 500; }
.card-badge.green  { color: var(--accent-4); }
.card-badge.purple { color: var(--accent-3); }
.card-badge.new    { color: var(--accent-2); }

/* ── FEATURED WIDE ────────────────────────── */
.featured-wide { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow); }
.fw-thumb { position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(145deg,#dbeafe 0%,#bfdbfe 40%,#93c5fd 100%); }
.fw-pattern { position: absolute; inset: 0; background: repeating-linear-gradient(45deg,transparent,transparent 16px,rgba(255,255,255,.35) 16px,rgba(255,255,255,.35) 17px); }
.fw-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%,rgba(255,255,255,.4) 0%,transparent 70%); }
.fw-thumb svg { position: relative; z-index: 1; }
.fw-body { padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.fw-tag { display: inline-block; font-family: var(--mono); font-size: 10px; color: var(--accent-2); border: 1px solid rgba(234,88,12,.3); background: rgba(234,88,12,.08); padding: 4px 12px; border-radius: 4px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.fw-title { font-family: var(--head); font-size: 44px; font-weight: 900; color: var(--bright); text-transform: uppercase; line-height: .95; margin-bottom: 18px; letter-spacing: -.02em; }
.fw-excerpt { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 28px; }
.fw-meta { font-family: var(--mono); font-size: 11px; color: var(--muted); display: flex; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }

/* ── CATEGORIES ───────────────────────────── */
.cats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-card { background: var(--card); border: 1.5px solid var(--border); border-radius: 14px; padding: 26px 16px; text-align: center; transition: all .22s; cursor: pointer; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: var(--shadow-sm); }
.cat-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.ci1 { background: #dbeafe; }
.ci2 { background: #ede9fe; }
.ci3 { background: #fed7aa; }
.ci4 { background: #d1fae5; }
.ci5 { background: #fef9c3; }
.cat-name  { font-family: var(--head); font-size: 15px; font-weight: 700; color: var(--bright); text-transform: uppercase; letter-spacing: .03em; }
.cat-count { font-family: var(--mono); font-size: 10px; color: var(--muted); }

/* ── TWO COLUMN LAYOUT ────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 320px; gap: 52px; }

/* Article list */
.article-list { list-style: none; }
.article-item { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); cursor: pointer; transition: opacity .18s; }
.article-item:hover { opacity: .72; }
.article-item:last-child { border-bottom: none; }
.at-thumb { height: 84px; border-radius: 10px; overflow: hidden; position: relative; }
.at-thumb img { width: 100%; height: 100%; object-fit: cover; }
.at1 { background: linear-gradient(135deg,#ede9fe,#8b5cf6); }
.at2 { background: linear-gradient(135deg,#dbeafe,#3b82f6); }
.at3 { background: linear-gradient(135deg,#fce7f3,#ec4899); }
.at4 { background: linear-gradient(135deg,#d1fae5,#34d399); }
.at5 { background: linear-gradient(135deg,#fed7aa,#f97316); }
.art-cat   { font-family: var(--mono); font-size: 10px; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; display: block; }
.art-title { font-family: var(--head); font-size: 17px; font-weight: 700; color: var(--bright); text-transform: uppercase; line-height: 1.12; margin-bottom: 6px; }
.art-title a { text-decoration: none; color: inherit; transition: color .18s; }
.art-title a:hover { color: var(--accent); }
.art-meta  { font-family: var(--mono); font-size: 10px; color: var(--muted); display: flex; gap: 10px; }

/* ── SIDEBAR ──────────────────────────────── */
.widget { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.widget-title { font-family: var(--head); font-size: 18px; font-weight: 800; color: var(--bright); text-transform: uppercase; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.nl-desc { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-input { background: var(--bg); border: 1.5px solid var(--border); border-radius: 8px; padding: 11px 16px; font-family: var(--body); font-size: 14px; color: var(--bright); outline: none; transition: border-color .18s, box-shadow .18s; width: 100%; }
.nl-input::placeholder { color: var(--muted); }
.nl-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(2,132,199,.12); }
.nl-btn { background: var(--accent); color: #fff; font-family: var(--head); font-size: 15px; font-weight: 700; padding: 12px 20px; border-radius: 8px; border: none; cursor: pointer; text-transform: uppercase; letter-spacing: .04em; transition: opacity .18s; }
.nl-btn:hover { opacity: .85; }
.pop-list { list-style: none; }
.pop-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.pop-item:last-child { border-bottom: none; padding-bottom: 0; }
.pop-num   { font-family: var(--mono); font-size: 22px; font-weight: 500; color: var(--border-b); line-height: 1; flex-shrink: 0; padding-top: 2px; }
.pop-title { font-family: var(--head); font-size: 15px; font-weight: 700; color: var(--bright); text-transform: uppercase; line-height: 1.15; }
.pop-title a { text-decoration: none; color: inherit; transition: color .18s; }
.pop-title a:hover { color: var(--accent); }
.pop-views { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-top: 4px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { font-family: var(--mono); font-size: 11px; padding: 6px 12px; border-radius: 20px; border: 1.5px solid var(--border); color: var(--muted); cursor: pointer; transition: all .18s; text-decoration: none; background: var(--bg); }
.tag:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-l); }

/* ── SINGLE POST ──────────────────────────── */
.post-hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 64px 0 48px; }
.post-breadcrumb { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-bottom: 20px; display: flex; gap: 8px; align-items: center; }
.post-breadcrumb a { color: var(--muted); text-decoration: none; transition: color .18s; }
.post-breadcrumb a:hover { color: var(--accent); }
.post-breadcrumb span { color: var(--border-b); }
.post-category-label { font-family: var(--mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.post-category-label::before { content: ''; width: 24px; height: 2px; background: var(--accent); border-radius: 1px; }
.post-title { font-family: var(--head); font-size: 56px; font-weight: 900; color: var(--bright); text-transform: uppercase; line-height: .95; letter-spacing: -.02em; max-width: 800px; margin-bottom: 24px; }
.post-meta-bar { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.post-meta-item { font-family: var(--mono); font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.post-meta-item strong { color: var(--bright); font-weight: 500; }
.post-featured-image { width: 100%; height: 420px; object-fit: cover; border-radius: 16px; margin-top: 48px; }

.post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 64px; padding: 64px 0; }
.post-content { font-size: 17px; line-height: 1.8; color: var(--text); max-width: 720px; }
.post-content h2 { font-family: var(--head); font-size: 36px; font-weight: 800; color: var(--bright); text-transform: uppercase; margin: 48px 0 16px; letter-spacing: -.01em; }
.post-content h3 { font-family: var(--head); font-size: 26px; font-weight: 700; color: var(--bright); text-transform: uppercase; margin: 36px 0 12px; }
.post-content p { margin-bottom: 24px; }
.post-content a { color: var(--accent); text-decoration: underline; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 24px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote { border-left: 3px solid var(--accent); padding: 16px 24px; background: var(--accent-l); border-radius: 0 8px 8px 0; margin: 32px 0; font-size: 18px; color: var(--bright); font-style: italic; }
.post-content img { border-radius: 12px; margin: 32px 0; box-shadow: var(--shadow); }
.post-content code { font-family: var(--mono); font-size: 14px; background: var(--bg); border: 1px solid var(--border); padding: 2px 6px; border-radius: 4px; color: var(--accent-3); }
.post-content pre { background: var(--bright); border-radius: 12px; padding: 24px; overflow-x: auto; margin: 32px 0; }
.post-content pre code { background: none; border: none; color: #e2e8f0; font-size: 13px; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 48px; padding-top: 32px; border-top: 2px solid var(--border); }
.post-tags-label { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 8px; display: flex; align-items: center; }

/* Author box */
.author-box { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 28px; margin-top: 48px; display: flex; gap: 20px; align-items: flex-start; box-shadow: var(--shadow-sm); }
.author-avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg,#dbeafe,#3b82f6); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.author-name { font-family: var(--head); font-size: 20px; font-weight: 700; color: var(--bright); text-transform: uppercase; margin-bottom: 6px; }
.author-role { font-family: var(--mono); font-size: 10px; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.author-bio { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Related posts */
.related-posts { padding: 64px 0; border-top: 1px solid var(--border); }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; padding: 48px 0 0; }
.page-link { width: 40px; height: 40px; border-radius: 8px; border: 1.5px solid var(--border); background: var(--card); color: var(--muted); display: flex; align-items: center; justify-content: center; text-decoration: none; font-family: var(--mono); font-size: 13px; transition: all .18s; }
.page-link:hover, .page-link.current { border-color: var(--accent); color: var(--accent); background: var(--accent-l); }

/* ── ARCHIVE PAGE ─────────────────────────── */
.archive-header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 56px 0 40px; }
.archive-label { font-family: var(--mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.archive-label::before { content: ''; width: 24px; height: 2px; background: var(--accent); border-radius: 1px; }
.archive-title { font-family: var(--head); font-size: 52px; font-weight: 900; color: var(--bright); text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }

/* ── SEARCH RESULTS ───────────────────────── */
.search-hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 56px 0; }
.search-form-large { display: flex; gap: 12px; max-width: 600px; margin-top: 24px; }
.search-input-large { flex: 1; background: var(--bg); border: 1.5px solid var(--border); border-radius: 10px; padding: 14px 20px; font-family: var(--body); font-size: 16px; color: var(--bright); outline: none; transition: border-color .18s; }
.search-input-large:focus { border-color: var(--accent); }

/* ── 404 PAGE ─────────────────────────────── */
.not-found { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.not-found-code { font-family: var(--head); font-size: 120px; font-weight: 900; color: var(--border); line-height: 1; margin-bottom: 16px; letter-spacing: -.04em; }
.not-found-title { font-family: var(--head); font-size: 36px; font-weight: 800; color: var(--bright); text-transform: uppercase; margin-bottom: 16px; }
.not-found-text { font-size: 16px; color: var(--muted); margin-bottom: 32px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* ── FOOTER ───────────────────────────────── */
footer { background: var(--bright); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { display: inline-flex; margin-bottom: 16px; font-family: var(--mono); font-size: 19px; font-weight: 500; color: #fff; text-decoration: none; }
.footer-logo .lb { color: #38bdf8; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 20px; }
.socials { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); font-size: 14px; cursor: pointer; transition: all .18s; text-decoration: none; }
.social-btn:hover { border-color: rgba(56,189,248,.6); color: #38bdf8; background: rgba(56,189,248,.08); }
.fc-title { font-family: var(--head); font-size: 14px; font-weight: 800; color: rgba(255,255,255,.9); text-transform: uppercase; margin-bottom: 16px; letter-spacing: .06em; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.45); text-decoration: none; transition: color .18s; }
.footer-links a:hover { color: #38bdf8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.3); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,.3); text-decoration: none; transition: color .18s; }
.footer-bottom-links a:hover { color: #38bdf8; }

/* ── SCROLL REVEAL ────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.on { opacity: 1; transform: translateY(0); }

/* ── WORDPRESS SPECIFIC ───────────────────── */
.alignnone { margin: 0; }
.aligncenter { display: block; margin: 24px auto; }
.alignleft { float: left; margin: 8px 24px 16px 0; }
.alignright { float: right; margin: 8px 0 16px 24px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: center; padding: 8px 0; }
.sticky { /* WordPress sticky post */ }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1024px) {
  .posts-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .two-col       { grid-template-columns: 1fr; }
  .post-layout   { grid-template-columns: 1fr; }
  .post-title    { font-size: 42px; }
}
@media (max-width: 768px) {
  .hero-inner    { grid-template-columns: 1fr; padding: 56px 24px 48px; }
  .hero-visual   { display: none; }
  .hero-title    { font-size: 44px; }
  .posts-grid    { grid-template-columns: 1fr; }
  .cats-grid     { grid-template-columns: repeat(3, 1fr); }
  .featured-wide { grid-template-columns: 1fr; }
  .fw-thumb      { min-height: 220px; }
  .fw-body       { padding: 32px 28px; }
  .fw-title      { font-size: 32px; }
  .nav-links     { display: none; }
  .hamburger     { display: flex; }
  .mobile-nav    { display: flex; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .post-title    { font-size: 32px; }
  .post-featured-image { height: 240px; }
}
@media (max-width: 480px) {
  .cats-grid   { grid-template-columns: repeat(2, 1fr); }
  .hero-title  { font-size: 36px; }
  .section-title { font-size: 26px; }
  .top-bar-right { display: none; }
  .two-col     { gap: 32px; }
}

/* ── PRINT ────────────────────────────────── */
@media print {
  .main-nav, .ticker, .sidebar, footer, .hero-visual { display: none; }
  body { color: #000; background: #fff; }
  .post-content a::after { content: ' (' attr(href) ')'; font-size: 11px; color: #666; }
}
