/* Casino Engine — фронтенд-стили (тема-агностик, палитра через переменные) */
:root {
	/* Палитра Fintech Mint (тёмная тема). Меняется только здесь. */
	--ce-accent: #14e0a3;
	--ce-accent-dark: #0fb482;      /* hover-состояния */
	--ce-accent-light: #7ef2ce;     /* ссылки/ховеры на тёмных подложках */
	--ce-on-accent: #06251c;        /* текст на mint-заливке (mint светлый — нужен тёмный) */

	--ce-bg: #0b1117;               /* фон страницы */
	--ce-surface: #141c26;          /* карточки, поля ввода */
	--ce-surface-2: #1b2530;        /* зебра таблиц, вторичные подложки */
	--ce-ink: #e6edf3;              /* основной текст */
	--ce-ink-strong: #f5f9fc;       /* заголовки */
	--ce-muted: #8a97a6;            /* вторичный текст */
	--ce-line: #26313d;             /* границы */

	--ce-gold: #f5b301;             /* звёзды рейтинга */
	--ce-red: #f0616b;
	--ce-success-bg: rgba(20, 224, 163, 0.10);
	--ce-success-line: rgba(20, 224, 163, 0.32);
	--ce-danger-bg: rgba(240, 97, 107, 0.10);
	--ce-danger-line: rgba(240, 97, 107, 0.32);
	--ce-warn-ink: #f5d083;
	--ce-warn-bg: rgba(245, 179, 1, 0.14);
	--ce-warn-line: rgba(245, 179, 1, 0.32);

	--ce-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
	--ce-shadow-lg: 0 10px 28px rgba(0, 0, 0, 0.55);
	--ce-radius: 12px;
}


.ce-container {
	max-width: 1290px; /* = maxSiteWidth темы (.ct-container): CPT-страницы одной ширины с остальными. */
	margin: 0 auto;
	padding: 2rem 1rem 3rem;
}

/* ---------- FAQ ----------
   На контентных страницах h3 используется только для вопросов FAQ
   (обзоры казино рендерятся в .ce-review-content и не затрагиваются). */

.entry-content h3 {
	font-size: 1.1rem;
	margin: 1.25rem 0 0.4rem;
}

.entry-content h3 + p {
	margin-block-start: 0;
}

/* ---------- Хлебные крошки ---------- */

.ce-breadcrumbs {
	font-size: 0.85rem;
	line-height: 1.4;
}

.ce-breadcrumbs.ct-container {
	padding-top: 1.1rem;
}

.ce-breadcrumbs.ce-container {
	padding: 1.1rem 1rem 0;
}

.ce-breadcrumbs .rank-math-breadcrumb p {
	margin: 0;
	color: var(--ce-muted);
}

.ce-breadcrumbs a {
	color: var(--ce-muted);
	text-decoration: none;
}

.ce-breadcrumbs a:hover {
	color: var(--ce-accent);
	text-decoration: underline;
}

.ce-breadcrumbs .separator {
	margin: 0 0.45em;
	opacity: 0.6;
}

.ce-breadcrumbs .last {
	color: var(--ce-ink-strong);
	font-weight: 500;
}

/* ---------- Топ-лист ---------- */
.ce-toplist {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 1.5rem 0;
}
.ce-toplist-more {
	margin: -0.25rem 0 1.5rem;
	text-align: center;
}
.ce-card {
	position: relative;
	display: grid;
	grid-template-columns: 1.4fr 1.6fr auto;
	gap: 1rem;
	align-items: center;
	border: 1px solid var(--ce-line);
	border-radius: var(--ce-radius);
	padding: 1.1rem 1.25rem 0.5rem;
	background: var(--ce-surface);
	box-shadow: var(--ce-shadow);
	transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.ce-card:hover {
	border-color: var(--ce-accent);
	box-shadow: var(--ce-shadow-lg);
	transform: translateY(-2px);
}
.ce-card-draft {
	background: repeating-linear-gradient(45deg, var(--ce-surface), var(--ce-surface) 12px, var(--ce-warn-bg) 12px, var(--ce-warn-bg) 24px);
}
.ce-badge-draft {
	display: inline-block;
	margin-left: 0.5rem;
	padding: 0 0.4rem;
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--ce-warn-ink);
	background: var(--ce-warn-bg);
	border-radius: 4px;
	vertical-align: middle;
}
.ce-rank {
	position: absolute;
	top: -0.6rem;
	left: -0.6rem;
	width: 1.8rem;
	height: 1.8rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ce-accent);
	color: var(--ce-on-accent);
	font-weight: 700;
	font-size: 0.85rem;
	border-radius: 50%;
}
.ce-card-brand {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}
.ce-logo {
	width: 64px;
	height: 64px;
	object-fit: contain;
	border-radius: 8px;
}
.ce-card-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ce-ink);
	text-decoration: none;
}
.ce-card-title:hover {
	color: var(--ce-accent);
}
.ce-card-facts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	font-size: 0.9rem;
}
/* Фиксированная колонка лейблов + значение слева: длинные Welcome offer/Withdrawal
   читаются как текст с ровным левым краем, а не рваным правым при space-between. */
.ce-card-facts li {
	display: grid;
	grid-template-columns: 6.4rem minmax(0, 1fr);
	gap: 0.9rem;
	align-items: baseline;
	border-bottom: 1px dashed var(--ce-line);
	padding-bottom: 0.4rem;
}
.ce-card-facts li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}
.ce-card-facts span {
	color: var(--ce-muted);
	font-size: 0.71rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.6;
}
.ce-card-facts strong {
	font-weight: 500;
	line-height: 1.5;
}
.ce-card-actions {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 150px;
}
.ce-card-terms {
	grid-column: 1 / -1;
	margin: 0.25rem 0 0.5rem;
	font-size: 0.72rem;
	color: var(--ce-muted);
	text-align: center;
}

