﻿/* ==========================================================================
   Cream Gamer — Design System (Ubuntu Typography · The Verge-inspired)
   ========================================================================== */

/* ── CSS Custom Properties ──────────────────────────────────────────────── */
:root {
  /* Surfaces — Cream palette */
  --canvas:        #faf7f2;
  --surface:       #ffffff;
  --surface-alt:   #f0ede6;
  --surface-slate: #e8e4dc;

  /* Accents */
  --gold:          #d4a853;
  --gold-hover:    #b8923a;
  --gold-light:    rgba(212, 168, 83, 0.08);
  --green:         #2d7d46;
  --green-hover:   #236338;
  --green-light:   rgba(45, 125, 70, 0.08);

  /* Color-block tiles */
  --tile-gold:       #e8d5a3;
  --tile-gold-text:  #3d2e0a;
  --tile-sage:       #9db8a3;
  --tile-sage-text:  #1a3320;
  --tile-amber:      #eed9a0;
  --tile-amber-text: #4a3520;
  --tile-terracotta: #d6a78b;
  --tile-terra-text: #3d1f14;
  --tile-rose:       #dbbdbd;
  --tile-rose-text:  #3d1a2a;
  --tile-mint:       #9dcec2;
  --tile-mint-text:  #1a2d2a;
  --tile-lavender:   #c4c0e0;
  --tile-lav-text:   #221d3d;
  --tile-white:      #ffffff;
  --tile-white-text: #1a1512;

  /* Text */
  --text-primary:   #1a1512;
  --text-secondary: #7a7268;
  --text-muted:     #b0a89c;

  /* Borders */
  --border:         #e8e4dc;
  --border-strong:  #d4cfc4;
  --border-accent:  #d4a853;

  /* Semantic */
  --link:           #b8923a;
  --link-hover:     #8e6f2c;

  /* Spacing (8px base) */
  --sp-4:   4px;
  --sp-8:   8px;
  --sp-12:  12px;
  --sp-16:  16px;
  --sp-20:  20px;
  --sp-24:  24px;
  --sp-32:  32px;
  --sp-40:  40px;
  --sp-48:  48px;
  --sp-64:  64px;

  /* Radius scale (The Verge 8-value system) */
  --r-2:  2px;
  --r-4:  4px;
  --r-16: 16px;
  --r-20: 20px;
  --r-24: 24px;
  --r-28: 28px;
  --r-40: 40px;
  --r-full: 9999px;

  /* Typography — Ubuntu family */
  --font-display:   'Ubuntu Condensed', 'Arial Narrow', Impact, sans-serif;
  --font-body:      'Ubuntu', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:      'Ubuntu Mono', 'Courier New', Courier, monospace;

  /* Container */
  --container: 1100px;
}

/* ── Self-hosted Fonts (Ubuntu Family) ─────────────────────────────────── */
/* Ubuntu 300 */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/ubuntu-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Ubuntu 400 */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ubuntu-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Ubuntu 500 */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ubuntu-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Ubuntu 700 */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/ubuntu-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Ubuntu Condensed 400 */
@font-face {
  font-family: 'Ubuntu Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ubuntu-condensed-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Ubuntu Mono 400 */
@font-face {
  font-family: 'Ubuntu Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ubuntu-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Ubuntu Mono 700 */
@font-face {
  font-family: 'Ubuntu Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/ubuntu-mono-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--link-hover); }
::selection { background: var(--tile-amber-text); color: var(--text-primary); }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.site { min-height: 100vh; display: flex; flex-direction: column; }

.fixed {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-24);
  width: 100%;
}

.site-content { flex: 1; padding-top: var(--sp-32); padding-bottom: var(--sp-64); }

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════════ */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header.full { padding: 0; }
.site-header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-24);
  padding: var(--sp-12) 0;
}
.site-branding { display: flex; align-items: center; gap: var(--sp-16); flex: 1; }
.site-logotype img { max-height: 40px; width: auto; }
.site-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: 0.5px;
  margin: 0;
}
.site-title a { color: inherit; }
.site-description {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.3;
  margin: 0;
}

