/*
Theme Name: App Directory
Theme URI: https://example.invalid/app-directory
Author: App Directory
Description: A clean, content-focused theme for Android app and game listings with category browsing, search, app details, and download pages.
Version: 1.0.7
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rulebook
Tags: custom-menu, translation-ready, right-sidebar, block-styles
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
	--rb-paper: #fbf8f0;
	--rb-paper-2: #f4efe3;
	--rb-paper-3: #ede6d6;
	--rb-ink: #1b1b1b;
	--rb-ink-2: #4a463d;
	--rb-muted: #6f6a5e;
	--rb-red: #c8322b;
	--rb-red-deep: #9e2620;
	--rb-blue: #2b5fa8;
	--rb-blue-deep: #1f467e;
	--rb-yellow: #e8b23a;
	--rb-yellow-ink: #8a6410;
	--rb-line: #d9d2c2;
	--rb-line-soft: #e7e1d2;
	--rb-radius: 2px;
	--rb-wrap: 1180px;
	--rb-measure: 720px;
	--rb-display: "Franklin Gothic Medium", "Franklin Gothic Book", "Arial Narrow", "Segoe UI", sans-serif;
	--rb-body: Georgia, "Palatino Linotype", "Times New Roman", serif;
	--rb-num: "Consolas", "Cascadia Mono", "Courier New", monospace;
	--rb-urdu: "Noto Nastaliq Urdu", "Noto Naskh Arabic", serif;
}

/* ==========================================================================
   2. Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--rb-paper);
	color: var(--rb-ink);
	font-family: var(--rb-body);
	font-size: 16.5px;
	line-height: 1.62;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dd,
figure {
	margin: 0;
}

ul,
ol {
	margin: 0;
}

a {
	color: var(--rb-blue);
}

a:hover {
	color: var(--rb-blue-deep);
}

[lang="ur"] {
	font-family: var(--rb-urdu);
}

::selection {
	background: var(--rb-yellow);
	color: var(--rb-ink);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--rb-red);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.screen-reader-text:focus {
	position: static !important;
	width: auto;
	height: auto;
	margin: 0;
	padding: 6px 12px;
	clip: auto;
	clip-path: none;
	background: var(--rb-ink);
	color: var(--rb-paper);
	font-family: var(--rb-num);
	font-size: 12px;
}

.rb-skip {
	position: absolute;
	inset-inline-start: -9999px;
	top: 0;
	z-index: 90;
	padding: 8px 14px;
	background: var(--rb-ink);
	color: var(--rb-paper);
	font-family: var(--rb-num);
	font-size: 12px;
	text-decoration: none;
}

.rb-skip:focus {
	inset-inline-start: 8px;
	top: 8px;
	color: var(--rb-paper);
}

.rb-wrap {
	width: 100%;
	max-width: var(--rb-wrap);
	margin-inline: auto;
	padding-inline: 24px;
}

.rb-main {
	display: block;
	overflow-x: clip;
}

.rb-kicker {
	font-family: var(--rb-num);
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rb-muted);
}

/* ==========================================================================
   3. Spine + header
   ========================================================================== */

.rb-spine {
	display: flex;
	width: 100%;
	height: 4px;
}

.rb-spine i {
	display: block;
	height: 100%;
	flex: 1 1 auto;
}

.rb-spine__a {
	background: var(--rb-red);
}

.rb-spine__b {
	background: var(--rb-yellow);
}

.rb-spine__c {
	background: var(--rb-blue);
}

.rb-head {
	background: var(--rb-paper);
}

.rb-head__in {
	display: flex;
	align-items: center;
	gap: 22px;
	min-height: 68px;
}

.rb-head__edge {
	display: block;
	height: 1px;
	background: var(--rb-line);
}

.rb-brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	flex: 0 0 auto;
	color: var(--rb-ink);
	text-decoration: none;
}

.rb-brand:hover {
	color: var(--rb-ink);
}

.rb-brand__mark {
	display: block;
	width: 26px;
	height: 26px;
	flex: 0 0 auto;
}

.rb-brand__text {
	font-family: var(--rb-display);
	font-size: 19px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: nowrap;
}

.rb-tabs {
	display: flex;
	align-items: stretch;
	gap: 2px;
}

.rb-tab {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 7px 10px 8px;
	border: 0;
	border-block-end: 3px solid transparent;
	border-radius: 2px 2px 0 0;
	color: var(--rb-ink);
	font-family: var(--rb-num);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

.rb-tab__no {
	color: var(--rb-muted);
	font-size: 10px;
}

.rb-tab--apps:hover,
.rb-tab--apps.is-current {
	border-block-end-color: var(--rb-red);
	background: var(--rb-paper-2);
}

.rb-tab--games:hover,
.rb-tab--games.is-current {
	border-block-end-color: var(--rb-blue);
	background: var(--rb-paper-2);
}

.rb-tab--casino:hover,
.rb-tab--casino.is-current {
	border-block-end-color: var(--rb-yellow);
	background: var(--rb-paper-2);
}

.rb-tab--all:hover,
.rb-tab--all.is-current {
	border-block-end-color: var(--rb-ink);
	background: var(--rb-paper-2);
}

.rb-head__search {
	flex: 1 1 200px;
	max-width: 300px;
	margin-inline-start: auto;
}

.rb-search {
	display: flex;
	align-items: stretch;
	height: 36px;
	border: 1px solid var(--rb-line);
	border-radius: var(--rb-radius);
	background: #fff;
}

.rb-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 0 11px;
	color: var(--rb-ink);
	font-family: var(--rb-body);
	font-size: 14px;
	-webkit-appearance: none;
	appearance: none;
}

.rb-search input[type="search"]::placeholder {
	color: var(--rb-muted);
}

.rb-search__btn {
	position: relative;
	width: 35px;
	flex: 0 0 35px;
	border: 0;
	border-inline-start: 1px solid var(--rb-line);
	background: transparent;
	cursor: pointer;
}