/* ---------- Чипы и бейджи ---------- */
.ce-chip-dep {
	display: inline-block;
	margin-left: 0.5rem;
	padding: 0.1rem 0.5rem;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--ce-accent);
	background: var(--ce-success-bg);
	border: 1px solid var(--ce-success-line);
	border-radius: 999px;
	vertical-align: middle;
	white-space: nowrap;
}
.ce-pay-row {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	padding-top: 0.6rem;
	border-top: 1px dashed var(--ce-line);
}
.ce-pay {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 1.65rem;
	padding: 0 0.5rem;
	border: 1px solid var(--ce-line);
	border-radius: 6px;
	background: var(--ce-surface-2);
	/* Иконки монохромные (fill: currentColor) — на тёмном фоне берём светлый ink,
	   иначе бренд-логотипы визуально тонут в подложке чипа. */
	color: var(--ce-ink);
}
.ce-pay svg {
	width: 1.5rem;
	height: 1rem;
	fill: currentColor;
	opacity: 0.92;
}
.ce-pay-text {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.ce-pay-more {
	color: var(--ce-muted);
}

/* Хвост чипов за «+N»: на широком экране прячем, в мобильной карточке показываем
   целиком — там строка чипов занимает всю ширину и ничего не ломает. */
.ce-pay-rest {
	display: none;
}

/* ---------- Контраст меню (Blocksy) ---------- */
/* Шапка и контент — один тон фона, без границы они сливаются в одно полотно. */
.ct-header [data-row="middle"] {
	border-bottom: 1px solid var(--ce-line);
}
.ct-header .ct-menu-link:hover,
.ct-header .ct-menu-link:focus {
	color: var(--ce-accent) !important;
}
.ct-header .current-menu-item > .ct-menu-link,
.ct-header .current-menu-ancestor > .ct-menu-link,
.ct-header .current_page_item > .ct-menu-link {
	color: var(--ce-accent) !important;
	box-shadow: inset 0 -2px 0 var(--ce-accent);
}
/* Выпадающие меню на тёмном фоне: светло-зелёный вместо тёмного акцента */
.ct-header .sub-menu .ct-menu-link:hover,
.ct-header .sub-menu .ct-menu-link:focus,
.ct-header .sub-menu .current-menu-item > .ct-menu-link {
	color: var(--ce-accent-light) !important;
	box-shadow: none;
}
footer .ct-menu-link:hover {
	color: var(--ce-accent) !important;
}

/* ---------- Кнопки ---------- */
.ce-btn {
	display: inline-block;
	padding: 0.6rem 1.3rem;
	border-radius: 8px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: background 0.15s ease;
}
.ce-btn-primary {
	background: var(--ce-accent);
	color: var(--ce-on-accent);
}
.ce-btn-primary:hover {
	background: var(--ce-accent-light);
	color: var(--ce-on-accent);
}
.ce-btn-ghost {
	border: 1px solid var(--ce-line);
	color: var(--ce-ink);
	background: var(--ce-surface);
}
.ce-btn-ghost:hover {
	background: var(--ce-surface-2);
}
.ce-btn-lg {
	padding: 0.85rem 2rem;
	font-size: 1.05rem;
}
.ce-cta-wrap {
	text-align: center;
	margin: 1.5rem 0;
}
.ce-cta-wrap small {
	color: var(--ce-muted);
}

/* ---------- Звёзды ---------- */
.ce-stars {
	position: relative;
	display: inline-block;
	font-size: 1rem;
	line-height: 1;
	color: var(--ce-line);
	vertical-align: middle;
}
.ce-stars-fill {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	white-space: nowrap;
	color: var(--ce-gold);
}
.ce-stars-num {
	margin-left: 0.35rem;
	font-weight: 700;
	font-size: 0.9rem;
}

/* ---------- Pros / Cons ---------- */
.ce-pros-cons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin: 1.5rem 0;
}
.ce-pc-col {
	border-radius: var(--ce-radius);
	padding: 1rem 1.25rem;
}
.ce-pros {
	background: var(--ce-success-bg);
	border: 1px solid var(--ce-success-line);
}
.ce-cons {
	background: var(--ce-danger-bg);
	border: 1px solid var(--ce-danger-line);
}
.ce-pc-col h4 {
	margin: 0 0 0.5rem;
}
.ce-pc-col ul {
	margin: 0;
	padding-left: 1.2rem;
}

/* ---------- Обзор ---------- */
.ce-review-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	justify-content: space-between;
}
.ce-review-summary {
	background: var(--ce-surface-2);
	border: 1px solid var(--ce-line);
	border-radius: var(--ce-radius);
	padding: 1.25rem;
	margin: 1.25rem 0 2rem;
}
.ce-logo-lg {
	max-width: 180px;
	height: auto;
	border-radius: 8px;
	margin-bottom: 1rem;
}
.ce-facts {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}
.ce-facts th,
.ce-facts td {
	text-align: left;
	padding: 0.5rem 0.75rem;
	border-bottom: 1px solid var(--ce-line);
}
.ce-facts th {
	color: var(--ce-muted);
	font-weight: 600;
	width: 38%;
}

/* ---------- Разное ---------- */
.ce-disclosure {
	margin: 1.5rem 0;
	padding: 0.75rem 1rem;
	background: var(--ce-surface-2);
	border-left: 3px solid var(--ce-line);
	font-size: 0.82rem;
	color: var(--ce-muted);
}
.ce-archive-header p {
	color: var(--ce-muted);
}

/* ---------- Индекс хаба (каталог дочерних страниц) ---------- */
.ce-hub-index {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0.45rem 1rem;
	list-style: none;
	margin: 1rem 0 1.75rem;
	padding: 1rem 1.25rem;
	background: var(--ce-surface-2);
	border: 1px solid var(--ce-line);
	border-radius: var(--ce-radius);
}
.ce-hub-index li {
	margin: 0;
}
@media (min-width: 1000px) {
	.ce-hub-index {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
.ce-hub-index a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 600;
	color: var(--ce-ink);
	text-decoration: none;
	padding: 0.25rem 0;
}
.ce-hub-index a:hover {
	color: var(--ce-accent);
	text-decoration: underline;
}

.ce-brand-logo {
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	object-fit: contain;
	border-radius: 6px;
	background: var(--ce-surface);
	border: 1px solid var(--ce-line);
}

.ce-brand-logo-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--ce-accent);
	background: var(--ce-success-bg);
}

/* Ссылка обзора на страницу sister-sites бренда */
.ce-sister-link {
	margin: 1.5rem 0 0;
	padding: 0.75rem 1rem;
	background: var(--ce-surface-2);
	border-left: 3px solid var(--ce-accent);
	font-size: 0.95rem;
}

