/*
Theme Name: JOKI GAME TIMUR
Theme URI: https://veganfilmfestival.net
Author: JOKI GAME TIMUR
Author URI: https://veganfilmfestival.net
Description: Tema klasik untuk JOKI GAME TIMUR — Mengenal Arena dan Petualangan Dunia Game. Layout katalog dengan sidebar filter (kategori, durasi, platform, ukuran tim, gaya bermain), grid kartu dengan load more, halaman kategori otomatis dengan slice anchor, SEO on-page, meta robots index, canonical, Open Graph, schema JSON-LD, dan robots.txt.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
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: jokigametimur
Tags: one-column, two-columns, left-sidebar, custom-colors, threaded-comments, translation-ready
*/

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/jost-latin-wght-normal.woff2") format("woff2-variations"), url("assets/fonts/jost-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("assets/fonts/jost-latin-wght-italic.woff2") format("woff2-variations"), url("assets/fonts/jost-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("assets/fonts/cinzel-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--ink: #1c0904;
	--maroon-950: #120402;
	--maroon-900: #3c0c00;
	--maroon: #5a1a06;
	--rust: #9c300c;
	--copper: #c2552a;
	--ember: #d9772f;
	--gold: #b8892a;
	--gold-500: #c9a24f;
	--gold-300: #e8c47c;
	--gold-200: #f0d89c;
	--gold-text: #8a5f10;
	--cream: #fcf0d8;
	--paper: #fffaf3;
	--surface: #ffffff;
	--sand-50: #f8efe1;
	--line: #eadcc6;
	--line-strong: #d9c5a6;
	--text: #2b140b;
	--muted: #75594a;
	--font-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-brand: "Cinzel", Georgia, "Times New Roman", serif;
	--container: 1200px;
	--gutter: 24px;
	--radius: 4px;
	--shadow: 0 10px 30px -18px rgba(60, 12, 0, .45);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::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 { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--rust); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--maroon); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; color: var(--maroon-900); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: var(--cream); }
.count { color: var(--muted); opacity: .85; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 26px; border-radius: 999px; border: 1px solid transparent;
	font-size: 14px; font-weight: 500; letter-spacing: .02em; text-decoration: none; cursor: pointer;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 36px; padding: 6px 16px; font-size: 13px; }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--maroon); color: #fff; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-text); color: #fff; }
