/*
Theme Name:  Fussball Nachschlagewerk
Theme URI:   https://fussball-nachschlagewerk.de
Author:      Maik Möhring
Author URI:  https://maik-moehring.ch
Description: Custom WordPress Theme für Fussball-Nachschlagewerk.de – Dark Sport Magazine mit EEAT-optimierten Autorenprofilen, SEO-konformem Blog-Layout und moderner Pitch-Dark Ästhetik.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: fnw
Tags:        sports, magazine, dark, responsive, custom-sidebar
*/

/* ============================================================
   DESIGN SYSTEM – "PITCH DARK"
   Farben / Typografie / Basis-Reset
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,300;1,8..60,400&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Palette */
  --fnw-bg:          #080f1d;
  --fnw-mid:         #0c1626;
  --fnw-card:        #0d1930;
  --fnw-light:       #132038;
  --fnw-green:       #00c853;
  --fnw-green-dim:   #00a043;
  --fnw-gold:        #f5c518;
  --fnw-red:         #e53935;
  --fnw-hsv:         #002654;
  --fnw-white:       #eef2f7;
  --fnw-muted:       #7a8fa8;
  --fnw-border:      rgba(255,255,255,0.07);

  /* Typography */
  --font-heading:    'Oswald', sans-serif;
  --font-body:       'Source Serif 4', serif;
  --font-ui:         'Inter', sans-serif;

  /* Spacing */
  --radius:          6px;
  --sidebar-w:       300px;
  --content-max:     1380px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  font-family: var(--font-ui);
  background: var(--fnw-bg);
  color: var(--fnw-white);
  line-height:1.6;
  font-size:15px;
  -webkit-font-smoothing:antialiased;
}