/* ---------- Фильтры архива /reviews/ ---------- */
.ce-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.75rem 1rem;
	margin: 1.25rem 0 0.5rem;
	padding: 1rem;
	background: var(--ce-surface-2);
	border: 1px solid var(--ce-line);
	border-radius: var(--ce-radius);
}
.ce-filters label {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	margin-bottom: 0; /* Blocksy даёт label ~6px снизу — сбивает flex-end выравнивание строки */
	font-size: 0.74rem;
	font-weight: 700;
	color: var(--ce-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.ce-filters select {
	min-width: 10.5rem;
	padding: 0.5rem 0.65rem;
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--ce-ink);
	background: var(--ce-surface);
	border: 1px solid var(--ce-line);
	border-radius: 8px;
	cursor: pointer;
}
.ce-filters select:hover {
	border-color: var(--ce-accent);
}
.ce-filters select:focus {
	border-color: var(--ce-accent);
	outline: 2px solid rgba(14, 159, 110, 0.25);
	outline-offset: 0;
}
.ce-filters .ce-btn {
	padding: 0.5rem 1.1rem;
}
.ce-filters-reset {
	/* Паддинги и кегль как у селектов — при align-items: flex-end контейнера
	   кнопка встаёт с полями на одну линию и в одну высоту. */
	align-self: flex-end;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 1.1rem;
	border: 1px solid var(--ce-line);
	border-radius: 999px;
	background: var(--ce-surface);
	font-size: 0.92rem;
	line-height: 1.5; /* итоговая высота = 40px, как у селектов */
	font-weight: 600;
	color: var(--ce-ink);
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.ce-filters-reset:hover {
	border-color: var(--ce-accent);
	color: var(--ce-accent);
	background: var(--ce-surface-2);
	text-decoration: none;
}
.ce-filters-count {
	margin: 0.75rem 0 0;
	font-size: 0.9rem;
	color: var(--ce-muted);
}
.ce-hidden {
	display: none;
}
@media (max-width: 640px) {
	.ce-filters label {
		flex: 1 1 45%;
	}
	.ce-filters select {
		min-width: 0;
		width: 100%;
	}
}
.ce-pagination {
	margin: 2.5rem 0;
}
.ce-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.55rem;
}
.ce-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 3rem;
	height: 3rem;
	padding: 0 1.1rem;
	border: 1px solid var(--ce-line);
	border-radius: 10px;
	background: var(--ce-surface);
	color: var(--ce-ink);
	font-weight: 700;
	font-size: 1.1rem;
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.ce-pagination a.page-numbers:hover,
.ce-pagination a.page-numbers:focus {
	border-color: var(--ce-accent);
	color: var(--ce-accent);
	box-shadow: 0 4px 12px rgba(11, 127, 88, 0.16);
	transform: translateY(-1px);
}
.ce-pagination .page-numbers.current {
	background: var(--ce-accent);
	border-color: var(--ce-accent);
	color: var(--ce-ink-strong);
	box-shadow: 0 4px 12px rgba(11, 127, 88, 0.28);
}
.ce-pagination .page-numbers.dots {
	border: none;
	background: transparent;
	color: var(--ce-muted);
	min-width: auto;
	padding: 0 0.2rem;
}
.ce-pagination .prev.page-numbers,
.ce-pagination .next.page-numbers {
	gap: 0.35rem;
	background: var(--ce-surface-2);
}
@media (max-width: 560px) {
	.ce-pag-label {
		display: none;
	}
	.ce-pagination .page-numbers {
		min-width: 2.7rem;
		height: 2.7rem;
		padding: 0 0.8rem;
	}
	/* Лейбл над значением: колонка лейблов на узком экране съедает треть ширины. */
	.ce-card-facts li {
		grid-template-columns: 1fr;
		gap: 0.05rem;
	}
}

/* ---------- Compliance-бар ---------- */
.ce-compliance-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 1.25rem;
	padding: 0.7rem 1rem;
	background: #060b10;
	color: var(--ce-muted);
	font-size: 0.82rem;
}
.ce-compliance-bar a {
	color: var(--ce-ink-strong);
	text-decoration: underline;
}
.ce-compliance-bar a:hover {
	color: var(--ce-accent-light); /* Тот же зелёный, что ховер в выпадашках хедера. */
}
.ct-footer-copyright a:hover {
	color: var(--ce-accent-light);
}
.ce-18 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 50%;
	background: var(--ce-red);
	color: #1a0508;
	font-weight: 800;
	font-size: 0.78rem;
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
	.ce-card {
		grid-template-columns: 1fr;
	}
	.ce-card-actions {
		flex-direction: row;
	}
	.ce-card-actions .ce-btn {
		flex: 1;
	}
	.ce-pros-cons {
		grid-template-columns: 1fr;
	}
}

/* ------------------------------------------------------------------------
   Калькулятор срока вывода [casino_payout_calculator]
   ------------------------------------------------------------------------ */
.ce-calc {
	background: var(--ce-surface);
	border: 1px solid var(--ce-line);
	border-radius: var(--ce-radius);
	padding: 24px;
	margin: 32px 0;
}
.ce-calc-title {
	margin: 0 0 8px;
	font-size: 1.35rem;
}
.ce-calc-intro {
	margin: 0 0 20px;
	color: var(--ce-muted);
	font-size: .95rem;
}
.ce-calc-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.ce-calc-label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--ce-ink);
}
.ce-calc select {
	width: 100%;
	padding: 10px 12px;
	background: var(--ce-surface-2);
	color: var(--ce-ink);
	border: 1px solid var(--ce-line);
	border-radius: 8px;
	font: inherit;
}
.ce-calc-check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 8px;
	color: var(--ce-ink);
	font-size: .95rem;
	cursor: pointer;
}
.ce-calc-check input {
	margin-top: 3px;
	accent-color: var(--ce-accent);
}
.ce-calc-result {
	margin-top: 24px;
	padding: 18px 20px;
	background: var(--ce-surface-2);
	border-left: 3px solid var(--ce-accent);
	border-radius: 8px;
}
.ce-calc-result-label {
	display: block;
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: .75rem;
	color: var(--ce-muted);
}
.ce-calc-value {
	display: block;
	margin: 4px 0 8px;
	font-size: 1.5rem;
	color: var(--ce-accent);
}
.ce-calc.is-blocked .ce-calc-value {
	color: var(--ce-muted);
}
.ce-calc-breakdown {
	color: var(--ce-muted);
	font-size: .9rem;
}
.ce-calc-note {
	margin-top: 16px;
}

