/* BJ66 Theme – colors from light-standard-desktop.css + standard-mobile.css */
:root {
	--primary: #281a70;
	--secondary: #ffd259;
	--content-bg: #281a70;
	--color-content-bg: #ebebeb;
	--header-bg: var(--primary);
	--header-bg-tab: #342e80;
	--header-background: #ffffff;
	--header-btn-bg: linear-gradient(180deg, #ffee35 0%, #e6cd1b 100%);
	--header-btn-color: #222222;
	--header-btn-bg-secondary: linear-gradient(180deg, #f2f2f2 0%, #eae9e9 100%);
	--color-text: #222222;
	--color-text-strong: #79a5fc;
	--nav-category-bg: linear-gradient(162deg, #948acc 0%, #353390 100%);
	--nav-category-bg-active: linear-gradient(to bottom, #ff9fa2 0%, #6d25f4 80%);
	--nav-icon-active-bg: #ffb80c;
	--leftmenu-head-bg: #ebebeb;
	--leftmenu-category-bg: #ffffff;
	--leftmenu-category-txt: #222222;
	--leftmenu-category-sec-bg: #f2f2f2;
	--leftmenu-category-border: #ebebeb;
	--leftmenu-category-hover: rgba(245, 219, 33, .1);
	--leftmenu-category-focus-bg-active: linear-gradient(270deg, rgba(245, 219, 33, .3) 0%, rgba(245, 219, 33, .4) 100%);
	--leftmenu-head-btn-bg-highlight: linear-gradient(180deg, #ffee35 0%, #e5ba00 100%);
	--left-menu-icon-bg: #222222;
	--leftmenu-head-arrow-bg: #222222;
	--leftmenu-head-arrow-icon: #f5db21;
	--leftmenu-category-arrow-icon: #222222;
	--footer-bg: var(--content-bg);
	--footer-title: #647dca;
	--footer-link: #79a5fc;
	--footer-txt: #ffffff;
	--announvement-txt: #6f87d6;
	--announvement-bg: transparent;
	--announvement-icon-color: #6f87d6;
	--on-surface-primary: rgba(0, 0, 0, .9);
	--on-surface-secondary: rgba(0, 0, 0, .7);
	--on-surface-tertiary: rgba(0, 0, 0, .5);
	--pagination-bullet-bg: #ffb80c;
	--pagination-bullet-bg-active: #ffffff;
	--event-slick-dot: rgba(255, 255, 255, .5);
	--event-slick-dot-active: #79a5fc;
	--toolbar-icon: rgba(255, 255, 255, .7);
	--toolbar-icon-active: var(--content-bg);

	--bj-sidebar-w: 250px;
	--bj-sidebar-mini: 63px;
	--bj-topbar-h: 60px;
	--bj-mobnav-h: 56px;
	--bj-content-max: 1200px;
	--bj-radius: 5px;
	--bj-font: 'Lexend', -apple-system, BlinkMacSystemFont, sans-serif;

	--bj-body-bg: var(--color-content-bg);
	--bj-body-text: var(--on-surface-primary);
	--bj-text-muted: var(--on-surface-secondary);
	--bj-link: var(--color-text-strong);
	--bj-border: var(--leftmenu-category-border);
	--bj-sidebar-bg: var(--leftmenu-category-bg);
	--bj-sidebar-head: var(--leftmenu-head-bg);
	--bj-sidebar-text: var(--leftmenu-category-txt);
	--bj-sidebar-sub-bg: var(--leftmenu-category-sec-bg);
	--bj-topbar-bg: var(--header-background);
	--bj-topbar-text: var(--color-text);
	--bj-icon-color: var(--left-menu-icon-bg);
	--bj-icon-active: var(--nav-icon-active-bg);
	--bj-accent: var(--color-text-strong);
	--slot-card-bg: #ffffff;
	--slot-card-title: var(--color-text);
}

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

html { scroll-behavior: smooth; }

body.bj-body {
	margin: 0;
	font-family: var(--bj-font);
	font-size: 14px;
	line-height: 1.5;
	color: var(--bj-body-text);
	background: var(--bj-body-bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bj-link); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .85; }

/* ===== APP LAYOUT ===== */
.bj-app {
	display: flex;
	min-height: 100vh;
}

.bj-main-wrap {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin-left: var(--bj-sidebar-w);
	transition: margin-left .3s;
	position: relative;
	z-index: 1;
}

.bj-app.is-sidebar-mini .bj-main-wrap {
	margin-left: var(--bj-sidebar-mini);
	transition: margin-left .3s ease-in .2s;
}

/* ===== SIDEBAR ===== */
.bj-sidebar {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: var(--bj-sidebar-w);
	z-index: 900;
	display: flex;
	flex-direction: column;
	overflow: visible;
	color: var(--bj-sidebar-text);
	border-right: 1px solid var(--bj-border);
	transition: width .3s;
}

.bj-app.is-sidebar-mini .bj-sidebar {
	width: var(--bj-sidebar-mini);
	transition: width .3s ease-in .2s;
}

.bj-sidebar__head {
	flex: none;
	position: relative;
	width: 100%;
	height: 60px;
	flex-shrink: 0;
	padding: 0 30px 0 10px;
	background: var(--bj-sidebar-head);
	border-bottom: 1px solid var(--bj-border);
	overflow: visible;
	transition: background .2s, height .5s;
}

.bj-sidebar__head-arrow {
	position: absolute;
	z-index: 1001;
	top: 50%;
	right: 0;
	transform: translate(50%, -50%);
	transition: right .5s, left .5s, transform .5s, opacity .3s;
	pointer-events: auto;
}

.bj-app.is-sidebar-mini .bj-sidebar__head-arrow {
	right: auto;
	left: 50%;
	transform: translate(-50%, -50%);
	animation: bj-sidebar-arrow-fade 1.5s forwards;
}

@keyframes bj-sidebar-arrow-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

.bj-sidebar__toggle {
	width: 40px;
	height: 28px;
	padding: 0;
	border: none;
	border-radius: 30px;
	background: var(--leftmenu-head-arrow-bg);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity .3s ease-in .2s;
}

.bj-sidebar__toggle:hover {
	opacity: .7;
}

.bj-sidebar__toggle-icon {
	display: block;
	width: 100%;
	height: 100%;
	background-color: var(--leftmenu-head-arrow-icon);
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: 40%;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: 40%;
	transform: rotate(270deg);
	transition: transform .5s;
}

.bj-app.is-sidebar-mini .bj-sidebar__toggle-icon {
	transform: rotate(90deg);
}

/* WordPress admin bar offset */
body.admin-bar .bj-sidebar {
	top: 32px;
	height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .bj-sidebar {
		top: 46px;
		height: calc(100vh - 46px);
	}
}

.bj-sidebar__nav {
	flex: 1;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	background: var(--bj-sidebar-bg);
	padding-bottom: 50px;
	-webkit-overflow-scrolling: touch;
}

.bj-sidebar__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bj-sidebar__item {
	position: relative;
}

.bj-sidebar__link {
	position: relative;
	display: flex;
	align-items: center;
	padding: 10px 10px 10px 23px;
	color: var(--bj-sidebar-text);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.5;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	z-index: 1;
}

.bj-sidebar__link::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: calc(100% - 8px);
	height: calc(100% - 8px);
	margin: 4px;
	border-radius: 4px;
	background: transparent;
	z-index: -1;
	transition: background .2s;
}

.bj-sidebar__link:hover::before {
	background: var(--leftmenu-category-hover);
}

.bj-sidebar__item.is-active > .bj-sidebar__link::before {
	background: var(--leftmenu-category-focus-bg-active);
}

.bj-sidebar__icon {
	width: 24px;
	height: 24px;
	flex: none;
	background-color: var(--bj-icon-color);
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
	transition: transform .5s;
}

.bj-app.is-sidebar-mini .bj-sidebar__icon {
	transition: transform .5s .5s;
	transform: translate(calc((var(--bj-sidebar-mini) - 24px) / 2 - 26px));
}

.bj-sidebar__label {
	margin-left: 16px;
	margin-right: 28px;
	font-weight: 600;
	opacity: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: opacity .3s;
	z-index: 1;
}

.bj-app.is-sidebar-mini .bj-sidebar__label,
.bj-app.is-sidebar-mini .bj-sidebar__arrow {
	opacity: 0;
	pointer-events: none;
}

.bj-sidebar__arrow {
	position: absolute;
	top: 50%;
	right: 5px;
	width: 40px;
	height: 28px;
	transform: translateY(-50%);
	background-color: var(--leftmenu-category-arrow-icon);
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: 40%;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: 40%;
	opacity: 1;
	transition: opacity .3s, transform .5s;
	transform-origin: 50% 50%;
}

.bj-sidebar__item.has-children.is-open .bj-sidebar__arrow {
	transform: translateY(-50%) rotate(180deg);
}

.bj-app.is-sidebar-mini .bj-sidebar__sub {
	display: none !important;
}

.bj-sidebar__sub {
	list-style: none;
	margin: 0;
	padding: 0;
	background: var(--bj-sidebar-sub-bg);
	overflow: hidden;
	max-height: 0;
	transition: max-height .3s ease-in-out;
}

.bj-sidebar__item.has-children.is-open > .bj-sidebar__sub {
	max-height: 500px;
}

.bj-sidebar__descend {
	background: var(--bj-sidebar-sub-bg);
}

.bj-sidebar__descend a {
	display: flex;
	align-items: center;
	padding: 12px 12px 12px 40px;
	color: var(--on-surface-secondary);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	transition: background .2s;
}

.bj-sidebar__descend a:hover {
	background: var(--leftmenu-category-hover);
	color: var(--bj-sidebar-text);
}

/* ===== TOPBAR ===== */
.bj-topbar {
	position: sticky;
	top: 0;
	z-index: 800;
	height: var(--bj-topbar-h);
	background: var(--bj-topbar-bg);
	border-bottom: 1px solid var(--bj-border);
}

.bj-topbar__inner {
	max-width: var(--bj-content-max);
	margin: 0 auto;
	height: 100%;
	padding: 0 15px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.bj-mobile-menu {
	display: none;
	flex-direction: column;
	gap: 5px;
	width: 36px;
	height: 36px;
	padding: 8px;
	background: none;
	border: none;
	cursor: pointer;
}

.bj-mobile-menu span {
	display: block;
	height: 2px;
	background: var(--color-text-strong);
	border-radius: 1px;
}

.bj-topbar__logo img {
	height: 40px;
	width: auto;
}

.bj-topbar__actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 10px;
}

.bj-deposit {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	border-radius: var(--bj-radius);
	background: var(--leftmenu-head-btn-bg-highlight);
	color: var(--header-btn-color);
	font-size: 14px;
	font-weight: 600;
}

.bj-deposit__icon {
	width: 20px;
	height: 14px;
	background: var(--header-btn-color);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14'%3E%3Cpath d='M0 0h20v14H0z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14'%3E%3Cpath d='M0 0h20v14H0z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.bj-lang {
	background: none;
	border: none;
	padding: 4px;
	cursor: pointer;
}

.bj-auth {
	padding: 10px;
	min-width: 105px;
	text-align: center;
	border-radius: var(--bj-radius);
	font-size: 12px;
	font-weight: 600;
	border: none;
}

.bj-auth--register {
	background: var(--header-btn-bg);
	color: var(--header-btn-color);
}

.bj-auth--login {
	background: var(--header-btn-bg-secondary);
	color: var(--header-btn-color);
}

/* ===== CONTENT ===== */
.bj-content {
	flex: 1;
	background: var(--bj-body-bg);
}

/* Marquee */
.bj-marquee {
	background: #ffffff;
	border-bottom: 1px solid var(--bj-border);
	padding: 0 15px;
}

.bj-marquee__inner {
	position: relative;
	max-width: var(--bj-content-max);
	margin: 0 auto;
	height: 36px;
	overflow: hidden;
}

.bj-marquee__icon-wrap {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--announvement-bg);
}

.bj-marquee__icon {
	display: block;
	width: 36px;
	height: 36px;
	background-color: var(--announvement-icon-color);
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: 50%;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: 50%;
}

.bj-marquee__track {
	display: flex;
	gap: 60px;
	margin-left: 40px;
	animation: bj-marquee 25s linear infinite;
	white-space: nowrap;
	padding: 8px 0;
}

.bj-marquee__track span {
	color: var(--announvement-txt);
	font-size: 13px;
	line-height: 1.4;
}

@keyframes bj-marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* Category tabs */
.bj-tabs {
	background: var(--nav-category-bg);
	border-bottom: none;
	overflow: hidden;
	box-shadow: inset 0 -2px 4px var(--nav-category-inset-shadow, #222071);
}

.bj-tabs__scroll {
	display: flex;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 8px 12px;
	gap: 4px;
	max-width: var(--bj-content-max);
	margin: 0 auto;
}

.bj-tabs__scroll::-webkit-scrollbar { display: none; }

.bj-tabs__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 8px 14px;
	border-radius: var(--bj-radius);
	color: var(--nav-category-txt, #ffffff);
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
	flex: none;
	transition: background .2s, color .2s;
	opacity: .85;
}

.bj-tabs__item:hover {
	opacity: 1;
}

.bj-tabs__item.is-active {
	background: var(--nav-category-bg-active);
	color: var(--nav-category-txt-active, #ffffff);
	opacity: 1;
}

.bj-tabs__icon {
	width: 28px;
	height: 28px;
	background-color: #ffffff;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
}

.bj-tabs__item.is-active .bj-tabs__icon {
	background-color: var(--nav-icon-active-bg);
}

/* Carousel */
.bj-carousel {
	position: relative;
	max-width: var(--bj-content-max);
	margin: 0 auto;
	padding: 12px 15px;
}

.bj-carousel__track {
	position: relative;
	border-radius: 4px;
	overflow: hidden;
	aspect-ratio: 1200 / 226;
	background: #ffffff;
}

.bj-carousel__slide {
	display: none;
	position: absolute;
	inset: 0;
}

.bj-carousel__slide.is-active {
	display: block;
}

.bj-carousel__slide picture,
.bj-carousel__slide img {
	display: block;
	width: 100%;
	height: 100%;
}

.bj-carousel__slide img {
	object-fit: cover;
}

.bj-carousel__prev,
.bj-carousel__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	opacity: .8;
	z-index: 2;
}

.bj-carousel__prev { left: 24px; }
.bj-carousel__next { right: 24px; }
.bj-carousel__prev:hover,
.bj-carousel__next:hover { opacity: 1; }

.bj-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 10px;
}

.bj-carousel__dots button {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	padding: 0;
	background: var(--event-slick-dot);
	cursor: pointer;
}

.bj-carousel__dots button.is-active {
	background: var(--event-slick-dot-active);
}

/* Sections */
.bj-section {
	max-width: var(--bj-content-max);
	margin: 0 auto;
	padding: 16px 15px;
}

.bj-section__head {
	margin-bottom: 12px;
}

.bj-section__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--bj-body-text);
}

.bj-section__bar {
	display: inline-block;
	width: 4px;
	height: 18px;
	background: var(--primary);
	border-radius: 2px;
}

/* Game grid — clone betjili .games / .games-box */
.bj-games-grid {
	display: block;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
	padding: 0 0 4px;
	scrollbar-width: thin;
	scrollbar-color: rgba(85, 85, 85, 0.3) transparent;
}

.bj-games-grid::-webkit-scrollbar {
	height: 6px;
}

.bj-games-grid::-webkit-scrollbar-thumb {
	background: rgba(85, 85, 85, 0.3);
	border-radius: 6px;
}

.bj-games-grid::-webkit-scrollbar-track {
	background: transparent;
}

.bj-game-tile {
	display: inline-block;
	width: 48vw;
	max-width: 180px;
	margin-right: 3.2vw;
	vertical-align: top;
	line-height: 0;
	white-space: normal;
	position: relative;
	border-radius: 4px;
	overflow: hidden;
	cursor: pointer;
	color: inherit;
}

.bj-game-tile:last-child {
	margin-right: 0;
}

.bj-game-tile__pic {
	position: relative;
	width: 100%;
	overflow: hidden;
	line-height: 0;
}

.bj-game-tile__pic img {
	width: 100%;
	height: 32vw;
	max-height: 120px;
	object-fit: cover;
	transition: transform 0.3s ease-in;
	transform: scale(1);
}

.bj-game-tile:hover .bj-game-tile__pic img {
	transform: scale(1.2);
}

.bj-game-tile__text {
	position: relative;
	width: 100%;
	padding: 5px 10px 6px;
	background-color: var(--slot-card-bg);
	line-height: 1.3;
}

.bj-game-tile__text h3 {
	width: 83%;
	margin: 0 0 5px;
	overflow: hidden;
	color: var(--slot-card-title);
	font-size: 13px;
	font-weight: 500;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 1.3;
}

@media (min-width: 993px) {
	.bj-game-tile {
		width: 120px;
		max-width: none;
		margin-right: 16px;
	}

	.bj-game-tile__pic img {
		height: 80px;
		max-height: none;
	}

	.bj-game-tile__text h3 {
		font-size: 14px;
	}
}

/* Providers */
.bj-provider-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.bj-provider-card {
	background: #ffffff;
	border-radius: 4px;
	padding: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: box-shadow .2s;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.bj-provider-card:hover {
	box-shadow: 0 2px 8px rgba(40, 26, 112, .15);
}

.bj-provider-card img {
	max-height: 60px;
	width: auto;
}

.bj-providers-grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 8px;
}

.bj-providers-grid__item {
	background: #ffffff;
	border-radius: 4px;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.bj-providers-grid__item img {
	max-height: 32px;
	width: auto;
	opacity: .85;
}

/* Sponsors */
.bj-section--sponsors {
	text-align: center;
}

.bj-sponsors,
.bj-ambassadors {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-bottom: 16px;
}

.bj-sponsors img { max-height: 50px; }
.bj-ambassadors img { max-height: 80px; border-radius: 4px; }

/* Hero SEO / citability — đồng bộ nền body */
.bj-seo-zone {
	background: var(--bj-body-bg);
	border-top: 1px solid var(--bj-border);
	content-visibility: auto;
	contain-intrinsic-size: auto 900px;
}

.bj-hero-seo {
	background: transparent;
	padding: 28px 15px 0;
}

.bj-hero-seo__inner {
	max-width: var(--bj-content-max);
	margin: 0 auto;
}

.bj-hero-seo__title {
	font-size: 18px;
	font-weight: 700;
	color: var(--primary);
	margin: 0 0 8px;
	line-height: 1.35;
}

.bj-hero-seo__cite {
	font-size: 13px;
	color: var(--bj-text-muted);
	margin: 0;
	line-height: 1.65;
}

/* FAQ — nền body, thẻ trắng */
.bj-faq {
	background: transparent;
	padding: 24px 15px;
	border-bottom: none;
}

.bj-faq__inner {
	max-width: var(--bj-content-max);
	margin: 0 auto;
}

.bj-faq__title {
	font-size: 16px;
	font-weight: 700;
	color: var(--primary);
	margin: 0 0 12px;
}

.bj-faq__item {
	border: 1px solid var(--bj-border);
	border-radius: var(--bj-radius, 6px);
	margin-bottom: 8px;
	overflow: hidden;
	background: #fff;
}

.bj-faq__q {
	padding: 12px 14px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	list-style: none;
	color: var(--bj-body-text);
}

.bj-faq__q::-webkit-details-marker { display: none; }

.bj-faq__a {
	padding: 0 14px 12px;
	margin: 0;
	font-size: 13px;
	line-height: 1.65;
	color: var(--bj-text-muted);
}

.bj-faq__more {
	margin: 12px 0 0;
	font-size: 13px;
}

.bj-faq__more a {
	color: var(--primary);
	font-weight: 600;
}

/* SEO block — nền body, chữ tối */
.bj-seo-zone .bj-seo {
	background: transparent;
	border-top: 1px solid var(--bj-border);
	padding: 32px 15px 48px;
}

.bj-seo__inner {
	max-width: var(--bj-content-max);
	margin: 0 auto;
}

.bj-seo-zone .bj-seo h2 {
	font-size: 20px;
	color: var(--primary);
	margin: 0 0 12px;
}

.bj-seo__lead {
	color: var(--bj-text-muted);
	margin: 0 0 24px;
	line-height: 1.75;
	font-size: 14px;
}

.bj-seo--expanded {
	padding: 40px 15px 48px;
}

.bj-seo__sections {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin-bottom: 28px;
}

.bj-seo-zone .bj-seo__section h3 {
	font-size: 16px;
	font-weight: 700;
	color: var(--primary);
	margin: 0 0 10px;
	line-height: 1.4;
}

.bj-seo__body {
	font-size: 14px;
	line-height: 1.75;
	color: var(--bj-text-muted);
}

.bj-seo__body p,
.bj-seo__body ul,
.bj-seo__body ol {
	margin: 0 0 12px;
}

.bj-seo-zone .bj-seo__body h3 {
	font-size: 14px;
	font-weight: 600;
	margin: 16px 0 8px;
	color: var(--primary);
}

.bj-seo-zone .bj-seo__body a {
	color: var(--color-text-strong);
	font-weight: 500;
}

.bj-seo__body ul,
.bj-seo__body ol {
	padding-left: 20px;
}

.bj-seo-zone .bj-seo p {
	color: var(--bj-text-muted);
	opacity: 1;
	margin: 0 0 20px;
	line-height: 1.7;
}

.bj-seo__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-bottom: 20px;
}

.bj-seo-zone .bj-seo__links a {
	font-size: 13px;
	color: var(--color-text-strong);
	font-weight: 500;
}

.bj-cta-btn {
	display: inline-block;
	padding: 12px 32px;
	background: var(--header-btn-bg);
	color: var(--header-btn-color);
	font-weight: 700;
	border-radius: var(--bj-radius);
}

/* Related links on SEO pages */
.bj-related {
	margin-top: 32px;
	padding: 20px;
	background: #f5f5f5;
	border-radius: var(--bj-radius);
}

.bj-related__title {
	font-size: 18px;
	margin: 0 0 12px;
}

.bj-related__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bj-related__list a {
	font-size: 14px;
	color: var(--color-text-strong);
	font-weight: 500;
}

.bj-table {
	width: 100%;
	border-collapse: collapse;
	margin: 16px 0;
	font-size: 14px;
}

.bj-table th,
.bj-table td {
	border: 1px solid #ddd;
	padding: 8px 12px;
	text-align: left;
}

.bj-table th {
	background: #f0f0f0;
}

/* Footer */
.bj-footer {
	background: var(--footer-bg);
	border-top: none;
	padding: 32px 15px 24px;
}

.bj-footer__inner {
	max-width: var(--bj-content-max);
	margin: 0 auto;
}

.bj-footer__brand {
	margin-bottom: 24px;
}

.bj-footer__brand p {
	color: var(--footer-txt);
	opacity: .8;
	font-size: 13px;
	margin: 12px 0 0;
	max-width: 400px;
}

.bj-footer__cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 24px;
}

.bj-footer__col h4 {
	margin: 0 0 12px;
	font-size: 14px;
	color: var(--footer-title);
}

.bj-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bj-footer__col li {
	margin-bottom: 6px;
	font-size: 13px;
	color: var(--footer-txt);
	opacity: .85;
}

.bj-footer__col a { color: var(--footer-link); }
.bj-footer__col a:hover { color: var(--secondary); }

.bj-footer__payments {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bj-footer__payments img { height: 28px; width: auto; }

.bj-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .15);
	padding-top: 16px;
	text-align: center;
}

