/*
Theme Name: AikoPixel Studios
Theme URI: https://aikopixel.com/
Author: AikoPixel Studios
Description: Tema para un estudio indie de videojuegos, con portada editable y un blog centrado en la lectura.
Version: 1.0.6
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aikopixel-studios
Tags: blog, portfolio, custom-logo, custom-menu, featured-images, threaded-comments, wide-blocks
*/

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel";
  src: url("assets/fonts/cinzel.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #101116;
  --deep: #0c0d11;
  --panel: #171920;
  --panel-hover: #1b1d25;
  --ink: #f6efe3;
  --body: #cbc7c4;
  --muted: #a5a4ad;
  --line: #2c2d36;
  --accent: #d5574d;
  --accent-text: #de5e53;
  --accent-hover: #e66c5e;
  --accent-fill: #771a24;
  --accent-fill-hover: #8f222b;
  --accent-ink: #fff3ed;
  --accent-border: #b93f3f;
  --accent-line: #772d34;
  --display: "Cinzel", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --container: 1248px;
  --reading: 740px;
  --gutter: clamp(20px, 5.3vw, 88px);
  --radius: 12px;
  --ease: cubic-bezier(.2,.7,.23,1);
  --header-height: 80px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--header-height) + 20px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  overflow-wrap: break-word;
}

body.admin-bar { --admin-bar: 32px; }

img { display: block; max-width: 100%; height: auto; }
svg { display: inline-block; vertical-align: middle; }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
::selection { color: var(--deep); background: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--display);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
}

p { margin: 0; }
.site-main { min-height: 44vh; }
.container {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.screen-reader-text, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus, .skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  clip: auto;
  clip-path: none;
  overflow: visible;
  color: var(--deep);
  background: var(--accent);
  border-radius: 6px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: var(--admin-bar, 0px);
  background: rgba(13,14,19,.94);
  border-bottom: 1px solid rgba(203,199,196,.13);
  backdrop-filter: blur(15px);
}

.header-inner {
  min-height: calc(var(--header-height) - 1px);
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  position: relative;
}

.site-brand, .custom-logo-link, .brand-link {
  display: inline-flex;
  align-items: center;
  flex: none;
  color: var(--ink);
  text-decoration: none;
  font: 750 1.1rem/1.1 var(--display);
}

.site-brand img, .brand-link img, .site-header .custom-logo {
  width: 155px;
  max-height: 55px;
  object-fit: contain;
}

.site-nav { margin-inline-start: auto; }
.site-nav ul, .footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-nav > ul, .site-nav > div > ul, .site-nav .menu {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 38px);
}
.site-nav li { position: relative; }
.site-nav a, .footer-nav a {
  display: block;
  color: var(--body);
  font-size: .91rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease;
}
.site-nav a { padding-block: 14px; white-space: nowrap; }
.site-nav a:hover, .site-nav a:focus-visible, .footer-nav a:hover,
.site-nav [aria-current="page"], .site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a {
  color: var(--accent-text);
}

.site-nav .sub-menu {
  display: none;
  position: absolute;
  z-index: 2;
  inset-inline-start: -14px;
  top: 100%;
  min-width: 180px;
  padding: 7px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.site-nav .sub-menu .sub-menu { top: 0; inset-inline-start: calc(100% + 8px); }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: block; }
