:root {
	--gg-color-primary: #e31e24;
	--gg-color-primary-dark: #b71920;
	--gg-color-text: #1c2430;
	--gg-color-muted: #667085;
	--gg-color-border: #e4e7ec;
	--gg-color-surface: #ffffff;
	--gg-color-background: #f6f7f9;
	--gg-color-accent: #e31e24;
	--gg-color-link-hover: #b71920;
	--gg-container: 1200px;
	--gg-content: 840px;
	--gg-radius: 10px;
	--gg-shadow: 0 8px 24px rgb(16 24 40 / 8%);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--gg-color-background);
	color: var(--gg-color-text);
	font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

body:is(.single-post, .category, .tag, .date) {
	background: var(--gg-color-surface);
}

body.admin-bar .site-header {
	top: 32px;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--gg-color-accent);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.15em;
}

a:hover,
a:focus-visible {
	color: var(--gg-color-link-hover);
}

button,
input,
select,
textarea {
	font: inherit;
}

.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;
}

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--gg-color-surface);
	box-shadow: var(--gg-shadow);
}

.site-container {
	width: min(calc(100% - 32px), var(--gg-container));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--gg-color-surface);
	border-top: 4px solid #333333;
	border-bottom: 1px solid var(--gg-color-border);
}

.site-header__inner {
	display: flex;
	width: min(calc(100% - 64px), 1600px);
	min-height: 82px;
	align-items: center;
	gap: 24px;
}

.header-account {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	white-space: nowrap;
}

.header-account a,
.header-account button,
.header-account__name {
	color: var(--gg-color-primary-dark);
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
}

.header-account__name {
	max-width: 160px;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 640px) {
	.header-account__name {
		max-width: 90px;
	}
}

.header-account button {
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.site-branding {
	flex: 0 0 auto;
	margin-right: 20px;
}

.site-branding__link {
	display: block;
}

.site-branding__logo {
	width: 205px;
	max-width: 100%;
	height: auto;
}

.custom-logo {
	width: auto;
	max-height: 52px;
}

.primary-navigation > ul {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-navigation a {
	color: #777777;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none;
	text-transform: uppercase;
}

.primary-navigation > ul > li > a {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	gap: 6px;
	padding: 0 12px;
	border: 2px solid transparent;
	border-radius: 999px;
	white-space: nowrap;
}

.primary-navigation > ul > .menu-item-has-children > a::after {
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	content: '';
	transform: translateY(-2px) rotate(45deg);
}

.primary-navigation > ul > .current-menu-item > a,
.primary-navigation > ul > .current-menu-ancestor > a,
.primary-navigation > ul > .current_page_item > a,
.primary-navigation > ul > li > a:hover,
.primary-navigation > ul > li > a:focus-visible {
	color: var(--gg-color-accent);
	border-color: var(--gg-color-accent);
}

.primary-navigation .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 2;
	min-width: 220px;
	gap: 2px;
	padding: 8px;
	margin: 0;
	list-style: none;
	background: var(--gg-color-surface);
	border: 1px solid var(--gg-color-border);
	border-radius: 10px;
	box-shadow: var(--gg-shadow);
}

.primary-navigation .sub-menu a {
	display: block;
	padding: 8px 10px;
	border-radius: 6px;
	white-space: nowrap;
}

.primary-navigation .sub-menu .current-menu-item > a,
.primary-navigation .sub-menu a:hover,
.primary-navigation .sub-menu a:focus-visible {
	background: #fff1f1;
	color: var(--gg-color-accent);
}

.primary-navigation li {
	position: relative;
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
	display: grid;
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--gg-color-border);
	border-radius: 8px;
	background: var(--gg-color-surface);
	color: var(--gg-color-text);
	cursor: pointer;
}

.menu-toggle:focus-visible {
	outline: 2px solid var(--gg-color-accent);
	outline-offset: 2px;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 180ms ease, background-color 180ms ease;
}

.menu-toggle__icon {
	position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
	position: absolute;
	left: 0;
	content: '';
}

.menu-toggle__icon::before {
	transform: translateY(-6px);
}

.menu-toggle__icon::after {
	transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
	background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
	transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
	transform: rotate(-45deg);
}

.search-form {
	display: flex;
	width: 100%;
}

.search-field {
	min-width: 0;
	width: 100%;
	padding: 9px 12px;
	border: 1px solid var(--gg-color-border);
	border-right: 0;
	border-radius: 6px 0 0 6px;
	background: var(--gg-color-surface);
	color: var(--gg-color-text);
}

.search-field:focus {
	border-color: var(--gg-color-primary);
	outline: 2px solid rgb(227 30 36 / 20%);
	outline-offset: 0;
}

.search-submit {
	display: inline-grid;
	width: 42px;
	place-items: center;
	border: 0;
	border-radius: 0 6px 6px 0;
	background: var(--gg-color-text);
	color: #ffffff;
	cursor: pointer;
}

.search-submit:hover,
.search-submit:focus-visible {
	background: var(--gg-color-accent);
}

.site-main {
	min-height: 60vh;
}

.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 32px;
	padding-block: 40px;
}

.content-layout--page {
	grid-template-columns: minmax(0, 1fr);
}

body:not(.has-post-sidebar) .content-layout {
	grid-template-columns: minmax(0, 1fr);
}

.page-header {
	margin-bottom: 24px;
}

.page-header--accent {
	padding-left: 18px;
	border-left: 5px solid var(--gg-color-accent);
}

.page-title {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	line-height: 1.2;
}

.archive-description {
	max-width: 760px;
	margin-top: 10px;
	color: var(--gg-color-muted);
}

.archive-description > :last-child {
	margin-bottom: 0;
}

.breadcrumbs {
	margin-bottom: 22px;
	color: var(--gg-color-muted);
	font-size: 0.875rem;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
	margin-left: 8px;
	content: "/";
	color: #98a2b3;
}

.breadcrumbs a {
	color: var(--gg-color-accent);
	text-decoration: none;
}

.breadcrumbs [aria-current="page"] {
	display: inline-block;
	max-width: 52ch;
	overflow: hidden;
	color: var(--gg-color-text);
	text-overflow: ellipsis;
	vertical-align: bottom;
	white-space: nowrap;
}

.entry {
	padding: clamp(20px, 4vw, 40px);
	background: var(--gg-color-surface);
	border: 1px solid var(--gg-color-border);
	border-radius: var(--gg-radius);
}

.entry-title {
	margin: 0;
	font-size: clamp(2rem, 5vw, 3rem);
	line-height: 1.15;
}

.entry-category,
.post-card__category,
.story-kicker {
	display: inline-block;
	margin-bottom: 10px;
	color: var(--gg-color-accent);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
	color: var(--gg-color-muted);
	font-size: 0.9rem;
}

.entry-meta a {
	color: var(--gg-color-accent);
}

.entry-thumbnail {
	margin: 28px 0;
}

.entry-content {
	margin-top: 28px;
	overflow-wrap: anywhere;
}

.entry-content :where(h2, h3, h4) {
	line-height: 1.3;
	scroll-margin-top: 100px;
}

