/* GST front-end: Kanit, black-orange, mobile-first chrome */

@font-face {
	font-family: Kanit;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/kanit-400-thai.woff2") format("woff2");
	unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
	font-family: Kanit;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/kanit-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: Kanit;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/kanit-600-thai.woff2") format("woff2");
	unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
	font-family: Kanit;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/kanit-600-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: Kanit;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/kanit-700-thai.woff2") format("woff2");
	unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
	font-family: Kanit;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/kanit-700-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--gst-bg: #0a0a0a;
	--gst-surface: #161616;
	--gst-text: #f5f5f5;
	--gst-muted: #b0b0b0;
	--gst-accent: #ff6a00;
	--gst-accent-strong: #ff8a3d;
	--gst-chrome: #000000;
	--gst-chrome-text: #ffffff;
	--gst-chrome-muted: #8f8f8f;
	--gst-line: rgba(255, 106, 0, 0.28);
	--gst-header-h: 56px;
	--gst-tab-h: 64px;
	--gst-space: 16px;
	--gst-max: 72rem;
	--gst-radius: 12px;
	--gst-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
	--gst-font: Kanit, system-ui, -apple-system, sans-serif;
}

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

html {
	-webkit-text-size-adjust: 100%;
	font-family: var(--gst-font);
	max-width: 100%;
	overflow-x: clip;
}

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

body {
	margin: 0;
	min-height: 100vh;
	max-width: 100%;
	overflow-x: clip;
	font-family: var(--gst-font);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--gst-text);
	background: var(--gst-bg);
	padding-top: calc(var(--gst-header-h) + env(safe-area-inset-top));
	padding-bottom: 0;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--gst-accent);
}

:focus-visible {
	outline: 2px solid var(--gst-accent);
	outline-offset: 2px;
}

.skip-link {
	position: absolute;
	left: var(--gst-space);
	top: -100px;
	z-index: 200;
	padding: 8px 12px;
	border-radius: 8px;
	background: var(--gst-surface);
	color: var(--gst-text);
}

.skip-link:focus {
	top: calc(var(--gst-header-h) + env(safe-area-inset-top) + 8px);
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	height: calc(var(--gst-header-h) + env(safe-area-inset-top));
	padding-top: env(safe-area-inset-top);
	background: var(--gst-chrome);
	color: var(--gst-chrome-text);
	box-shadow: 0 1px 0 var(--gst-line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	height: var(--gst-header-h);
	max-width: var(--gst-max);
	margin: 0 auto;
	padding: 0 var(--gst-space);
}

.site-brand {
	display: inline-flex;
	align-items: center;
	flex: 4 1 0;
	min-width: 0;
	max-width: 40%;
	gap: 10px;
	min-height: 44px;
	color: var(--gst-chrome-text);
	text-decoration: none;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.site-brand:hover {
	color: var(--gst-chrome-text);
}

.site-brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: inherit;
	text-decoration: none;
}

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

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

.site-brand .custom-logo {
	display: block;
	width: auto;
	height: 40px;
}

.site-brand__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 9px;
	background: var(--gst-accent);
	color: #000000;
	font-size: 1.05rem;
}

.site-brand__name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 1.05rem;
}

.site-search {
	display: flex;
	align-items: center;
	flex: 6 1 0;
	min-width: 0;
	max-width: 60%;
	height: 40px;
	margin: 0;
	padding: 0 6px 0 2px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: #1a1a1a;
}

.site-search:focus-within {
	border-color: var(--gst-accent);
}

.site-search__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--gst-chrome-muted);
	cursor: pointer;
}

.site-search__submit:hover,
.site-search__submit:focus-visible {
	color: var(--gst-accent-strong);
}

.site-search__input {
	flex: 1;
	min-width: 0;
	height: 40px;
	padding: 0 8px 0 0;
	border: 0;
	background: transparent;
	color: var(--gst-chrome-text);
	font: inherit;
	font-size: 1rem;
	outline: none;
}

.site-search__input::placeholder {
	color: var(--gst-chrome-muted);
}

.site-search__input::-webkit-search-decoration,
.site-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.site-nav .menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav .menu a {
	text-decoration: none;
}

.site-nav--primary {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	height: calc(var(--gst-tab-h) + env(safe-area-inset-bottom));
	padding-bottom: env(safe-area-inset-bottom);
	background: var(--gst-chrome);
	box-shadow: 0 -1px 0 var(--gst-line);
}

.site-nav--primary .menu {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	height: var(--gst-tab-h);
	max-width: var(--gst-max);
	margin: 0 auto;
}

.site-nav--primary .menu a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 44px;
	height: 100%;
	padding: 8px 4px;
	color: var(--gst-chrome-muted);
	text-align: center;
	position: relative;
}

.site-nav--primary .menu-icon {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.site-nav--primary .menu-label {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: 0.6875rem;
	line-height: 1.2;
	font-weight: 600;
}

.site-nav--primary .current-menu-item a,
.site-nav--primary .current-menu-item a:hover {
	color: var(--gst-accent-strong);
}

.site-nav--primary .current-menu-item a::before {
	content: "";
	position: absolute;
	top: 0;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
}

.site-nav--primary .menu a:hover,
.site-nav--primary .menu a:focus-visible {
	color: var(--gst-chrome-text);
}

.site-main {
	width: min(100%, var(--gst-max));
	max-width: 100%;
	min-width: 0;
	margin: 0 auto;
	padding: var(--gst-space);
	min-height: 50vh;
}

.content-card,
.page-header {
	background: var(--gst-surface);
	border-radius: var(--gst-radius);
	box-shadow: var(--gst-shadow);
	padding: 1.25rem;
	margin-bottom: var(--gst-space);
}

.page-title,
.entry-title {
	margin: 0 0 0.75rem;
	line-height: 1.3;
	font-size: 1.35rem;
	font-weight: 700;
}

.entry-title a {
	text-decoration: none;
}

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

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

.site-footer {
	background: var(--gst-chrome);
	color: var(--gst-chrome-text);
	margin-top: 8px;
	padding-bottom: calc(var(--gst-tab-h) + env(safe-area-inset-bottom) + 12px);
}

.site-footer a {
	color: var(--gst-chrome-text);
	text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	color: var(--gst-accent-strong);
}

.site-footer__inner {
	width: min(100%, var(--gst-max));
	margin: 0 auto;
	padding: 8px var(--gst-space) 12px;
	display: grid;
	gap: 4px;
}

.site-footer__brand {
	display: none;
}

.site-footer__name {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
}

.site-footer__name a {
	color: inherit;
}

.site-footer__tagline {
	margin: 6px 0 0;
	color: var(--gst-chrome-muted);
	font-size: 0.925rem;
	max-width: 36rem;
}

.site-footer__grid {
	display: grid;
	gap: 0;
}

.site-footer__col,
.site-footer__about {
	position: relative;
	border-bottom: 1px solid var(--gst-line);
}

.site-footer__check {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-footer__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0;
	min-height: 44px;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--gst-chrome-text);
	cursor: pointer;
}