/* ── Top Menu ───────────────────────────────────────────────────────────── */
.top-menu ul {
  list-style: none;
  display: flex;
  gap: var(--sp-20);
}
.top-menu a {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.15s ease;
}
.top-menu a:hover { color: var(--gold-hover); }

/* ── Header Search ──────────────────────────────────────────────────────── */
.header-search { display: flex; align-items: center; }
.search-icon {
  display: block;
  width: 24px; height: 24px;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.15s;
}
.search-icon:hover { color: var(--text-primary); }

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */
.btn, .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  padding: 10px 24px;
  border-radius: var(--r-28);
  border: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover { background: var(--gold-hover); color: #fff; }

/* Outlined Gold Pill */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  padding: 8px 20px;
  border-radius: var(--r-28);
  border: 1px solid var(--gold);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}
.btn-outline:hover {
  background: var(--gold);
  color: #fff;
}

/* Pill Tag (non-interactive) */
.pill-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-16);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   POST CARDS (StoryStream-style)
   ═══════════════════════════════════════════════════════════════════════════ */
.post-cards--vertical {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
}
.section-posts { margin-bottom: var(--sp-48); }

/* Individual card */
.post-card {
  background: var(--surface);
  border-radius: var(--r-20);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.post-card:hover {
  border-color: var(--border-strong);
}
.post-card__thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-alt);
}
.post-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--r-4);
}
.post-card__category {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 3px 10px;
  border-radius: var(--r-16);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  line-height: 1.6;
}
.post-card__category:hover { color: #fff; }

/* Category colors */
.post-card__category--news            { background: #d4a853; }
.post-card__category--guides          { background: #2d7d46; }
.post-card__category--gamer-tech      { background: #6c3ad6; }
.post-card__category--upcoming-games  { background: #c4825f; }
.post-card__category--gaming          { background: #6c3ad6; }
.post-card__category--technology      { background: #d4a853; }
.post-card__category--science         { background: #2d7d46; }

.post-card__title {
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__title a { color: inherit; }
.post-card__title a:hover { color: var(--link-hover); }

.post-card__description {
  padding: var(--sp-8) var(--sp-16) var(--sp-16);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Timestamp (Mono, ALL-CAPS) */
.post-card__timestamp {
  display: block;
  padding: 0 var(--sp-16);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-1);
}

/* ═══════════════════════════════════════════════════════════════════════════
   COLOR-BLOCK CARDS (accent tile fills)
   ═══════════════════════════════════════════════════════════════════════════ */
.post-card--gold       { background: var(--tile-gold);       border-color: var(--tile-gold); }
.post-card--sage       { background: var(--tile-sage);       border-color: var(--tile-sage); }
.post-card--amber      { background: var(--tile-amber);      border-color: var(--tile-amber); }
.post-card--terracotta { background: var(--tile-terracotta); border-color: var(--tile-terracotta); }
.post-card--rose       { background: var(--tile-rose);       border-color: var(--tile-rose); }
.post-card--mint       { background: var(--tile-mint);       border-color: var(--tile-mint); }
.post-card--lavender   { background: var(--tile-lavender);   border-color: var(--tile-lavender); }
.post-card--white      { background: var(--tile-white);      border-color: var(--border); }

.post-card--gold       .post-card__title,
.post-card--gold       .post-card__title a,
.post-card--sage       .post-card__title,
.post-card--sage       .post-card__title a,
.post-card--amber      .post-card__title,
.post-card--amber      .post-card__title a,
.post-card--terracotta .post-card__title,
.post-card--terracotta .post-card__title a,
.post-card--rose       .post-card__title,
.post-card--rose       .post-card__title a,
.post-card--mint       .post-card__title,
.post-card--mint       .post-card__title a,
.post-card--lavender   .post-card__title,
.post-card--lavender   .post-card__title a { color: var(--tile-gold-text); }

.post-card--gold       .post-card__description,
.post-card--sage       .post-card__description,
.post-card--amber      .post-card__description,
.post-card--terracotta .post-card__description,
.post-card--rose       .post-card__description,
.post-card--mint       .post-card__description,
.post-card--lavender   .post-card__description { color: rgba(0,0,0,0.45); }

.post-card--gold       .post-card__timestamp,
.post-card--sage       .post-card__timestamp,
.post-card--amber      .post-card__timestamp,
.post-card--terracotta .post-card__timestamp,
.post-card--rose       .post-card__timestamp,
.post-card--mint       .post-card__timestamp,
.post-card--lavender   .post-card__timestamp { color: rgba(0,0,0,0.35); }

/* ── Feature Card (Top Story) ───────────────────────────────────────────── */
.post-card--feature {
  border-radius: var(--r-24);
  border-width: 1px;
}
.post-card--feature .post-card__thumbnail { aspect-ratio: 16 / 9; }
.post-card--feature .post-card__title {
  font-size: 22px;
  padding: var(--sp-24) var(--sp-24) 0;
}
.post-card--feature .post-card__description {
  padding: var(--sp-12) var(--sp-24) var(--sp-24);
  -webkit-line-clamp: 4;
}
.post-card--feature .post-card__timestamp {
  padding: 0 var(--sp-24);
  font-size: 11px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STORYSTREAM TIMELINE RAIL
   ═══════════════════════════════════════════════════════════════════════════ */
.storystream {
  position: relative;
  padding-left: 80px;
}
.storystream::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px dashed var(--gold);
  opacity: 0.35;
}
.storystream__item {
  position: relative;
}
.storystream__timestamp {
  position: absolute;
  left: -80px;
  top: 8px;
  width: 70px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ARTICLE PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
/* Hero image area */
.entry-image--wide {
  position: relative;
  border-radius: var(--r-20);
  overflow: hidden;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  margin-bottom: var(--sp-32);
  border: 1px solid var(--border);
}
.entry-image__body {
  position: absolute;
  display: grid;
  align-items: center;
  justify-items: center;
  text-align: center;
  bottom: 0; left: 0; right: 0;
  padding: var(--sp-32);
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}
.entry-image__body .entry-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.5px;
  color: #fff;
  margin: 0 0 var(--sp-12);
  text-shadow: 
    0 0 1px rgba(0, 0, 0, 0.95), /* crisp outline */
    0 0 4px rgba(0, 0, 0, 0.6);  /* soft fading shadow */
}
.entry-image__body .post-card__category {
  position: static;
  display: inline-block;
  margin-bottom: var(--sp-12);
}

/* ── Article Layout: primary + sidebar ─────────────────────────────────── */
.article-layout {
  display: flex;
  gap: 50px;
  align-items: flex-start; 

}

.article-layout #primary {
  flex: 1 1 0%;
  min-width: 0;
  width: auto;
  max-width: none;
}
/*.article-layout*/ .widget-area {
  flex: 0 0 280px;
  max-width: 280px;
  width: 280px;
}

/* ── Widget Area / Sidebar ──────────────────────────────────────────────── */
.widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-20);
  padding: var(--sp-24);
  margin-bottom: var(--sp-24);
}
.widget-header {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  opacity: 0.7;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--sp-16);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--border);
}
.widget-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.widget-list li,
.widget-list p {
  margin-bottom: var(--sp-8);
}
.widget-list li:last-child,
.widget-list p:last-child {
  margin-bottom: 0;
}
.widget-list a {
  display: block;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text-primary);
  text-decoration: none;
  padding: 1px 0;
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.widget-list a:hover {
  color: var(--gold-hover);
  padding-left: 6px;
}

/* Sticky sidebar */
.sticky-sidebar {
  position: sticky;
  top: 90px;
}
.entry-content {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--text-primary);
  max-width: 740px;
  margin: 0 auto;
}
.entry-content h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.3px;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.entry-content h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.entry-content p { margin-bottom: 1.1rem; }
.entry-content a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: var(--link-hover); }
.entry-content img {
  border-radius: var(--r-16);
  margin: 1.5rem auto;
  border: 1px solid var(--border);
}
.entry-content blockquote {
  border-left: 3px solid var(--gold);
  padding: var(--sp-8) var(--sp-20);
  margin: 1.5rem 0;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 16px;
  background: var(--gold-light);
  border-radius: 0 var(--r-4) var(--r-4) 0;
}
.entry-content ul:not([class]), .entry-content ol:not([class]) {
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}
.entry-content ul:not([class]) li, .entry-content ol:not([class]) li { margin-bottom: 0.3rem; }

/* Article meta bar */
.article-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-20);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.0px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--sp-32);
  padding-bottom: var(--sp-16);
  border-bottom: 1px solid var(--border);
}
.article-author { font-weight: 700; color: var(--text-primary); text-decoration: none; }
.article-author:hover { text-decoration: underline; }
.meta_txt { color: var(--text-primary); }
.is-mobile-hidden { display: inline; }

