/* ======================================================================
 * REVID API — branding + typography (toàn site) + trang chủ / archive
 * Font: SF UI Text + SVN-Gilroy (đồng bộ midoai.edu.vn — theme child Mido).
 * ====================================================================== */

:root {
	--rev-green-50: #f1faf3;
	--rev-green-100: #d9f1e1;
	--rev-green-300: #6ee5a6;
	--rev-green-500: #1AA85A;
	--rev-green-600: #0E6A3A;
	--rev-green-700: #08512B;
	--rev-green-900: #052918;
	--rev-ink: #0a1a10;
	--rev-card: rgba(255,255,255,0.06);
	--rev-card-strong: rgba(255,255,255,0.12);
	--rev-accent: #D32F2F;
	/* Typography — đồng nhất toàn site (ảnh mục tiêu) */
	--rev-font-display: "SVN-Gilroy", "SF UI Text", system-ui, sans-serif;
	--rev-font-text: "SF UI Text", system-ui, sans-serif;
}

/* ========== FONT & TYPE TOÀN TRANG ================================= */
html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body,
#wrapper,
.heading-font,
.alt-font,
input,
textarea,
select,
button,
.nav > li > a,
.nav-dropdown > li > a,
.nav-dropdown-default > li > a,
.mobile-sidebar-levels-2 a,
.off-canvas .mobile-nav a,
h1,
h2,
h3,
h4,
h5,
h6,
.section-title-main,
.tabbed-content .nav-simple a,
.box-text,
.product-title,
.product-info .price,
.breadcrumbs,
button.button,
.alt-font,
.header-top,
.header-main,
.footer-wrapper,
.widget-title,
table,
th,
td,
blockquote,
label,
.woocommerce-message,
.woocommerce-info {
	font-family: var(--rev-font-text) !important;
}

/* Tiêu đề section Flatsome / UX Builder */
.section-title-main,
.section-title span,
.banner-title,
.ux_banner .text-box-inner {
	font-family: var(--rev-font-display) !important;
}

/* Wordmark chữ (nếu dùng text logo) */
.text-logo .logo-text-primary,
.logo-text {
	font-family: var(--rev-font-display) !important;
	font-weight: 800 !important;
	letter-spacing: -0.03em;
	color: var(--rev-green-600) !important;
}

/* Menu ngang — SF UI Text; header sáng: chữ tối; header tối (.nav-dark): chữ sáng */
.header-main:not(.nav-dark) .nav > li > a,
.header-bottom:not(.nav-dark) .nav > li > a {
	font-family: var(--rev-font-display) !important;
	font-weight: 700 !important;
	letter-spacing: 0.05em;
	font-size: 0.78rem !important;
	color: #0a1a10 !important;
}
.header-main:not(.nav-dark) .nav > li.active > a,
.header-main:not(.nav-dark) .nav > li.current-menu-item > a,
.header-main:not(.nav-dark) .nav > li > a:hover,
.header-bottom:not(.nav-dark) .nav > li.active > a,
.header-bottom:not(.nav-dark) .nav > li.current-menu-item > a,
.header-bottom:not(.nav-dark) .nav > li > a:hover {
	color: var(--rev-green-600) !important;
}
.header-main.nav-dark .nav > li > a,
.header-bottom.nav-dark .nav > li > a {
	font-family: var(--rev-font-display) !important;
	font-weight: 700 !important;
	letter-spacing: 0.05em;
	font-size: 0.78rem !important;
	color: rgba(255, 255, 255, 0.92) !important;
}
.header-main.nav-dark .nav > li.active > a,
.header-main.nav-dark .nav > li.current-menu-item > a,
.header-main.nav-dark .nav > li > a:hover,
.header-bottom.nav-dark .nav > li.active > a,
.header-bottom.nav-dark .nav > li.current-menu-item > a,
.header-bottom.nav-dark .nav > li > a:hover {
	color: var(--rev-green-300) !important;
}
.header-main.nav-dark .header-search a,
.header-main.nav-dark .header-search .icon-search,
.header-main.nav-dark .cart-icon strong,
.header-main.nav-dark .header-cart .cart-icon,
.header-bottom.nav-dark .header-search a {
	color: rgba(255, 255, 255, 0.92) !important;
}
.header-main.nav-dark .header-cart-title,
.header-main.nav-dark .nav-small,
.header-main.nav-dark .header-cart .amount,
.header-bottom.nav-dark .header-cart-title {
	color: rgba(255, 255, 255, 0.88) !important;
}

/* Trang con: header nền sáng + menu tối (Flatsome transparent / nav-dark làm chữ trắng “biến mất”) */
body:not(.home) #header,
body:not(.home) .header-wrapper {
	background: #ffffff !important;
}
body:not(.home) .header-main,
body:not(.home) .header-bottom,
body:not(.home) #wide-nav {
	background-color: #ffffff !important;
	box-shadow: 0 1px 0 rgba(10, 26, 16, 0.08);
}
body:not(.home) .header-main.nav-dark .nav > li > a,
body:not(.home) .header-bottom.nav-dark .nav > li > a {
	color: #0a1a10 !important;
}
body:not(.home) .header-main.nav-dark .nav > li.active > a,
body:not(.home) .header-main.nav-dark .nav > li.current-menu-item > a,
body:not(.home) .header-main.nav-dark .nav > li > a:hover,
body:not(.home) .header-bottom.nav-dark .nav > li.active > a,
body:not(.home) .header-bottom.nav-dark .nav > li.current-menu-item > a,
body:not(.home) .header-bottom.nav-dark .nav > li > a:hover {
	color: #0e6a3a !important;
}
body:not(.home) .header-main.nav-dark .header-search a,
body:not(.home) .header-main.nav-dark .header-search .icon-search,
body:not(.home) .header-main.nav-dark .cart-icon strong,
body:not(.home) .header-main.nav-dark .header-cart .cart-icon,
body:not(.home) .header-main.nav-dark .header-cart-title,
body:not(.home) .header-main.nav-dark .nav-small,
body:not(.home) .header-main.nav-dark .header-cart .amount {
	color: #0a1a10 !important;
}
@media screen and (min-width: 850px) {
	body:not(.home) .header-main .hide-for-medium.flex-left,
	body:not(.home) .header-main .hide-for-medium.flex-right,
	body:not(.home) .header-bottom .hide-for-medium {
		display: flex !important;
	}
	body:not(.home) .header-main .show-for-medium.flex-left,
	body:not(.home) .header-main .show-for-medium.flex-right {
		display: none !important;
	}
}

/* Trang chủ: khi header sticky (.stuck), nền trắng + chữ tối (hero tối ở đầu trang làm menu sáng khó đọc khi cuộn qua nền sáng) */
body.home #header .header-wrapper.stuck,
body.home .header-wrapper.stuck {
	background: #ffffff !important;
	box-shadow: 0 4px 28px -12px rgba(10, 26, 16, 0.22) !important;
}
body.home .header-wrapper.stuck .header-main,
body.home .header-wrapper.stuck .header-bottom,
body.home .header-wrapper.stuck #wide-nav {
	background-color: #ffffff !important;
}
body.home .header-wrapper.stuck .header-main.nav-dark .nav > li > a,
body.home .header-wrapper.stuck .header-bottom.nav-dark .nav > li > a {
	color: #0a1a10 !important;
}
body.home .header-wrapper.stuck .header-main.nav-dark .nav > li.active > a,
body.home .header-wrapper.stuck .header-main.nav-dark .nav > li.current-menu-item > a,
body.home .header-wrapper.stuck .header-main.nav-dark .nav > li > a:hover,
body.home .header-wrapper.stuck .header-bottom.nav-dark .nav > li.active > a,
body.home .header-wrapper.stuck .header-bottom.nav-dark .nav > li.current-menu-item > a,
body.home .header-wrapper.stuck .header-bottom.nav-dark .nav > li > a:hover {
	color: #0e6a3a !important;
}
body.home .header-wrapper.stuck .header-main.nav-dark .header-search a,
body.home .header-wrapper.stuck .header-main.nav-dark .header-search .icon-search,
body.home .header-wrapper.stuck .header-main.nav-dark .cart-icon strong,
body.home .header-wrapper.stuck .header-main.nav-dark .header-cart .cart-icon,
body.home .header-wrapper.stuck .header-main.nav-dark .header-cart-title,
body.home .header-wrapper.stuck .header-main.nav-dark .nav-small,
body.home .header-wrapper.stuck .header-main.nav-dark .header-cart .amount {
	color: #0a1a10 !important;
}

/* Tin tức trang chủ: cuộn ngang — nhiều bài trong một hàng */
.rev-eco-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}
.home .section.rev-mido-blog-home .row.rev-mido-blog-home-scroll,
.home .section.rev-mido-blog-home .rev-mido-blog-home-scroll.row {
	display: flex !important;
	flex-flow: row nowrap !important;
	align-items: stretch !important;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	gap: 16px !important;
	padding: 4px 6px 14px !important;
	margin-left: -2px !important;
	margin-right: -2px !important;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-color: rgba(14, 106, 58, 0.4) rgba(0, 0, 0, 0.06);
}
.home .section.rev-mido-blog-home .row.rev-mido-blog-home-scroll > .col.post-item,
.home .section.rev-mido-blog-home .rev-mido-blog-home-scroll.row > .col.post-item {
	flex: 0 0 min(300px, 88vw) !important;
	max-width: min(300px, 88vw) !important;
	width: min(300px, 88vw) !important;
	scroll-snap-align: start;
}
@media screen and (min-width: 768px) {
	.home .section.rev-mido-blog-home .row.rev-mido-blog-home-scroll > .col.post-item,
	.home .section.rev-mido-blog-home .rev-mido-blog-home-scroll.row > .col.post-item {
		flex: 0 0 min(320px, 36vw) !important;
		max-width: min(320px, 36vw) !important;
		width: min(320px, 36vw) !important;
	}
}

/* Tin tức trang chủ: slider Flickity + mũi tên (giống khối workflow / sản phẩm) */
.home .section.rev-mido-blog-home .slider.row-slider {
	padding-bottom: 8px;
}
.home .section.rev-mido-blog-home .slider.row-slider > .col.post-item,
.home .section.rev-mido-blog-home .row-slider .col.post-item {
	padding-left: 8px;
	padding-right: 8px;
}
.home .section.rev-mido-blog-home .flickity-prev-next-button {
	width: 38px !important;
	height: 38px !important;
	border-radius: 10px !important;
	background: rgba(14, 106, 58, 0.92) !important;
	color: #fff !important;
}
.home .section.rev-mido-blog-home .flickity-prev-next-button:hover {
	background: var(--rev-green-700) !important;
}
.home .section.rev-mido-blog-home .flickity-prev-next-button:disabled {
	opacity: 0.28 !important;
}

.rev-hero h1,
.rev-eco .rev-title h2,
.rev-tools h2,
.rev-final-cta h2,
.rev-archive-hero__name {
	font-family: var(--rev-font-display) !important;
}

/* Giá WooCommerce: gạch xám — giá sale đỏ (khu vực sáng) */
.rev-ai-shop .price del,
.rev-flow .price del,
.archive.woocommerce .product-small.box .price del,
.tax-product_cat .product-small.box .price del,
.single-product .summary .price del {
	color: #888 !important;
	opacity: 1 !important;
}
.rev-ai-shop .price ins,
.rev-flow .price ins,
.archive.woocommerce .price ins,
.tax-product_cat .price ins,
.single-product .summary .price ins {
	color: var(--rev-accent) !important;
	font-weight: 800 !important;
}