.site-footer__check:focus-visible + .site-footer__heading {
	outline: 2px solid var(--gst-accent);
	outline-offset: 2px;
}

.site-footer__heading::after {
	content: "";
	width: 0.45em;
	height: 0.45em;
	flex-shrink: 0;
	margin-left: 12px;
	border-right: 2px solid var(--gst-chrome-muted);
	border-bottom: 2px solid var(--gst-chrome-muted);
	transform: rotate(45deg);
}

.site-footer__check:checked + .site-footer__heading::after {
	transform: rotate(225deg);
	translate: 0 3px;
}

.site-footer__panel {
	display: none;
}

.site-footer__check:checked ~ .site-footer__panel {
	display: block;
}

.site-footer__list {
	margin: 0;
	padding: 0 0 10px;
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 12px;
}

.site-footer__list a {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 2px 0;
	color: var(--gst-chrome-muted);
	font-size: 0.875rem;
}

.site-footer__list .is-current a,
.site-footer__list .current-menu-item a {
	color: var(--gst-accent-strong);
	font-weight: 600;
}

.site-footer__about {
	padding-top: 0;
}

.site-footer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 16px;
	padding-top: 8px;
}

.site-footer__copy {
	margin: 0;
	color: var(--gst-chrome-muted);
	font-size: 0.8125rem;
}

.site-footer__copy a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: inherit;
}

.site-footer__sep {
	margin: 0 0.4em;
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__social a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: var(--gst-chrome-muted);
	font-size: 0.925rem;
}

@media (min-width: 768px) {
	.site-header__inner {
		gap: 24px;
	}

	.site-brand {
		flex: 0 0 auto;
		max-width: none;
	}

	.site-brand .custom-logo {
		height: 48px;
	}

	.site-brand__mark {
		width: 44px;
		height: 44px;
		font-size: 1.15rem;
	}

	.site-search {
		flex: 1 1 16rem;
		max-width: 22rem;
	}

	.site-nav--primary {
		position: static;
		height: auto;
		padding: 0;
		background: transparent;
		box-shadow: none;
		flex: 0 1 auto;
		margin-left: auto;
	}

	.site-nav--primary .menu {
		display: flex;
		justify-content: flex-end;
		align-items: center;
		gap: 4px;
		height: auto;
	}

	.site-nav--primary .menu a {
		flex-direction: row;
		gap: 8px;
		height: auto;
		padding: 8px 12px;
		border-radius: 10px;
		font-size: 0.95rem;
	}

	.site-nav--primary .menu-label {
		display: inline;
		-webkit-line-clamp: unset;
		font-size: 0.95rem;
		font-weight: 400;
	}

	.site-nav--primary .current-menu-item a {
		background: rgba(255, 106, 0, 0.16);
		color: var(--gst-accent-strong);
	}

	.site-nav--primary .current-menu-item a::before {
		display: none;
	}

	.site-main {
		padding: 24px;
	}

	.site-footer {
		padding-bottom: 0;
	}

	.site-footer__inner {
		padding: 32px 24px 36px;
		gap: 32px;
	}

	.site-footer__brand {
		display: block;
	}

	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 32px;
	}

	.site-footer__col,
	.site-footer__about {
		border-bottom: 0;
	}

	.site-footer__check {
		display: none;
	}

	.site-footer__heading {
		justify-content: flex-start;
		min-height: 0;
		margin-bottom: 4px;
		pointer-events: none;
		cursor: default;
	}

	.site-footer__heading::after {
		display: none;
	}

	.site-footer__panel {
		display: block;
	}

	.site-footer__list {
		grid-template-columns: 1fr;
		padding: 0;
	}

	.site-footer__list a,
	.site-footer__social a,
	.site-footer__copy a {
		min-height: 36px;
		font-size: 0.95rem;
	}

	.site-footer__bar {
		padding-top: 16px;
		border-top: 1px solid var(--gst-line);
		gap: 12px 24px;
	}
}

