/*
Theme Name:  Analog Knights
Theme URI:   https://analogknights.com
Author:      Analog Knights
Author URI:  https://analogknights.com
Description: A nostalgia brand theme for retro gaming, video stores, toys and childhood memories from the 90s and early 2000s.
Version:     2.1.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: analog-knights
Tags:        blog, custom-header, custom-menu, featured-images, nostalgia, retro
*/

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

:root {
  /* ── Dark arcade palette — Option B (lighter grey) ── */
  --bg:         #222222;
  --bg-card:    #2d2d2d;
  --bg-card-2:  #333333;
  --border:     #3a3a3a;
  --text:       #F5F2E8;
  --text-soft:  #9A9080;

  /* ── Accent colors ── */
  --purple:     #7A00FF;
  --purple-dim: #5500bb;
  --cyan:       #00E5FF;
  --cyan-dim:   #00a8bb;
  --yellow:     #FFD400;
  --pink:       #FF3EA5;
  --pink-dim:   #cc1f7a;
  --lime:       #A4FF00;
  --tape:       #FF3EA5;

  /* ── Gradients ── */
  --grad-main:  linear-gradient(135deg, #FF3EA5 0%, #7A00FF 50%, #00E5FF 100%);
  --grad-warm:  linear-gradient(135deg, #FFD400 0%, #FF3EA5 50%, #7A00FF 100%);
  --grad-cool:  linear-gradient(135deg, #00E5FF 0%, #7A00FF 100%);

  /* ── Legacy aliases ── */
  --cream:      #F5F2E8;
  --cream-dark: #3a3a3a;
  --paper:      #2d2d2d;
  --ink:        #F5F2E8;
  --ink-soft:   #9A9080;
  --teal:       #00E5FF;
  --teal-dark:  #00a8bb;
  --rust:       #FF3EA5;
  --rust-dark:  #cc1f7a;
  --mustard:    #FFD400;

  /* ── Synthwave aliases ── */
  --sw-pink:    #FF3EA5;
  --sw-magenta: #FF3EA5;
  --sw-purple:  #7A00FF;
  --sw-cyan:    #00E5FF;
  --sw-orange:  #FFD400;
  --sw-yellow:  #FFD400;
  --sw-grad:    var(--grad-main);
  --sw-grad-2:  var(--grad-warm);

  /* ── Typography ── */
  --display:    'Playfair Display', Georgia, serif;
  --body:       'Inter', system-ui, sans-serif;
  --mono:       'Source Code Pro', 'Courier New', monospace;

  /* ── Layout ── */
  --max:        1100px;
  --pad:        clamp(1rem, 5vw, 2rem);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

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

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ══════════════════════════════════════════════════════
   UTILITY
══════════════════════════════════════════════════════ */
.label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--pink);
  display: flex;
  align-items: center;
  gap: 7px;
}
.label .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 6px var(--pink);
  flex-shrink: 0;
}
.label.teal      { color: var(--cyan); }
.label.teal .dot { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.label-center    { justify-content: center; }

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 3px 9px;
  border-radius: 2px;
}
.tag-blog  { background: rgba(0,229,255,.12);  color: var(--cyan); border: 1px solid rgba(0,229,255,.25); }
.tag-vault { background: rgba(255,62,165,.12); color: var(--pink); border: 1px solid rgba(255,62,165,.25); }

/* ── Tape card ── */
.tape-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  position: relative;
  padding: 1.25rem;
}
.tape-card::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(255,255,255,.07);
  pointer-events: none;
  border-radius: 2px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding: .7rem 1.4rem;
  border-radius: 2px;
  transition: background .18s, color .18s, border-color .18s, opacity .18s;
  cursor: pointer;
  border: none;
}
.btn-teal         { background: var(--cyan);     color: #000; }
.btn-teal:hover   { background: var(--cyan-dim); color: #000; }
.btn-rust         { background: var(--pink);     color: #fff; }
.btn-rust:hover   { background: var(--pink-dim); }
.btn-outline      { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--pink); color: var(--pink); }
.btn-cream        { background: var(--text); color: #222; }
.btn-cream:hover  { background: var(--yellow); color: #222; }
.btn-sw           { background: var(--grad-main); color: #fff; border: none; position: relative; overflow: hidden; }
.btn-sw:hover     { opacity: .85; color: #fff; }

/* ══════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════ */
.site-header {
  background: rgba(34,34,34,.97);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
}
.logo-icon {
  width: 32px; height: 32px;
  background: var(--purple);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(122,0,255,.5);
}
.logo-knights { color: var(--pink); }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul,
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav ul   { display: flex; align-items: center; gap: 1.5rem; }

.site-nav ul li a {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-soft);
  transition: color .15s;
}
.site-nav ul li a:hover { color: var(--cyan); }

.site-nav ul li.nav-ig-link a,
.site-nav ul li.menu-item-instagram-feed a,
.site-nav ul li a[href*="instagram-feed"] {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  transition: opacity .15s;
}
.site-nav ul li.nav-ig-link a:hover,
.site-nav ul li.menu-item-instagram-feed a:hover,
.site-nav ul li a[href*="instagram-feed"]:hover { opacity: .75; }

/* ── Submenu (desktop dropdown) ── */
.site-nav ul li { position: relative; }

.site-nav ul li .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  box-shadow: 0 12px 24px rgba(0,0,0,.45);
  padding: .5rem 0;
  margin-top: .75rem;
  z-index: 100;
}

.site-nav ul li.submenu-open > .sub-menu {
  display: block;
}

.site-nav ul li .sub-menu li { width: 100%; }

.site-nav ul li .sub-menu a {
  display: block;
  padding: .55rem 1.1rem;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-soft);
  transition: background .15s, color .15s;
}
.site-nav ul li .sub-menu a:hover { background: var(--bg-card-2); color: var(--cyan); }

/* ── Submenu (mobile accordion, toggled by main.js) ── */
.mobile-nav ul li .sub-menu {
  display: none;
  list-style: none;
  padding-left: 1rem;
  margin-top: .15rem;
}
.mobile-nav ul li.submenu-open > .sub-menu { display: block; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 3px;
  width: 38px; height: 38px;
  cursor: pointer;
  font-size: 18px;
  color: var(--text);
  align-items: center;
  justify-content: center;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: .75rem var(--pad);
  gap: .25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a,
.mobile-nav ul li a {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-soft);
  padding: .55rem .5rem;
  border-radius: 3px;
  transition: background .15s, color .15s;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav ul li a:hover { background: var(--bg-card); color: var(--cyan); }

.mobile-nav ul li.nav-ig-link a,
.mobile-nav ul li.menu-item-instagram-feed a,
.mobile-nav ul li a[href*="instagram-feed"] {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

@media (max-width: 700px) {
  .site-nav   { display: none; }
  .nav-toggle { display: flex; }
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(160deg, #1a1a2e 0%, #22102a 50%, #121a12 100%);
  border-bottom: 1px solid var(--border);
  padding: clamp(3rem, 8vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(0,229,255,.03) 0px, rgba(0,229,255,.03) 1px,
    transparent 1px, transparent 4px
  );
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.08;
  margin-top: .8rem;
  color: var(--text);
}
.hero-sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 420px;
  line-height: 1.65;
}
.hero-btns { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem; }

.tape-widget { padding: 1.4rem; }
.tape-widget .tw-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-soft);
  margin-bottom: 1rem;
}
.tw-rec     { display: flex; align-items: center; gap: 5px; }
.tw-rec-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 6px var(--pink); }
.tape-bars  { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1.1rem; }
.bar-track  { height: 5px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar-fill   { height: 100%; border-radius: 3px; }
.bf-teal    { background: var(--cyan);   width: 66%; box-shadow: 0 0 8px rgba(0,229,255,.4); }
.bf-rust    { background: var(--pink);   width: 38%; box-shadow: 0 0 8px rgba(255,62,165,.4); }
.bf-mustard { background: var(--yellow); width: 52%; box-shadow: 0 0 8px rgba(255,212,0,.4); }
.tape-title { font-family: var(--display); font-size: 1.15rem; font-weight: 700; color: var(--text); }
.tape-tags  { font-size: .78rem; color: var(--text-soft); margin-top: .35rem; line-height: 1.5; }
.tape-footer {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-soft);
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 720px) {
  .hero-inner  { grid-template-columns: 1fr; }
  .tape-widget { display: none; }
}

/* ══════════════════════════════════════════════════════
   SECTION SHELL
══════════════════════════════════════════════════════ */
.section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section-alt {
  background: #282828;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.section-head h2 { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; color: var(--text); }
.section-head a  { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); transition: color .15s; white-space: nowrap; }
.section-head a:hover { color: var(--pink); }

/* ══════════════════════════════════════════════════════
   ARTICLE CARDS
══════════════════════════════════════════════════════ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.article-card {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.2rem;
  transition: border-color .18s;
  text-decoration: none;
  color: inherit;
}
.article-card:hover { border-color: var(--cyan); }
.article-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.article-date {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 5px;
}
.article-date .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 4px var(--pink); }
.article-body  { display: flex; gap: .75rem; align-items: flex-start; flex: 1; }
.article-emoji { font-size: 1.6rem; flex-shrink: 0; margin-top: .1rem; }
.article-title { font-family: var(--display); font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--text); }
.article-card:hover .article-title { color: var(--cyan); }
.article-excerpt { font-size: .82rem; color: var(--text-soft); margin-top: .35rem; line-height: 1.5; }
.article-footer { margin-top: .9rem; padding-top: .65rem; border-top: 1px solid var(--border); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-soft); }

/* ══════════════════════════════════════════════════════
   CATEGORY GRID
══════════════════════════════════════════════════════ */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.cat-card { display: flex; align-items: flex-start; gap: .9rem; padding: 1.1rem 1.2rem; transition: border-color .18s; cursor: pointer; text-decoration: none; color: inherit; }
.cat-card:hover            { border-color: var(--cyan); }
.cat-card:hover .cat-title { color: var(--cyan); }
.cat-emoji { font-size: 2rem; flex-shrink: 0; margin-top: .1rem; }
.cat-title { font-family: var(--display); font-size: 1.05rem; font-weight: 700; transition: color .15s; color: var(--text); }
.cat-desc  { font-size: .82rem; color: var(--text-soft); margin-top: .25rem; line-height: 1.5; }

/* ══════════════════════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════════════════════ */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.product-card  { display: flex; flex-direction: column; padding: 1.1rem 1.2rem; }
.product-top   { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.product-info  { display: flex; gap: .65rem; }
.product-emoji { font-size: 1.8rem; flex-shrink: 0; }
.product-name  { font-family: var(--display); font-size: .95rem; font-weight: 700; line-height: 1.3; color: var(--text); }
.product-badge {
  display: inline-block;
  margin-top: .3rem;
  padding: 2px 7px;
  background: rgba(255,212,0,.15);
  border: 1px solid rgba(255,212,0,.3);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--yellow);
  border-radius: 2px;
}
.product-price { font-family: var(--mono); font-size: .9rem; font-weight: 500; white-space: nowrap; color: var(--lime); flex-shrink: 0; }
.product-desc  { font-size: .82rem; color: var(--text-soft); line-height: 1.55; flex: 1; margin-bottom: .9rem; }
.product-card .btn { text-align: center; width: 100%; margin-top: auto; }

.affiliate-notice {
  margin-bottom: 1.75rem;
  padding: .75rem 1rem;
  border: 1px solid rgba(255,212,0,.25);
  background: rgba(255,212,0,.06);
  border-radius: 3px;
  font-size: .82rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.affiliate-notice strong { color: var(--yellow); }

/* ══════════════════════════════════════════════════════
   ABOUT STRIP
══════════════════════════════════════════════════════ */
.about-strip { max-width: 680px; margin: 0 auto; text-align: center; padding: clamp(2.5rem, 6vw, 4rem) var(--pad); }
.about-strip h2 { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; margin-top: .6rem; color: var(--text); }
.about-strip p  { font-size: .92rem; color: var(--text-soft); margin-top: .75rem; line-height: 1.7; }
.about-strip .btn { margin-top: 1.5rem; }

/* ══════════════════════════════════════════════════════
   INSTAGRAM STRIP
══════════════════════════════════════════════════════ */
.ig-strip { text-align: center; padding: clamp(2.5rem, 6vw, 4rem) var(--pad); }
.ig-strip h2 { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; margin-top: .6rem; color: var(--text); }
.ig-strip p  { font-size: .92rem; color: var(--text-soft); margin-top: .6rem; max-width: 420px; margin-left: auto; margin-right: auto; line-height: 1.65; }
.ig-strip .btn { margin-top: 1.5rem; }

/* ══════════════════════════════════════════════════════
   INSTAGRAM FEED PAGE — SYNTHWAVE
══════════════════════════════════════════════════════ */
.ig-synthwave-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #280040 40%, #1a2a1a 100%);
  padding: clamp(3rem, 8vw, 5rem) 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,62,165,.3);
}
.ig-synthwave-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(to bottom,rgba(0,229,255,.04) 0px,rgba(0,229,255,.04) 1px,transparent 1px,transparent 4px);
  pointer-events: none;
}
.ig-synthwave-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(255,62,165,.15), transparent);
  pointer-events: none;
}
.ig-synthwave-hero .container { position: relative; z-index: 1; }