.entry-content h2 {
	margin-top: 1.8em;
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.entry-content h3 {
	margin-top: 1.6em;
	font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

.entry-content blockquote {
	padding: 2px 0 2px 20px;
	margin-inline: 0;
	border-left: 4px solid var(--gg-color-primary);
	color: #344054;
	font-size: 1.1rem;
}

.entry-content :where(img, iframe, video) {
	max-width: 100%;
}

.entry-content .wp-caption {
	max-width: 100%;
}

.entry-content .wp-caption img {
	height: auto;
}

.entry-content table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.entry-content :where(th, td) {
	padding: 10px;
	border: 1px solid var(--gg-color-border);
}

.entry-content > :first-child {
	margin-top: 0;
}

.entry-content > :last-child {
	margin-bottom: 0;
}

.legacy-single {
	display: grid;
	width: min(calc(100% - 32px), 1390px);
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 32px;
	padding-block: 40px;
}

.legacy-single .content-area {
	min-width: 0;
	padding: 0 30px 48px 0;
	border-right: 1px solid var(--gg-color-border);
}

.legacy-single .entry {
	padding: 0;
	border: 0;
	border-radius: 0;
}

.legacy-single .entry-header {
	padding: 30px 24px 0;
	text-align: center;
}

.legacy-single .entry-title {
	font-size: clamp(1.4rem, 2.5vw, 1.65rem);
	line-height: 1.35;
}

.legacy-single .entry-header::after {
	display: block;
	width: 30px;
	height: 3px;
	margin: 18px auto 0;
	background: var(--gg-color-border);
	content: "";
}

.legacy-single .entry-category,
.legacy-single .entry-meta {
	display: none;
}

.legacy-single .entry-thumbnail {
	margin: 40px 0 0;
}

.legacy-single .entry-thumbnail img {
	width: 100%;
}

.legacy-single .entry-content {
	margin-top: 24px;
}

/* Old articles include an inline related-links box; the sidebar replaces it. */
body.single-post .entry-content .related-posts {
	display: none;
}

.related-posts {
	min-width: 0;
	align-self: start;
}

.related-posts .widget-title {
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--gg-color-accent);
}

.related-posts__list {
	display: grid;
	gap: 18px;
}

.related-posts__item {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	align-items: start;
	gap: 12px;
}

.related-posts__item h3 {
	margin: 0;
	font-size: 0.93rem;
	line-height: 1.4;
}

.related-posts__item h3 a {
	color: var(--gg-color-text);
	text-decoration: none;
}

.related-posts__item h3 a:hover,
.related-posts__item h3 a:focus-visible {
	color: var(--gg-color-accent);
}

.article-thumb {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 6px;
}

.article-thumb img,
.article-thumb__placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-thumb__placeholder {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--gg-color-primary), #111827);
	color: #fff;
	font-weight: 800;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.post-grid--four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.legacy-archive {
	width: min(calc(100% - 32px), 1390px);
	padding-block: 0 48px;
}

.legacy-archive .page-header {
	padding-block: 16px 18px;
	margin: 0;
	text-align: center;
}

.legacy-archive .page-title {
	font-size: 1.15rem;
	text-transform: uppercase;
}

.legacy-archive .archive-description {
	max-width: none;
	margin-top: 6px;
	color: var(--gg-color-text);
}

.legacy-archive__posts {
	width: min(100%, 1028px);
	border-right: 1px solid var(--gg-color-border);
}

.legacy-archive-story {
	padding: 28px 30px 44px 0;
	border-bottom: 1px solid var(--gg-color-border);
}

.legacy-archive-story__header {
	margin-bottom: 36px;
	text-align: center;
}

.legacy-archive-story__header h2 {
	margin: 0;
	font-size: clamp(1.35rem, 2.5vw, 1.6rem);
	line-height: 1.3;
}

.legacy-archive-story__header a {
	text-decoration: none;
}

.legacy-archive-story__header::after {
	display: block;
	width: 30px;
	height: 3px;
	margin: 18px auto 0;
	background: var(--gg-color-border);
	content: "";
}

.legacy-archive-story__image {
	display: block;
}

.legacy-archive-story__image img {
	width: 100%;
	height: auto;
}

.legacy-archive-story__excerpt {
	margin: 20px 0 8px;
}

.legacy-archive-story__more {
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
}

.post-list {
	display: grid;
	gap: 20px;
}

.post-list .post-card {
	display: grid;
	grid-template-columns: minmax(180px, 32%) minmax(0, 1fr);
}

.post-card {
	overflow: hidden;
	background: var(--gg-color-surface);
	border: 1px solid var(--gg-color-border);
	border-radius: var(--gg-radius);
	box-shadow: var(--gg-shadow);
}

.post-card__image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.has-no-thumbnail {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--gg-color-primary), #111827);
	color: rgb(255 255 255 / 85%);
	font-size: 2.5rem;
	font-weight: 900;
	text-decoration: none;
}

.post-card__body {
	padding: 20px;
}

.post-card__title {
	margin: 0 0 8px;
	font-size: 1.25rem;
	line-height: 1.35;
}

.post-card__category {
	margin-bottom: 6px;
}

.post-card__title a {
	color: var(--gg-color-accent);
	text-decoration: none;
}

.post-card__excerpt {
	margin: 0;
	color: #475467;
	font-size: 0.95rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.homepage {
	padding-block: 40px;
}

.homepage-banner .ad-banner {
	margin: 0;
}

.homepage-banner--top {
	margin-bottom: 32px;
}

.homepage-banner--bottom {
	margin-top: 40px;
}

.homepage-layout {
	position: relative;
}

.homepage-layout__main {
	min-width: 0;
}

.homepage-ad-rail {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-block: 32px;
}

.homepage-ad-rail .ad-banner {
	width: 100%;
	max-width: 220px;
	margin: 0;
	justify-self: center;
}

@media (min-width: 1800px) {
	.homepage-ad-rail {
		position: absolute;
		top: 0;
		left: calc(100% + 24px);
		display: block;
		width: 260px;
		margin: 0;
	}

	.homepage-ad-rail .ad-banner {
		max-width: none;
		margin-bottom: 20px;
	}
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
	gap: 8px;
}

.hero-story,
.compact-story {
	margin: 0;
}

.hero-story__media,
.compact-story__media {
	display: block;
	position: relative;
	height: 100%;
	min-height: 100%;
	overflow: hidden;
	background: #111827;
	color: #ffffff;
	text-decoration: none;
}

.hero-story__media:hover,
.hero-story__media:focus-visible,
.compact-story__media:hover,
.compact-story__media:focus-visible {
	color: #ffffff;
}

.hero-story__media {
	min-height: 540px;
	border-radius: 12px 0 0 12px;
}

.hero-story__media img,
.compact-story__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

.hero-story__media:hover img,
.compact-story__media:hover img {
	transform: scale(1.025);
}

.hero-story__overlay,
.compact-story__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(0 0 0 / 84%), rgb(0 0 0 / 4%) 70%);
}

.hero-story__content,
.compact-story__content {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: clamp(24px, 4vw, 44px);
}

.hero-story__content h1 {
	max-width: 22ch;
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.08;
}

.hero-story__content p {
	max-width: 65ch;
	margin: 16px 0 0;
	color: rgb(255 255 255 / 84%);
}

.hero-grid__secondary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.compact-story__media {
	min-height: 260px;
}

.compact-story:nth-child(2) .compact-story__media {
	border-radius: 0 12px 0 0;
}

.compact-story:nth-child(4) .compact-story__media {
	border-radius: 0 0 12px;
}

.compact-story__content {
	padding: 18px;
}

