/*
Theme Name: Game City
Theme URI: https://wptheme.site/
Author: Jach
Author URI: https://wptheme.site/
Description: Revista de videojuegos con diseño editorial moderno. Al activarla publica artículos, reseñas y comentarios de demostración.
Version: 1.0.1
Requires at least: 6.6
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: game-city
Tags: blog, entertainment, news, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, editor-style, two-columns, right-sidebar
*/

:root {
	--gc-bg: #f3f5f8;
	--gc-bg-deep: #e4e9f0;
	--gc-surface: #ffffff;
	--gc-ink: #12151c;
	--gc-muted: #5c6573;
	--gc-line: rgba(18, 21, 28, 0.1);
	--gc-amber: #2563eb;
	--gc-amber-deep: #1d4ed8;
	--gc-link: #1d4ed8;
	--gc-header: #0e1218;
	--gc-header-text: #f4f7fb;
	--gc-header-muted: rgba(244, 247, 251, 0.64);
	--gc-display: "Fraunces", Georgia, "Times New Roman", serif;
	--gc-sans: "Outfit", "Segoe UI", sans-serif;
	--gc-shadow: 0 16px 40px rgba(36, 28, 18, 0.06);
	--gc-radius: 18px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 120px;
}

body.admin-bar {
	scroll-padding-top: 152px;
}

body {
	margin: 0;
	background:
		radial-gradient(900px 420px at 100% -10%, rgba(37, 99, 235, 0.08), transparent 55%),
		var(--gc-bg);
	color: var(--gc-ink);
	font-family: var(--gc-sans);
	font-size: 1.0625rem;
	line-height: 1.7;
}

img {
	max-width: 100%;
	height: auto;
}

button,
input,
textarea {
	font: inherit;
}

a {
	color: var(--gc-link);
	text-underline-offset: 0.16em;
}

a:hover {
	color: var(--gc-amber-deep);
}

:focus-visible {
	outline: 2px solid var(--gc-amber);
	outline-offset: 3px;
}

::selection {
	background: #bfdbfe;
	color: #12151c;
}

h1,
h2,
h3,
h4 {
	font-family: var(--gc-display);
	font-weight: 560;
	letter-spacing: -0.03em;
	line-height: 1.12;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -48px;
	z-index: 100;
	background: #fff;
	color: #000;
	padding: 8px 12px;
}

.skip-link:focus {
	top: 8px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.container {
	width: min(1120px, calc(100% - 32px));
	margin-inline: auto;
}

.site-main {
	min-height: 50vh;
}

.page-wrap {
	padding-block: 34px 76px;
}

.kicker {
	margin: 0 0 8px;
	color: var(--gc-amber-deep);
	font-family: var(--gc-sans);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.kicker a {
	color: inherit;
	text-decoration: none;
}

.kicker a:hover {
	color: var(--gc-ink);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--gc-header);
	color: var(--gc-header-text);
	border-bottom: 3px solid var(--gc-amber);
}

body.admin-bar .site-header {
	top: 32px;
}

.topbar {
	border-bottom: 1px solid rgba(246, 241, 232, 0.08);
	color: var(--gc-header-muted);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
}

.topbar__inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-block: 8px;
}

.topbar p {
	margin: 0;
}

.header-bar {
	display: flex;
	align-items: center;
	gap: 22px;
	min-height: 78px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
	min-width: 0;
}