.rb-search__icon {
	position: absolute;
	top: 50%;
	inset-inline-start: 50%;
	width: 11px;
	height: 11px;
	margin: -7px 0 0 -6px;
	border: 2px solid var(--rb-ink);
	border-radius: 50%;
}

.rb-search__icon::after {
	content: "";
	position: absolute;
	bottom: -5px;
	inset-inline-end: -2px;
	width: 2px;
	height: 6px;
	background: var(--rb-ink);
	transform: rotate(45deg);
}

.rb-tools {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 0 0 auto;
}

.rb-lang {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--rb-num);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rb-lang__item {
	color: var(--rb-muted);
	text-decoration: none;
}

a.rb-lang__item:hover {
	color: var(--rb-ink);
}

.rb-lang__item.is-current {
	color: var(--rb-ink);
	text-decoration: underline;
	text-decoration-color: var(--rb-red);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.rb-lang__sep {
	color: var(--rb-line);
}

.rb-auth {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--rb-num);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.rb-auth__link {
	color: var(--rb-ink);
	text-decoration: none;
}

.rb-auth__link:hover {
	color: var(--rb-red);
}

.rb-auth__sep {
	color: var(--rb-line);
}

.rb-drawer {
	display: none;
	position: relative;
	margin-inline-start: auto;
}

.rb-drawer summary {
	display: grid;
	place-items: center;
	width: 38px;
	height: 34px;
	border: 1px solid var(--rb-line);
	border-radius: var(--rb-radius);
	cursor: pointer;
	list-style: none;
	background: #fff;
}

.rb-drawer summary::-webkit-details-marker {
	display: none;
}

.rb-drawer__bars,
.rb-drawer__bars::before,
.rb-drawer__bars::after {
	display: block;
	width: 16px;
	height: 2px;
	background: var(--rb-ink);
}

.rb-drawer__bars {
	position: relative;
}

.rb-drawer__bars::before,
.rb-drawer__bars::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
}

.rb-drawer__bars::before {
	top: -5px;
}

.rb-drawer__bars::after {
	top: 5px;
}

.rb-drawer__panel {
	position: absolute;
	inset-inline-end: 0;
	top: calc(100% + 8px);
	z-index: 60;
	width: min(320px, calc(100vw - 32px));
	max-height: 72vh;
	overflow-y: auto;
	padding: 16px;
	background: var(--rb-paper);
	border: 1px solid var(--rb-line);
	border-top: 3px solid var(--rb-red);
	border-radius: var(--rb-radius);
}

.rb-drawer__list {
	list-style: none;
	margin: 6px 0 16px;
	padding: 0;
	font-family: var(--rb-display);
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.rb-drawer__list li {
	border-bottom: 1px dotted var(--rb-line);
}

.rb-drawer__list a {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 9px 0;
	color: var(--rb-ink);
	text-decoration: none;
}

.rb-drawer__list a:hover {
	color: var(--rb-red);
}

.rb-drawer__no {
	font-family: var(--rb-num);
	font-size: 10.5px;
	font-weight: 700;
	color: var(--rb-muted);
	min-width: 20px;
}

.rb-drawer__count {
	margin-inline-start: auto;
	font-family: var(--rb-num);
	font-size: 10.5px;
	color: var(--rb-muted);
}

.rb-drawer__note {
	margin-top: 14px;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--rb-muted);
}

.rb-auth--drawer {
	display: flex;
	gap: 10px;
	padding-top: 4px;
}

/* ==========================================================================
   4. Cover
   ========================================================================== */

.rb-cover {
	padding-block: 42px 40px;
	border-bottom: 1px solid var(--rb-line);
}

.rb-cover__kick {
	display: flex;
	gap: 8px;
	align-items: baseline;
	font-family: var(--rb-num);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--rb-red);
}

.rb-cover__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
	gap: 40px;
	align-items: end;
	margin-top: 14px;
}

.rb-cover__title {
	font-family: var(--rb-display);
	font-size: clamp(34px, 5.2vw, 64px);
	font-weight: 600;
	line-height: 0.97;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.rb-cover__lead {
	max-width: 54ch;
	margin-top: 16px;
	font-size: 17.5px;
	line-height: 1.55;
	color: var(--rb-ink-2);
}

.rb-cover__box {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid var(--rb-line);
	border-radius: var(--rb-radius);
	background: var(--rb-paper-2);
}

.rb-cover__cell {
	padding: 11px 13px 12px;
	border-top: 1px solid var(--rb-line);
	border-inline-start: 1px solid var(--rb-line);
}

.rb-cover__cell:nth-child(1),
.rb-cover__cell:nth-child(2) {
	border-top: 0;
}

.rb-cover__cell:nth-child(odd) {
	border-inline-start: 0;
}

.rb-cover__cell dt {
	font-family: var(--rb-num);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rb-muted);
}

.rb-cover__cell dd {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 3px;
	font-family: var(--rb-display);
	font-size: 26px;
	font-weight: 600;
	line-height: 1;
}

.rb-die {
	display: inline-grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr);
	gap: 1px;
	width: 19px;
	height: 19px;
	padding: 2px;
	border: 1.5px solid var(--rb-ink);
	border-radius: 2px;
	flex: 0 0 auto;
}

.rb-die i {
	display: block;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--rb-ink);
	justify-self: center;
	align-self: center;
	opacity: 0;
}