.compact-story__content h2 {
	display: -webkit-box;
	max-height: calc(1.3em * 3);
	margin: 0;
	overflow: hidden;
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	line-height: 1.3;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.homepage-section {
	padding-top: 56px;
}

.homepage-section:nth-of-type(even) {
	padding-bottom: 56px;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 14px;
	margin-bottom: 24px;
	border-bottom: 2px solid var(--gg-color-border);
}

.section-heading h2 {
	position: relative;
	margin: 0;
	font-size: clamp(1.4rem, 3vw, 2rem);
	text-transform: uppercase;
}

.section-heading h2::after {
	position: absolute;
	bottom: -16px;
	left: 0;
	width: 72px;
	height: 3px;
	background: var(--gg-color-accent);
	content: "";
}

.section-heading > a {
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.widget {
	padding: 20px;
	margin-bottom: 24px;
	background: var(--gg-color-surface);
	border: 1px solid var(--gg-color-border);
	border-radius: var(--gg-radius);
}

.widget-title {
	margin-top: 0;
	font-size: 1.125rem;
}

.navigation.pagination {
	margin-top: 32px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	display: inline-grid;
	min-width: 40px;
	height: 40px;
	padding-inline: 10px;
	place-items: center;
	border: 1px solid var(--gg-color-border);
	border-radius: 6px;
	background: var(--gg-color-surface);
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	border-color: var(--gg-color-primary);
	background: var(--gg-color-primary);
	color: #ffffff;
}

.post-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 24px;
}

body.single-post .wpb-posts-nav {
	display: none !important;
}

.post-navigation__card {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	min-width: 0;
	padding: 12px;
	background: var(--gg-color-surface);
	border: 1px solid var(--gg-color-border);
	border-radius: var(--gg-radius);
	color: var(--gg-color-text);
	text-decoration: none;
}

.post-navigation__card:hover,
.post-navigation__card:focus-visible {
	border-color: var(--gg-color-accent);
}

.post-navigation__card--next {
	grid-column: 2;
}

.post-navigation__body {
	min-width: 0;
}

.post-navigation__label {
	display: block;
	margin-bottom: 4px;
	color: var(--gg-color-muted);
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
}

.post-navigation__title {
	display: -webkit-box;
	overflow: hidden;
	color: var(--gg-color-accent);
	font-weight: 700;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.comments-area {
	padding: clamp(20px, 4vw, 36px);
	margin-top: 24px;
	background: var(--gg-color-surface);
	border: 1px solid var(--gg-color-border);
	border-radius: var(--gg-radius);
}

.comments-title,
.comment-reply-title {
	margin-top: 0;
}

.comment-list {
	padding: 0;
	list-style: none;
}

.comment-list .children {
	padding-left: 24px;
	list-style: none;
}

.comment-body {
	padding-block: 20px;
	border-bottom: 1px solid var(--gg-color-border);
}

.comment-meta {
	font-size: 0.875rem;
}

.comment-form :where(input:not([type="submit"]), textarea) {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--gg-color-border);
	border-radius: 6px;
}

.comment-form input[type="submit"] {
	padding: 10px 18px;
	border: 0;
	border-radius: 6px;
	background: var(--gg-color-primary);
	color: #ffffff;
	font-weight: 700;
	cursor: pointer;
}

.community-page {
	max-width: 720px;
	padding-block: 48px 80px;
}

.community-form {
	display: grid;
	gap: 12px;
	padding: clamp(20px, 4vw, 36px);
	background: var(--gg-color-surface);
	border: 1px solid var(--gg-color-border);
	border-radius: var(--gg-radius);
}

.community-form label {
	font-weight: 700;
}

.community-form :where(input:not([type="hidden"]), textarea) {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--gg-color-border);
	border-radius: 6px;
}

.community-password {
	position: relative;
}

.community-password input {
	padding-right: 48px;
}

.community-password__toggle {
	position: absolute;
	top: 50%;
	right: 6px;
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	padding: 0;
	transform: translateY(-50%);
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: var(--gg-color-muted);
	cursor: pointer;
}

.community-password__toggle:hover,
.community-password__toggle:focus-visible {
	color: var(--gg-color-primary-dark);
}

.community-password__eye-off,
.community-password__toggle[aria-pressed="true"] .community-password__eye {
	display: none;
}

.community-password__toggle[aria-pressed="true"] .community-password__eye-off {
	display: block;
}

.community-form .button {
	justify-self: start;
	border: 0;
	cursor: pointer;
}

.community-notice,
.community-success {
	padding: 12px 16px;
	border-radius: 6px;
}

.community-notice {
	background: #fff0ef;
	color: #9f2420;
}

.community-login-alert {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 18px;
	margin: 20px 0;
	border: 1px solid #f2c9c5;
	border-radius: 10px;
	background: #fff5f3;
	color: #842b27;
}

.community-login-alert__icon {
	display: grid;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	place-items: center;
	border-radius: 50%;
	background: #c6443a;
	color: #fff;
	font-size: .85rem;
	font-weight: 800;
}

.community-login-alert strong {
	display: block;
	margin-bottom: 3px;
	line-height: 1.4;
}

.community-login-alert p {
	margin: 0;
	font-size: .92rem;
	line-height: 1.55;
}

.community-success {
	background: #eef4fb;
	color: #173e77;
}

.gategame-captcha {
	padding: 16px;
	border: 1px solid #f2d5d7;
	border-radius: 9px;
	background: #fff9f9;
}

.gategame-captcha label {
	display: block;
	margin-bottom: 9px;
	color: #5a3034;
	font-size: .9rem;
	font-weight: 700;
}

.gategame-captcha__row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.gategame-captcha__question {
	display: inline-flex;
	min-width: 100px;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border: 1px solid #f2d5d7;
	border-radius: 6px;
	background: #fff;
	color: #173b68;
	font-weight: 800;
}

.gategame-captcha input[name="gategame_captcha_answer"] {
	width: 74px;
	max-width: 74px;
	min-height: 42px;
	padding: 8px 10px;
	border: 1px solid #dbc5c7;
	border-radius: 6px;
	background: #fff;
	text-align: center;
}

.gategame-captcha__refresh {
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid #f2d5d7;
	border-radius: 6px;
	background: #fff;
	color: var(--gg-color-primary-dark);
	font-size: 1.4rem;
	cursor: pointer;
}

.gategame-captcha__refresh:disabled {
	opacity: .55;
	cursor: wait;
}

.gategame-captcha p {
	margin: 8px 0 0;
	color: var(--gg-color-muted);
	font-size: .8rem;
}

.gategame-recaptcha {
	max-width: 100%;
	min-height: 78px;
}

.community-compose__captcha {
	padding: 0 32px 32px;
}

.community-page--submit {
	max-width: 1160px;
	padding-block: 34px 96px;
}

.community-page--submit .forum-breadcrumb {
	margin-bottom: 28px;
}

.community-compose__header {
	margin-bottom: 34px;
}

.community-compose__eyebrow {
	margin: 0 0 10px;
	color: var(--gg-color-primary);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .11em;
}

.community-compose__header h1 {
	margin: 0 0 8px;
	color: #163b70;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.12;
	letter-spacing: -.035em;
}

.community-compose__header > p:last-child {
	margin: 0;
	color: var(--gg-color-muted);
	font-size: 1.05rem;
}

.community-page--submit > .community-notice,
.community-page--submit > .community-success {
	margin: 0 0 20px;
}

.community-compose__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	align-items: start;
	gap: 24px;
}

.community-compose__panel,
.community-compose__tip-card,
.community-compose__review-card {
	background: var(--gg-color-surface);
	border: 1px solid #dbe3e9;
	border-radius: 16px;
	box-shadow: 0 12px 36px rgb(22 59 112 / 5%);
}

.community-compose__form {
	overflow: hidden;
}

.community-compose__form-heading {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 28px 32px;
	border-bottom: 1px solid #edf0f3;
}

.community-compose__step {
	display: grid;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	place-items: center;
	border-radius: 11px;
	background: #fff0f1;
	color: var(--gg-color-primary-dark);
	font-size: .82rem;
	font-weight: 800;
}

.community-compose__form-heading h2 {
	margin: 0 0 3px;
	color: #173b68;
	font-size: 1.3rem;
	line-height: 1.3;
}

.community-compose__form-heading p {
	margin: 0;
	color: var(--gg-color-muted);
	font-size: .92rem;
}

.community-compose__fields {
	display: grid;
	gap: 25px;
	padding: 30px 32px 32px;
}

.community-compose__field label {
	display: block;
	margin-bottom: 9px;
	color: #26374b;
	font-size: .94rem;
	font-weight: 750;
}

.community-compose__field label span {
	color: var(--gg-color-accent);
}

.community-compose__field :is(input, select, textarea) {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid #ccd6df;
	border-radius: 9px;
	background: #fff;
	color: var(--gg-color-text);
	font: inherit;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.community-compose__field textarea {
	min-height: 230px;
	resize: vertical;
}

.community-compose__field :is(input, textarea)::placeholder {
	color: #98a3b2;
}

.community-compose__field :is(input, select, textarea):focus {
	border-color: var(--gg-color-primary);
	outline: 0;
	box-shadow: 0 0 0 3px rgb(227 30 36 / 14%);
}

.community-compose__hint {
	margin: 7px 0 0;
	color: #788597;
	font-size: .82rem;
	line-height: 1.5;
}

.community-compose__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 32px;
	border-top: 1px solid #edf0f3;
	background: #f9fbfc;
}

