/* Theme overrides — match soicauxoso8.com */

#zone-common-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
}

/* Inactive region tabs */
.result-normal .left,
.result-normal .right {
	display: none;
}

.result-normal .center {
	float: left;
	height: 35px;
	line-height: 35px;
	padding: 0 5px;
}

.result-normal .center a {
	color: #fff;
	font-weight: bold;
}

.result-active .center {
	line-height: 35px;
}

.lottery-predict-content {
	border: 1px solid #ccc;
	border-top: none;
	width: 502px;
	float: left;
	background: #fff;
}

.lottery-bingo-province a.red {
	color: red;
}

#lottery-predict {
	width: 502px;
	float: left;
}

.result_relate {
	border: 1px solid #d0d0d0;
	border-top: none;
	background: #efefe2;
	width: 502px;
	float: left;
}

.result_relate ul {
	margin: 0;
	padding: 0;
}

.txs-copyright {
	background: #efefe2;
}

.txs-site-url {
	display: block;
	font-size: 11px;
	color: #333;
	padding-left: 2px;
	font-weight: normal;
}

/* Hide default WP block widgets styling bleed */
#zone-main-page-right-content .wp-block-search,
#zone-main-page-right-content .wp-block-archives,
#zone-main-page-right-content .wp-block-latest-posts {
	display: none;
}

/* Sidebar posts widget */
.txs-sidebar-posts {
	width: 280px;
	font-family: Tahoma, Arial, sans-serif;
	font-size: 11px;
	overflow: hidden;
	border: 1px solid #ccc;
	background: #fff;
}

.txs-sidebar-posts__title {
	background: linear-gradient(to bottom, #e8261e 0%, #b5150f 100%);
	height: 31px;
	line-height: 31px;
	padding: 0 10px;
}

.txs-sidebar-posts__title a {
	color: #fff;
	font-weight: bold;
	font-size: 12px;
	text-decoration: none;
}

.txs-sidebar-posts__body {
	max-height: 400px;
	overflow-y: auto;
}

.txs-sidebar-posts__body ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.txs-sidebar-posts__body li {
	border-bottom: 1px solid #ccc;
	padding: 6px 4px;
	overflow: hidden;
	min-height: 62px;
}

.txs-sidebar-posts__thumb {
	float: left;
	width: 30%;
	text-align: center;
}

.txs-sidebar-posts__thumb img {
	border: 1px solid #ccc;
	padding: 2px;
	margin-top: 4px;
	object-fit: cover;
	width: 66px;
	height: 50px;
}

.txs-sidebar-posts__content {
	float: left;
	width: 69%;
}

.txs-sidebar-posts__headline {
	line-height: 14px;
	max-height: 28px;
	overflow: hidden;
	margin-bottom: 2px;
}

.txs-sidebar-posts__headline a {
	color: #2478d7;
	text-decoration: none;
	font-weight: bold;
}

.txs-sidebar-posts__brief {
	color: #333;
	line-height: 14px;
	max-height: 42px;
	overflow: hidden;
	font-size: 10px;
}

.txs-sidebar-posts__footer {
	background: #f5f5f5;
	border-top: 1px solid #ccc;
	text-align: center;
	line-height: 18px;
	font-size: 10px;
	padding: 2px 0;
}

.txs-sidebar-posts__footer a {
	color: #666;
	text-decoration: none;
}

.txs-sidebar-posts__empty {
	margin: 12px 8px;
	color: #666;
}

/* Lottery result tables */
.txs-lottery-table {
	width: 100%;
	font-weight: bold;
	border-collapse: collapse;
	margin-bottom: 12px;
}

.txs-lottery-table__head td,
.txs-lottery-table thead th {
	background: #945810;
	color: #fff;
	font-weight: bold;
	padding: 6px 8px;
	border: 1px solid #ccc;
}

.txs-lottery-table td {
	border: 1px solid #ccc;
	padding: 6px 8px;
	font-size: 13px;
}

.txs-lottery-table__stripe td {
	background: #f0f0f0;
}

.txs-lottery-table__db {
	color: #c00;
	font-weight: bold;
	font-size: 15px;
}

.txs-page-content {
	background: #fff;
	border: 1px solid #ccc;
	padding: 10px;
}

.txs-result-block {
	margin-bottom: 20px;
}

.txs-result-block__title {
	font-size: 14px;
	color: #c00;
	margin: 0 0 8px;
	padding: 6px 0;
	border-bottom: 1px solid #ddd;
}

.txs-result-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	margin-bottom: 12px;
}

.txs-result-table th,
.txs-result-table td {
	border: 1px solid #ccc;
	padding: 6px 8px;
}

.txs-result-table th {
	background: #945810;
	color: #fff;
	width: auto;
}