@media (max-width: 767px) {
	.ce-calc {
		padding: 18px;
	}
	.ce-calc-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

/* ---------- Таблица скоростей вывода [casino_payment_speeds] ---------- */
.ce-speeds-wrap {
	overflow-x: auto;
	margin: 24px 0 8px;
}
.ce-speeds {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: .95rem;
}
.ce-speeds th,
.ce-speeds td {
	padding: 12px 14px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--ce-line);
}
.ce-speeds thead th {
	color: var(--ce-muted);
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	white-space: nowrap;
}
.ce-speeds tbody tr:nth-child(even) {
	background: var(--ce-surface-2);
}
.ce-speeds tbody th[scope="row"] {
	color: var(--ce-ink-strong);
	font-weight: 600;
	white-space: nowrap;
}
.ce-speeds-time {
	color: var(--ce-accent);
	font-weight: 600;
	white-space: nowrap;
}

/* ---------- Заглушка топ-листа (нет опубликованных брендов) ---------- */
.ce-toplist-placeholder {
	background: var(--ce-surface);
	border: 1px dashed var(--ce-line);
	border-radius: var(--ce-radius);
	padding: 22px 24px;
	margin: 24px 0;
}
.ce-toplist-placeholder h3 {
	margin: 0 0 8px;
	font-size: 1.15rem;
	color: var(--ce-ink-strong);
}
.ce-toplist-placeholder p {
	color: var(--ce-muted);
	margin: 0 0 12px;
}
.ce-toplist-placeholder ul {
	margin: 0 0 12px;
	padding-left: 1.2em;
	color: var(--ce-ink);
}
.ce-toplist-placeholder li {
	margin-bottom: 6px;
}
.ce-toplist-placeholder-link a {
	color: var(--ce-accent);
	font-weight: 600;
}

/* ---------- Страница 404 (mu-plugin iwc-404.php) ---------- */
.iwc-404 {
	max-width: 720px;
	margin: 0 auto;
	padding: 24px 0 48px;
}
.iwc-404 .page-title {
	margin-bottom: 12px;
}
.iwc-404 > p {
	color: var(--ce-muted);
}
.iwc-404-links {
	list-style: none;
	margin: 20px 0 28px;
	padding: 0;
	display: grid;
	gap: 10px;
}
.iwc-404-links a {
	display: block;
	padding: 12px 16px;
	background: var(--ce-surface);
	border: 1px solid var(--ce-line);
	border-radius: 8px;
	color: var(--ce-accent);
	font-weight: 600;
	text-decoration: none;
}
.iwc-404-links a:hover {
	border-color: var(--ce-accent);
}
.iwc-404-search-label {
	color: var(--ce-muted);
	margin-bottom: 8px;
}

/* ==========================================================================
   Обложка страницы (шорткод [casino_hero])
   ========================================================================== */

/* Страница со своей обложкой печатает h1 сама — заголовок темы прячем. */
.ce-has-hero .hero-section {
	display: none;
}

.ce-hero {
	position: relative;
	overflow: hidden;
	margin-bottom: 2.5rem;
	padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
	background: var(--ce-bg);
	border-bottom: 1px solid var(--ce-line);
}

/* Фон обложки — техническая сетка, а не градиент: маска гасит её к низу,
   чтобы линии не спорили с текстом и мини-карточками. */
.ce-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(to right, rgba(230, 237, 243, 0.055) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(230, 237, 243, 0.055) 1px, transparent 1px);
	background-size: 38px 38px;
	-webkit-mask-image: radial-gradient(115% 100% at 50% 0%, #000 45%, transparent 82%);
	mask-image: radial-gradient(115% 100% at 50% 0%, #000 45%, transparent 82%);
}

/* Тонкая mint-линия по верху — та же деталь, что на OG-карточке. */
.ce-hero::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--ce-accent), var(--ce-accent-dark));
}

/* Обложка выстроена по центральной оси: подпись → плашка проверки → заголовок →
   лид → кнопки → показатели → Trustpilot. Одна колонка держит порядок
   чтения одинаковым на любой ширине. */
.ce-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0;
}

/* Подпись рецензента — опциональная: печатается, только если задано реальное имя. */
.ce-hero-byline {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1.4rem;
	padding: 0.5rem 1rem 0.5rem 0.9rem;
	border: 1px solid var(--ce-line);
	border-radius: 999px;
	background: var(--ce-surface);
	font-size: 0.85rem;
	line-height: 1.25;
	text-align: left;
}

.ce-hero-byline-label {
	display: block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ce-muted);
}

.ce-hero-byline-name {
	font-weight: 700;
	color: var(--ce-ink-strong);
}

.ce-hero-byline-role {
	font-weight: 500;
	color: var(--ce-muted);
}

.ce-hero-byline .ce-icon {
	width: 20px;
	height: 20px;
	color: var(--ce-accent);
}

.ce-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.55rem;
	margin: 0 0 1.25rem;
	padding: 0.4rem 0.85rem;
	border: 1px solid var(--ce-success-line);
	border-radius: 999px;
	background: var(--ce-success-bg);
	color: var(--ce-accent-light);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.ce-pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ce-accent);
	box-shadow: 0 0 0 0 rgba(20, 224, 163, 0.6);
	animation: ce-pulse 2.4s ease-out infinite;
}