.community-compose__actions > span {
	color: var(--gg-color-muted);
	font-size: .85rem;
}

.community-compose__actions .button,
.community-compose__login .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 46px;
	padding: 10px 18px;
	border: 0;
	border-radius: 9px;
	background: var(--gg-color-primary);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.community-compose__actions .button:hover,
.community-compose__login .button:hover {
	background: var(--gg-color-primary-dark);
}

.community-compose__aside {
	display: grid;
	gap: 16px;
}

.community-compose__tip-card {
	padding: 26px;
}

.community-compose__tip-icon {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	margin-bottom: 20px;
	border-radius: 12px;
	background: #fff0f1;
	color: var(--gg-color-primary);
	font-size: 1.45rem;
}

.community-compose__tip-card h2 {
	margin: 0 0 20px;
	color: #173b68;
	font-size: 1.15rem;
	line-height: 1.35;
}

.community-compose__tip-card ul {
	display: grid;
	gap: 15px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.community-compose__tip-card li {
	position: relative;
	padding-left: 23px;
	color: #516173;
	font-size: .9rem;
	line-height: 1.5;
}

.community-compose__tip-card li::before {
	position: absolute;
	top: .39em;
	left: 0;
	width: 11px;
	height: 11px;
	border: 3px solid #ee9ea3;
	border-radius: 50%;
	content: '';
}

.community-compose__review-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 20px 22px;
	background: #fff6f6;
}

.community-compose__review-dot {
	flex: 0 0 9px;
	width: 9px;
	height: 9px;
	margin-top: .5em;
	border-radius: 50%;
	background: var(--gg-color-primary);
}

.community-compose__review-card strong {
	color: #5a3034;
	font-size: .9rem;
}

.community-compose__review-card p {
	margin: 4px 0 0;
	color: #75656b;
	font-size: .85rem;
	line-height: 1.5;
}

.community-compose__login {
	padding: clamp(28px, 5vw, 60px);
	text-align: center;
}

.community-compose__login-icon {
	display: grid;
	width: 64px;
	height: 64px;
	place-items: center;
	margin: 0 auto 20px;
	border-radius: 18px;
	background: #fff0f1;
	color: var(--gg-color-primary);
	font-size: 1.8rem;
}

.community-compose__login h2 {
	margin: 0 0 8px;
	color: #173b68;
}

.community-compose__login > p {
	max-width: 400px;
	margin: 0 auto 24px;
	color: var(--gg-color-muted);
}

@media (max-width: 900px) {
	.community-compose__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.community-compose__aside {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.community-page--submit {
		padding-block: 24px 64px;
	}

	.community-compose__header {
		margin-bottom: 26px;
	}

	.community-compose__form-heading,
	.community-compose__fields {
		padding: 22px;
	}

	.community-compose__actions {
		align-items: stretch;
		flex-direction: column;
		padding: 20px 22px;
	}

	.community-compose__captcha {
		padding: 0 22px 22px;
	}

	.community-compose__aside {
		grid-template-columns: minmax(0, 1fr);
	}
}

.forum-page {
	padding-block: 32px 72px;
}

.forum-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
}

.forum-heading h1 {
	margin: 0 0 4px;
	color: #173e77;
	font-size: clamp(2rem, 4vw, 2.7rem);
	line-height: 1.15;
}

.forum-heading p {
	margin: 0;
	color: var(--gg-color-muted);
}

.forum-eyebrow {
	color: var(--gg-color-primary) !important;
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.forum-heading > .button {
	flex: 0 0 auto;
}

.forum-panel {
	margin-bottom: 22px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #d5dce6;
	border-radius: 7px;
	box-shadow: 0 2px 8px rgb(24 53 86 / 5%);
}

.forum-panel__title {
	margin: 0;
	padding: 10px 16px;
	background: linear-gradient(#f7f9fc, #eaf0f7);
	border-bottom: 1px solid #d5dce6;
	color: #143b73;
	font-size: 1.25rem;
	font-weight: 600;
}

.forum-my-topics ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.forum-my-topics li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-bottom: 1px solid #e2e6ec;
}

.forum-my-topics li:last-child {
	border-bottom: 0;
}

.forum-my-topics li a {
	color: #123c78;
	text-decoration: none;
}

.forum-status {
	flex: 0 0 auto;
	padding: 2px 8px;
	border-radius: 4px;
	background: #fff0f1;
	color: #b71920;
	font-size: .75rem;
	font-weight: 700;
}

.forum-status--pending {
	background: #fff2d7;
	color: #8a5a00;
}

.forum-sample-badge {
	display: inline-block;
	padding: 2px 7px;
	border-radius: 4px;
	background: #fff0f1;
	color: #b71920;
	font-size: .7rem;
	font-weight: 700;
	line-height: 1.5;
	vertical-align: middle;
}

.forum-board-row {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) 150px minmax(220px, 280px);
	align-items: center;
	gap: 16px;
	min-height: 76px;
	padding: 12px 16px;
	border-bottom: 1px solid #e2e6ec;
}

.forum-board-row:last-child,
.forum-topic-row:last-child {
	border-bottom: 0;
}

.forum-board-row__main,
.forum-board-row__latest,
.forum-topic__author {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.forum-board-icon {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border: 3px solid #ffb584;
	border-radius: 50%;
	color: #ffb584;
	font-size: 2.2rem;
	line-height: 32px;
	text-align: center;
}

.forum-board-row__name,
.forum-topic-row h2 a,
.forum-board-row__latest a {
	color: #123c78;
	text-decoration: none;
}

.forum-board-row__name {
	font-weight: 700;
}

.forum-board-row__main p {
	margin: 2px 0 0;
	color: var(--gg-color-muted);
	font-size: .82rem;
}

.forum-board-row__stats {
	display: flex;
	gap: 18px;
}

.forum-board-row__stats span,
.forum-topic-row__replies {
	color: #8993a4;
	font-size: .82rem;
}

.forum-board-row__stats strong,
.forum-topic-row__replies strong {
	display: block;
	color: #1c2430;
	font-size: 1rem;
	font-weight: 600;
}

.forum-board-row__latest img,
.forum-topic-row__avatar img,
.forum-topic__author img {
	flex: 0 0 auto;
	border-radius: 50%;
}

.forum-board-row__latest div {
	min-width: 0;
}

.forum-board-row__latest a {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.forum-board-row__latest small,
.forum-topic-row small,
.forum-topic__author small,
.forum-muted {
	display: block;
	color: #8993a4;
	font-size: .78rem;
}

.forum-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	color: #667085;
	font-size: .9rem;
}

.forum-breadcrumb a {
	color: #123c78;
	text-decoration: none;
}

.forum-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 16px;
	background: #eff4fa;
	border-bottom: 1px solid #d5dce6;
	color: #143b73;
}

.forum-toolbar form {
	display: flex;
	gap: 8px;
}

.forum-toolbar :where(input, select, button) {
	max-width: 180px;
	padding: 7px 10px;
	border: 1px solid #ccd5e0;
	border-radius: 5px;
	background: #fff;
}

.forum-toolbar button {
	background: #143b73;
	color: #fff;
	cursor: pointer;
}

.forum-topic-row {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 86px 150px;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-bottom: 1px solid #e2e6ec;
}

.forum-topic-row h2 {
	margin: 0 0 4px;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
}

.forum-topic-row__activity {
	color: #123c78;
	font-size: .86rem;
	text-align: right;
}

.forum-empty {
	padding: 24px;
}

.forum-pagination {
	padding: 12px 16px;
	border-top: 1px solid #e2e6ec;
}

