/* Hedshot. Темна тема типова, світла вмикається перемикачем (data-theme="light"). */

:root {
	--bg: #090b0f;
	--bg2: #0e1117;
	--card: #131821;
	--line: #212938;
	--text: #eef1f6;
	--muted: #8d96a9;
	--accent: #c8ff2e;
	--ink: #0a0c10;
	--link: #c8ff2e;
	--focus: #c8ff2e;
	--live: #ff3d5a;
	--cat: var(--accent);
	--r: 14px;
	--wrap: 1240px;
	--gut: 24px;
	--f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--f-head: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--f-logo: 'Unbounded', 'Inter Tight', system-ui, sans-serif;
	color-scheme: dark;
}

:root[data-theme='light'] {
	--bg: #f2f3f6;
	--bg2: #ffffff;
	--card: #ffffff;
	--line: #dfe3eb;
	--text: #10131a;
	--muted: #586174;
	--link: #3a2bd6;
	--focus: #3a2bd6;
	color-scheme: light;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 84px;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 16px/1.55 var(--f-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--f-head);
	line-height: 1.18;
	letter-spacing: -0.01em;
}

p {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text,
.hs-skip:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.hs-skip:focus {
	position: fixed;
	z-index: 100;
	top: 8px;
	left: 8px;
	padding: 10px 14px;
	background: var(--accent);
	color: var(--ink);
	font-weight: 700;
}

.hs-wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gut) * 2);
	margin-inline: auto;
	padding-inline: var(--gut);
}

/* ---------- кнопки, чипи, дрібне ---------- */

.hs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: var(--accent);
	color: var(--ink);
	font: 700 14px/1 var(--f-head);
	white-space: nowrap;
}

.hs-btn:hover {
	filter: brightness(1.06);
}

.hs-btn--ghost {
	background: transparent;
	border-color: var(--line);
	color: var(--text);
}

.hs-btn--ghost:hover {
	border-color: var(--muted);
	filter: none;
}

.hs-icon {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--text);
}

.hs-icon:hover {
	background: var(--card);
}

.hs-icon__moon,
:root[data-theme='light'] .hs-icon__sun {
	display: none;
}

:root[data-theme='light'] .hs-icon__moon {
	display: block;
}

.hs-chip {
	display: inline-block;
	align-self: flex-start;
	padding: 4px 8px 3px;
	border-radius: 5px;
	background: var(--cat);
	color: #0a0c10;
	font: 800 11px/1.2 var(--f-head);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

a.hs-chip:hover {
	filter: brightness(1.1);
}

.hs-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	color: var(--muted);
	font-size: 13px;
}

.hs-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hs-img--empty {
	display: grid;
	place-items: center;
	padding: 12px;
	background:
		radial-gradient(120% 120% at 100% 0, color-mix(in srgb, var(--cat) 55%, transparent), transparent 60%),
		linear-gradient(135deg, #171c27, #0c0f15);
	color: rgba(255, 255, 255, 0.6);
	font: 800 13px/1.2 var(--f-logo);
	text-transform: uppercase;
	text-align: center;
}

.hs-empty {
	padding: 40px 0;
	color: var(--muted);
}

/* ---------- стрічка матчів ---------- */

.hs-ticker {
	background: var(--bg2);
	border-bottom: 1px solid var(--line);
	font-family: var(--f-head);
}

.hs-ticker__row {
	display: flex;
	align-items: stretch;
}

.hs-ticker__label {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-right: 16px;
	font: 700 11px/1 var(--f-logo);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.hs-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--live);
	box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 70%, transparent);
	animation: hs-pulse 1.8s infinite;
}

@keyframes hs-pulse {
	70% {
		box-shadow: 0 0 0 7px transparent;
	}
	100% {
		box-shadow: 0 0 0 0 transparent;
	}
}

.hs-ticker__list {
	display: flex;
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
	mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
}

.hs-ticker__list::-webkit-scrollbar {
	display: none;
}

.hs-match {
	display: grid;
	gap: 3px;
	width: 196px;
	padding: 9px 14px;
	border-left: 1px solid var(--line);
	font-size: 13px;
	line-height: 1.25;
}

a.hs-match:hover {
	background: var(--card);
}

.hs-match__top {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	color: var(--muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.hs-match__event {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hs-match--live .hs-match__status {
	color: var(--live);
}

.hs-match__team {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	color: var(--muted);
	font-weight: 600;
}

.hs-match__team span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hs-match__team b {
	font-weight: 800;
}

.hs-match--soon .hs-match__team,
.hs-match__team.is-win {
	color: var(--text);
}

/* ---------- шапка ---------- */

.hs-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--bg) 90%, transparent);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}