.rb-die[data-pips="1"] i:nth-child(5),
.rb-die[data-pips="2"] i:nth-child(1),
.rb-die[data-pips="2"] i:nth-child(9),
.rb-die[data-pips="3"] i:nth-child(1),
.rb-die[data-pips="3"] i:nth-child(5),
.rb-die[data-pips="3"] i:nth-child(9),
.rb-die[data-pips="4"] i:nth-child(1),
.rb-die[data-pips="4"] i:nth-child(3),
.rb-die[data-pips="4"] i:nth-child(7),
.rb-die[data-pips="4"] i:nth-child(9),
.rb-die[data-pips="5"] i:nth-child(1),
.rb-die[data-pips="5"] i:nth-child(3),
.rb-die[data-pips="5"] i:nth-child(5),
.rb-die[data-pips="5"] i:nth-child(7),
.rb-die[data-pips="5"] i:nth-child(9),
.rb-die[data-pips="6"] i:nth-child(1),
.rb-die[data-pips="6"] i:nth-child(3),
.rb-die[data-pips="6"] i:nth-child(4),
.rb-die[data-pips="6"] i:nth-child(6),
.rb-die[data-pips="6"] i:nth-child(7),
.rb-die[data-pips="6"] i:nth-child(9) {
	opacity: 1;
}

/* ==========================================================================
   5. Numbered steps
   ========================================================================== */

.rb-steps {
	padding-block: 26px 30px;
	background: var(--rb-paper-2);
	border-bottom: 1px solid var(--rb-line);
}

.rb-steps__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 34px 48px;
}

.rb-steps__title {
	padding-bottom: 7px;
	border-bottom: 1px solid var(--rb-ink);
	font-family: var(--rb-num);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.rb-steps__list {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
}

.rb-step {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 10px;
	padding-block: 9px;
	border-bottom: 1px dotted var(--rb-line);
}

.rb-step:last-child {
	border-bottom: 0;
}

.rb-step__no {
	font-family: var(--rb-num);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--rb-red);
}

.rb-step__text {
	font-size: 15px;
	line-height: 1.55;
}

/* ==========================================================================
   6. Contents, rule boxes, numbered entries
   ========================================================================== */

.rb-contents {
	padding-block: 32px 44px;
}

.rb-contents__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
}

.rb-contents__title {
	margin-top: 4px;
	font-family: var(--rb-display);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 600;
	line-height: 1.04;
	text-transform: uppercase;
}

.rb-contents__count {
	font-family: var(--rb-num);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rb-muted);
	text-align: end;
}

.rb-contents__turn {
	white-space: nowrap;
}

.rb-box {
	margin-bottom: 22px;
	border: 1px solid var(--rb-line);
	border-inline-start: 3px solid var(--rb-red);
	border-radius: var(--rb-radius);
	overflow: clip;
}

.rb-box--s1 {
	border-inline-start-color: var(--rb-red);
}

.rb-box--s2 {
	border-inline-start-color: var(--rb-blue);
}

.rb-box--s3 {
	border-inline-start-color: var(--rb-yellow);
}

.rb-box__head {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	padding: 13px 16px 8px;
}

.rb-box__no {
	font-family: var(--rb-display);
	font-size: 44px;
	font-weight: 600;
	line-height: 0.78;
	color: var(--rb-red);
}

.rb-box--s2 .rb-box__no {
	color: var(--rb-blue);
}

.rb-box--s3 .rb-box__no {
	color: var(--rb-yellow-ink);
}

.rb-box__name {
	font-family: var(--rb-display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.rb-box__count {
	grid-column: 3;
	font-family: var(--rb-num);
	font-size: 10.5px;
	line-height: 1.5;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rb-muted);
	text-align: end;
}

.rb-box__page {
	white-space: nowrap;
}

.rb-box__note {
	padding: 0 16px 11px;
	padding-inline-start: 92px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--rb-muted);
}

.rb-entries {
	display: block;
}

.rb-entry {
	display: grid;
	grid-template-columns: 46px 44px minmax(0, 1fr) 62px 20px;
	gap: 14px;
	align-items: center;
	padding: 10px 16px;
	border-top: 1px solid var(--rb-line-soft);
	color: var(--rb-ink);
	text-decoration: none;
}

.rb-entry--head {
	padding-block: 6px;
	border-top: 1px solid var(--rb-line);
	border-bottom: 1px solid var(--rb-line);
	background: var(--rb-paper-2);
	font-family: var(--rb-num);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rb-muted);
}

.rb-box .rb-entries .rb-entry:first-child {
	border-top: 1px solid var(--rb-line);
}

a.rb-entry:hover {
	background: var(--rb-paper-2);
	color: var(--rb-ink);
}

.rb-entry__no {
	font-family: var(--rb-num);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	color: var(--rb-red);
}

.rb-entry--games .rb-entry__no {
	color: var(--rb-blue);
}

.rb-entry--casino .rb-entry__no {
	color: var(--rb-yellow-ink);
}

a.rb-entry:hover .rb-entry__no {
	color: var(--rb-red-deep);
}

.rb-entry__icon {
	display: block;
	width: 44px;
	height: 44px;
}

.rb-entry__img,
.rb-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 1px solid var(--rb-line);
	border-radius: var(--rb-radius);
	background: var(--rb-paper-2);
}

.rb-frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 1px dashed var(--rb-line);
	border-radius: var(--rb-radius);
	background: var(--rb-paper-2);
}

.rb-entry__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.rb-entry__titlerow {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.rb-entry__title {
	font-family: var(--rb-display);
	font-size: 16.5px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.005em;
	overflow-wrap: anywhere;
}

.rb-entry__lead {
	flex: 1 1 auto;
	min-width: 8px;
	height: 1px;
	border-bottom: 1px dotted var(--rb-line);
}

.rb-entry__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	font-family: var(--rb-num);
	font-size: 10.5px;
	line-height: 1.5;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rb-muted);
}

.rb-entry__chapter {
	color: var(--rb-ink-2);
}

.rb-entry__meta-ver {
	display: none;
}

.rb-entry__ver {
	font-family: var(--rb-num);
	font-size: 11.5px;
	line-height: 1;
	color: var(--rb-ink-2);
	text-align: end;
	white-space: nowrap;
}

.rb-entry__go {
	display: grid;
	place-items: center;
	color: var(--rb-muted);
}

.rb-arrow {
	display: block;
	width: 16px;
	height: 16px;
}

a.rb-entry:hover .rb-entry__go {
	color: var(--rb-red);
}

.rb-also {
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

.rb-also__dot {
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--rb-red);
}