.txs-result-db td,
.txs-result-db .txs-lottery-table__db {
	color: #c00;
	font-weight: bold;
	font-size: 15px;
}

.txs-no-data {
	color: #666;
	font-style: italic;
}

.txs-truc-tiep h3 {
	font-size: 13px;
	color: #333;
	margin: 12px 0 6px;
}

.txs-live-status {
	padding: 8px 10px;
	background: #f5f5f5;
	border-left: 3px solid #999;
	margin-bottom: 12px;
	font-size: 12px;
}

.txs-live-status--on {
	background: #fff8e1;
	border-left-color: #e8261e;
	color: #c00;
	font-weight: bold;
}

/* Homepage editor content */
.txs-home-intro {
	margin-top: 4px;
}

.txs-home-intro__header {
	margin-bottom: 0;
}

.txs-home-intro__title {
	font-size: 12px;
	color: #fff;
	padding: 10px 10px 10px 40px;
	margin: 0;
	font-weight: bold;
	line-height: 1.2;
}

.txs-home-content {
	background: #fff;
	border: 1px solid #ccc;
	border-top: none;
	padding: 14px 16px 18px;
	font-size: 13px;
	line-height: 1.65;
	color: #333;
}

.txs-home-content .txs-intro-lead {
	font-size: 14px;
	line-height: 1.7;
	margin: 0 0 14px;
	padding: 10px 12px;
	background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
	border-left: 3px solid #945810;
	color: #444;
}

.txs-home-content h2 {
	font-size: 14px;
	color: #945810;
	margin: 18px 0 10px;
	padding-bottom: 6px;
	border-bottom: 1px dashed #ddd;
	font-weight: bold;
}

.txs-home-content h2:first-child {
	margin-top: 0;
}

.txs-home-content h3 {
	font-size: 13px;
	color: #c00;
	margin: 14px 0 8px;
}

.txs-home-content p {
	margin: 0 0 10px;
}

.txs-home-content ul,
.txs-home-content ol {
	margin: 0 0 12px 0;
	padding: 0;
	list-style: none;
}

.txs-home-content ul.txs-feature-list li {
	position: relative;
	padding: 8px 8px 8px 28px;
	margin-bottom: 6px;
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 2px;
}

.txs-home-content ul.txs-feature-list li::before {
	content: "";
	position: absolute;
	left: 10px;
	top: 13px;
	width: 6px;
	height: 6px;
	background: #e8261e;
	border-radius: 50%;
}

.txs-home-content ul:not(.txs-feature-list) {
	padding-left: 20px;
	list-style: disc;
}

.txs-home-content ul:not(.txs-feature-list) li {
	padding: 2px 0;
	background: none;
	border: none;
}

.txs-home-content a {
	color: #c00;
	text-decoration: none;
}

.txs-home-content a:hover {
	text-decoration: underline;
}

.txs-home-content .txs-intro-note {
	margin-top: 14px;
	padding-top: 10px;
	border-top: 1px solid #eee;
	font-size: 12px;
	color: #777;
}

.txs-home-content img {
	max-width: 100%;
	height: auto;
	border: 1px solid #ddd;
	margin: 8px 0;
}

.txs-home-content blockquote {
	margin: 12px 0;
	padding: 10px 14px;
	background: #f9f9f9;
	border-left: 3px solid #945810;
	color: #555;
	font-style: italic;
}

.txs-page-links {
	margin-top: 12px;
	font-size: 12px;
	color: #666;
}

/* Fallback khi trang con vẫn load layout desktop trên màn hình nhỏ */
@media screen and (max-width: 768px) {
	#choose-city-bingo,
	.choose-city-bingo-show,
	.choose-city-bingo-none {
		display: none !important;
	}

	#wrapper-zone-main-all-page {
		padding-top: 8px !important;
	}

	#all-common-decorator,
	.zone-content {
		width: 100% !important;
		max-width: 100% !important;
	}

	#zone-main-page-left,
	#zone-main-page-right {
		float: none !important;
		width: 100% !important;
		padding: 0 5px !important;
		box-sizing: border-box;
	}

	.zone-logo-header h1 img {
		max-width: 180px;
		height: auto;
	}

	.zone-menu-header ul li {
		float: none !important;
		display: inline-block;
		margin: 2px;
	}

	.lottery-predict-content {
		width: 100% !important;
		float: none !important;
	}

	.txs-lottery-table {
		font-size: 11px;
	}

	.txs-lottery-table td {
		padding: 4px 3px;
	}

	.txs-page-content {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* Trang dự đoán / kết quả đơn lẻ */
.txs-single-lottery-wrap {
	padding: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.txs-single-lottery-wrap .txs-lottery-table {
	margin: 0;
}

.txs-single-lottery-table {
	overflow-x: auto;
}