.ig-hero-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--sw-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
}
.ig-hero-label::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sw-pink); box-shadow: 0 0 8px var(--sw-pink); }
.ig-hero-title { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.1; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 1rem; }
.ig-hero-sub   { font-size: 1rem; color: rgba(245,242,232,.65); max-width: 480px; line-height: 1.65; margin-bottom: 1.75rem; }
.ig-cta-btn    { display: inline-block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; padding: .8rem 1.75rem; border-radius: 2px; background: var(--grad-main); color: #fff; border: none; cursor: pointer; transition: opacity .18s, transform .18s; box-shadow: 0 0 20px rgba(255,62,165,.4); }
.ig-cta-btn:hover { opacity: .85; transform: translateY(-1px); color: #fff; }

.sw-card { background: linear-gradient(135deg, rgba(26,26,46,.95) 0%, rgba(34,0,60,.95) 100%); border: 1px solid rgba(255,62,165,.25); border-radius: 3px; padding: 1.5rem; position: relative; overflow: hidden; }
.sw-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,229,255,.03) 0%, rgba(122,0,255,.03) 100%); pointer-events: none; }
.sw-card-title { font-family: var(--display); font-size: 1rem; font-weight: 700; color: var(--sw-cyan); margin-bottom: .5rem; }
.sw-card-text  { font-size: .85rem; color: rgba(245,242,232,.6); line-height: 1.6; }

