/* ==========================================================================
   7-kabale – theme styles
   ========================================================================== */

@font-face {
	font-family: "DM Sans";
	src: url("../fonts/dm-sans-latin.woff2") format("woff2-variations"),
	     url("../fonts/dm-sans-latin.woff2") format("woff2");
	font-weight: 100 1000;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg: #f6f7f4;
	--surface: #ffffff;
	--ink: #17211c;
	--ink-2: #26302b;
	--muted: #5c6661;
	--line: #e2e6e2;
	--green: #1c5b3d;
	--green-dark: #144630;
	--green-soft: #e4efe7;
	--green-tint: #dcefe3;
	--felt: #22702c;

	--tile-green: #d8eee1;
	--tile-lavender: #e5e2f6;
	--tile-peach: #fde5d4;
	--tile-sky: #dceaf7;
	--tile-sand: #f3ead6;
	--tile-rose: #fbe4e6;

	--red: #d7464a;

	--container: 940px;
	--gutter: 20px;
	--radius: 10px;
	--font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-optical-sizing: auto;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--green); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* Icons ------------------------------------------------------------------ */
.icon { width: 1em; height: 1em; flex: none; }
.suit { width: 1em; height: 1em; }

/* Header ----------------------------------------------------------------- */
.site-header {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	position: relative;
	z-index: 20;
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 64px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--ink);
	font-weight: 700;
	letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand__mark {
	display: grid;
	place-items: center;
	width: 30px;
	height: 33px;
	border-radius: 7px;
	background: var(--green);
	color: #fff;
	transform: rotate(-7deg);
	box-shadow: 0 1px 2px rgba(20, 70, 48, .25);
	transition: transform .25s ease;
}
.brand:hover .brand__mark { transform: rotate(-2deg); }
.brand__mark .suit { width: 17px; height: 17px; }
.brand__name { font-size: 22px; line-height: 1; }
.brand__spade { color: var(--green); display: grid; place-items: center; }
.brand__spade .suit { width: 20px; height: 20px; }

.site-header__right {
	display: flex;
	align-items: center;
	gap: 36px;
	margin-left: auto;
	align-self: stretch;
}
.nav { align-self: stretch; display: flex; }
.nav__list {
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
	align-self: stretch;
}
.nav__list li { display: flex; }
.nav__list a {
	display: flex;
	align-items: center;
	position: relative;
	color: var(--ink-2);
	font-size: 14.5px;
	font-weight: 500;
	white-space: nowrap;
}
.nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: var(--green);
	transform: scaleX(0);
	transition: transform .2s ease;
}
.nav__list a:hover { color: var(--green); }
.nav__list .current-menu-item > a,
.nav__list .current_page_item > a { color: var(--green); }
.nav__list .current-menu-item > a::after,
.nav__list .current_page_item > a::after { transform: scaleX(1); }

.site-header__tagline {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--muted);
	font-size: 13px;
	white-space: nowrap;
}
.site-header__tagline .icon { color: var(--green); width: 15px; height: 15px; }

.nav-toggle {
	display: none;
	margin-left: auto;
	background: none;
	border: 0;
	padding: 8px;
	cursor: pointer;
	color: var(--ink);
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }

/* Layout ----------------------------------------------------------------- */
.site-main { padding-bottom: 72px; }
.wrap > * + * { margin-top: 44px; }
.wrap--game { padding-top: 26px; }
.page-header { padding-top: 28px; }

.divider {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 0;
	margin-top: 44px;
}

/* Type ------------------------------------------------------------------- */
.eyebrow {
	color: var(--green);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-bottom: 8px;
}
.h2 {
	font-size: 27px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--ink);
}
.page-title {
	font-size: 32px;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-top: 22px;
}
.lead {
	color: var(--muted);
	font-size: 17px;
	margin-top: 12px;
}
.prose { color: var(--muted); font-size: 15.5px; line-height: 1.95; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { color: var(--ink); line-height: 1.25; margin-top: 1.6em; }
.prose h2 { font-size: 22px; }
.prose h3 { font-size: 18px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose strong { color: var(--ink-2); }

.arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
	font-size: 15px;
	color: var(--green);
}
.arrow-link .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.arrow-link:hover .icon { transform: translateX(3px); }

.pill {
	display: inline-flex;
	align-items: center;
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--green-tint);
	color: var(--green);
	font-size: 11.5px;
	font-weight: 600;
	white-space: nowrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 12px 18px;
	border-radius: 7px;
	background: var(--green);
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	transition: background .2s ease;
}
.btn:hover { background: var(--green-dark); color: #fff; }
.btn .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }

/* Breadcrumbs ------------------------------------------------------------ */
.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
	color: var(--muted);
}
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green); }
.crumbs__sep { color: #9aa29e; font-size: 15px; padding: 0 3px; line-height: 1; }
.crumbs [aria-current] { color: var(--ink-2); }

/* Game ------------------------------------------------------------------- */
.game__head {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}
.game__title {
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.game__tagline { color: var(--muted); font-size: 13.5px; }
.game__badge { margin-left: auto; align-self: center; }

.game__frame {
	position: relative;
	width: 100%;
	padding-bottom: var(--ratio, 56%);
	border-radius: 6px;
	overflow: hidden;
	background: radial-gradient(ellipse at center, #2b7d35 0%, var(--felt) 55%, #1a5c22 100%);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.game__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.game__frame:fullscreen { padding-bottom: 0; border-radius: 0; }
.game__frame:-webkit-full-screen { padding-bottom: 0; border-radius: 0; }
.game__empty {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 24px;
	color: #fff;
	text-align: center;
	font-size: 14px;
}

.game__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 12px;
	padding: 0 2px;
}
.game__status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--muted);
	font-size: 12.5px;
}
.game__dot {
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--green);
	flex: none;
}
.game__fs {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-left: auto;
	background: none;
	border: 0;
	padding: 4px 10px;
	color: var(--muted);
	font-size: 12.5px;
	cursor: pointer;
	border-radius: 6px;
}
.game__fs:hover { color: var(--green); background: var(--green-soft); }
.game__fs .icon { width: 14px; height: 14px; }

/* Section head ----------------------------------------------------------- */
.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}
.section-head .arrow-link { font-size: 14px; margin-bottom: 4px; white-space: nowrap; }