.rb-also__dot--games {
	background: var(--rb-blue);
}

.rb-also__dot--casino {
	background: var(--rb-yellow);
}

.rb-also__dot--apps {
	background: var(--rb-red);
}

/* ==========================================================================
   7. Turn pager
   ========================================================================== */

.rb-turns {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin-top: 26px;
	padding-top: 16px;
	border-top: 1px solid var(--rb-line);
}

.rb-turns__label {
	font-family: var(--rb-num);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rb-muted);
}

.rb-turns__list {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rb-turns__num,
.rb-turns__end {
	display: grid;
	place-items: center;
	min-width: 30px;
	height: 30px;
	padding-inline: 4px;
	border: 1px solid var(--rb-line);
	border-radius: var(--rb-radius);
	font-family: var(--rb-num);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1;
	color: var(--rb-ink);
	text-decoration: none;
}

a.rb-turns__num:hover,
a.rb-turns__end:hover {
	border-color: var(--rb-ink);
	color: var(--rb-ink);
}

.rb-turns__num.is-current {
	background: var(--rb-red);
	border-color: var(--rb-red);
	color: #fff;
}

.rb-turns__end.is-off {
	opacity: 0.35;
}

/* ==========================================================================
   8. Breadcrumb, chapter head
   ========================================================================== */

.rb-crumb {
	padding-top: 18px;
	font-family: var(--rb-num);
	font-size: 10.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rb-muted);
}

.rb-crumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rb-crumb li + li::before {
	content: "/";
	margin-inline-end: 6px;
	color: var(--rb-line);
}

.rb-crumb a {
	color: var(--rb-muted);
	text-decoration: none;
}

.rb-crumb a:hover {
	color: var(--rb-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.rb-crumb [aria-current="page"] {
	color: var(--rb-ink);
}

.rb-chapter {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 20px 24px;
	align-items: start;
	padding-block: 20px 18px;
	border-bottom: 2px solid var(--rb-ink);
}

.rb-chapter--page {
	grid-template-columns: auto minmax(0, 1fr);
}

.rb-chapter__no {
	font-family: var(--rb-display);
	font-size: clamp(40px, 6vw, 68px);
	font-weight: 600;
	line-height: 0.78;
	color: var(--rb-red);
}

.rb-chapter--games .rb-chapter__no {
	color: var(--rb-blue);
}

.rb-chapter--casino .rb-chapter__no {
	color: var(--rb-yellow-ink);
}

.rb-chapter h1 {
	margin-top: 5px;
	font-family: var(--rb-display);
	font-size: clamp(26px, 3.8vw, 44px);
	font-weight: 600;
	line-height: 1.02;
	text-transform: uppercase;
	letter-spacing: -0.005em;
	overflow-wrap: anywhere;
}

.rb-chapter__note {
	max-width: 62ch;
	margin-top: 7px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--rb-ink-2);
}

.rb-chapter__count {
	font-family: var(--rb-num);
	font-size: 10.5px;
	line-height: 1.6;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rb-muted);
	text-align: end;
	padding-top: 4px;
}

.rb-chapter__body {
	max-width: var(--rb-measure);
	padding-block: 6px 10px;
}

.rb-chapter__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
	padding-top: 12px;
	border-top: 1px solid var(--rb-line);
	font-family: var(--rb-num);
	font-size: 10.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rb-muted);
}

/* ==========================================================================
   9. Card (single + deal)
   ========================================================================== */

.rb-card {
	margin-top: 16px;
	border: 1px solid var(--rb-line);
	border-top: 3px solid var(--rb-red);
	border-radius: var(--rb-radius);
	background: var(--rb-paper);
}

.rb-card--games {
	border-top-color: var(--rb-blue);
}

.rb-card--casino {
	border-top-color: var(--rb-yellow);
}

.rb-card--none {
	border-top-color: var(--rb-line);
}

.rb-card__band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 18px;
	padding: 8px 16px;
	border-bottom: 1px solid var(--rb-line);
	background: var(--rb-paper-2);
	font-family: var(--rb-num);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rb-ink-2);
}

.rb-card__cat {
	color: var(--rb-ink);
}

.rb-card__chapter {
	color: var(--rb-muted);
}

.rb-card__edition {
	margin-inline-start: auto;
	color: var(--rb-muted);
}

.rb-card__main {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) 250px;
	gap: 22px;
	align-items: center;
	padding: 20px 16px;
}

.rb-card__icon {
	display: block;
	width: 96px;
	height: 96px;
}

.rb-card h1 {
	font-family: var(--rb-display);
	font-size: clamp(23px, 3.1vw, 34px);
	font-weight: 600;
	line-height: 1.07;
	letter-spacing: -0.005em;
	overflow-wrap: anywhere;
}

.rb-card__sub {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin-top: 7px;
	font-family: var(--rb-num);
	font-size: 10.5px;
	line-height: 1.5;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--rb-muted);
}

