/*
Theme Name: Untoz Gaming
Theme URI: https://untoz.gaming
Author: Untoz Gaming
Author URI: https://untoz.gaming
Description: A fast, scoreboard-inspired news theme for Untoz Gaming. Built around a "patch notes" visual language — bracketed category tags, a scrolling headline ticker, and a leaderboard-style sidebar — for covering game news, reviews, esports and guides.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: untoz-gaming
Tags: news, blog, grid-layout, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   0. DESIGN TOKENS
   ========================================================= */
:root{
  /* color */
  --untoz-ink: #14171c;            /* page background */
  --untoz-surface: #1b1f26;        /* card background */
  --untoz-surface-raised: #232832; /* hovered / elevated surface */
  --untoz-paper: #f4f1e8;          /* primary text, warm off-white */
  --untoz-paper-dim: #a8acb4;      /* secondary text */
  --untoz-paper-faint: #6b707b;    /* tertiary text / placeholders */
  --untoz-brand: #1d48ff;          /* Untoz Gaming brand blue — solid fills (ticker, buttons, current page) */
  --untoz-signal: #7c9bff;         /* brand blue, lightened for AA contrast as text/links/borders on dark surfaces */
  --untoz-signal-ink: #ffffff;     /* text on brand-blue fills */
  --untoz-pulse: #ffb627;          /* amber accent — category badges, ranks, live / esports */
  --untoz-alert: #e1573f;          /* breaking / urgent */
  --untoz-line: #2a2f38;           /* hairline borders */
  --untoz-line-soft: #20242c;

  /* type */
  --font-display: "Big Shoulders Condensed", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  /* layout */
  --wrap: 1240px;
  --radius: 3px;
  --gap: 1.5rem;
}

/* =========================================================
   1. RESET
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body{
  margin: 0;
  background: var(--untoz-ink);
  color: var(--untoz-paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; height: auto; display: block; }
ul{ margin: 0; padding: 0; list-style: none; }
a{ color: var(--untoz-signal); text-decoration: none; }
a:hover{ text-decoration: underline; }
button{ font-family: inherit; cursor: pointer; }
h1, h2, h3, h4{ margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.01em; line-height: 1.05; color: var(--untoz-paper); text-transform: uppercase; }
p{ margin: 0 0 1.1em; }

:focus-visible{
  outline: 2px solid var(--untoz-signal);
  outline-offset: 2px;
}
.skip-link{
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 999;
  background: var(--untoz-brand);
  color: var(--untoz-signal-ink);
  padding: 0.6em 1em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.skip-link:focus{ left: 1rem; top: 1rem; }

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.screen-reader-text{
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  width: 1px; height: 1px; overflow: hidden;
}

/* =========================================================
   2. PATCH TICKER (top marquee — scoreboard-style headline feed)
   ========================================================= */
.patch-ticker{
  background: var(--untoz-brand);
  color: var(--untoz-signal-ink);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-bottom: 1px solid var(--untoz-ink);
}
.patch-ticker .wrap{ padding: 0; display: flex; align-items: center; }
.patch-ticker__label{
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding: 0.5em 0.9em;
  background: var(--untoz-ink);
  color: var(--untoz-pulse);
}
.patch-ticker__track{
  display: flex;
  overflow: hidden;
  flex: 1 1 auto;
}
.patch-ticker__list{
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-left: 1rem;
  animation: untoz-scroll 38s linear infinite;
  will-change: transform;
}
.patch-ticker:hover .patch-ticker__list{ animation-play-state: paused; }
.patch-ticker__list li{ display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; }
.patch-ticker__list a{ color: var(--untoz-signal-ink); }
.patch-ticker__list a:hover{ text-decoration: underline; }
@keyframes untoz-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .patch-ticker__list{ animation: none; }
  .patch-ticker__track{ overflow-x: auto; }
}

/* =========================================================
   3. SITE HEADER
   ========================================================= */
