/*
Theme Name: Jeux
Theme URI: https://example.com/jeux
Author: Jeux
Description: Минималистичная тема в стиле apple.com для сайтов об игровых автоматах. Шаблоны: записи (обзоры слотов с характеристиками), категории, страницы.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jeux
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--bg: #ffffff;
	--bg-alt: #f5f5f7;
	--bg-elev: #ffffff;
	--text: #1d1d1f;
	--text-2: #6e6e73;
	--text-3: #86868b;
	--line: #d2d2d7;
	--accent: #0071e3;
	--accent-hover: #0077ed;
	--link: #0066cc;
	--nav-bg: rgba(251, 251, 253, .8);
	--nav-text: #1d1d1f;
	--dark-bg: #000000;
	--dark-text: #f5f5f7;
	--grad: linear-gradient(90deg, #ff2d55 0%, #af52de 50%, #0071e3 100%);
	--radius: 18px;
	--radius-lg: 28px;
	--shadow: 0 4px 24px rgba(0, 0, 0, .06);
	--shadow-hover: 0 12px 40px rgba(0, 0, 0, .12);
	--font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--ease: cubic-bezier(.28, .11, .32, 1);
	--w: 1024px;
	--w-wide: 1280px;
	--w-text: 692px;
	--gutter: 22px;
	--nav-h: 48px;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #000000;
		--bg-alt: #161617;
		--bg-elev: #1d1d1f;
		--text: #f5f5f7;
		--text-2: #a1a1a6;
		--text-3: #86868b;
		--line: #424245;
		--link: #2997ff;
		--nav-bg: rgba(22, 22, 23, .8);
		--nav-text: #f5f5f7;
		--shadow: 0 4px 24px rgba(0, 0, 0, .4);
		--shadow-hover: 0 12px 40px rgba(0, 0, 0, .6);
	}
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 60px); }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.47;
	letter-spacing: -.022em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 600; line-height: 1.1; letter-spacing: -.015em; color: var(--text); }

p { margin: 0 0 1em; }

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

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.sc-skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 8px; left: 8px; padding: 10px 16px; background: var(--bg); color: var(--text); border-radius: 8px;
}

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

.sc-section { padding: 80px 0; }
.sc-section--alt { background: var(--bg-alt); }
.sc-section--tight { padding: 48px 0; }

.sc-section-title {
	font-size: clamp(32px, 4.5vw, 48px);
	margin-bottom: 40px;
}

.sc-eyebrow {
	display: inline-block;
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -.01em;
	color: var(--text-2);
}
a.sc-eyebrow { color: var(--text-2); }
.sc-eyebrow--accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.sc-grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================================
   Buttons & pills
   ========================================================================== */