@keyframes ce-pulse {
	70% { box-shadow: 0 0 0 10px rgba(20, 224, 163, 0); }
	100% { box-shadow: 0 0 0 0 rgba(20, 224, 163, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.ce-pulse { animation: none; }
}

/* Приписка к плашке — отдельным тоном: дата проверки важнее числа брендов. */
.ce-hero-eyebrow-note {
	padding-left: 0.55rem;
	border-left: 1px solid var(--ce-success-line);
	color: var(--ce-muted);
	font-weight: 500;
}

/* Space Grotesk — переменный 300–700, поэтому «жирнее 700» весом не получить:
   плотность добавляет тонкая обводка тем же цветом (у акцентного слова
   currentColor свой, так что оно не сереет). */
.ce-hero-title {
	margin: 0 0 1rem;
	max-width: 18ch;
	font-size: clamp(2.5rem, 6.6vw, 4.7rem);
	font-weight: 700;
	line-height: 1.03;
	letter-spacing: -0.03em;
	color: var(--ce-ink-strong);
	-webkit-text-stroke: 0.017em currentColor;
}

/* Акцентом красится то, что редактор уже написал (год или последнее слово),
   а не приписанный ради цвета текст. */
.ce-hero-accent {
	color: var(--ce-accent);
}

.ce-hero-lead {
	margin: 0 0 1.4rem;
	max-width: 62ch;
	font-size: clamp(1.1rem, 1.9vw, 1.4rem);
	line-height: 1.55;
	color: var(--ce-muted);
}

/* Кнопка сверху, ряд тихих ссылок под ней — иерархия действий читается сразу. */
.ce-hero-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.35rem;
	margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.ce-hero-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.2rem 1.4rem;
}

.ce-hero-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 1.4rem;
	border: 1px solid var(--ce-accent);
	border-radius: 10px;
	background: var(--ce-accent);
	color: var(--ce-on-accent);
	font-weight: 700;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.ce-hero-btn:hover {
	background: var(--ce-accent-dark);
	border-color: var(--ce-accent-dark);
	color: var(--ce-on-accent);
	transform: translateY(-1px);
}

/* Вторичные действия — ссылки, а не кнопки: главное действие на экране одно. */
.ce-hero-link {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.2rem;
	border: 0;
	background: none;
	color: var(--ce-muted);
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.ce-hero-link:hover,
.ce-hero-link:focus {
	color: var(--ce-ink);
	border-bottom-color: var(--ce-accent);
}

/* ---------- мини-карточки показателей ---------- */

.ce-stats {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	display: grid;
	/* Колонок столько, сколько карточек напечатала обложка (переменная в разметке). */
	grid-template-columns: repeat(var(--ce-stats-cols, 4), minmax(0, 1fr));
	gap: 0.85rem;
}

.ce-stat {
	position: relative;
	padding: 1.35rem 1.15rem;
	align-items: center;
	text-align: center;
	border: 1px solid var(--ce-line);
	border-radius: var(--ce-radius);
	background: linear-gradient(180deg, var(--ce-surface), rgba(20, 28, 38, 0.6));
	box-shadow: var(--ce-shadow);
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.ce-stat:hover {
	border-color: color-mix(in srgb, var(--ce-stat-color, var(--ce-accent)) 45%, var(--ce-line));
	transform: translateY(-2px);
}

.ce-stat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: 52px;
	height: 52px;
	margin-bottom: 0.45rem;
	border-radius: 14px;
	background: color-mix(in srgb, var(--ce-stat-color, var(--ce-accent)) 14%, transparent);
	border: 1px solid color-mix(in srgb, var(--ce-stat-color, var(--ce-accent)) 32%, transparent);
	color: var(--ce-stat-color, var(--ce-accent));
}

.ce-stat-icon .ce-icon {
	width: 28px;
	height: 28px;
	stroke-width: 1.7;
}

/* Каждая карточка — свой цвет: показатели читаются как разные величины,
   а не как один и тот же mint-повтор. */
.ce-stat:nth-child(1) { --ce-stat-color: var(--ce-accent); }
.ce-stat:nth-child(2) { --ce-stat-color: #7cc4ff; }
.ce-stat:nth-child(3) { --ce-stat-color: #c39bff; }
.ce-stat:nth-child(4) { --ce-stat-color: var(--ce-gold); }

.ce-stat:hover .ce-stat-icon {
	background: color-mix(in srgb, var(--ce-stat-color, var(--ce-accent)) 22%, transparent);
}

.ce-stat-value {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.15;
	color: var(--ce-ink-strong);
	letter-spacing: -0.01em;
}

.ce-stat-label {
	font-size: 0.82rem;
	line-height: 1.35;
	color: var(--ce-muted);
}

/* Ссылка на профиль отзывов. Числа отзывов не печатаем — оно не наше. */
.ce-hero-trust {
	margin: 1.5rem 0 0;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.9rem;
	color: var(--ce-muted);
}

.ce-hero-trust a {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-weight: 700;
	color: var(--ce-ink-strong);
	text-decoration: none;
}

.ce-hero-trust a:hover {
	color: var(--ce-accent);
}

.ce-hero-trust .ce-icon {
	width: 17px;
	height: 17px;
	color: var(--ce-accent);
}

@media (max-width: 860px) {
	.ce-hero-title {
		max-width: none;
	}
	.ce-hero-lead {
		max-width: none;
	}
	/* Четыре карточки в ряд на планшете уже не читаются — две на две. */
	.ce-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	/* Узкий экран: четыре карточки в столбик — слишком длинно, оставляем две в ряд. */
	.ce-stat {
		padding: 0.9rem 0.95rem;
	}
	.ce-stat-value {
		font-size: 1.25rem;
	}
	.ce-stat-label {
		font-size: 0.78rem;
	}
}

@media (max-width: 360px) {
	.ce-stats {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==========================================================================
   Карточки-подборки (шорткод [casino_picks])
   ========================================================================== */

.ce-picks {
	margin: 3rem 0;
}

.ce-picks-heading {
	margin: 0 0 0.5rem;
}

.ce-picks-intro {
	margin: 0 0 1.5rem;
	color: var(--ce-muted);
}

.ce-picks-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
	gap: 1rem;
}

.ce-pick {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.35rem 1.35rem 1.15rem;
	border: 1px solid var(--ce-line);
	border-radius: var(--ce-radius);
	background: var(--ce-surface);
	color: var(--ce-ink);
	text-decoration: none;
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.ce-pick:hover {
	border-color: var(--ce-accent);
	transform: translateY(-2px);
	box-shadow: var(--ce-shadow-lg);
	color: var(--ce-ink);
}

.ce-pick-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--ce-success-bg);
	color: var(--ce-accent);
}

.ce-pick-icon .ce-icon {
	width: 21px;
	height: 21px;
}

.ce-pick-title {
	font-family: inherit;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--ce-ink-strong);
	line-height: 1.25;
}

.ce-pick-text {
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--ce-muted);
	flex: 1 1 auto;
}

.ce-pick-more {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.35rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--ce-accent);
}

.ce-pick-more .ce-icon {
	width: 16px;
	height: 16px;
	transition: transform 0.15s ease;
}

.ce-pick:hover .ce-pick-more .ce-icon {
	transform: translateX(3px);
}

/* ==========================================================================
   Типографика контентных страниц
   Оформление, а не разметка: schema-faq.php разбирает тот же HTML,
   поэтому структуру заголовков и абзацев здесь не меняем.
   ========================================================================== */

.entry-content > p {
	line-height: 1.7;
}

/* Первый абзац после обложки читается как лид. */
.ce-hero + p {
	font-size: 1.12rem;
	line-height: 1.65;
	color: var(--ce-ink);
}

.entry-content h2 {
	position: relative;
	margin: 2.75rem 0 1rem;
	padding-top: 1.1rem;
	font-size: clamp(1.5rem, 2.6vw, 1.95rem);
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.entry-content h2::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 48px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--ce-accent), var(--ce-accent-dark));
}

