/*
Theme Name: Mostbet.co Brand
Theme URI: https://mostbet.co
Author: Custom
Description: Mobile-first
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.8
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: mostbet-co
*/


:root {
	--mostbet-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mostbet-bg: #eef3fb;
	--mostbet-surface: #ffffff;
	--mostbet-surface-2: #f5f8fd;
	--mostbet-text: #1a2744;
	--mostbet-muted: #5c6b85; 
	--mostbet-accent-orange: #fa5e00;
	--mostbet-blue-start: #428cdc;
	--mostbet-blue-end: #509aea;
	--mostbet-border: rgba(26, 39, 68, 0.12);
	--mostbet-header-bg: rgba(255, 255, 255, 0.94);
	--mostbet-btn-login: linear-gradient(to bottom, #428cdc 0%, #509aea 97%, #509aea 100%);
	--mostbet-btn-register: linear-gradient(to top, #fa4d00, #fa5e00);
	--mostbet-radius: 12px;
	--mostbet-radius-sm: 30px;
	--mostbet-header-h: 64px;
	--mostbet-container: min(1120px, calc(100% - 2rem));
	--mostbet-hero-bg: linear-gradient(165deg, #dce9fb 0%, #eef4ff 42%, #f6f9fc 100%);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body.mostbet-body {
	margin: 0;
	font-family: var(--mostbet-font);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--mostbet-text);
	background: var(--mostbet-bg);
}

.mostbet-page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.mostbet-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	padding: 0.75rem 1rem;
	background: var(--mostbet-btn-register);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	border-radius: 0 0 var(--mostbet-radius-sm) 0;
}

.mostbet-skip-link:focus {
	left: 0;
}

/* ---------- Header ---------- */

.mostbet-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--mostbet-header-bg);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--mostbet-border);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.mostbet-header__inner {
	max-width: var(--mostbet-container);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	min-height: var(--mostbet-header-h);
	padding: 0.5rem 1rem;
	gap: 0.75rem;
}

.mostbet-header__brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex: 1 1 auto;
	min-width: 0;
	order: 1;
}

.mostbet-header__logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 0;
}

.mostbet-header__logo-img {
	display: block;
	height: auto;
	max-height: 36px;
}

.mostbet-header__burger {
	order: 3;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--mostbet-border);
	border-radius: var(--mostbet-radius-sm);
	background: var(--mostbet-surface);
	cursor: pointer;
}

.mostbet-header__burger-lines {
	position: relative;
	width: 20px;
	height: 2px;
	background: var(--mostbet-text);
	border-radius: 1px;
	transition: background 0.2s ease;
}

.mostbet-header__burger-lines::before,
.mostbet-header__burger-lines::after {
	content: "";
	position: absolute;
	left: 0;
	width: 20px;
	height: 2px;
	background: var(--mostbet-text);
	border-radius: 1px;
	transition: transform 0.2s ease, top 0.2s ease;
}

.mostbet-header__burger-lines::before {
	top: -6px;
}

.mostbet-header__burger-lines::after {
	top: 6px;
}

.mostbet-header.is-open .mostbet-header__burger-lines {
	background: transparent;
}

.mostbet-header.is-open .mostbet-header__burger-lines::before {
	top: 0;
	transform: rotate(45deg);
}

.mostbet-header.is-open .mostbet-header__burger-lines::after {
	top: 0;
	transform: rotate(-45deg);
}

.mostbet-header__drawer {
	order: 4;
	flex-basis: 100%;
	display: none;
	flex-direction: column;
	width: 100%;
	padding-bottom: 1rem;
	gap: 1rem;
	border-top: 1px solid var(--mostbet-border);
	margin-top: 0.5rem;
	padding-top: 1rem;
}

.mostbet-header.is-open .mostbet-header__drawer {
	display: flex;
}

.mostbet-header__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.mostbet-header__menu a {
	display: inline-block;
	padding: 0.65rem 0.75rem;
	border-radius: var(--mostbet-radius-sm);
	color: var(--mostbet-text);
	text-decoration: none;
	font-weight: 500;
	background: transparent;
	transition: color 0.15s ease, font-weight 0.15s ease;
}