/* Game cards ------------------------------------------------------------- */
.games__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.game-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	color: var(--ink);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.game-card:hover {
	color: var(--ink);
	transform: translateY(-3px);
	border-color: #d3d9d4;
	box-shadow: 0 12px 28px -14px rgba(23, 33, 28, .28);
}
.game-card__art {
	height: 132px;
	display: grid;
	place-items: center;
	background: var(--tile, var(--tile-green));
	overflow: hidden;
}
.game-card--green    { --tile: var(--tile-green);    --tag-bg: #d6ecdf; --tag-ink: var(--green); }
.game-card--lavender { --tile: var(--tile-lavender); --tag-bg: #e3e0f6; --tag-ink: #2f2c63; }
.game-card--peach    { --tile: var(--tile-peach);    --tag-bg: #fde1cc; --tag-ink: #8a3a12; }
.game-card--sky      { --tile: var(--tile-sky);      --tag-bg: #d7e6f6; --tag-ink: #1d4a77; }
.game-card--sand     { --tile: var(--tile-sand);     --tag-bg: #f1e5c9; --tag-ink: #6b4e14; }
.game-card--rose     { --tile: var(--tile-rose);     --tag-bg: #f9d9dd; --tag-ink: #8a1f2d; }

.game-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.game-card__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.game-card__title .icon { width: 16px; height: 16px; color: var(--green); transition: transform .2s ease; }
.game-card:hover .game-card__title .icon { transform: translateX(3px); }
.game-card__text {
	margin-top: 8px;
	color: var(--muted);
	font-size: 13.5px;
	line-height: 1.65;
}
.tag {
	align-self: flex-start;
	margin-top: 14px;
	padding: 4px 7px;
	border-radius: 4px;
	background: var(--tag-bg, var(--green-tint));
	color: var(--tag-ink, var(--green));
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.games__note { margin-top: 18px; color: var(--muted); font-size: 13px; }

/* Card fan illustration */
.fan {
	position: relative;
	width: 200px;
	height: 100px;
	--w: 58px;
	--h: 80px;
}
.fan__card {
	--mid: calc((var(--n) - 1) / 2);
	--off: calc(var(--i) - var(--mid));
	position: absolute;
	left: 50%;
	top: 50%;
	width: var(--w);
	height: var(--h);
	margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2);
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .06), 0 4px 10px -2px rgba(23, 33, 28, .18);
	color: var(--ink);
	transform:
		translateX(calc(var(--off) * 36px))
		translateY(calc(var(--off) * var(--off) * 3px + 4px))
		rotate(calc(var(--off) * 9deg));
	transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.fan__card.is-red { color: var(--red); }
.fan__rank {
	position: absolute;
	top: 5px;
	left: 7px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
}
.fan__rank--flip {
	top: auto; left: auto;
	right: 7px; bottom: 5px;
	transform: rotate(180deg);
	font-size: 11px;
}
.fan__suit {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 24px;
	height: 24px;
	margin: -10px 0 0 -12px;
}
.game-card:hover .fan__card {
	transform:
		translateX(calc(var(--off) * 40px))
		translateY(calc(var(--off) * var(--off) * 3px + 2px))
		rotate(calc(var(--off) * 11deg));
}

/* Intro + steps ---------------------------------------------------------- */
.intro--split {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}
.intro__text .h2 { margin-bottom: 18px; }
.intro__text .arrow-link { margin-top: 20px; }
.wrap--game .intro { margin-top: 48px; }

.kab-steps .kab-steps__heading {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	margin: 3px 0 22px;
	padding: 0;
	color: var(--ink);
}
/* Unikke klassenavne + nulstilling, så plugins med fx ".step"-styles ikke slår igennem. */
.kab-steps ol.kab-steps__list {
	display: grid;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
	height: auto;
	min-height: 0;
	counter-reset: none;
}
.kab-steps ol.kab-steps__list > li.kab-step {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	margin: 0;
	padding: 0;
	width: auto;
	height: auto;
	min-height: 0;
	float: none;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	list-style: none;
	transform: none;
}
.kab-steps ol.kab-steps__list > li.kab-step::before,
.kab-steps ol.kab-steps__list > li.kab-step::after { content: none; display: none; }
.kab-steps .kab-step__num {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	margin: 0;
	background: var(--green-soft);
	color: var(--green);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}
.kab-steps .kab-step__body { margin: 0; padding: 0; min-width: 0; }
.kab-steps .kab-step__title { font-size: 15px; font-weight: 700; line-height: 1.4; margin: 1px 0 0; padding: 0; color: var(--ink); }
.kab-steps .kab-step__text { margin: 4px 0 0; padding: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* Tip -------------------------------------------------------------------- */
.tip {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 22px 24px;
	background: var(--green-soft);
	border-left: 3px solid var(--green);
	border-radius: 0 8px 8px 0;
}
.tip > .icon { width: 19px; height: 19px; color: var(--green); margin-top: 2px; }
.tip__title { font-weight: 700; font-size: 14.5px; }
.tip__text { margin-top: 3px; color: var(--muted); font-size: 14px; }

/* FAQ -------------------------------------------------------------------- */
.faq {
	display: grid;
	grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
	gap: 56px;
	align-items: start;
}
.faq__sub { color: var(--muted); font-size: 14px; margin-top: 12px; }
.faq__list { border-top: 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0;
	cursor: pointer;
	list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-size: 14.5px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.faq__item summary:hover .faq__q { color: var(--green); }
.faq__item summary .icon {
	width: 16px;
	height: 16px;
	color: var(--muted);
	transition: transform .25s ease;
}
.faq__item[open] summary .icon { transform: rotate(180deg); color: var(--green); }
.faq__a {
	padding: 0 32px 18px 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.75;
}
.faq__a > * + * { margin-top: .7em; }
.faq__a a { text-decoration: underline; text-underline-offset: 2px; }
.faq__item[open] .faq__a { animation: faq-in .25s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Tables (tabelblok og klassiske tabeller i brødtekst) ----------------- */
.prose .wp-block-table,
.prose figure:has(> table) {
	margin: 1.6em 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.prose table {
	width: 100%;
	margin: 1.6em 0;
	border-collapse: separate;
	border-spacing: 0;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--ink-2);
	font-variant-numeric: tabular-nums;
}
.prose .wp-block-table table,
.prose figure > table { margin: 0; }
.prose table th,
.prose table td,
.prose .wp-block-table th,
.prose .wp-block-table td {
	padding: 13px 18px;
	border: 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}
.prose table tr:last-child > td,
.prose table tr:last-child > th { border-bottom: 0; }
.prose table thead tr:last-child > th,
.prose table thead tr:last-child > td { border-bottom: 1px solid var(--line); }
.prose table thead,
.prose .wp-block-table thead { border: 0; }
.prose table thead th,
.prose table thead td,
.prose table tbody th {
	background: var(--green-soft);
	color: var(--ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}
.prose table tbody th { font-size: 14.5px; letter-spacing: 0; text-transform: none; white-space: normal; background: transparent; }
.prose table td:first-child { color: var(--ink); font-weight: 500; }
.prose table tbody tr { transition: background .15s ease; }
.prose table tbody tr:hover { background: #fafbf9; }
.prose table tfoot td,
.prose table tfoot th,
.prose .wp-block-table tfoot td {
	border-top: 1px solid var(--line);
	border-bottom: 0;
	background: #fafbf9;
	font-weight: 600;
	color: var(--ink);
}
.prose .wp-block-table tfoot { border: 0; }
/* "Striber"-stilen i tabelblokken */
.prose .wp-block-table.is-style-stripes { border-bottom: 0; }
.prose .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: transparent; }
.prose .wp-block-table.is-style-stripes tbody tr:nth-child(even) { background: #f8faf7; }
.prose .wp-block-table.is-style-stripes td,
.prose .wp-block-table.is-style-stripes th { border-bottom-color: transparent; }
.prose .wp-block-table.is-style-stripes thead th { border-bottom-color: var(--line); }
/* Tekst i tabeller arver ikke brødtekstens store linjeafstand */
.prose table p { margin: 0; line-height: 1.5; }
.prose table a { font-weight: 500; }
.prose .wp-block-table figcaption,
.prose figure:has(> table) figcaption {
	margin-top: 10px;
	color: var(--muted);
	font-size: 12.5px;
	line-height: 1.5;
	text-align: left;
}
@media (max-width: 600px) {
	.prose table { font-size: 14px; }
	.prose table th,
	.prose table td { padding: 11px 14px; }
}

/* CTA -------------------------------------------------------------------- */
.wrap > .cta { margin-top: 36px; }

/* Default pages / lists -------------------------------------------------- */
.wrap--default .prose { max-width: 680px; }
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.post-list__title { font-size: 19px; font-weight: 700; color: var(--ink); }
.post-list__excerpt { color: var(--muted); margin-top: 4px; }
.wrap--404 .btn { margin-top: 8px; }

/* Footer ----------------------------------------------------------------- */
.site-footer {
	background: var(--surface);
	border-top: 1px solid var(--line);
}
.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	min-height: 112px;
	padding-top: 24px;
	padding-bottom: 24px;
}
.site-footer .brand { gap: 10px; justify-self: start; }
.site-footer .brand__name { font-size: 24px; }
.site-footer__tagline { color: var(--muted); font-size: 12.5px; text-align: center; }
.site-footer__nav {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 22px;
	font-size: 13px;
}
.footer-menu { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-footer__nav a { color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; }
.site-footer__nav a:hover { color: var(--green); }
.site-footer__credit .icon { width: 12px; height: 12px; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 960px) {
	.site-header__tagline { display: none; }
}

@media (max-width: 860px) {
	.games__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.intro--split, .faq { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
	.nav-toggle { display: block; }
	.site-header__right {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--surface);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 14px 24px -18px rgba(0, 0, 0, .3);
		padding: 8px var(--gutter) 18px;
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}
	.nav-open .site-header__right { display: flex; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.nav, .nav__list { flex-direction: column; gap: 0; }
	.nav__list li { display: block; }
	.nav__list a { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
	.nav__list a::after { display: none; }
	.site-header__tagline { display: inline-flex; padding-top: 8px; }

	.game__frame { padding-bottom: max(var(--ratio, 56%), 120%); }
	.game__badge { margin-left: 0; }
}

@media (max-width: 600px) {
	body { font-size: 15px; }
	.wrap > * + * { margin-top: 36px; }
	.divider { margin-top: 36px; }
	.page-title { font-size: 27px; }
	.h2 { font-size: 23px; }
	.games__grid { grid-template-columns: 1fr; }
	.section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
	.tip { padding: 18px; }
	.site-footer__inner { grid-template-columns: 1fr; justify-items: start; text-align: left; gap: 14px; }
	.site-footer__tagline { text-align: left; }
	.site-footer__nav { justify-self: start; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