/* ---------- списки ---------- */

.entry-content > ul {
	list-style: none;
	margin: 1.25rem 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
}

.entry-content > ul > li {
	position: relative;
	padding-left: 1.9rem;
	line-height: 1.6;
}

.entry-content > ul > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 10px;
	height: 6px;
	border-left: 2px solid var(--ce-accent);
	border-bottom: 2px solid var(--ce-accent);
	transform: rotate(-45deg);
}

/* Нумерованные списки на этих страницах — всегда пошаговые инструкции. */
.entry-content > ol {
	counter-reset: ce-step;
	list-style: none;
	margin: 1.5rem 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.entry-content > ol > li {
	counter-increment: ce-step;
	position: relative;
	padding: 1rem 1.15rem 1rem 3.5rem;
	border: 1px solid var(--ce-line);
	border-radius: var(--ce-radius);
	background: var(--ce-surface);
	line-height: 1.6;
}

.entry-content > ol > li::before {
	content: counter(ce-step);
	position: absolute;
	left: 1rem;
	top: 0.95rem;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--ce-accent);
	color: var(--ce-on-accent);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1;
}

.entry-content > ol > li > strong:first-child {
	display: block;
	margin-bottom: 0.15rem;
	color: var(--ce-ink-strong);
}

/* ---------- таблицы ---------- */

.entry-content figure.wp-block-table {
	margin: 1.75rem 0;
	border: 1px solid var(--ce-line);
	border-radius: var(--ce-radius);
	background: var(--ce-surface);
	overflow-x: auto; /* узкий экран прокручивает таблицу, а не страницу */
}

.entry-content figure.wp-block-table table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 0.94rem;
}

.entry-content figure.wp-block-table th,
.entry-content figure.wp-block-table td {
	padding: 0.85rem 1rem;
	border: 0;
	border-bottom: 1px solid var(--ce-line);
	text-align: left;
	vertical-align: top;
	line-height: 1.5;
}

.entry-content figure.wp-block-table thead th {
	background: var(--ce-surface-2);
	color: var(--ce-ink-strong);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.entry-content figure.wp-block-table tbody tr:last-child th,
.entry-content figure.wp-block-table tbody tr:last-child td {
	border-bottom: 0;
}

.entry-content figure.wp-block-table tbody tr:nth-child(even) {
	background: rgba(27, 37, 48, 0.45);
}

.entry-content figure.wp-block-table tbody td:first-child {
	color: var(--ce-ink-strong);
	white-space: nowrap;
}

/* ---------- вопросы FAQ ---------- */

.entry-content h3 {
	margin: 1.5rem 0 0.5rem;
	padding-left: 0.9rem;
	border-left: 2px solid var(--ce-accent);
	font-size: 1.08rem;
	line-height: 1.35;
	color: var(--ce-ink-strong);
}

.entry-content h3 + p {
	margin-block-start: 0;
	padding-left: 0.9rem;
	color: var(--ce-muted);
	line-height: 1.65;
}

/* ---------- ссылки в тексте ---------- */

.entry-content > p a,
.entry-content li a,
.entry-content td a {
	color: var(--ce-accent);
	text-decoration: underline;
	text-decoration-color: rgba(20, 224, 163, 0.4);
	text-underline-offset: 3px;
}

.entry-content > p a:hover,
.entry-content li a:hover,
.entry-content td a:hover {
	color: var(--ce-accent-light);
	text-decoration-color: currentColor;
}

/* Обложка начинается сразу под шапкой — верхний отступ контейнера темы лишний. */
.ce-has-hero .site-main > .ct-container-full {
	padding-top: 0;
}

/* ============================================================ ТОП-ЛИСТ ===
   Табличный вид: ранг · бренд · скорость · бонус · действие.
   На узком экране строка перестраивается в карточку (grid-template-areas),
   поэтому разметка одна и та же — дублировать её для мобильных не нужно. */

.ce-toplist {
	border: 1px solid var(--ce-line);
	border-radius: 16px;
	background: var(--ce-surface);
	overflow: hidden;
	margin: 28px 0;
}

/* Колонка скорости фиксированная: строки — отдельные гриды, auto/max-content
   развалили бы выравнивание колонок между строками. Ширина взята под самый
   длинный чип «3 business days» — с nowrap он иначе залезает на бонус. */
.ce-tl-head,
.ce-tl-row {
	display: grid;
	grid-template-columns: 54px minmax(0, 2.2fr) 152px minmax(0, 1fr) 196px;
	gap: 16px;
	align-items: center;
}

.ce-tl-head {
	padding: 12px 20px;
	background: var(--ce-surface-2);
	border-bottom: 1px solid var(--ce-line);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ce-muted);
}

.ce-tl-rows {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ce-tl-row {
	padding: 16px 20px;
	border-bottom: 1px solid var(--ce-line);
	transition: background .18s ease;
}

.ce-tl-row:last-child {
	border-bottom: 0;
}

.ce-tl-row:hover {
	background: var(--ce-surface-2);
}

.ce-tl-row-draft {
	opacity: .72;
}

.ce-tl-rank {
	font-family: var(--ce-font-head, inherit);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--ce-muted);
	text-align: center;
}

.ce-tl-row:nth-child(1) .ce-tl-rank,
.ce-tl-row:nth-child(2) .ce-tl-rank,
.ce-tl-row:nth-child(3) .ce-tl-rank {
	color: var(--ce-accent);
}

/* --- бренд --- */

.ce-tl-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.ce-tl-logo-link {
	flex: 0 0 auto;
	line-height: 0;
}

/* Знаки брендов бывают и квадратные, и вытянутые (у офферов лежат ровно такие).
   Контейнер шире квадрата + contain: широкий логотип виден целиком, квадратный
   занимает те же 52px, что и раньше. cover резал вытянутые по краям. */
.ce-tl-logo {
	width: 76px;
	height: 52px;
	border-radius: 12px;
	object-fit: contain;
	padding: 4px;
	border: 1px solid var(--ce-line);
	background: var(--ce-surface-2);
}

.ce-tl-logo-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--ce-font-head, inherit);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1;
	padding-top: 1px;
	color: hsl(var(--ce-logo-h, 160) 70% 72%);
	background: hsl(var(--ce-logo-h, 160) 45% 18%);
	border-color: hsl(var(--ce-logo-h, 160) 40% 28%);
}