.forum-pagination ul {
	display: flex;
	gap: 5px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.forum-pagination a,
.forum-pagination span {
	display: block;
	min-width: 34px;
	padding: 5px 8px;
	background: #eff4fa;
	color: #143b73;
	text-align: center;
	text-decoration: none;
}

.forum-pagination .current {
	background: #143b73;
	color: #fff;
}

.forum-topic-page {
	max-width: 960px;
}

.forum-topic {
	padding: clamp(22px, 4vw, 40px);
	background: #fff;
	border: 1px solid #d5dce6;
	border-radius: 7px;
}

.forum-topic__header {
	padding-bottom: 22px;
	margin-bottom: 24px;
	border-bottom: 1px solid #e2e6ec;
}

.forum-topic__header h1 {
	margin: 6px 0 18px;
	color: #173e77;
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	line-height: 1.25;
}

.forum-topic__author span {
	display: grid;
}

.forum-topic__content {
	min-height: 120px;
}

@media (max-width: 850px) {
	.forum-board-row {
		grid-template-columns: minmax(0, 1fr) 120px;
	}
	.forum-board-row__latest {
		grid-column: 1 / -1;
		padding-left: 54px;
	}
}

@media (max-width: 650px) {
	.forum-heading,
	.forum-toolbar {
		align-items: stretch;
		flex-direction: column;
	}
	.forum-board-row {
		grid-template-columns: minmax(0, 1fr);
	}
	.forum-board-row__stats,
	.forum-board-row__latest {
		padding-left: 54px;
	}
	.forum-board-row__latest {
		grid-column: 1;
	}
	.forum-topic-row {
		grid-template-columns: 40px minmax(0, 1fr) 60px;
		gap: 9px;
	}
	.forum-topic-row__activity {
		grid-column: 2 / -1;
		text-align: left;
	}
	.forum-toolbar form {
		flex-wrap: wrap;
	}
}

.error-page {
	padding-block: 40px 80px;
}

.error-page__content {
	max-width: 680px;
	padding: clamp(28px, 6vw, 64px);
	margin: 20px auto 0;
	background: var(--gg-color-surface);
	border-radius: 16px;
	box-shadow: var(--gg-shadow);
	text-align: center;
}

.error-page__code {
	margin: 0;
	color: var(--gg-color-accent);
	font-size: clamp(4rem, 14vw, 8rem);
	font-weight: 900;
	line-height: 0.9;
}

.error-page__content .search-form {
	max-width: 480px;
	margin: 24px auto;
}

.button {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 6px;
	background: var(--gg-color-primary);
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
}

.button:hover,
.button:focus-visible {
	color: #ffffff;
}

.game-archive,
.game-profile {
	padding-block: 40px 64px;
}

.game-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.game-card {
	overflow: hidden;
	background: var(--gg-color-surface);
	border: 1px solid var(--gg-color-border);
	border-radius: var(--gg-radius);
	box-shadow: var(--gg-shadow);
}

.game-card__link {
	display: block;
	color: var(--gg-color-accent);
	text-decoration: none;
}

.game-card__link img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.game-card__body {
	display: grid;
	gap: 6px;
	padding: 16px;
}

.game-card__body strong {
	font-size: 1.05rem;
	line-height: 1.35;
}

.game-card__body small {
	color: var(--gg-color-primary);
	font-weight: 700;
}

.game-profile__article {
	min-width: 0;
}

.game-profile__hero {
	position: relative;
	padding: clamp(22px, 4vw, 48px);
	overflow: hidden;
	border: 1px solid #28364a;
	border-radius: 22px;
	background: radial-gradient(circle at 94% 0, rgb(227 30 36 / 22%), transparent 36%), linear-gradient(135deg, #111d2d, #172538 64%, #101923);
	color: #fff;
	box-shadow: 0 24px 60px rgb(16 24 40 / 16%);
}

.game-profile__top {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: start;
	gap: clamp(24px, 4vw, 52px);
}

.game-profile__gallery,
.game-profile__summary {
	min-width: 0;
}

.game-profile__stage {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 15%);
	border-radius: 16px;
	background: #0b1521;
}

.game-profile__cover-link,
.game-profile__cover-placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
}