@media (min-width: 900px) {
	.site-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

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

.home .site-main {
	padding-top: 0;
}

.home-intro {
	margin: 0 0 8px;
	padding: 12px 0 4px;
}

.home-intro__title {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.3;
	font-weight: 700;
	color: var(--gst-chrome-text);
}

.home-intro__tagline {
	margin: 0.2rem 0 0;
	color: var(--gst-muted);
	font-size: 0.92rem;
	line-height: 1.4;
}

.banner-slider {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin: 0 calc(50% - 50vw) var(--gst-space);
	overflow: hidden;
	background: #140800;
	color: var(--gst-chrome-text);
}

.banner-slider__viewport {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.banner-slider__viewport::-webkit-scrollbar {
	display: none;
}

.banner-slider__track {
	display: flex;
}

.banner-slider__slide {
	position: relative;
	box-sizing: border-box;
	flex: 0 0 100%;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	min-height: 180px;
	aspect-ratio: 16 / 9;
}

.banner-slider__link {
	display: block;
	position: relative;
	height: 100%;
	color: inherit;
	text-decoration: none;
	overflow: hidden;
}

.banner-slider__link:hover {
	color: inherit;
}

img.banner-slider__image {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.banner-slider__link::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(10, 6, 0, 0.15) 0%,
		rgba(10, 6, 0, 0.2) 42%,
		rgba(10, 6, 0, 0.88) 78%,
		#140800 100%
	);
	pointer-events: none;
}

.banner-slider__copy {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: auto;
	max-width: none;
	z-index: 1;
	display: block;
	padding: 16px 16px 56px;
}

.banner-slider__title {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.25;
	font-weight: 700;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.banner-slider__subtitle {
	margin: 6px 0 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.8125rem;
	line-height: 1.35;
	font-weight: 400;
}

.banner-slider__controls {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 6px;
}

.banner-slider__btn,
.banner-slider__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 8px;
	border: 0;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1;
	backdrop-filter: blur(8px);
}

.banner-slider__btn {
	cursor: pointer;
}

.banner-slider__icon--play {
	display: none;
}

.banner-slider__btn.is-paused .banner-slider__icon--pause {
	display: none;
}

.banner-slider__btn.is-paused .banner-slider__icon--play {
	display: block;
}

@media (min-width: 900px) {
	.home .site-main {
		padding-top: 24px;
	}

	.home-intro {
		margin-bottom: 16px;
		padding: 0 0 4px;
	}

	.home-intro__title {
		font-size: 1.35rem;
	}

	.banner-slider {
		left: auto;
		right: auto;
		width: auto;
		max-width: none;
		margin: 0 0 24px;
		border-radius: var(--gst-radius);
	}

	.banner-slider__slide {
		min-height: 0;
		aspect-ratio: 40 / 9;
	}

	img.banner-slider__image {
		width: 40%;
		right: auto;
		left: 0;
		object-position: center;
	}

	.banner-slider__link::after {
		background: linear-gradient(
			90deg,
			transparent 0%,
			transparent 26%,
			#140800 40%,
			#140800 100%
		);
	}

	.banner-slider__title {
		font-size: clamp(1.25rem, 2vw, 1.85rem);
	}

	.banner-slider__copy {
		left: auto;
		right: 0;
		top: 0;
		bottom: 0;
		width: 58%;
		max-width: 58%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 20px 24px 48px 16px;
	}

	.banner-slider__subtitle {
		margin-top: 12px;
		font-size: 1.05rem;
	}

	.banner-slider__controls {
		right: 20px;
		bottom: 18px;
	}
}

.home-panels {
	display: grid;
	gap: 28px;
	margin-bottom: var(--gst-space);
	min-width: 0;
}

.home-panel {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.home-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
	min-height: 44px;
}

.home-panel__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.3;
	font-weight: 700;
	color: var(--gst-chrome-text);
}

.home-panel__icon {
	flex-shrink: 0;
	color: var(--gst-accent);
}

.home-panel__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	color: var(--gst-chrome-muted);
	text-decoration: none;
	font-size: 1.35rem;
	font-weight: 500;
	line-height: 1;
}

.home-panel__more:hover,
.home-panel__more:focus-visible {
	color: var(--gst-accent-strong);
}

.home-panel__empty {
	margin: 0;
	color: var(--gst-muted);
}

.news-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

.news-list__item {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas:
		"badge date"
		"title title";
	align-items: center;
	gap: 6px 10px;
	min-height: 48px;
	padding: 10px 14px;
	border-radius: 16px;
	background: var(--gst-surface);
	color: var(--gst-text);
	text-decoration: none;
}

.news-list__item:hover,
.news-list__item:focus-visible {
	color: var(--gst-text);
	background: #1d1d1d;
}

.news-list__badge {
	grid-area: badge;
	flex-shrink: 0;
	padding: 3px 10px;
	border: 1px solid var(--gst-accent);
	border-radius: 999px;
	color: var(--gst-accent-strong);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	justify-self: start;
}

.news-list__title {
	grid-area: title;
	overflow: hidden;
	min-width: 0;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.35;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.news-list__date {
	grid-area: date;
	justify-self: end;
	color: var(--gst-muted);
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.promo-slider {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 0;
}

.promo-slider__viewport {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	border-radius: 16px;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.promo-slider__viewport::-webkit-scrollbar {
	display: none;
}

.promo-slider__track {
	display: flex;
}

.promo-slider__slide {
	box-sizing: border-box;
	flex: 0 0 100%;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.promo-slider .promo-card {
	border-radius: 0;
}

.promo-slider__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 12px;
	min-height: 44px;
}

.promo-slider__controls .banner-slider__btn,
.promo-slider__controls .banner-slider__count {
	background: var(--gst-surface);
	color: var(--gst-text);
}

.promo-slider__controls .banner-slider__btn:hover,
.promo-slider__controls .banner-slider__btn:focus-visible {
	color: var(--gst-accent-strong);
}

.promo-card {
	position: relative;
	display: block;
	overflow: hidden;
	min-height: 180px;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	background: linear-gradient(135deg, #2a1204 0%, #ff6a00 100%);
	color: #fff;
	text-decoration: none;
}

.promo-card:hover,
.promo-card:focus-visible {
	color: #fff;
}

.promo-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.promo-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		0deg,
		rgba(10, 6, 0, 0.78) 0%,
		rgba(10, 6, 0, 0.28) 42%,
		transparent 72%
	);
	pointer-events: none;
}

.promo-card__title {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 14px;
	z-index: 1;
	margin: 0;
	overflow: hidden;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
	text-overflow: ellipsis;
}

@media (min-width: 640px) {
	.news-list__item {
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas: "badge title date";
		gap: 10px;
		padding: 8px 12px;
		border-radius: 999px;
	}
}

@media (min-width: 900px) {
	.home-panels {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: 32px;
		align-items: stretch;
	}

	.promo-slider__controls {
		margin-top: auto;
		padding-top: 12px;
	}

	.promo-card {
		min-height: 220px;
		aspect-ratio: 16 / 8;
	}

	.promo-card__title {
		font-size: 1.45rem;
		bottom: 16px;
	}
}

.game-section,
.game-deals,
.popular-section,
.home-faq {
	min-width: 0;
	max-width: 100%;
	margin-bottom: 28px;
}

#gst-game-deals-title {
	scroll-margin-top: calc(var(--gst-header-h) + env(safe-area-inset-top) + 12px);
}

.game-search-wrap {
	position: relative;
	z-index: 4;
	margin: 0 0 12px;
}

.game-search {
	display: flex;
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 0 4px 0 6px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: var(--gst-surface);
}

.game-search-wrap:focus-within .game-search,
.game-search:focus-within {
	border-color: var(--gst-accent);
}

.game-search__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--gst-muted);
	cursor: pointer;
}