/* Колонка бренда — сетка: название и ярлык в первой строке (ярлык не переносится),
   мета во второй, чипы оплаты в третьей. Обёртка .ce-tl-tags схлопнута, чтобы
   ярлык и мета стали ячейками этой сетки; на мобиле она снова станет строкой. */
.ce-tl-brand-copy {
	min-width: 0;
	display: grid;
	grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
	grid-template-areas:
		"name  badge"
		"meta  meta"
		"pay   pay";
	align-items: center;
	column-gap: 10px;
}

.ce-tl-tags {
	display: contents;
}

.ce-tl-name-line {
	grid-area: name;
}

.ce-tl-name-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.ce-tl-name {
	font-weight: 700;
	font-size: 1.02rem;
	color: var(--ce-ink);
	text-decoration: none;
}

.ce-tl-name:hover {
	color: var(--ce-accent);
}

.ce-tl-badge {
	grid-area: badge;
	justify-self: start;
	display: inline-block;
	white-space: nowrap;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--ce-accent-light);
	background: rgba(20, 224, 163, .12);
	border: 1px solid rgba(20, 224, 163, .3);
}

.ce-tl-meta {
	grid-area: meta;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 5px;
	font-size: 13px;
	color: var(--ce-muted);
}

.ce-tl-rating {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 600;
	color: var(--ce-ink);
}

.ce-tl-rating .ce-icon {
	width: 15px;
	height: 15px;
	color: var(--ce-gold);
	fill: var(--ce-gold);
}

/* Голая сумма «C$20» рядом с рейтингом читалась как загадка — подпись объясняет,
   что это минимальный депозит, и остаётся тише самой цифры. */
.ce-tl-dep {
	white-space: nowrap;
}

.ce-tl-dep-label {
	opacity: .75;
}

/* --- скорость --- */

.ce-tl-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 11px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	color: var(--ce-ink);
	background: var(--ce-surface-2);
	border: 1px solid var(--ce-line);
}

.ce-tl-chip.is-fast {
	color: var(--ce-accent-light);
	background: rgba(20, 224, 163, .1);
	border-color: rgba(20, 224, 163, .32);
}

.ce-tl-chip .ce-icon {
	width: 15px;
	height: 15px;
}

/* --- бонус --- */

.ce-tl-bonus {
	min-width: 0;
	font-size: 14px;
	line-height: 1.4;
}

.ce-tl-bonus-main {
	display: block;
	color: var(--ce-ink);
	font-weight: 700;
}

.ce-tl-bonus-sub {
	display: block;
	margin-top: 3px;
	color: var(--ce-muted);
}

.ce-tl-nowager {
	color: var(--ce-accent);
	font-weight: 700;
}

/* --- действие --- */

.ce-tl-action {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 7px;
	text-align: center;
}

.ce-tl-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 11px 16px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	color: var(--ce-on-accent);
	background: linear-gradient(135deg, var(--ce-accent), var(--ce-accent-dark));
	transition: transform .16s ease, filter .16s ease;
}

.ce-tl-cta:hover {
	transform: translateY(-1px);
	filter: brightness(1.07);
	color: var(--ce-on-accent);
}

.ce-tl-cta .ce-icon {
	width: 16px;
	height: 16px;
}

.ce-tl-review {
	align-self: center;   /* иначе ссылка растянута колонкой и dash идёт во всю ширину */
	font-size: 12.5px;
	color: var(--ce-muted);
	text-decoration: none;
	border-bottom: 1px dashed transparent;
}

.ce-tl-review:hover {
	color: var(--ce-accent);
	border-bottom-color: currentColor;
}

/* Чипы способов оплаты в строке архива — без рамки и растяжки карточной сетки. */
.ce-tl-brand .ce-pay-row {
	grid-area: pay;
	padding-top: 7px;
	border-top: 0;
	gap: 5px;
}

/* В архиве строка выше (чипы) — логотип тянется на всю высоту блока бренда. */
.ce-archive-list .ce-tl-brand {
	align-items: stretch;
}

.ce-archive-list .ce-tl-logo-link {
	display: flex;
}

.ce-archive-list .ce-tl-logo {
	width: 104px;
	height: auto;
	min-height: 84px;
	align-self: stretch;
	border-radius: 16px;
	padding: 8px;
}

.ce-archive-list .ce-tl-logo-fallback {
	font-size: 1.6rem;
}

.ce-archive-list .ce-tl-brand-copy {
	align-self: center;
}

/* Подписи колонок — видимы только в мобильной раскладке. */
.ce-tl-colhead {
	display: none;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ce-muted);
}

/* --- подвал блока --- */

.ce-tl-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px 20px;
	background: var(--ce-surface-2);
	border-top: 1px solid var(--ce-line);
}

.ce-tl-terms {
	margin: 0;
	flex: 1 1 320px;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--ce-muted);
}

.ce-trustpilot {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 16px;
	border-radius: 999px;
	background: #fff;
	color: #111;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .16s ease, box-shadow .16s ease;
}

.ce-trustpilot:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
	color: #111;
}

.ce-trustpilot-mark {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 700;
}

.ce-trustpilot-mark svg {
	width: 16px;
	height: 16px;
	fill: #00b67a;
}

@media (max-width: 980px) {
	.ce-tl-head,
	.ce-tl-row {
		grid-template-columns: 46px minmax(0, 1.8fr) 150px minmax(0, 1fr) 160px;
		gap: 12px;
	}

	/* Колонка бренда узкая — ярлык уходит из строки названия к рейтингу,
	   иначе он ломается на две строки прямо внутри чипа. */
	.ce-tl-brand-copy {
		display: block;
	}

	.ce-tl-tags {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 6px 12px;
		margin-top: 5px;
	}

	.ce-tl-meta {
		margin-top: 0;
	}

	.ce-tl-logo {
		width: 64px;
		height: 44px;
	}
}