.site-header{
  background: var(--untoz-ink);
  border-bottom: 1px solid var(--untoz-line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.site-branding{ display: flex; align-items: center; gap: 0.6rem; }
.site-branding img{ max-height: 44px; }
.site-title{
  margin: 0;
  font-size: 1.9rem;
  letter-spacing: 0.02em;
}
.site-title a{ color: var(--untoz-paper); }
.site-title a:hover{ text-decoration: none; color: var(--untoz-signal); }
.site-title .tag{
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--untoz-pulse);
  margin-top: -0.25rem;
}

.main-navigation{ display: flex; align-items: center; }
.main-navigation ul{ display: flex; gap: 1.75rem; }
.main-navigation a{
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--untoz-paper-dim);
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a{
  color: var(--untoz-signal);
  text-decoration: none;
}
.main-navigation .current-menu-item > a{ position: relative; }
.main-navigation .sub-menu{
  display: none;
}

.header-actions{ display: flex; align-items: center; gap: 0.75rem; }
.search-toggle, .menu-toggle{
  background: transparent;
  border: 1px solid var(--untoz-line);
  color: var(--untoz-paper);
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.search-toggle:hover, .menu-toggle:hover{ border-color: var(--untoz-signal); color: var(--untoz-signal); }
.menu-toggle{ display: none; }

.header-search{
  display: none;
  border-bottom: 1px solid var(--untoz-line);
  background: var(--untoz-surface);
}
.header-search.is-open{ display: block; }
.header-search .wrap{ padding-top: 0.9rem; padding-bottom: 0.9rem; }

/* =========================================================
   4. PATCH TAGS (category badges — the signature element)
   ========================================================= */
.patch-tag{
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--untoz-pulse);
  background: rgba(255, 182, 39, 0.1);
  border: 1px solid rgba(255, 182, 39, 0.35);
  padding: 0.22em 0.55em;
  border-radius: var(--radius);
  white-space: nowrap;
}
.patch-tag::before{ content: "["; opacity: 0.6; }
.patch-tag::after{ content: "]"; opacity: 0.6; }
.patch-tag:hover{ color: var(--untoz-ink); background: var(--untoz-pulse); text-decoration: none; }
.patch-tag--alert{
  color: var(--untoz-alert);
  background: rgba(225, 87, 63, 0.12);
  border-color: rgba(225, 87, 63, 0.4);
}
.patch-tag--alert:hover{ color: var(--untoz-ink); background: var(--untoz-alert); }
.patch-tag--video{
  color: var(--untoz-signal);
  background: rgba(124, 155, 255, 0.12);
  border-color: rgba(124, 155, 255, 0.4);
}
.patch-tag--video:hover{ color: var(--untoz-ink); background: var(--untoz-signal); }

/* =========================================================
   5b. VIDEO CARDS (play-button overlay, shared by the
   "Videos" section and the homepage Videos rail)
   ========================================================= */
.video-thumb{ position: relative; display: block; }
.hero-feature .video-thumb{ position: absolute; inset: 0; width: 100%; height: 100%; }
.video-thumb__placeholder{ width: 100%; height: 100%; background: var(--untoz-surface-raised); }
.play-button{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}
.play-button__circle{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(20, 23, 28, 0.55);
  border: 2px solid rgba(244, 241, 232, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.play-button__circle svg{ width: 18px; height: 18px; fill: #fff; margin-left: 2px; }
.post-card--video:hover .play-button__circle,
.hero-feature--video:hover .play-button__circle{
  background: var(--untoz-brand);
  border-color: var(--untoz-brand);
  transform: scale(1.08);
}

/* =========================================================
   5. HERO
   ========================================================= */
.hero{ padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--untoz-line); }
.hero-grid{
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--gap);
}
.hero-feature{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--untoz-surface);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}
.hero-feature img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-feature::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,23,28,0) 30%, rgba(20,23,28,0.95) 100%);
}
.hero-feature .hero-feature__body{
  position: relative;
  z-index: 2;
  padding: 1.75rem;
}
.hero-feature .patch-tag{ margin-bottom: 0.8rem; }
.hero-feature h2{ font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 0.5rem; }
.hero-feature h2 a{ color: var(--untoz-paper); }
.hero-feature h2 a:hover{ color: var(--untoz-signal); text-decoration: none; }
.hero-feature .excerpt{ color: var(--untoz-paper-dim); max-width: 38ch; margin-bottom: 0.6rem; }