.rb-cta {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.rb-cta__note {
	font-size: 11.5px;
	line-height: 1.45;
	color: var(--rb-muted);
}

.rb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 15px;
	border: 1px solid var(--rb-red);
	border-radius: var(--rb-radius);
	background: var(--rb-red);
	color: #fff;
	font-family: var(--rb-display);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.rb-btn:hover {
	background: var(--rb-red-deep);
	border-color: var(--rb-red-deep);
	color: #fff;
}

.rb-btn--take {
	width: 100%;
}

.rb-btn--big {
	padding: 14px 20px;
	font-size: 14px;
}

.rb-btn .rb-icon-down {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.rb-btn.is-disabled {
	background: transparent;
	border-color: var(--rb-line);
	color: var(--rb-muted);
	cursor: not-allowed;
}

.rb-spec {
	display: grid;
	gap: 0;
	margin: 0;
}

.rb-spec__row {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding-block: 6px;
	border-bottom: 1px dotted var(--rb-line);
}

.rb-spec dt {
	display: flex;
	align-items: baseline;
	gap: 9px;
	flex: 1 1 auto;
	min-width: 0;
	font-family: var(--rb-num);
	font-size: 10.5px;
	line-height: 1.4;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--rb-muted);
}

.rb-spec dt::after {
	content: "";
	flex: 1 1 auto;
	min-width: 12px;
	height: 0;
	border-bottom: 1px dotted var(--rb-line);
	transform: translateY(-3px);
}

.rb-spec dd {
	flex: 0 0 auto;
	margin: 0;
	font-family: var(--rb-display);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-align: end;
}

.rb-spec--deal {
	max-width: 720px;
	margin: 0 16px 18px;
}

/* ==========================================================================
   10. Rule sections
   ========================================================================== */

.rb-rule {
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid var(--rb-line);
}

.rb-rule__head {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: baseline;
}

.rb-rule__no {
	font-family: var(--rb-display);
	font-size: 26px;
	font-weight: 600;
	line-height: 1;
	color: var(--rb-red);
}

.rb-rule h2 {
	font-family: var(--rb-display);
	font-size: clamp(20px, 2.3vw, 26px);
	font-weight: 600;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.rb-rule__aside {
	font-family: var(--rb-num);
	font-size: 10.5px;
	line-height: 1.5;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rb-muted);
	text-align: end;
}

.rb-rule__body {
	max-width: 820px;
	margin-top: 12px;
	margin-inline-start: 58px;
}

.rb-rule__intro {
	margin-top: 12px;
	font-size: 16px;
	line-height: 1.62;
	color: var(--rb-ink-2);
}

.rb-rule__empty {
	font-family: var(--rb-num);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rb-muted);
	padding-block: 6px;
}

/* Screenshots */

.rb-shots {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 12px;
	scroll-padding-inline-start: 0;
}

.rb-shot {
	flex: 0 0 clamp(170px, 24vw, 250px);
	margin: 0;
	scroll-snap-align: start;
}

.rb-shot__frame {
	display: block;
	border: 1px solid var(--rb-line);
	border-radius: var(--rb-radius);
	background: var(--rb-paper-2);
}

.rb-shot__frame img {
	display: block;
	width: 100%;
	height: auto;
}

.rb-shot figcaption {
	margin-top: 6px;
	font-family: var(--rb-num);
	font-size: 10px;
	letter-spacing: 0.1em;
	color: var(--rb-muted);
}

/* Scoring */

.rb-score {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 20px 26px;
	align-items: center;
	max-width: 560px;
	padding: 14px 18px;
	border: 1px solid var(--rb-line);
	border-inline-start: 3px solid var(--rb-yellow);
	border-radius: var(--rb-radius);
	background: var(--rb-paper-2);
}

.rb-score__value {
	font-family: var(--rb-display);
	font-size: 50px;
	font-weight: 600;
	line-height: 0.9;
}

.rb-score__max {
	font-size: 19px;
	color: var(--rb-muted);
	margin-inline-start: 2px;
}

.rb-score__votes {
	font-family: var(--rb-num);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rb-score__note {
	margin-top: 5px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--rb-muted);
}

/* Notes + report */

.rb-notes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

.rb-notes h3 {
	margin-top: 5px;
	font-family: var(--rb-display);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.15;
	text-transform: uppercase;
}

.rb-share {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}

.rb-share a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 10px;
	border: 1px solid var(--rb-line);
	border-radius: var(--rb-radius);
	color: var(--rb-ink);
	font-family: var(--rb-num);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.rb-share a:hover {
	border-color: var(--rb-ink);
	color: var(--rb-ink);
}

.rb-share svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
}

/* ==========================================================================
   11. Forms, notices, comments
   ========================================================================== */

.rb-report {
	margin-top: 10px;
}

.rb-report summary {
	cursor: pointer;
	font-family: var(--rb-num);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rb-red);
}

.rb-form-wrap {
	margin-top: 34px;
	padding-top: 20px;
	border-top: 1px solid var(--rb-line);
}

.rb-form-wrap h2 {
	margin-top: 4px;
	font-family: var(--rb-display);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.1;
	text-transform: uppercase;
}

.rb-form-wrap__lead {
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--rb-muted);
}

.rb-form {
	display: grid;
	gap: 12px;
	margin-top: 14px;
}

.rb-field {
	display: grid;
	gap: 5px;
}

.rb-field label {
	font-family: var(--rb-num);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--rb-ink-2);
}

.rb-field input,
.rb-field select,
.rb-field textarea {
	width: 100%;
	padding: 9px 11px;
	border: 1px solid var(--rb-line);
	border-radius: var(--rb-radius);
	background: #fff;
	color: var(--rb-ink);
	font-family: var(--rb-body);
	font-size: 15px;
	line-height: 1.4;
}

.rb-field textarea {
	resize: vertical;
}

.rb-form__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 2px;
}

.rb-form__hint {
	font-size: 11.5px;
	line-height: 1.45;
	color: var(--rb-muted);
}

.rb-hp {
	position: absolute;
	inset-inline-start: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rb-note {
	margin-top: 10px;
	padding: 9px 12px;
	border: 1px solid var(--rb-line);
	border-inline-start: 3px solid var(--rb-blue);
	border-radius: var(--rb-radius);
	background: var(--rb-paper-2);
	font-size: 13.5px;
	line-height: 1.5;
}

.rb-note--error {
	border-inline-start-color: var(--rb-red);
}

.rb-comments {
	max-width: 820px;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid var(--rb-line);
}

.rb-comments__title,
.rb-comments .comment-reply-title {
	font-family: var(--rb-display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.1;
	text-transform: uppercase;
}

.rb-comments .comment-list {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
}

.rb-comments .comment-list ol.children {
	list-style: none;
	padding-inline-start: 22px;
}

.rb-comments .comment-body {
	padding: 12px 0;
	border-bottom: 1px dotted var(--rb-line);
}

.rb-comments .comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-family: var(--rb-num);
	font-size: 10.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rb-muted);
}