.bj-footer__bottom p {
	margin: 0;
	font-size: 12px;
	color: var(--footer-txt);
	opacity: .7;
}

/* Mobile bottom nav */
.bj-mobnav {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: var(--bj-mobnav-h);
	background: var(--header-bg);
	border-top: none;
	box-shadow: 0 -2px 8px rgba(0, 0, 0, .25);
	z-index: 1000;
}

.bj-mobnav__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	color: var(--toolbar-icon);
	font-size: 10px;
	font-weight: 500;
}

.bj-mobnav__item.is-active,
.bj-mobnav__item:hover {
	color: var(--secondary);
}

.bj-mobnav__item.is-active .bj-mobnav__icon {
	background-color: var(--secondary);
}

.bj-mobnav__item--cta {
	color: var(--secondary);
}

.bj-mobnav__icon {
	width: 22px;
	height: 22px;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
}

/* Page / article */
.bj-page-wrap,
.bj-article {
	max-width: var(--bj-content-max);
	margin: 0 auto;
	padding: 24px 15px 80px;
}

.bj-breadcrumbs {
	margin-bottom: 16px;
}

.bj-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 12px;
	color: var(--bj-text-muted);
}

.bj-breadcrumbs__item:not(:last-child)::after {
	content: "/";
	margin-left: 6px;
	opacity: 0.5;
}