.site-nav .sub-menu a { padding-block: 8px; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.header-search { position: relative; }
.header-search summary { list-style: none; }
.header-search summary::-webkit-details-marker { display: none; }

.icon-button, .menu-toggle {
  width: 43px;
  height: 43px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.icon-button svg, .menu-toggle svg { width: 19px; height: 19px; }
.icon-button:hover, .menu-toggle:hover, .header-search[open] summary {
  color: var(--accent-text);
  border-color: var(--accent-line);
  background: #771a2429;
}
.menu-toggle, .menu-toggle .icon-close, .is-menu-open .menu-toggle .icon-menu { display: none; }
.is-menu-open .menu-toggle .icon-close { display: block; }
.header-search-panel {
  position: absolute;
  z-index: 3;
  inset-inline-end: 0;
  top: calc(100% + 12px);
  width: min(370px, calc(100vw - 2 * var(--gutter)));
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 36px #0008;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(560px, 46vw, 740px);
  padding-block: clamp(100px, 9vw, 150px);
  overflow: hidden;
  background: #181b28;
  border-bottom: 1px solid #373139;
}

.hero-visual, .hero-visual::after, .hero-image, .hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-visual {
  z-index: -2;
  overflow: hidden;
  background: #0d1018 url("assets/images/hero-nameless-knight.webp") right center / auto 100% no-repeat;
}
.hero-visual--custom { background-image: none; }
.hero-image, .hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center 8%; }
.hero-visual::after {
  content: "";
  background:
    linear-gradient(90deg, #101119 0%, rgba(16,17,25,.91) 23%, rgba(16,17,25,.67) 54%, rgba(16,17,25,.08) 84%),
    linear-gradient(0deg, #101116 0%, transparent 29%),
    linear-gradient(180deg, rgba(13,14,20,.22), transparent 31%);
}
.hero::after {
  z-index: -1;
  content: "";
  background: radial-gradient(ellipse at 15% 72%, #1011165e, transparent 59%);
}
.hero-inner { position: relative; }
.hero-copy { max-width: 805px; position: relative; }
.hero .eyebrow { margin-block-end: 21px; }
.eyebrow, .game-card-kicker, .game-card-meta, .post-card-category, .post-meta,
.article-meta, .article-kicker, .section-kicker, .footer-label {
  font: 500 .73rem/1.5 var(--mono);
  letter-spacing: .115em;
  text-transform: uppercase;
}
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 12px; color: var(--accent-text); }
.eyebrow::before, .section-kicker::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  content: "";
  background: currentColor;
  transform: rotate(45deg);
}
.hero h1 {
  color: var(--ink);
  font-size: clamp(2.9rem, 5.75vw, 5.2rem);
  line-height: 1.03;
  letter-spacing: -.034em;
  text-wrap: pretty;
}
.hero-accent {
  display: block;
  color: #ba2f34;
  text-shadow: 0 0 2px #08090e, 0 2px 16px #08090e;
}
.hero-lead, .hero .lead {
  max-width: 485px;
  margin-block-start: 27px;
  color: #ded7d3;
  font-size: clamp(1rem, 1.4vw, 1.19rem);
  line-height: 1.65;
}
.hero-actions, .button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-block-start: 34px;
}

.button, .wp-element-button, .comment-form .submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 47px;
  padding: 10px 17px;
  color: var(--accent-ink);
  background: var(--accent-fill);
  border: 1px solid var(--accent-border);
  border-radius: 7px;
  text-decoration: none;
  font-family: var(--sans);
  font-size: .91rem;
  font-weight: 750;
  line-height: 1.35;
  transition: transform 220ms var(--ease), background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.button svg, .text-link svg, .wp-element-button svg { width: 17px; height: 17px; flex: none; }
.button:hover, .wp-element-button:hover, .comment-form .submit:hover {
  transform: translateY(-2px);
  background: var(--accent-fill-hover);
}
.button-secondary {
  color: var(--ink);
  background: #16171dd4;
  border-color: #55515a;
}
.button-secondary:hover {
  color: var(--accent-text);
  background: #2e1b1f;
  border-color: var(--accent-line);
}

.section { padding-block: clamp(64px, 8vw, 116px); }
.games-section { background: var(--bg); }
.journal-section {
  background: linear-gradient(180deg, #13151b, #101116 82%);
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px 26px;
  margin-block-end: 29px;
}
.section-heading > div { min-width: 0; }
.section-heading .eyebrow, .section-heading .section-kicker { margin-block-end: 11px; }
.section-heading h2, .section-title { font-size: clamp(2.35rem, 4.3vw, 4rem); }
.section-heading p:not(.eyebrow, .section-kicker) {
  max-width: 590px;
  margin-top: 10px;
  color: var(--muted);
}
.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-text);
  font-size: .91rem;
  font-weight: 750;
  text-decoration: none;
  transition: color 180ms ease;
}
.text-link:hover { color: var(--accent-hover); text-decoration: underline; }
.text-link svg, .text-link [aria-hidden] { transition: transform 220ms var(--ease); }
.text-link:hover svg, .text-link:hover [aria-hidden] { transform: translateX(3px); }