.game-search__submit:hover,
.game-search__submit:focus-visible {
	color: var(--gst-accent-strong);
}

.game-search__input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 12px 0 0;
	border: 0;
	background: transparent;
	color: var(--gst-text);
	font: inherit;
	outline: none;
}

.game-search__input::placeholder {
	color: var(--gst-muted);
}

.game-search__input::-webkit-search-decoration,
.game-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.game-search__suggest {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	z-index: 5;
	margin: 0;
	padding: 6px;
	list-style: none;
	overflow-y: auto;
	max-height: min(320px, 50vh);
	border: 1px solid var(--gst-line);
	border-radius: 12px;
	background: var(--gst-surface);
	box-shadow: var(--gst-shadow);
}

.game-search__suggest[hidden] {
	display: none;
}

.game-search__option {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 12px;
	border-radius: 10px;
	color: inherit;
	text-decoration: none;
	font-weight: 500;
}

.game-search__option:hover,
.game-search__option.is-active {
	color: var(--gst-text);
	background: #1d1d1d;
}

.game-search__empty {
	padding: 10px 12px;
	color: var(--gst-muted);
	font-size: 0.95rem;
}

.popular-grid {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.popular-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	border-radius: 16px;
	background: var(--gst-surface);
	color: inherit;
	text-decoration: none;
}

.popular-card:hover,
.popular-card:focus-visible {
	color: inherit;
}

.popular-card:focus-visible .popular-card__cover {
	outline: 2px solid var(--gst-accent);
	outline-offset: 2px;
}

.popular-card__cover {
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: linear-gradient(160deg, #2a1204 0%, #ff6a00 100%);
}

.popular-card__image {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.popular-card__mark {
	color: #fff;
	font-size: clamp(1.4rem, 5vw, 2rem);
	font-weight: 700;
	line-height: 1;
}

.popular-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 10px 12px 12px;
	min-width: 0;
}

.popular-card__body .news-list__badge {
	grid-area: auto;
}

.popular-card__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
	text-wrap: balance;
}

.home-faq__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.home-faq__item {
	min-width: 0;
}

.home-faq__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	padding: 20px 16px 18px;
	border: 1px solid transparent;
	border-radius: 16px;
	background: var(--gst-surface);
	color: inherit;
	text-align: center;
	text-decoration: none;
}

.home-faq__card:hover,
.home-faq__card:focus-visible {
	color: inherit;
	border-color: var(--gst-line);
}

.home-faq__icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin: 0 0 14px;
	border-radius: 50%;
	background: #0f0f0f;
	box-shadow: 0 0 0 2px #2a2a2a, 0 0 16px rgba(255, 106, 0, 0.28);
	color: var(--gst-accent);
}

.home-faq__svg {
	display: block;
}

.home-faq__question {
	margin: 0 0 6px;
	color: var(--gst-accent-strong);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	text-wrap: balance;
}

.home-faq__lead {
	margin: 0 0 8px;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.4;
}

.home-faq__answer {
	margin: 0;
	color: var(--gst-muted);
	font-size: 0.875rem;
	line-height: 1.55;
}

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

.game-grid--row {
	display: flex;
	gap: 10px;
	min-width: 0;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 2px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.game-grid--row::-webkit-scrollbar {
	display: none;
}

.game-grid--row .game-card {
	flex: 0 0 32%;
	width: 32%;
	min-width: 0;
	scroll-snap-align: start;
}

.game-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.game-card:hover,
.game-card:focus-visible {
	color: inherit;
}

.game-card:focus-visible .game-card__cover {
	outline: 2px solid var(--gst-accent);
	outline-offset: 2px;
}

.game-card__cover {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 16px;
	background: linear-gradient(160deg, #2a1204 0%, #ff6a00 100%);
}

.game-card__image {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.game-card__mark {
	color: #fff;
	font-size: clamp(1.4rem, 5vw, 2rem);
	font-weight: 700;
	line-height: 1;
}

.game-card__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	width: 100%;
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-wrap: balance;
}

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

.deal-grid--row {
	display: flex;
	gap: 10px;
	min-width: 0;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 2px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.deal-grid--row::-webkit-scrollbar {
	display: none;
}

.deal-grid--row .deal-card {
	flex: 0 0 72%;
	width: 72%;
	scroll-snap-align: start;
}

.deal-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border-radius: 16px;
	background: var(--gst-surface);
}

.deal-card__media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: linear-gradient(160deg, #2a1204 0%, #ff6a00 100%);
	text-decoration: none;
}

.deal-card__image {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.deal-card__mark {
	color: #fff;
	font-size: clamp(1.4rem, 5vw, 2rem);
	font-weight: 700;
	line-height: 1;
}

.deal-card__badge,
.game-card__sale {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 1;
	padding: 7px 12px 7px 14px;
	overflow: visible;
	border-radius: 3px 6px 6px 2px;
	background: rgba(225, 29, 46, 0.7);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
	box-shadow: 0 3px 8px rgba(120, 8, 16, 0.28);
}

.deal-card__badge::after,
.game-card__sale::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -8px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 8px 8px 0;
	border-color: transparent rgba(138, 18, 28, 0.82) transparent transparent;
}

.game-card__sale {
	padding: 5px 8px 5px 10px;
	font-size: 0.7rem;
}

.game-card__sale::after {
	bottom: -6px;
	border-width: 0 6px 6px 0;
}

.deal-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px 14px 14px;
	min-width: 0;
}

.deal-card__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;
}