.mostbet-header__menu a:hover {
	color: var(--mostbet-blue-start);
	font-weight: 600;
}

.mostbet-header__menu .current-menu-item > a {
	color: var(--mostbet-blue-start);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.35em;
}

.mostbet-header__menu .current-menu-item > a:hover {
	color: #2f7ac4;
}


.mostbet-header__cta {
	order: 2;
	flex: 0 1 auto;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.35rem;
	min-width: 0;
}

.mostbet-header__cta .mostbet-header__btn {
	padding: 0.5rem 0.55rem;
	font-size: 0.78rem;
	white-space: nowrap;
}

@media (min-width: 400px) {
	.mostbet-header__cta .mostbet-header__btn {
		padding: 0.55rem 0.75rem;
		font-size: 0.85rem;
	}
}

.mostbet-header__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1rem;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--mostbet-radius-sm);
	text-align: center;
	transition: filter 0.2s ease, box-shadow 0.2s ease;
	border: none;
	color: #fff;
}

.mostbet-header__btn--login {
	background: var(--mostbet-btn-login);
	box-shadow: 0 2px 8px rgba(66, 140, 220, 0.35);
}

.mostbet-header__btn--login:hover {
	filter: brightness(1.04);
	box-shadow: 0 4px 14px rgba(66, 140, 220, 0.45);
}

.mostbet-header__btn--register {
	background: var(--mostbet-btn-register);
	box-shadow: 0 2px 10px rgba(250, 77, 0, 0.35);
}

.mostbet-header__btn--register:hover {
	filter: brightness(1.05);
	box-shadow: 0 4px 16px rgba(250, 77, 0, 0.42);
}

@media (min-width: 960px) {
	.mostbet-header__inner {
		flex-wrap: nowrap;
		padding: 0.5rem 1.25rem;
	}

	.mostbet-header__burger {
		display: none;
	}

	.mostbet-header__brand {
		flex: 0 0 auto;
		order: 1;
	}

	.mostbet-header__cta {
		order: 3;
		flex: 0 0 auto;
		flex-direction: row;
		gap: 0.5rem;
	}

	.mostbet-header__cta .mostbet-header__btn {
		padding: 0.65rem 1rem;
		font-size: 0.95rem;
	}

	.mostbet-header__drawer {
		order: 2;
		flex-basis: auto;
		display: flex !important;
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
		flex: 1;
		width: auto;
		margin-top: 0;
		padding-top: 0;
		padding-bottom: 0;
		border-top: none;
		gap: 1rem;
	}

	.mostbet-header__nav {
		flex: 1;
		display: flex;
		justify-content: center;
		min-width: 0;
	}

	.mostbet-header__menu {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.15rem;
	}

	.mostbet-header__menu a {
		padding: 0.5rem 0.85rem;
	}

	.mostbet-header__logo-img {
		max-height: 40px;
	}
}

/* ---------- Hero ---------- */

.mostbet-hero {
	position: relative;
	overflow: hidden;
	padding: 2.5rem 1rem 3rem;
	background-color: #e3ecf9;
	background-image: var(--mostbet-hero-bg);
	background-size: cover;
	background-position: center;
}

.mostbet-hero__overlay {
	position: absolute;
	inset: 0;
	background: #dae5f1;
	pointer-events: none;
}

.mostbet-hero__inner {
	position: relative;
	max-width: var(--mostbet-container);
	margin: 0 auto;
	z-index: 1;
}

.mostbet-hero__grid {
	display: grid;
	gap: 1.75rem;
	align-items: center;
}

.mostbet-hero--has-media .mostbet-hero__grid {
	grid-template-columns: 1fr;
}

.mostbet-hero__col--content {
	text-align: left;
	min-width: 0;
}

.mostbet-hero__col--media {
	min-width: 0;
	text-align: center;
}