.rb-comments .avatar {
	border-radius: 2px;
	border: 1px solid var(--rb-line);
}

.rb-comments .comment-author {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--rb-display);
	font-size: 14px;
	text-transform: none;
	letter-spacing: 0;
	color: var(--rb-ink);
}

.rb-comments .comment-content {
	margin-top: 6px;
	font-size: 15.5px;
	line-height: 1.6;
}

.rb-comments .comment-content p {
	margin-bottom: 10px;
}

.rb-comments .comment-form {
	display: grid;
	gap: 12px;
	margin-top: 16px;
}

.rb-comments .comment-form p {
	margin: 0;
}

.rb-comments .comment-form label {
	display: block;
	margin-bottom: 4px;
	font-family: var(--rb-num);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--rb-ink-2);
}

.rb-comments .comment-form input:not([type="submit"]):not([type="checkbox"]),
.rb-comments .comment-form textarea {
	width: 100%;
	padding: 9px 11px;
	border: 1px solid var(--rb-line);
	border-radius: var(--rb-radius);
	background: #fff;
	color: var(--rb-ink);
	font-family: var(--rb-body);
	font-size: 15px;
}

.rb-comments .comment-form input[type="submit"] {
	padding: 10px 16px;
	border: 1px solid var(--rb-red);
	border-radius: var(--rb-radius);
	background: var(--rb-red);
	color: #fff;
	font-family: var(--rb-display);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

.rb-comments .comment-notes,
.rb-comments .logged-in-as {
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--rb-muted);
}

.rb-comments .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.rb-comments .comment-form-cookies-consent label {
	margin: 0;
	font-family: var(--rb-body);
	font-size: 12.5px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--rb-muted);
}

/* ==========================================================================
   12. Entry prose (shared content)
   ========================================================================== */

.entry {
	max-width: 70ch;
	font-size: 16.5px;
	line-height: 1.68;
	counter-reset: rb-sec;
}

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

.entry p,
.entry ul,
.entry ol,
.entry figure,
.entry table,
.entry blockquote {
	margin-block: 0 14px;
}

.entry h2 {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-block: 30px 10px;
	font-family: var(--rb-display);
	font-size: clamp(19px, 2.1vw, 22px);
	font-weight: 600;
	line-height: 1.18;
	text-transform: uppercase;
	letter-spacing: 0.005em;
	overflow-wrap: anywhere;
}

.entry h2::before {
	counter-increment: rb-sec;
	content: counter(rb-sec, decimal-leading-zero);
	flex: 0 0 auto;
	font-family: var(--rb-num);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--rb-red);
}

.entry h3 {
	margin-block: 22px 8px;
	font-family: var(--rb-display);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.entry h4 {
	margin-block: 18px 6px;
	font-family: var(--rb-num);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--rb-ink-2);
}

.entry ul,
.entry ol {
	padding-inline-start: 22px;
}

.entry li {
	margin-bottom: 7px;
}

.entry li::marker {
	color: var(--rb-red);
}

.entry a {
	color: var(--rb-blue);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.entry strong {
	color: var(--rb-ink);
}

.entry blockquote {
	padding: 6px 0 6px 16px;
	padding-inline-start: 16px;
	border-inline-start: 3px solid var(--rb-yellow);
	color: var(--rb-ink-2);
	font-style: italic;
}

.entry table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 14.5px;
	line-height: 1.5;
}

.entry th,
.entry td {
	padding: 8px 10px;
	border: 1px solid var(--rb-line);
	text-align: start;
	vertical-align: top;
}

.entry thead th {
	background: var(--rb-paper-2);
	font-family: var(--rb-num);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.entry figure {
	max-width: 100%;
}

.entry img {
	max-width: 100%;
	height: auto;
	border-radius: var(--rb-radius);
}

.entry figcaption {
	font-size: 12px;
	color: var(--rb-muted);
}

.entry .wp-block-table {
	margin-block: 0 16px;
}

.entry hr {
	margin-block: 24px;
	border: 0;
	border-top: 1px solid var(--rb-line);
}

/* ==========================================================================
   13. Deal page
   ========================================================================== */

.rb-deal {
	max-width: 720px;
	padding: 18px 16px 20px;
	border-top: 1px solid var(--rb-line);
}

.rb-deal--inline {
	margin-top: 26px;
	padding: 16px 18px 18px;
	border: 1px solid var(--rb-line);
	border-inline-start: 3px solid var(--rb-red);
	border-radius: var(--rb-radius);
	background: var(--rb-paper-2);
	max-width: 820px;
	margin-inline-start: 58px;
}

.rb-deal__title {
	font-family: var(--rb-display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.1;
	text-transform: uppercase;
}

.nea-dl-lead {
	margin-top: 6px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--rb-ink-2);
}

.rb-deal .rb-btn,
.rb-deal .nea-dl-cta {
	margin-top: 12px;
}

.rb-deal__fine {
	margin-top: 10px;
	font-size: 11.5px;
	line-height: 1.5;
	color: var(--rb-muted);
}

.rb-deal__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px dotted var(--rb-line);
}

.rb-deal__options-title {
	font-family: var(--rb-num);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rb-muted);
	margin-inline-end: 4px;
}

.rb-deal__options a {
	padding: 6px 10px;
	border: 1px solid var(--rb-line);
	border-radius: var(--rb-radius);
	font-family: var(--rb-num);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--rb-ink);
	text-decoration: none;
	background: #fff;
}

.rb-deal__options a.is-current {
	border-color: var(--rb-red);
	color: var(--rb-red);
}

.rb-deal__options a:hover {
	border-color: var(--rb-ink);
	color: var(--rb-ink);
}

.nea-dl-skeleton {
	display: flex;
	gap: 8px;
}

.nea-dl-skeleton span {
	display: block;
	height: 10px;
	background: var(--rb-paper-3);
	border-radius: 1px;
}

.nea-dl-skeleton span:first-child {
	width: 60%;
}