.hs-header__row {
	display: flex;
	align-items: center;
	gap: 28px;
	height: 64px;
}

.hs-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font: 900 19px/1 var(--f-logo);
	letter-spacing: -0.02em;
	text-transform: uppercase;
	white-space: nowrap;
}

.hs-logo__mark {
	width: 26px;
	height: 26px;
	border-radius: 7px;
	background:
		radial-gradient(circle at 50% 50%, var(--ink) 0 3px, transparent 3.5px),
		conic-gradient(from 0deg, transparent 0 0),
		var(--accent);
	box-shadow: inset 0 0 0 5px var(--accent), inset 0 0 0 7px var(--ink);
}

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

.hs-nav {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.hs-nav__list {
	display: flex;
	gap: 4px;
}

.hs-nav__list a {
	position: relative;
	display: block;
	padding: 22px 12px;
	font: 700 15px/20px var(--f-head);
	white-space: nowrap;
}

.hs-nav__list a::after {
	content: '';
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 0;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--cat);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.18s ease;
}

.hs-nav__list a:hover::after,
.hs-nav__list .current-menu-item a::after,
.hs-nav__list .current-cat a::after {
	transform: scaleX(1);
}

.hs-actions {
	display: flex;
	gap: 2px;
	margin-left: auto;
}

.hs-burger {
	display: none;
}

.hs-searchbar,
.hs-drawer {
	padding: 14px 0 18px;
	border-top: 1px solid var(--line);
	background: var(--bg);
}

.hs-drawer__list a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	font: 700 18px/1.2 var(--f-head);
}

.hs-search {
	display: flex;
	gap: 8px;
	max-width: 640px;
}

.hs-search input {
	flex: 1;
	min-width: 0;
	padding: 11px 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--card);
	color: var(--text);
	font: inherit;
}

.hs-search input::placeholder {
	color: var(--muted);
}

/* ---------- заголовки блоків ---------- */

.hs-main {
	display: block;
	min-height: 60vh;
	padding-bottom: 64px;
}

.hs-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 8px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}

.hs-head__title {
	display: flex;
	align-items: center;
	gap: 12px;
	font: 700 17px/1.2 var(--f-logo);
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.hs-head__title::before {
	content: '';
	flex: none;
	width: 10px;
	height: 22px;
	border-radius: 3px;
	background: var(--cat);
	transform: skewX(-12deg);
}

.hs-head__more {
	color: var(--muted);
	font: 700 13px/1 var(--f-head);
	white-space: nowrap;
}

.hs-head__more:hover {
	color: var(--text);
}

.hs-block {
	margin-top: 56px;
}

.hs-head--cat {
	margin-bottom: 20px;
}

/* ---------- верхній блок ---------- */

.hs-hero {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 24px;
	height: clamp(440px, 46vw, 560px);
}

.hs-tile {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 0;
	border-radius: var(--r);
	overflow: hidden;
	background: var(--card);
	color: #fff;
	isolation: isolate;
}

.hs-tile--lead {
	grid-row: 1 / -1;
}

.hs-tile__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.hs-tile__media .hs-img {
	transition: transform 0.5s ease;
}

.hs-tile:hover .hs-tile__media .hs-img {
	transform: scale(1.04);
}

.hs-tile__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 8, 12, 0) 30%, rgba(6, 8, 12, 0.72) 68%, rgba(6, 8, 12, 0.94));
}

.hs-tile__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	padding: 20px;
}

.hs-tile--lead .hs-tile__body {
	max-width: 760px;
	padding: 32px;
	gap: 14px;
}

.hs-tile__title {
	font-size: 20px;
	font-weight: 700;
	text-wrap: balance;
}

.hs-tile--lead .hs-tile__title {
	font-size: clamp(26px, 3.1vw, 42px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
}

/* Посилання заголовка розтягнуте на всю плитку. */
.hs-tile__title a::after {
	content: '';
	position: absolute;
	inset: 0;
}

.hs-tile .hs-chip {
	position: relative;
	z-index: 1;
}

.hs-tile__lead {
	color: rgba(255, 255, 255, 0.82);
	font-size: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hs-tile .hs-meta {
	color: rgba(255, 255, 255, 0.7);
}

/* ---------- стрічка й бічна колонка ---------- */

.hs-cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 48px;
	align-items: start;
	margin-top: 48px;
}

.hs-row {
	display: grid;
	grid-template-columns: 264px minmax(0, 1fr);
	gap: 22px;
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
}

.hs-row__media,
.hs-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;
	background: var(--card);
}