.game-profile__cover {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.game-profile__cover-placeholder {
	color: rgb(255 255 255 / 30%);
	font-size: clamp(4rem, 12vw, 8rem);
	font-weight: 900;
}

.game-profile__screenshots {
	display: flex;
	gap: 10px;
	padding: 14px 2px 4px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
}

.game-profile__screenshot {
	flex: 0 0 80px;
	width: 80px;
	height: 64px;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 9px;
	background: #0b1521;
	cursor: pointer;
	scroll-snap-align: start;
}

.game-profile__screenshot[aria-pressed="true"],
.game-profile__screenshot:hover,
.game-profile__screenshot:focus-visible {
	border-color: #ff5b61;
}

.game-profile__screenshot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.game-profile__eyebrow {
	margin: 0 0 12px;
	color: #ff8589;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.game-profile__summary h1 {
	margin: 0;
	font-size: clamp(2.2rem, 4vw, 3.7rem);
	line-height: 1.08;
}

.game-profile__intro {
	margin-top: 20px;
	color: #cad5e3;
	font-size: 1.04rem;
}

.game-profile__intro p:first-child {
	margin-top: 0;
}

.game-profile__intro p:last-child {
	margin-bottom: 0;
}

.game-profile__categories {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-top: 24px;
	font-size: 0.9rem;
}

.game-profile__categories > span {
	flex: 0 0 94px;
	color: #97a8bc;
}

.game-profile__categories > div {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.game-profile__categories a {
	padding: 3px 9px;
	border: 1px solid rgb(255 255 255 / 18%);
	border-radius: 999px;
	background: rgb(255 255 255 / 8%);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
}

.game-profile__categories a:hover,
.game-profile__categories a:focus-visible {
	color: #ff8589;
}

.game-profile__save {
	margin-top: 16px;
}

.game-profile .game-favorite {
	padding: 8px 14px;
	border: 1px solid rgb(255 255 255 / 28%);
	border-radius: 8px;
	color: #fff;
}

.game-profile .game-favorite:hover,
.game-profile .game-favorite:focus-visible {
	border-color: #ff8589;
	color: #ff8589;
}

.game-profile__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	align-items: start;
	gap: 24px;
	margin-top: 28px;
}

.game-profile__body--wide {
	grid-template-columns: minmax(0, 1fr);
}

.game-profile__main {
	min-width: 0;
}

.game-profile__details {
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid var(--gg-color-border);
	border-radius: 18px;
	background: #fff;
}

.game-profile__section-heading > span {
	color: var(--gg-color-accent);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.game-profile__section-heading h2 {
	margin: 5px 0 0;
	font-size: clamp(1.6rem, 3vw, 2.25rem);
	line-height: 1.2;
}

.game-profile__content {
	max-width: 940px;
	margin-top: 28px;
}

.game-profile__content [style*="font-family"] {
	font-family: inherit !important;
}

.game-profile__content .related-posts {
	display: none;
}

.game-profile__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: start;
	gap: 10px 16px;
	margin-top: 20px;
	color: var(--gg-color-muted);
	font-size: 0.86rem;
}

.game-profile__tags > div {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.game-profile__tags a {
	padding: 4px 10px;
	border: 1px solid var(--gg-color-border);
	border-radius: 999px;
	background: #fff;
	color: var(--gg-color-text);
	text-decoration: none;
}

.game-profile__tags a:hover,
.game-profile__tags a:focus-visible {
	border-color: var(--gg-color-accent);
	color: var(--gg-color-accent);
}

.game-profile__sidebar {
	position: sticky;
	top: 110px;
	min-width: 0;
	padding: 24px;
	border: 1px solid var(--gg-color-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--gg-shadow);
}

.game-profile__sidebar .game-profile__section-heading h2 {
	font-size: 1.25rem;
}

.game-profile__related-list {
	display: grid;
	gap: 0;
	padding: 0;
	margin: 18px 0 0;
	list-style: none;
}

.game-profile__related-list li + li {
	border-top: 1px solid var(--gg-color-border);
}

.game-profile__related-list a {
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	color: var(--gg-color-text);
	text-decoration: none;
}

.game-profile__related-list a:hover,
.game-profile__related-list a:focus-visible {
	color: var(--gg-color-accent);
}

.game-profile__related-image {
	display: block;
	width: 78px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 9px;
	background: #e8edf2;
}

.game-profile__related-image img,
.game-profile__related-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.game-profile__related-placeholder {
	display: grid;
	place-items: center;
	color: var(--gg-color-muted);
	font-weight: 800;
}

.game-profile__related-text {
	min-width: 0;
}

.game-profile__related-text strong {
	display: -webkit-box;
	overflow: hidden;
	font-size: 0.9rem;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.game-profile__related-text small {
	display: block;
	margin-top: 4px;
	color: var(--gg-color-primary);
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
}

.game-profile__sidebar-more {
	display: flex;
	justify-content: space-between;
	padding-top: 14px;
	border-top: 1px solid var(--gg-color-border);
	font-size: 0.85rem;
	font-weight: 800;
	text-decoration: none;
}

.game-favorite {
	padding: 8px 0;
	border: 0;
	background: transparent;
	color: var(--gg-color-primary);
	font: inherit;
	cursor: pointer;
}

.game-favorite > span:first-child { margin-right: 8px; font-size: 1.5rem; }
.game-favorite[aria-pressed="true"] > span:first-child { color: var(--gg-color-accent); }
.game-favorite:focus-visible { outline: 2px solid var(--gg-color-primary); }
.game-wishlist .game-favorite { margin: 0 16px 12px; }

.woocommerce-layout {
	padding-block: 40px 64px;
}

.woocommerce-breadcrumb {
	margin-bottom: 24px !important;
	color: var(--gg-color-muted) !important;
	font-size: 0.875rem !important;
}

.woocommerce-products-header__title {
	padding-left: 18px;
	margin-bottom: 30px;
	border-left: 5px solid var(--gg-color-accent);
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	margin-bottom: 24px;
}

.woocommerce .woocommerce-ordering select {
	padding: 9px 12px;
	border: 1px solid var(--gg-color-border);
	border-radius: 6px;
	background: var(--gg-color-surface);
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	float: none;
	width: auto;
	padding: 0 0 18px;
	margin: 0;
	overflow: hidden;
	background: var(--gg-color-surface);
	border: 1px solid var(--gg-color-border);
	border-radius: var(--gg-radius);
	box-shadow: var(--gg-shadow);
}

.woocommerce ul.products li.product a img {
	margin: 0 0 16px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .product-publisher {
	margin-right: 18px;
	margin-left: 18px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: var(--gg-color-text);
	font-size: 1.05rem;
	line-height: 1.35;
}

.product-publisher {
	margin-top: 4px;
	margin-bottom: 12px;
	color: var(--gg-color-primary);
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
}

.woocommerce span.onsale {
	min-width: auto;
	min-height: auto;
	padding: 5px 10px;
	border-radius: 6px;
	background: var(--gg-color-accent);
	line-height: 1.4;
}

.woocommerce div.product {
	padding: clamp(20px, 4vw, 40px);
	background: var(--gg-color-surface);
	border-radius: var(--gg-radius);
}

.woocommerce div.product .product_title {
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.15;
}

.game-profile .game-facts {
	display: grid;
	gap: 0;
	margin: 22px 0 0;
	border-top: 1px solid rgb(255 255 255 / 16%);
}

.game-profile .game-facts > div {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 12px;
	padding-block: 12px;
	border-bottom: 1px solid rgb(255 255 255 / 16%);
}

.game-profile .game-facts :where(dt, dd) {
	margin: 0;
}

.game-profile .game-facts dt {
	color: #97a8bc;
	font-size: 0.9rem;
}

.game-profile .game-facts dd {
	color: #fff;
	font-weight: 700;
}

.game-profile .game-downloads {
	margin-top: 24px;
	padding: 18px;
	border: 1px solid rgb(255 255 255 / 14%);
	border-radius: 14px;
	background: rgb(255 255 255 / 6%);
}

.game-profile .game-downloads h2 {
	margin: 0 0 14px;
	color: #fff;
	font-size: 1rem;
}

.game-downloads__buttons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.game-profile .game-download {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 12px;
	border-radius: 8px;
	background: var(--gg-color-accent);
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
}

.game-profile .game-download:hover,
.game-profile .game-download:focus-visible {
	background: #bf171d;
	color: #ffffff;
}

.game-download__icon {
	display: inline-grid;
	min-width: 40px;
	height: 32px;
	padding-inline: 4px;
	place-items: center;
	border-radius: 5px;
	background: rgb(255 255 255 / 14%);
	font-size: 0.68rem;
}

.woocommerce :where(.button, button.button, input.button) {
	border-radius: 6px !important;
	background: var(--gg-color-primary) !important;
	color: #ffffff !important;
}

.woocommerce-message,
.woocommerce-info {
	border-top-color: var(--gg-color-primary);
}

.woocommerce-message::before,
.woocommerce-info::before {
	color: var(--gg-color-primary);
}

.game-code {
	padding: 22px;
	margin-block: 28px;
	background: #fff6f6;
	border: 1px solid rgb(227 30 36 / 28%);
	border-radius: var(--gg-radius);
}

.game-code h2 {
	margin: 0 0 6px;
	font-size: 1.35rem;
}

.game-code .gategame-captcha,
.game-code .gategame-recaptcha {
	margin-block: 16px;
}

.game-code__claim {
	padding: 10px 18px;
	border: 0;
	border-radius: 6px;
	background: var(--gg-color-primary);
	color: #ffffff;
	font-weight: 700;
	cursor: pointer;
}

.game-code__claim:disabled {
	opacity: 0.6;
	cursor: wait;
}

.game-code__result {
	margin-bottom: 0;
	color: var(--gg-color-accent);
	font-weight: 700;
}

.game-code__result.is-success {
	padding: 10px 12px;
	background: var(--gg-color-surface);
	border: 1px dashed var(--gg-color-primary);
	color: var(--gg-color-primary-dark);
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 1.1rem;
	user-select: all;
}

.related-game {
	overflow: hidden;
	background: var(--gg-color-surface);
	border: 1px solid var(--gg-color-border);
	border-radius: var(--gg-radius);
}

.related-game__image {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.related-game--wide .related-game__image {
	aspect-ratio: 16 / 9;
}

.related-game__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.related-game__placeholder {
	display: grid;
	height: 100%;
	place-items: center;
	background: linear-gradient(135deg, var(--gg-color-primary), #111827);
	color: #ffffff;
	font-size: 2rem;
	font-weight: 900;
}

.related-game__body {
	padding: 16px;
}

.related-game__body h3 {
	margin: 0;
	font-size: 1.1rem;
}

.related-game__body h3 a {
	color: var(--gg-color-accent);
	text-decoration: none;
}

.related-game__body p {
	margin: 8px 0 0;
	color: var(--gg-color-muted);
	font-size: 0.9rem;
}

.post-signature {
	padding: 16px 18px;
	margin-top: 32px;
	background: var(--gg-color-background);
	border-left: 4px solid var(--gg-color-primary);
}

.ad-banner {
	margin-block: 20px;
	text-align: center;
}

.ad-banner a,
.ad-banner img {
	display: block;
}

.ad-banner img {
	height: auto;
	margin-inline: auto;
}

.ad-banner--wide img {
	width: auto;
	max-width: min(100%, 980px);
}

.ad-banner--portrait img {
	width: 100%;
	max-width: 576px;
}

.entry-content .table {
	display: table;
	width: 100%;
	min-width: 900px;
	background: var(--gg-color-surface);
}

.entry-content .table th,
.entry-content .table td {
	padding: 10px;
	vertical-align: middle;
}

.entry-content .table img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 8px;
}

.entry-content .table .text-center {
	text-align: center;
}

.entry-content .table .small {
	color: var(--gg-color-muted);
	font-size: 0.8rem;
}

.gg-section {
	padding-block: 28px;
	background: var(--gg-section-bg, transparent);
}

.gg-legacy-page .gg-section {
	padding-block: 0 18px;
}

.gg-legacy-page .gg-section > .site-container {
	width: min(calc(100% - 32px), 1390px);
}

.gg-legacy-page > .gg-gap {
	background: var(--gg-color-surface);
}

.gg-legacy-page .gg-title {
	padding-bottom: 10px;
	border-color: #dedede;
	font-size: 1.5rem;
}

.gg-legacy-page .gg-title::after {
	display: none;
}

.entry-content > .gg-section {
	margin-inline: calc(clamp(20px, 4vw, 40px) * -1);
}

.gg-row {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px;
}

.gg-col {
	min-width: 0;
	grid-column: span 12;
}

.gg-col--1 { grid-column: span 1; }
.gg-col--2 { grid-column: span 2; }
.gg-col--3 { grid-column: span 3; }
.gg-col--4 { grid-column: span 4; }
.gg-col--5 { grid-column: span 5; }
.gg-col--6 { grid-column: span 6; }
.gg-col--7 { grid-column: span 7; }
.gg-col--8 { grid-column: span 8; }
.gg-col--9 { grid-column: span 9; }
.gg-col--10 { grid-column: span 10; }
.gg-col--11 { grid-column: span 11; }

.gg-gap {
	height: var(--gg-gap, 30px);
}

.gg-title {
	padding-bottom: 12px;
	margin: 0 0 24px;
	border-bottom: 2px solid var(--gg-color-border);
	line-height: 1.2;
}

.gg-title::after {
	display: block;
	width: 72px;
	height: 3px;
	margin-bottom: -15px;
	background: var(--gg-color-accent);
	content: "";
}

.gg-text-box {
	padding: 24px;
	background: var(--gg-text-box-bg, var(--gg-color-surface));
	color: #ffffff;
}

.gg-stack {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.gg-image {
	margin: 0;
}

.gg-image img {
	width: 100%;
	height: auto;
}

.gg-banner {
	display: grid;
	min-height: var(--gg-banner-height, 500px);
	place-items: end;
	overflow: hidden;
	background-color: #111827;
	background-image: var(--gg-banner-bg);
	background-position: center;
	background-size: cover;
	border-radius: var(--gg-radius);
}

.gg-banner > a {
	display: contents;
	color: inherit;
	text-decoration: none;
}

.gg-banner__content {
	width: min(100%, 560px);
	padding: clamp(24px, 5vw, 48px);
	background: linear-gradient(135deg, transparent, rgb(0 0 0 / 85%));
	color: #ffffff;
}

.gg-blog-posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.gg-blog-posts--cols-1 {
	grid-template-columns: minmax(0, 1fr);
}

.gg-blog-posts--cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gg-blog-posts--cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gg-blog-card {
	position: relative;
	overflow: hidden;
	background: var(--gg-color-surface);
	border: 1px solid var(--gg-color-border);
	border-radius: var(--gg-radius);
}

.gg-blog-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.gg-blog-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gg-blog-card__body {
	padding: 16px;
}

.gg-blog-card__body h3 {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.35;
}

.gg-blog-card__body h3 a {
	color: var(--gg-color-accent);
	text-decoration: none;
}

.gg-blog-posts--overlay .gg-blog-card__body h3 a {
	color: #ffffff;
}

.gg-blog-card__body p {
	margin: 8px 0 0;
	color: var(--gg-color-muted);
	font-size: 0.9rem;
}

.gg-blog-posts--vertical .gg-blog-card {
	display: grid;
	grid-template-columns: minmax(120px, 40%) minmax(0, 1fr);
}

.gg-blog-posts--vertical .gg-blog-card__media {
	aspect-ratio: auto;
}

.gg-blog-posts--overlay .gg-blog-card__media {
	min-height: 0;
	aspect-ratio: 100 / 63;
}

.gg-blog-posts--overlay .gg-blog-card__body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 24px;
	background: linear-gradient(transparent, rgb(0 0 0 / 88%));
	color: #ffffff;
}

.gg-blog-posts--overlay .gg-blog-card__body p {
	color: #ffffff;
}

.gg-legacy-page .gg-blog-card {
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.gg-legacy-page .gg-blog-posts--vertical {
	gap: 4px;
}

.gg-legacy-page .gg-blog-posts--longform {
	margin-top: 32px;
}

.gg-legacy-page .gg-blog-posts--vertical .gg-blog-card__body {
	padding: 8px 16px;
}

.site-footer {
	padding-block: 60px;
	background: #273647;
	color: #ffffff;
}

.footer-brand {
	width: min(100%, 400px);
}

.footer-brand__logo {
	display: block;
	width: 50%;
	margin-bottom: 20px;
}

.footer-brand__logo img {
	display: block;
	width: 100%;
	height: auto;
}

.footer-brand p {
	margin: 0 0 18px;
	line-height: 1.2;
}

.footer-brand__contact {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #ffffff;
	font-size: 0.875rem;
	text-decoration: none;
}

.footer-brand__contact:hover,
.footer-brand__contact:focus-visible {
	color: #ffffff;
	text-decoration: underline;
}

@media (max-width: 1240px) {
	.menu-open {
		position: fixed;
		width: 100%;
		overflow: hidden;
	}

	.menu-open .site-header {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
	}

	body.admin-bar.menu-open .site-header {
		top: 0;
	}

	.site-header__inner {
		width: min(calc(100% - 32px), var(--gg-container));
		min-height: 72px;
		justify-content: space-between;
	}

	.site-branding {
		margin-right: auto;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.primary-navigation {
		display: none;
		position: fixed;
		top: 76px;
		bottom: 0;
		left: 0;
		width: 100%;
		max-height: none;
		padding: 16px;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		background: var(--gg-color-surface);
		border-bottom: 1px solid var(--gg-color-border);
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-navigation > ul {
		align-items: stretch;
		flex-direction: column;
		gap: 4px;
	}

	.primary-navigation > ul > li > a {
		width: 100%;
		justify-content: space-between;
	}

	.primary-navigation .sub-menu {
		display: grid;
		position: static;
		min-width: 0;
		padding: 2px 0 8px 16px;
		border: 0;
		box-shadow: none;
	}
}

@media (max-width: 900px) {
	body.admin-bar .site-header {
		top: 46px;
	}

	.content-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.legacy-single {
		grid-template-columns: minmax(0, 1fr);
	}

	.legacy-archive__posts {
		width: 100%;
		border-right: 0;
	}

	.legacy-archive-story {
		padding-right: 0;
	}

	.legacy-single .content-area {
		width: 100%;
		padding-right: 0;
		border-right: 0;
	}

	.hero-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero-story__media {
		min-height: 480px;
		border-radius: 12px 12px 0 0;
	}

	.compact-story:nth-child(2) .compact-story__media,
	.compact-story:nth-child(4) .compact-story__media {
		border-radius: 0;
	}

	.compact-story:nth-child(3) .compact-story__media {
		border-radius: 0 0 0 12px;
	}

	.compact-story:nth-child(4) .compact-story__media {
		border-radius: 0 0 12px;
	}

	.post-grid--four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.game-profile__top { grid-template-columns: minmax(0, 1fr); }
	.game-profile__hero { padding: 24px; }
	.game-profile__body { grid-template-columns: minmax(0, 1fr); }
	.game-profile__sidebar { position: static; }

	.gg-col {
		grid-column: span 12;
	}

	.gg-col-sm--1 { grid-column: span 1; }
	.gg-col-sm--2 { grid-column: span 2; }
	.gg-col-sm--3 { grid-column: span 3; }
	.gg-col-sm--4 { grid-column: span 4; }
	.gg-col-sm--5 { grid-column: span 5; }
	.gg-col-sm--6 { grid-column: span 6; }
	.gg-col-sm--7 { grid-column: span 7; }
	.gg-col-sm--8 { grid-column: span 8; }
	.gg-col-sm--9 { grid-column: span 9; }
	.gg-col-sm--10 { grid-column: span 10; }
	.gg-col-sm--11 { grid-column: span 11; }

	.gg-blog-posts--cols-3,
	.gg-blog-posts--cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hide-for-medium {
		display: none !important;
	}
}

@media (max-width: 640px) {
	.homepage-ad-rail {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 12px;
	}

	.homepage-ad-rail .ad-banner {
		flex: 0 0 min(65vw, 240px);
		max-width: none;
		scroll-snap-align: start;
	}

	.site-footer {
		padding-block: 30px;
	}

	.footer-brand__logo {
		width: 60%;
	}

	.site-container {
		width: min(calc(100% - 24px), var(--gg-container));
	}

	.content-layout {
		padding-block: 24px;
	}

	.post-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-grid--four,
	.hero-grid__secondary {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero-grid__secondary {
		grid-template-rows: none;
	}

	.hero-story__media {
		min-height: 430px;
	}

	.hero-story__content p {
		display: none;
	}

	.compact-story__media {
		min-height: 220px;
		border-radius: 0 !important;
	}

	.compact-story:last-child .compact-story__media {
		border-radius: 0 0 12px 12px !important;
	}

	.post-list .post-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-navigation {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-navigation__card {
		grid-template-columns: 96px minmax(0, 1fr);
	}

	.post-navigation__card--next {
		grid-column: auto;
	}

	.section-heading {
		align-items: start;
		flex-direction: column;
	}

	.game-downloads__buttons,
	.woocommerce ul.products {
		grid-template-columns: minmax(0, 1fr);
	}
	.game-grid { grid-template-columns: minmax(0, 1fr); }

	.game-profile__hero { padding: 18px; border-radius: 16px; }
	.game-profile__stage { aspect-ratio: 1 / 1; }
	.game-profile__summary h1 { font-size: clamp(2rem, 9vw, 3rem); }
	.game-profile__details { padding: 22px; }
	.game-profile .game-facts > div {
		grid-template-columns: 94px minmax(0, 1fr);
		gap: 8px;
	}
	.game-profile .game-downloads { padding: 14px; }

	.gg-row,
	.gg-blog-posts,
	.gg-blog-posts--cols-2,
	.gg-blog-posts--cols-3,
	.gg-blog-posts--cols-4 {
		grid-template-columns: minmax(0, 1fr);
	}

	.gg-col,
	[class*="gg-col-sm--"] {
		grid-column: auto;
	}

	.gg-blog-posts--vertical .gg-blog-card {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Card collections become swipeable slides on narrow screens. */
	.hero-grid__secondary,
	.homepage-section .post-grid--four,
	.homepage-games .game-grid,
	.gg-legacy-page .gg-blog-posts:not(.gg-blog-posts--vertical):not(.gg-blog-posts--cols-1),
	.gg-legacy-page .gg-blog-posts--longform,
	.related-posts__list {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 2px;
		padding: 2px 2px 12px;
	}

	.hero-grid__secondary > *,
	.homepage-section .post-grid--four > *,
	.homepage-games .game-grid > *,
	.gg-legacy-page .gg-blog-posts:not(.gg-blog-posts--vertical):not(.gg-blog-posts--cols-1) > *,
	.gg-legacy-page .gg-blog-posts--longform > *,
	.related-posts__list > * {
		flex: 0 0 min(78vw, 300px);
		min-width: 0;
		scroll-snap-align: start;
	}

	.hero-grid__secondary .compact-story__media {
		min-height: 240px;
		border-radius: 10px !important;
	}

	.gg-legacy-page .gg-blog-posts--longform .gg-blog-card__media {
		aspect-ratio: 16 / 9;
	}

	.related-posts__item {
		display: block;
	}

	.related-posts__image {
		margin-bottom: 10px;
	}

	.hide-for-small,
	.hidden {
		display: none !important;
	}
}

@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* Game Store and its curated collections. */
.game-store-page {
	padding: 28px 0 72px;
}

.game-store-page .breadcrumbs {
	margin-bottom: 20px;
}

.game-store-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
	align-items: center;
	gap: clamp(24px, 4vw, 64px);
	min-height: 320px;
	padding: clamp(28px, 4vw, 56px);
	overflow: hidden;
	border-radius: 20px;
	background: radial-gradient(circle at 86% 12%, rgb(227 30 36 / 34%), transparent 34%), linear-gradient(125deg, #121b29, #243448);
	color: #fff;
}

.game-store-hero__eyebrow {
	margin: 0 0 12px;
	color: #ff8a8e;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.game-store-hero h1 {
	margin: 0;
	font-size: clamp(2.2rem, 5vw, 4.4rem);
	line-height: 1.05;
	text-transform: uppercase;
}

.game-store-hero__description {
	max-width: 54ch;
	margin: 18px 0 24px;
	color: #d4dce6;
	font-size: 1.05rem;
	line-height: 1.6;
}

.game-store-hero__action {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	padding: 11px 17px;
	border-radius: 8px;
	background: var(--gg-color-accent);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
}

.game-store-hero__action:hover,
.game-store-hero__action:focus-visible {
	background: #bd171d;
	color: #fff;
}

.game-store-hero__art {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: center;
	gap: 12px;
	transform: rotate(-6deg);
}

.game-store-hero__art img {
	width: 100%;
	aspect-ratio: 1;
	border: 3px solid rgb(255 255 255 / 17%);
	border-radius: 20px;
	object-fit: cover;
	box-shadow: 0 20px 34px rgb(0 0 0 / 28%);
}

.game-store-hero__art img:nth-child(2) {
	transform: translateY(30px);
}

.game-store-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 18px 0;
	border-bottom: 1px solid var(--gg-color-border);
}

.game-store-tabs a {
	padding: 9px 16px;
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--gg-color-text);
	font-weight: 800;
	text-decoration: none;
}

.game-store-tabs a:hover,
.game-store-tabs a:focus-visible {
	border-color: var(--gg-color-accent);
	color: var(--gg-color-accent);
}

.game-store-tabs a[aria-current="page"] {
	background: var(--gg-color-accent);
	color: #fff;
}

.game-store-content > .gg-gap {
	display: none;
}

.game-store-content .gg-section {
	padding: 28px 0 0;
	background: transparent;
}

.game-store-content .gg-section > .site-container {
	width: min(calc(100% - 32px), var(--gg-container));
}

.game-store-content .gg-text h1 {
	margin: 0 0 20px;
}

.game-store-page--child .game-store-content .gg-text h1 {
	display: none;
}

.game-store-content .gg-text h2 {
	padding-bottom: 14px;
	margin: 0 0 22px;
	border-bottom: 2px solid var(--gg-color-border);
	color: var(--gg-color-text);
	font-size: clamp(1.35rem, 2.3vw, 1.85rem);
	text-align: left;
	text-transform: uppercase;
}

.game-store-content .gg-gap {
	height: 32px;
}

.game-store-page--home .gg-col--9 > .gg-gap:first-child {
	display: none;
}

.game-store-content .game-grid {
	gap: 18px;
}

.game-store-content .game-card {
	border-color: #e7e9ee;
	border-radius: 14px;
	box-shadow: 0 10px 26px rgb(16 24 40 / 7%);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.game-store-content .game-card:hover,
.game-store-content .game-card:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgb(16 24 40 / 14%);
}

.game-store-content .game-card__link {
	display: flex;
	height: 100%;
	flex-direction: column;
}

.game-store-content .game-card__body {
	min-height: 88px;
	align-content: start;
	padding: 14px 16px 17px;
}

.game-store-content .game-card__body strong {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.game-store-content .game-card__body small {
	font-size: 0.76rem;
	letter-spacing: 0.03em;
}

.game-store-content .gg-col--3 .ad-banner {
	margin-bottom: 18px;
}

@media (max-width: 900px) {
	.game-store-hero {
		grid-template-columns: minmax(0, 1fr) 260px;
	}

	.game-store-content .game-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.game-store-page {
		padding-top: 16px;
	}

	.game-store-hero {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
		padding: 28px 22px;
		border-radius: 16px;
	}

	.game-store-hero__art {
		display: none;
	}

	.game-store-hero__description {
		font-size: 0.95rem;
	}

	.game-store-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		white-space: nowrap;
	}

	.game-store-tabs a {
		flex: none;
		padding: 8px 12px;
		font-size: 0.88rem;
	}

	.game-store-content .game-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.game-store-content .game-card__body {
		min-height: 96px;
		padding: 11px;
	}

	.game-store-content .game-card__body strong {
		font-size: 0.9rem;
	}

	.game-store-content .game-card__body small {
		font-size: 0.68rem;
	}
}