.nea-dl-skeleton span:last-child {
	width: 25%;
}

.rb-back {
	margin-top: 18px;
	font-family: var(--rb-num);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rb-back a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--rb-ink);
	text-decoration: none;
}

.rb-back a:hover {
	color: var(--rb-red);
}

.rb-back .rb-arrow {
	width: 14px;
	height: 14px;
}

/* ==========================================================================
   14. Empty states, 404
   ========================================================================== */

.rb-blank {
	margin-top: 10px;
	padding: 20px;
	border: 1px dashed var(--rb-line);
	border-radius: var(--rb-radius);
	background: var(--rb-paper-2);
}

.rb-blank__title {
	margin-top: 6px;
	font-family: var(--rb-display);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.15;
	text-transform: uppercase;
}

.rb-blank__line {
	margin-top: 6px;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--rb-ink-2);
}

.rb-blank__links {
	margin-top: 12px;
	font-family: var(--rb-num);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rb-blank__search,
.rb-blank__tabs {
	margin-top: 14px;
}

.rb-blank__tabs .rb-tabs {
	flex-wrap: wrap;
}

.rb-misprint {
	max-width: 720px;
	padding-block: 30px 56px;
}

.rb-misprint__code {
	margin-top: 8px;
	font-family: var(--rb-display);
	font-size: clamp(70px, 12vw, 104px);
	font-weight: 600;
	line-height: 0.8;
	color: var(--rb-red);
	letter-spacing: -0.02em;
}

.rb-misprint h1 {
	margin-top: 14px;
	font-family: var(--rb-display);
	font-size: clamp(26px, 4vw, 42px);
	font-weight: 600;
	line-height: 1.04;
	text-transform: uppercase;
	letter-spacing: -0.005em;
}

.rb-misprint__line {
	margin-top: 10px;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--rb-ink-2);
}

.rb-misprint__search {
	max-width: 380px;
	margin-top: 16px;
}

.rb-misprint__tabs {
	margin-top: 16px;
}

.rb-misprint__tabs .rb-tabs {
	flex-wrap: wrap;
}

.rb-misprint__back {
	margin-top: 18px;
	font-family: var(--rb-num);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ==========================================================================
   15. Footer
   ========================================================================== */

.rb-foot {
	margin-top: 44px;
	padding-block: 30px 22px;
	border-top: 1px solid var(--rb-line);
	background: var(--rb-paper-2);
}

.rb-foot__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 20px 32px;
	align-items: end;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--rb-line);
}

.rb-foot__edition {
	margin-top: 4px;
	font-family: var(--rb-num);
	font-size: 10.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rb-muted);
}

.rb-foot__name {
	margin-top: 3px;
	font-family: var(--rb-display);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.1;
	text-transform: uppercase;
}

.rb-foot__links ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--rb-num);
	font-size: 10.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rb-foot__links a {
	color: var(--rb-ink-2);
	text-decoration: none;
}

.rb-foot__links a:hover {
	color: var(--rb-red);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.rb-foot__base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 14px;
	font-family: var(--rb-num);
	font-size: 10.5px;
	line-height: 1.6;
	letter-spacing: 0.05em;
	color: var(--rb-muted);
}

.rb-foot__top-link a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--rb-ink);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.rb-foot__top-link .rb-arrow {
	width: 13px;
	height: 13px;
}

/* ==========================================================================
   16. RTL
   ========================================================================== */

html[dir="rtl"] .rb-arrow {
	transform: scaleX(-1);
}

html[dir="rtl"] .rb-search input:placeholder-shown {
	direction: rtl;
}

html[dir="rtl"] .rb-cta__note,
html[dir="rtl"] .rb-chapter__note,
html[dir="rtl"] .rb-cover__lead {
	text-align: start;
}

/* ==========================================================================
   17. Responsive
   ========================================================================== */

@media (max-width: 1099px) {
	.rb-cover__grid {
		grid-template-columns: minmax(0, 1fr) minmax(240px, 0.6fr);
		gap: 28px;
	}

	.rb-head__search {
		max-width: 230px;
	}
}

@media (max-width: 899px) {
	.rb-head__in {
		flex-wrap: wrap;
		gap: 10px 14px;
		padding-block: 10px;
		min-height: 0;
	}

	.rb-brand {
		order: 1;
	}

	.rb-tabs--header {
		display: none;
	}

	.rb-tools {
		order: 2;
		margin-inline-start: auto;
	}

	.rb-tools .rb-auth {
		display: none;
	}

	.rb-drawer {
		display: block;
		order: 3;
		margin-inline-start: 0;
	}

	.rb-head__search {
		order: 4;
		flex: 1 1 100%;
		max-width: none;
		margin-inline-start: 0;
	}

	.rb-cover {
		padding-block: 30px 28px;
	}

	.rb-cover__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
		align-items: start;
	}

	.rb-cover__box {
		max-width: 460px;
	}

	.rb-card__main {
		grid-template-columns: 76px minmax(0, 1fr);
	}

	.rb-card__icon {
		width: 76px;
		height: 76px;
	}

	.rb-card__cta {
		grid-column: 1 / -1;
	}
}