.bj-breadcrumbs__item a {
	color: var(--primary);
	text-decoration: none;
}

.bj-breadcrumbs__item a:hover {
	text-decoration: underline;
}

.bj-breadcrumbs__item span[aria-current="page"] {
	color: var(--bj-body-text);
}

.bj-article__title {
	color: var(--primary);
	font-size: 24px;
	margin: 0 0 20px;
}

.bj-article__content {
	color: var(--bj-text-muted);
	line-height: 1.7;
}

.bj-article__content h2,
.bj-article__content h3 {
	color: var(--bj-body-text);
}

/* Blog archive */
.bj-blog__header {
	margin-bottom: 20px;
}

.bj-blog__intro {
	margin-bottom: 8px;
}

.bj-blog__back {
	margin: 0 0 12px;
}

.bj-blog__back a {
	color: var(--primary);
	font-size: 14px;
	font-weight: 500;
}

.bj-blog__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.bj-blog__cat {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: #f0f0f0;
	color: var(--bj-body-text);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}

.bj-blog__cat.is-active,
.bj-blog__cat:hover {
	background: var(--primary);
	color: #fff;
}

.bj-blog__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
	margin-bottom: 32px;
}

.bj-blog-card {
	background: #fff;
	border-radius: var(--bj-radius);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
	overflow: hidden;
}

