/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

.post .entry-header-text,
.post h1 {
	padding-bottom: 0;
	margin-bottom: 0;
}

.is-divider {
	display: none;
}

.widget-title {
	margin-bottom: 1rem;
}

.absolute-footer {
	display: none;
}

.post_comments {
	display: none;
}

.footer-wrapper p {
	margin-bottom: 10px;
}

td {
	color: inherit;
}

img {
	max-width: 100%;
}

.uppercase, h6, span.widget-title, th {
	line-height: 1.2;
}

/* ===== buttons (header + hero) ===== */
/* a light streak travels around the border; --trace-a drives the conic gradient */
@property --trace-a {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}
@keyframes trace-spin {
	to {
		--trace-a: 360deg;
	}
}

.nav__cta {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 12px;
}

.btn {
	position: relative;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	margin: 0;
	padding: 0 24px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	transition:
		transform 0.16s ease,
		box-shadow 0.16s ease,
		border-color 0.16s ease,
		filter 0.16s ease;
}
.btn::before {
	content: "";
	position: absolute;
	inset: -2px;
	padding: 2px;
	border-radius: inherit;
	-webkit-mask: linear-gradient(#ffffff 0 0) content-box, linear-gradient(#ffffff 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#ffffff 0 0) content-box exclude, linear-gradient(#ffffff 0 0);
	animation: trace-spin 4s linear infinite;
	pointer-events: none;
}
.btn:active {
	transform: translateY(1px);
}

/* red pill: Đăng Ký, Tham gia ngay */
.btn--primary {
	background: #e11d34;
	color: #ffffff;
	font-weight: 800;
	letter-spacing: 0.02em;
	box-shadow: 0 10px 26px rgba(225, 29, 52, 0.28);
}
.btn--primary::before {
	background: conic-gradient(from var(--trace-a), transparent 0deg 200deg, rgba(255, 255, 255, 0.55) 290deg, #ffffff 330deg, transparent 355deg);
}
.btn--primary:hover {
	color: #ffffff;
	filter: brightness(1.08);
	box-shadow: 0 12px 30px rgba(225, 29, 52, 0.36);
}

/* dark pill with red outline: Đăng Nhập */
.btn--outline {
	border-width: 1px;
	border-color: rgba(225, 29, 52, 0.5);
	background: #171113;
	color: #ffffff;
	font-weight: 600;
}
.btn--outline::before {
	background: conic-gradient(from var(--trace-a), transparent 0deg 200deg, rgba(225, 29, 52, 0.5) 290deg, #e11d34 330deg, transparent 355deg);
}
.btn--outline:hover {
	border-color: #e11d34;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 6px 6px 0 rgba(225, 29, 52, 0.18);
}

/* icon-only social tile: Telegram, Facebook (static) */
.btn--icon {
	flex: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 13px;
	background: transparent;
}
.btn--icon::before {
	content: none;
}
.btn--icon img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
}
.btn--icon:hover {
	transform: translateY(-2px);
}

/* ===== live stream 16:9 ===== */
.stream {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 1px solid #e11d34;
	border-radius: 12px;
	background: #000;
	box-shadow: 0 24px 52px -26px rgba(26, 18, 20, 0.45);
}
.stream iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ===== footer ===== */
.footer-info {
	text-align: center;
}
.footer-info a {
	color: #e11d34;
}
.footer-info__logo img {
	width: 260px;
}

.content-box .col-inner {
	border: 3px solid var(--primary-color);
	border-radius: 16px !important;
	padding: 16px;
	max-height: 700px;
	overflow-y: auto;
	overflow-x: hidden;
	/* Firefox */
	scrollbar-width: thin;
	scrollbar-color: var(--primary-color) rgba(255, 255, 255, 0.1);
}

/* Chrome / Safari / Edge — defining these opts out of macOS overlay scrollbars */
.content-box .col-inner::-webkit-scrollbar {
	width: 10px;
}

.content-box .col-inner::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.08);
	border-radius: 8px;
}

.content-box .col-inner::-webkit-scrollbar-thumb {
	background: var(--primary-color);
	border-radius: 8px;
}

.content-box .col-inner::-webkit-scrollbar-thumb:hover {
	background: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.btn {
		transition: none;
	}
	.btn::before {
		animation: none;
	}
}
@media (max-width: 549px) {
	#header .btn--login {
		display: none;
	}

	.content-box table,
	.entry-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.content-box th,
	.content-box td,
	.entry-content th,
	.entry-content td {
		min-width: 9em;
	}
}