.mostbet-hero__img {
	display: block;
	width: 100%;
	max-width: 520px;
	height: auto;
	margin: 0 auto;
	border-radius: var(--mostbet-radius);
	box-shadow: 0 16px 48px rgba(26, 39, 68, 0.12);
	object-fit: contain;
}

.mostbet-hero__title {
	margin: 0;
	font-size: clamp(1.75rem, 5vw, 2.75rem);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--mostbet-text);
}

.mostbet-hero__lead {
	display: block;
	margin: 0.65rem 0 0;
	max-width: 42rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--mostbet-muted);
}

.mostbet-hero__actions {
	margin: 1.25rem 0 0;
}

.mostbet-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.35rem;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	border-radius: var(--mostbet-radius-sm);
	background: var(--mostbet-btn-register);
	box-shadow: 0 4px 16px rgba(250, 77, 0, 0.35);
	transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.mostbet-hero__cta:hover {
	filter: brightness(1.05);
	box-shadow: 0 6px 22px rgba(250, 77, 0, 0.42);
	color: #fff;
}

@media (min-width: 768px) {
	.mostbet-hero {
		padding: 3rem 1.5rem 4rem;
	}

	.mostbet-hero--has-media .mostbet-hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(220px, 44%);
		gap: 2rem;
		align-items: center;
	}

	.mostbet-hero--has-media .mostbet-hero__col--media {
		text-align: right;
	}

	.mostbet-hero--has-media .mostbet-hero__img {
		margin: 0 0 0 auto;
	}
}

/* ---------- Main / prose ---------- */

.mostbet-main {
	flex: 1;
	width: 100%;
}

.mostbet-article {
	max-width: var(--mostbet-container);
	margin: 0 auto;
	padding: 2rem 1rem 4rem;
}

.mostbet-entry-header {
	margin: 0 0 1.5rem;
}

.mostbet-entry-title {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	line-height: 1.25;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--mostbet-text);
}

.mostbet-content {
	width: 100%;
	margin: 0;
}

.mostbet-prose {
	font-size: 1.0625rem;
	color: var(--mostbet-text);
}

.mostbet-prose > *:first-child {
	margin-top: 0;
}

.mostbet-prose > *:last-child {
	margin-bottom: 0;
}

.mostbet-prose h1,
.mostbet-prose h2,
.mostbet-prose h3 {
	line-height: 1.25;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--mostbet-text);
}

.mostbet-prose h1 {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	margin: 2.25rem 0 1rem;
}

.mostbet-prose h2 {
	font-size: clamp(1.45rem, 3vw, 1.85rem);
	margin: 2rem 0 0.85rem;
	padding-bottom: 0.35rem;
	border-bottom: 1px solid var(--mostbet-border);
}

.mostbet-prose h3 {
	font-size: clamp(1.2rem, 2.5vw, 1.45rem);
	margin: 1.75rem 0 0.65rem;
}

.mostbet-prose p {
	margin: 0 0 1.15rem;
}

.mostbet-prose a {
	color: var(--mostbet-blue-start);
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: 500;
}

.mostbet-prose a:hover {
	color: #2f7ac4;
}

.mostbet-prose ul,
.mostbet-prose ol {
	margin: 0 0 1.25rem;
	padding-left: 1.35rem;
}

.mostbet-prose li {
	margin-bottom: 0.45rem;
}

.mostbet-prose ul {
	list-style-type: disc;
}

.mostbet-prose ol {
	list-style-type: decimal;
}

.mostbet-prose blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--mostbet-accent-orange);
	background: rgba(255, 255, 255, 0.75);
	border-radius: 0 var(--mostbet-radius-sm) var(--mostbet-radius-sm) 0;
	color: var(--mostbet-muted);
	font-style: italic;
	box-shadow: 0 1px 0 rgba(26, 39, 68, 0.06);
}

.mostbet-prose blockquote p {
	margin: 0;
}

.mostbet-prose img {
	max-width: 100%;
	height: auto;
	border-radius: var(--mostbet-radius-sm);
}

.mostbet-prose figure {
	margin: 1.5rem 0;
}