.hs-row__media .hs-img,
.hs-card__media .hs-img {
	transition: transform 0.4s ease;
}

.hs-row:hover .hs-img,
.hs-card:hover .hs-img {
	transform: scale(1.04);
}

.hs-row__body,
.hs-card__body {
	display: flex;
	flex-direction: column;
	gap: 9px;
	min-width: 0;
}

.hs-row__title {
	font-size: 22px;
	font-weight: 700;
	text-wrap: balance;
}

.hs-row__title a:hover,
.hs-card__title a:hover,
.hs-mini__title a:hover {
	color: var(--link);
}

.hs-row__text {
	color: var(--muted);
	font-size: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hs-side {
	position: sticky;
	top: 88px;
	display: grid;
	gap: 20px;
}

.hs-box {
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--card);
}

.hs-box__title {
	margin-bottom: 6px;
	font: 700 14px/1.2 var(--f-logo);
	text-transform: uppercase;
}

.hs-mini {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.hs-mini:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.hs-mini__num {
	min-width: 30px;
	color: transparent;
	font: 900 26px/1 var(--f-logo);
	-webkit-text-stroke: 1.5px var(--muted);
}

.hs-mini:first-of-type .hs-mini__num {
	color: var(--accent);
	-webkit-text-stroke: 0;
}

:root[data-theme='light'] .hs-mini:first-of-type .hs-mini__num {
	color: var(--text);
}

.hs-mini__media {
	width: 72px;
	height: 72px;
	border-radius: 8px;
	overflow: hidden;
}

.hs-mini__body {
	display: grid;
	gap: 6px;
}

.hs-mini__title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.hs-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.hs-tags a {
	padding: 6px 11px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
}

.hs-tags a:hover {
	border-color: var(--muted);
	color: var(--text);
}

/* ---------- сітки карток ---------- */

.hs-grid {
	display: grid;
	gap: 28px 20px;
}

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

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

.hs-card {
	display: grid;
	gap: 14px;
	align-content: start;
}

.hs-card__title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.28;
}

.hs-grid--3 .hs-card__title {
	font-size: 19px;
}

/* ---------- пагінація ---------- */

.hs-pages {
	margin-top: 32px;
}

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

.hs-pages .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
	font: 700 14px/1 var(--f-head);
}

.hs-pages a.page-numbers:hover {
	border-color: var(--muted);
}

.hs-pages .page-numbers.current {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--ink);
}

.hs-pages .page-numbers.dots {
	border-color: transparent;
}

/* ---------- смуга розділу ---------- */

.hs-band {
	position: relative;
	padding: 52px 0 44px;
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(60% 140% at 100% 0, color-mix(in srgb, var(--cat) 22%, transparent), transparent 70%),
		var(--bg2);
	overflow: hidden;
}

.hs-band + .hs-block {
	margin-top: 40px;
}