.deal-card__title a {
	color: inherit;
	text-decoration: none;
}

.deal-card__title a:hover,
.deal-card__title a:focus-visible {
	color: var(--gst-accent-strong);
}

.deal-card__prices {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	align-self: flex-end;
	gap: 1px;
	margin: 0;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.deal-card__was {
	color: var(--gst-muted);
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: line-through;
}

.deal-card__now {
	color: var(--gst-accent-strong);
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.game-hub__price-row .deal-card__was {
	font-size: 0.8125rem;
}

.game-hub__price-row .deal-card__now {
	color: var(--gst-accent-strong);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0;
}

.deal-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 2px 0 0;
}

.deal-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 6px 12px;
	border-radius: 10px;
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
}

.deal-card__btn--steam {
	border: 1px solid var(--gst-line);
	color: var(--gst-text);
	background: #1a1a1a;
}

.deal-card__btn--steam:hover,
.deal-card__btn--steam:focus-visible {
	color: var(--gst-text);
	border-color: var(--gst-accent);
}

.article-game-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin: 1.5rem 0 0;
}

.cluster-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 12px;
	color: var(--gst-muted);
	font-size: 0.875rem;
}

.cluster-nav a {
	color: var(--gst-muted);
	text-decoration: none;
}

.cluster-nav a:hover,
.cluster-nav a:focus-visible {
	color: var(--gst-accent-strong);
}

.game-hub--has-bg {
	position: relative;
	overflow: hidden;
}

.game-hub--has-bg::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 180px;
	background:
		linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, var(--gst-surface) 100%),
		var(--gst-game-bg) center / cover no-repeat;
	pointer-events: none;
}

.game-hub--has-bg > * {
	position: relative;
	z-index: 1;
}

.game-hub__intro {
	display: grid;
	gap: 16px;
}

.game-hub .entry-title {
	margin: 0 0 8px;
}

.game-hub__meta {
	display: grid;
	gap: 16px;
	width: 100%;
}

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

.game-hub__facts > div {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.game-hub__facts dt {
	color: var(--gst-muted);
	font-size: 0.75rem;
	font-weight: 600;
}

.game-hub__facts dd {
	display: grid;
	gap: 4px;
	margin: 0;
	font-size: 0.95rem;
}

.game-hub__fact-price {
	grid-column: 1 / -1;
}

.game-hub__price-row {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 10px;
}

.game-hub__price-row .deal-card__badge {
	position: relative;
	top: auto;
	right: auto;
	border-radius: 3px 4px 4px 3px;
}

.game-hub__price-updated {
	color: var(--gst-muted);
	font-size: 0.75rem;
	line-height: 1.35;
}

.game-hub__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.game-hub__steam {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 18px;
	border: 0;
	border-radius: 999px;
	background-color: #ff6a00;
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 36%, rgba(0, 0, 0, 0.08) 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.42),
		inset 0 -1px 0 rgba(0, 0, 0, 0.14),
		0 8px 22px rgba(255, 106, 0, 0.38);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}

.game-hub__steam:hover,
.game-hub__steam:focus-visible {
	color: #fff;
	background-color: #ff8124;
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.1) 36%, rgba(0, 0, 0, 0.06) 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.5),
		inset 0 -1px 0 rgba(0, 0, 0, 0.1),
		0 10px 26px rgba(255, 106, 0, 0.46);
}

.game-hub__steam-icon {
	flex-shrink: 0;
}

.game-hub__content {
	margin-top: 24px;
}

.game-hub__cover {
	display: block;
	width: 140px;
	max-width: 140px;
	aspect-ratio: 1 / 1;
	margin: 0;
	object-fit: cover;
	border-radius: 12px;
}

.game-hub__details {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
}

.game-hub__topup {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 26rem;
	min-height: 64px;
	padding: 12px 16px;
	border: 1px solid var(--gst-line);
	border-radius: 16px;
	background:
		linear-gradient(180deg, rgba(255, 106, 0, 0.16) 0%, rgba(255, 106, 0, 0.05) 100%),
		#1a120c;
	color: var(--gst-text);
	text-decoration: none;
	box-shadow: var(--gst-shadow);
}

.game-hub__topup:hover,
.game-hub__topup:focus-visible {
	color: var(--gst-text);
	border-color: var(--gst-accent);
	background:
		linear-gradient(180deg, rgba(255, 106, 0, 0.24) 0%, rgba(255, 106, 0, 0.08) 100%),
		#22150c;
}

.game-hub__topup-copy {
	display: grid;
	gap: 2px;
	min-width: 0;
	flex: 1;
}

.game-hub__topup-label {
	overflow: hidden;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.game-hub__topup-hint {
	color: var(--gst-muted);
	font-size: 0.8125rem;
	line-height: 1.3;
}

.game-hub__topup-arrow {
	flex-shrink: 0;
	color: var(--gst-accent-strong);
}

@media (min-width: 768px) {
	.game-hub__intro:has(.game-hub__cover) {
		grid-template-columns: 168px minmax(0, 1fr);
		align-items: start;
		gap: 20px;
	}

	.game-hub__cover {
		width: 168px;
		max-width: 168px;
	}

	.game-hub__meta {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-end;
		justify-content: space-between;
		gap: 14px 20px;
	}

	.game-hub__facts {
		flex: 1 1 22rem;
		grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
	}

	.game-hub__fact-price {
		grid-column: auto;
		min-width: 10rem;
	}

	.game-hub__actions {
		flex: 0 0 auto;
		width: auto;
	}

	.game-hub__topup {
		margin-top: 0;
	}

	.deal-grid--row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.game-hub__related {
	margin: 0 0 var(--gst-space);
}

.game-hub__related .home-panel__title {
	margin-bottom: 12px;
}

.cluster-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 1rem;
	font-size: 0.9rem;
}

.cluster-links__label {
	color: var(--gst-muted);
}

.cluster-links a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 4px 12px;
	border: 1px solid var(--gst-accent);
	border-radius: 999px;
	color: var(--gst-accent-strong);
	text-decoration: none;
	font-weight: 600;
}

