/* ============================================================
   EE88 — Trang chủ từ khóa "EE88" (24/11/2026)
   Theme chính: Flatsome (flatsome-child đang inactive → CSS nạp qua mu-plugin).
   1) Bảng responsive (overflow-x) — tránh tràn ngang màn hình
   2) CTA mobile >= 48x48px (chuẩn WCAG 2.5.5 Target Size)
   3) H1 trang chủ + FAQ <details> + byline + điểm 8.7/10
   ============================================================ */

/* --- 1. Bảng dữ liệu responsive --- */
.ee88-home-content .ee88-table,
.ee88-home-content figure.ee88-table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	margin: 1.4em 0;
	border-radius: 10px;
}

.ee88-home-content .ee88-table table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 0.97rem;
	line-height: 1.6;
}

.ee88-home-content .ee88-table th,
.ee88-home-content .ee88-table td {
	padding: 11px 14px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	text-align: left;
	vertical-align: top;
	overflow-wrap: break-word;
}

.ee88-home-content .ee88-table th {
	background: rgba(255, 193, 7, 0.14);
	font-weight: 700;
	color: #ffc107;
	white-space: nowrap;
}

.ee88-home-content .ee88-table tbody tr:nth-child(even) {
	background: rgba(255, 255, 255, 0.03);
}

.ee88-home-content .ee88-table figcaption {
	text-align: center;
	font-style: italic;
	margin-top: 0.6em;
	font-size: 0.92rem;
}

/* --- 2. Nút CTA >= 48x48px --- */
.ee88-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	min-width: 48px;
	padding: 0.85em 2em;
	margin: 0.4em 0.25em;
	border-radius: 12px;
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
	color: #1a1200;
	box-shadow: 0 6px 18px rgba(255, 193, 7, 0.28);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	-webkit-tap-highlight-color: rgba(255, 193, 7, 0.25);
}

.ee88-cta:hover,
.ee88-cta:focus {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(255, 193, 7, 0.38);
	color: #1a1200;
}

.ee88-cta--ghost {
	background: transparent;
	border: 2px solid #ffc107;
	color: #ffc107;
	box-shadow: none;
}

.ee88-cta--ghost:hover,
.ee88-cta--ghost:focus {
	background: rgba(255, 193, 7, 0.12);
	color: #ffc107;
}

.ee88-cta-wrap {
	text-align: center;
	margin: 1.4em 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	justify-content: center;
}

/* --- 3. H1 + byline + FAQ <details> --- */
.ee88-h1,
.entry-content .ee88-h1,
.ee88-home-content .ee88-h1,
.col .ee88-h1,
h1.ee88-h1 {
	font-size: 2.1rem !important;
	line-height: 1.25 !important;
	font-weight: 800 !important;
	text-align: center;
	margin: 0 0 18px !important;
	color: #fff;
	overflow-wrap: break-word;
}

.ee88-byline {
	text-align: center;
	font-style: italic;
	opacity: 0.9;
	margin: 0 0 18px;
}

.ee88-faq__item {
	background: #141f33;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 14px;
	margin: 0 0 14px;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ee88-faq__item:hover {
	border-color: rgba(255, 193, 7, 0.45);
}

.ee88-faq__item[open] {
	border-color: rgba(255, 193, 7, 0.6);
	background: #16243b;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.ee88-faq__item > summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 19px 24px;
	color: #fff;
	font-weight: 600;
	font-size: 1.08rem;
	line-height: 1.5;
	min-height: 48px;
}

.ee88-faq__item > summary::-webkit-details-marker {
	display: none;
}

.ee88-faq__item > summary::after {
	content: "+";
	margin-left: auto;
	font-size: 1.5rem;
	font-weight: 400;
	color: #ffc107;
	line-height: 1;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.ee88-faq__item[open] > summary::after {
	transform: rotate(45deg);
}

.ee88-faq__item > div {
	padding: 2px 24px 20px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 1.01rem;
	line-height: 1.78;
}

.ee88-faq__item > div p {
	margin: 0;
}

/* --- 4. Điểm đánh giá 8.7/10 (text thường, không phải schema Review) --- */
.ee88-score {
	max-width: 840px;
	margin: 1.4em auto;
	padding: 18px 22px;
	background: linear-gradient(135deg, rgba(6, 21, 68, 0.6) 0%, rgba(13, 58, 25, 0.5) 100%);
	border: 1px solid rgba(255, 193, 7, 0.35);
	border-radius: 14px;
	text-align: center;
}

.ee88-score__value {
	font-size: 2.4rem;
	font-weight: 800;
	color: #ffc107;
	line-height: 1.1;
	margin: 0 0 0.2em;
}

.ee88-score__note {
	margin: 0;
	font-size: 0.97rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.82);
}

/* --- 5. Cảnh báo giả mạo + hộp tác giả --- */
.ee88-warn {
	position: relative;
	max-width: 840px;
	margin: 1.4em auto;
	padding: 18px 22px 18px 56px;
	background: linear-gradient(135deg, rgba(120, 32, 32, 0.55) 0%, rgba(60, 10, 40, 0.55) 100%);
	border-left: 4px solid #ff5252;
	border-radius: 0 14px 14px 0;
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}

.ee88-warn p {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.75;
}

.ee88-warn::before {
	content: "\26A0";
	position: absolute;
	left: 18px;
	top: 16px;
	font-size: 1.6rem;
	line-height: 1;
	color: #ff5252;
}

.ee88-author {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(194, 231, 66, 0.25);
	border-radius: 16px;
	padding: 22px 24px;
	margin: 1.4em 0;
}

.ee88-author p {
	margin: 0 0 0.8em;
}

.ee88-author p:last-child {
	margin-bottom: 0;
}

/* --- 6. Figure ảnh --- */
.ee88-home-content .ee88-figure {
	text-align: center;
	margin: 1.6em auto;
}

.ee88-home-content .ee88-figure img {
	max-width: 760px;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.ee88-home-content .ee88-figure figcaption {
	text-align: center;
	font-style: italic;
	margin-top: 0.5em;
}

/* --- 7. Mobile --- */
@media only screen and (max-width: 48em) {
	.ee88-h1,
	.entry-content .ee88-h1,
	.ee88-home-content .ee88-h1,
	.col .ee88-h1,
	h1.ee88-h1 {
		font-size: 1.62rem !important;
		line-height: 1.3 !important;
	}

	.ee88-cta-wrap {
		flex-direction: column;
		align-items: stretch;
	}

	.ee88-cta {
		width: 100%;
		max-width: 100%;
		margin: 0.25em 0;
		font-size: 1.02rem;
	}

	.ee88-home-content .ee88-table table {
		min-width: 520px;
		font-size: 0.92rem;
	}

	.ee88-home-content .ee88-table th,
	.ee88-home-content .ee88-table td {
		padding: 9px 11px;
	}

	.ee88-faq__item > summary {
		padding: 16px 18px;
		font-size: 1rem;
	}

	.ee88-faq__item > div {
		padding: 2px 18px 18px;
		font-size: 0.97rem;
	}

	.ee88-warn {
		padding: 16px 18px 16px 48px;
	}

	.ee88-warn::before {
		left: 14px;
		top: 13px;
		font-size: 1.3rem;
	}

	.ee88-score__value {
		font-size: 2rem;
	}

	.ee88-author {
		padding: 18px 16px;
	}
}