.hs-band__kicker {
	display: inline-block;
	margin-bottom: 14px;
	padding: 4px 8px 3px;
	border-radius: 5px;
	background: var(--cat);
	color: #0a0c10;
	font: 800 11px/1.2 var(--f-head);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hs-band__title {
	font: 900 clamp(30px, 5.2vw, 60px) / 1.02 var(--f-logo);
	letter-spacing: -0.03em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.hs-band__text {
	max-width: 680px;
	margin-top: 16px;
	color: var(--muted);
	font-size: 17px;
}

.hs-band__count {
	margin-top: 16px;
	color: var(--muted);
	font-size: 14px;
}

.hs-band__form {
	margin-top: 24px;
}

/* ---------- стаття ---------- */

.hs-article__head {
	max-width: calc(920px + var(--gut) * 2);
	margin-top: 36px;
	margin-inline: auto;
}

.hs-article--page .hs-wrap {
	max-width: calc(760px + var(--gut) * 2);
}

.hs-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
	color: var(--muted);
	font: 700 12px/1.2 var(--f-head);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hs-crumbs a:last-child {
	color: var(--text);
	box-shadow: inset 0 -2px 0 var(--cat);
}

.hs-crumbs a:hover {
	color: var(--text);
}

.hs-article__title {
	font-size: clamp(30px, 4.6vw, 54px);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.hs-article__lead {
	margin-top: 18px;
	color: var(--muted);
	font-size: clamp(18px, 1.7vw, 21px);
	line-height: 1.5;
}

.hs-byline {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 26px;
}

.hs-byline__ava {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--cat);
	color: #0a0c10;
	font: 800 14px/1 var(--f-head);
}

.hs-byline__text {
	display: grid;
	gap: 2px;
	margin-right: auto;
	font-size: 13px;
	color: var(--muted);
}

.hs-byline__text > a {
	color: var(--text);
	font: 700 15px/1.2 var(--f-head);
}

.hs-article__cover {
	max-width: calc(1080px + var(--gut) * 2);
	margin: 32px auto 0;
}

.hs-article__cover .hs-img {
	aspect-ratio: 16 / 9;
	border-radius: var(--r);
}

.hs-article__cover figcaption {
	margin-top: 10px;
	color: var(--muted);
	font-size: 13px;
}

.hs-article__cover figcaption a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hs-article__cover figcaption a:hover {
	color: var(--text);
}

.hs-article__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 56px;
	align-items: start;
	max-width: calc(1080px + var(--gut) * 2);
	margin-top: 40px;
}

.hs-content {
	min-width: 0;
	font-size: 18px;
	line-height: 1.72;
}

.hs-content > * {
	margin-block: 0 1.25em;
}

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

.hs-content h2 {
	margin-top: 1.7em;
	margin-bottom: 0.6em;
	font-size: 29px;
	font-weight: 800;
}

.hs-content h3 {
	margin-top: 1.5em;
	margin-bottom: 0.5em;
	font-size: 23px;
}

.hs-content a {
	color: var(--link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.hs-content ul,
.hs-content ol {
	padding-left: 1.3em;
}

.hs-content ul {
	list-style: none;
}

.hs-content ul > li {
	position: relative;
}

.hs-content ul > li::before {
	content: '';
	position: absolute;
	left: -1.1em;
	top: 0.68em;
	width: 7px;
	height: 7px;
	border-radius: 2px;
	background: var(--cat);
	transform: rotate(45deg);
}

.hs-content ol {
	list-style: decimal;
}

.hs-content li + li {
	margin-top: 0.4em;
}

.hs-content blockquote {
	margin-inline: 0;
	padding: 6px 0 6px 22px;
	border-left: 4px solid var(--cat);
	font: 600 22px/1.45 var(--f-head);
}

.hs-content blockquote p + p {
	margin-top: 0.6em;
}

.hs-content blockquote cite {
	display: block;
	margin-top: 10px;
	color: var(--muted);
	font: 400 14px/1.4 var(--f-body);
}

.hs-content img,
.hs-content video {
	border-radius: 10px;
}

.hs-content figure {
	margin-inline: 0;
}

.hs-content figcaption,
.hs-content .wp-caption-text {
	margin-top: 8px;
	color: var(--muted);
	font-size: 13px;
}

.hs-content table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 15px;
}

.hs-content th,
.hs-content td {
	padding: 10px 14px;
	border: 1px solid var(--line);
	text-align: left;
}

.hs-content th {
	background: var(--card);
	font-family: var(--f-head);
}

.hs-content code {
	padding: 2px 6px;
	border-radius: 5px;
	background: var(--card);
	font-size: 0.9em;
}

.hs-content pre {
	padding: 16px;
	border-radius: 10px;
	background: var(--card);
	overflow-x: auto;
	font-size: 14px;
}

.hs-content hr {
	height: 1px;
	border: 0;
	background: var(--line);
}

.hs-content .alignleft {
	float: left;
	margin: 6px 24px 16px 0;
}

.hs-content .alignright {
	float: right;
	margin: 6px 0 16px 24px;
}

.hs-content .aligncenter {
	margin-inline: auto;
}

.hs-source {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 2em;
	padding: 14px 16px;
	border: 1px dashed var(--line);
	border-radius: 10px;
	color: var(--muted);
	font-size: 15px;
}

.hs-tags--article {
	margin-top: 28px;
}

.hs-content .hs-tags a {
	color: var(--muted);
	text-decoration: none;
}

/* ---------- архів ігор ---------- */

.hs-game .hs-band {
	padding-top: 36px;
}

.hs-game__title {
	font-size: clamp(28px, 4.4vw, 52px);
}

.hs-game .hs-band .hs-wrap {
	max-width: calc(1080px + var(--gut) * 2);
}

.hs-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 1px;
	margin: 0 0 1.6em;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--line);
	overflow: hidden;
	font-size: 15px;
	line-height: 1.4;
}

.hs-facts > div {
	display: grid;
	gap: 4px;
	padding: 14px 16px;
	background: var(--card);
}