/* ── Tags ───────────────────────────────────────────────────────────────── */
.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  /* margin-top: var(--sp-40);
  padding-top: var(--sp-24);
  border-top: 1px solid var(--border); */
}
.entry-tags a {
  display: inline-block;
  padding: 2px 9px;
  border-radius: var(--r-16);
  background: var(--gold-light);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.0px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.entry-tags a:hover { background: var(--green); color: #fff; }

.entry-tags a::before {
    content: "#";
    margin-right: 0;
	font-size: 16px;
    opacity: 0.5;
    font-weight: 400;
}


/* ── Related Posts ──────────────────────────────────────────────────────── */
.related-posts {
  margin-top: var(--sp-40);
  padding-top: var(--sp-24);
  border-top: 1px solid var(--border);
}
.related-posts h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.3px;
  margin-bottom: var(--sp-20);
}
.related-posts article { margin-bottom: var(--sp-12); }
.related-posts a {
  font-family: var(--font-body);
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.15s;
}
.related-posts a:hover { color: var(--link-hover); }

/* ── Article Nav ────────────────────────────────────────────────────────── */
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-24);
  margin-top: var(--sp-40);
  padding-top: var(--sp-24);
  border-top: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 15px;
}
.article-nav a { color: var(--text-primary); transition: color 0.15s; }
.article-nav a:hover { color: var(--link-hover); }