.btn--outline { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn--outline:hover { border-color: var(--maroon); color: var(--maroon); }
.icon-btn { background: none; border: 0; font-size: 28px; line-height: 1; padding: 4px 8px; cursor: pointer; color: var(--text); }

/* ---------- Header ---------- */
.site-header {
	position: relative; z-index: 20;
	background: linear-gradient(180deg, #170602 0%, var(--ink) 100%);
	border-bottom: 1px solid rgba(232, 196, 124, .28);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { position: relative; display: block; flex: 0 0 auto; width: 270px; line-height: 0; text-decoration: none; border-radius: 6px; overflow: hidden; }
.brand__img { display: block; width: 100%; height: auto; }
.site-header__slogan {
	margin: 0; flex: 1 1 auto; text-align: center;
	font-family: var(--font-brand); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300);
}
.site-header__social { display: flex; align-items: center; gap: 14px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; transition: background .2s, color .2s; }
.social--header a { color: var(--gold-200); }
.social--header a:hover { background: rgba(232, 196, 124, .14); color: #fff; }
.social .icon { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--maroon-950); color: var(--cream); text-align: center; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(ellipse 46% 60% at 50% 46%, rgba(18, 4, 2, .62), rgba(18, 4, 2, .18) 70%, transparent 100%);
}
/* HUD game: overlay di sudut hero ("dari mata pemain") */
.hud { position: absolute; inset: 18px; z-index: -1; pointer-events: none; }
.hud img { position: absolute; display: block; height: auto; opacity: .95; }
.hud__status { top: 10px; left: 18px; width: 300px; }
.hud__map { top: 2px; right: 10px; width: 100px; }
.hud__quest { bottom: 10px; left: 10px; width: 270px; }
.hud__bar { bottom: 4px; right: 18px; width: 200px; }
.hud__corner { position: absolute; width: 30px; height: 30px; border: 2px solid rgba(232, 184, 100, .7); }
.hud__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud__corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud__corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud__corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hero--page .hud__status { width: 240px; }
.hero--page .hud__map { width: 80px; }
.hero--page .hud__quest { width: 220px; }
.hero--page .hud__bar { width: 160px; }
.hero__inner { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero--home .hero__inner { min-height: 420px; padding-top: 40px; padding-bottom: 72px; }
.hero--page .hero__inner { min-height: 290px; padding-top: 32px; padding-bottom: 56px; }
.hero__eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-300); }
.hero__title {
	margin: 0 0 10px; max-width: 900px; color: #fff6e4;
	font-family: var(--font-brand); font-weight: 700; letter-spacing: .02em; line-height: 1.15;
	font-size: clamp(28px, 4.2vw, 50px); text-wrap: balance;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .65);
}
.hero--page .hero__title { font-size: clamp(24px, 3.4vw, 40px); }
.hero__sub { margin: 0 0 18px; font-size: clamp(15px, 1.6vw, 19px); font-weight: 300; font-style: italic; color: var(--gold-200); text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin: 0; padding: 0; font-size: 13px; }
.breadcrumb li { color: rgba(252, 240, 216, .82); }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: var(--gold-300); }
.breadcrumb a { color: #fff6e4; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-200); text-decoration: underline; }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; padding-top: 56px; padding-bottom: 80px; }

/* ---------- Sidebar ---------- */
.sidebar__mobile-head { display: none; }
.widget { padding: 0 0 26px; margin: 0 0 26px; border-bottom: 1px solid var(--line); }
.widget:last-child { border-bottom: 0; }
.widget__title { margin: 0 0 14px; font-size: 18px; font-weight: 400; color: var(--text); letter-spacing: .01em; }
.cat-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.cat-list li { margin: 0; }
.cat-list a { display: flex; align-items: center; gap: 8px; padding: 5px 0; color: var(--muted); text-decoration: none; transition: color .2s, padding .2s; }
.cat-list a:hover, .cat-list .is-current a { color: var(--maroon); padding-left: 4px; }
.cat-list .is-current a { font-weight: 500; }
.cat-list .count { margin-left: auto; }
.cat-list .is-current a::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }

/* range */
.range { position: relative; height: 22px; margin: 4px 9px 10px; }
.range__track { position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--line-strong); }
.range__fill { position: absolute; top: 0; bottom: 0; background: var(--maroon-900); }
.range input[type="range"] { position: absolute; left: -9px; width: calc(100% + 18px); top: 0; height: 22px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range input[type="range"]::-webkit-slider-runnable-track { background: none; height: 22px; }
.range input[type="range"]::-moz-range-track { background: none; }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--surface); border: 2px solid var(--maroon-900); cursor: grab; }
.range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid var(--maroon-900); cursor: grab; }
.range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(194, 85, 42, .35); }
.range__label { margin: 0; font-size: 13px; color: var(--muted); }
.range__label strong { color: var(--gold-text); font-weight: 500; }

/* swatches */
.swatch-list { list-style: none; margin: 0; padding: 0; }
.swatch { display: flex; align-items: center; gap: 12px; width: 100%; padding: 5px 0; background: none; border: 0; text-align: left; font-size: 14px; color: var(--muted); cursor: pointer; }
.swatch__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); transition: box-shadow .2s; }
.swatch__label { flex: 1; }
.swatch:hover { color: var(--maroon); }
.swatch[aria-pressed="true"] { color: var(--maroon); font-weight: 500; }
.swatch[aria-pressed="true"] .swatch__dot { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--maroon); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 5px 12px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 13px; color: var(--muted); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--maroon); color: var(--maroon); }
.chip[aria-pressed="true"] { background: var(--maroon-900); border-color: var(--maroon-900); color: var(--cream); }