.cluster-links a:hover,
.cluster-links a:focus-visible {
	color: var(--gst-chrome-text);
	background: rgba(255, 106, 0, 0.16);
}

.archive-description {
	margin: 0;
	color: var(--gst-muted);
}

.page-header .archive-description p {
	margin: 0;
}

.article-type-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.article-type-nav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--gst-line);
	border-radius: 999px;
	background: transparent;
	color: var(--gst-text);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}

.article-type-nav a:hover,
.article-type-nav a:focus-visible {
	color: var(--gst-accent-strong);
	border-color: var(--gst-accent);
}

.article-type-nav a.is-current {
	background: var(--gst-accent);
	border-color: var(--gst-accent);
	color: #fff;
}

.article-type-nav a.is-current:hover,
.article-type-nav a.is-current:focus-visible {
	color: #fff;
}

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

.promo-grid__item {
	min-width: 0;
	margin: 0;
}

.promo-tile {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	border-radius: 16px;
	background: var(--gst-surface);
	color: inherit;
	text-decoration: none;
}

.promo-tile:hover,
.promo-tile:focus-visible {
	color: inherit;
}

.promo-tile:focus-visible .promo-tile__cover {
	outline: 2px solid var(--gst-accent);
	outline-offset: 2px;
}

.promo-tile__cover {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: linear-gradient(135deg, #2a1204 0%, #ff6a00 100%);
}

.promo-tile__image {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.promo-tile__mark {
	color: #fff;
	font-size: clamp(1.2rem, 4vw, 1.8rem);
	font-weight: 700;
	line-height: 1;
}

.promo-tile__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 12px 14px 14px;
	min-width: 0;
}

.promo-tile__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin: 0;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.35;
	text-wrap: balance;
}

.promo-tile__excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	color: var(--gst-muted);
	font-size: 0.875rem;
	line-height: 1.45;
}

.promo-tile__date {
	color: var(--gst-muted);
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
}

.promo-tile .news-list__badge {
	grid-area: auto;
}

.pagination {
	display: flex;
	justify-content: center;
	margin: 20px 0 8px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--gst-surface);
	color: var(--gst-text);
	font-weight: 600;
	text-decoration: none;
}

.pagination .page-numbers:hover,
.pagination .page-numbers:focus-visible {
	color: var(--gst-accent-strong);
}

.pagination .page-numbers.current {
	background: var(--gst-accent);
	color: #fff;
}

@media (min-width: 640px) {
	.promo-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 16px;
	}

	.promo-tile__body {
		padding: 10px 12px 12px;
	}

	.promo-tile__title {
		font-size: 0.95rem;
	}

	.popular-grid {
		gap: 12px;
	}

	.popular-card__title {
		font-size: 0.95rem;
	}

	.home-faq__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.home-faq__card {
		padding: 24px 18px 22px;
	}

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

	.game-grid--row {
		gap: 12px;
	}

	.game-grid--row .game-card {
		flex-basis: calc((100% - 48px) / 5);
	}

	.game-card__title {
		font-size: 0.875rem;
	}

	.deal-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
	}

	.deal-grid--row {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		overflow: visible;
	}

	.deal-grid--row .deal-card {
		flex: none;
		width: auto;
	}

	.article-game-cards--2,
	.article-game-cards--3,
	.article-game-cards--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.popular-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 14px;
	}

	.home-faq__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 16px;
	}

	.game-grid--row {
		overflow: visible;
	}

	.game-grid--row .game-card {
		flex: 1 1 0;
		width: auto;
	}

	.deal-grid,
	.deal-grid--row {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 14px;
	}

	.article-game-cards--3,
	.article-game-cards--4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.game-hub__facts {
		grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
	}

	.game-hub__topup {
		width: auto;
		max-width: 26rem;
	}
}

/* Single article — magazine layout, not a dashboard card */

.article-main {
	display: flex;
	flex-direction: column;
}

.article,
.article-related,
.article-header,
.article-body,
.article-faq,
.article-game-nav {
	width: 100%;
	min-width: 0;
}

.article-header {
	margin-bottom: 1.5rem;
}

.article-breadcrumb {
	margin-bottom: 1rem;
}

.article-kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0 0 0.85rem;
}

.article-kicker .news-list__badge {
	grid-area: auto;
	text-decoration: none;
}

.article-kicker__game {
	color: var(--gst-muted);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 600;
}

.article-kicker__game:hover,
.article-kicker__game:focus-visible {
	color: var(--gst-accent-strong);
}

.article-title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.6rem, 4vw, 2.25rem);
	font-weight: 700;
	line-height: 1.28;
	text-wrap: balance;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin: 0;
	color: var(--gst-muted);
	font-size: 0.875rem;
}

.article-hero {
	width: 100%;
	margin: 0 auto 1.75rem;
}

.article-hero__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 16px;
	background: #140800;
}

.article-hero__caption {
	margin: 8px 0 0;
	color: var(--gst-muted);
	font-size: 0.8125rem;
	text-align: center;
}

.article-lead {
	margin: 0 0 1.25rem;
	color: var(--gst-text);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.75;
}

.article-toc {
	margin: 0 0 2rem;
	padding: 0;
}

.article-toc__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 44px;
	padding: 0;
	color: var(--gst-text);
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.article-toc__summary::-webkit-details-marker {
	display: none;
}

.article-toc__summary::after {
	content: "";
	width: 0.45em;
	height: 0.45em;
	margin-left: 12px;
	border-right: 2px solid var(--gst-muted);
	border-bottom: 2px solid var(--gst-muted);
	transform: rotate(45deg);
	transition: transform 0.15s ease;
}

.article-toc[open] .article-toc__summary::after {
	transform: rotate(225deg);
	translate: 0 4px;
}

.article-toc__list,
.article-toc__list ol {
	margin: 10px 0 0;
	padding: 0 0 0 1.15rem;
	display: grid;
	gap: 8px;
}

.article-toc__list ol {
	margin-top: 8px;
}