.mostbet-prose figcaption {
	font-size: 0.875rem;
	color: var(--mostbet-muted);
	margin-top: 0.5rem;
}

/* ---------- Bonus block ---------- */

.mostbet-bonus {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1rem;
	margin: 2rem 0;
	padding: 1.25rem;
	background: var(--mostbet-surface);
	border: 1px solid var(--mostbet-border);
	border-radius: var(--mostbet-radius);
	box-shadow: 0 8px 32px rgba(26, 39, 68, 0.08);
}

.mostbet-bonus__media {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.mostbet-bonus__logo-img {
	max-height: 56px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
}

.mostbet-bonus__body {
	flex: 1;
	min-width: 0;
	text-align: center;
}

.mostbet-bonus__title {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--mostbet-text);
    margin-bottom: 0 !important;
}

.mostbet-bonus__text {
	margin: 0;
	font-size: 0.98rem;
	color: var(--mostbet-muted);
}

.mostbet-bonus__text p {
	margin: 0 0 0.5rem;
}

.mostbet-bonus__text p:last-child {
	margin-bottom: 0;
}

.mostbet-bonus__action {
	display: flex;
	align-items: center;
	justify-content: center;
}

.mostbet-bonus__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.85rem 1.25rem;
	font-size: 1rem;
	font-weight: 700;
	color: #fff !important;
	text-decoration: none !important;
	border-radius: var(--mostbet-radius-sm);
	background: var(--mostbet-btn-register);
	border: none;
	box-shadow: 0 6px 20px rgba(250, 77, 0, 0.3);
	transition: filter 0.2s ease, transform 0.15s ease;
	white-space: nowrap;
}

.mostbet-bonus__btn:hover {
	filter: brightness(1.06);
}

@media (min-width: 640px) {
	.mostbet-bonus {
		flex-direction: row;
		align-items: center;
		padding: 1.35rem 1.5rem;
		gap: 1.25rem;
	}

	.mostbet-bonus__media {
		justify-content: flex-start;
	}

	.mostbet-bonus__body {
		text-align: left;
	}

	.mostbet-bonus__action {
		justify-content: flex-end;
		flex: 0 0 auto;
	}

	.mostbet-bonus__btn {
		width: auto;
		min-width: 160px;
	}
}

/* ---------- Footer ---------- */

.mostbet-footer {
	margin-top: auto;
	padding: 2.5rem 1rem;
	border-top: 1px solid var(--mostbet-border);
	background: linear-gradient(180deg, #f0f5fc 0%, #e8eef8 100%);
}

.mostbet-footer__inner {
	max-width: var(--mostbet-container);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	text-align: center;
}

.mostbet-footer__logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 0;
}

.mostbet-footer__logo-img {
	display: block;
	height: auto;
	max-height: 32px;
	width: auto;
}

.mostbet-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1rem;
}

.mostbet-footer__menu a {
	color: var(--mostbet-muted);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	background: transparent;
	transition: color 0.15s ease, font-weight 0.15s ease;
}

.mostbet-footer__menu a:hover {
	color: var(--mostbet-blue-start);
	font-weight: 600;
}

.mostbet-footer__menu .current-menu-item > a {
	color: var(--mostbet-blue-start);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.35em;
}

.mostbet-footer__menu .current-menu-item > a:hover {
	color: #2f7ac4;
}

.mostbet-footer__copy {
	margin: 0;
	font-size: 0.85rem;
	color: var(--mostbet-muted);
}

@media (min-width: 768px) {
	.mostbet-footer__inner {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
		text-align: left;
	}

	.mostbet-footer__nav {
		flex: 1;
		display: flex;
		justify-content: center;
	}

	.mostbet-footer__copy {
		width: 100%;
		text-align: center;
		padding-top: 0.5rem;
		border-top: 1px solid var(--mostbet-border);
	}
}

/* ---------- Pagination (index) ---------- */

.mostbet-pagination {
	margin-top: 2rem;
	display: flex;
	justify-content: center;
}

.mostbet-pagination .nav-links {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	justify-content: center;
}