/* ── Social Buttons ─────────────────────────────────────────────────────── */
.entry-social { margin-top: var(--sp-32); }
.social-buttons { display: flex; gap: var(--sp-8); flex-wrap: wrap; }
.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  background: var(--surface-alt);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.social-button:hover { background: var(--gold); color: #fff; }

/* ═══════════════════════════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════════════════════════ */
.navigation.pagination { margin-top: var(--sp-40); }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
  padding: 0 0 var(--sp-32) 0;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--sp-16);
  border-radius: var(--r-20);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  line-height: 1;
}
.page-numbers:hover {
  background: var(--surface-alt);
  border-color: var(--border-strong);
}
.page-numbers.current {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.page-numbers.dots {
  border: none;
  background: none;
  color: var(--text-muted);
  min-width: auto;
  padding: 0 var(--sp-8);
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.site-footer {
  background-color: #322d27;
  border-top: 1px solid var(--border);
  margin-top: var(--sp-34);
    color: var(--text-secondary);
}
.site-footer-inner { padding: var(--sp-40) 0; }
.footer-bottom { text-align: center; }
.footer-info { font-size: 16px; color: var(--text-muted); line-height: 1.7; }
.footer-info a { color: var(--text-muted); transition: color 0.15s; }
.footer-info a:hover { color: var(--link-hover); }
.footer-info p { margin-bottom: var(--sp-12); }
.footer-info {   color: var( --text-muted);  }

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL-TO-TOP
   ═══════════════════════════════════════════════════════════════════════════ */
.scrolltop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--gold);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.15s;
  z-index: 100;
  font-size: 18px;
  line-height: 1;
}
.scrolltop:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════════════════
   INPUTS & FORMS
   ═══════════════════════════════════════════════════════════════════════════ */
.input, input[type="text"], input[type="email"], input[type="search"],
input[type="password"], textarea, select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--r-4);
  border: 1px solid var(--border-strong);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--surface);
  transition: border-color 0.15s;
}
.input:focus, input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SEARCH SCREEN
   ═══════════════════════════════════════════════════════════════════════════ */