@media (max-width: 760px) {
	.ce-tl-head {
		display: none;
	}

	/* Мобильная раскладка — одна колонка сверху вниз: ранг с логотипом и названием,
	   затем ярлык · рейтинг · депозит, чипы оплаты (только в архиве), скорость,
	   бонус, кнопка и ссылка на обзор. .ce-tl-brand и .ce-tl-brand-copy схлопнуты
	   в display:contents, чтобы их содержимое стало ячейками той же сетки. */
	.ce-tl-row {
		grid-template-columns: auto auto minmax(0, 1fr);
		grid-template-areas:
			"rank   logo   name"
			"meta   meta   meta"
			"speed  speed  speed"
			"bonus  bonus  bonus"
			"action action action";
		gap: 18px 12px;
		align-items: center;
		text-align: left;
	}

	/* В архиве между метой и скоростью идут чипы способов оплаты. */
	.ce-archive-list .ce-tl-row {
		grid-template-areas:
			"rank   logo   name"
			"meta   meta   meta"
			"pay    pay    pay"
			"speed  speed  speed"
			"bonus  bonus  bonus"
			"action action action";
	}

	.ce-tl-rank {
		grid-area: rank;
		text-align: left;
		line-height: 1.15;
	}

	.ce-tl-brand,
	.ce-tl-brand-copy {
		display: contents;
	}

	/* Ярлык, рейтинг и депозит — одной строкой карточки. */
	.ce-tl-tags {
		grid-area: meta;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px 12px;
	}

	.ce-tl-logo-link {
		grid-area: logo;
	}

	.ce-tl-name-line {
		grid-area: name;
	}

	.ce-tl-meta {
		margin-top: 0;
	}

	.ce-tl-brand .ce-pay-row {
		grid-area: pay;
		padding-top: 0;
		border-top: 0;
	}

	.ce-tl-speed {
		grid-area: speed;
		min-width: 0;
	}

	.ce-tl-chip {
		white-space: nowrap;
	}

	.ce-pay-rest {
		display: inline-flex;
	}

	.ce-pay-more {
		display: none;
	}

	.ce-tl-bonus {
		grid-area: bonus;
	}

	.ce-tl-action {
		grid-area: action;
		flex-direction: column;
		align-items: stretch;
		text-align: center;
		gap: 8px;
	}

	.ce-tl-review {
		align-self: center;
		text-align: center;
	}

	.ce-tl-cta {
		width: 100%;
	}

	.ce-tl-colhead {
		display: block;
		margin-bottom: 5px;
	}

	/* В мобильной сетке .ce-tl-brand схлопнут — растяжка логотипа архива не нужна. */
	.ce-archive-list .ce-tl-logo {
		width: 76px;
		min-height: 0;
		height: 52px;
		border-radius: 14px;
	}

	.ce-archive-list .ce-tl-logo-fallback {
		font-size: 1.05rem;
	}
}

@media (max-width: 420px) {
	.ce-tl-row {
		padding: 14px;
	}

	.ce-tl-logo,
	.ce-archive-list .ce-tl-logo {
		width: 42px;
		height: 42px;
	}

	.ce-tl-foot {
		padding: 14px;
	}

	.ce-trustpilot {
		width: 100%;
		justify-content: center;
	}
}

/* Тема подчёркивает и перекрашивает ссылки внутри контента — топ-лист
   восстанавливает свои цвета более специфичными селекторами, без !important. */
.ce-toplist a.ce-tl-name,
.ce-toplist a.ce-tl-review,
.ce-toplist a.ce-tl-cta,
.ce-toplist a.ce-trustpilot,
.ce-toplist a.ce-tl-logo-link {
	text-decoration: none;
}

.ce-toplist a.ce-tl-name {
	color: var(--ce-ink);
}

.ce-toplist a.ce-tl-name:hover {
	color: var(--ce-accent);
}

.ce-toplist a.ce-tl-review {
	color: var(--ce-muted);
}

.ce-toplist a.ce-tl-review:hover {
	color: var(--ce-accent);
}

.ce-toplist a.ce-tl-cta,
.ce-toplist a.ce-tl-cta:hover {
	color: var(--ce-on-accent);
}

.ce-toplist a.ce-trustpilot,
.ce-toplist a.ce-trustpilot:hover {
	color: #111;
}

/* ---------- переключатель языка (Polylang) ---------- */

.lang-item .iwc-lang-icon {
	width: 16px;
	height: 16px;
	margin-right: 7px;
	vertical-align: -3px;
	opacity: 0.85;
}

/* Глобус остаётся контурным. Тема заливает любой svg в меню на ховере и у
   активного пункта (`nav[class*="menu"] li:hover > .ct-menu-link svg`), из-за чего
   шар превращался в сплошное пятно — перебиваем не меньшей специфичностью. */
nav[class*="menu"] li:hover > .ct-menu-link .iwc-lang-icon,
nav[class*="menu"] li:focus-within > .ct-menu-link .iwc-lang-icon,
nav[class*="menu"] li[class*="current-menu-"] > .ct-menu-link .iwc-lang-icon,
.lang-item a:hover .iwc-lang-icon {
	fill: none;
	stroke: currentColor;
	opacity: 1;
}

/* в мобильном меню язык отделён от навигации */
#offcanvas .lang-item,
.ct-panel .lang-item {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--ce-line);
}

/* ---------- первый экран на телефоне ---------- */

@media (max-width: 620px) {
	/* На телефоне кнопка во всю ширину и попадает под большой палец, ссылки — под ней.
	   Ширину задаём самому блоку: у .ce-hero-inner стоит align-items:center,
	   и без этого «100%» кнопки считались бы от ширины её же текста. */
	.ce-hero-actions {
		align-items: stretch;
		align-self: stretch;
		width: 100%;
		gap: 1.1rem;
	}

	.ce-hero-actions .ce-hero-btn {
		width: 100%;
		justify-content: center;
		padding: 0.9rem 0.7rem;
		font-size: 0.95rem;
		text-align: center;
	}

	.ce-hero-actions .ce-hero-link {
		justify-content: center;
		padding: 0.25rem 0.2rem;
	}
}

/* Кнопки движка внутри .entry-content: тема красит любые ссылки акцентом. */
.entry-content a.ce-btn,
.entry-content a.ce-btn:hover,
.entry-content a.ce-btn:focus {
	text-decoration: none;
}

.entry-content a.ce-btn-primary,
.entry-content a.ce-btn-primary:hover,
.entry-content a.ce-btn-primary:focus {
	color: var(--ce-on-accent);
}

/* Страница раздела гайдов: h1 печатает mu-plugin, поэтому верхний отступ
   после крошек надо задать руками — у обычных страниц его ставит тема. */
.iwc-blog-intro {
	margin-top: 60px;
}

/* Обложка статьи: та же ширина, что у текста, и скругление как у карточек. */
.single-post .ct-media-container,
.single-post .wp-post-image {
	border-radius: var(--ce-radius);
}

.single-post .post-thumbnail,
.single-post .ct-media-container {
	margin-bottom: 2rem;
	overflow: hidden;
}