/* Single product — khối meta (không còn thẻ); typography đồng bộ + mobile */
.single-product .product_meta {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(10, 26, 16, 0.12);
	font-size: 0.93rem;
	line-height: 1.55;
	color: #4a5b50;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}
.single-product .product_meta .rev-product-meta__sales {
	margin: 0;
}
.single-product .product_meta .sku_wrapper,
.single-product .product_meta .posted_in {
	display: block;
	margin: 0;
	word-break: break-word;
}
.single-product .product_meta .posted_in a {
	color: var(--rev-green-700, #0e6a3a);
	font-weight: 600;
	text-decoration: none;
}
.single-product .product_meta .posted_in a:hover {
	text-decoration: underline;
}
body.rev-product-digital-catalog.single-product .product .summary.entry-summary {
	max-width: 100%;
}
@media (max-width: 849px) {
	.single-product .product_meta {
		font-size: 0.88rem;
		gap: 0.5rem;
		margin-top: 1rem;
		padding-top: 0.85rem;
	}
}

/* Single product — gallery + cột summary song song; gallery không sticky */
@media (min-width: 850px) {
	.single-product div.product > .row {
		align-items: flex-start;
	}
	.single-product .product-gallery.col,
	.single-product .product-images {
		position: static;
		top: auto;
		align-self: flex-start;
	}
}

/*
 * Flatsome layout product.php: cột #product-sidebar.large-2 (~16.7%) vẫn tồn tại khi không có widget.
 * Class `rev-product-summary-no-sidebar` do PHP (is_active_sidebar + ngoại lệ upsell).
 * Giữ :has làm lớp dự phòng khi chưa deploy PHP / trường hợp lạ.
 */
body.rev-product-summary-no-sidebar.single-product #product-sidebar.product-sidebar-small,
.single-product #product-sidebar.product-sidebar-small:not(:has(> *)) {
	display: none !important;
	flex: 0 0 0 !important;
	max-width: 0 !important;
	width: 0 !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden !important;
	border: none !important;
}

/* Summary giãn hết phần ngang còn lại + form/nút full cột (no-sidebar & product.php) */
@media (min-width: 850px) {
	.single-product .product-main .row.content-row > .product-info.summary.col-fit {
		flex: 1 1 0% !important;
		min-width: 0 !important;
		max-width: none !important;
		width: auto !important;
		align-self: stretch;
	}
}
.single-product .product-main .product-info.summary.entry-summary {
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
}
.single-product .product-main .product-info.summary.entry-summary form.cart {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}
.single-product .product-main .product-info.summary.entry-summary form.cart .single_add_to_cart_button {
	width: 100%;
	box-sizing: border-box;
}
/* Flatsome .text-center — bỏ margin auto co khối mô tả / form */
.single-product .product-main .product-info.summary.text-center.entry-summary > .product-short-description,
.single-product .product-main .product-info.summary.text-center.entry-summary > .woocommerce-product-details__short-description,
.single-product .product-main .product-info.summary.text-center.entry-summary > form.cart {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Mô tả ngắn: full bề ngang cột summary (override editor/Gutenberg, text-center Flatsome) */
.single-product .product-info.summary.entry-summary .product-short-description,
.single-product .product-info.summary.entry-summary .woocommerce-product-details__short-description,
.single-product div.product .summary.entry-summary .product-short-description,
.single-product div.product .summary.entry-summary .woocommerce-product-details__short-description,
.single-product .product-stacked-info .product-short-description,
.single-product .product-stacked-info .woocommerce-product-details__short-description {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0;
	margin-left: 0 !important;
	margin-right: 0 !important;
	margin-bottom: 0.85rem;
	margin-top: 0;
	padding: 0 !important;
	overflow: visible;
	font-size: 1rem;
	line-height: 1.65;
	color: inherit;
	align-self: stretch;
}
.single-product .product-info.summary.text-center .product-short-description,
.single-product .product-info.summary.text-center .woocommerce-product-details__short-description {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.single-product .product-info.summary.entry-summary .product-short-description > :first-child,
.single-product .product-info.summary.entry-summary .woocommerce-product-details__short-description > :first-child,
.single-product div.product .summary.entry-summary .product-short-description > :first-child,
.single-product div.product .summary.entry-summary .woocommerce-product-details__short-description > :first-child,
.single-product .product-stacked-info .product-short-description > :first-child,
.single-product .product-stacked-info .woocommerce-product-details__short-description > :first-child {
	margin-top: 0;
}
.single-product .product-info.summary.entry-summary .product-short-description > :last-child,
.single-product .product-info.summary.entry-summary .woocommerce-product-details__short-description > :last-child,
.single-product div.product .summary.entry-summary .product-short-description > :last-child,
.single-product div.product .summary.entry-summary .woocommerce-product-details__short-description > :last-child,
.single-product .product-stacked-info .product-short-description > :last-child,
.single-product .product-stacked-info .woocommerce-product-details__short-description > :last-child {
	margin-bottom: 0;
}
.single-product .product-info.summary.entry-summary .product-short-description p,
.single-product .product-info.summary.entry-summary .woocommerce-product-details__short-description p,
.single-product div.product .summary.entry-summary .product-short-description p,
.single-product div.product .summary.entry-summary .woocommerce-product-details__short-description p,
.single-product .product-stacked-info .product-short-description p,
.single-product .product-stacked-info .woocommerce-product-details__short-description p,
.single-product div.product .summary.entry-summary .product-short-description li,
.single-product div.product .summary.entry-summary .woocommerce-product-details__short-description li,
.single-product .product-stacked-info .product-short-description li,
.single-product .product-stacked-info .woocommerce-product-details__short-description li,
.single-product .product-info.summary.entry-summary .product-short-description li,
.single-product .product-info.summary.entry-summary .woocommerce-product-details__short-description li,
.single-product .product-info.summary.entry-summary .product-short-description .wp-block-group,
.single-product .product-info.summary.entry-summary .woocommerce-product-details__short-description .wp-block-group {
	max-width: none !important;
	width: 100% !important;
}
.single-product .product-info.summary.entry-summary .product-short-description img,
.single-product .product-info.summary.entry-summary .woocommerce-product-details__short-description img,
.single-product div.product .summary.entry-summary .product-short-description img,
.single-product div.product .summary.entry-summary .woocommerce-product-details__short-description img,
.single-product .product-stacked-info .product-short-description img,
.single-product .product-stacked-info .woocommerce-product-details__short-description img {
	max-width: 100% !important;
	height: auto;
}

/* Brand color overrides for Flatsome */
.home.page-id-13686 {
	--primary-color: var(--rev-green-600);
	--fs-color-secondary: var(--rev-green-500);
}

/* ----- HERO -------------------------------------------------------- */
.rev-hero {
	position: relative;
	background:
		radial-gradient(900px 600px at 80% -10%, rgba(26,168,90,0.25), transparent 60%),
		radial-gradient(700px 500px at 10% 110%, rgba(14,106,58,0.4), transparent 55%),
		linear-gradient(160deg, #06140c 0%, #0a1d12 50%, #082917 100%);
	color: #fff;
	overflow: hidden;
}
.rev-hero::before {
	content: "";
	position: absolute; inset: 0;
	background-image: url('../../../uploads/2026/05/dots-pattern.svg');
	background-size: 120px 120px;
	opacity: 0.5;
	pointer-events: none;
}
.rev-hero .rev-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 14px;
	font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
	color: var(--rev-green-300);
	background: rgba(26,168,90,0.12);
	border: 1px solid rgba(26,168,90,0.3);
	border-radius: 99px;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.rev-hero h1 {
	font-size: clamp(2rem, 4.4vw, 3.6rem);
	line-height: 1.1;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 18px;
}
.rev-hero h1 .accent {
	background: linear-gradient(90deg, #7CFFB2, #1AA85A);
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
}
.rev-hero p.lead {
	font-size: clamp(1rem, 1.2vw, 1.15rem);
	color: rgba(255,255,255,0.82);
	line-height: 1.6;
	max-width: 560px;
	margin: 0 0 26px;
}
.rev-hero .rev-cta-row {
	display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.rev-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none !important;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.rev-btn--primary {
	background: linear-gradient(135deg, #1AA85A 0%, #0E6A3A 100%);
	color: #fff !important;
	box-shadow: 0 12px 30px -10px rgba(26,168,90,0.7);
}
.rev-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(26,168,90,0.85); }
.rev-btn--ghost {
	background: rgba(255,255,255,0.06);
	color: #fff !important;
	border: 1px solid rgba(255,255,255,0.22);
}
.rev-btn--ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.rev-hero-stats {
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 18px; margin-top: 44px;
	padding-top: 28px;
	border-top: 1px solid rgba(255,255,255,0.08);
}
.rev-hero-stats .stat strong {
	display: block;
	color: var(--rev-green-300);
	font-size: clamp(1.4rem, 2vw, 1.9rem);
	font-weight: 800;
	line-height: 1;
}
.rev-hero-stats .stat span {
	color: rgba(255,255,255,0.7);
	font-size: 12.5px;
}
@media (max-width: 768px) {
	.rev-hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ----- ECOSYSTEM 6 CARDS ----------------------------------------- */
.rev-eco { background: linear-gradient(180deg, #f7fcf9 0%, #eef7f1 100%); padding: 60px 0 80px; }
.rev-eco .rev-title { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.rev-eco .rev-title h2 {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 800;
	color: #0a1a10;
	margin: 0 0 10px;
}
.rev-eco .rev-title h2 .accent { color: var(--rev-green-600); }
.rev-eco .rev-title p { color: #4a5b50; font-size: 1.05rem; }
.rev-eco-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: 22px;
}
@media (max-width: 980px) { .rev-eco-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .rev-eco-grid { grid-template-columns: 1fr; } }
.rev-eco-card {
	position: relative;
	background: #fff;
	border-radius: 18px;
	padding: 28px 26px 24px;
	border: 1px solid #e3eee7;
	box-shadow: 0 10px 30px -22px rgba(8,81,43,0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	overflow: hidden;
}
.rev-eco-card::before {
	content: "";
	position: absolute; top: 0; left: 0; right: 0; height: 4px;
	background: linear-gradient(90deg, #1AA85A, #0B5A2E);
	transform: scaleX(0); transform-origin: left;
	transition: transform 0.3s ease;
}
.rev-eco-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px -25px rgba(8,81,43,0.5); border-color: var(--rev-green-300); }
.rev-eco-card:hover::before { transform: scaleX(1); }
.rev-eco-card img {
	width: 72px; height: 72px; margin-bottom: 18px;
	border-radius: 18px;
}
.rev-eco-card h3 {
	font-size: 1.2rem;
	font-weight: 800;
	color: #0a1a10;
	margin: 0 0 8px;
}
.rev-eco-card p {
	color: #4f6359;
	font-size: 0.96rem;
	margin: 0 0 16px;
	line-height: 1.5;
	min-height: 70px;
}
.rev-eco-card a.rev-eco-link {
	display: inline-flex; align-items: center; gap: 6px;
	color: var(--rev-green-600);
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
}
.rev-eco-card a.rev-eco-link::after { content: "→"; transition: transform 0.2s ease; }
.rev-eco-card:hover a.rev-eco-link::after { transform: translateX(4px); }

/* ----- AI TOOLS (model showcase) -------------------------------- */
.rev-tools {
	background: linear-gradient(180deg, #08120c 0%, #051207 100%);
	color: #fff;
	padding: 44px 0 52px;
	position: relative;
}
.rev-tools::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url('../../../uploads/2026/05/dots-pattern.svg');
	background-size: 120px;
	opacity: 0.35;
	pointer-events: none;
}
.rev-tools-inner {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}
.rev-tools-heading {
	text-align: center;
	max-width: 900px;
	margin: 0 auto 22px;
}
.rev-tools-title {
	font-size: clamp(1.65rem, 2.8vw, 2.15rem);
	font-weight: 800;
	margin: 0 0 10px;
	line-height: 1.25;
	letter-spacing: -0.02em;
	background: linear-gradient(90deg, #7cffb2, #1aa85a);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.rev-tools-lead {
	margin: 0;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.74);
	font-size: 1.02rem;
	max-width: 52rem;
	margin-left: auto;
	margin-right: auto;
}
.rev-tools-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}
@media (max-width: 1100px) {
	.rev-tools-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}
@media (min-width: 521px) and (max-width: 1100px) {
	.rev-tools {
		padding: 36px 0 44px;
	}
	.rev-tools-inner {
		padding-left: 20px;
		padding-right: 20px;
	}
}
@media (max-width: 520px) {
	.rev-tools {
		padding: 32px 0 40px;
	}
	.rev-tools-inner {
		padding-left: 16px;
		padding-right: 16px;
	}
	.rev-tools-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}
}
.rev-tool {
	position: relative;
	background: var(--rev-card);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 18px 16px 16px;
	text-align: left;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	min-height: 0;
}
.rev-tool:hover {
	background: var(--rev-card-strong);
	border-color: rgba(124, 255, 178, 0.4);
	transform: translateY(-4px);
}
.rev-tool-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0 0 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	flex-shrink: 0;
}
.rev-tool-logo img {
	display: block;
	width: 32px;
	height: 32px;
	max-width: 100%;
	object-fit: contain;
}
.rev-tool-logo--raster {
	width: 52px;
	height: 52px;
}
.rev-tool-logo--raster img {
	width: 40px;
	height: 40px;
}
.rev-tool--herologo .rev-tool-logo--raster img {
	width: 44px;
	height: 44px;
	object-fit: contain;
}
.rev-tool--lightlogo .rev-tool-logo {
	background: #fff;
}
.rev-tool__title {
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 4px;
	line-height: 1.3;
}
.rev-tool__meta {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.82rem;
	line-height: 1.4;
	margin: 0;
}
@media (max-width: 520px) {
	.rev-tool {
		padding: 16px 14px 14px;
		min-height: 44px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.rev-tool {
		transition: none;
	}
	.rev-tool:hover {
		transform: none;
	}
}
.rev-tools-cta {
	text-align: center;
	margin-top: 22px;
}
.rev-tool .rev-tool-badge {
	display: none;
}
/* Legacy: markup cũ dùng h4/small */
.rev-tool h4 {
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 4px;
	line-height: 1.3;
}
.rev-tool small {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.82rem;
	line-height: 1.4;
}

/* ----- Homepage: giảm khoảng trắng giữa các section ---------------- */
.home .rev-hero > div[style*='max-width:1180px'] {
	padding-top: 56px !important;
	padding-bottom: 40px !important;
	gap: 32px !important;
}
@media (max-width: 900px) {
	.home .rev-hero > div[style*='max-width:1180px'] {
		padding-top: 36px !important;
		padding-bottom: 28px !important;
		gap: 24px !important;
		display: flex !important;
		flex-direction: column !important;
	}
}
.rev-hero-stats {
	margin-top: 28px !important;
	padding-top: 18px !important;
}
.rev-eco {
	padding: 44px 0 52px !important;
}
.rev-eco .rev-title {
	margin-bottom: 26px !important;
}
.home .section.rev-ai-shop {
	padding-top: 32px !important;
	padding-bottom: 44px !important;
}
.home .section.rev-flow {
	padding-top: 36px !important;
	padding-bottom: 48px !important;
}
.home .rev-flow .ux_html > div[style*='text-align:center'] {
	margin-bottom: 18px !important;
}
@media (max-width: 849px) {
	.home .rev-flow .row .col {
		flex-basis: 50% !important;
		max-width: 50% !important;
	}
}
@media (max-width: 549px) {
	.home .rev-flow .row .col {
		flex-basis: 100% !important;
		max-width: 100% !important;
	}
}
.home .section.rev-mido-blog-home {
	padding-top: 32px !important;
	padding-bottom: 44px !important;
}
.rev-why {
	padding: 48px 0 56px !important;
}

/* ----- TRANG CHỦ — CÔNG CỤ AI (slider sản phẩm, ảnh 1) ------------ */
.rev-ai-shop {
	background: #fff;
	padding-top: 8px !important;
	padding-bottom: 56px !important;
}
.rev-ai-shop .section-title-container {
	margin-bottom: 10px;
}
.rev-ai-shop .section-title-main {
	font-family: var(--rev-font-display) !important;
	text-transform: none !important;
	letter-spacing: -0.02em !important;
	color: var(--rev-green-600) !important;
	font-weight: 800 !important;
	font-size: clamp(1.55rem, 3vw, 2.25rem) !important;
	line-height: 1.25 !important;
}
.rev-ai-shop .section-title b {
	border-bottom: 1px solid rgba(14, 106, 58, 0.22) !important;
	background: none !important;
	opacity: 1 !important;
}
.rev-ai-shop .section-title.section-title-center span {
	padding: 0 18px !important;
}
.rev-ai-shop .ux_text p,
.rev-ai-shop .col-inner p {
	font-family: var(--rev-font-text) !important;
	color: #5a6b60 !important;
	font-size: 1.05rem !important;
	line-height: 1.55 !important;
	max-width: 720px;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center;
}
.rev-ai-shop .slider-wrapper,
.rev-ai-shop .row-slider {
	margin-top: 8px;
}
.rev-ai-shop .product-small.box {
	border-radius: 16px !important;
	border: 1px solid #e4efe8 !important;
	box-shadow: 0 8px 28px -18px rgba(8, 81, 43, 0.35);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	background: #fff !important;
}
.rev-ai-shop .product-small.box:hover {
	border-color: var(--rev-green-300) !important;
	box-shadow: 0 18px 44px -22px rgba(14, 106, 58, 0.45);
	transform: translateY(-4px);
}
.rev-ai-shop .product-small.box .box-text {
	padding: 14px 14px 16px !important;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.rev-ai-shop .product-small.box .product-title a {
	font-family: var(--rev-font-display) !important;
	font-weight: 700 !important;
	color: var(--rev-green-600) !important;
	line-height: 1.35 !important;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.rev-ai-shop .product-small.box .category-label,
.rev-ai-shop .product-small.box .box-text .uppercase,
.rev-ai-shop .product-small.box .woocommerce-loop-product__category {
	font-family: var(--rev-font-display) !important;
	font-size: 0.68rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em;
	color: #8a9a92 !important;
	text-transform: uppercase !important;
}
.rev-ai-shop .product-small.box .price-wrapper {
	margin-top: 4px;
	margin-bottom: 4px;
}
.rev-ai-shop .product-small.box .add-to-cart-button a {
	font-family: var(--rev-font-display) !important;
	border-radius: 12px !important;
	font-weight: 700 !important;
	font-size: 0.82rem !important;
	padding: 11px 14px !important;
	background: linear-gradient(180deg, #ecf8f1, #dff3e8) !important;
	color: var(--rev-green-700) !important;
	border: 1px solid #c5e9d4 !important;
	box-shadow: none !important;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}
.rev-ai-shop .product-small.box:hover .add-to-cart-button a {
	background: linear-gradient(135deg, #1AA85A 0%, #0E6A3A 100%) !important;
	color: #fff !important;
	border-color: transparent !important;
	transform: translateY(-1px);
}
.rev-ai-shop .badge-inner.secondary .onsale {
	font-family: var(--rev-font-display) !important;
	font-weight: 800 !important;
}
.rev-ai-shop a.button,
.rev-ai-shop .button,
.rev-ai-shop .button.primary {
	font-family: var(--rev-font-display) !important;
	font-weight: 800 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 999px !important;
	padding: 14px 28px !important;
	background: linear-gradient(135deg, #1AA85A 0%, #0E6A3A 100%) !important;
	color: #fff !important;
	border: none !important;
	box-shadow: 0 12px 32px -14px rgba(14, 106, 58, 0.65);
	transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.rev-ai-shop a.button:hover,
.rev-ai-shop .button:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 40px -12px rgba(14, 106, 58, 0.55);
}
.rev-ai-shop .flickity-prev-next-button {
	background: rgba(14, 106, 58, 0.92) !important;
	color: #fff !important;
}
.rev-ai-shop .flickity-prev-next-button:hover {
	background: var(--rev-green-700) !important;
}

/* ----- WORKFLOW — cùng chuẩn thẻ sản phẩm + nút giỏ như .rev-ai-shop */
.rev-flow { padding: 40px 0 52px; background: #fff; }
.rev-flow .rev-title h2 .accent { color: var(--rev-green-600); }
.rev-flow .rev-flow-grid .col { padding: 12px; }
.rev-flow .slider-wrapper,
.rev-flow .row-slider {
	margin-top: 8px;
}
.rev-flow .product-small.box {
	border-radius: 16px !important;
	border: 1px solid #e4efe8 !important;
	box-shadow: 0 8px 28px -18px rgba(8, 81, 43, 0.35);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	background: #fff !important;
}
.rev-flow .product-small.box:hover {
	border-color: var(--rev-green-300) !important;
	box-shadow: 0 18px 44px -22px rgba(14, 106, 58, 0.45);
	transform: translateY(-4px);
}
.rev-flow .product-small.box .box-text {
	padding: 14px 14px 16px !important;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.rev-flow .product-small.box .product-title a {
	font-family: var(--rev-font-display) !important;
	font-weight: 700 !important;
	color: var(--rev-green-600) !important;
	line-height: 1.35 !important;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.rev-flow .product-small.box .category-label,
.rev-flow .product-small.box .box-text .uppercase,
.rev-flow .product-small.box .woocommerce-loop-product__category {
	font-family: var(--rev-font-display) !important;
	font-size: 0.68rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em;
	color: #8a9a92 !important;
	text-transform: uppercase !important;
}
.rev-flow .product-small.box .price-wrapper {
	margin-top: 4px;
	margin-bottom: 4px;
}
.rev-flow .product-small.box .add-to-cart-button a {
	font-family: var(--rev-font-display) !important;
	border-radius: 12px !important;
	font-weight: 700 !important;
	font-size: 0.82rem !important;
	padding: 11px 14px !important;
	background: linear-gradient(180deg, #ecf8f1, #dff3e8) !important;
	color: var(--rev-green-700) !important;
	border: 1px solid #c5e9d4 !important;
	box-shadow: none !important;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}
.rev-flow .product-small.box:hover .add-to-cart-button a {
	background: linear-gradient(135deg, #1AA85A 0%, #0E6A3A 100%) !important;
	color: #fff !important;
	border-color: transparent !important;
	transform: translateY(-1px);
}
.rev-flow .badge-inner.secondary .onsale {
	font-family: var(--rev-font-display) !important;
	font-weight: 800 !important;
}
.rev-flow .flickity-prev-next-button {
	background: rgba(14, 106, 58, 0.92) !important;
	color: #fff !important;
}
.rev-flow .flickity-prev-next-button:hover {
	background: var(--rev-green-700) !important;
}
.rev-flow-cta { text-align: center; margin-top: 24px; }

/* ----- WHY CHOOSE ----------------------------------------------- */
.rev-why { background: var(--rev-green-50); padding: 70px 0 84px; }
.rev-why .rev-title h2 .accent { color: var(--rev-green-600); }
.rev-why .rev-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
@media (max-width: 980px) { .rev-why .rev-why-grid { grid-template-columns: 1fr; } }
.rev-why .rev-why-card {
	background: #fff;
	border-radius: 18px;
	padding: 30px 26px;
	border: 1px solid var(--rev-green-100);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rev-why .rev-why-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -28px rgba(14,106,58,0.45); }
.rev-why .rev-why-card .num {
	display: inline-flex;
	width: 56px; height: 56px;
	background: linear-gradient(135deg, var(--rev-green-500), var(--rev-green-700));
	color: #fff;
	font-weight: 800;
	font-size: 1.3rem;
	border-radius: 16px;
	align-items: center; justify-content: center;
	margin-bottom: 18px;
}
.rev-why h3 { font-size: 1.15rem; font-weight: 800; color: #0a1a10; margin: 0 0 8px; }
.rev-why p { color: #4a5b50; font-size: 0.97rem; line-height: 1.55; margin: 0; }

/* ----- BIG CTA FOOTER ------------------------------------------- */
.rev-final-cta {
	background:
		radial-gradient(700px 400px at 80% 0%, rgba(26,168,90,0.4), transparent 60%),
		linear-gradient(120deg, #052918 0%, #0E6A3A 70%, #1AA85A 130%);
	color: #fff;
	padding: 70px 32px;
	border-radius: 22px;
	text-align: center;
	margin: 40px auto;
	max-width: 1180px;
}
.rev-final-cta h2 {
	color: #fff;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 800;
	margin: 0 0 12px;
}
.rev-final-cta p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin: 0 0 24px; }
.rev-final-cta .rev-cta-row { justify-content: center; }

/* Headers/logo — không khung trắng / padding đè lên pill hoặc badge bên cạnh (Flatsome + ảnh logo upload) */
#header .header_logo > a,
#header #logo.logo > a,
#header .logo-left > a,
#header .logo > a {
	display: inline-flex;
	align-items: center;
	background: transparent !important;
	padding: 0 !important;
	box-shadow: none !important;
}
#header .header_logo img,
#header .header-logo img,
#header #logo img,
#header .logo img {
	max-height: 52px;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
	background: transparent !important;
	padding: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	vertical-align: middle;
}

/* Hide WP page title on home only */
.home.page-id-13686 .page-title, .home.page-id-13686 .entry-header { display: none !important; }
.home.page-id-13686 .page-wrapper { padding-top: 0 !important; padding-bottom: 0 !important; }

/* =======================================================
 * PRODUCT ARCHIVE (Shop & Category) — chuẩn hoá kích thước
 * ======================================================= */
.archive.woocommerce .shop-container,
.archive.woocommerce .page-wrapper {
	padding-top: 32px;
}

/* Tiêu đề danh mục */
.archive.woocommerce .category-page-title,
.archive.woocommerce .shop-page-title {
	background: linear-gradient(135deg, #08512B 0%, #0E6A3A 70%, #1AA85A 130%);
	color: #fff;
	padding: 38px 32px;
	border-radius: 18px;
	margin-bottom: 28px;
	box-shadow: 0 18px 40px -20px rgba(8,81,43,0.45);
}
.archive.woocommerce .category-page-title h1,
.archive.woocommerce .shop-page-title h1,
.archive.woocommerce .category-page-title .breadcrumbs,
.archive.woocommerce .shop-page-title .breadcrumbs {
	color: #fff !important;
}
.archive.woocommerce .category-page-title .breadcrumbs a,
.archive.woocommerce .shop-page-title .breadcrumbs a {
	color: rgba(255,255,255,0.85) !important;
}
.archive.woocommerce h1.shop-page-title,
.archive.woocommerce .category-page-title h1 {
	font-size: clamp(1.5rem, 2.6vw, 2.1rem) !important;
	font-weight: 800;
	margin: 0;
}

/* PRODUCT GRID — aspect-ratio đồng đều 16:9 cho ảnh, chiều cao card đều */
.archive.woocommerce ul.products li.product .product-small.box,
.tax-product_cat .product-small.box,
.archive.woocommerce .product-small.box {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid #e3eee7;
	border-radius: 14px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	background: #fff;
}
.archive.woocommerce .product-small.box:hover,
.tax-product_cat .product-small.box:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 44px -22px rgba(8,81,43,0.45);
	border-color: #1AA85A;
}
/* Frame 16:9: dùng padding-bottom hack + absolute fill (chắc chắn không phụ thuộc layout cha) */
.archive.woocommerce .product-small.box .box-image,
.tax-product_cat .product-small.box .box-image {
	position: relative !important;
	width: 100% !important;
	height: 0 !important;
	padding: 0 !important;
	padding-bottom: 56.25% !important;
	overflow: hidden !important;
	background: #eef9f2 !important;
}
.archive.woocommerce .product-small.box .box-image .image-fade_in_back,
.archive.woocommerce .product-small.box .box-image .image-zoom,
.archive.woocommerce .product-small.box .box-image .image-cover,
.tax-product_cat .product-small.box .box-image .image-fade_in_back,
.archive.woocommerce .product-small.box .box-image .image-fade_in_back > a,
.tax-product_cat .product-small.box .box-image .image-fade_in_back > a {
	position: absolute !important;
	inset: 0 !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	height: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	display: block !important;
}
.archive.woocommerce .product-small.box .box-image img,
.tax-product_cat .product-small.box .box-image img {
	position: absolute !important;
	inset: 0 !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	display: block !important;
}
/* Badge / image-tools overlay vẫn absolute riêng */
.archive.woocommerce .product-small.box .box-image .image-tools,
.tax-product_cat .product-small.box .box-image .image-tools {
	position: absolute !important;
	height: auto !important;
	width: auto !important;
	z-index: 2;
}

/* =======================================================
 * REV ARCHIVE HERO — gộp title + intro thành 1 khối xanh
 * ======================================================= */
/* Ẩn title bar gốc Flatsome trên product taxonomy archive */
body.rev-archive-hero-active .category-page-title,
body.rev-archive-hero-active .shop-page-title,
body.rev-archive-hero-active .term-description {
	display: none !important;
}

/*
 * Hero + strip mặc định: trong .col.large-9 (woocommerce_before_main_content).
 * KHÔNG dùng full-bleed 100vw + calc(50% - 50vw): 50% là theo cột chính, không
 * phải viewport → margin âm kéo hero sang trái, đè sidebar (giống shop taikhoangiare: hero trong cột, không tràn).
 *
 * body.rev-archive-hero-span-row: hero gắn rev_before_category_row — cùng độ rộng .row
 * shop ( bọc .row.row-main > .col > .col-inner trong PHP ), không tràn full viewport.
 */
body.rev-archive-hero-active .rev-archive-hero-wrap {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	position: relative;
	box-sizing: border-box;
	margin-bottom: 20px;
}
body.rev-archive-hero-span-row .rev-archive-hero-wrap {
	margin-bottom: 24px;
}
/* Cùng max-width / gutter Flatsome với hàng danh mục bên dưới */
body.rev-archive-hero-span-row .rev-archive-hero-shell {
	padding-top: 30px;
	box-sizing: border-box;
}
body.rev-archive-hero-span-row .rev-archive-hero-shell > .col > .col-inner {
	padding-bottom: 0;
}
body.rev-archive-hero-active .rev-archive-hero-wrap .rev-archive-hero {
	margin-bottom: 0;
}
body.rev-archive-hero-active .rev-archive-hero-wrap .rev-highlight-strip {
	max-width: none;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	box-sizing: border-box;
}

.rev-archive-hero {
	background:
		radial-gradient(circle at 88% 24%, rgba(110,229,166,0.22), transparent 55%),
		radial-gradient(circle at 12% 95%, rgba(255,255,255,0.10), transparent 60%),
		linear-gradient(115deg, #042817 0%, #07522D 50%, #14934C 130%);
	color: #fff;
	padding: 40px 0 44px;
	margin-bottom: 0;
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	box-shadow: 0 16px 44px -24px rgba(8, 81, 43, 0.42);
}
/* Pattern dot mờ */
.rev-archive-hero::after {
	content: "";
	position: absolute;
	right: -60px;
	top: -60px;
	width: 360px;
	height: 360px;
	background-image: radial-gradient(circle, rgba(255,255,255,0.10) 1.4px, transparent 1.6px);
	background-size: 22px 22px;
	border-radius: 50%;
	pointer-events: none;
	opacity: 0.55;
}
.rev-archive-hero__inner {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 clamp(18px, 4vw, 32px);
	position: relative;
	z-index: 1;
}
.rev-archive-hero .rev-bc {
	font-size: 13px;
	letter-spacing: 0.3px;
	color: rgba(255,255,255,0.78);
	margin-bottom: 12px;
}
.rev-archive-hero .rev-bc a { color: rgba(255,255,255,0.85); text-decoration: none; }
.rev-archive-hero .rev-bc a:hover { color: #fff; text-decoration: underline; }
.rev-archive-hero .rev-bc-sep { margin: 0 8px; color: rgba(255,255,255,0.5); }
.rev-archive-hero__name {
	color: #fff !important;
	font-size: clamp(1.9rem, 3.6vw, 2.7rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 8px;
	letter-spacing: -0.5px;
	max-width: 820px;
}
.rev-archive-hero__name .rev-grad {
	background: linear-gradient(120deg,#a9efc6,#e6fff0,#a9efc6);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.rev-archive-hero__desc {
	color: rgba(255,255,255,0.9);
	max-width: 760px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
/* Ẩn các phần dài trong hero — chỉ giữ lead 1 dòng + 1 CTA chính */
.rev-archive-hero__desc .rev-intro-eyebrow,
.rev-archive-hero__desc h2.rev-intro-title,
.rev-archive-hero__desc .rev-intro-tags {
	display: none !important;
}
.rev-archive-hero__desc .rev-intro-lead {
	color: rgba(255,255,255,0.92);
	font-size: 16px;
	line-height: 1.65;
	margin: 0;
	max-width: 720px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.rev-archive-hero__desc .rev-intro-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: #08512B !important;
	padding: 9px 18px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none !important;
	margin: 4px 8px 0 0;
	transition: transform 0.15s ease, box-shadow 0.2s ease;
	box-shadow: 0 6px 20px -8px rgba(0,0,0,0.35);
}
.rev-archive-hero__desc .rev-intro-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px -12px rgba(0,0,0,0.45);
}
.rev-archive-hero__desc .rev-intro-cta.secondary {
	background: transparent;
	color: #fff !important;
	border: 1.5px solid rgba(255,255,255,0.45);
	box-shadow: none;
}
.rev-archive-hero__desc .rev-intro-cta.secondary:hover {
	border-color: #fff;
	background: rgba(255,255,255,0.08);
}

/* Highlight chip strip — nằm DƯỚI hero, trên product grid (cùng phạm vi cột chính) */
.rev-highlight-strip {
	max-width: 100%;
	margin: 16px 0 24px;
	padding: 14px 18px;
	background: #fff;
	border: 1px solid #e3eee7;
	border-radius: 14px;
	box-shadow: 0 10px 28px -20px rgba(8, 81, 43, 0.22);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	position: relative;
	z-index: 0;
}
.rev-highlight-strip__label {
	font-size: 12px;
	font-weight: 800;
	color: #0E6A3A;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	padding-right: 10px;
	border-right: 1px solid #d2e5d9;
	margin-right: 4px;
}
.rev-highlight-strip__tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f1faf3;
	color: #08512B;
	border: 1px solid #cfe7d8;
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 13px;
	font-weight: 600;
}
.rev-highlight-strip__tag::before {
	content: ""; display: inline-block;
	width: 7px; height: 7px; border-radius: 50%;
	background: linear-gradient(135deg,#1AA85A,#08512B);
}

/* Mobile hero */
@media (max-width: 768px) {
	.rev-archive-hero {
		padding: 28px 0 32px;
		border-radius: 16px;
	}
	.rev-archive-hero__inner {
		padding: 0 16px;
	}
	body.rev-archive-hero-active .rev-archive-hero-wrap .rev-highlight-strip {
		margin: 12px 0 20px;
		max-width: none;
		padding: 12px 14px;
		gap: 6px 8px;
	}
}

/* =======================================================
 * ABOUT PAGE — /ve-chung-toi/ (cũ: /gioi-thieu-cong-ty/)
 * Khối hero trong max-width, không tràn 100vw.
 * ======================================================= */
body.rev-about-page #main,
body.page-gioi-thieu-cong-ty #main,
body.page-id-102498 #main {
	overflow-x: hidden;
}
.rev-about-hero {
	background:
		linear-gradient(145deg, rgba(6, 36, 20, 0.92) 0%, rgba(8, 81, 43, 0.95) 45%, rgba(14, 106, 58, 0.98) 100%),
		linear-gradient(135deg, #042817 0%, #08512b 50%, #1aa85a 130%);
	color: #fff;
	padding: clamp(48px, 6vw, 72px) clamp(20px, 4vw, 40px) clamp(52px, 6vw, 76px);
	border-radius: 24px;
	position: relative;
	overflow: hidden;
	margin: 0 auto 48px;
	max-width: 1180px;
	width: 100%;
	box-shadow:
		0 28px 80px -40px rgba(8, 81, 43, 0.65),
		0 0 0 1px rgba(110, 229, 166, 0.12);
	box-sizing: border-box;
}
/* Huỷ full-blee cũ — hero nằm cùng lưới với nội dung */
body.rev-about-page .rev-about-hero,
body.page-gioi-thieu-cong-ty .rev-about-hero,
body.page-id-102498 .rev-about-hero {
	width: 100%;
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 24px;
}
.rev-about-hero::before {
	content: "";
	position: absolute; inset: 0;
	background:
		radial-gradient(500px circle at 88% 8%, rgba(110, 229, 166, 0.35), transparent 55%),
		radial-gradient(420px circle at 12% 92%, rgba(255, 255, 255, 0.12), transparent 62%);
	pointer-events: none;
}
.rev-about-hero__inner {
	position: relative;
	max-width: 980px;
	margin: 0 auto;
	text-align: center;
}
.rev-about-hero__eyebrow {
	display: inline-block;
	background: rgba(255,255,255,0.15);
	border: 1px solid rgba(255,255,255,0.25);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.2px;
	padding: 6px 14px;
	border-radius: 999px;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.rev-about-hero h1 {
	color: #fff !important;
	font-size: clamp(2rem, 4.5vw, 3.5rem);
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 18px;
	letter-spacing: -0.5px;
}
.rev-about-hero h1 .rev-grad {
	background: linear-gradient(120deg,#6ee5a6,#d8f5e0,#6ee5a6);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.rev-about-hero p {
	color: rgba(255,255,255,0.9);
	font-size: 17px;
	line-height: 1.7;
	margin: 0 auto;
	max-width: 780px;
}

.rev-about-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin: 26px auto 0;
	max-width: 880px;
}
.rev-about-stats > div {
	background: rgba(255,255,255,0.10);
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 14px;
	padding: 14px 12px;
	backdrop-filter: blur(6px);
}
.rev-about-stats strong {
	display: block;
	font-size: clamp(1.2rem, 2.4vw, 1.7rem);
	font-weight: 800;
	color: #fff;
}
.rev-about-stats span {
	font-size: 12px;
	color: rgba(255,255,255,0.78);
	letter-spacing: 0.3px;
}

/* Story section */
.rev-about-section {
	max-width: 1180px;
	margin: 0 auto 60px;
	padding: 0 24px;
}
.rev-about-section h2 {
	color: #08512B;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 800;
	margin: 0 0 14px;
	line-height: 1.2;
}
.rev-about-section .rev-about-eyebrow {
	display: inline-block;
	background: #f1faf3;
	color: #0E6A3A;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1px;
	padding: 5px 12px;
	border-radius: 999px;
	text-transform: uppercase;
	margin-bottom: 12px;
	border: 1px solid #cfe7d8;
}
.rev-about-section p {
	color: #2c3a31;
	font-size: 16px;
	line-height: 1.75;
	margin: 0 0 14px;
}

/* Founder card — ảnh 16:9 */
.rev-founder {
	background: linear-gradient(135deg, #f7fcf9 0%, #e8f5ee 55%, #dff3e8 100%);
	border: 1px solid #c5e9d4;
	border-radius: 24px;
	padding: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 40px);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: clamp(22px, 3vw, 36px);
	align-items: center;
	box-shadow: 0 20px 56px -34px rgba(8, 81, 43, 0.35);
}
.rev-founder__avatar {
	width: 100%;
	max-width: 440px;
	aspect-ratio: 16 / 9;
	height: auto;
	border-radius: 18px;
	background: linear-gradient(135deg, #08512b, #1aa85a);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	letter-spacing: 1px;
	box-shadow: 0 24px 50px -22px rgba(8, 81, 43, 0.45);
	overflow: hidden;
}
.rev-founder__avatar:has(.rev-founder__photo) {
	background: #0a1a10;
	padding: 0;
}
.rev-founder__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 15%;
	border-radius: 18px;
	display: block;
}
.rev-founder__name { color: #08512B; font-size: 1.5rem; font-weight: 800; margin: 0 0 4px; }
.rev-founder__role { color: #0E6A3A; font-weight: 600; font-size: 14px; letter-spacing: 0.4px; margin-bottom: 14px; }
.rev-founder__quote {
	color: #1a2a20;
	font-size: 17px;
	line-height: 1.7;
	font-style: italic;
	border-left: 4px solid #1AA85A;
	padding-left: 16px;
	margin: 0;
}

/* 6-pillar grid */
.rev-pillars {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.rev-pillars__card {
	background: #fff;
	border: 1px solid #e3eee7;
	border-radius: 18px;
	padding: 24px 22px;
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
	display: flex; flex-direction: column;
}
.rev-pillars__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 44px -22px rgba(8,81,43,0.4);
	border-color: #1AA85A;
}
.rev-pillars__num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px;
	border-radius: 12px;
	background: linear-gradient(135deg,#1AA85A,#0E6A3A);
	color: #fff;
	font-weight: 800;
	font-size: 18px;
	margin-bottom: 14px;
}
.rev-pillars__title { color: #08512B; font-size: 1.05rem; font-weight: 800; margin: 0 0 8px; }
.rev-pillars__desc  { color: #4a5b51; font-size: 14px; line-height: 1.65; flex: 1; margin: 0 0 14px; }
.rev-pillars__link {
	color: #0E6A3A; font-weight: 700; font-size: 14px;
	text-decoration: none;
}
.rev-pillars__link:hover { color: #08512B; text-decoration: underline; }

/* Press section */
.rev-press {
	background: linear-gradient(135deg,#f1faf3 0%,#ffffff 100%);
	border: 1px solid #cfe7d8;
	border-radius: 22px;
	padding: 44px 36px;
}
.rev-press__head { text-align: center; margin-bottom: 28px; }
.rev-press__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}
.rev-press__card {
	background: #fff;
	border: 1px solid #e3eee7;
	border-radius: 16px;
	padding: 24px 22px;
	display: flex; flex-direction: column;
	gap: 10px;
	transition: transform 0.2s, box-shadow 0.2s;
}
.rev-press__card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(8,81,43,0.35); }
.rev-press__source {
	display: inline-flex; align-items: center; gap: 8px;
	color: #08512B; font-weight: 800; font-size: 13px;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}
.rev-press__source::before {
	content: ""; display: inline-block;
	width: 8px; height: 8px; border-radius: 50%;
	background: #1AA85A;
}
.rev-press__title {
	color: #0a1a10; font-size: 18px; font-weight: 800;
	line-height: 1.3; margin: 0;
}
.rev-press__excerpt {
	color: #4a5b51; font-size: 14px; line-height: 1.65; margin: 0;
}
.rev-press__link {
	color: #0E6A3A; font-weight: 700; font-size: 14px;
	text-decoration: none;
	margin-top: auto;
}
.rev-press__link:hover { color: #08512B; text-decoration: underline; }

.rev-about-cta {
	background: linear-gradient(135deg,#08512B 0%,#1AA85A 100%);
	color: #fff;
	border-radius: 22px;
	padding: 50px 36px;
	text-align: center;
	margin: 60px auto;
	max-width: 1180px;
}
.rev-about-cta h3 {
	color: #fff !important;
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	font-weight: 800;
	margin: 0 0 12px;
}
.rev-about-cta p { color: rgba(255,255,255,0.9); margin: 0 0 20px; }
.rev-about-cta .btn {
	display: inline-block;
	background: #fff;
	color: #08512B !important;
	padding: 12px 26px;
	border-radius: 10px;
	font-weight: 800;
	margin: 0 6px;
	text-decoration: none !important;
}
.rev-about-cta .btn.ghost {
	background: transparent;
	color: #fff !important;
	border: 2px solid rgba(255,255,255,0.5);
}

/* Mobile */
@media (max-width: 768px) {
	.rev-about-hero { padding: 48px 18px 52px; border-radius: 18px; }
	.rev-about-stats { grid-template-columns: repeat(2, 1fr); }
	.rev-founder { grid-template-columns: 1fr; text-align: center; padding: 28px 20px; }
	.rev-founder__avatar { max-width: 100%; margin: 0 auto; aspect-ratio: 16 / 9; font-size: 2.5rem; }
	.rev-founder__quote { text-align: left; }
	.rev-pillars { grid-template-columns: 1fr; }
	.rev-press__grid { grid-template-columns: 1fr; }
}

/* =======================================================
 * FOOTER REVID API — phiên bản v2 (đẹp hơn, cân đối hơn)
 * Ẩn cột Liên hệ cũ (DB/UX chưa đồng bộ — "LIÊN HỆ: REVIDAPI" + SĐT…)
 * ======================================================= */
.rev-footer > .rev-footer__contact,
.rev-footer-section .rev-footer__contact,
.footer-sec .rev-footer__contact {
	display: none !important;
}
.rev-footer-section {
	background:
		radial-gradient(800px circle at 85% 0%, rgba(26,168,90,0.18), transparent 60%),
		radial-gradient(600px circle at 5% 100%, rgba(110,229,166,0.10), transparent 70%),
		linear-gradient(180deg, #062414 0%, #04190d 100%) !important;
	border-top: 1px solid rgba(110,229,166,0.18);
}

/*
 * Footer UX block (Flatsome): khi DB còn layout cũ hoặc [row] full-bleed — ô .row vào ~1180px.
 * (Sau khi sync Revid footer, rev-footer / CTA vẫn dùng max-width riêng.)
 */
#footer.footer-wrapper .footer-sec > .section-bg,
#footer.footer-wrapper .footer-sec > .section-content {
	box-sizing: border-box;
}
#footer.footer-wrapper .footer-sec .row {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

/* CTA band trên cùng footer */
.rev-footer-cta {
	max-width: 1180px;
	margin: 0 auto 40px;
	padding: 28px 32px;
	background: linear-gradient(135deg, #0E6A3A 0%, #1AA85A 100%);
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	box-shadow: 0 24px 60px -30px rgba(26,168,90,0.7);
}
.rev-footer-cta h3 {
	color: #fff !important;
	font-size: clamp(1.1rem, 2vw, 1.5rem);
	font-weight: 800;
	margin: 0 0 4px;
	line-height: 1.3;
}
.rev-footer-cta p {
	color: rgba(255,255,255,0.88);
	font-size: 14px;
	margin: 0;
}
.rev-footer-cta__buttons { display: flex; gap: 10px; flex-shrink: 0; }
.rev-footer-cta__buttons a {
	display: inline-flex; align-items: center;
	background: #fff;
	color: #08512B !important;
	padding: 12px 22px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none !important;
	transition: transform 0.15s ease;
}
.rev-footer-cta__buttons a:hover { transform: translateY(-2px); }
.rev-footer-cta__buttons .ghost {
	background: transparent;
	color: #fff !important;
	border: 1.5px solid rgba(255,255,255,0.5);
}

/* Grid 4 cột (không cột Liên hệ riêng — gom vào brand + menu Hỗ trợ) */
.rev-footer {
	max-width: 1180px !important;
	margin: 0 auto !important;
	padding: 0 24px 24px !important;
	display: grid !important;
	grid-template-columns: 1.65fr 1fr 1fr 1fr !important;
	gap: 36px 28px !important;
	color: #d6e3dc !important;
	font-family: var(--rev-font-text), system-ui, sans-serif !important;
}

.rev-footer__brand img {
	max-width: 150px !important;
	height: auto !important;
	margin: 0 0 16px !important;
	background: #fff;
	padding: 8px 10px;
	border-radius: 10px;
	box-shadow: 0 6px 16px -8px rgba(0,0,0,0.4);
}
.rev-footer__brand p {
	color: #a3b9af !important;
	font-size: 14px !important;
	line-height: 1.7 !important;
	margin: 0 0 18px !important;
	max-width: 320px;
}

/* Social inline — fix vital bug */
.rev-footer__social {
	display: flex !important;
	flex-direction: row !important;
	gap: 10px !important;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	flex-wrap: wrap;
}
.rev-footer__social li {
	margin: 0 !important;
	padding: 0 !important;
	display: inline-flex !important;
	width: auto !important;
}
.rev-footer__social a {
	width: 40px !important;
	height: 40px !important;
	border-radius: 12px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: rgba(110,229,166,0.10) !important;
	color: #6ee5a6 !important;
	text-decoration: none !important;
	font-size: 16px !important;
	border: 1px solid rgba(110,229,166,0.2);
	transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.rev-footer__social a:hover {
	background: #1AA85A !important;
	color: #fff !important;
	transform: translateY(-3px);
	border-color: #1AA85A;
}
.rev-footer__social i { font-size: 16px; line-height: 1; }
/* Flatsome không có glyph Zalo — dùng nhãn chữ */
.rev-footer__social a.rev-footer__social-link--text {
	width: auto !important;
	min-width: 46px;
	padding: 0 12px !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}
.rev-footer__social a.rev-footer__social-link--text span {
	line-height: 1;
}

.rev-footer h4 {
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	letter-spacing: 1px !important;
	margin: 6px 0 18px !important;
	text-transform: uppercase !important;
	position: relative;
	padding-bottom: 10px;
}
.rev-footer h4::after {
	content: ""; position: absolute;
	left: 0; bottom: 0;
	width: 28px; height: 2px;
	background: linear-gradient(90deg, #1AA85A, transparent);
}
.rev-footer ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.rev-footer ul li { margin-bottom: 10px !important; }
.rev-footer ul a {
	color: #b9cbc1 !important;
	text-decoration: none !important;
	font-size: 14px !important;
	transition: color 0.15s ease, padding 0.15s ease;
	display: inline-block;
}
.rev-footer ul a:hover {
	color: #6ee5a6 !important;
	padding-left: 4px;
}

.rev-footer__contact p {
	color: #b9cbc1 !important;
	font-size: 14px !important;
	line-height: 1.75 !important;
	margin: 0 0 8px !important;
}
.rev-footer__contact-box {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(110, 229, 166, 0.16);
	border-radius: 14px;
	padding: 14px 16px 12px;
	margin-top: 4px;
}
.rev-footer__contact-box p {
	margin: 0 0 10px !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
	color: #c5d5cc !important;
}
.rev-footer__contact-box p:last-child {
	margin-bottom: 0 !important;
}
.rev-footer__contact-box a {
	color: #8cf0b8 !important;
	font-weight: 600;
}
.rev-footer__contact-phones {
	letter-spacing: 0.02em;
}
.rev-footer__contact-hours {
	font-size: 12px !important;
	color: #8aa99a !important;
	padding-top: 10px;
	margin-top: 2px !important;
	border-top: 1px solid rgba(110, 229, 166, 0.14);
}
.rev-footer__contact-compact {
	line-height: 1.5 !important;
	margin-bottom: 6px !important;
	font-size: 13px !important;
}
.rev-footer__contact-compact.rev-footer__contact-socials {
	margin-bottom: 4px !important;
	opacity: 0.95;
}
.rev-footer__contact a { color: #6ee5a6 !important; text-decoration: none !important; }
.rev-footer__contact a:hover { text-decoration: underline !important; }
.rev-footer__contact strong { color: #fff !important; font-weight: 700 !important; }
.rev-footer__contact-k {
	display: block;
	font-size: 11px !important;
	font-weight: 800 !important;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #6ee5a6 !important;
	margin-bottom: 3px;
	opacity: 0.9;
}
.rev-footer__contact-row {
	margin-bottom: 14px !important;
}
.rev-footer__contact-row:last-of-type {
	margin-bottom: 0 !important;
}
.rev-footer__contact-note {
	margin: 12px 0 0 !important;
	padding-top: 12px;
	border-top: 1px solid rgba(110, 229, 166, 0.14);
	font-size: 12px !important;
	color: #8aa99a !important;
}

.rev-footer-copy {
	max-width: 1180px;
	margin: 24px auto 0 !important;
	padding: 20px 24px 0 !important;
	border-top: 1px solid rgba(110,229,166,0.12);
	color: #7d958a;
	font-size: 13px;
	text-align: center;
}
.rev-footer-copy a { color: #6ee5a6; text-decoration: none; }
.rev-footer-copy a:hover { text-decoration: underline; }

@media (max-width: 992px) {
	.rev-footer-cta { padding: 22px 22px; flex-direction: column; text-align: center; }
	.rev-footer { grid-template-columns: 1fr 1fr !important; gap: 32px 22px !important; }
	.rev-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.rev-footer { grid-template-columns: 1fr !important; }
}

/* Ẩn live notification của kdn-auto-leech (góc dưới-trái che footer) */
.kdn-live-notify, .live-shopping-notify, .kdn-auto-leech-notify,
[id*="live-notify"], [class*="live-notify"] {
	display: none !important;
}
.absolute-footer.dark { background: transparent !important; }
.archive.woocommerce .product-small.box .box-text,
.tax-product_cat .product-small.box .box-text {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 14px 14px 16px !important;
	gap: 6px;
}
.archive.woocommerce .product-small.box .product-title a,
.tax-product_cat .product-small.box .product-title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em;
	font-weight: 700 !important;
	color: #0a1a10 !important;
}
.archive.woocommerce .product-small.box .price-wrapper,
.tax-product_cat .product-small.box .price-wrapper {
	margin: 4px 0 8px;
}
.archive.woocommerce .product-small.box .add-to-cart-button,
.tax-product_cat .product-small.box .add-to-cart-button {
	margin-top: auto;
}
.archive.woocommerce .product-small.box .add-to-cart-button a,
.tax-product_cat .product-small.box .add-to-cart-button a,
.home .product-small.box .add-to-cart-button a,
.rev-eco ~ .products .product-small.box .add-to-cart-button a,
.woocommerce .product-small.box .add-to-cart-button a.button {
	display: block;
	background: linear-gradient(135deg, #1AA85A 0%, #0E6A3A 100%) !important;
	color: #fff !important;
	border-radius: 10px !important;
	border: 0 !important;
	padding: 10px 14px !important;
	font-weight: 700 !important;
	font-family: var(--rev-font-text) !important;
	font-size: 0.72rem !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	text-align: center !important;
	transition: filter 0.2s ease, transform 0.2s ease;
}
.archive.woocommerce .product-small.box .add-to-cart-button a:hover,
.tax-product_cat .product-small.box .add-to-cart-button a:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

/* Sale badge */
.archive.woocommerce .badge-inner.secondary,
.tax-product_cat .badge-inner.secondary {
	background: linear-gradient(135deg, #1AA85A, #0E6A3A) !important;
	color: #fff !important;
}

/* SIDEBAR — gọn, chỉ giữ top-level categories */
.archive.woocommerce #shop-sidebar .widget_product_categories ul.children {
	display: none !important;
}
.archive.woocommerce #shop-sidebar .widget {
	background: #f7fcf9;
	border: 1px solid #e3eee7;
	padding: 18px 18px 14px;
	border-radius: 14px;
	margin-bottom: 16px;
}
.archive.woocommerce #shop-sidebar .widget-title {
	font-weight: 800 !important;
	font-size: 14px !important;
	color: #08512B !important;
	letter-spacing: 0.5px;
	margin-bottom: 12px !important;
	padding-bottom: 8px;
	border-bottom: 1px solid #d2e5d9;
}
.archive.woocommerce #shop-sidebar ul.product-categories li {
	padding: 4px 0;
}
.archive.woocommerce #shop-sidebar ul.product-categories li a {
	color: #0a1a10;
	font-weight: 500;
}
.archive.woocommerce #shop-sidebar ul.product-categories li.current-cat > a {
	color: #0E6A3A !important;
	font-weight: 800;
}

/* Mobile */
@media (max-width: 768px) {
	.archive.woocommerce .product-small.box .box-image,
	.tax-product_cat .product-small.box .box-image {
		padding-bottom: 56.25% !important;
	}
	.archive.woocommerce .category-page-title,
	.archive.woocommerce .shop-page-title {
		padding: 24px 18px;
		border-radius: 12px;
	}
	.archive.woocommerce .term-description {
		padding: 22px 18px;
		border-radius: 12px;
	}
}

/* ----- Mido-style: Tin tức (trang chủ + archive) & Liên hệ ---------------- */
.rev-mido-news-archive-intro {
	max-width: 720px;
	margin: 0 auto 28px;
	padding: 8px 16px 0;
	text-align: center;
}
.rev-mido-news-archive-intro__title {
	font-family: var(--rev-font-display) !important;
	font-size: clamp(1.85rem, 3.2vw, 2.45rem) !important;
	font-weight: 800 !important;
	color: #0a1a10 !important;
	margin: 0 0 10px !important;
	letter-spacing: -0.02em;
}
.rev-mido-news-archive-intro__lead {
	margin: 0 auto !important;
	max-width: 640px;
	color: #5a6b60 !important;
	font-size: 1.05rem !important;
	line-height: 1.55 !important;
}
.rev-mido-news-archive-intro--taxonomy .rev-mido-news-bc {
	margin-bottom: 8px;
}
.rev-mido-news-bc {
	display: block;
	font-size: 0.92rem;
	color: #8a9a92;
	margin: 0 0 6px;
	font-weight: 500;
}
.rev-mido-news-bc a {
	color: #5a6b60 !important;
	text-decoration: none !important;
}
.rev-mido-news-bc a:hover {
	color: #0e6a3a !important;
	text-decoration: underline !important;
}
.rev-mido-news-bc__sep {
	margin: 0 6px;
	color: #b5c4bb;
}
.rev-mido-news-bc__current {
	color: #6b7f74;
}
.rev-mido-news-bc--center {
	text-align: center;
}
.rev-mido-news-page-head {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 12px;
	text-align: center;
}
.rev-mido-news-page-head__title {
	font-family: var(--rev-font-display) !important;
	font-size: clamp(1.85rem, 3.2vw, 2.45rem) !important;
	font-weight: 800 !important;
	color: #0a1a10 !important;
	margin: 10px 0 12px !important;
	letter-spacing: -0.02em;
	line-height: 1.2 !important;
}
.rev-mido-news-page-head__lead {
	margin: 0 auto !important;
	max-width: 640px;
	color: #5a6b60 !important;
	font-size: 1.05rem !important;
	line-height: 1.55 !important;
}
.rev-mido-news-archive .from_the_blog_excerpt,
.rev-mido-blog-home .from_the_blog_excerpt {
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	overflow: hidden !important;
	line-height: 1.5 !important;
	color: #5a6b60 !important;
	font-size: 0.95rem !important;
	margin: 0 !important;
}
.rev-mido-news-archive .excerpt,
.rev-mido-news-archive .entry-summary,
.rev-mido-news-archive .post-excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
body.rev-mido-news-archive:not(.rev-news-magazine):not(.woocommerce) .cat-label {
	display: none !important;
}
body.rev-mido-news-archive:not(.rev-news-magazine) #content .large-10.col {
	flex-basis: 100% !important;
	max-width: 1180px !important;
	width: 100% !important;
}
.rev-mido-blog-home .badge.post-date,
.rev-mido-news-archive .badge.post-date {
	display: block !important;
}
.rev-mido-blog-home .badge.post-date .badge-inner,
.rev-mido-news-archive .badge.post-date .badge-inner,
.rev-mido-blog-home .badge.post-date.badge-outline .badge-inner,
.rev-mido-news-archive .badge.post-date.badge-outline .badge-inner {
	background: linear-gradient(180deg, #0e6a3a, #08512b) !important;
	color: #fff !important;
	border: none !important;
	box-shadow: 0 6px 16px -8px rgba(8, 81, 43, 0.6);
	border-radius: 4px !important;
	min-width: 44px;
	text-align: center;
	padding: 8px 6px 6px !important;
	line-height: 1.15;
}
.rev-mido-blog-home .badge.post-date .post-date-month,
.rev-mido-news-archive .badge.post-date .post-date-month {
	color: rgba(255, 255, 255, 0.92) !important;
	text-transform: capitalize;
}
/* Thẻ bài: chỉ áp cho khối blog trên trang chủ (section); archive dùng layout riêng bên dưới */
.section.rev-mido-blog-home .post-item > .col-inner {
	border: 1px solid #e4efe8 !important;
	border-radius: 14px !important;
	overflow: hidden;
	background: #fff !important;
	box-shadow: 0 8px 28px -20px rgba(8, 81, 43, 0.35);
	transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.section.rev-mido-blog-home .post-item > .col-inner:hover {
	border-color: #c5e9d4 !important;
	box-shadow: 0 18px 44px -24px rgba(14, 106, 58, 0.4);
	transform: translateY(-3px);
}
.section.rev-mido-blog-home .post-item .box-blog-post {
	border-radius: 14px;
	overflow: hidden;
}
.rev-mido-blog-home .post-title,
.rev-mido-news-archive .post-title,
.rev-mido-blog-home .entry-title,
.rev-mido-news-archive .entry-title {
	font-family: var(--rev-font-display) !important;
}
.rev-mido-blog-home .post-title a,
.rev-mido-news-archive .post-title a,
.rev-mido-blog-home .entry-title a,
.rev-mido-news-archive .entry-title a,
.section.rev-mido-news-archive h5.post-title a {
	display: inline !important;
	line-height: 1.35 !important;
	font-weight: 700 !important;
	color: #0a1a10 !important;
	font-size: 1.05rem !important;
	transition: color 0.15s ease;
	-webkit-line-clamp: unset !important;
	max-height: none !important;
}
.rev-mido-blog-home h5.post-title,
.rev-mido-news-archive h5.post-title,
.section.rev-mido-news-archive h5.post-title {
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	overflow: hidden !important;
	line-height: 1.35 !important;
	max-height: 2.85em !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
	min-height: 0 !important;
	word-break: break-word;
}
.rev-mido-blog-home .post-title a:hover,
.rev-mido-news-archive .post-title a:hover,
.rev-mido-blog-home .entry-title a:hover,
.rev-mido-news-archive .entry-title a:hover,
.section.rev-mido-news-archive h5.post-title a:hover {
	color: #0e6a3a !important;
}
.rev-mido-blog-home .box-blog-post .image-cover .rev-news-placeholder-img,
.rev-mido-news-archive .box-blog-post .image-cover .rev-news-placeholder-img,
.rev-mido-blog-home .box-blog-post .image-cover img,
.rev-mido-news-archive .box-blog-post .image-cover img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}
.rev-mido-blog-home .post-item .col-inner:has(.box-blog-post:not(:has(.box-image)))::before,
.rev-mido-news-archive .post-item .col-inner:has(.box-blog-post:not(:has(.box-image)))::before,
.section.rev-mido-news-archive .post-item .col-inner:has(.box-blog-post:not(:has(.box-image)))::before {
	content: '';
	display: block;
	width: 100%;
	padding-bottom: 56.25%;
	background: linear-gradient(135deg, #ecf8f1 0%, #c5e9d4 100%);
	border-radius: 14px 14px 0 0;
}
.rev-mido-blog-home .from_the_blog_comments,
.rev-mido-news-archive .from_the_blog_comments {
	display: none !important;
}
.rev-mido-blog-home .box-text,
.rev-mido-news-archive .box-text {
	padding: 16px 18px 18px !important;
}
.rev-mido-blog-home .is-divider,
.rev-mido-news-archive .is-divider {
	display: none !important;
}

/* ----- Tin tức archive: feed dạng thẻ ngang (blog mặc định; không áp cho magazine tin-tuc-mido) ----- */
body.rev-mido-news-archive:not(.rev-news-magazine) {
	background: #f2f4f3;
}
body.rev-mido-news-archive:not(.rev-news-magazine) #content.blog-wrapper {
	background: transparent;
}
body.rev-mido-news-archive:not(.rev-news-magazine) .rev-mido-news-archive-intro,
body.rev-mido-news-archive:not(.rev-news-magazine) .rev-mido-news-archive-intro--taxonomy {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 28px;
	padding: 26px 28px 24px;
	text-align: center;
	background: #fff;
	border: 1px solid rgba(20, 20, 19, 0.08);
	border-radius: 16px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
body.rev-mido-news-archive:not(.rev-news-magazine) .rev-mido-news-archive-intro__title {
	margin-top: 4px !important;
}
body.rev-mido-news-archive:not(.rev-news-magazine) #content [class*='large-columns-'].row {
	display: flex !important;
	flex-direction: column !important;
	row-gap: 16px !important;
}
body.rev-mido-news-archive:not(.rev-news-magazine) #content [class*='large-columns-'].row > .col.post-item {
	flex: 0 0 auto !important;
	width: 100% !important;
	max-width: 820px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-bottom: 0 !important;
}
body.rev-mido-news-archive:not(.rev-news-magazine) .post-item > .col-inner {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	transform: none !important;
}
body.rev-mido-news-archive:not(.rev-news-magazine) .post-item > .col-inner:hover {
	box-shadow: none !important;
	transform: none !important;
}
@media screen and (min-width: 768px) {
	body.rev-mido-news-archive:not(.rev-news-magazine) .post-item .box-blog-post {
		display: flex !important;
		flex-direction: row !important;
		align-items: stretch !important;
		border: 1px solid rgba(20, 20, 19, 0.08) !important;
		border-radius: 14px !important;
		background: #fff !important;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
		overflow: hidden !important;
		transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
	}
	body.rev-mido-news-archive:not(.rev-news-magazine) .post-item .box-blog-post:hover {
		box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
		border-color: rgba(14, 106, 58, 0.22) !important;
	}
	body.rev-mido-news-archive:not(.rev-news-magazine) .post-item .box-blog-post .box-image {
		flex: 0 0 38%;
		width: 38% !important;
		max-width: 300px;
		position: relative;
		align-self: stretch;
		min-height: 168px;
	}
	body.rev-mido-news-archive:not(.rev-news-magazine) .post-item .box-blog-post .box-image .image-cover {
		position: absolute !important;
		inset: 0 !important;
		width: 100% !important;
		height: 100% !important;
		padding-top: 0 !important;
		margin: 0 !important;
	}
	body.rev-mido-news-archive:not(.rev-news-magazine) .post-item .box-blog-post .box-image .image-cover img,
	body.rev-mido-news-archive:not(.rev-news-magazine) .post-item .box-blog-post .box-image .image-cover .rev-news-placeholder-img {
		min-height: 168px !important;
		height: 100% !important;
	}
	body.rev-mido-news-archive:not(.rev-news-magazine) .post-item:first-child .box-blog-post .box-image {
		flex-basis: 42%;
		max-width: 360px;
	}
	body.rev-mido-news-archive:not(.rev-news-magazine) .post-item:first-child .box-blog-post .box-image,
	body.rev-mido-news-archive:not(.rev-news-magazine) .post-item:first-child .box-blog-post .box-image .image-cover {
		min-height: 200px !important;
	}
	body.rev-mido-news-archive:not(.rev-news-magazine) .post-item .box-blog-post .box-text {
		flex: 1;
		text-align: left !important;
		padding: 20px 22px 22px !important;
		justify-content: center;
		display: flex;
		flex-direction: column;
	}
	body.rev-mido-news-archive:not(.rev-news-magazine) .post-item:first-child h5.post-title a {
		font-size: 1.2rem !important;
	}
}
@media screen and (max-width: 767px) {
	body.rev-mido-news-archive:not(.rev-news-magazine) .post-item .box-blog-post {
		border: 1px solid rgba(20, 20, 19, 0.08) !important;
		border-radius: 14px !important;
		background: #fff !important;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
		overflow: hidden !important;
	}
}
body.rev-mido-news-archive:not(.rev-news-magazine) .post-item .box-blog-post:not(:has(.box-image)) {
	background: linear-gradient(135deg, #ecf8f1 0%, #dceee4 100%) !important;
	min-height: 120px;
}
body.rev-mido-news-archive:not(.rev-news-magazine) .post-item .col-inner:has(.box-blog-post:not(:has(.box-image)))::before {
	display: none !important;
}
body.rev-mido-news-archive:not(.rev-news-magazine) .from_the_blog_excerpt {
	-webkit-line-clamp: 3 !important;
	font-size: 0.92rem !important;
	line-height: 1.55 !important;
}
body.rev-mido-news-archive:not(.rev-news-magazine) .flatsome-pagination,
body.rev-mido-news-archive:not(.rev-news-magazine) nav.pagination,
body.rev-mido-news-archive:not(.rev-news-magazine) ul.page-numbers {
	margin-top: 28px !important;
}

/* ----- Magazine tin tức (news.revidapi.com): hero + cột phải + spotlight + feed ----- */
body.rev-news-magazine {
	background: #f7f5f2 !important;
	font-family: var(--rev-font-text), system-ui, sans-serif !important;
}
body.rev-news-magazine #wrapper,
body.rev-news-magazine .header-wrapper,
body.rev-news-magazine .header-main,
body.rev-news-magazine .header-bottom,
body.rev-news-magazine .footer-wrapper {
	font-family: var(--rev-font-text), system-ui, sans-serif !important;
}
body.rev-news-magazine #content.rev-news-mag-wrap {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 24px 16px 48px;
	background: transparent;
	font-family: inherit !important;
}
.rev-news-mag,
.rev-news-mag p,
.rev-news-mag span,
.rev-news-mag li,
.rev-news-mag a,
.rev-news-mag time,
.rev-news-mag input,
.rev-news-mag button {
	font-family: var(--rev-font-text), system-ui, sans-serif !important;
	color: #171717;
}
body.rev-news-magazine .rev-news-mag [class*='__title'],
body.rev-news-magazine .rev-news-mag .rev-news-mag-badge,
body.rev-news-magazine .rev-news-mag .rev-news-mag-tab {
	font-family: var(--rev-font-display), system-ui, sans-serif !important;
}
.rev-news-mag__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
	align-items: start;
}
@media screen and (min-width: 1024px) {
	.rev-news-mag__layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		column-gap: 28px;
	}
}
.rev-news-mag__aside {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
@media screen and (min-width: 1024px) {
	.rev-news-mag__aside {
		position: sticky;
		top: 5.5rem;
		max-height: calc(100vh - 6rem);
		overflow: auto;
	}
}
.rev-news-mag-hero {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}
@media screen and (min-width: 768px) {
	.rev-news-mag-hero {
		grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.85fr);
		gap: 16px;
	}
}
.rev-news-mag-hero__main {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(20, 20, 19, 0.08);
	min-height: 280px;
	background: linear-gradient(135deg, #e8e8e6, #d4d2cd);
}
.rev-news-mag-hero__slide {
	display: block;
	position: relative;
	min-height: 300px;
	color: inherit;
	text-decoration: none !important;
}
@media screen and (min-width: 768px) {
	.rev-news-mag-hero__slide {
		min-height: 420px;
	}
}
.rev-news-mag-hero__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}
.rev-news-mag-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 45%, transparent 100%);
	pointer-events: none;
}
.rev-news-mag-hero__cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 52px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: flex-start;
}
@media screen and (min-width: 768px) {
	.rev-news-mag-hero__cap {
		padding: 64px 24px 24px;
	}
}
.rev-news-mag-hero__title {
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.3;
	color: #fff;
	letter-spacing: -0.02em;
}
@media screen and (min-width: 768px) {
	.rev-news-mag-hero__title {
		font-size: clamp(1.25rem, 2vw, 1.65rem);
	}
}
.rev-news-mag-hero__author {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.72);
}
.rev-news-mag-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
	letter-spacing: 0.01em;
}
.rev-news-mag-badge--glass {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	backdrop-filter: blur(8px);
}
.rev-news-mag-hero__stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.rev-news-mag-stack-card {
	position: relative;
	display: block;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(20, 20, 19, 0.08);
	min-height: 120px;
	text-decoration: none !important;
	color: inherit;
	flex: 1;
}
.rev-news-mag-stack-card__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}
.rev-news-mag-stack-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%);
	pointer-events: none;
}
.rev-news-mag-stack-card__cap {
	position: relative;
	z-index: 2;
	padding: 52px 14px 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: flex-start;
	min-height: 100%;
}
.rev-news-mag-stack-card__title {
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.rev-news-mag-spotlight {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-top: 4px;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(20, 20, 19, 0.08);
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	text-decoration: none !important;
	color: inherit;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
@media screen and (min-width: 640px) {
	.rev-news-mag-spotlight {
		flex-direction: row;
		align-items: stretch;
	}
}
.rev-news-mag-spotlight:hover {
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.07);
	border-color: rgba(20, 20, 19, 0.12);
}
.rev-news-mag-spotlight__thumb {
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	min-height: 180px;
	background: linear-gradient(135deg, #eceae6, #dad6cf);
}
@media screen and (min-width: 640px) {
	.rev-news-mag-spotlight__thumb {
		width: 38%;
		max-width: 320px;
		min-height: 160px;
	}
}
.rev-news-mag-spotlight__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 180px;
}
.rev-news-mag-spotlight__feat {
	position: absolute;
	top: 12px;
	left: 12px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.06em;
	padding: 5px 10px;
	border-radius: 6px;
	background: #ea580c;
	color: #fff;
}
.rev-news-mag-spotlight__body {
	flex: 1;
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
}
.rev-news-mag-spotlight__title {
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.35;
	color: #0a0a0a;
	letter-spacing: -0.02em;
}
.rev-news-mag-spotlight__meta {
	font-size: 0.85rem;
	color: #737373;
}
.rev-news-mag-latest {
	margin-top: 28px;
}
.rev-news-mag-latest__head {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 18px;
}
.rev-news-mag-latest__title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #0a0a0a;
}
.rev-news-mag-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.rev-news-mag-tab {
	font-size: 0.82rem;
	font-weight: 600;
	padding: 7px 14px;
	border-radius: 999px;
	border: 1px solid rgba(20, 20, 19, 0.1);
	background: #fff;
	color: #404040;
	text-decoration: none !important;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.rev-news-mag-tab:hover {
	border-color: rgba(14, 106, 58, 0.35);
	color: #0e6a3a;
}
.rev-news-mag-tab.is-active {
	background: #0e6a3a;
	border-color: #0e6a3a;
	color: #fff;
}
.rev-news-mag-feed {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.rev-news-mag-card {
	display: flex;
	flex-direction: column;
	gap: 0;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(20, 20, 19, 0.08);
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	text-decoration: none !important;
	color: inherit;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
@media screen and (min-width: 640px) {
	.rev-news-mag-card {
		flex-direction: row;
		align-items: stretch;
	}
}
.rev-news-mag-card:hover {
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
	border-color: rgba(14, 106, 58, 0.22);
}
.rev-news-mag-card__thumb {
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	min-height: 180px;
	background: linear-gradient(135deg, #eceae6, #dad6cf);
}
@media screen and (min-width: 640px) {
	.rev-news-mag-card__thumb {
		width: 34%;
		max-width: 280px;
		min-height: 168px;
	}
}
.rev-news-mag-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 180px;
}
.rev-news-mag-card__pill {
	position: absolute;
	top: 12px;
	left: 12px;
	font-size: 10px;
	font-weight: 700;
	padding: 4px 9px;
	border-radius: 6px;
	background: rgba(38, 38, 38, 0.85);
	color: #fff;
}
.rev-news-mag-card__body {
	flex: 1;
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-content: center;
}
.rev-news-mag-card__title {
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 1.35;
	color: #0a0a0a;
	letter-spacing: -0.02em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.rev-news-mag-card__excerpt {
	font-size: 0.88rem;
	line-height: 1.55;
	color: #525252;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.rev-news-mag-card__meta {
	font-size: 0.8rem;
	color: #737373;
}
.rev-news-mag-empty,
.rev-news-mag-rec-empty {
	margin: 0;
	font-size: 0.9rem;
	color: #737373;
	line-height: 1.5;
}
.rev-news-mag-sidecard {
	background: #fff;
	border: 1px solid rgba(20, 20, 19, 0.08);
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}
.rev-news-mag-sidecard__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(20, 20, 19, 0.06);
}
.rev-news-mag-sidecard__title {
	font-size: 0.95rem;
	font-weight: 800;
	color: #0a0a0a;
}
.rev-news-mag-sidecard__body {
	padding: 14px 16px 16px;
}
.rev-news-mag-sidecard__body--muted {
	font-size: 0.88rem;
	color: #525252;
	line-height: 1.5;
}
.rev-news-mag-rec-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.rev-news-mag-rec-list a {
	color: #171717;
	font-weight: 600;
	text-decoration: none;
	font-size: 0.88rem;
	line-height: 1.4;
}
.rev-news-mag-rec-list a:hover {
	color: #0e6a3a;
	text-decoration: underline;
}
.rev-news-mag-catlist {
	list-style: none;
	margin: 0;
	padding: 0;
}
.rev-news-mag-catlist__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(20, 20, 19, 0.06);
	font-size: 0.88rem;
}
.rev-news-mag-catlist__item:last-child {
	border-bottom: none;
}
.rev-news-mag-catlist__link {
	color: #262626;
	text-decoration: none;
	font-weight: 600;
}
.rev-news-mag-catlist__link:hover {
	color: #0e6a3a;
}
.rev-news-mag-catlist__count {
	color: #737373;
	font-variant-numeric: tabular-nums;
}
.rev-news-mag-author {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
}
.rev-news-mag-author__img {
	border-radius: 999px;
	width: 64px;
	height: 64px;
	object-fit: cover;
}
.rev-news-mag-author__name {
	font-weight: 800;
	font-size: 1rem;
	color: #0a0a0a;
}
.rev-news-mag-author__role {
	font-size: 0.82rem;
	color: #737373;
}
.rev-news-mag-pagination {
	margin-top: 24px;
}
.rev-news-mag-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}
.rev-news-mag-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border-radius: 10px;
	border: 1px solid rgba(20, 20, 19, 0.1);
	background: #fff;
	color: #262626;
	font-weight: 600;
	font-size: 0.88rem;
	text-decoration: none !important;
}
.rev-news-mag-pagination .page-numbers.current {
	background: #0e6a3a;
	border-color: #0e6a3a;
	color: #fff;
}
.rev-news-mag-pagination .page-numbers:hover:not(.current):not(.dots) {
	border-color: #0e6a3a;
	color: #0e6a3a;
}
/* ---------- Trang Liên hệ /lien-he/ — layout Revid ---------- */
body.rev-mido-contact-page {
	font-family: var(--rev-font-text), system-ui, sans-serif;
}
body.rev-contact-page-enhanced #content.page-wrapper {
	background: linear-gradient(180deg, #f4faf6 0%, #f0f4f1 45%, #eaece9 100%);
	padding-bottom: 48px;
}
body.rev-contact-page-enhanced #content .row-main .col-inner {
	padding-top: 8px;
}

/* SEO: một H1 — hero/contact đã có .rev-contact-hero__title */
body.rev-contact-page-enhanced .entry-header .entry-title,
body.rev-contact-page-enhanced .page-title,
body.rev-contact-page-enhanced h1.entry-title:not(.rev-contact-hero__title) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* SEO: trang Giới thiệu — H1 trong .rev-about-hero (nội dung), ẩn tiêu đề trùng theme */
body.rev-about-page .entry-header .entry-title,
body.rev-about-page .page-title {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Hero */
.rev-contact-hero {
	position: relative;
	overflow: hidden;
	border-radius: 22px;
	margin: 0 0 22px;
	padding: clamp(28px, 5vw, 44px) clamp(20px, 4vw, 40px);
	background:
		radial-gradient(420px circle at 92% 8%, rgba(110, 229, 166, 0.2), transparent 55%),
		radial-gradient(360px circle at 8% 100%, rgba(255, 255, 255, 0.08), transparent 60%),
		linear-gradient(118deg, #042817 0%, #07522d 42%, #14934c 100%);
	color: #fff;
	box-shadow: 0 20px 50px -28px rgba(8, 81, 43, 0.55);
}
.rev-contact-hero::after {
	content: "";
	position: absolute;
	right: -40px;
	top: -40px;
	width: 200px;
	height: 200px;
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1.5px, transparent 1.7px);
	background-size: 18px 18px;
	border-radius: 50%;
	pointer-events: none;
	opacity: 0.45;
}
.rev-contact-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 720px;
}
.rev-contact-hero__eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}
.rev-contact-hero__title {
	margin: 0 0 12px;
	font-size: clamp(1.65rem, 3.2vw, 2.15rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: #fff !important;
	font-family: var(--rev-font-display), system-ui, sans-serif;
}
.rev-contact-hero__lead {
	margin: 0 0 20px;
	font-size: 1.02rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
	max-width: 560px;
}
.rev-contact-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.rev-contact-hero__chips li {
	margin: 0;
	padding: 0;
}
.rev-contact-hero__chips a {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #fff !important;
	transition: background 0.15s ease, transform 0.15s ease;
}
.rev-contact-hero__chips a:hover {
	background: rgba(255, 255, 255, 0.22);
	transform: translateY(-1px);
}

/* Thẻ liên hệ nhanh */
.rev-contact-quick {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 0 0 28px;
}
.rev-contact-quick__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 18px 18px 20px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba(14, 106, 58, 0.12);
	box-shadow: 0 8px 32px -20px rgba(8, 81, 43, 0.35);
	text-decoration: none !important;
	color: inherit !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.rev-contact-quick__card:hover {
	border-color: rgba(26, 168, 90, 0.45);
	box-shadow: 0 14px 40px -22px rgba(14, 106, 58, 0.45);
	transform: translateY(-2px);
}
.rev-contact-quick__icon {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, rgba(26, 168, 90, 0.15), rgba(14, 106, 58, 0.08));
	color: #0e6a3a;
	font-size: 18px;
	margin-bottom: 4px;
}
.rev-contact-quick__icon--zalo {
	font-weight: 900;
	font-size: 15px;
	font-family: var(--rev-font-display), system-ui, sans-serif;
	color: #0068ff;
	background: rgba(0, 104, 255, 0.1);
}
.rev-contact-quick__k {
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #5a6b62;
}
.rev-contact-quick__v {
	font-size: 14px;
	font-weight: 600;
	color: #0a1a10;
	line-height: 1.45;
}

/* Form & nội dung UX Builder */
.rev-mido-contact-form-title {
	margin: 0 0 16px;
	font-size: 1.25rem;
	font-weight: 800;
	color: #0a1a10;
}
.rev-mido-contact-list .icon-youtube,
.rev-mido-contact-list .icon-facebook {
	flex-shrink: 0;
	font-size: 1.1rem;
	color: #0e6a3a;
	margin-top: 4px;
}
.rev-mido-contact-page .rev-mido-contact-form-wrap {
	background: #fff;
	border: 1px solid rgba(14, 106, 58, 0.12);
	border-radius: 18px;
	padding: 28px 26px 32px;
	box-shadow: 0 12px 40px -24px rgba(8, 81, 43, 0.25);
}
.rev-mido-contact-page .wpcf7 input[type="text"],
.rev-mido-contact-page .wpcf7 input[type="email"],
.rev-mido-contact-page .wpcf7 input[type="tel"],
.rev-mido-contact-page .wpcf7 textarea {
	border-radius: 12px !important;
	border: 1px solid #cfe8d8 !important;
	padding: 12px 14px !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rev-mido-contact-page .wpcf7 input:focus,
.rev-mido-contact-page .wpcf7 textarea:focus {
	border-color: #1aa85a !important;
	box-shadow: 0 0 0 3px rgba(26, 168, 90, 0.15);
	outline: none;
}
.rev-mido-contact-page .wpcf7 .wpcf7-submit,
.rev-mido-contact-page .btn-primary.gradient-button {
	border-radius: 999px !important;
	font-weight: 700 !important;
	padding: 12px 28px !important;
	background: linear-gradient(135deg, #1aa85a, #0e6a3a) !important;
	border: none !important;
	box-shadow: 0 8px 24px -10px rgba(14, 106, 58, 0.65);
}
.rev-mido-contact-aside .text-highlight {
	color: #0e6a3a;
	font-weight: 800;
}
.rev-mido-contact-list {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}
.rev-mido-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 1.02rem;
	color: #2d3b33;
}
.rev-mido-contact-list li i {
	color: #0e6a3a;
	margin-top: 4px;
}
.rev-mido-contact-list a {
	color: #0a1a10;
	text-decoration: none;
	font-weight: 600;
}
.rev-mido-contact-list a:hover {
	color: #0e6a3a;
	text-decoration: underline;
}
@media (max-width: 768px) {
	.rev-mido-contact-page .rev-mido-contact-form-wrap {
		margin-bottom: 22px;
	}
	.rev-contact-quick {
		grid-template-columns: 1fr;
	}
}

/* Bản đồ */
.rev-contact-map-section {
	background: transparent;
	padding: 8px 0 36px;
	margin-top: 16px;
	border-top: none;
}
.rev-contact-map-section__inner {
	max-width: 1100px;
	margin: 0 auto;
}
.rev-contact-map-section__head {
	margin-bottom: 18px;
}
.rev-contact-map-section__title {
	margin: 0 0 8px;
	font-size: clamp(1.2rem, 2.4vw, 1.45rem);
	font-weight: 800;
	color: #0a1a10;
	font-family: var(--rev-font-display), system-ui, sans-serif;
	letter-spacing: -0.02em;
}
.rev-contact-map-section__title::after {
	content: "";
	display: block;
	width: 48px;
	height: 4px;
	margin-top: 12px;
	border-radius: 999px;
	background: linear-gradient(90deg, #1aa85a, #0e6a3a);
}
.rev-contact-map-section__subtitle {
	margin: 0;
	color: #4a5c52;
	font-size: 1rem;
	line-height: 1.55;
	max-width: 640px;
}
.rev-contact-map-section__frame {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	border: 2px solid rgba(14, 106, 58, 0.15);
	background: #dfe8e3;
	aspect-ratio: 16 / 9;
	max-height: 440px;
	box-shadow:
		0 24px 56px -30px rgba(8, 81, 43, 0.45),
		inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.rev-contact-map-section__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.rev-contact-map-section__note {
	margin: 16px 0 0;
	font-size: 0.95rem;
}
.rev-contact-map-section__note a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #0e6a3a;
	font-weight: 700;
	text-decoration: none;
	padding: 8px 0;
}
.rev-contact-map-section__note a:hover {
	text-decoration: underline;
}

/* =======================================================
 * SINGLE POST — bài viết (định dạng đọc, ví dụ /ung-dung-ai-…/)
 * ======================================================= */
body.rev-single-prose .blog-single {
	font-family: var(--rev-font-text), system-ui, sans-serif;
}
body.rev-single-prose .blog-wrapper.blog-single {
	background: linear-gradient(180deg, #fafdfb 0%, #f4f6f4 55%, #f0f2ef 100%);
	padding-bottom: 48px;
}

/* Tin tức — 2 cột Flatsome (large-9 + sidebar), nền kiểu portal revidapi-news */
body.rev-news-single {
	--rev-portal-accent: #b45309;
	--rev-portal-accent-hover: #92400e;
	--rev-portal-muted: #6b6a67;
	--rev-portal-border: #e8e6e1;
	--rev-portal-card: #fafaf8;
	--rev-portal-canvas: #f4f1ea;
}
body.rev-news-single.blog-single .blog-wrapper.blog-single {
	background: linear-gradient(180deg, var(--rev-portal-canvas) 0%, #eeede8 55%, #e9e6df 100%);
}
/* Cùng nhịp ngang với /tin-tuc/ (rev-news-magazine #content.rev-news-mag-wrap: 1200px + padding 16px) */
body.rev-news-single.blog-single #content.blog-wrapper {
	overflow-x: hidden;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 24px 16px 48px;
	box-sizing: border-box;
}
body.rev-news-single.blog-single .blog-wrapper .row.row-large {
	width: 100%;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}
/* Desktop: sidebar sticky kiểu revidapi-news — chỉ cột bài cuộn theo document */
@media (min-width: 850px) {
	body.rev-news-single.blog-single .blog-wrapper .row.row-large {
		align-items: flex-start;
	}
	body.rev-news-single.blog-single .large-9.col {
		flex: 1 1 auto;
		min-width: 0;
	}
	body.rev-news-single.blog-single .blog-wrapper .row.row-large > .large-9.col {
		padding-right: clamp(12px, 2.2vw, 28px);
	}
	body.rev-news-single.blog-single .blog-wrapper .row.row-large > .post-sidebar.large-3.col {
		padding-left: clamp(8px, 1.5vw, 20px);
	}
	body.rev-news-single.blog-single .large-9.col > article .entry-content,
	body.rev-news-single.blog-single .large-9.col > article .entry-content.single-page {
		-webkit-text-size-adjust: 100%;
		text-size-adjust: 100%;
	}
	body.rev-news-single.blog-single .post-sidebar .is-sticky-column__inner {
		position: sticky;
		top: calc(var(--flatsome-scroll-padding-top, 92px) + 12px);
		align-self: flex-start;
		max-height: calc(100vh - var(--flatsome-scroll-padding-top, 92px) - 28px);
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		scrollbar-gutter: stable;
		scrollbar-width: thin;
		scrollbar-color: rgba(10, 26, 16, 0.35) rgba(10, 26, 16, 0.06);
	}
	body.rev-news-single.blog-single .post-sidebar .is-sticky-column__inner::-webkit-scrollbar {
		width: 8px;
	}
	body.rev-news-single.blog-single .post-sidebar .is-sticky-column__inner::-webkit-scrollbar-track {
		background: rgba(10, 26, 16, 0.06);
		border-radius: 4px;
	}
	body.rev-news-single.blog-single .post-sidebar .is-sticky-column__inner::-webkit-scrollbar-thumb {
		background: rgba(10, 26, 16, 0.28);
		border-radius: 4px;
	}
	body.rev-news-single.blog-single .post-sidebar .is-sticky-column__inner::-webkit-scrollbar-thumb:hover {
		background: rgba(10, 26, 16, 0.4);
	}
	body.rev-news-single.blog-single .post-sidebar .rev-toc-widget {
		position: relative !important;
		top: auto !important;
		z-index: auto;
		margin-top: 0;
		margin-bottom: 0;
	}
}
@media (max-width: 849px) {
	body.rev-news-single.blog-single .post-sidebar .is-sticky-column__inner {
		position: relative !important;
		top: auto !important;
		max-height: none !important;
		overflow: visible !important;
	}
	body.rev-news-single.blog-single .post-sidebar .rev-toc-widget {
		position: relative !important;
		top: auto !important;
	}
}
body.rev-news-single.blog-single .blog-wrapper .large-9.col,
body.rev-news-single.blog-single .blog-wrapper .large-10.col,
body.rev-news-single.blog-single .blog-wrapper .post-sidebar.large-3.col {
	min-width: 0;
}
body.rev-news-single.blog-single .large-9.col > article,
body.rev-news-single.blog-single .large-10.col > article {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	width: 100%;
	background: #fff;
	border: 1px solid #e2eee6;
	border-radius: 16px;
	box-shadow:
		0 1px 2px rgba(10, 26, 16, 0.04),
		0 12px 36px rgba(8, 81, 43, 0.07);
	padding: 1.25rem 1.35rem 1.75rem;
	box-sizing: border-box;
	overflow-x: hidden;
}
@media (min-width: 640px) {
	body.rev-news-single.blog-single .large-9.col > article,
	body.rev-news-single.blog-single .large-10.col > article {
		padding: 1.5rem clamp(1.25rem, 2vw, 2rem) 2rem;
	}
}
body.rev-news-single .blog-single .large-9.col > article .article-inner,
body.rev-news-single .blog-single .large-10.col > article .article-inner {
	padding-top: 0;
	padding-bottom: 0;
}
body.rev-news-single .large-9.col > article {
	position: relative;
	z-index: 1;
}
body.rev-news-single .post-sidebar {
	position: relative;
	z-index: 2;
	min-width: 0;
}
/* Chỉ ẩn mục lục trong cột phụ — không đụng Bài đề xuất / widget khác (Fixed TOC thường nằm widget_fixedtoc hoặc Rank Math TOC block). */
body.rev-news-single .post-sidebar .widget_fixedtoc,
body.rev-news-single .post-sidebar #ftwp-widget-container,
body.rev-news-single .post-sidebar .wp-block-rank-math-toc-block {
	display: none !important;
}
/* Fixed TOC: ẩn nút nổi 1-2-3 */
body.rev-news-single #ftwp-trigger {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}
/* Tin magazine: ẩn hẳn khối «Contents» / mục lục trong cột bài (plugin chèn #ftwp-container-outer hoặc block Rank Math). */
body.rev-news-single .entry-content #ftwp-container-outer,
body.rev-news-single .entry-content .wp-block-rank-math-toc-block {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	max-height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	pointer-events: none !important;
}
body.rev-news-single .entry-content.single-page,
body.rev-news-single .entry-content,
body.rev-news-single #ftwp-postcontent {
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	display: block !important;
	float: none !important;
	clear: both !important;
}
body.rev-news-single .entry-content .wp-block-embed,
body.rev-news-single .entry-content .wp-block-video {
	clear: both;
}
body.rev-news-single .entry-content .wp-block-embed__wrapper {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
}
body.rev-news-single .entry-content .wp-block-embed iframe,
body.rev-news-single .entry-content .fluid-width-video-wrapper iframe,
body.rev-news-single .entry-content .epyt-video-wrapper iframe {
	width: 100% !important;
	max-width: 100% !important;
}
body.rev-news-single .entry-content .epyt-video-wrapper {
	max-width: 100% !important;
}
/* Video / YouTube — khung 16:9, không méo */
body.rev-news-single .entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper {
	position: relative;
	aspect-ratio: 16 / 9;
	height: auto !important;
	padding-bottom: 0 !important;
	max-width: 100%;
}
body.rev-news-single .entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
}
body.rev-news-single .entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper > .fluid-width-video-wrapper {
	position: absolute;
	inset: 0;
	padding-bottom: 0 !important;
	height: 100% !important;
}
body.rev-news-single .entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper .fluid-width-video-wrapper iframe {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
}
body.rev-news-single .entry-content.single-page figure,
body.rev-news-single .entry-content.single-page .wp-caption {
	max-width: 100% !important;
	box-sizing: border-box;
}

/* Prose bài tin: nhịp như clv-entry-content (revidapi-news) + font Lato/biến site */
body.rev-news-single.rev-single-prose .entry-content.single-page {
	font-family: var(--rev-font-text), system-ui, sans-serif !important;
	font-size: 1rem;
	line-height: 1.65;
	color: #141413;
	letter-spacing: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}
body.rev-news-single.rev-single-prose .entry-content.single-page > *:first-child {
	margin-top: 0;
}
body.rev-news-single.rev-single-prose .entry-content.single-page p {
	margin: 0 0 1rem;
}
body.rev-news-single.rev-single-prose .entry-content.single-page h2 {
	font-family: var(--rev-font-display), system-ui, sans-serif !important;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 2rem 0 0.75rem;
	padding-bottom: 0.45em;
	scroll-margin-top: calc(var(--flatsome-scroll-padding-top, 92px) + 12px);
	color: #141413;
	border-bottom: 2px solid rgba(180, 83, 9, 0.28);
}
body.rev-news-single.rev-single-prose .entry-content.single-page h3 {
	font-family: var(--rev-font-display), system-ui, sans-serif !important;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 1.5rem 0 0.5rem;
	scroll-margin-top: calc(var(--flatsome-scroll-padding-top, 92px) + 12px);
	color: #141413;
}
body.rev-news-single.rev-single-prose .entry-content.single-page h4 {
	font-family: var(--rev-font-display), system-ui, sans-serif !important;
	font-size: 1rem;
	font-weight: 700;
	margin: 1.25rem 0 0.45rem;
	text-transform: none;
	letter-spacing: 0;
	color: #2a2a29;
}
body.rev-news-single.rev-single-prose .entry-content.single-page ul,
body.rev-news-single.rev-single-prose .entry-content.single-page ol {
	margin: 0 0 1rem 1.25rem;
	padding: 0;
}
body.rev-news-single.rev-single-prose .entry-content.single-page li {
	margin-bottom: 0.35em;
}
body.rev-news-single.rev-single-prose .entry-content.single-page li::marker {
	color: var(--rev-portal-accent);
}
body.rev-news-single.rev-single-prose .entry-content.single-page a {
	color: var(--rev-portal-accent);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}
body.rev-news-single.rev-single-prose .entry-content.single-page a:hover {
	color: var(--rev-portal-accent-hover);
}
body.rev-news-single.rev-single-prose .entry-content.single-page strong,
body.rev-news-single.rev-single-prose .entry-content.single-page b {
	color: #141413;
}
body.rev-news-single.rev-single-prose .entry-content.single-page blockquote {
	margin: 1rem 0;
	padding: 1rem 1.1rem;
	border-left: 3px solid rgba(180, 83, 9, 0.45);
	background: rgba(255, 252, 248, 0.75);
	border-radius: 0 10px 10px 0;
	font-style: normal;
	color: var(--rev-portal-muted);
}
body.rev-news-single.rev-single-prose .entry-content.single-page section {
	margin: 1.5rem 0 !important;
	padding: 1.15rem 1.2rem 1.25rem;
	border-color: var(--rev-portal-border);
	box-shadow: 0 4px 22px -16px rgba(20, 20, 19, 0.14);
}
body.rev-news-single.rev-single-prose .entry-header .entry-title {
	font-family: var(--rev-font-display), system-ui, sans-serif !important;
	color: #141413;
}
body.rev-news-single.rev-single-prose .rank-math-breadcrumb {
	font-family: var(--rev-font-text), system-ui, sans-serif !important;
	background: #fff;
	border-color: var(--rev-portal-border);
	color: var(--rev-portal-muted);
}
body.rev-news-single.rev-single-prose .rank-math-breadcrumb a {
	color: var(--rev-portal-accent);
}
body.rev-news-single.rev-single-prose .rank-math-breadcrumb .last {
	color: #141413;
}
/* Sidebar + card: font body */
body.rev-news-single .post-sidebar #secondary,
body.rev-news-single .post-sidebar #secondary .widget,
body.rev-news-single .post-sidebar .rev-mag-side-stack {
	font-family: var(--rev-font-text), system-ui, sans-serif;
}

/* Bài prose không dùng hẹp 720px — toàn bộ cột chính cho media; chữ vẫn prose trong khối */
body.rev-single-prose .blog-single .large-9.col > article,
body.rev-single-prose .blog-single .large-10.col > article {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}
body.rev-single-prose .blog-single .large-9.col > article .article-inner,
body.rev-single-prose .blog-single .large-10.col > article .article-inner {
	padding-top: 8px;
	padding-bottom: 8px;
}
/* Tiêu đề + ảnh đại diện */
body.rev-single-prose .entry-header {
	margin-bottom: 0;
}
body.rev-single-prose .entry-header-text {
	padding-bottom: 0;
}
body.rev-single-prose .entry-header .entry-title {
	font-family: var(--rev-font-display), system-ui, sans-serif;
	font-size: clamp(1.65rem, 3.8vw, 2.35rem);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.03em;
	color: #0a1a10;
	margin: 0 0 12px;
}
body.rev-single-prose .entry-image {
	border-radius: 16px;
	overflow: hidden;
	margin: 0 0 1.75rem;
	box-shadow: 0 20px 50px -34px rgba(8, 81, 43, 0.4);
	border: 1px solid rgba(14, 106, 58, 0.12);
}
body.rev-single-prose .entry-image img {
	display: block;
	width: 100%;
	height: auto;
}
/* Breadcrumb Rank Math */
body.rev-single-prose .rank-math-breadcrumb {
	font-size: 13px;
	margin: 0 0 1.5rem;
	padding: 11px 16px;
	background: #f1faf3;
	border: 1px solid #d9ece0;
	border-radius: 12px;
	color: #3d5248;
}
body.rev-single-prose .rank-math-breadcrumb p {
	margin: 0;
	line-height: 1.5;
}
body.rev-single-prose .rank-math-breadcrumb a {
	color: #0e6a3a;
	font-weight: 600;
	text-decoration: none;
}
body.rev-single-prose .rank-math-breadcrumb a:hover {
	text-decoration: underline;
}
body.rev-single-prose .rank-math-breadcrumb .separator {
	color: #8aa396;
	font-weight: 500;
}
body.rev-single-prose .rank-math-breadcrumb .last {
	font-weight: 600;
	color: #0a1a10;
}
/* Nội dung — prose */
body.rev-single-prose .entry-content.single-page {
	font-size: 1.075rem;
	line-height: 1.82;
	color: #2a3430;
	letter-spacing: 0.01em;
}
body.rev-single-prose .entry-content.single-page > *:first-child {
	margin-top: 0;
}
body.rev-single-prose .entry-content.single-page p {
	margin: 0 0 1.25em;
}
body.rev-single-prose .entry-content.single-page h2,
body.rev-single-prose .entry-content.single-page h3,
body.rev-single-prose .entry-content.single-page h4 {
	font-family: var(--rev-font-display), system-ui, sans-serif;
	color: #062014;
	line-height: 1.28;
	margin: 2em 0 0.65em;
	font-weight: 800;
	letter-spacing: -0.02em;
}
body.rev-single-prose .entry-content.single-page h2 {
	font-size: clamp(1.35rem, 2.8vw, 1.65rem);
	padding-bottom: 0.45em;
	border-bottom: 2px solid rgba(26, 168, 90, 0.35);
}
body.rev-single-prose .entry-content.single-page h3 {
	font-size: clamp(1.15rem, 2.2vw, 1.35rem);
	color: #0e6a3a;
}
body.rev-single-prose .entry-content.single-page h4 {
	font-size: 1.08rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.95rem;
	color: #4a5c52;
}
body.rev-single-prose .entry-content.single-page ul,
body.rev-single-prose .entry-content.single-page ol {
	margin: 0.25em 0 1.35em;
	padding-left: 1.4em;
}
body.rev-single-prose .entry-content.single-page li {
	margin-bottom: 0.45em;
}
body.rev-single-prose .entry-content.single-page li::marker {
	color: #1aa85a;
}
body.rev-single-prose .entry-content.single-page a {
	color: #0e6a3a;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
body.rev-single-prose .entry-content.single-page a:hover {
	color: #08512b;
}
body.rev-single-prose .entry-content.single-page strong,
body.rev-single-prose .entry-content.single-page b {
	color: #0a1a10;
	font-weight: 700;
}
body.rev-single-prose .entry-content.single-page blockquote {
	margin: 1.5em 0;
	padding: 1rem 1.25rem 1rem 1.1rem;
	border-left: 4px solid #1aa85a;
	background: linear-gradient(90deg, rgba(241, 250, 243, 0.95), rgba(248, 252, 249, 0.5));
	border-radius: 0 12px 12px 0;
	font-style: italic;
	color: #3d5248;
}
/* Section kiểu Mido / UX — đóng khung rõ ràng thay vì chỉ margin inline */
body.rev-single-prose .entry-content.single-page section {
	margin: 2rem 0 !important;
	padding: 1.35rem 1.35rem 1.5rem;
	background: #fff;
	border: 1px solid #e2eee6;
	border-radius: 14px;
	box-shadow: 0 10px 36px -28px rgba(8, 81, 43, 0.28);
}
body.rev-single-prose .entry-content.single-page section > div > p:first-child {
	margin-top: 0;
}
body.rev-single-prose .entry-content.single-page section > div > p:last-child {
	margin-bottom: 0;
}
/* Ảnh & caption */
body.rev-single-prose .entry-content.single-page img {
	border-radius: 12px;
	height: auto;
	max-width: 100%;
}
body.rev-single-prose .entry-content.single-page .aligncenter,
body.rev-single-prose .entry-content.single-page .wp-caption.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
body.rev-single-prose .entry-content.single-page .wp-caption {
	max-width: 100%;
	margin: 1.5em auto 2em;
	background: #f6faf7;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #dceee2;
}
body.rev-single-prose .entry-content.single-page .wp-caption img {
	border-radius: 0;
	display: block;
	margin: 0 auto;
}
body.rev-single-prose .entry-content.single-page .wp-caption-text {
	margin: 0;
	padding: 12px 16px 14px;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #4a5c52;
	text-align: center;
	background: rgba(255, 255, 255, 0.65);
}
/* Chia sẻ & meta */
body.rev-single-prose .blog-share {
	margin-top: 2.5rem;
}
body.rev-single-prose .entry-meta {
	font-size: 0.9rem;
	line-height: 1.65;
	color: #5a6b62;
	margin-top: 1.5rem;
}
body.rev-single-prose .entry-author.author-box {
	margin-top: 2rem;
	padding: 1.35rem;
	background: #fff;
	border: 1px solid #e2eee6;
	border-radius: 14px;
}
@media (max-width: 768px) {
	body.rev-single-prose .blog-single .large-9.col > article,
	body.rev-single-prose .blog-single .large-10.col > article {
		max-width: none;
		margin-left: 0;
		margin-right: 0;
	}
	body.rev-single-prose .entry-content.single-page {
		font-size: 1.02rem;
	}
	body.rev-single-prose .entry-content.single-page section {
		padding: 1.1rem 1rem 1.2rem;
	}
}

/* Mục lục (Fixed TOC, Rank Math…) trong sidebar — nhỏ gọn, sau box bài viết mới (JS) */
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget {
	position: sticky;
	top: calc(var(--flatsome-scroll-padding-top, 90px) + 12px);
	z-index: 4;
	align-self: flex-start;
	margin: 6px 0 20px;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget .wp-block-rank-math-toc-block {
	margin: 0 !important;
	padding: 12px 11px 14px;
	background: linear-gradient(165deg, #f6fcf8 0%, #ffffff 100%);
	border: 1px solid rgba(14, 106, 58, 0.18);
	border-radius: 14px;
	box-shadow: 0 14px 40px -28px rgba(8, 81, 43, 0.35);
	max-height: min(72vh, 480px);
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	box-sizing: border-box;
}
/* Fixed TOC: reset float trong bài, đưa về card trong sidebar */
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget #ftwp-container-outer {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	float: none !important;
	position: relative !important;
	inset: auto !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget #ftwp-container.ftwp-wrap {
	position: relative !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget #ftwp-contents {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 11px 10px 12px !important;
	background: linear-gradient(165deg, #f6fcf8 0%, #ffffff 100%) !important;
	border: 1px solid rgba(14, 106, 58, 0.18) !important;
	border-radius: 14px !important;
	box-shadow: 0 14px 40px -28px rgba(8, 81, 43, 0.35) !important;
	max-height: min(72vh, 480px) !important;
	overflow: auto !important;
	-webkit-overflow-scrolling: touch;
	box-sizing: border-box !important;
	opacity: 1 !important;
	visibility: visible !important;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget #ftwp-header {
	background: transparent !important;
	border: none !important;
	margin: 0 0 8px !important;
	padding: 0 0 8px !important;
	border-bottom: 1px solid rgba(26, 168, 90, 0.3) !important;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget #ftwp-header-title {
	font-family: var(--rev-font-display), system-ui, sans-serif !important;
	font-size: 0.72rem !important;
	font-weight: 800 !important;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #0e6a3a !important;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget #ftwp-header-minimize {
	color: #0e6a3a !important;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget #ftwp-list > .ftwp-item {
	margin-bottom: 1px !important;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget #ftwp-list .ftwp-sub .ftwp-item {
	margin-bottom: 0 !important;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget #ftwp-list .ftwp-anchor {
	color: #3d4a45 !important;
	text-decoration: none !important;
	font-weight: 500 !important;
	font-size: 0.78rem !important;
	line-height: 1.28 !important;
	padding: 3px 5px !important;
	border-radius: 6px !important;
	overflow-wrap: anywhere;
	word-break: break-word;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget #ftwp-list .ftwp-anchor .ftwp-text {
	font-size: inherit !important;
	line-height: inherit !important;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget #ftwp-list .ftwp-anchor:hover {
	color: #0e6a3a !important;
	background: rgba(26, 168, 90, 0.06) !important;
}
/* Bỏ nền đỏ mặc định plugin — active theo brand */
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget #ftwp-list .ftwp-anchor.ftwp-active,
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget #ftwp-list .ftwp-anchor.ftwp-active .ftwp-text {
	background: transparent !important;
	background-color: rgba(26, 168, 90, 0.14) !important;
	color: #0e6a3a !important;
	box-shadow: none !important;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget #ftwp-list.ftwp-liststyle-decimal > .ftwp-item > .ftwp-anchor::before {
	color: #1aa85a !important;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget #ftwp-list .ftwp-anchor.ftwp-active::before {
	color: #0e6a3a !important;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget .wp-block-rank-math-toc-block h2 {
	margin: 0 0 10px !important;
	padding-bottom: 8px;
	font-size: 0.72rem !important;
	font-weight: 800 !important;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #0e6a3a !important;
	border-bottom: 1px solid rgba(26, 168, 90, 0.3);
	font-family: var(--rev-font-display), system-ui, sans-serif;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget .wp-block-rank-math-toc-block a {
	color: #3d4a45 !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	font-size: 0.78rem !important;
	line-height: 1.28 !important;
	display: inline-block;
	padding: 3px 5px;
	border-radius: 6px;
	overflow-wrap: anywhere;
	word-break: break-word;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget .wp-block-rank-math-toc-block a:hover {
	color: #0e6a3a !important;
	background: rgba(26, 168, 90, 0.06);
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget .wp-block-rank-math-toc-block nav li,
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget .wp-block-rank-math-toc-block nav div {
	min-height: 0 !important;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget nav ol,
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget nav ul {
	margin: 0;
	padding-left: 0 !important;
	list-style: none !important;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget nav li {
	margin-bottom: 2px;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget .wp-block-rank-math-toc-block nav a.rank-math-link.active,
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget .wp-block-rank-math-toc-block nav a[aria-current="true"] {
	background: rgba(26, 168, 90, 0.14) !important;
	color: #0e6a3a !important;
}
body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget nav ol li::before {
	color: #1aa85a;
}
@media (max-width: 849px) {
	body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget {
		position: relative;
		top: 0;
		z-index: auto;
	}
	body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget .wp-block-rank-math-toc-block {
		max-height: none;
	}
	body.rev-single-prose:not(.rev-news-single) .blog-single .post-sidebar .rev-toc-widget #ftwp-contents {
		max-height: none !important;
	}
}

/* Sidebar block Tag Cloud (WP 6+) — ẩn cả widget (gồm tiêu đề THẺ MÂY) trên single post */
body.rev-single-prose .blog-single .post-sidebar .widget.widget_block:has(.wp-block-tag-cloud) {
	display: none !important;
}

/* ─── Dưới bài tin (news.revidapi.com / revidapi-news-theme): gợi ý + liên quan ─── */
body.rev-news-single .rev-single-below {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #dceee2;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
body.rev-news-single .rev-single-below__rights {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.55;
	color: #5a6b62;
	padding: 0.75rem 1rem;
	border-radius: 12px;
	background: rgba(255, 252, 245, 0.95);
	border: 1px solid var(--rev-portal-border);
}
/* Card sidebar — Bài đề xuất, Chuyên mục, Tác giả */
body.rev-news-single .rev-mag-side-stack {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-bottom: 1.25rem;
}
body.rev-news-single .rev-mag-card {
	background: #fff;
	border: 1px solid rgba(20, 20, 19, 0.08);
	border-radius: 14px;
	padding: 1rem 1rem 1.1rem;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	box-sizing: border-box;
}
body.rev-news-single .rev-mag-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.85rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--rev-portal-border);
}
body.rev-news-single .rev-mag-card__title {
	font-family: var(--rev-font-display), "Source Serif 4", Georgia, serif;
	font-size: 1rem;
	font-weight: 700;
	margin: 0;
	color: #141413;
}
body.rev-news-single .rev-mag-card__more {
	font-size: 12px;
	font-weight: 600;
	color: var(--rev-portal-muted);
	text-decoration: none;
	white-space: nowrap;
}
body.rev-news-single .rev-mag-card__more:hover {
	color: var(--rev-portal-accent);
}
body.rev-news-single .rev-mag-side-hero {
	display: block;
	text-decoration: none;
	color: inherit;
	margin-bottom: 1rem;
}
body.rev-news-single .rev-mag-side-hero__img {
	display: block;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 0.5rem;
	line-height: 0;
	background: #eceae6;
}
body.rev-news-single .rev-mag-side-hero__img img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}
body.rev-news-single .rev-mag-side-hero__ph {
	display: block;
	aspect-ratio: 16 / 9;
	background: #e4e2de;
}
body.rev-news-single .rev-mag-side-hero__title {
	display: block;
	font-family: var(--rev-font-display), Georgia, serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	margin-bottom: 0.25rem;
	color: #141413;
}
body.rev-news-single .rev-mag-side-hero:hover .rev-mag-side-hero__title {
	color: var(--rev-portal-accent);
}
body.rev-news-single .rev-mag-side-hero__meta {
	display: block;
	font-size: 12px;
	color: var(--rev-portal-muted);
}
body.rev-news-single .rev-mag-side-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
body.rev-news-single .rev-mag-side-list li {
	padding: 0.55rem 0;
	border-top: 1px solid var(--rev-portal-border);
}
body.rev-news-single .rev-mag-side-list li:first-of-type {
	border-top: none;
	padding-top: 0;
}
body.rev-news-single .rev-mag-side-list__link {
	display: block;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: #141413;
	text-decoration: none;
}
body.rev-news-single .rev-mag-side-list__link:hover {
	color: var(--rev-portal-accent);
}
body.rev-news-single .rev-mag-side-list__sub {
	display: block;
	font-size: 11px;
	color: var(--rev-portal-muted);
	margin-top: 0.2rem;
}
body.rev-news-single .rev-mag-side-empty {
	font-size: 13px;
	color: var(--rev-portal-muted);
	margin: 0;
	line-height: 1.55;
}
body.rev-news-single .rev-mag-cat-sidebar {
	list-style: none;
	margin: 0;
	padding: 0;
}
body.rev-news-single .rev-mag-cat-sidebar li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.4rem 0;
	border-bottom: 1px solid rgba(232, 230, 225, 0.8);
	font-size: 13px;
}
body.rev-news-single .rev-mag-cat-sidebar li:last-child {
	border-bottom: none;
}
body.rev-news-single .rev-mag-cat-sidebar a {
	color: #141413;
	text-decoration: none;
	font-weight: 500;
}
body.rev-news-single .rev-mag-cat-sidebar a:hover {
	color: var(--rev-portal-accent);
}
body.rev-news-single .rev-mag-cat-sidebar__n {
	font-size: 11px;
	font-weight: 600;
	color: var(--rev-portal-muted);
	background: var(--rev-portal-card);
	padding: 0.1rem 0.45rem;
	border-radius: 6px;
}
body.rev-news-single .rev-mag-author-inline {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.35rem 0 0.15rem;
}
body.rev-news-single .rev-mag-author-inline__avatar {
	width: 56px;
	height: 56px;
	border-radius: 999px;
	flex-shrink: 0;
	object-fit: cover;
	border: 2px solid color-mix(in srgb, var(--rev-portal-accent) 22%, var(--rev-portal-border));
}
body.rev-news-single .rev-mag-author-inline__body {
	min-width: 0;
}
body.rev-news-single .rev-mag-author-inline__name {
	font-size: 14px;
	font-weight: 700;
	color: #141413;
	line-height: 1.25;
}
body.rev-news-single .rev-mag-author-inline__role {
	font-size: 12px;
	color: var(--rev-portal-muted);
	margin-top: 0.15rem;
}
body.rev-news-single .rev-single-adj {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}
@media (max-width: 639px) {
	body.rev-news-single .rev-single-adj {
		grid-template-columns: 1fr;
	}
}
body.rev-news-single .rev-single-adj__cell {
	padding: 1rem 1.15rem;
	border-radius: 14px;
	border: 1px solid #e2eee6;
	background: #fff;
	min-height: 4.25rem;
}
body.rev-news-single .rev-single-adj__cell--next {
	background: linear-gradient(135deg, rgba(241, 250, 243, 0.9), #fff);
	border-color: #c5e5d5;
}
body.rev-news-single .rev-single-adj__label {
	display: block;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b7f74;
	margin-bottom: 0.35rem;
}
body.rev-news-single .rev-single-adj__link {
	font-size: 0.95rem;
	font-weight: 700;
	color: #0a1a10;
	text-decoration: none;
	line-height: 1.35;
}
body.rev-news-single .rev-single-adj__link:hover {
	color: #0e6a3a;
	text-decoration: underline;
	text-underline-offset: 2px;
}
body.rev-news-single .rev-suggest-block,
body.rev-news-single .rev-related-see {
	padding: 1.35rem 1.25rem 1.5rem;
	border-radius: 16px;
	background: linear-gradient(180deg, #f6fcf9 0%, #fff 50%);
	border: 1px solid #e2eee6;
	box-shadow: 0 10px 32px -26px rgba(8, 81, 43, 0.2);
}
body.rev-news-single .rev-suggest-block__title,
body.rev-news-single .rev-related-see__title {
	margin: 0 0 1.1rem;
	font-family: var(--rev-font-display), system-ui, sans-serif;
	font-size: 1.05rem;
	font-weight: 800;
	color: #0e6a3a;
	letter-spacing: -0.02em;
}
body.rev-news-single .rev-suggest-block__grid {
	display: grid;
	gap: 1rem;
}
@media (min-width: 900px) {
	body.rev-news-single .rev-suggest-block__grid {
		grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
		align-items: start;
	}
}
body.rev-news-single .rev-suggest-hero {
	position: relative;
	display: block;
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	color: #fff;
	line-height: 0;
	background: #0a1a10;
}
body.rev-news-single .rev-suggest-hero__media img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	opacity: 0.94;
	transition: transform 0.35s ease, opacity 0.2s;
}
body.rev-news-single .rev-suggest-hero:hover .rev-suggest-hero__media img {
	transform: scale(1.03);
	opacity: 1;
}
body.rev-news-single .rev-suggest-hero__ph {
	display: block;
	aspect-ratio: 16 / 9;
	background: linear-gradient(145deg, #e8f5ee, #d4eadf);
}
body.rev-news-single .rev-suggest-hero__cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.2rem 1rem 1rem;
	background: linear-gradient(transparent, rgba(10, 26, 16, 0.82));
}
body.rev-news-single .rev-suggest-hero__title {
	display: block;
	font-family: var(--rev-font-display), system-ui, sans-serif;
	font-size: clamp(0.95rem, 2.1vw, 1.15rem);
	font-weight: 800;
	line-height: 1.35;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
body.rev-news-single .rev-suggest-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}
body.rev-news-single .rev-suggest-list__item {
	display: grid;
	grid-template-columns: auto 88px 1fr;
	gap: 0.65rem;
	align-items: center;
	text-decoration: none;
	color: inherit;
	padding: 0.35rem 0;
	border-radius: 12px;
	transition: background 0.15s;
}
body.rev-news-single .rev-suggest-list__item:hover {
	background: rgba(26, 168, 90, 0.07);
}
body.rev-news-single .rev-suggest-list__badge {
	width: 1.5rem;
	height: 1.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.72rem;
	font-weight: 800;
	color: #fff;
	background: #0e6a3a;
	border-radius: 6px;
	flex-shrink: 0;
}
body.rev-news-single .rev-suggest-list__thumb {
	border-radius: 10px;
	overflow: hidden;
	line-height: 0;
	background: #e2eee6;
}
body.rev-news-single .rev-suggest-list__thumb img {
	width: 88px;
	height: 56px;
	object-fit: cover;
	display: block;
}
body.rev-news-single .rev-suggest-list__ph {
	display: block;
	width: 88px;
	height: 56px;
	background: #e2eee6;
}
body.rev-news-single .rev-suggest-list__title {
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.4;
	color: #0a1a10;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
body.rev-news-single .rev-related-see__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}
@media (min-width: 700px) {
	body.rev-news-single .rev-related-see__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
body.rev-news-single .rev-related-see__card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #e2eee6;
	background: #fff;
	transition: box-shadow 0.2s, border-color 0.2s;
}
body.rev-news-single .rev-related-see__card-link:hover {
	box-shadow: 0 14px 40px -28px rgba(8, 81, 43, 0.35);
	border-color: #c5e5d5;
}
body.rev-news-single .rev-related-see__media {
	line-height: 0;
	background: #eef6f1;
}
body.rev-news-single .rev-related-see__media img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}
body.rev-news-single .rev-related-see__ph {
	display: block;
	aspect-ratio: 16 / 9;
	background: linear-gradient(145deg, #e8f5ee, #d4eadf);
}
body.rev-news-single .rev-related-see__card-body {
	padding: 0.85rem 0.95rem 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-height: 0;
}
body.rev-news-single .rev-related-see__card-title {
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1.35;
	color: #0a1a10;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
body.rev-news-single .rev-related-see__card-meta {
	font-size: 0.78rem;
	color: #5a6b62;
	line-height: 1.4;
}
body.rev-news-single .rev-related-see__dot {
	margin: 0 0.2rem;
	color: #9cb0a6;
}

/* A11y + ít motion → Lighthouse / trải nghiệm tốt hơn */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