.neon-pink   { color: var(--sw-pink);   text-shadow: 0 0 10px rgba(255,62,165,.6); }
.neon-cyan   { color: var(--sw-cyan);   text-shadow: 0 0 10px rgba(0,229,255,.6); }
.neon-purple { color: var(--sw-purple); text-shadow: 0 0 10px rgba(122,0,255,.6); }
.ig-section-dark { background: linear-gradient(135deg, #1a1a2e 0%, #280040 100%); padding: clamp(2.5rem, 6vw, 4rem) 0; }

/* ══════════════════════════════════════════════════════
   MEMORY VAULT ARCHIVE
══════════════════════════════════════════════════════ */
.vault-archive-hero {
  background: linear-gradient(160deg, #1a1a2e 0%, #280040 60%, #222 100%);
  border-bottom: 1px solid var(--border);
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}
.vault-archive-hero::after { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(to bottom,rgba(255,62,165,.03) 0px,rgba(255,62,165,.03) 1px,transparent 1px,transparent 4px); pointer-events: none; }
.vault-archive-hero .container { position: relative; z-index: 1; }
.vault-archive-title { font-family: var(--display); font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; line-height: 1.1; background: var(--grad-warm); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-top: .75rem; margin-bottom: .75rem; }
.vault-archive-sub   { font-size: 1rem; color: var(--text-soft); max-width: 520px; line-height: 1.65; margin-bottom: 1.5rem; }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.site-footer { border-top: 1px solid var(--border); padding: clamp(2rem, 5vw, 3rem) 0; background: #1e1e1e; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer-brand p { font-size: .85rem; color: var(--text-soft); margin-top: .75rem; max-width: 240px; line-height: 1.6; }
.footer-ig { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); margin-top: .75rem; transition: color .15s; }
.footer-ig:hover { color: var(--pink); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.footer-col-label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: var(--text-soft); margin-bottom: .75rem; }
.footer-col ul  { list-style: none; }
.footer-col li  { font-size: .87rem; margin: .35rem 0; }
.footer-col a   { transition: color .15s; color: var(--text-soft); }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: .8rem; color: var(--text-soft); }
.footer-onair { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; display: flex; align-items: center; gap: 6px; }
.footer-onair .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 6px var(--pink); }
.footer-legal { margin-bottom: 1rem; padding: 1rem 1.25rem; background: #282828; border: 1px solid var(--border); border-radius: 3px; font-size: .8rem; color: var(--text-soft); line-height: 1.6; }
.footer-legal strong { color: var(--text); }

@media (max-width: 600px) { .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ══════════════════════════════════════════════════════
   SINGLE POST
══════════════════════════════════════════════════════ */
.single-wrap    { max-width: 760px; margin: 0 auto; padding: clamp(2rem, 6vw, 3.5rem) var(--pad); }
.single-back    { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--text-soft); transition: color .15s; display: inline-block; margin-bottom: 1.5rem; }
.single-back:hover { color: var(--cyan); }
.single-meta    { display: flex; align-items: center; gap: .75rem; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-soft); flex-wrap: wrap; margin-bottom: .75rem; }
.single-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); display: inline-block; }
.single-meta a  { color: var(--cyan); transition: color .15s; }
.single-meta a:hover { color: var(--pink); }
.single-title   { font-family: var(--display); font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; line-height: 1.1; color: var(--text); margin-bottom: 1rem; }
.single-excerpt { font-size: 1.05rem; color: var(--text-soft); line-height: 1.65; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.single-content { font-size: 1rem; line-height: 1.75; color: var(--text); }
.single-content h2 { font-family: var(--display); font-size: 1.5rem; font-weight: 900; margin-top: 2rem; margin-bottom: .75rem; color: var(--text); }
.single-content h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 700; margin-top: 1.75rem; margin-bottom: .5rem; color: var(--text); }
.single-content p  { margin-bottom: 1.1rem; color: var(--text); }
.single-content a  { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(0,229,255,.35); }
.single-content a:hover { color: var(--pink); }
.single-content ul,
.single-content ol { padding-left: 1.5rem; margin-bottom: 1.1rem; }
.single-content li { margin-bottom: .35rem; }
.single-content blockquote { border-left: 3px solid var(--pink); padding: .75rem 1.25rem; background: var(--bg-card); margin: 1.5rem 0; color: var(--text-soft); font-style: italic; }
.single-content img { border-radius: 3px; margin: 1.5rem 0; }
.single-footer  { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: .88rem; color: var(--text-soft); }
.single-footer a { color: var(--cyan); }
.single-footer a:hover { color: var(--pink); }