@media (max-width: 759px) {
	.rb-wrap {
		padding-inline: 16px;
	}

	.rb-steps__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.rb-contents__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.rb-contents__count {
		text-align: start;
	}

	.rb-box__head {
		grid-template-columns: 40px minmax(0, 1fr);
		gap: 8px 12px;
		padding: 11px 12px 6px;
	}

	.rb-box__no {
		font-size: 32px;
	}

	.rb-box__name {
		font-size: 18px;
		align-self: center;
	}

	.rb-box__count {
		grid-column: 2;
		text-align: start;
		padding-bottom: 4px;
	}

	.rb-box__note {
		padding: 0 12px 10px;
		padding-inline-start: 12px;
		font-size: 12.5px;
	}

	.rb-entry {
		grid-template-columns: 30px 36px minmax(0, 1fr) 16px;
		gap: 10px;
		padding: 9px 12px;
	}

	.rb-entry__icon {
		width: 36px;
		height: 36px;
	}

	.rb-entry__ver {
		display: none;
	}

	.rb-entry__meta-ver {
		display: inline;
	}

	.rb-entry__lead {
		display: none;
	}

	.rb-entry__title {
		font-size: 15px;
	}

	.rb-entry__no {
		font-size: 12.5px;
	}

	.rb-entry--head {
		display: none;
	}

	.rb-chapter {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 12px 14px;
		padding-block: 14px 12px;
	}

	.rb-chapter__no {
		font-size: 38px;
	}

	.rb-chapter__count {
		grid-column: 2;
		text-align: start;
		padding-top: 0;
	}

	.rb-chapter__body {
		padding-block: 4px 8px;
	}

	.rb-card__main {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 14px;
		padding: 14px 12px;
	}

	.rb-card__icon {
		width: 64px;
		height: 64px;
	}

	.rb-card__band {
		padding: 7px 12px;
		font-size: 9.5px;
		gap: 4px 12px;
	}

	.rb-card__edition {
		margin-inline-start: 0;
	}

	.rb-rule__head {
		grid-template-columns: 34px minmax(0, 1fr);
		gap: 8px;
	}

	.rb-rule__no {
		font-size: 21px;
	}

	.rb-rule__aside {
		grid-column: 2;
		text-align: start;
	}

	.rb-rule__body {
		margin-inline-start: 0;
		margin-top: 10px;
	}

	.rb-deal--inline {
		margin-inline-start: 0;
	}

	.rb-notes {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.rb-score {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	.rb-score__value {
		font-size: 40px;
	}

	.rb-spec dd {
		font-size: 14px;
	}

	.rb-entry__meta {
		font-size: 9.5px;
	}

	.rb-foot__top {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}

	.rb-foot__base {
		justify-content: flex-start;
	}

	.entry {
		font-size: 16px;
	}

	.entry h2 {
		font-size: 19px;
	}
}

@media (max-width: 479px) {
	.rb-wrap {
		padding-inline: 14px;
	}

	.rb-brand__text {
		font-size: 17px;
	}

	.rb-cover__title {
		font-size: 34px;
	}

	.rb-cover__lead {
		font-size: 15.5px;
	}

	.rb-cover__cell dd {
		font-size: 22px;
	}

	.rb-steps {
		padding-block: 20px 22px;
	}

	.rb-step__text {
		font-size: 14px;
	}

	.rb-contents {
		padding-block: 24px 32px;
	}

	.rb-blank {
		padding: 14px;
	}

	.rb-misprint__search {
		max-width: none;
	}

	.rb-turns__label {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}

/* shared-content guard: keep .wp-block-table inside the column */
.wp-block-table{max-width:100%;overflow-x:auto}
.wp-block-table table{max-width:100%}

/* ==========================================================================
   Tags: catalogue slips
   ========================================================================== */

.rb-tagset__list {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rb-tagset__item {
	display: block;
	min-width: 0;
	animation: rb-tagset-stamp 320ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.rb-tagset__item:nth-child(2) {
	animation-delay: 35ms;
}

.rb-tagset__item:nth-child(3) {
	animation-delay: 70ms;
}

.rb-tagset__item:nth-child(4) {
	animation-delay: 105ms;
}

.rb-tagset__item:nth-child(5) {
	animation-delay: 140ms;
}

.rb-tagset__item:nth-child(6) {
	animation-delay: 175ms;
}

.rb-tagset__item:nth-child(7) {
	animation-delay: 210ms;
}

.rb-tagset__item:nth-child(8) {
	animation-delay: 245ms;
}

.rb-tagset__tag {
	position: relative;
	display: inline-flex;
	align-items: baseline;
	gap: 7px;
	padding-block: 6px;
	padding-inline: 12px 9px;
	border: 1px solid var(--rb-line);
	border-radius: var(--rb-radius);
	background: var(--rb-paper-2);
	color: var(--rb-ink-2);
	font-family: var(--rb-display);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.rb-tagset__tag::before {
	content: "";
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 3px;
	border-start-start-radius: var(--rb-radius);
	border-end-start-radius: var(--rb-radius);
	background: var(--rb-yellow);
	transition: background-color 140ms ease;
}

.rb-tagset__index {
	font-family: var(--rb-num);
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--rb-muted);
	transition: color 140ms ease;
}

.rb-tagset__name {
	text-transform: uppercase;
}

.rb-tagset__count {
	padding-inline-start: 7px;
	border-inline-start: 1px dotted var(--rb-line);
	font-family: var(--rb-num);
	font-size: 9.5px;
	font-weight: 400;
	color: var(--rb-muted);
}

.rb-tagset__tag:hover,
.rb-tagset__tag:focus-visible {
	border-color: var(--rb-red);
	background: #fff;
	color: var(--rb-red-deep);
	transform: translateY(-1px);
	box-shadow: 0 2px 0 0 var(--rb-line-soft);
}

.rb-tagset__tag:hover::before,
.rb-tagset__tag:focus-visible::before {
	background: var(--rb-red);
}

.rb-tagset__tag:hover .rb-tagset__index,
.rb-tagset__tag:focus-visible .rb-tagset__index {
	color: var(--rb-red-deep);
}

.rb-tagset__tag:focus-visible {
	outline: 2px solid var(--rb-blue);
	outline-offset: 2px;
}

.rb-tagset__tag:active {
	transform: translateY(0);
	box-shadow: none;
}

@keyframes rb-tagset-stamp {
	from {
		opacity: 0;
		transform: translateY(4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 479px) {
	.rb-tagset__list {
		gap: 6px;
	}

	.rb-tagset__tag {
		gap: 6px;
		padding-inline: 11px 8px;
		font-size: 11.5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rb-tagset__item {
		animation: none;
		transform: none;
	}

	.rb-tagset__tag {
		transition: none;
	}
}