.brand__mark {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	flex: none;
	border-radius: 13px;
	background: linear-gradient(145deg, #60a5fa, #1d4ed8 72%);
	color: #f8fbff;
	font-family: var(--gc-display);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: -0.04em;
}

.brand__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.brand__name {
	margin: 0;
	font-family: var(--gc-display);
	font-style: italic;
	font-weight: 560;
	font-size: 1.7rem;
	letter-spacing: -0.04em;
	line-height: 1;
}

.brand__tagline {
	display: block;
	margin: 3px 0 0;
	color: var(--gc-header-muted);
	font-size: 0.78rem;
	letter-spacing: 0.01em;
}

.brand__logo {
	width: 46px;
	height: 46px;
	object-fit: cover;
	border-radius: 13px;
}

.site-header a {
	color: var(--gc-header-text);
	text-decoration: none;
}

.site-header a:hover {
	color: #93c5fd;
}

.primary-nav {
	margin-left: auto;
}

.menu,
.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu a,
.footer-menu a {
	font-size: 0.94rem;
	font-weight: 600;
}

.menu .current-menu-item > a,
.menu .current_page_item > a,
.menu .current-cat > a {
	color: #93c5fd;
}

.nav-toggle,
.search-toggle {
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(246, 241, 232, 0.16);
	border-radius: 12px;
	background: transparent;
	color: var(--gc-header-text);
	cursor: pointer;
}

.nav-toggle {
	display: none;
}

.search-toggle {
	display: inline-flex;
	flex: none;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 16px;
	height: 1.5px;
	background: currentColor;
	position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle__bars::before {
	top: -6px;
}

.nav-toggle__bars::after {
	top: 6px;
}

.search-toggle svg {
	display: block;
}

.header-search {
	padding: 0 0 18px;
}

.header-search .search-form {
	display: flex;
	gap: 8px;
}

.header-search input[type="search"] {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(246, 241, 232, 0.16);
	color: var(--gc-header-text);
}

.header-search button {
	background: #f4f7fb;
	color: #12151c;
}

.site-header.is-compact .topbar {
	display: none;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.72fr);
	gap: 18px;
	align-items: stretch;
}

.hero__main,
.hero__side {
	min-height: 0;
}

.hero__side {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 18px;
	height: 100%;
}

.section-head {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 16px;
	margin: 46px 0 16px;
}

.section-head h2,
.page-header h1,
.single-header h1 {
	margin: 0;
}

.section-head h2 {
	font-size: clamp(1.7rem, 2vw, 2.15rem);
}

.page-header {
	margin-bottom: 26px;
	max-width: 40rem;
}

.page-header h1,
.single-header h1 {
	font-size: clamp(2.1rem, 4.4vw, 3.7rem);
}

.archive-description {
	margin-top: 10px;
	color: var(--gc-muted);
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--gc-surface);
	border: 1px solid var(--gc-line);
	border-radius: var(--gc-radius);
	box-shadow: var(--gc-shadow);
	overflow: hidden;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.card__media {
	position: relative;
}

.card__stretch {
	display: block;
	color: inherit;
	text-decoration: none;
}

.card__overlay {
	position: absolute;
	z-index: 2;
	top: 12px;
	left: 12px;
	right: 12px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 8px;
	pointer-events: none;
}

.card__body {
	padding: 16px 16px 18px;
}

.card__title {
	margin: 0 0 8px;
	font-size: 1.28rem;
}

.card--lead .card__title {
	font-size: clamp(1.7rem, 2.4vw, 2.25rem);
}

.card__title a {
	color: inherit;
	text-decoration: none;
}

.card__title a:hover {
	color: var(--gc-amber-deep);
}

.card__excerpt {
	margin: 0 0 12px;
	color: var(--gc-muted);
	font-size: 0.98rem;
}

.card--lead .cover {
	aspect-ratio: 16 / 11;
}

.hero .card--lead,
.hero .card--compact {
	height: 100%;
}

.card--compact {
	position: relative;
	display: block;
	min-height: 210px;
}

.card--compact .card__stretch,
.card--compact .card__media,
.card--compact .cover {
	height: 100%;
	min-height: 210px;
}

.card--compact .cover {
	aspect-ratio: auto;
}

.card--compact .cover__watermark,
.card--compact .card__excerpt {
	display: none;
}

.card--compact .card__body {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 48px 16px 14px;
	background: linear-gradient(to top, rgba(8, 12, 20, 0.88), transparent);
	color: #f4f7fb;
}

.card--compact .card__title {
	margin: 0;
	font-size: 1.12rem;
}

.card--compact .card__title a,
.card--compact .meta,
.card--compact .meta a {
	color: #f4f7fb;
}

.card--compact .card__title a:hover,
.card--compact .meta a:hover {
	color: #bfdbfe;
}

.card--compact .meta {
	margin-top: 6px;
}

.pill {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.62rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: #12151c;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	pointer-events: auto;
}

.pill:hover {
	color: var(--gc-amber-deep);
}

.score-badge {
	display: grid;
	place-items: center;
	min-width: 48px;
	height: 48px;
	padding: 0 8px;
	border-radius: 999px;
	background: #0e1218;
	color: #f4f7fb;
	font-family: var(--gc-display);
	font-size: 1.02rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

.cover {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #1b1814;
}

.cover__art {
	position: absolute;
	inset: 0;
}

.cover__art::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
	background-size: 46px 46px;
	mask-image: linear-gradient(to bottom, #000 10%, transparent 78%);
}

.art-svg {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
}

.cover__watermark {
	position: absolute;
	z-index: 1;
	right: 5%;
	bottom: -0.16em;
	color: #fff;
	font-family: var(--gc-display);
	font-size: clamp(4.2rem, 8vw, 7.4rem);
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 0.8;
	opacity: 0.18;
	pointer-events: none;
}

.cover__img {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cover:has(.cover__img) .cover__art,
.cover:has(.cover__img) .cover__watermark {
	display: none;
}

.is-palette-1 { background: linear-gradient(155deg, #0f172a, #1e3a8a 58%, #2563eb); color: #dbeafe; }
.is-palette-2 { background: linear-gradient(160deg, #0b1220, #1e293b 62%, #334155); color: #e2e8f0; }
.is-palette-3 { background: linear-gradient(155deg, #082f49, #0e7490 55%, #38bdf8); color: #e0f2fe; }
.is-palette-4 { background: linear-gradient(160deg, #111827, #312e81 52%, #6366f1); color: #e0e7ff; }
.is-palette-5 { background: linear-gradient(155deg, #0c1a2e, #1e40af 50%, #60a5fa); color: #dbeafe; }
.is-palette-6 { background: linear-gradient(160deg, #0f172a, #164e63 58%, #22d3ee); color: #ecfeff; }
.is-palette-7 { background: linear-gradient(155deg, #111827, #1e1b4b 54%, #818cf8); color: #eef2ff; }
.is-palette-8 { background: linear-gradient(160deg, #020617, #1e3a5f 48%, #3b82f6); color: #eff6ff; }

.meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--gc-muted);
	font-size: 0.82rem;
}

.meta a {
	color: inherit;
	text-decoration: none;
}

.meta a:hover {
	color: var(--gc-amber-deep);
}

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 34px;
	align-items: start;
}

.sidebar {
	display: grid;
	gap: 14px;
}

.side-card,
.widget {
	padding: 16px;
	background: var(--gc-surface);
	border: 1px solid var(--gc-line);
	border-radius: 16px;
}

.side-card h2,
.widget-title {
	margin: 0 0 12px;
	font-family: var(--gc-sans);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.side-card p:last-child {
	margin-bottom: 0;
}

.side-list,
.score-list,
.comment-side {
	margin: 0;
	padding: 0;
	list-style: none;
}

.side-list li + li,
.score-list li + li,
.comment-side li + li {
	margin-top: 10px;
}

.side-list a,
.score-list a,
.comment-side a {
	color: inherit;
	text-decoration: none;
}

.side-list a:hover,
.score-list a:hover,
.comment-side a:hover {
	color: var(--gc-amber-deep);
}

.score-list li,
.comment-side li {
	display: grid;
	gap: 2px;
}

.score-list li {
	grid-template-columns: auto minmax(0, 1fr);
	gap: 10px;
	align-items: center;
}

.score-list .score-badge {
	width: 42px;
	height: 42px;
	min-width: 42px;
	font-size: 0.86rem;
}

.comment-side small,
.side-note {
	color: var(--gc-muted);
	font-size: 0.84rem;
}

.single-header {
	padding-top: 34px;
}

.single-header .meta {
	margin-top: 14px;
}

.single-cover {
	position: relative;
	margin-top: 22px;
	border-radius: 22px;
	overflow: hidden;
}

.single-cover .cover {
	aspect-ratio: 21 / 9;
	border-radius: 0;
}

.single-cover .score-badge {
	position: absolute;
	z-index: 3;
	top: 16px;
	right: 16px;
	width: 64px;
	height: 64px;
	font-size: 1.25rem;
}

.single-article .layout {
	margin-top: 28px;
}

.review-box {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 8px 18px;
	align-items: center;
	margin-bottom: 26px;
	padding: 16px 18px;
	background:
		linear-gradient(180deg, rgba(37, 99, 235, 0.08), transparent 70%),
		var(--gc-surface);
	border: 1px solid var(--gc-line);
	border-radius: 16px;
}

.review-box__score {
	grid-row: span 2;
	margin: 0;
	color: var(--gc-amber-deep);
	font-family: var(--gc-display);
	font-size: 3rem;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 0.9;
}

.review-box__verdict {
	margin: 0;
	font-weight: 700;
}

.review-box__platform {
	margin: 0;
	color: var(--gc-muted);
}

.entry-content {
	font-size: 1.08rem;
}

.entry-content h2 {
	margin: 1.5em 0 0.35em;
	font-size: 1.7rem;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1em;
	padding-left: 1.2em;
}

.entry-content li + li {
	margin-top: 0.3em;
}

.entry-content blockquote {
	margin: 1.4em 0;
	padding: 0.15em 0 0.15em 1rem;
	border-left: 3px solid var(--gc-amber);
	font-family: var(--gc-display);
	font-size: 1.45rem;
	font-weight: 560;
	line-height: 1.3;
}

.entry-content img,
.entry-content figure {
	border-radius: 14px;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.tag-list a {
	display: inline-flex;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	background: var(--gc-bg-deep);
	color: var(--gc-ink);
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
}

.author-box {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid var(--gc-line);
}

.author-box p {
	margin: 0;
}

.author-box__role {
	color: var(--gc-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.author-box__name {
	font-family: var(--gc-display);
	font-size: 1.25rem;
}

.avatar {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	flex: none;
	border-radius: 50%;
	background: #1b1814;
	color: #f6f1e8;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.post-navigation {
	margin-top: 28px;
}

.post-navigation .nav-links,
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.post-navigation a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 100%;
	padding: 14px;
	border: 1px solid var(--gc-line);
	border-radius: 14px;
	background: var(--gc-surface);
	color: inherit;
	text-decoration: none;
}

.nav-next {
	text-align: right;
}

.nav-kicker {
	color: var(--gc-amber-deep);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.nav-title {
	font-family: var(--gc-display);
	font-size: 1.05rem;
	line-height: 1.25;
}

.pagination {
	margin-top: 26px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--gc-line);
	border-radius: 999px;
	background: var(--gc-surface);
	color: var(--gc-ink);
	text-decoration: none;
}

.pagination .page-numbers.current {
	background: #1b1814;
	border-color: #1b1814;
	color: #f6f1e8;
}

.related {
	margin-top: 18px;
}

.comments-area {
	margin-top: 36px;
	padding-top: 8px;
}

.comments-title,
.comment-reply-title {
	margin: 0 0 16px;
	font-size: 1.7rem;
}

.comment-list,
.comment-list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin-left: 22px;
	padding-left: 16px;
	border-left: 1px solid var(--gc-line);
}

.gc-comment {
	margin-bottom: 14px;
}

.gc-comment__body {
	padding: 14px;
	background: var(--gc-surface);
	border: 1px solid var(--gc-line);
	border-radius: 16px;
}

.gc-comment__top {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 8px;
}

.gc-comment__top strong {
	display: block;
	font-size: 0.98rem;
}

.gc-comment__top time {
	color: var(--gc-muted);
	font-size: 0.8rem;
}

.gc-comment__top a {
	color: inherit;
	text-decoration: none;
}

.gc-comment__text p:last-child {
	margin-bottom: 0;
}

.comment-reply-link,
.edit-link a {
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
}

.comment-respond {
	margin-top: 22px;
}

.comment-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 14px;
}

.comment-form p {
	margin: 0;
}

.comment-form-comment,
.comment-form-url,
.comment-notes,
.logged-in-as,
.comment-form-cookies-consent,
.form-submit {
	grid-column: 1 / -1;
}

.comment-form-cookies-consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: 0.92rem;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea {
	width: 100%;
	padding: 0.75rem 0.85rem;
	border: 1px solid var(--gc-line);
	border-radius: 12px;
	background: #fff;
	color: var(--gc-ink);
}

textarea {
	min-height: 140px;
	resize: vertical;
}

button,
input[type="submit"],
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.72rem 1.15rem;
	border: 0;
	border-radius: 999px;
	background: #1b1814;
	color: #f6f1e8;
	font-weight: 700;
	cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
	background: #3a2418;
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form label {
	flex: 1;
}

.empty-state,
.miss {
	padding: 8px 0 12px;
}

.miss__code {
	margin: 0;
	color: rgba(27, 24, 20, 0.12);
	font-family: var(--gc-display);
	font-size: clamp(5rem, 14vw, 9rem);
	font-weight: 700;
	letter-spacing: -0.06em;
	line-height: 0.8;
}

.site-footer {
	margin-top: 20px;
	padding: 42px 0 22px;
	background: var(--gc-header);
	color: var(--gc-header-text);
}

.footer-brand {
	max-width: 36rem;
}

.site-footer .brand__name {
	font-size: 2rem;
}

.site-footer h2 {
	margin: 0 0 12px;
	font-family: var(--gc-sans);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gc-header-muted);
}

.footer-menu {
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.site-footer a {
	color: var(--gc-header-text);
	text-decoration: none;
}

.site-footer a:hover {
	color: #93c5fd;
}

.footer-copy {
	margin: 0;
	color: var(--gc-header-muted);
	font-size: 0.92rem;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 28px;
	padding-top: 16px;
	border-top: 1px solid rgba(246, 241, 232, 0.1);
	color: var(--gc-header-muted);
	font-size: 0.85rem;
}

.footer-bottom p {
	margin: 0;
}

@media (hover: hover) {
	.card:hover {
		transform: translateY(-2px);
		border-color: rgba(37, 99, 235, 0.4);
	}
}

@media (max-width: 980px) {
	.hero,
	.layout,
	.comment-form {
		grid-template-columns: 1fr;
	}

	.primary-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		padding: 8px 22px 18px;
		background: #181b20;
		border-bottom: 3px solid var(--gc-amber);
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-nav .menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.header-bar {
		position: relative;
	}

	.site-header {
		position: sticky;
	}

	.brand {
		flex: 1;
	}

	.primary-nav {
		margin-left: 0;
	}

	.single-cover .cover {
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 680px) {
	.container {
		width: min(1120px, calc(100% - 22px));
	}

	.card-grid,
	.post-navigation .nav-links,
	.review-box {
		grid-template-columns: 1fr;
	}

	.hero__side {
		grid-template-rows: none;
	}

	.card--compact,
	.card--compact .cover,
	.card--compact .card__media,
	.card--compact .card__stretch {
		min-height: 220px;
	}

	.review-box__score {
		grid-row: auto;
	}

	.topbar__inner,
	.footer-bottom {
		flex-direction: column;
	}

	.brand__tagline {
		display: none;
	}

	.comment-list .children {
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}

@media print {
	.site-header,
	.site-footer,
	.sidebar,
	.comment-respond,
	.post-navigation,
	.nav-toggle,
	.search-toggle {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

	.layout {
		display: block;
	}
}