img { max-width:100%; height:auto; display:block; }
a { color:inherit; text-decoration:none; }
ul, ol { list-style:none; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container    { max-width:var(--content-max); margin:0 auto; padding:0 32px; }
.badge        { display:inline-flex; align-items:center; gap:5px; font-family:var(--font-heading); font-size:10px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; padding:3px 9px; border-radius:3px; }
.badge-green  { background:var(--fnw-green); color:#000; }
.badge-red    { background:var(--fnw-red);   color:#fff; }
.badge-gold   { background:var(--fnw-gold);  color:#000; }
.badge-ghost  { background:rgba(255,255,255,.1); color:var(--fnw-white); }
.badge-hsv    { background:var(--fnw-hsv); color:#fff; border:1px solid rgba(255,255,255,.15); }

.section-header { display:flex; align-items:center; gap:16px; margin-bottom:18px; padding-bottom:14px; border-bottom:1px solid var(--fnw-border); }
.section-label  { font-family:var(--font-heading); font-size:17px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--fnw-white); display:flex; align-items:center; }
.section-label::before { content:''; width:4px; height:18px; background:var(--fnw-green); border-radius:2px; margin-right:10px; }
.section-link   { margin-left:auto; font-family:var(--font-heading); font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--fnw-green); cursor:pointer; }

/* Buttons */
.btn-primary { display:inline-block; background:var(--fnw-green); color:#000; border:none; padding:9px 22px; border-radius:5px; font-family:var(--font-heading); font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; cursor:pointer; transition:background .15s; }
.btn-primary:hover { background:var(--fnw-green-dim); }

/* Live dot */
.live-dot { width:7px; height:7px; background:#c00; border-radius:50%; display:inline-block; animation:blink 1.2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }

/* ============================================================
   TOPBAR
   ============================================================ */
#fnw-topbar { background:var(--fnw-green); color:#000; font-family:var(--font-heading); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; padding:7px 32px; display:flex; justify-content:space-between; align-items:center; }
.topbar-ticker { display:flex; gap:20px; align-items:center; overflow:hidden; }
.ticker-sep { opacity:.35; }
.topbar-right { display:flex; gap:18px; opacity:.7; font-size:11px; }

/* ============================================================
   HEADER
   ============================================================ */
#fnw-header { background:var(--fnw-mid); border-bottom:1px solid var(--fnw-border); position:sticky; top:0; z-index:200; }
.header-inner { display:flex; align-items:center; height:66px; gap:24px; }

.fnw-logo { font-family:var(--font-heading); font-weight:700; font-size:19px; letter-spacing:.03em; text-transform:uppercase; display:flex; align-items:center; gap:10px; white-space:nowrap; flex-shrink:0; }
.logo-icon { width:34px; height:34px; background:var(--fnw-green); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:17px; }
.logo-hl { color:var(--fnw-green); }

#fnw-nav { display:flex; gap:2px; flex:1; }
#fnw-nav a { font-family:var(--font-heading); font-size:12px; font-weight:500; letter-spacing:.07em; text-transform:uppercase; color:var(--fnw-muted); padding:7px 11px; border-radius:4px; transition:all .15s; white-space:nowrap; }
#fnw-nav a:hover, #fnw-nav a.current-menu-item { color:var(--fnw-white); background:rgba(255,255,255,.06); }
#fnw-nav a.current-menu-item { color:var(--fnw-green); }
#fnw-nav .hsv-menu-item a { color:#7faadd; }
#fnw-nav .hsv-menu-item a:hover { background:rgba(0,38,84,.4); color:#a0c4ff; }

.header-actions { display:flex; gap:10px; align-items:center; flex-shrink:0; }
.btn-search { background:var(--fnw-light); border:1px solid var(--fnw-border); color:var(--fnw-muted); padding:7px 13px; border-radius:5px; font-size:13px; cursor:pointer; font-family:var(--font-ui); transition:all .15s; }
.btn-search:hover { color:var(--fnw-white); }

/* Mobile menu toggle */
.menu-toggle { display:none; background:none; border:none; color:var(--fnw-white); font-size:22px; cursor:pointer; }

/* ============================================================
   BREAKING STRIP
   ============================================================ */
.breaking-strip { background:var(--fnw-red); padding:9px 32px; display:flex; align-items:center; gap:16px; font-family:var(--font-heading); font-size:11px; letter-spacing:.07em; text-transform:uppercase; overflow:hidden; }
.strip-label { font-weight:700; white-space:nowrap; padding-right:16px; border-right:1px solid rgba(255,255,255,.3); display:flex; align-items:center; gap:8px; }
.strip-items { display:flex; gap:28px; color:rgba(255,255,255,.85); overflow:hidden; }
.strip-items span { white-space:nowrap; }

/* ============================================================
   HERO BLOCK
   ============================================================ */
.fnw-hero { display:grid; grid-template-columns:1fr 360px; gap:3px; margin-top:3px; height:500px; }

.hero-main { position:relative; overflow:hidden; cursor:pointer; background:var(--fnw-card); }
.hero-main .pitch-bg { position:absolute; inset:0; background:linear-gradient(160deg,#122050 0%,#0a1535 40%,#050d1e 100%); }
.hero-main .pitch-lines { position:absolute; inset:0; background-image:radial-gradient(ellipse 70% 80% at 50% 55%,rgba(0,200,83,.05) 0%,transparent 65%),linear-gradient(rgba(0,200,83,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(0,200,83,.025) 1px,transparent 1px); background-size:100% 100%,50px 50px,50px 50px; }
.hero-main .pitch-ball { position:absolute; bottom:80px; right:60px; font-size:130px; opacity:.05; transform:rotate(-20deg); line-height:1; }
.hero-gradient { position:absolute; inset:0; background:linear-gradient(to top,rgba(5,13,30,.99) 0%,rgba(5,13,30,.65) 35%,rgba(5,13,30,.15) 70%,transparent 100%); }
.hero-main a { display:block; width:100%; height:100%; }
.hero-main .hero-thumb { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.5; }

.hero-content { position:absolute; bottom:0; left:0; right:0; padding:30px 32px; }
.hero-h1 { font-family:var(--font-heading); font-size:33px; font-weight:700; line-height:1.14; letter-spacing:.015em; color:var(--fnw-white); margin-bottom:11px; max-width:600px; }
.hero-excerpt { font-family:var(--font-body); font-size:14.5px; color:rgba(238,242,247,.65); line-height:1.6; max-width:520px; margin-bottom:16px; }
.hero-meta { display:flex; gap:14px; align-items:center; font-size:11.5px; color:var(--fnw-muted); }
.hero-meta .cat { color:var(--fnw-green); font-weight:600; font-family:var(--font-heading); font-size:11px; letter-spacing:.08em; text-transform:uppercase; }

.hero-stack { display:flex; flex-direction:column; gap:3px; }
.scard { flex:1; position:relative; overflow:hidden; cursor:pointer; background:var(--fnw-card); }
.scard a { display:block; width:100%; height:100%; }
.scard .scard-thumb { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.4; }
.scard-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(5,13,30,.96) 0%,rgba(5,13,30,.35) 55%,transparent 100%); }
.scard-content { position:absolute; bottom:0; left:0; right:0; padding:13px 16px; }
.scard-title { font-family:var(--font-heading); font-size:15px; font-weight:600; line-height:1.25; color:var(--fnw-white); margin-bottom:5px; }
.scard-meta { font-size:10.5px; color:var(--fnw-muted); display:flex; gap:8px; }
.scard-meta .cat { color:var(--fnw-green); font-weight:600; font-family:var(--font-heading); letter-spacing:.08em; text-transform:uppercase; font-size:10px; }

/* ============================================================
   CONTENT LAYOUT
   ============================================================ */
.fnw-content-wrap { display:grid; grid-template-columns:1fr var(--sidebar-w); gap:36px; margin-top:36px; padding-bottom:60px; }
.fnw-main {}
.fnw-sidebar {}

/* ============================================================
   ARTICLE CARDS
   ============================================================ */
.art-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:32px; }

.art-card { background:var(--fnw-card); border:1px solid var(--fnw-border); border-radius:var(--radius); overflow:hidden; cursor:pointer; transition:transform .18s,border-color .18s; display:flex; flex-direction:column; }
.art-card:hover { transform:translateY(-3px); border-color:rgba(0,200,83,.22); }
.art-card.big { grid-column:1/-1; flex-direction:row; }

.card-thumb { width:100%; aspect-ratio:16/9; position:relative; overflow:hidden; flex-shrink:0; background:var(--fnw-light); }
.art-card.big .card-thumb { width:280px; aspect-ratio:unset; }
.card-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.art-card:hover .card-thumb img { transform:scale(1.03); }
.card-thumb-fallback { position:absolute; inset:0; background:linear-gradient(145deg,#142248 0%,#070e1e 100%); display:flex; align-items:center; justify-content:center; font-size:36px; opacity:.08; }

.card-body { padding:14px 16px; flex:1; display:flex; flex-direction:column; }
.card-body .badge { margin-bottom:8px; }
.card-body h3 { font-family:var(--font-heading); font-size:16.5px; font-weight:600; line-height:1.28; color:var(--fnw-white); margin-bottom:7px; }
.art-card.big .card-body h3 { font-size:21px; }
.card-body p { font-family:var(--font-body); font-size:13px; color:var(--fnw-muted); line-height:1.65; margin-bottom:10px; flex:1; overflow:hidden; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; }
.card-footer { display:flex; justify-content:space-between; align-items:center; padding:9px 16px; border-top:1px solid var(--fnw-border); font-size:11px; color:var(--fnw-muted); }
.read-link { color:var(--fnw-green); font-family:var(--font-heading); font-size:11.5px; font-weight:600; letter-spacing:.07em; text-transform:uppercase; }

/* Article list */
.art-list { display:flex; flex-direction:column; }
.list-item { display:flex; gap:13px; padding:13px 0; border-bottom:1px solid var(--fnw-border); cursor:pointer; transition:opacity .15s; }
.list-item:hover { opacity:.75; }
.list-item:last-child { border-bottom:none; }
.li-thumb { width:82px; height:58px; flex-shrink:0; border-radius:4px; overflow:hidden; background:var(--fnw-light); }
.li-thumb img { width:100%; height:100%; object-fit:cover; }
.li-cat { font-family:var(--font-heading); font-size:9.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--fnw-green); margin-bottom:4px; }
.li-title { font-family:var(--font-heading); font-size:14.5px; font-weight:500; line-height:1.3; color:var(--fnw-white); margin-bottom:4px; }
.li-meta { font-size:11px; color:var(--fnw-muted); }

/* ============================================================
   SINGLE POST / ARTICLE
   ============================================================ */
.single-article-wrap { display:grid; grid-template-columns:1fr var(--sidebar-w); gap:36px; margin-top:32px; padding-bottom:60px; }

.article-header { margin-bottom:24px; }
.article-breadcrumb { font-size:11.5px; color:var(--fnw-muted); margin-bottom:14px; display:flex; gap:7px; align-items:center; flex-wrap:wrap; }
.article-breadcrumb a:hover { color:var(--fnw-green); }
.article-breadcrumb .sep { color:var(--fnw-green); opacity:.5; }
.article-badges { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:12px; }
.article-h1 { font-family:var(--font-heading); font-size:34px; font-weight:700; line-height:1.15; color:var(--fnw-white); margin-bottom:14px; }
.article-intro { font-family:var(--font-body); font-size:17px; color:rgba(238,242,247,.75); line-height:1.65; margin-bottom:18px; }

.article-byline { display:flex; align-items:center; gap:14px; padding:14px 0; border-top:1px solid var(--fnw-border); border-bottom:1px solid var(--fnw-border); margin-bottom:24px; }
.author-avatar { width:44px; height:44px; border-radius:50%; object-fit:cover; flex-shrink:0; border:2px solid var(--fnw-green); }
.author-avatar-placeholder { width:44px; height:44px; border-radius:50%; background:var(--fnw-green); display:flex; align-items:center; justify-content:center; font-family:var(--font-heading); font-size:16px; font-weight:700; color:#000; flex-shrink:0; }
.byline-info strong { display:block; font-size:14px; color:var(--fnw-white); margin-bottom:2px; }
.byline-info span { font-size:11.5px; color:var(--fnw-muted); }
.byline-info .author-role { color:var(--fnw-green); font-weight:600; font-size:11px; }
.article-actions { margin-left:auto; display:flex; gap:8px; }
.act-btn { background:var(--fnw-light); border:1px solid var(--fnw-border); color:var(--fnw-muted); padding:6px 12px; border-radius:4px; font-size:11px; cursor:pointer; transition:all .15s; font-family:var(--font-ui); }
.act-btn:hover { color:var(--fnw-white); }

.article-featured-img { width:100%; aspect-ratio:16/7; border-radius:var(--radius); overflow:hidden; margin-bottom:24px; background:var(--fnw-light); }
.article-featured-img img { width:100%; height:100%; object-fit:cover; }
.img-caption { font-size:11.5px; color:var(--fnw-muted); margin-top:6px; font-style:italic; text-align:center; }

.article-content { font-family:var(--font-body); font-size:16.5px; line-height:1.8; color:rgba(238,242,247,.87); }
.article-content h2 { font-family:var(--font-heading); font-size:24px; font-weight:700; color:var(--fnw-white); margin:32px 0 14px; border-left:3px solid var(--fnw-green); padding-left:14px; }
.article-content h3 { font-family:var(--font-heading); font-size:20px; font-weight:600; color:var(--fnw-white); margin:24px 0 10px; }
.article-content p { margin-bottom:18px; }
.article-content ul, .article-content ol { padding-left:20px; margin-bottom:18px; }
.article-content li { margin-bottom:8px; }
.article-content ul li { list-style:disc; }
.article-content ol li { list-style:decimal; }
.article-content blockquote { border-left:3px solid var(--fnw-green); padding:14px 22px; background:rgba(0,200,83,.05); border-radius:0 5px 5px 0; font-style:italic; font-size:17px; color:rgba(238,242,247,.9); margin:24px 0; }
.article-content a { color:var(--fnw-green); text-decoration:underline; text-underline-offset:3px; }
.article-content a:hover { color:var(--fnw-green-dim); }
.article-content img { border-radius:var(--radius); margin:20px 0; }
.article-content table { width:100%; border-collapse:collapse; margin:20px 0; font-size:14px; }
.article-content th { background:var(--fnw-light); padding:10px 14px; text-align:left; font-family:var(--font-heading); letter-spacing:.06em; text-transform:uppercase; font-size:12px; }
.article-content td { padding:10px 14px; border-bottom:1px solid var(--fnw-border); color:rgba(238,242,247,.8); }

.article-tags { display:flex; gap:7px; flex-wrap:wrap; margin-top:24px; padding-top:20px; border-top:1px solid var(--fnw-border); }
.article-tag { background:var(--fnw-light); color:var(--fnw-muted); font-size:11.5px; padding:4px 11px; border-radius:3px; cursor:pointer; transition:color .12s; }
.article-tag:hover { color:var(--fnw-green); }

/* Social Share */
.share-box { margin-top:28px; padding:20px; background:var(--fnw-card); border:1px solid var(--fnw-border); border-radius:var(--radius); }
.share-box h4 { font-family:var(--font-heading); font-size:13px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; margin-bottom:12px; }
.share-buttons { display:flex; gap:10px; flex-wrap:wrap; }
.share-btn { display:inline-flex; align-items:center; gap:7px; padding:8px 16px; border-radius:5px; font-family:var(--font-heading); font-size:12px; font-weight:600; letter-spacing:.07em; text-transform:uppercase; cursor:pointer; border:none; transition:opacity .15s; }
.share-btn:hover { opacity:.85; }
.share-fb   { background:#1877f2; color:#fff; }
.share-tw   { background:#000; color:#fff; }
.share-wa   { background:#25d366; color:#fff; }
.share-copy { background:var(--fnw-light); color:var(--fnw-white); border:1px solid var(--fnw-border); }

/* ============================================================
   AUTHOR BOX – SIDEBAR WIDGET
   ============================================================ */
.author-sidebar-box { background:var(--fnw-card); border:1px solid var(--fnw-border); border-radius:var(--radius); overflow:hidden; margin-bottom:18px; }
.author-sidebar-box .asb-header { background:var(--fnw-light); border-bottom:2px solid var(--fnw-green); padding:10px 15px; font-family:var(--font-heading); font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--fnw-white); }
.author-sidebar-box .asb-body { padding:18px; text-align:center; }
.asb-avatar { width:72px; height:72px; border-radius:50%; object-fit:cover; margin:0 auto 12px; border:3px solid var(--fnw-green); display:block; }
.asb-avatar-placeholder { width:72px; height:72px; border-radius:50%; background:var(--fnw-green); margin:0 auto 12px; display:flex; align-items:center; justify-content:center; font-family:var(--font-heading); font-size:26px; font-weight:700; color:#000; }
.asb-name { font-family:var(--font-heading); font-size:17px; font-weight:700; color:var(--fnw-white); margin-bottom:3px; }
.asb-role { font-size:11px; color:var(--fnw-green); font-weight:600; letter-spacing:.08em; text-transform:uppercase; margin-bottom:10px; }
.asb-bio { font-family:var(--font-body); font-size:13px; color:var(--fnw-muted); line-height:1.6; margin-bottom:14px; text-align:left; }
.asb-meta { display:flex; flex-direction:column; gap:5px; margin-bottom:14px; text-align:left; }
.asb-meta-item { display:flex; align-items:flex-start; gap:8px; font-size:12px; color:rgba(238,242,247,.7); }
.asb-meta-item .ico { flex-shrink:0; color:var(--fnw-green); font-size:13px; }
.asb-expertise { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:14px; }
.asb-tag { background:var(--fnw-light); color:var(--fnw-muted); font-size:10.5px; padding:3px 9px; border-radius:3px; }
.asb-links { display:flex; justify-content:center; gap:8px; }
.asb-link { display:inline-block; padding:6px 14px; background:var(--fnw-light); border-radius:4px; font-family:var(--font-heading); font-size:11px; font-weight:600; letter-spacing:.07em; text-transform:uppercase; color:var(--fnw-muted); transition:all .15s; }
.asb-link:hover, .asb-link.primary { color:var(--fnw-white); }
.asb-link.primary { background:var(--fnw-green); color:#000; }

/* ============================================================
   AUTHOR PAGE (archive.php authors)
   ============================================================ */
.author-page-header { padding:48px 0 36px; border-bottom:1px solid var(--fnw-border); margin-bottom:36px; }
.author-page-inner { display:flex; gap:32px; align-items:flex-start; }
.author-page-avatar { width:120px; height:120px; border-radius:50%; object-fit:cover; flex-shrink:0; border:4px solid var(--fnw-green); }
.author-page-info { flex:1; }
.author-page-name { font-family:var(--font-heading); font-size:38px; font-weight:700; color:var(--fnw-white); margin-bottom:6px; }
.author-page-role { font-size:13px; color:var(--fnw-green); font-weight:600; letter-spacing:.1em; text-transform:uppercase; margin-bottom:14px; }
.author-page-bio { font-family:var(--font-body); font-size:16px; color:rgba(238,242,247,.78); line-height:1.7; max-width:640px; margin-bottom:18px; }
.author-page-expertise { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:18px; }
.author-page-tag { background:var(--fnw-light); color:var(--fnw-muted); font-size:12px; padding:5px 13px; border-radius:3px; }
.author-page-meta { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:10px; }
.apm-item { background:var(--fnw-card); border:1px solid var(--fnw-border); border-radius:5px; padding:12px 14px; font-size:12.5px; color:rgba(238,242,247,.7); }
.apm-item strong { display:block; color:var(--fnw-white); font-size:13px; margin-bottom:3px; }
.author-schema { display:none; } /* JSON-LD hidden from view */

/* ============================================================
   SIDEBAR WIDGETS
   ============================================================ */
.sw { background:var(--fnw-card); border:1px solid var(--fnw-border); border-radius:var(--radius); margin-bottom:18px; overflow:hidden; }
.sw-hdr { background:var(--fnw-light); padding:10px 15px; font-family:var(--font-heading); font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--fnw-white); display:flex; align-items:center; gap:7px; border-bottom:2px solid var(--fnw-green); }
.sw-body { padding:14px; }

.s-input { width:100%; background:var(--fnw-mid); border:1px solid var(--fnw-border); border-radius:5px; padding:9px 13px; color:var(--fnw-white); font-family:var(--font-ui); font-size:13px; outline:none; transition:border-color .15s; }
.s-input:focus { border-color:rgba(0,200,83,.4); }
.s-input::placeholder { color:var(--fnw-muted); }

.pop-item { display:flex; gap:11px; padding:9px 0; border-bottom:1px solid var(--fnw-border); cursor:pointer; align-items:flex-start; }
.pop-item:last-child { border-bottom:none; padding-bottom:0; }
.pop-n { font-family:var(--font-heading); font-size:26px; font-weight:700; color:rgba(0,200,83,.18); min-width:30px; line-height:1; }
.pop-title { font-family:var(--font-heading); font-size:13.5px; font-weight:500; line-height:1.3; color:var(--fnw-white); margin-bottom:3px; }
.pop-meta { font-size:10.5px; color:var(--fnw-muted); }

.cat-row { display:flex; justify-content:space-between; align-items:center; padding:7px 9px; border-radius:4px; cursor:pointer; transition:background .12s; font-size:12.5px; color:var(--fnw-muted); }
.cat-row:hover { background:var(--fnw-light); color:var(--fnw-white); }
.cat-left { display:flex; align-items:center; gap:9px; }
.cat-dot { width:5px; height:5px; border-radius:50%; background:var(--fnw-green); flex-shrink:0; }
.cat-cnt { background:var(--fnw-light); color:rgba(255,255,255,.35); font-size:10px; padding:2px 7px; border-radius:10px; font-weight:600; }

.hsv-widget-sw { background:linear-gradient(145deg,#002654 0%,#001540 100%); border:1px solid rgba(255,255,255,.1); border-radius:var(--radius); padding:20px 15px; margin-bottom:18px; text-align:center; }
.hsv-widget-sw .hsv-name { font-family:var(--font-heading); font-size:16px; font-weight:700; color:#fff; letter-spacing:.06em; text-transform:uppercase; margin:8px 0 4px; }
.hsv-widget-sw .hsv-sub { font-size:12px; color:rgba(255,255,255,.5); margin-bottom:14px; font-family:var(--font-body); font-style:italic; }

.newsletter-sw { background:linear-gradient(145deg,#0d2244 0%,#060e1e 100%); }
.newsletter-sw .sw-hdr { background:rgba(0,200,83,.12); }

/* ============================================================
   PAGINATION
   ============================================================ */
.fnw-pagination { display:flex; gap:6px; justify-content:center; padding:36px 0; }
.fnw-pagination a, .fnw-pagination span { width:38px; height:38px; display:flex; align-items:center; justify-content:center; background:var(--fnw-card); border:1px solid var(--fnw-border); border-radius:5px; font-family:var(--font-heading); font-size:13px; color:var(--fnw-muted); transition:all .15s; }
.fnw-pagination a:hover { background:var(--fnw-light); color:var(--fnw-white); }
.fnw-pagination .current { background:var(--fnw-green); color:#000; border-color:var(--fnw-green); }

/* ============================================================
   FOOTER
   ============================================================ */
#fnw-footer { background:var(--fnw-mid); border-top:1px solid var(--fnw-border); padding:48px 32px 24px; margin-top:0; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:36px; }
.footer-logo { display:flex; align-items:center; gap:10px; font-family:var(--font-heading); font-weight:700; font-size:18px; letter-spacing:.03em; text-transform:uppercase; margin-bottom:12px; }
.footer-desc { font-family:var(--font-body); font-size:13px; color:var(--fnw-muted); line-height:1.65; margin-bottom:16px; }
.socials { display:flex; gap:9px; }
.social-btn { width:33px; height:33px; background:var(--fnw-light); border-radius:5px; display:flex; align-items:center; justify-content:center; font-size:14px; cursor:pointer; transition:background .15s; text-decoration:none; }
.social-btn:hover { background:var(--fnw-green); color:#000; }
.fc h4 { font-family:var(--font-heading); font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--fnw-white); margin-bottom:13px; padding-bottom:10px; border-bottom:1px solid var(--fnw-border); }
.fc ul li { padding:5px 0; font-size:12.5px; color:var(--fnw-muted); cursor:pointer; transition:color .12s; }
.fc ul li a { color:var(--fnw-muted); }
.fc ul li a:hover { color:var(--fnw-green); }
.footer-bottom { border-top:1px solid var(--fnw-border); padding-top:18px; display:flex; justify-content:space-between; font-size:11.5px; color:var(--fnw-muted); flex-wrap:wrap; gap:8px; }
.footer-bottom a { color:var(--fnw-green); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root { --sidebar-w: 260px; }
  .fnw-hero { grid-template-columns: 1fr 300px; }
}

@media (max-width: 900px) {
  .container { padding:0 20px; }
  .fnw-hero { grid-template-columns:1fr; height:auto; }
  .hero-main { height:340px; }
  .hero-stack { display:none; }
  .fnw-content-wrap, .single-article-wrap { grid-template-columns:1fr; }
  .fnw-sidebar { order:-1; }
  .art-grid { grid-template-columns:1fr; }
  .art-card.big { flex-direction:column; }
  .art-card.big .card-thumb { width:100%; height:200px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:28px; }
  #fnw-nav { display:none; }
  #fnw-nav.open { display:flex; flex-direction:column; position:absolute; top:66px; left:0; right:0; background:var(--fnw-mid); border-bottom:1px solid var(--fnw-border); padding:12px 20px; z-index:300; }
  .menu-toggle { display:block; }
}

@media (max-width: 600px) {
  .article-h1 { font-size:26px; }
  .hero-h1 { font-size:24px; }
  .footer-grid { grid-template-columns:1fr; }
  .author-page-inner { flex-direction:column; align-items:center; text-align:center; }
  .author-page-meta { grid-template-columns:1fr; }
  .topbar-right { display:none; }
}