.game-grid, .post-grid {
  display: grid;
  align-items: stretch;
  gap: clamp(15px, 2vw, 24px);
}
.game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 1000px) {
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.game-card, .post-card {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 250ms ease, background 250ms ease, box-shadow 280ms ease, transform 280ms var(--ease);
  overflow: hidden;
}
.game-card:hover, .game-card:focus-within, .post-card:hover, .post-card:focus-within {
  border-color: var(--accent-line);
  background: var(--panel-hover);
  box-shadow: 0 12px 38px #0003;
  transform: translateY(-4px);
}

.game-card-art, .post-card-image {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  flex: none;
  background: #20232b;
  border-bottom: 1px solid var(--line);
}
.game-card-art { aspect-ratio: 2.03; }
.post-card-image { aspect-ratio: 1.8; }
.game-card-art > img, .post-card-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 620ms var(--ease);
}
.game-card:hover .game-card-art > img, .post-card:hover .post-card-image > img {
  transform: scale(1.035);
}
.game-card-art::after, .post-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -30px 46px -33px #0a0b11;
}
.post-card-image--empty {
  background: radial-gradient(ellipse at 50% 40%, #382f36, #252731 62%, #1b1d25);
}
.post-card-image--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/aikopixel-mark.svg") center / auto 34% no-repeat;
  opacity: .22;
}
.game-card-body, .post-card-body {
  flex: 1 1 auto;
  padding: clamp(17px, 2.2vw, 28px);
}
.game-card-body, .post-card-body { display: flex; flex-direction: column; align-items: start; }
.game-card h3 { font-size: clamp(1.6rem, 2.2vw, 2.4rem); }
.post-card h2, .post-card h3 { font-size: clamp(1.45rem, 2.35vw, 2.05rem); }
.game-card h3 a, .post-card h2 a, .post-card h3 a { text-decoration: none; }
.game-card h3 a:hover, .post-card h2 a:hover, .post-card h3 a:hover { color: var(--accent-text); }
.game-card-kicker, .game-card-meta, .post-card-category, .article-kicker { color: var(--accent-text); }
.game-card-body .eyebrow, .game-card-kicker, .game-card-meta, .post-card-category { margin-bottom: 8px; }
.game-card-body .eyebrow::before { display: none; }
.game-card-body p:not(.eyebrow, .game-card-meta, .game-card-kicker),
.post-card-body p:not(.post-meta, .post-card-category, .eyebrow) {
  margin-block-start: 11px;
  max-width: 53ch;
  color: var(--body);
  font-size: .96rem;
}
.game-card-body .text-link, .post-card-body .text-link {
  margin-block-start: auto;
  padding-block-start: 15px;
}
.post-meta, .article-meta {
  color: var(--muted);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 13px;
}
.post-meta a, .article-meta a, .post-card-category a { color: var(--accent-text); text-decoration: none; }
.post-meta a:hover, .article-meta a:hover, .post-card-category a:hover { text-decoration: underline; }
.post-card-body .post-meta { margin-block-end: 10px; }
.post-card-body .post-meta a, .post-card-body .post-meta time { color: inherit; }
.post-card-body .post-meta a:hover { color: var(--accent-text); }
.post-card-title a::after, .game-card-link::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
}
.post-card-body .post-meta a { position: relative; z-index: 2; }
.post-card:focus-within, .game-card:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }

.page-header, .article-header {
  position: relative;
  padding-block: clamp(49px, 7vw, 100px) clamp(36px, 5vw, 64px);
  background: radial-gradient(ellipse at 88% 0%, #2b272c, transparent 62%), var(--deep);
  border-bottom: 1px solid var(--line);
}
.page-header h1, .article-header h1, .article-wrap h1 {
  max-width: 18ch;
  font-size: clamp(3rem, 7vw, 6.1rem);
  line-height: .99;
  letter-spacing: -.032em;
  text-wrap: balance;
}
.page-header .eyebrow, .article-header .eyebrow { margin-block-end: 14px; }
.page-header p:not(.eyebrow, .post-meta, .article-meta), .archive-description {
  max-width: 57ch;
  margin-block-start: 18px;
  font-size: clamp(1.03rem, 1.7vw, 1.25rem);
  color: var(--body);
}
.article-header .post-meta, .article-header .article-meta { margin-block-start: 23px; }
.posts-section { padding-block-start: clamp(24px, 4vw, 53px); }
.blog-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-block-end: 26px; }
.blog-toolbar .search-form { flex: 1 0 250px; max-width: 370px; }
.blog-categories, .article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.blog-categories ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.blog-categories a, .article-tags a {
  display: inline-flex;
  padding: 5px 12px;
  color: var(--body);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-weight: 650;
  font-size: .84rem;
  text-decoration: none;
}
.blog-categories a:hover, .blog-categories [aria-current], .article-tags a:hover {
  color: var(--accent-text);
  border-color: var(--accent-line);
}
.pagination, .posts-navigation {
  margin-top: 42px;
}
.pagination .nav-links, .posts-navigation .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.page-numbers, .page-links a, .page-links .post-page-numbers {
  min-width: 43px;
  display: inline-grid;
  place-items: center;
  padding: 7px 12px;
  color: var(--body);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
}
.page-numbers.current, .page-numbers:hover, .post-page-numbers.current {
  color: var(--accent-text);
  border-color: var(--accent-line);
  background: var(--panel);
}
.page-numbers.dots { border-color: transparent; }
.empty-state, .no-results {
  grid-column: 1/-1;
  max-width: 740px;
  padding: clamp(19px, 4vw, 36px);
  background: var(--panel);
  border: 1px dashed #444652;
  border-radius: var(--radius);
}
.empty-state h2, .no-results h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
.empty-state p, .no-results p { color: var(--body); margin-block: 10px; }
.empty-state .search-form, .no-results .search-form { margin-block-start: 17px; }
.error-404 { min-height: 55vh; }