/* checklist */
.check-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.check-list label { position: relative; display: flex; align-items: center; gap: 10px; padding: 4px 0; color: var(--muted); cursor: pointer; }
.check-list input { position: absolute; opacity: 0; width: 16px; height: 16px; margin: 0; }
.check-list__box { flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); transition: all .2s; }
.check-list input:checked + .check-list__box { border-color: var(--maroon-900); box-shadow: inset 0 0 0 3px var(--surface); background: var(--maroon-900); }
.check-list input:focus-visible + .check-list__box { outline: 2px solid var(--copper); outline-offset: 2px; }
.check-list label:hover { color: var(--maroon); }

/* featured */
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li + li { margin-top: 16px; }
.feature-list a { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--text); }
.feature-list img { width: 64px; height: 77px; object-fit: cover; border-radius: 2px; flex: 0 0 auto; }
.feature-list__body { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.feature-list__title { font-size: 14px; color: var(--text); }
.feature-list a:hover .feature-list__title { color: var(--maroon); }
.feature-list__meta { color: var(--gold-text); }
.stars { display: inline-flex; gap: 1px; font-size: 12px; letter-spacing: 0; }
.star { color: var(--line-strong); }
.star.is-on { color: var(--gold-500); }

/* ---------- Catalog ---------- */
.catalog__intro { max-width: 760px; margin: 0 0 22px; font-size: 15px; color: var(--muted); }
.toolbar { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; }
.toolbar__count { margin: 0; flex: 1; font-size: 13px; color: var(--muted); }
.toolbar__filter { display: none; }
.toolbar__views { display: flex; gap: 6px; }
.view-btn { width: 32px; height: 32px; display: grid; place-items: center; background: none; border: 1px solid transparent; border-radius: var(--radius); color: var(--line-strong); cursor: pointer; }
.view-btn svg { width: 15px; height: 15px; fill: currentColor; }
.view-btn:hover { color: var(--muted); }
.view-btn.is-active { color: var(--text); border-color: var(--line); }
.toolbar__sort select {
	min-height: 36px; padding: 6px 34px 6px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
	background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%232b140b' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center;
	font-size: 13px; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -8px 0 20px; font-size: 13px; }
.active-filters__chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--sand-50); border: 1px solid var(--line); color: var(--maroon); cursor: pointer; }
.active-filters__chip:hover { border-color: var(--maroon); }
.active-filters__clear { background: none; border: 0; padding: 4px 6px; color: var(--rust); text-decoration: underline; cursor: pointer; }