.bj-blog-card__thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f0f0f0;
}

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

.bj-post-hero {
	margin: 0 0 20px;
	border-radius: var(--bj-radius);
	overflow: hidden;
}

.bj-post-hero img {
	width: 100%;
	height: auto;
	display: block;
}

.bj-blog-card__link {
	display: block;
	padding: 18px;
	color: inherit;
	text-decoration: none;
	height: 100%;
}

.bj-blog-card__link:has(.bj-blog-card__thumb) {
	padding: 0;
}

.bj-blog-card__link:has(.bj-blog-card__thumb) .bj-blog-card__cat,
.bj-blog-card__link:has(.bj-blog-card__thumb) .bj-blog-card__title,
.bj-blog-card__link:has(.bj-blog-card__thumb) .bj-blog-card__excerpt,
.bj-blog-card__link:has(.bj-blog-card__thumb) .bj-blog-card__date {
	padding-left: 18px;
	padding-right: 18px;
}

.bj-blog-card__link:has(.bj-blog-card__thumb) .bj-blog-card__cat {
	padding-top: 14px;
}

.bj-blog-card__link:has(.bj-blog-card__thumb) .bj-blog-card__date {
	padding-bottom: 18px;
}

.bj-blog-card__cat {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--primary);
	margin-bottom: 8px;
}