.sc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 44px; padding: 11px 22px;
	border: 0; border-radius: 980px;
	background: var(--accent); color: #fff;
	font: inherit; font-size: 17px; font-weight: 400; line-height: 1.2;
	cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease);
}
.sc-btn:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.sc-btn:active { transform: scale(.98); }
.sc-btn--sm { min-height: 28px; padding: 4px 14px; font-size: 12px; }
.sc-btn--ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.sc-btn--ghost:hover { background: var(--link); color: #fff; }

.sc-link-more { font-size: 17px; }
.sc-link-more::after { content: " ›"; }
.sc-link-more:hover { text-decoration: underline; }

.sc-pill {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 4px 10px; border-radius: 980px;
	background: var(--bg-alt); color: var(--text-2);
	font-size: 12px; font-weight: 600; letter-spacing: 0; white-space: nowrap;
}
.sc-pill--new { color: #bf4800; }

/* ==========================================================================
   Global nav
   ========================================================================== */
.sc-gnav {
	position: sticky; top: 0; z-index: 100;
	height: var(--nav-h);
	background: var(--nav-bg);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
}
.admin-bar .sc-gnav { top: 32px; }
@media (max-width: 782px) { .admin-bar .sc-gnav { top: 0; } }

.sc-gnav__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	height: 100%; max-width: calc(var(--w) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
}

.sc-gnav__brand { display: flex; align-items: center; gap: 8px; color: var(--nav-text); font-size: 17px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.sc-gnav__brand:hover { text-decoration: none; }
.sc-gnav__brand img { max-height: 28px; width: auto; }
.sc-gnav__brand .sc-gnav__logo { width: 36px; height: 36px; max-height: none; transition: transform .3s var(--ease); }
.sc-gnav__brand:hover .sc-gnav__logo { transform: scale(1.08) rotate(-4deg); }
.sc-gnav__brand .custom-logo-link { display: flex; }

.sc-gnav__menu { flex: 1; }
.sc-gnav__menu ul { list-style: none; margin: 0; padding: 0; }
.sc-gnav__menu > ul { display: flex; justify-content: flex-end; gap: 4px; }
.sc-gnav__menu li { position: relative; }
.sc-gnav__menu a {
	display: block; padding: 0 10px; line-height: var(--nav-h);
	color: var(--nav-text); opacity: .8; font-size: 12px; letter-spacing: -.01em;
	transition: opacity .2s;
}
.sc-gnav__menu a:hover, .sc-gnav__menu .current-menu-item > a, .sc-gnav__menu .current-cat > a, .sc-gnav__menu .current-menu-ancestor > a { opacity: 1; text-decoration: none; }

.sc-gnav__menu .sub-menu, .sc-gnav__menu .children {
	position: absolute; top: 100%; left: 0; min-width: 220px; padding: 12px 0;
	background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
	border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.sc-gnav__menu li:hover > .sub-menu, .sc-gnav__menu li:focus-within > .sub-menu,
.sc-gnav__menu li:hover > .children, .sc-gnav__menu li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.sc-gnav__menu .sub-menu a, .sc-gnav__menu .children a { line-height: 1.4; padding: 8px 20px; font-size: 14px; }

.sc-gnav__toggle {
	display: none; position: relative; width: 44px; height: 44px; margin-right: -12px;
	border: 0; background: none; cursor: pointer; color: var(--nav-text);
}
.sc-gnav__toggle span {
	position: absolute; left: 14px; width: 17px; height: 1.5px; border-radius: 1px; background: currentColor;
	transition: transform .3s var(--ease), top .3s var(--ease);
}
.sc-gnav__toggle span:first-child { top: 18px; }
.sc-gnav__toggle span:last-child { top: 25px; }
.sc-gnav.sc-is-open .sc-gnav__toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.sc-gnav.sc-is-open .sc-gnav__toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 833px) {
	.sc-gnav__toggle { display: block; }
	.sc-gnav__menu {
		position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
		background: var(--bg); padding: 16px 40px 40px; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
	}
	.admin-bar .sc-gnav__menu { top: calc(var(--nav-h) + 46px); }
	.sc-gnav.sc-is-open .sc-gnav__menu { opacity: 1; visibility: visible; transform: none; }
	.sc-gnav__menu > ul { flex-direction: column; gap: 0; }
	.sc-gnav__menu a { padding: 8px 0; line-height: 1.2; font-size: 28px; font-weight: 600; opacity: 1; }
	.sc-gnav__menu .sub-menu, .sc-gnav__menu .children {
		position: static; opacity: 1; visibility: visible; transform: none;
		background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0 0 8px;
	}
	.sc-gnav__menu .sub-menu a, .sc-gnav__menu .children a { padding: 6px 0; font-size: 17px; font-weight: 400; color: var(--text-2); }
	html.sc-nav-open, html.sc-nav-open body { overflow: hidden; }
}

/* ==========================================================================
   Local nav (single)
   ========================================================================== */
.sc-lnav {
	position: sticky; top: var(--nav-h); z-index: 90;
	height: 52px;
	background: var(--nav-bg);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.admin-bar .sc-lnav { top: calc(var(--nav-h) + 32px); }
@media (max-width: 782px) { .admin-bar .sc-lnav { top: var(--nav-h); } }
.sc-lnav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.sc-lnav__title { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: .011em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-lnav__actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.sc-lnav__actions a:not(.sc-btn) { font-size: 12px; color: var(--text); opacity: .8; }
.sc-lnav__actions a:not(.sc-btn):hover { opacity: 1; color: var(--link); text-decoration: none; }
@media (max-width: 600px) { .sc-lnav__title { font-size: 17px; } .sc-lnav__actions a:not(.sc-btn) { display: none; } }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.sc-breadcrumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0 0 24px; padding: 0; font-size: 12px; color: var(--text-3); }
.sc-breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; }
.sc-breadcrumbs a { color: var(--text-2); }

/* ==========================================================================
   Hero
   ========================================================================== */
.sc-hero { padding: 72px 0 56px; text-align: center; }
.sc-hero__title {
	max-width: 900px; margin: 0 auto 16px;
	font-size: clamp(40px, 7vw, 80px);
	line-height: 1.05; letter-spacing: -.015em;
}
.sc-hero__lead {
	max-width: 720px; margin: 0 auto;
	font-size: clamp(21px, 2.4vw, 28px); line-height: 1.2; font-weight: 400; letter-spacing: .004em;
	color: var(--text-2);
}
.sc-hero__lead p { margin: 0 0 .5em; }
.sc-hero__meta { margin-top: 20px; font-size: 14px; color: var(--text-3); }
.sc-hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 28px; margin-top: 32px; }

.sc-hero-media { margin: 0 auto 24px; }

/* Front page: no big title, tight top */
.sc-hero--compact { padding: 32px 0 0; }
.sc-hero--compact .sc-chips { margin-top: 0; }
.sc-hero--compact + .sc-section { padding-top: 40px; }
.sc-hero-media img { width: 100%; border-radius: var(--radius-lg); }

/* Category chips + sort */
.sc-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.sc-chips a {
	display: inline-block; padding: 8px 18px; border-radius: 980px;
	background: var(--bg-alt); color: var(--text); font-size: 14px;
	transition: background .2s, color .2s;
}
.sc-chips a:hover, .sc-chips a[aria-current="page"] { background: var(--text); color: var(--bg); text-decoration: none; }

.sc-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.sc-toolbar__count { margin: 0; font-size: 14px; color: var(--text-2); }
.sc-sort { display: inline-flex; gap: 2px; padding: 3px; border-radius: 980px; background: var(--bg-alt); }
.sc-section--alt .sc-sort { background: var(--bg); }
.sc-sort a { padding: 6px 14px; border-radius: 980px; font-size: 13px; color: var(--text-2); }
.sc-sort a:hover { color: var(--text); text-decoration: none; }
.sc-sort a[aria-current="true"] { background: var(--bg-elev); color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.sc-section--alt .sc-sort a[aria-current="true"] { background: var(--bg-alt); }

/* ==========================================================================
   Cards
   ========================================================================== */
.sc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1068px) { .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sc-grid { grid-template-columns: 1fr; gap: 16px; } }

.sc-card {
	position: relative; display: flex; flex-direction: column;
	background: var(--bg-elev); border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.sc-section--alt .sc-card { box-shadow: none; }
.sc-card:hover { transform: scale(1.015); box-shadow: var(--shadow-hover); }
.sc-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.sc-card__link:hover { text-decoration: none; }

.sc-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.sc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sc-card:hover .sc-card__media img { transform: scale(1.04); }
.sc-card__placeholder {
	display: grid; place-items: center; width: 100%; height: 100%;
	background: var(--grad); color: #fff; font-size: 72px; font-weight: 700; letter-spacing: -.04em;
}
.sc-card__rating {
	position: absolute; top: 12px; right: 12px;
	padding: 4px 10px; border-radius: 980px;
	background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	color: #fff; font-size: 13px; font-weight: 600;
}

.sc-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }
.sc-card__body .sc-eyebrow { font-size: 12px; margin-bottom: 6px; }
.sc-card__title { margin: 0 0 10px; font-size: 24px; line-height: 1.17; letter-spacing: .009em; }
.sc-card__excerpt { margin: 0 0 16px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.sc-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }

.sc-card--feature { grid-column: 1 / -1; }
.sc-card--feature .sc-card__link { flex-direction: row; }
.sc-card--feature .sc-card__media { flex: 0 0 58%; aspect-ratio: 16 / 10; }
.sc-card--feature .sc-card__body { justify-content: center; padding: 48px; }
.sc-card--feature .sc-card__title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.sc-card--feature .sc-card__excerpt { font-size: 17px; }
@media (max-width: 833px) {
	.sc-card--feature .sc-card__link { flex-direction: column; }
	.sc-card--feature .sc-card__media { flex: none; }
	.sc-card--feature .sc-card__body { padding: 24px 28px 28px; }
}

/* ==========================================================================
   Providers (front page)
   ========================================================================== */
.sc-providers { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sc-provider__link {
	display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%;
	padding: 20px 16px 18px; border-radius: var(--radius);
	background: var(--bg-alt); color: var(--text); text-align: center;
	transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
}
a.sc-provider__link:hover { text-decoration: none; transform: scale(1.03); background: var(--bg-elev); box-shadow: var(--shadow-hover); }
.sc-provider__logo { display: grid; place-items: center; width: 100%; height: 64px; margin-bottom: 10px; }
.sc-provider__logo img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.sc-provider__initial {
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	background: var(--grad); color: #fff; font-size: 24px; font-weight: 700;
}
.sc-provider__name { font-size: 15px; font-weight: 600; line-height: 1.25; }
.sc-provider__count { font-size: 12px; color: var(--text-2); }
@media (max-width: 640px) { .sc-providers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* ==========================================================================
   Slot specs
   ========================================================================== */
.sc-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1068px) { .sc-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sc-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.sc-spec {
	display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
	min-height: 150px; padding: 28px;
	background: var(--bg-elev); border-radius: var(--radius);
}
.sc-spec__label { margin: 0; font-size: 14px; font-weight: 600; color: var(--text-2); }
.sc-spec__value { margin: 0; font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; word-break: break-word; }
.sc-spec__value small { font-size: .5em; font-weight: 600; margin-left: 2px; color: var(--text-2); }
.sc-spec--wide { grid-column: span 2; }
.sc-spec--rating .sc-spec__value { font-size: clamp(56px, 7vw, 96px); }
.sc-spec--rating .sc-spec__value small { font-size: .3em; }
@media (max-width: 640px) { .sc-spec { min-height: 120px; padding: 20px; } }

.sc-meter { display: flex; gap: 4px; }
.sc-meter i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.sc-meter i.sc-on { background: var(--grad); background-size: 400% 100%; }
.sc-meter i.sc-on:nth-child(2) { background-position: 33% 0; }
.sc-meter i.sc-on:nth-child(3) { background-position: 66% 0; }
.sc-meter i.sc-on:nth-child(4) { background-position: 100% 0; }

/* ==========================================================================
   Demo
   ========================================================================== */
.sc-demo {
	position: relative; aspect-ratio: 16 / 9; overflow: hidden;
	border-radius: var(--radius-lg); background: #000;
}
.sc-demo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sc-demo__cover {
	position: absolute; inset: 0; display: grid; place-content: center; gap: 16px; justify-items: center;
	width: 100%; border: 0; padding: 0; cursor: pointer; color: #fff; font: inherit;
	background: #000 center / cover no-repeat;
}
.sc-demo__cover::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); transition: background .3s; }
.sc-demo__cover:hover::before { background: rgba(0, 0, 0, .3); }
.sc-demo__play {
	position: relative; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%;
	background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
	transition: transform .3s var(--ease);
}
.sc-demo__cover:hover .sc-demo__play { transform: scale(1.08); }
.sc-demo__play svg { width: 32px; height: 32px; margin-left: 4px; fill: #fff; }
.sc-demo__label { position: relative; font-size: 21px; font-weight: 600; }

/* ==========================================================================
   Prose (post / page content)
   ========================================================================== */
.sc-prose { font-size: 19px; line-height: 1.58; letter-spacing: .012em; }
.sc-prose > * { max-width: var(--w-text); margin-left: auto; margin-right: auto; }
.sc-prose > .alignwide { max-width: var(--w); }
.sc-prose > .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }
.sc-prose > .alignfull img { border-radius: 0; }
.sc-prose h2 { margin-top: 2.2em; font-size: clamp(28px, 3.5vw, 40px); line-height: 1.1; }
.sc-prose h3 { margin-top: 1.8em; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.15; }
.sc-prose h4 { margin-top: 1.6em; font-size: 21px; }
.sc-prose p, .sc-prose ul, .sc-prose ol { margin-bottom: 1.2em; }
.sc-prose ul, .sc-prose ol { padding-left: 1.3em; }
.sc-prose li { margin-bottom: .4em; }
.sc-prose li::marker { color: var(--text-3); }
.sc-prose a { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.sc-prose img { border-radius: var(--radius); }
.sc-prose figure { margin-top: 2em; margin-bottom: 2em; }
.sc-prose figcaption { margin-top: 10px; font-size: 14px; color: var(--text-2); text-align: center; }
.sc-prose blockquote {
	margin-top: 2em; margin-bottom: 2em; padding: 0; border: 0;
	font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 600; letter-spacing: -.01em;
}
.sc-prose blockquote p { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc-prose blockquote cite { display: block; margin-top: 12px; font-size: 14px; font-style: normal; font-weight: 400; color: var(--text-2); }
.sc-prose hr { margin: 3em auto; border: 0; border-top: 1px solid var(--line); }
.sc-prose code { padding: 2px 6px; border-radius: 6px; background: var(--bg-alt); font-size: .88em; }
.sc-prose pre { padding: 20px; border-radius: var(--radius); background: var(--bg-alt); overflow-x: auto; font-size: 15px; }

.sc-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.sc-prose th, .sc-prose td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.sc-prose th { font-weight: 600; color: var(--text-2); font-size: 14px; }

/* Pros / cons: add CSS class "sc-pros" or "sc-cons" to a List block */
.sc-prose ul.sc-pros, .sc-prose ul.sc-cons { list-style: none; padding: 28px 28px 20px; border-radius: var(--radius); background: var(--bg-alt); }
.sc-prose ul.sc-pros li, .sc-prose ul.sc-cons li { position: relative; padding-left: 30px; }
.sc-prose ul.sc-pros li::before, .sc-prose ul.sc-cons li::before { position: absolute; left: 0; font-weight: 700; }
.sc-prose ul.sc-pros li::before { content: "+"; color: #1d9d4f; }
.sc-prose ul.sc-cons li::before { content: "−"; color: #e30000; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.sc-cta-band { padding: 100px 0; background: var(--dark-bg); color: var(--dark-text); text-align: center; }
.sc-cta-band h2 { color: var(--dark-text); font-size: clamp(36px, 5.5vw, 64px); line-height: 1.05; margin-bottom: 16px; }
.sc-cta-band p { max-width: 560px; margin: 0 auto 32px; font-size: 21px; color: #a1a1a6; }
.sc-cta-band .sc-age { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-top: 28px; border: 1.5px solid #86868b; border-radius: 50%; font-size: 12px; font-weight: 700; color: #86868b; }

/* ==========================================================================
   Pagination
   ========================================================================== */
.sc-pagination { margin-top: 56px; }
.sc-pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.sc-pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px;
	border-radius: 980px; color: var(--text); font-size: 15px;
}
.sc-pagination a.page-numbers:hover { background: var(--bg-alt); text-decoration: none; }
.sc-section--alt .sc-pagination a.page-numbers:hover { background: var(--bg); }
.sc-pagination .page-numbers.current { background: var(--text); color: var(--bg); }
.sc-pagination .prev, .sc-pagination .next { color: var(--link); }

/* ==========================================================================
   Empty state
   ========================================================================== */
.sc-empty { padding: 40px 0 80px; text-align: center; color: var(--text-2); }
.sc-empty .sc-btn { margin-top: 16px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.sc-site-footer { padding: 40px 0 24px; background: var(--bg-alt); color: var(--text-2); font-size: 12px; line-height: 1.33; letter-spacing: -.01em; }
.sc-site-footer a { color: var(--text); }
.sc-site-footer a:hover { text-decoration: underline; }
.sc-rg {
	display: flex; gap: 16px; align-items: flex-start;
	padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line);
}
.sc-rg .sc-age { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid var(--text-3); border-radius: 50%; font-size: 11px; font-weight: 700; color: var(--text-3); }
.sc-rg p { margin: 0; max-width: 780px; }
.sc-site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.sc-site-footer__menu { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.sc-site-footer__menu li:not(:last-child)::after { content: "|"; margin: 0 10px; color: var(--line); }
.sc-site-footer__copy { margin: 0; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.sc-js .sc-reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.sc-js .sc-reveal.sc-is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.sc-js .sc-reveal { opacity: 1; transform: none; transition: none; }
	.sc-card, .sc-card:hover, .sc-card__media img { transition: none; transform: none; }
}

/* ==========================================================================
   Blocks — собственные стили темы вместо wp-block-library и global-styles.
   Покрывают только блоки, разрешённые в редакторе (jeux_core_blocks).
   ========================================================================== */

/* Palette / sizes / gradient из редактора → токены темы (работают в тёмной теме) */
.has-accent-color { color: var(--accent); }
.has-contrast-color { color: var(--text); }
.has-muted-color { color: var(--text-2); }
.has-surface-color { color: var(--bg-alt); }
.has-base-color { color: var(--bg); }
.has-accent-background-color { background-color: var(--accent); color: #fff; }
.has-contrast-background-color { background-color: var(--text); color: var(--bg); }
.has-muted-background-color { background-color: var(--text-2); color: #fff; }
.has-surface-background-color { background-color: var(--bg-alt); }
.has-base-background-color { background-color: var(--bg); }
.has-brand-gradient-background { background: var(--grad); color: #fff; }
.has-small-font-size { font-size: 14px; }
.has-medium-font-size { font-size: 21px; }
.has-large-font-size { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.has-x-large-font-size { font-size: clamp(32px, 4.5vw, 48px); line-height: 1.1; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }

/* Group: плашка с фоном */
.wp-block-group.has-background { padding: 40px; border-radius: var(--radius-lg); }
.wp-block-group.alignfull.has-background { border-radius: 0; }
.wp-block-group > :first-child, .wp-block-column > :first-child { margin-top: 0; }
.wp-block-group > :last-child, .wp-block-column > :last-child { margin-bottom: 0; }
@media (max-width: 640px) { .wp-block-group.has-background { padding: 24px; } }

/* Columns */
.wp-block-columns { display: flex; gap: 32px; }
.wp-block-columns.are-vertically-aligned-center { align-items: center; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column[style*="flex-basis"] { flex-grow: 0; }
@media (max-width: 781px) {
	.wp-block-columns { flex-wrap: wrap; gap: 24px; }
	.wp-block-column { flex-basis: 100% !important; }
}

/* Buttons */
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-buttons.is-content-justification-right { justify-content: flex-end; }
.wp-block-button__link {
	display: inline-block; padding: 12px 24px; border-radius: 980px;
	background: var(--accent); color: #fff; font-size: 17px; line-height: 1.2; text-align: center;
	text-decoration: none !important; transition: background .2s var(--ease);
}
.wp-block-button__link:hover { background: var(--accent-hover); color: #fff; }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px currentColor; }
.is-style-outline .wp-block-button__link:hover { background: var(--link); color: #fff; }

/* Image */
.wp-block-image.aligncenter img { margin-left: auto; margin-right: auto; }
.wp-block-image.alignleft, .wp-block-image.alignright { max-width: 50%; }
.wp-block-image.is-style-rounded img { border-radius: 50%; }

/* Gallery: число колонок через --cols */
.wp-block-gallery { --cols: 3; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 12px; }
.wp-block-gallery.columns-1 { --cols: 1; }
.wp-block-gallery.columns-2 { --cols: 2; }
.wp-block-gallery.columns-4 { --cols: 4; }
.wp-block-gallery.columns-5 { --cols: 5; }
.wp-block-gallery.columns-6 { --cols: 6; }
.wp-block-gallery > figure { margin: 0; }
.wp-block-gallery img { width: 100%; border-radius: 12px; }
.wp-block-gallery.is-cropped img { aspect-ratio: 1; object-fit: cover; }
.wp-block-gallery > .blocks-gallery-caption { grid-column: 1 / -1; }
@media (max-width: 640px) { .wp-block-gallery:not(.columns-1) { --cols: 2; } }

/* Table */
.wp-block-table { overflow-x: auto; }
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--bg-alt); }
.wp-block-table.is-style-stripes td, .wp-block-table.is-style-stripes th { border: 0; }

/* Details (FAQ) */
.wp-block-details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.wp-block-details + .wp-block-details { margin-top: 0; }
.wp-block-details summary {
	position: relative; padding: 18px 40px 18px 0; list-style: none; cursor: pointer;
	font-size: 21px; font-weight: 600; line-height: 1.3;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
	font-size: 28px; font-weight: 300; color: var(--text-2); transition: transform .3s var(--ease);
}
.wp-block-details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.wp-block-details > :not(summary) { color: var(--text-2); }

/* Separator */
.wp-block-separator.is-style-dots { border: 0; text-align: center; }
.wp-block-separator.is-style-dots::before { content: "···"; font-size: 24px; letter-spacing: 1em; color: var(--text-3); }

/* Embeds */
.wp-block-embed__wrapper { position: relative; }
.wp-has-aspect-ratio .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.wp-embed-aspect-4-3 .wp-block-embed__wrapper { aspect-ratio: 4 / 3; }
.wp-embed-aspect-1-1 .wp-block-embed__wrapper { aspect-ratio: 1; }
.wp-has-aspect-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }

/* ==========================================================================
   SlotsLaunch — страница игры (single-slotsl.php)
   ========================================================================== */
.sc-hero--game { padding-bottom: 40px; }
.sc-slot-game { padding-bottom: 72px; }
.sc-slot-game .sc-prose > .sl-single-game-container { max-width: none; }
.sc-slot-game .sc-prose a { text-decoration: none; }
.sc-slot-game .sl-container { border-radius: var(--radius-lg); overflow: hidden; }
.sc-slot-game .sl-responsive-iframe { border: 0; }
@media (max-width: 640px) { .sc-slot-game .sl-container { border-radius: var(--radius); } }

/* ==========================================================================
   WordPress core
   ========================================================================== */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, .gallery-caption { font-size: 14px; color: var(--text-2); }
.sticky, .bypostauthor { }
