/* KswaGames content pages (games, guides). Loaded after styles.css. Generated pages: build_pages.py */

body.inner main.content { width: min(46rem, var(--page)); }
body.inner main.gamepage, body.inner main.content:has(.game-cards) { width: min(60rem, var(--page)); }
body.inner main.article { width: min(44rem, var(--page)); }

.crumbs { font-family: var(--display); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 1.4rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { margin: 0 0.55rem; color: var(--gold-dim); }
.crumbs [aria-current] { color: var(--gold); }

.byline { margin-bottom: 1.2rem; }
.byline strong { color: var(--ink); font-weight: 600; }

.prose h2 { font-size: 1.3rem; margin-top: 2.4rem; padding-top: 0.2rem; border-top: 1px solid rgba(230,194,122,.18); padding-top: 1.1rem; }
.prose h2:first-child { border-top: 0; }
.prose h3 { font-size: 1.02rem; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose em { color: #e5d3ad; }
.prose blockquote { margin: 0 0 1.2rem; padding: 0.7rem 1.1rem; border-left: 3px solid var(--gold-dim); background: var(--panel); color: var(--muted); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code { background: var(--panel); padding: 0.05rem 0.35rem; border: 1px solid var(--line); font-size: 0.92em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.table-wrap { overflow-x: auto; margin: 0 0 1.4rem; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); background: var(--panel-deep); }
table.data { border-collapse: collapse; width: 100%; font-size: 0.95rem; line-height: 1.35; min-width: 28rem; }
table.data th { font-family: var(--display); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); text-align: left; padding: 0.65rem 0.7rem; background: var(--panel); border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 0.5rem 0.7rem; border-bottom: 1px solid rgba(230,194,122,.12); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:nth-child(even) td { background: rgba(255,255,255,.015); }

figure.art { margin: 0 0 1.5rem; }
figure.art img { width: 100%; height: auto; border: 1px solid var(--line); background: var(--panel-deep); }
figure.art figcaption { margin-top: 0.45rem; font-size: 0.92rem; color: var(--muted); font-style: italic; }
figure.art.small { max-width: 17rem; }
figure.art.right { float: right; margin: 0.2rem 0 1rem 1.4rem; max-width: 12rem; }
@media (max-width: 560px) { figure.art.right { float: none; max-width: 14rem; margin: 0 0 1rem; } }
.clear { clear: both; }

.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin: 2.4rem 0; padding: 1.3rem 1.4rem; border: 1px solid var(--gold-dim); background: linear-gradient(135deg, #241810, #17100b); }
.cta div { display: flex; flex-direction: column; gap: 0.2rem; }
.cta strong { font-family: var(--display); font-size: 1.05rem; letter-spacing: 0.06em; color: var(--ink); }
.cta span { color: var(--muted); font-size: 1rem; }

.btn-play, .btn-ghost { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; padding: 0.85rem 1.4rem; border: 1px solid var(--gold); }
.btn-play { color: var(--bg); background: var(--gold); }
.btn-play:hover, .btn-play:focus-visible { background: #fff4cf; border-color: #fff4cf; color: var(--bg); }
.btn-ghost { color: var(--gold); background: transparent; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: #fff4cf; }
.row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.related { margin-top: 2.6rem; }
.related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .related-list { grid-template-columns: 1fr 1fr; } }
.related-list li { margin: 0; }
.related-list a { display: flex; flex-direction: column; gap: 0.25rem; height: 100%; padding: 0.9rem 1rem; border: 1px solid var(--line); background: var(--panel); text-decoration: none; color: var(--muted); font-size: 0.98rem; line-height: 1.4; }
.related-list a:hover { border-color: var(--gold); }
.related-list strong { font-family: var(--display); font-size: 0.86rem; letter-spacing: 0.04em; color: var(--ink); font-weight: 600; }

.game-hero { position: relative; margin: 0 0 2rem; border: 1px solid var(--line); overflow: hidden; min-height: 18rem; display: flex; align-items: flex-end; background: var(--panel-deep); }
.game-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,7,5,.15) 0%, rgba(10,7,5,.55) 45%, rgba(10,7,5,.95) 100%); }
.game-hero-copy { position: relative; z-index: 1; padding: 2rem 1.6rem 1.7rem; max-width: 36rem; }
.game-hero-copy h1 { margin: 0 0 0.6rem; }
.game-hero .lede { margin: 0 0 1.2rem; color: var(--ink); font-size: 1.15rem; }

.game-cards { display: grid; gap: 1.6rem; grid-template-columns: 1fr; margin: 0 0 2.5rem; }
@media (min-width: 760px) { .game-cards { grid-template-columns: 1fr 1fr; } }
.game-card { border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; }
.game-card-img img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.game-card-body { padding: 1.1rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.game-card-body h2 { margin: 0; padding: 0; border: 0; font-size: 1.4rem; letter-spacing: 0.05em; }
.game-card-body h2 a { color: var(--ink); text-decoration: none; }
.game-card-body p { margin: 0; color: var(--muted); }
.game-card-body .row { margin-top: auto; padding-top: 0.8rem; }

.two-col { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .two-col { grid-template-columns: 1fr 1fr; } }
.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 0 0 1.5rem; }
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery figure.art { margin: 0; }
.cards4 { display: grid; gap: 0.9rem; grid-template-columns: repeat(2, 1fr); margin: 0 0 1.5rem; }
@media (min-width: 640px) { .cards4 { grid-template-columns: repeat(4, 1fr); } }
.cards4 figure.art { margin: 0; }
.cards4 figcaption { font-style: normal; font-size: 0.85rem; text-align: center; }

.prose ul li > ul { margin-top: 0.4rem; }

.prose ul.related-list { padding-left: 0; margin-left: 0; list-style: none; }
.prose ul.related-list li { margin: 0; padding: 0; }
.prose ul.related-list li::marker { content: none; }