.mostbet-pagination a,
.mostbet-pagination span {
	display: inline-flex;
	padding: 0.4rem 0.75rem;
	border-radius: var(--mostbet-radius-sm);
	border: 1px solid var(--mostbet-border);
	color: var(--mostbet-text);
	text-decoration: none;
	font-size: 0.9rem;
	background: var(--mostbet-surface);
}

.mostbet-pagination span.current {
	background: rgba(66, 140, 220, 0.14);
	font-weight: 600;
	border-color: rgba(66, 140, 220, 0.35);
}


/**
 * Блок FAQ — аккордеон (details/summary), стили темы Mostbet.
 */

.mostbet-faq {
	max-width: var(--mostbet-container, min(1120px, calc(100% - 2rem)));
	margin: 0;
	padding: 0;
}

.mostbet-faq.alignwide {
	max-width: min(1200px, 100%);
}

.mostbet-faq.alignfull {
	max-width: none; 
	padding-left: max(1rem, env(safe-area-inset-left));
	padding-right: max(1rem, env(safe-area-inset-right));
}

.mostbet-faq__heading {
	margin: 0 0 1.25rem;
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--mostbet-text, #1a2744);
}

.mostbet-faq__list {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mostbet-faq__item {
	border: 1px solid var(--mostbet-border, rgba(26, 39, 68, 0.12));
	border-radius: var(--mostbet-radius-sm, 8px);
	background: var(--mostbet-surface, #ffffff);
	box-shadow: 0 2px 12px rgba(26, 39, 68, 0.06);
	overflow: hidden;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.mostbet-faq__item:hover {
	border-color: rgba(66, 140, 220, 0.35);
	box-shadow: 0 4px 20px rgba(66, 140, 220, 0.1);
}

.mostbet-faq__item[open] {
	border-color: rgba(66, 140, 220, 0.45);
	box-shadow: 0 6px 24px rgba(26, 39, 68, 0.1);
}

.mostbet-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.15rem;
	cursor: pointer;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.35;
	color: var(--mostbet-text, #1a2744);
	list-style: none;
	user-select: none;
}

.mostbet-faq__question::-webkit-details-marker {
	display: none;
}

.mostbet-faq__question::marker {
	content: '';
}

.mostbet-faq__question-text {
	flex: 1;
	min-width: 0;
}

.mostbet-faq__icon {
	flex-shrink: 0;
	width: 1.5rem;
	height: 1.5rem;
	position: relative;
	border-radius: 50%;
	background: rgba(66, 140, 220, 0.12);
	transition: transform 0.25s ease, background 0.2s ease;
}

.mostbet-faq__icon::before,
.mostbet-faq__icon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	background: var(--mostbet-blue-start, #428cdc);
	border-radius: 1px;
	transform: translate(-50%, -50%);
	transition: transform 0.25s ease;
}

.mostbet-faq__icon::before {
	width: 12px;
	height: 2px;
}

.mostbet-faq__icon::after {
	width: 2px;
	height: 12px;
}

.mostbet-faq__item[open] .mostbet-faq__icon::after {
	transform: translate(-50%, -50%) scaleY(0);
}

.mostbet-faq__item[open] .mostbet-faq__icon {
	background: rgba(66, 140, 220, 0.2);
}

.mostbet-faq__answer {
	border-top: 1px solid var(--mostbet-border, rgba(26, 39, 68, 0.08));
	background: var(--mostbet-surface-2, #f5f8fd);
}

.mostbet-faq__answer-inner {
	padding: 1rem 1.15rem 1.15rem;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--mostbet-muted, #5c6b85);
}

.mostbet-faq__answer-inner p {
	margin: 0 0 0.75rem;
}

.mostbet-faq__answer-inner p:last-child {
	margin-bottom: 0;
}

.mostbet-faq__answer-inner a {
	color: var(--mostbet-blue-start, #428cdc);
	font-weight: 500;
}

.mostbet-faq__answer-inner ul,
.mostbet-faq__answer-inner ol {
	margin: 0.5rem 0 0.75rem;
	padding-left: 1.25rem;
}