.hs-facts dt {
	color: var(--muted);
	font: 700 11px/1.2 var(--f-head);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hs-facts dd {
	margin: 0;
	font-weight: 600;
}

.hs-letters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 28px;
}

.hs-letters a {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
	font: 700 14px/1 var(--f-head);
}

.hs-letters a:hover {
	border-color: var(--muted);
}

.hs-letters a[aria-current] {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--ink);
}

.hs-gamelist {
	columns: 4 220px;
	column-gap: 28px;
}

.hs-gamelist li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	break-inside: avoid;
	font: 600 15px/1.35 var(--f-head);
}

.hs-gamelist a:hover {
	color: var(--link);
}

.hs-gamelist span {
	flex: none;
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
}

/* ---------- підвал ---------- */

.hs-footer {
	border-top: 1px solid var(--line);
	background: var(--bg2);
}

.hs-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	padding-block: 48px 36px;
}

.hs-footer__about p {
	max-width: 380px;
	margin-top: 14px;
	color: var(--muted);
	font-size: 15px;
}

.hs-footer__title {
	margin-bottom: 14px;
	font: 700 12px/1.2 var(--f-logo);
	text-transform: uppercase;
}

.hs-footer__list {
	display: grid;
	gap: 9px;
	color: var(--muted);
	font-size: 15px;
}

.hs-footer__list a:hover,
.hs-footer__bottom a:hover {
	color: var(--text);
}

.hs-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-block: 18px 22px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 13px;
}

/* ---------- планшет і телефон ---------- */

@media (max-width: 1100px) {
	.hs-cols,
	.hs-article__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.hs-side {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}

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

@media (max-width: 980px) {
	.hs-nav {
		display: none;
	}

	.hs-burger {
		display: inline-grid;
	}

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

@media (min-width: 981px) {
	.hs-drawer {
		display: none;
	}
}

@media (max-width: 760px) {
	:root {
		--gut: 16px;
	}

	.hs-header__row {
		height: 56px;
		gap: 12px;
	}

	.hs-logo {
		min-width: 0;
		font-size: 16px;
	}

	/* Довга назва сайту на телефоні стає у два рядки, щоб кнопки пошуку, теми й меню лишались на екрані. */
	.hs-logo__text {
		max-width: 150px;
		font-size: 13px;
		line-height: 1.1;
		white-space: normal;
	}

	.hs-logo__mark,
	.hs-actions {
		flex: none;
	}

	.hs-ticker__label {
		padding-right: 12px;
		font-size: 0;
		gap: 0;
	}

	.hs-match {
		width: 168px;
		padding: 8px 12px;
	}

	.hs-hero {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
		height: auto;
		gap: 12px;
		margin-top: 16px;
	}

	.hs-tile {
		min-height: 200px;
	}

	.hs-tile--lead {
		grid-row: auto;
		min-height: 380px;
	}

	.hs-tile--lead .hs-tile__body {
		padding: 20px;
	}

	.hs-cols {
		margin-top: 36px;
	}

	.hs-row {
		grid-template-columns: 116px minmax(0, 1fr);
		gap: 14px;
		padding: 16px 0;
	}

	.hs-row__media {
		aspect-ratio: 1;
	}

	.hs-row__title {
		font-size: 17px;
		line-height: 1.25;
	}

	.hs-row__text,
	.hs-row .hs-meta > :not(time) {
		display: none;
	}

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

	.hs-block {
		margin-top: 44px;
	}

	.hs-grid {
		gap: 22px 14px;
	}

	.hs-grid--3 .hs-card__title,
	.hs-card__title {
		font-size: 15px;
	}

	.hs-band {
		padding: 36px 0 30px;
	}

	.hs-article__head {
		margin-top: 24px;
	}

	.hs-article__cover {
		padding-inline: 0;
		margin-top: 24px;
	}

	.hs-article__cover .hs-img {
		border-radius: 0;
	}

	.hs-article__cover figcaption {
		padding-inline: var(--gut);
	}

	.hs-article__grid {
		margin-top: 28px;
	}

	.hs-content {
		font-size: 17px;
	}

	.hs-content h2 {
		font-size: 24px;
	}

	.hs-content blockquote {
		font-size: 19px;
	}

	.hs-byline .hs-btn {
		padding: 9px 12px;
		font-size: 13px;
	}

	.hs-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px;
		padding-block: 36px 28px;
	}

	.hs-footer__about {
		grid-column: 1 / -1;
	}
}

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

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