.search-screen-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
}
.search-screen-overlay.active { display: block; }
.search-screen {
  display: none;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.search-screen.active { display: flex; }
.search-screen .search-form { max-width: 600px; width: 90%; }
.search-screen .search-field {
  width: 100%;
  padding: var(--sp-16) var(--sp-24);
  border-radius: var(--r-20);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 18px;
  background: var(--surface);
  color: var(--text-primary);
}
.search-screen .search-field:focus { outline: none; border-color: var(--gold); }
.search-screen .search-submit { display: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE SIDEBAR PLACEHOLDER (legacy — removed)
   ═══════════════════════════════════════════════════════════════════════════ */
.mobile-menu-placeholder { display: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   AUTHOR PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.articles-list { max-width: 900px; margin: 0 auto; }
/* Author page: dedicated narrower reading column (820px) */
.author-page { max-width: 820px; margin: 0 auto; }
.articles-list h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.4px;
  margin-bottom: var(--sp-20);
}
.author-bio {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  padding: var(--sp-24);
  background: var(--surface);
  border-radius: var(--r-20);
  margin-bottom: var(--sp-32);
  border: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.not-found {
  text-align: center;
  padding: var(--sp-64) var(--sp-24);
}
.not-found h1 {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin-bottom: var(--sp-16);
}
.not-found p { color: var(--text-secondary); margin-bottom: var(--sp-24); font-size: 16px; }
.not-found a {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}
.not-found a:hover { color: var(--gold-hover); }

/* ═══════════════════════════════════════════════════════════════════════════
   STATIC PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.page-content { max-width: 740px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION HEADER (for category/tag/author pages)
   ═══════════════════════════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  padding: var(--sp-40) 0 var(--sp-32);
}
.section-header h1 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin: 0;
}
.section-header__kicker {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-8);
}

/* ═══════════════════════════════════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════════════════════════════════ */
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.alignleft  { float: left; margin: 0 var(--sp-24) var(--sp-16) 0; }
.alignright { float: right; margin: 0 0 var(--sp-16) var(--sp-24); }
.aligncenter { clear: both; display: block; margin: 0 auto var(--sp-24); }

#primary, .content-area { width: 100%; }
.site-content-inner { width: 100%; }
.section-block { margin-bottom: var(--sp-40); }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE: Tablet
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .post-cards--vertical {
    grid-template-columns: repeat(2, 1fr);
  }
  .entry-image__body .entry-title { font-size: 32px; }
  .section-header h1 { font-size: 36px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE: Mobile
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 680px) {
  .site-header-inner { flex-wrap: wrap; }
  .top-menu { display: none; }
  .main-navigation { display: none; }
  .site-branding__body .site-description { display: none; }
  .site-title { font-size: 18px; }

  .post-cards--vertical { grid-template-columns: 1fr; }

  .entry-image--wide { min-height: 220px; border-radius: 0; }
  .entry-image__body .entry-title { font-size: 24px; }
  .entry-image__body { padding: var(--sp-16); }

  .entry-content { font-size: 16px; }
  .entry-content h2 { font-size: 22px; }

  .article-meta { flex-direction: column; gap: var(--sp-8); align-items: flex-start; }
  .is-mobile-hidden { display: none; }
  .article-nav { flex-direction: column; gap: var(--sp-12); }

  .section-header { padding: var(--sp-24) 0 var(--sp-20); }
  .section-header h1 { font-size: 28px; }

  .hero-display { font-size: 42px; }

  .nav-links { gap: var(--sp-4); }
  .page-numbers { min-width: 36px; height: 36px; font-size: 11px; padding: 0 var(--sp-12); }

  .footer-info { font-size: 12px; }
  .scrolltop { bottom: 16px; right: 16px; width: 36px; height: 36px; }

  .storystream { padding-left: 0; }
  .storystream::before { display: none; }
  .storystream__timestamp {
    position: static;
    text-align: left;
    margin-bottom: var(--sp-8);
    width: auto;
  }
  .not-found h1 { font-size: 36px; }
  .articles-list h1 { font-size: 28px; }

  .article-layout {
    flex-direction: column;
  }
  .article-layout .widget-area {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
  }
}