/* ══════════════════════════════════════════════════════
   PAGE
══════════════════════════════════════════════════════ */
.page-wrap    { max-width: 760px; margin: 0 auto; padding: clamp(2rem, 6vw, 3.5rem) var(--pad); }
.page-title   { font-family: var(--display); font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; margin-bottom: 1.5rem; color: var(--text); }
.page-content { font-size: 1rem; line-height: 1.75; color: var(--text); }
.page-content h2 { font-family: var(--display); font-size: 1.4rem; font-weight: 900; margin: 1.75rem 0 .75rem; color: var(--text); }
.page-content h3 { font-family: var(--display); font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 .5rem; color: var(--text); }
.page-content p  { margin-bottom: 1rem; color: var(--text-soft); }
.page-content a  { color: var(--cyan); text-decoration: underline; }
.page-content a:hover { color: var(--pink); }
.page-content ul,
.page-content ol { padding-left: 1.5rem; margin-bottom: 1rem; color: var(--text-soft); }

/* ══════════════════════════════════════════════════════
   ARCHIVE
══════════════════════════════════════════════════════ */
.archive-wrap        { padding: clamp(2rem, 6vw, 3.5rem) 0; }
.archive-header      { margin-bottom: 2rem; }
.archive-title       { font-family: var(--display); font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; color: var(--text); }
.archive-description { font-size: .92rem; color: var(--text-soft); margin-top: .5rem; max-width: 520px; line-height: 1.6; }
.archive-count       { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--text-soft); margin-top: .5rem; }

