/*
Theme Name: 8XBET VN HUB Child
Theme URI: https://8xbetvnhub.com/
Description: Independent Flatsome child theme for 8xbetvnhub.com.
Author: 8XBET VN HUB
Template: flatsome
Version: 1.1.9
Text Domain: x8bet-vn-hub
*/

:root {
	--x8-blue: #046bd2;
	--x8-blue-title: #276fbf;
	--x8-blue-dark: #183059;
	--x8-blue-soft: #eef5ff;
	--x8-text: #212121;
	--x8-heading: #1e293b;
	--x8-muted: #4b5563;
	--x8-border: #d8dee8;
	--x8-white: #fff;
	--x8-shell: 1230px;
}

html {
	scroll-behavior: smooth;
}

body,
body.flatsome {
	background: var(--x8-white);
	color: var(--x8-text);
	font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 24px;
}

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

a:hover {
	color: var(--x8-blue-dark);
}

.x8-shell {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: var(--x8-shell);
	width: calc(100% - 50px);
}

.x8-site-header {
	background: var(--x8-white);
	padding: 0;
	position: relative;
	z-index: 40;
}

.x8-header-main {
	align-items: center;
	display: flex;
	justify-content: space-between;
	height: 64px;
	padding: 0 10px;
}

.x8-brand {
	align-items: center;
	display: inline-flex;
	height: 44px;
	max-width: 165px;
}

.x8-brand img {
	display: block;
	height: 44px;
	max-height: none;
	max-width: none;
	width: 165px;
}

.x8-brand-fallback {
	color: var(--x8-blue);
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -.03em;
	text-decoration: none;
}

.x8-header-actions {
	display: flex;
	gap: 5px;
}

.x8-action {
	align-items: center;
	background: var(--x8-blue-dark);
	border: 0;
	border-radius: 4px;
	color: var(--x8-white);
	display: inline-flex;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0;
	line-height: 13px;
	min-height: 35px;
	padding: 10px;
	text-decoration: none;
	text-transform: uppercase;
	top: 1px;
	position: relative;
	width: 120px;
	white-space: nowrap;
}

.x8-action:last-child {
	background: var(--x8-blue-title);
	width: 140px;
}

.x8-action:hover,
.x8-action:focus {
	background: var(--x8-blue);
	color: var(--x8-white);
}

.x8-menu-toggle {
	align-items: center;
	background: var(--x8-blue);
	border: 0;
	border-radius: 4px;
	color: var(--x8-white);
	cursor: pointer;
	display: none;
	font-size: 22px;
	height: 35px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	width: 40px;
}

.x8-primary-nav {
	background: var(--x8-blue);
	border-radius: 12px;
	box-sizing: border-box;
	height: 65px;
	margin: 0;
	padding: 15px 49px 10px;
}