.search-form {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px;
}
.search-form input[type="search"] { flex: 1 1 125px; min-width: 0; }
input[type="search"], input[type="text"], input[type="email"], input[type="url"],
input[type="password"], input[type="tel"], textarea, select {
  max-width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  color: var(--ink);
  background: var(--deep);
  border: 1px solid #4a4b55;
  border-radius: 6px;
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
.search-submit { min-height: 44px; flex: none; }

.article-wrap {
  width: min(var(--reading), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
.article-header { padding-block: clamp(45px, 6vw, 80px) clamp(34px, 5vw, 66px); }
.article-header h1 { font-size: clamp(2.8rem, 6.4vw, 5.7rem); }
.article-header a, .article-wrap .text-link { text-underline-offset: .23em; }
.article-header .back-link { margin-block-end: 25px; }
.back-link svg { rotate: 180deg; }
.article-categories { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-block-end: 12px; }
.article-categories a { color: var(--accent-text); font: 500 .75rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .10em; text-decoration: none; }
.article-categories a:hover { text-decoration: underline; }
.article-description { margin-block-start: 17px; color: var(--body); font-size: clamp(1.08rem, 1.65vw, 1.28rem); }
.article-tags { padding-block-end: 27px; }
.article-cover {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin: clamp(24px, 4vw, 50px) auto 0;
}
.article-cover img {
  width: 100%;
  max-height: 670px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.entry-content {
  width: min(100%, var(--reading));
  margin-inline: auto;
  padding-block: clamp(26px, 4vw, 54px) clamp(42px, 6vw, 74px);
  color: var(--body);
  font-size: clamp(1.06rem, 1.6vw, 1.2rem);
  line-height: 1.82;
}
.article-cover figcaption { color: var(--muted); font-size: .86rem; text-align: center; margin-block-start: 10px; }
.entry-content > * { margin-block: 0 1.25em; }
.entry-content > :last-child { margin-block-end: 0; }
.entry-content :where(h2,h3,h4,h5,h6) { color: var(--ink); margin-block: 1.38em .55em; }
.entry-content h2 { font-size: clamp(1.9rem, 3.7vw, 3rem); }
.entry-content h3 { font-size: clamp(1.55rem, 2.9vw, 2.25rem); }
.entry-content h4 { font-size: 1.37em; }
.entry-content a:not(.wp-element-button, .button), .comment-content a { color: var(--accent-text); }
.entry-content strong { color: var(--ink); }
.entry-content figure { margin-inline: 0; }
.entry-content figure img { border-radius: 8px; }
.entry-content figcaption, .wp-caption-text {
  margin-top: 9px;
  color: var(--muted);
  font-size: .82rem;
}
.entry-content .alignwide, .entry-content .alignfull {
  width: min(calc(100vw - 2 * var(--gutter)), 1040px);
  max-width: none;
  margin-inline: 50% 0;
  transform: translateX(-50%);
}
.alignleft { float: left; margin: 0 1.15rem 1.15rem 0; }
.alignright { float: right; margin: 0 0 1.15rem 1.15rem; }
.aligncenter { display: table; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.entry-content :where(iframe, video, embed) { max-width: 100%; }
.entry-content :where(.wp-block-embed__wrapper iframe, .wp-block-video video) { width: 100%; }
.entry-content blockquote {
  padding: .3em 0 .3em 1em;
  margin-inline: 0;
  border-inline-start: 2px solid var(--accent);
  color: var(--ink);
}
.entry-content blockquote cite { color: var(--muted); font-size: .86em; }
.entry-content pre, .entry-content code {
  background: var(--panel);
  font-family: var(--mono);
  font-size: .88em;
}
.entry-content pre { overflow: auto; padding: 14px; border: 1px solid var(--line); border-radius: 7px; }
.entry-content :not(pre) > code { padding: .15em .25em; border-radius: 4px; }
.entry-content table { border-collapse: collapse; }
.entry-content :where(td, th) { padding: 7px 10px; border: 1px solid var(--line); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); }
.entry-content::after { display: block; clear: both; content: ""; }
.bypostauthor .comment-author .fn { color: var(--accent-text); }
.post-navigation, .comments-area { border-top: 1px solid var(--line); }
.post-navigation { padding-block: 28px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.post-navigation .nav-next { grid-column: 2; text-align: end; }
.post-navigation a { text-decoration: none; color: var(--ink); font-weight: 700; }
.post-navigation a:hover { color: var(--accent-text); }
.post-navigation .nav-direction { display: block; color: var(--muted); font-size: .82rem; }
.related-posts { border-top: 1px solid var(--line); }
.comments-area { padding-block: 32px 52px; }
.comments-title, .comment-reply-title { margin-bottom: 20px; font-size: clamp(1.6rem, 3.7vw, 2.55rem); }
.comment-list, .comment-list .children { list-style: none; padding: 0; }
.comment-list .children { padding-inline-start: min(3vw, 24px); }
.comment-body { border: 1px solid var(--line); border-radius: 8px; padding: 17px; margin-bottom: 12px; }
.comment-author { display: flex; align-items: center; gap: 8px; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: .78rem; color: var(--muted); margin-block: 4px 7px; }
.comment-content { color: var(--body); }
.reply a { color: var(--accent-text); font-size: .86rem; }
.comment-form > p { margin-block-end: 11px; }
.comment-form label { display: block; }
.comment-form .comment-form-cookies-consent label { display: inline; }
.comment-form textarea { display: block; width: 100%; }

.site-footer {
  background: var(--deep);
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  padding-block: 44px;
}
.footer-inner .brand-link img, .footer-inner .custom-logo { width: 155px; height: auto; }
.footer-brand p { color: var(--muted); font-size: .87rem; margin-top: 7px; }
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(14px, 3vw, 31px);
}
.footer-nav .sub-menu { display: none; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  padding-block: 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .79rem;
}
.footer-bottom a:hover { color: var(--accent-text); }
.reading-progress {
  position: fixed;
  z-index: 21;
  top: calc(var(--header-height) + var(--admin-bar, 0px) - 1px);
  inset-inline: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy { animation: aiko-enter 720ms var(--ease) both; }
  .reveal.is-revealed, [data-reveal].is-revealed { animation: aiko-enter 560ms var(--ease) both; }
  .hero-visual { animation: aiko-landscape 1600ms var(--ease) both; }
  .header-search[open] .header-search-panel { animation: aiko-enter 190ms var(--ease) both; }
  @keyframes aiko-enter {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes aiko-landscape {
    from { opacity: .78; transform: scale(1.025); }
    to { opacity: 1; transform: scale(1); }
  }
}

@media (min-width: 861px) {
  .post-grid--archive:not(.post-grid--search) .post-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
  }
  .post-grid--archive:not(.post-grid--search) .post-card:first-child .post-card-image {
    aspect-ratio: auto;
    min-height: 285px;
    border: 0;
    border-inline-end: 1px solid var(--line);
  }
  .post-grid--archive:not(.post-grid--search) .post-card:first-child .post-card-body { justify-content: center; }
  .post-grid--home .post-card:only-child { grid-column: span 2; }
}

@media (max-width: 860px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 555px; }
  .hero-visual:not(.hero-visual--custom) { background-position: 60% center; }
  .hero-visual::after {
    background: linear-gradient(90deg,#101119e8 0%,#101119a1 44%,#10111918 100%),
                linear-gradient(0deg,#101116 0%,transparent 36%);
  }
}

@media (max-width: 700px) {
  :root { --header-height: 65px; }
  .header-inner { flex-wrap: wrap; gap: 8px; padding-block: 9px; }
  .site-brand img, .brand-link img, .site-header .custom-logo { width: 136px; max-height: 43px; }
  .site-nav {
    width: 100%;
    order: 5;
    margin-inline-start: 0;
    padding-block: 3px 8px;
  }
  .site-nav > ul, .site-nav > div > ul, .site-nav .menu { gap: 0; flex-direction: column; align-items: stretch; }
  .site-nav a { padding-block: 8px; white-space: normal; }
  .site-nav .sub-menu, .site-nav .sub-menu .sub-menu {
    display: block;
    position: static;
    min-width: 0;
    padding: 0 0 0 15px;
    border: 0;
    background: transparent;
  }
  .js .menu-toggle { display: grid; }
  .js .site-header:not(.is-menu-open) .site-nav { display: none; }
  .header-actions { margin-inline-start: auto; }
  .header-search { margin-inline-start: auto; }
  .header-actions .header-search { margin-inline-start: 0; }
  .header-search-panel { inset-inline-end: -1px; width: min(340px, calc(100vw - 2 * var(--gutter) - 48px)); }
  .hero { min-height: 535px; align-items: end; padding-block: 150px 55px; }
  .hero-visual:not(.hero-visual--custom) { background-position: 89% center; }
  .hero-image, .hero-visual > img { object-position: 68% 35%; }
  .hero-visual::after {
    background: linear-gradient(0deg,#101116 0%,#101116ee 30%,#101116de 61%,#10111612 100%);
  }
  .hero-visual:not(.hero-visual--custom)::after {
    background: linear-gradient(0deg, #101116 0%, #101116f4 34%, #101116de 55%, #10111660 69%, #10111612 89%);
  }
  .hero h1 { font-size: clamp(1.75rem, 8.9vw, 3.1rem); }
  .hero .eyebrow { margin-block-end: 15px; }
  .hero-lead, .hero .lead { margin-block-start: 19px; }
  .hero-actions { margin-block-start: 24px; }
  .section-heading { align-items: start; flex-direction: column; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card-art { aspect-ratio: 1.85; }
  .footer-inner { padding-block: 35px; }
  .blog-toolbar .search-form { flex-basis: 100%; max-width: 100%; }
}

@media (max-width: 520px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-card-image { aspect-ratio: 2; }
  .post-navigation .nav-links { grid-template-columns: 1fr; gap: 15px; }
  .post-navigation .nav-next { grid-column: auto; text-align: start; }
  .alignleft, .alignright { float: none; margin-inline: 0; }
}

@media (max-width: 360px) {
  .hero-visual:not(.hero-visual--custom) {
    background-position: 89% top;
    background-size: auto 510px;
  }

  .hero-visual:not(.hero-visual--custom) + .hero-inner { margin-block-start: 70px; }
}

@media (max-width: 782px) { body.admin-bar { --admin-bar: 46px; } }
@media (max-width: 600px) { body.admin-bar { --admin-bar: 0px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .game-card:hover, .game-card:focus-within, .post-card:hover, .post-card:focus-within,
  .button:hover, .wp-element-button:hover, .comment-form .submit:hover,
  .game-card:hover .game-card-art > img, .post-card:hover .post-card-image > img { transform: none; }
}