/* ══════════════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════════════ */
.pagination { margin-top: 2.5rem; display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.pagination a,
.pagination span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; padding: .5rem .9rem; border: 1px solid var(--border); border-radius: 2px; color: var(--text-soft); transition: background .15s, color .15s, border-color .15s; }
.pagination a:hover      { background: var(--cyan); color: #000; border-color: var(--cyan); }
.pagination span.current { background: var(--cyan); color: #000; border-color: var(--cyan); }

/* ══════════════════════════════════════════════════════
   404
══════════════════════════════════════════════════════ */
.not-found-wrap { text-align: center; padding: clamp(3rem, 8vw, 6rem) var(--pad); }
.not-found-wrap h1 { font-family: var(--display); font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; margin-top: .75rem; color: var(--text); }
.not-found-wrap p  { font-size: .95rem; color: var(--text-soft); margin: 1rem auto; max-width: 380px; line-height: 1.65; }
.not-found-btns    { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ══════════════════════════════════════════════════════
   GUTENBERG BLOCKS (front-end)
══════════════════════════════════════════════════════ */
.page-content h1,.page-content h2,.page-content h3,.page-content h4 { font-family: var(--display); font-weight: 900; color: var(--text); line-height: 1.15; }
.page-content .wp-block-button .wp-block-button__link,
.single-content .wp-block-button .wp-block-button__link { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; border-radius: 2px; padding: .7rem 1.4rem; background: var(--cyan); color: #000; transition: background .18s; }
.page-content .wp-block-button .wp-block-button__link:hover,
.single-content .wp-block-button .wp-block-button__link:hover { background: var(--cyan-dim); }
.page-content .wp-block-button.is-style-outline .wp-block-button__link,
.single-content .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border-color: var(--pink); color: var(--pink); }
.page-content .wp-block-quote,
.single-content .wp-block-quote { border-left: 3px solid var(--pink); padding: .75rem 1.25rem; background: var(--bg-card); margin: 1.5rem 0; color: var(--text-soft); font-style: italic; }
.page-content .wp-block-separator,
.single-content .wp-block-separator { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.page-content .wp-block-code,
.single-content .wp-block-code { font-family: var(--mono); background: var(--bg-card); border: 1px solid var(--border); border-radius: 3px; padding: 1rem 1.25rem; font-size: .875em; overflow-x: auto; color: var(--lime); }
.page-content .wp-block-table td,.page-content .wp-block-table th,
.single-content .wp-block-table td,.single-content .wp-block-table th { border: 1px solid var(--border); padding: .6rem .9rem; text-align: left; font-size: .9rem; color: var(--text); }
.page-content .wp-block-table th,
.single-content .wp-block-table th { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; background: var(--bg-card); color: var(--cyan); }
.page-content figcaption,
.single-content figcaption { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-soft); text-align: center; margin-top: .5rem; }

/* Color utility classes */
.has-cream-color       { color: var(--text) !important; }
.has-ink-soft-color    { color: var(--text-soft) !important; }
.has-teal-color        { color: var(--cyan) !important; }
.has-rust-color        { color: var(--pink) !important; }
.has-mustard-color     { color: var(--yellow) !important; }
.has-neon-pink-color   { color: var(--pink) !important; }
.has-cyan-color        { color: var(--cyan) !important; }
.has-purple-color      { color: var(--purple) !important; }
.has-teal-background-color   { background-color: var(--cyan) !important; }
.has-rust-background-color   { background-color: var(--pink) !important; }
.has-ink-background-color    { background-color: var(--bg) !important; }
.has-cream-dark-background-color { background-color: var(--bg-card) !important; }

.alignleft   { float: left;  margin: 0 1.5rem 1rem 0; }
.alignright  { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.alignwide   { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull   { max-width: none; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); }

@media (max-width: 600px) {
  .alignleft, .alignright { float: none; margin: 0 0 1rem; }
  .alignfull { margin-left: -1rem; margin-right: -1rem; }
}

/* ══════════════════════════════════════════════════════
   WP CORE
══════════════════════════════════════════════════════ */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