.article-toc__list a {
	color: var(--gst-muted);
	text-decoration: none;
	font-size: 0.95rem;
	line-height: 1.45;
}

.article-toc__list a:hover,
.article-toc__list a:focus-visible {
	color: var(--gst-accent-strong);
}

.article-content {
	font-size: 1.0625rem;
	line-height: 1.8;
	overflow-wrap: break-word;
}

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

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

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote,
.article-content pre,
.article-content .wp-block-code,
.article-content .wp-block-preformatted,
.article-content .wp-block-image,
.article-content .wp-block-gallery,
.article-content .wp-block-embed,
.article-content .wp-block-table,
.article-content .article-table-wrap,
.article-content .wp-block-buttons,
.article-content .wp-block-quote,
.article-content .wp-block-group,
.article-content .wp-block-details,
.article-content .gallery {
	margin: 0 0 1.25em;
}

.article-content h2,
.article-content h3,
.article-content h4,
.article-faq,
.article-faq__title,
.article-related__title {
	scroll-margin-top: calc(var(--gst-header-h) + env(safe-area-inset-top) + 12px);
}

.article-content h2,
.article-content h3,
.article-content h4 {
	color: var(--gst-text);
	font-weight: 700;
	line-height: 1.3;
}

.article-content h2 {
	margin: 2em 0 0.7em;
	font-size: 1.45rem;
}

.article-content h3 {
	margin: 1.6em 0 0.55em;
	font-size: 1.2rem;
}

.article-content h4 {
	margin: 1.35em 0 0.45em;
	font-size: 1.05rem;
}

.article-content a {
	color: var(--gst-accent-strong);
}

.article-content a:hover,
.article-content a:focus-visible {
	color: var(--gst-accent);
}

.article-content ul,
.article-content ol {
	padding-left: 1.35em;
}

.article-content li {
	margin: 0.4em 0;
}

.article-content li ul,
.article-content li ol {
	margin: 0.35em 0 0.6em;
}

.article-content blockquote,
.article-content .wp-block-quote {
	margin-left: 0;
	margin-right: 0;
	padding: 0.15em 0 0.15em 1rem;
	border-left: 3px solid var(--gst-accent);
	background: transparent;
	color: var(--gst-text);
	font-style: normal;
}

.article-content blockquote p,
.article-content .wp-block-quote p {
	margin: 0 0 0.6em;
}

.article-content blockquote p:last-child,
.article-content .wp-block-quote p:last-child,
.article-content .article-faq__answer > *:last-child {
	margin-bottom: 0;
}

.article-content cite,
.article-content .wp-block-quote cite {
	color: var(--gst-muted);
	font-size: 0.9rem;
	font-style: normal;
}

.article-content img,
.article-content video,
.article-content iframe {
	max-width: 100%;
	height: auto;
}

.article-content .wp-block-image img,
.article-content .wp-caption img,
.article-content img.aligncenter,
.article-content img.alignnone,
.article-content img.alignleft,
.article-content img.alignright {
	border-radius: 12px;
}

.article-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.article-content .alignleft {
	float: left;
	margin: 0.3em 1.1em 0.8em 0;
}

.article-content .alignright {
	float: right;
	margin: 0.3em 0 0.8em 1.1em;
}

.article-content figcaption,
.article-content .wp-caption-text,
.article-content .gallery-caption {
	margin: 8px 0 0;
	color: var(--gst-muted);
	font-size: 0.8125rem;
	text-align: center;
}

.article-content .wp-block-gallery,
.article-content .gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.article-content .wp-block-gallery img,
.article-content .gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}

.article-content .wp-block-embed,
.article-content .wp-block-video {
	max-width: 100%;
}

.article-content .wp-block-embed__wrapper,
.article-content .wp-block-embed iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	border-radius: 12px;
}

.article-content .wp-block-table,
.article-content .article-table-wrap {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.article-content table {
	width: max-content;
	min-width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.article-content th,
.article-content td {
	padding: 10px 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	text-align: left;
	vertical-align: top;
}

.article-content th {
	color: var(--gst-accent-strong);
	font-weight: 600;
	white-space: nowrap;
}

.article-content .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.article-content .wp-block-button {
	margin: 0;
}

.article-content .wp-block-button__link,
.article-content .wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 16px;
	border: 0;
	border-radius: 12px;
	background: var(--gst-accent);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	line-height: 1.2;
}

.article-content .wp-block-button__link:hover,
.article-content .wp-block-button__link:focus-visible,
.article-content .wp-element-button:hover,
.article-content .wp-element-button:focus-visible {
	color: #fff;
	background: #ff8124;
}

.article-content .is-style-outline .wp-block-button__link,
.article-content .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--gst-accent-strong);
	box-shadow: inset 0 0 0 1px var(--gst-accent);
}

.article-content .is-style-gst-topup .wp-block-button__link {
	background: var(--gst-accent);
}

.article-content pre,
.article-content .wp-block-code,
.article-content .wp-block-preformatted,
.article-content code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.9em;
}

.article-content pre,
.article-content .wp-block-code,
.article-content .wp-block-preformatted {
	max-width: 100%;
	overflow-x: auto;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--gst-surface);
}

.article-content :not(pre) > code {
	padding: 0.1em 0.35em;
	border-radius: 6px;
	background: var(--gst-surface);
}

.article-content .wp-block-group.is-style-gst-info,
.article-content .wp-block-group.is-style-gst-note,
.article-content .wp-block-group.is-style-gst-tip,
.article-content .wp-block-group.is-style-gst-warning,
.article-content .wp-block-group.is-style-gst-summary,
.article-content .wp-block-group.is-style-gst-event,
.article-content .wp-block-group.is-style-gst-terms,
.article-content .gst-callout,
.article-content .is-style-gst-note {
	margin: 1.5em 0;
	padding: 14px 16px 14px 18px;
	border-radius: 0 12px 12px 0;
	border-left: 3px solid var(--gst-accent);
	background: rgba(255, 106, 0, 0.08);
}