/* grid */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.grid[data-view="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid[data-view="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 18px; }
.js .card.is-collapsed, .card.is-filtered { display: none; }
.card { position: relative; display: flex; flex-direction: column; animation: card-in .45s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.card__link { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.card__media { position: relative; display: block; overflow: hidden; background: var(--sand-50); aspect-ratio: 5 / 6; }
.card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card__link:hover .card__media img, .card__link:focus-visible .card__media img { transform: scale(1.06); }
.card__badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 2px; font-size: 11px; font-weight: 500; line-height: 1.5; letter-spacing: .02em; }
.badge--gold { background: var(--gold); color: #fff; }
.badge--light { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(60, 12, 0, .08); }
.card__cta {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -30%); opacity: 0;
	padding: 8px 18px; border-radius: 999px; background: var(--surface); color: var(--text); font-size: 13px; white-space: nowrap;
	box-shadow: var(--shadow); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.card__link:hover .card__cta, .card__link:focus-visible .card__cta { opacity: 1; transform: translate(-50%, -50%); }
.card__body { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 16px; gap: 2px; }
.card__cat, .card__excerpt { display: none; }
.card__title { font-size: 15px; font-weight: 400; color: var(--text); line-height: 1.4; }
.card__link:hover .card__title { color: var(--maroon); }
.card__meta { font-size: 13px; color: var(--gold-text); }
.card__dots { list-style: none; display: flex; justify-content: center; gap: 6px; margin: 8px 0 0; padding: 0; }
.card__dots li { width: 13px; height: 13px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }

/* list view */
.grid[data-view="list"] { grid-template-columns: 1fr; gap: 24px; }
.grid[data-view="list"] .card { display: grid; grid-template-columns: 180px 1fr; grid-template-rows: auto 1fr; align-items: start; column-gap: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.grid[data-view="list"] .card__link { display: contents; }
.grid[data-view="list"] .card__media { grid-row: 1 / span 2; }
.grid[data-view="list"] .card__body { align-items: flex-start; text-align: left; padding-top: 6px; gap: 4px; }
.grid[data-view="list"] .card__cat { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
.grid[data-view="list"] .card__title { font-size: 20px; }
.grid[data-view="list"] .card__excerpt { display: block; font-size: 14px; color: var(--muted); }
.grid[data-view="list"] .card__dots { justify-content: flex-start; grid-column: 2; margin-top: 4px; }
.grid[data-view="list"] .card__cta { display: none; }

.grid-empty { padding: 48px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

/* load more */
.loadmore { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 56px; }
.loadmore[hidden] { display: none; }
.loadmore__label { margin: 0; font-size: 13px; color: var(--muted); }
.loadmore__bar { width: 200px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.loadmore__bar span { display: block; height: 100%; background: var(--gold-500); transition: width .4s var(--ease); }
.loadmore .btn { min-width: 150px; }
.no-js .loadmore, html:not(.js) .loadmore { display: none; }

/* ---------- Pages ---------- */
.layout--page { grid-template-columns: 250px minmax(0, 1fr); }
.sidebar--page { align-self: start; position: sticky; top: 24px; }
.toc { margin: 0; padding: 0 0 0 18px; font-size: 14px; color: var(--muted); }
.toc li { padding: 3px 0; }
.toc li::marker { color: var(--gold-500); font-size: 12px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--maroon); }
.toc a.is-active { font-weight: 500; }
.widget--cta p { font-size: 14px; color: var(--muted); }

.entry { min-width: 0; }
.entry-content { max-width: 780px; font-size: 17px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content .lead { font-size: 19px; line-height: 1.6; color: var(--maroon); padding: 4px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.entry-content h2 {
	position: relative; margin: 44px 0 14px; padding-top: 6px; scroll-margin-top: 24px;
	font-size: 26px; font-weight: 500; color: var(--maroon-900);
}
.entry-content h2::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: 14px; background: linear-gradient(90deg, var(--gold-500), var(--copper)); border-radius: 2px; }
.entry-content h2:target { animation: target-flash 1.6s var(--ease); }
@keyframes target-flash { 0% { color: var(--copper); } 100% { color: var(--maroon-900); } }
.entry-content h3 { font-size: 20px; font-weight: 500; margin-top: 28px; }
.entry-content ul, .entry-content ol { padding-left: 0; margin: 0 0 1.2em; }
.entry-content ul { list-style: none; }
.entry-content ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.entry-content ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold-500); border-radius: 1px; }
.entry-content ol { padding-left: 22px; }
.entry-content a { color: var(--rust); }
.entry-content blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 3px solid var(--gold-500); background: var(--sand-50); }
.entry-content img { border-radius: var(--radius); }

.related { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.related__title { font-size: 22px; font-weight: 500; margin-bottom: 24px; }
.grid.grid--related { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 32px 20px; }
.cat-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.cat-nav__link { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.cat-nav__link span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cat-nav__link strong { font-weight: 500; color: var(--maroon-900); }
.cat-nav__link:hover { border-color: var(--gold-500); box-shadow: var(--shadow); }
.cat-nav__link--next { text-align: right; }

.post-list { list-style: none; margin: 0; padding: 0; }
.post-list__item { padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.entry-meta { display: block; font-size: 13px; color: var(--muted); }
.notfound { padding-top: 48px; padding-bottom: 80px; max-width: 520px; }

/* Contact Form 7 */
.wpcf7 form { max-width: 620px; }
.wpcf7 label { display: block; font-size: 14px; color: var(--muted); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="url"], .wpcf7 input[type="tel"], .wpcf7 textarea {
	width: 100%; margin-top: 6px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); font-size: 15px;
}
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201, 162, 79, .2); }
.wpcf7 input[type="submit"] { min-height: 44px; padding: 10px 30px; border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: var(--maroon); }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.35fr; gap: 40px; padding-top: 64px; padding-bottom: 56px; }
.footer-col__title { margin: 0 0 18px; font-size: 18px; font-weight: 400; color: var(--text); }
.footer-col__text { font-size: 14px; color: var(--muted); }
.footer-col__text a { color: var(--muted); }
.footer-col__text a:hover { color: var(--maroon); }
.footer-col__label { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.footer-links { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.footer-links li { padding: 3px 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--maroon); text-decoration: underline; }
.social--footer { gap: 2px; margin-left: -8px; }
.social--footer a { color: var(--gold-text); }
.social--footer a:hover { color: var(--maroon); background: var(--sand-50); }
.footer-col--cta .btn { margin-top: 4px; }
.site-footer__bottom { background: var(--ink); color: rgba(252, 240, 216, .78); font-size: 13px; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 16px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: var(--gold-200); text-decoration: none; }
.site-footer__bottom a:hover { color: #fff; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.site-header__slogan { display: none; }
	.grid[data-view="4"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.layout { gap: 36px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.hud__status, .hud__quest, .hud__bar { display: none; }
	.layout--catalog { grid-template-columns: 1fr; padding-top: 32px; }
	.layout--page { grid-template-columns: 1fr; padding-top: 32px; }
	.sidebar--page { position: static; order: 2; padding-top: 32px; border-top: 1px solid var(--line); }
	.layout--catalog .sidebar {
		position: fixed; z-index: 60; top: 0; bottom: 0; left: 0; width: min(340px, 88vw);
		padding: 0 22px 32px; overflow-y: auto; background: var(--paper);
		transform: translateX(-104%); transition: transform .35s var(--ease); box-shadow: 0 0 40px rgba(0, 0, 0, .25);
		visibility: hidden;
	}
	.layout--catalog .sidebar.is-open { transform: none; visibility: visible; }
	.sidebar__mobile-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin: 0 -22px 20px; padding: 14px 16px 14px 22px; background: var(--paper); border-bottom: 1px solid var(--line); font-weight: 500; }
	.sidebar-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(18, 4, 2, .5); }
	.toolbar__filter { display: inline-flex; }
	.toolbar__views { display: none; }
	.grid, .grid[data-view="3"], .grid[data-view="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}

@media (max-width: 640px) {
	:root { --gutter: 16px; }
	.site-header__inner { min-height: 68px; gap: 12px; }
	.brand { width: 210px; }
	.social--header { display: none; }
	.site-header__social .btn span { display: none; }
	.site-header__social .btn { width: 40px; min-height: 40px; padding: 0; }
	.hud { display: none; }
	.hero--home .hero__inner { min-height: 340px; padding-bottom: 48px; }
	.hero--page .hero__inner { min-height: 230px; padding-bottom: 40px; }
	.hero__eyebrow { font-size: 11px; letter-spacing: .24em; }
	.toolbar { flex-wrap: wrap; gap: 10px; }
	.toolbar__count { order: 3; flex-basis: 100%; }
	.toolbar__sort { margin-left: auto; }
	.grid, .grid[data-view] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
	.card__title { font-size: 14px; }
	.card__meta { font-size: 12px; }
	.card__badges { top: 8px; left: 8px; }
	.badge { font-size: 10px; padding: 2px 7px; }
	.entry-content { font-size: 16px; }
	.entry-content .lead { font-size: 17px; }
	.entry-content h2 { font-size: 22px; }
	.cat-nav { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
	.site-footer__bottom-inner { flex-direction: column; }
}