.x8-primary-nav .menu {
	align-items: center;
	display: flex;
	gap: 0;
	height: 40px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.x8-primary-nav li {
	border-top: 0;
	display: flex;
	height: 40px;
	margin: 0;
}

.x8-primary-nav ul.menu > li + li {
	border-top: 0;
}

.x8-primary-nav .menu > li > a {
	border-radius: 4px;
	color: var(--x8-white);
	display: block;
	font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	height: 40px;
	line-height: 20px;
	padding: 10px 20px;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.x8-primary-nav .menu > li:not(:first-child) > a {
	margin-left: 2px;
}

.x8-primary-nav .menu > li:not(:last-child) > a {
	margin-right: 2px;
}

.x8-primary-nav .menu > li:nth-child(1) > a { width: 84.9609375px; }
.x8-primary-nav .menu > li:nth-child(2) > a { width: 84.7734375px; }
.x8-primary-nav .menu > li:nth-child(3) > a { width: 132.5703125px; }
.x8-primary-nav .menu > li:nth-child(4) > a { width: 124.046875px; }
.x8-primary-nav .menu > li:nth-child(5) > a { width: 184.484375px; }
.x8-primary-nav .menu > li:nth-child(6) > a { width: 93.8359375px; }
.x8-primary-nav .menu > li:nth-child(7) > a { width: 178.2734375px; }
.x8-primary-nav .menu > li:nth-child(8) > a { width: 128.328125px; }
.x8-primary-nav .menu > li:nth-child(9) > a { width: 88.5px; }

.x8-primary-nav .menu > li > a:hover,
.x8-primary-nav .menu > li > a:focus,
.x8-primary-nav .menu > .current-menu-item > a,
.x8-primary-nav .menu > .current_page_item > a {
	background: var(--x8-blue-dark);
	color: var(--x8-white);
}

#main {
	min-height: 50vh;
}

.x8-home,
.x8-page {
	margin: 0 auto;
	max-width: var(--x8-shell);
	padding: 11px 0 60px;
}

.x8-hero {
	margin: 0 0 80px;
}

.x8-hero img {
	aspect-ratio: 1084 / 453;
	display: block;
	height: 514px;
	object-fit: cover;
	width: 100%;
}

.x8-home h1,
.x8-page h1 {
	color: var(--x8-blue-title);
	font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-size: 27px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 37.8px;
	margin: 0 auto 20px;
	max-width: 869px;
	text-align: center;
}

.x8-home h2,
.x8-page h2 {
	color: var(--x8-heading);
	font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-size: 32px;
	font-weight: 600;
	line-height: 41.6px;
	margin: 36px 0 20px;
}

.x8-home h3,
.x8-page h3 {
	color: var(--x8-heading);
	font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-size: 26px;
	font-weight: 600;
	line-height: 33.8px;
	margin: 24px 0 20px;
}

.x8-home p,
.x8-page p {
	color: var(--x8-text);
	font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 24px;
	margin: 0 0 25.6px;
}

.x8-lead {
	color: var(--x8-text);
	font-size: 16px;
	line-height: 24px;
	max-width: none;
	text-align: left;
}

.x8-notice {
	background: transparent;
	border: 0;
	border-radius: 0;
	margin: 0 0 25.6px;
	padding: 0;
}

.x8-category-grid {
	display: block;
	margin: 28px 0 36px;
}

.x8-category-card {
	background: var(--x8-white);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin: 0 0 48px;
	overflow: visible;
}

.x8-category-card:hover {
	box-shadow: none;
	transform: none;
}

.x8-category-card > a {
	color: inherit;
	display: block;
	text-decoration: none;
}

.x8-category-card img {
	aspect-ratio: 2 / 1;
	display: block;
	height: 400px;
	margin: 0 auto;
	max-width: 800px;
	object-fit: cover;
	width: 800px;
}

.x8-category-copy {
	margin: 0 auto;
	max-width: 800px;
	padding: 0;
}

.x8-category-copy h3 {
	margin: 0 0 8px;
}

.x8-category-copy p {
	color: var(--x8-text);
	font-size: 16px;
	line-height: 24px;
	margin: 0;
}

.x8-section-image {
	margin: 24px auto 30px;
	max-width: 800px;
}

.x8-section-image img {
	aspect-ratio: 2 / 1;
	border-radius: 8px;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.x8-check-list {
	list-style: none;
	margin: 18px 0 28px;
	padding: 0;
}

.x8-check-list li {
	margin: 0 0 11px;
	padding-left: 28px;
	position: relative;
}

.x8-check-list li::before {
	color: var(--x8-blue);
	content: "✓";
	font-weight: 800;
	left: 2px;
	position: absolute;
	top: 0;
}

.x8-faq {
	border-top: 1px solid var(--x8-border);
	margin-top: 28px;
}

.x8-faq details {
	border-bottom: 1px solid var(--x8-border);
	padding: 16px 2px;
}

.x8-faq summary {
	color: var(--x8-blue-dark);
	cursor: pointer;
	font-weight: 700;
}

.x8-faq details p {
	margin: 12px 0 0;
}

.x8-page {
	max-width: var(--x8-shell);
	min-height: 46vh;
	padding-top: 48px;
}

.x8-page-content:empty {
	display: none;
}

.x8-site-footer {
	background: var(--x8-white);
	color: var(--x8-text);
	margin-top: 0;
	min-height: 490px;
	padding: 60px 0 0;
}

.x8-footer-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: 1.08fr .92fr .92fr 1.08fr;
	min-height: 331px;
}

.x8-footer-grid > section {
	padding: 10px;
}

.x8-site-footer h2,
.x8-site-footer h3 {
	color: var(--x8-text);
	font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 34px;
	margin: 0 0 16px;
}

.x8-site-footer p {
	color: var(--x8-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 24px;
	margin: 0 0 16px;
}

.x8-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.x8-footer-links li {
	border-bottom: 1px solid #e4e4e4;
	margin: 0;
}

.x8-footer-links a {
	align-items: center;
	color: var(--x8-text);
	display: flex;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 20px;
	min-height: 31px;
	padding: 5px 0;
	text-decoration: none;
}

.x8-footer-links a:hover,
.x8-footer-links a:focus {
	color: var(--x8-blue-dark);
	text-decoration: underline;
}

.x8-footer-links i {
	align-items: center;
	background: var(--x8-blue-title);
	border-radius: 50%;
	color: var(--x8-white);
	display: inline-flex;
	flex: 0 0 14px;
	font-size: 10px;
	height: 14px;
	justify-content: center;
	line-height: 1;
	margin-right: 10px;
	text-align: center;
	width: 14px;
}

.x8-footer-badge {
	align-items: center;
	border: 2px solid var(--x8-blue);
	border-radius: 5px;
	color: var(--x8-blue-dark);
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 18px;
	margin-top: 20px;
	min-height: 46px;
	padding: 5px 12px;
	text-decoration: none;
	text-transform: uppercase;
}

.x8-footer-badge i {
	color: var(--x8-blue);
	font-size: 22px;
	margin-right: 9px;
}

.x8-footer-badge:hover,
.x8-footer-badge:focus {
	background: var(--x8-blue-soft);
	color: var(--x8-blue-dark);
}

.x8-footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.x8-footer-contact li {
	margin: 0 0 15px;
}

.x8-footer-contact a {
	align-items: flex-start;
	color: var(--x8-text);
	display: flex;
	font-size: 16px;
	line-height: 23px;
	text-decoration: none;
}

.x8-footer-contact a:hover,
.x8-footer-contact a:focus {
	color: var(--x8-blue-dark);
	text-decoration: underline;
}

.x8-footer-contact i {
	color: var(--x8-blue);
	flex: 0 0 26px;
	font-size: 20px;
	line-height: 23px;
	margin-right: 7px;
	text-align: center;
}

.x8-site-footer .x8-footer-tags {
	color: #6d6d6d;
	font-size: 14px;
	line-height: 23px;
	margin: 18px 0 0;
	word-break: break-word;
}

.x8-footer-bottom {
	align-items: center;
	background: var(--x8-blue);
	border: 0;
	border-radius: 12px;
	color: var(--x8-white);
	display: flex;
	height: 69px;
	justify-content: space-between;
	margin-top: 20px;
	padding: 0 20px;
	text-align: left;
}

.x8-footer-bottom p {
	color: var(--x8-white);
	margin: 0;
}

.x8-footer-actions {
	align-items: center;
	display: flex;
	gap: 8px;
}

.x8-footer-actions a {
	align-items: center;
	background: var(--x8-white);
	border-radius: 50%;
	color: var(--x8-blue);
	display: inline-flex;
	height: 31px;
	justify-content: center;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
	width: 31px;
}

.x8-footer-actions a:hover,
.x8-footer-actions a:focus {
	background: var(--x8-blue-dark);
	color: var(--x8-white);
	transform: translateY(-1px);
}

.x8-footer-actions i {
	font-size: 16px;
	line-height: 1;
}

.entry-author,
.author-box,
.comments-area,
.comment-respond {
	display: none !important;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--x8-white);
	clip: auto !important;
	clip-path: none;
	color: var(--x8-blue-dark);
	display: block;
	height: auto;
	left: 10px;
	padding: 12px 16px;
	top: 10px;
	width: auto;
	z-index: 100000;
}

@media (max-width: 980px) {
	.x8-primary-nav {
		padding-left: 24px;
		padding-right: 24px;
	}

	.x8-primary-nav .menu > li > a {
		font-size: 13px;
		padding-left: 10px;
		padding-right: 10px;
	}

	.x8-footer-grid {
		gap: 28px 20px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		min-height: 0;
	}
}

@media (max-width: 760px) {
	.x8-shell {
		width: calc(100% - 20px);
	}

	.x8-site-header {
		padding: 9px 0 10px;
	}

	.x8-header-main {
		align-items: start;
		display: grid;
		grid-template-columns: 1fr auto;
		height: auto;
		padding: 0;
		row-gap: 8px;
	}

	.x8-brand {
		height: 34px;
		max-width: 126px;
	}

	.x8-brand img {
		height: 34px;
		max-height: none;
		max-width: none;
		width: 126px;
	}

	.x8-menu-toggle {
		display: inline-flex;
	}

	.x8-header-actions {
		grid-column: 1 / -1;
		justify-content: center;
	}

	.x8-action {
		font-size: 12px;
		min-height: 35px;
		padding: 10px;
	}

	.x8-primary-nav {
		border-radius: 7px;
		display: none;
		height: auto;
		margin-top: 9px;
		padding: 8px;
	}

	.x8-primary-nav.is-open {
		display: block;
	}

	.x8-primary-nav .menu {
		align-items: stretch;
		display: block;
		height: auto;
	}

	.x8-primary-nav li {
		display: block;
		height: auto;
	}

	.x8-primary-nav .menu > li > a {
		font-size: 13px;
		height: auto;
		margin: 0;
		padding: 12px 14px;
		width: 100%;
	}

	.x8-home {
		padding: 17px 0 46px;
	}

	.x8-hero {
		display: block;
		margin-bottom: 24px;
	}

	.x8-hero img {
		height: auto;
		width: 100%;
	}

	.x8-home h1,
	.x8-page h1 {
		font-size: 22px;
		line-height: 30px;
		margin-bottom: 22px;
	}

	.x8-home h2,
	.x8-page h2 {
		font-size: 22px;
		line-height: 30px;
		margin-top: 34px;
	}

	.x8-lead {
		font-size: 16px;
		text-align: left;
	}

	.x8-category-grid {
		display: block;
	}

	.x8-category-card img {
		height: auto;
		max-width: 100%;
		width: 100%;
	}

	.x8-page {
		padding: 35px 10px 46px;
	}

	.x8-footer-grid {
		gap: 22px;
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.x8-site-footer {
		min-height: 0;
		padding-top: 30px;
	}

	.x8-site-footer h2,
	.x8-site-footer h3 {
		font-size: 22px;
		line-height: 30px;
		margin-bottom: 13px;
	}

	.x8-footer-grid > section {
		padding: 0 10px;
	}

	.x8-footer-links a {
		min-height: 34px;
	}

	.x8-footer-bottom {
		border-radius: 10px;
		flex-direction: column;
		gap: 13px;
		height: auto;
		margin-top: 30px;
		padding: 18px 14px;
		text-align: center;
	}

	.x8-footer-bottom p {
		font-size: 14px;
		line-height: 21px;
	}

	.x8-footer-actions {
		justify-content: center;
	}
}