.bj-blog-card__cat--solo a {
	color: var(--primary);
	text-decoration: none;
}

.bj-blog-card__title {
	font-size: 17px;
	line-height: 1.35;
	margin: 0 0 10px;
	color: var(--bj-body-text);
}

.bj-blog-card__excerpt {
	font-size: 14px;
	color: var(--bj-text-muted);
	line-height: 1.5;
	margin: 0 0 12px;
}

.bj-blog-card__date {
	font-size: 12px;
	color: #999;
}

.bj-blog-card__date--solo {
	display: block;
	margin-bottom: 16px;
}

.bj-blog__empty {
	color: var(--bj-text-muted);
}

.bj-blog .nav-links {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	padding-top: 8px;
}

.bj-blog .page-numbers {
	padding: 8px 14px;
	border-radius: var(--bj-radius);
	background: #f0f0f0;
	color: var(--bj-body-text);
	text-decoration: none;
	font-size: 14px;
}

.bj-blog .page-numbers.current {
	background: var(--primary);
	color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
	.bj-providers-grid {
		grid-template-columns: repeat(6, 1fr);
	}
}

@media (max-width: 992px) {
	:root {
		--bj-topbar-bg: var(--header-bg);
		--bj-topbar-text: #ffffff;
	}

	.bj-topbar {
		border-bottom: none;
	}

	.bj-topbar__inner {
		color: var(--bj-topbar-text);
	}

	.bj-auth--register,
	.bj-auth--login {
		background: var(--header-btn-bg);
		color: var(--header-btn-color);
	}

	.bj-sidebar {
		transform: translateX(-100%);
		width: var(--bj-sidebar-w) !important;
	}

	.bj-sidebar.is-open {
		transform: translateX(0);
	}

	.bj-main-wrap {
		margin-left: 0 !important;
	}

	.bj-mobile-menu {
		display: flex;
	}

	.bj-deposit span {
		display: none;
	}

	.bj-providers-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.bj-footer__cols {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767px) {
	.bj-topbar__inner {
		padding: 0 10px;
	}

	.bj-auth {
		min-width: auto;
		padding: 8px 12px;
		font-size: 11px;
	}

	.bj-deposit {
		display: none;
	}

	.bj-provider-row {
		grid-template-columns: repeat(2, 1fr);
	}

	.bj-providers-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.bj-carousel__track {
		aspect-ratio: 16 / 7;
	}

	.bj-carousel__prev,
	.bj-carousel__next {
		display: none;
	}

	.bj-tabs__label {
		font-size: 10px;
	}

	.bj-tabs__icon {
		width: 24px;
		height: 24px;
	}

	.bj-footer {
		padding-bottom: calc(var(--bj-mobnav-h) + 16px);
	}

	.bj-footer__cols {
		grid-template-columns: 1fr;
	}

	.bj-mobnav {
		display: flex;
	}

	.bj-page-wrap {
		padding-bottom: calc(var(--bj-mobnav-h) + 24px);
	}

	.bj-sidebar__toggle {
		display: none;
	}
}

@media (min-width: 993px) {
	.bj-sidebar__toggle {
		display: flex !important;
	}
}

@media (min-width: 993px) {
	.bj-mobnav {
		display: none !important;
	}
}