.article-content .wp-block-group.is-style-gst-info::before,
.article-content .wp-block-group.is-style-gst-note::before,
.article-content .wp-block-group.is-style-gst-tip::before,
.article-content .wp-block-group.is-style-gst-warning::before,
.article-content .wp-block-group.is-style-gst-summary::before,
.article-content .wp-block-group.is-style-gst-event::before,
.article-content .wp-block-group.is-style-gst-terms::before,
.article-content .gst-callout::before {
	display: block;
	margin-bottom: 6px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gst-accent-strong);
}

.article-content .wp-block-group.is-style-gst-info::before,
.article-content .gst-callout--info::before {
	content: "ข้อมูลสำคัญ";
}

.article-content .wp-block-group.is-style-gst-note::before,
.article-content .gst-callout--note::before {
	content: "หมายเหตุ";
}

.article-content .wp-block-group.is-style-gst-tip::before,
.article-content .gst-callout--tip::before {
	content: "Tips";
}

.article-content .wp-block-group.is-style-gst-warning::before,
.article-content .gst-callout--warning::before {
	content: "Warning";
}

.article-content .wp-block-group.is-style-gst-summary::before,
.article-content .gst-callout--summary::before {
	content: "สรุป";
}

.article-content .wp-block-group.is-style-gst-event::before,
.article-content .gst-callout--event::before {
	content: "วันที่กิจกรรม";
}

.article-content .wp-block-group.is-style-gst-terms::before,
.article-content .gst-callout--terms::before {
	content: "เงื่อนไขกิจกรรม";
}

.article-content .wp-block-group.is-style-gst-warning,
.article-content .gst-callout--warning {
	border-left-color: #ffb020;
	background: rgba(255, 176, 32, 0.08);
}

.article-content .wp-block-group.is-style-gst-warning::before,
.article-content .gst-callout--warning::before {
	color: #ffb020;
}

.article-content .wp-block-group.is-style-gst-cta {
	display: grid;
	gap: 10px;
	margin: 1.75em 0;
	padding: 16px 18px;
	border-radius: 14px;
	background: rgba(255, 106, 0, 0.08);
}

.article-content .wp-block-group.is-style-gst-cta > *:last-child {
	margin-bottom: 0;
}

.article-content .wp-block-details summary {
	min-height: 44px;
	cursor: pointer;
	font-weight: 700;
}

.article-pages {
	margin-top: 1.5rem;
	color: var(--gst-muted);
}

.article-faq {
	margin: 2.75rem auto 0;
}

.article-faq__title,
.article-related__title {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
}

.article-faq__item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 48px;
	padding: 12px 0;
	cursor: pointer;
	font-weight: 600;
	list-style: none;
}

.article-faq__item summary::-webkit-details-marker {
	display: none;
}

.article-faq__item summary::after {
	content: "";
	flex-shrink: 0;
	width: 0.45em;
	height: 0.45em;
	border-right: 2px solid var(--gst-muted);
	border-bottom: 2px solid var(--gst-muted);
	transform: rotate(45deg);
}

.article-faq__item[open] summary::after {
	transform: rotate(225deg);
	translate: 0 3px;
}

.article-faq__answer {
	padding: 0 0 14px;
	color: var(--gst-muted);
}

.article-game-nav {
	margin: 2.25rem auto 0;
	padding-top: 0.25rem;
}

.article-game-nav__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0 0 10px;
}

.article-game-nav__link {
	color: var(--gst-accent-strong);
	text-decoration: none;
	font-weight: 700;
}

.article-game-nav__link:hover,
.article-game-nav__link:focus-visible {
	color: var(--gst-accent);
}

.article-game-nav__topup {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 12px;
	border-radius: 10px;
	background: var(--gst-accent);
	color: #fff;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 700;
}

.article-game-nav__topup:hover,
.article-game-nav__topup:focus-visible {
	color: #fff;
	background: #ff8124;
}

.article-related {
	margin: 2.75rem 0 0;
}

.article-related + .article-related {
	margin-top: 2rem;
}

.article-related__grid {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	gap: 10px;
	min-width: 0;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 2px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.article-related__grid::-webkit-scrollbar {
	display: none;
}

.article-related__grid > li {
	flex: 0 0 78%;
	width: 78%;
	min-width: 0;
	scroll-snap-align: start;
}

.article-related__grid--1 > li {
	flex-basis: 100%;
	width: 100%;
}

.article-card .popular-card__body {
	gap: 6px;
}

.article-card__date {
	color: var(--gst-muted);
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
}

.article-main > .article-related:last-child {
	margin-bottom: 8px;
}

@media (min-width: 640px) {
	.article-content .wp-block-gallery,
	.article-content .gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
	}
}

@media (min-width: 768px) {
	.article-header {
		margin-bottom: 1.75rem;
	}

	.article-toc__summary {
		pointer-events: none;
	}

	.article-toc__summary::after {
		display: none;
	}

	.article-content h2 {
		font-size: 1.6rem;
	}

	.article-content .alignleft,
	.article-content .alignright {
		max-width: 46%;
	}

	.article-related__grid,
	.article-related__grid--1,
	.article-related__grid--2,
	.article-related__grid--3,
	.article-related__grid--4 {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 12px;
		overflow: visible;
		scroll-snap-type: none;
	}

	.article-related__grid > li {
		flex: none;
		width: auto;
	}
}

.gst-float-cta {
	position: fixed;
	right: max(12px, env(safe-area-inset-right));
	bottom: calc(var(--gst-tab-h) + env(safe-area-inset-bottom) + 12px);
	z-index: 90;
	display: block;
	width: 92px;
	max-width: 28vw;
	border-radius: 50%;
	line-height: 0;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.gst-float-cta:hover,
.gst-float-cta:focus-visible {
	color: inherit;
}

.gst-float-cta img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: contain;
	border-radius: 50%;
	pointer-events: none;
}

@media (min-width: 768px) {
	.gst-float-cta {
		width: 108px;
		max-width: none;
		right: max(24px, env(safe-area-inset-right));
		bottom: max(24px, env(safe-area-inset-bottom));
	}
}