.hero-side{ display: flex; flex-direction: column; gap: var(--gap); }
.hero-side .post-card{ flex: 1; }

/* =========================================================
   6. POST CARDS + GRID
   ========================================================= */
.section-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.5rem 0 1.25rem;
}
.section-head h2{
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-head h2::before{
  content: "//";
  color: var(--untoz-signal);
}
.section-head .more-link{
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--untoz-paper-dim);
}
.section-head .more-link:hover{ color: var(--untoz-signal); }

.content-layout{
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.post-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.content-layout .post-grid{ grid-template-columns: repeat(2, 1fr); }

.post-card{
  background: var(--untoz-surface);
  border: 1px solid var(--untoz-line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.post-card:hover{ border-color: var(--untoz-signal); transform: translateY(-2px); }
.post-card__media{ display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--untoz-surface-raised); }
.post-card__media img{ width: 100%; height: 100%; object-fit: cover; }
.post-card__body{ padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.post-card .patch-tag{ align-self: flex-start; }
.post-card h3{ font-size: 1.15rem; text-transform: none; letter-spacing: 0; font-family: var(--font-display); text-transform: uppercase; }
.post-card h3 a{ color: var(--untoz-paper); }
.post-card h3 a:hover{ color: var(--untoz-signal); text-decoration: none; }
.post-card .excerpt{ color: var(--untoz-paper-dim); font-size: 0.92rem; flex: 1; }

.post-meta{
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--untoz-paper-faint);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: auto;
}
.post-meta .sep{ opacity: 0.5; }

/* horizontal compact card (used in hero side, list rows) */
.post-row{
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--untoz-line-soft);
}
.post-row:last-child{ border-bottom: none; }
.post-row__rank{
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--untoz-signal);
  width: 1.6em;
  flex-shrink: 0;
}
.post-row__media{ flex-shrink: 0; width: 84px; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--untoz-surface-raised); }
.post-row__media img{ width: 100%; height: 100%; object-fit: cover; }
.post-row__body h3, .post-row__body h4{ font-size: 0.98rem; margin-bottom: 0.25rem; text-transform: none; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.post-row__body a{ color: var(--untoz-paper); }
.post-row__body a:hover{ color: var(--untoz-signal); text-decoration: none; }

/* =========================================================
   7. SIDEBAR
   ========================================================= */
.sidebar > section{
  background: var(--untoz-surface);
  border: 1px solid var(--untoz-line);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 0.5rem;
  margin-bottom: var(--gap);
}
.widget-title, .sidebar h3{
  font-size: 1rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.widget-title::before, .sidebar h3::before{ content: "//"; color: var(--untoz-signal); }

.leaderboard .post-row__rank{ color: var(--untoz-pulse); }

.newsletter-box{ background: var(--untoz-surface); }
.newsletter-box p{ color: var(--untoz-paper-dim); font-size: 0.9rem; }
.newsletter-form{ display: flex; flex-direction: column; gap: 0.6rem; padding-bottom: 1.25rem; }
.newsletter-form input[type="email"]{
  background: var(--untoz-ink);
  border: 1px solid var(--untoz-line);
  color: var(--untoz-paper);
  padding: 0.6em 0.75em;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  background: var(--untoz-brand);
  color: var(--untoz-signal-ink);
  border: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.7em 1.1em;
  border-radius: var(--radius);
}
.btn:hover{ background: var(--untoz-pulse); color: var(--untoz-ink); text-decoration: none; }

.sidebar .widget{ padding-bottom: 1.25rem; border-bottom: 1px solid var(--untoz-line); margin-bottom: 1.25rem; }
.sidebar .widget:last-child{ border-bottom: none; margin-bottom: 0; }
.sidebar .widget ul li{ padding: 0.35rem 0; border-bottom: 1px dashed var(--untoz-line-soft); font-size: 0.92rem; }
.sidebar .widget ul li:last-child{ border-bottom: none; }
.sidebar .widget a{ color: var(--untoz-paper-dim); }
.sidebar .widget a:hover{ color: var(--untoz-signal); }

/* =========================================================
   8. SINGLE POST
   ========================================================= */
.single-post-header{ padding: 2rem 0 1rem; border-bottom: 1px solid var(--untoz-line); }
.single-post-header .patch-tag{ margin-bottom: 0.9rem; }
.single-post-header h1{ font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.8rem; }
.single-post-header .excerpt{ color: var(--untoz-paper-dim); font-size: 1.05rem; max-width: 60ch; }
.byline{
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--untoz-paper-faint);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 1rem;
}
.byline strong{ color: var(--untoz-paper); }

.single-post-media{ margin: 1.75rem 0; border-radius: var(--radius); overflow: hidden; }

.entry-content{ font-size: 1.06rem; max-width: 72ch; }
.entry-content h2{ font-size: 1.6rem; text-transform: none; margin: 1.8em 0 0.6em; }
.entry-content h3{ font-size: 1.3rem; text-transform: none; margin: 1.6em 0 0.5em; }
.entry-content p{ margin-bottom: 1.2em; }
.entry-content a{ text-decoration: underline; text-decoration-color: rgba(255,182,39,0.4); }
.entry-content img{ border-radius: var(--radius); margin: 1.5em 0; }
.entry-content blockquote{
  margin: 1.6em 0;
  padding: 0.2em 1.3em;
  border-left: 3px solid var(--untoz-signal);
  color: var(--untoz-paper-dim);
  font-style: italic;
}
.entry-content ul, .entry-content ol{ margin: 0 0 1.2em; padding-left: 1.4em; list-style: revert; }
.entry-content code{ background: var(--untoz-surface); padding: 0.15em 0.4em; border-radius: var(--radius); font-family: var(--font-mono); font-size: 0.9em; }

.entry-tags{ display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 2.5rem 0 0; }

.author-box{
  display: flex;
  gap: 1rem;
  background: var(--untoz-surface);
  border: 1px solid var(--untoz-line);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 2.5rem 0;
  max-width: 72ch;
}
.author-box img{ width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; }
.author-box .name{ font-family: var(--font-mono); text-transform: uppercase; font-size: 0.85rem; color: var(--untoz-pulse); margin-bottom: 0.3em; }
.author-box p{ color: var(--untoz-paper-dim); font-size: 0.9rem; margin-bottom: 0; }

/* =========================================================
   9. ARCHIVE / SEARCH / PAGE
   ========================================================= */
.archive-header, .page-header{
  padding: 2.25rem 0 1.5rem;
  border-bottom: 1px solid var(--untoz-line);
  margin-bottom: 2rem;
}
.archive-header .patch-tag{ margin-bottom: 0.7rem; }
.archive-header h1, .page-header h1{ font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.archive-header .archive-description{ color: var(--untoz-paper-dim); margin-top: 0.6rem; max-width: 60ch; }

.page-content{ max-width: 72ch; font-size: 1.06rem; }

.no-results{ padding: 3rem 0; text-align: center; }
.no-results--404{ padding: 5rem 0; }
.no-results__search{ max-width: 420px; margin: 1.5rem auto 0; }
.no-results h2{ font-size: 1.8rem; margin-bottom: 0.6rem; }
.no-results p{ color: var(--untoz-paper-dim); }

/* =========================================================
   10. PAGINATION
   ========================================================= */
.pagination{
  display: flex;
  gap: 0.5rem;
  margin: 2.5rem 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.pagination a, .pagination span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4em;
  height: 2.4em;
  padding: 0 0.5em;
  border: 1px solid var(--untoz-line);
  border-radius: var(--radius);
  color: var(--untoz-paper-dim);
}
.pagination a:hover{ border-color: var(--untoz-signal); color: var(--untoz-signal); text-decoration: none; }
.pagination .current{ background: var(--untoz-brand); color: var(--untoz-signal-ink); border-color: var(--untoz-brand); }

/* =========================================================
   11. COMMENTS
   ========================================================= */
.comments-area{ margin-top: 3rem; max-width: 72ch; }
.comments-title{ font-size: 1.4rem; margin-bottom: 1.25rem; }
.comment-list{ display: flex; flex-direction: column; gap: 1.25rem; }
.comment-body{
  background: var(--untoz-surface);
  border: 1px solid var(--untoz-line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.comment-author{ font-family: var(--font-mono); font-size: 0.82rem; color: var(--untoz-pulse); text-transform: uppercase; }
.comment-meta a{ color: var(--untoz-paper-faint); font-size: 0.78rem; }
.comment-content p{ margin: 0.6em 0 0; color: var(--untoz-paper-dim); }
.comment-respond{ margin-top: 2rem; }
.comment-form label{ display: block; font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--untoz-paper-dim); margin-bottom: 0.4em; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea{
  width: 100%;
  background: var(--untoz-surface);
  border: 1px solid var(--untoz-line);
  color: var(--untoz-paper);
  padding: 0.65em 0.8em;
  border-radius: var(--radius);
  font-family: var(--font-body);
  margin-bottom: 1rem;
}
.comment-form textarea{ min-height: 130px; resize: vertical; }

/* =========================================================
   12. SEARCH FORM
   ========================================================= */
.search-form{ display: flex; gap: 0.5rem; }
.search-form input[type="search"]{
  flex: 1;
  background: var(--untoz-ink);
  border: 1px solid var(--untoz-line);
  color: var(--untoz-paper);
  padding: 0.6em 0.8em;
  border-radius: var(--radius);
  font-family: var(--font-mono);
}
.search-form input[type="search"]::placeholder{ color: var(--untoz-paper-faint); }

/* =========================================================
   13. FOOTER
   ========================================================= */
.site-footer{ border-top: 1px solid var(--untoz-line); margin-top: 3.5rem; background: var(--untoz-surface); }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}
.footer-brand .site-title{ font-size: 1.5rem; }
.footer-brand p{ color: var(--untoz-paper-dim); font-size: 0.9rem; max-width: 32ch; margin-top: 0.8rem; }
.footer-col h4{ font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--untoz-pulse); margin-bottom: 0.9rem; }
.footer-col ul{ display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a{ color: var(--untoz-paper-dim); font-size: 0.9rem; }
.footer-col a:hover{ color: var(--untoz-signal); }
.social-links{ display: flex; gap: 0.6rem; margin-top: 1rem; }
.social-links a{
  width: 34px; height: 34px;
  border: 1px solid var(--untoz-line);
  border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--untoz-paper-dim);
}
.social-links a:hover{ border-color: var(--untoz-signal); color: var(--untoz-signal); }
.site-info{
  border-top: 1px solid var(--untoz-line);
  padding: 1.25rem 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--untoz-paper-faint);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.site-info a{ color: var(--untoz-paper-faint); }
.site-info a:hover{ color: var(--untoz-signal); }

/* =========================================================
   14. RESPONSIVE
   ========================================================= */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .content-layout{ grid-template-columns: 1fr; }
  .post-grid{ grid-template-columns: repeat(2, 1fr); }
  .content-layout .post-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  .main-navigation{
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--untoz-ink);
    border-bottom: 1px solid var(--untoz-line);
    padding: 1rem 1.25rem;
  }
  .main-navigation.is-open{ display: block; }
  .main-navigation ul{ flex-direction: column; gap: 0; }
  .main-navigation li{ border-bottom: 1px solid var(--untoz-line-soft); }
  .main-navigation a{ display: block; padding: 0.85em 0; }
  .menu-toggle{ display: inline-flex; }
  .post-grid{ grid-template-columns: 1fr; }
  .content-layout .post-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; padding: 2rem 0 1.5rem; }
  .site-info{ flex-direction: column; }
  .hero-feature{ min-height: 320px; }
}
