/**
 * ==============================================================================
 * Trang Trí 4 Mùa (trangtri4mua.com) — Editorial Hub Stylesheet
 * Location: /y-tuong-trang-tri/ & Single Posts
 * Purpose: Lifestyle Decor Magazine & Contextual Commerce
 * Version: 2.1.0
 * Language Support: Vietnamese (Tiếng Việt) typography optimized
 * ==============================================================================
 */

/* ==============================================================================
 * 1. EDITORIAL TYPOGRAPHY & FOUNDATION
 * ============================================================================== */

.tt4m-editorial-hub-page {
	font-family: var(--tt4m-font-family, 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
	color: var(--tt4m-text, #1F2937);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.tt4m-editorial-hub-page h1,
.tt4m-editorial-hub-page h2,
.tt4m-editorial-hub-page h3,
.tt4m-editorial-hub-page .tt4m-serif {
	font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
	letter-spacing: -0.015em;
}

/* ==============================================================================
 * 2. EDITORIAL HERO & HEADER
 * ============================================================================== */

.tt4m-hub-hero {
	background: var(--tt4m-bg-warm, #FAF8F5);
	border: 1px solid var(--tt4m-border, #E5E7EB);
	border-radius: 16px;
	padding: 3.25rem 2.25rem 2.75rem;
	margin-bottom: 2.75rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}

/* Subtle, clean top accent line in Deep Evergreen (Zero AI rainbow gradient) */
.tt4m-hub-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--tt4m-primary, #14532D);
}

.tt4m-hub-kicker {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--tt4m-primary, #14532D);
	margin-bottom: 0.85rem;
}

.tt4m-hub-title {
	font-size: 2.65rem;
	font-weight: 700;
	color: var(--tt4m-primary-dark, #0F3F22);
	margin: 0 0 1rem 0;
	line-height: 1.22;
}

.tt4m-hub-subtitle {
	font-size: 1.0625rem;
	color: var(--tt4m-muted, #4B5563);
	max-width: 720px;
	margin: 0 auto 2.25rem auto;
	line-height: 1.68;
}

/* ==============================================================================
 * 3. TOPIC NAVIGATION PILLS (SMOOTH HORIZONTAL SCROLL & TOUCH ACCESSIBLE)
 * ============================================================================== */

.tt4m-hub-topics {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.75rem;
	margin: 0 auto;
	padding: 0.25rem 0;
}

.tt4m-topic-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	color: var(--tt4m-text, #1F2937);
	border: 1px solid var(--tt4m-border, #E5E7EB);
	padding: 0.6rem 1.35rem;
	border-radius: 9999px;
	font-size: 0.925rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
	white-space: nowrap;
	min-height: 44px;
}

.tt4m-topic-pill:hover {
	border-color: var(--tt4m-primary, #14532D);
	color: var(--tt4m-primary, #14532D);
	background: #F0FDF4;
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(20, 83, 45, 0.08);
}

.tt4m-topic-pill.is-active {
	background: var(--tt4m-primary, #14532D) !important;
	color: #ffffff !important;
	border-color: var(--tt4m-primary, #14532D) !important;
	box-shadow: 0 4px 12px rgba(20, 83, 45, 0.22) !important;
	font-weight: 700;
}

.tt4m-topic-pill.is-active:hover {
	background: var(--tt4m-primary-dark, #0F3F22) !important;
	color: #ffffff !important;
	transform: translateY(-1px);
}

@media (max-width: 768px) {
	.tt4m-hub-hero {
		padding: 2.25rem 1.25rem 1.85rem;
		border-radius: 12px;
		margin-bottom: 2rem;
	}

	.tt4m-hub-title {
		font-size: 1.85rem;
		line-height: 1.25;
	}

	.tt4m-hub-subtitle {
		font-size: 0.95rem;
		margin-bottom: 1.5rem;
		line-height: 1.6;
	}

	.tt4m-hub-topics {
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-ms-overflow-style: none;
		padding: 4px 6px 12px 6px;
		margin-left: -0.5rem;
		margin-right: -0.5rem;
		gap: 0.6rem;
	}

	.tt4m-hub-topics::-webkit-scrollbar {
		display: none;
	}

	.tt4m-topic-pill {
		flex-shrink: 0;
		scroll-snap-align: start;
		padding: 0.55rem 1.15rem;
		font-size: 0.875rem;
	}
}

/* ==============================================================================
 * 4. ASYMMETRIC EDITORIAL SHOWCASE (7fr Lead Card / 5fr Secondary Stack)
 * ============================================================================== */

.tt4m-hero-asymmetric {
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: 2rem;
	margin-bottom: 3.5rem;
	align-items: stretch;
}

@media (max-width: 960px) {
	.tt4m-hero-asymmetric {
		grid-template-columns: 1fr;
		gap: 1.75rem;
		margin-bottom: 2.5rem;
	}
}

/* 4.1 Lead Story (Left Column - 7fr) */
.tt4m-lead-card {
	background: #ffffff;
	border: 1px solid var(--tt4m-border, #E5E7EB);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
	transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
	position: relative;
}

.tt4m-lead-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(20, 83, 45, 0.1);
	border-color: rgba(20, 83, 45, 0.25);
}

.tt4m-lead-thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #F3F4F6;
}

.tt4m-lead-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.tt4m-lead-card:hover .tt4m-lead-thumb img {
	transform: scale(1.03);
}

.tt4m-post-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: rgba(20, 83, 45, 0.92);
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.35rem 0.85rem;
	border-radius: 6px;
	letter-spacing: 0.02em;
	backdrop-filter: blur(4px);
	z-index: 2;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.tt4m-lead-body {
	padding: 2rem 2.25rem 2rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.tt4m-post-meta {
	font-size: 0.84rem;
	color: var(--tt4m-muted, #6B7280);
	margin-bottom: 0.85rem;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.45rem 0.65rem;
}

.tt4m-author-badge {
	font-weight: 600;
	color: var(--tt4m-primary, #14532D);
}

.tt4m-meta-dot {
	color: #D1D5DB;
	font-size: 0.75rem;
}

.tt4m-reading-time,
.tt4m-post-date {
	color: var(--tt4m-muted, #6B7280);
	font-weight: 500;
}

.tt4m-lead-title {
	font-size: 1.65rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--tt4m-text, #1F2937);
	margin: 0 0 1rem 0;
	letter-spacing: -0.015em;
	transition: color 0.2s ease;
}

.tt4m-lead-title a {
	color: inherit;
	text-decoration: none;
}

.tt4m-lead-card:hover .tt4m-lead-title,
.tt4m-lead-title a:hover {
	color: var(--tt4m-primary, #14532D);
}

.tt4m-post-excerpt {
	font-size: 0.95rem;
	color: #4B5563;
	line-height: 1.65;
	margin: 0 0 1.5rem 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tt4m-post-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid var(--tt4m-border, #E5E7EB);
	padding-top: 1.25rem;
	margin-top: auto;
}

.tt4m-read-more {
	color: var(--tt4m-primary, #14532D);
	font-weight: 700;
	font-size: 0.925rem;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	transition: all 0.2s ease;
}

.tt4m-read-more .tt4m-arrow {
	transition: transform 0.2s ease;
}

.tt4m-read-more:hover {
	color: var(--tt4m-primary-dark, #0F3F22);
}

.tt4m-read-more:hover .tt4m-arrow {
	transform: translateX(4px);
}

/* 4.2 Secondary Stories (Right Column - 5fr Stack) */
.tt4m-secondary-stack {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	justify-content: space-between;
}

.tt4m-secondary-card {
	background: #ffffff;
	border: 1px solid var(--tt4m-border, #E5E7EB);
	border-radius: 14px;
	padding: 1.25rem;
	display: flex;
	gap: 1.25rem;
	align-items: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
	flex: 1;
}

.tt4m-secondary-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(20, 83, 45, 0.08);
	border-color: rgba(20, 83, 45, 0.25);
}

.tt4m-secondary-thumb {
	width: 120px;
	height: 120px;
	flex-shrink: 0;
	border-radius: 10px;
	overflow: hidden;
	background: #F3F4F6;
	position: relative;
}

.tt4m-secondary-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tt4m-secondary-card:hover .tt4m-secondary-thumb img {
	transform: scale(1.04);
}

.tt4m-secondary-body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	min-width: 0;
}

.tt4m-secondary-tag {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--tt4m-primary, #14532D);
	margin-bottom: 0.35rem;
	letter-spacing: 0.02em;
}

.tt4m-secondary-title {
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.38;
	color: var(--tt4m-text, #1F2937);
	margin: 0 0 0.45rem 0;
	transition: color 0.2s ease;
}

.tt4m-secondary-title a {
	color: inherit;
	text-decoration: none;
}

.tt4m-secondary-card:hover .tt4m-secondary-title,
.tt4m-secondary-title a:hover {
	color: var(--tt4m-primary, #14532D);
}

.tt4m-secondary-excerpt {
	font-size: 0.85rem;
	color: var(--tt4m-muted, #6B7280);
	line-height: 1.5;
	margin: 0 0 0.5rem 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tt4m-secondary-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 0.35rem;
}

.tt4m-secondary-time {
	font-size: 0.8rem;
	color: var(--tt4m-muted, #6B7280);
}

.tt4m-read-more-sm {
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--tt4m-primary, #14532D);
	text-decoration: none;
	transition: color 0.2s ease;
}

.tt4m-read-more-sm:hover {
	color: var(--tt4m-primary-dark, #0F3F22);
}

@media (max-width: 600px) {
	.tt4m-secondary-card {
		padding: 1rem;
		gap: 1rem;
	}

	.tt4m-secondary-thumb {
		width: 95px;
		height: 95px;
		border-radius: 8px;
	}

	.tt4m-lead-body {
		padding: 1.5rem 1.25rem;
	}

	.tt4m-lead-title {
		font-size: 1.35rem;
	}
}

/* ==============================================================================
 * 5. SEASONAL EDITORIAL ADVISORY BANNER
 * ============================================================================== */

.tt4m-hub-banner {
	background: var(--tt4m-primary-dark, #0F3F22);
	color: #ffffff;
	border-radius: 16px;
	padding: 3.25rem 2.5rem;
	margin: 3.5rem 0;
	text-align: center;
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(15, 63, 34, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.tt4m-hub-banner-content {
	position: relative;
	z-index: 1;
	max-width: 740px;
	margin: 0 auto;
}

.tt4m-banner-kicker {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tt4m-gold-light, #FEF3C7);
	margin-bottom: 0.75rem;
}

.tt4m-hub-banner h2 {
	color: #ffffff !important;
	font-size: 1.85rem;
	font-weight: 700;
	margin: 0 0 1rem 0;
	line-height: 1.3;
}

.tt4m-hub-banner p {
	color: #E2E8F0 !important;
	font-size: 1.025rem;
	margin: 0 auto 2rem auto;
	line-height: 1.65;
}

.tt4m-hub-banner-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

.tt4m-btn-banner-primary {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--tt4m-cta, #C41E2F);
	color: #ffffff !important;
	padding: 0.75rem 1.65rem;
	font-weight: 700;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 2px 8px rgba(196, 30, 47, 0.25);
}

.tt4m-btn-banner-primary:hover {
	background: var(--tt4m-cta-hover, #A01825);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(196, 30, 47, 0.35);
}

.tt4m-btn-banner-zalo {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--tt4m-zalo, #0068FF);
	color: #ffffff !important;
	padding: 0.75rem 1.65rem;
	font-weight: 700;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.tt4m-btn-banner-zalo:hover {
	background: var(--tt4m-zalo-hover, #0056D6);
	transform: translateY(-1px);
}

@media (max-width: 768px) {
	.tt4m-hub-banner {
		padding: 2.25rem 1.25rem;
		border-radius: 12px;
	}

	.tt4m-hub-banner h2 {
		font-size: 1.45rem;
	}

	.tt4m-hub-banner p {
		font-size: 0.95rem;
	}

	.tt4m-hub-banner-actions {
		flex-direction: column;
	}

	.tt4m-btn-banner-primary,
	.tt4m-btn-banner-zalo {
		width: 100%;
	}
}

/* ==============================================================================
 * 6. ARTICLE CARD GRID (ARCHIVE SECTION)
 * ============================================================================== */

.tt4m-archive-section {
	margin: 3.5rem 0;
}

.tt4m-archive-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 2rem;
	border-bottom: 1.5px solid var(--tt4m-border, #E5E7EB);
	padding-bottom: 1rem;
	flex-wrap: wrap;
	gap: 1rem;
}

.tt4m-archive-kicker {
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--tt4m-primary, #14532D);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	display: block;
	margin-bottom: 0.25rem;
}

.tt4m-archive-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--tt4m-text, #1F2937);
	margin: 0;
}

.tt4m-view-all-link {
	font-weight: 700;
	font-size: 0.925rem;
	color: var(--tt4m-primary, #14532D);
	text-decoration: none;
	transition: color 0.2s ease;
}

.tt4m-view-all-link:hover {
	color: var(--tt4m-primary-dark, #0F3F22);
}

.tt4m-post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

@media (max-width: 960px) {
	.tt4m-post-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}

@media (max-width: 640px) {
	.tt4m-post-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

.tt4m-post-card {
	background: #ffffff;
	border: 1px solid var(--tt4m-border, #E5E7EB);
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
	transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
}

.tt4m-post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(20, 83, 45, 0.08);
	border-color: rgba(20, 83, 45, 0.25);
}

.tt4m-post-thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: #F3F4F6;
	overflow: hidden;
}

.tt4m-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tt4m-post-card:hover .tt4m-post-thumb img {
	transform: scale(1.04);
}

.tt4m-post-body {
	padding: 1.6rem 1.6rem 1.4rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.tt4m-post-title {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.38;
	color: var(--tt4m-text, #1F2937);
	margin: 0 0 0.75rem 0;
	transition: color 0.2s ease;
}

.tt4m-post-title a {
	color: inherit;
	text-decoration: none;
}

.tt4m-post-card:hover .tt4m-post-title,
.tt4m-post-title a:hover {
	color: var(--tt4m-primary, #14532D);
}

.tt4m-post-excerpt {
	font-size: 0.925rem;
	color: #4B5563;
	line-height: 1.6;
	margin: 0 0 1.25rem 0;
	flex-grow: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ==============================================================================
 * 7. CONTEXTUAL COMMERCE SECTION ("Vật Tư Gợi Ý Trong Bài Viết")
 * ============================================================================== */

.tt4m-commerce-section {
	margin: 3.5rem 0;
	padding: 3rem 2rem 2.5rem;
	background: var(--tt4m-bg-warm, #FAF8F5);
	border: 1px solid var(--tt4m-border, #E5E7EB);
	border-radius: 16px;
}

.tt4m-commerce-header {
	margin-bottom: 2.25rem;
	text-align: center;
}

.tt4m-commerce-kicker {
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--tt4m-primary, #14532D);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	display: inline-block;
	margin-bottom: 0.35rem;
}

.tt4m-commerce-title {
	font-size: 1.95rem;
	font-weight: 700;
	color: var(--tt4m-primary-dark, #0F3F22);
	margin: 0 0 0.5rem 0;
}

.tt4m-commerce-desc {
	color: var(--tt4m-muted, #6B7280);
	font-size: 1rem;
	max-width: 680px;
	margin: 0 auto;
	line-height: 1.6;
}

.tt4m-product-mini-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

@media (max-width: 991px) {
	.tt4m-product-mini-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.25rem;
	}
}

@media (max-width: 520px) {
	.tt4m-commerce-section {
		padding: 2rem 1rem 1.75rem;
		border-radius: 12px;
	}

	.tt4m-commerce-title {
		font-size: 1.5rem;
	}

	.tt4m-product-mini-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
	}
}

.tt4m-product-mini-card {
	background: #ffffff;
	border: 1px solid var(--tt4m-border, #E5E7EB);
	border-radius: 12px;
	padding: 1.25rem 1rem 1rem;
	display: flex;
	flex-direction: column;
	text-align: center;
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
	position: relative;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.tt4m-product-mini-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(20, 83, 45, 0.08);
	border-color: var(--tt4m-primary, #14532D);
}

.tt4m-product-mini-thumb-link {
	display: block;
	margin-bottom: 0.85rem;
}

.tt4m-product-mini-thumb {
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	background: var(--tt4m-bg-alt, #F9FAFB);
	border-radius: 8px;
	padding: 8px;
	transition: transform 0.3s ease;
}

.tt4m-product-mini-card:hover .tt4m-product-mini-thumb {
	transform: scale(1.03);
}

.tt4m-product-mini-name {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--tt4m-text, #1F2937);
	margin: 0 0 0.45rem 0;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
}

.tt4m-product-mini-name a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.tt4m-product-mini-card:hover .tt4m-product-mini-name a {
	color: var(--tt4m-primary, #14532D);
}

.tt4m-product-mini-price {
	color: var(--tt4m-cta, #C41E2F);
	font-weight: 800;
	font-size: 1.025rem;
	margin-bottom: 0.5rem;
}

.tt4m-cod-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 600;
	color: #15803D;
	background: #F0FDF4;
	padding: 0.25rem 0.65rem;
	border-radius: 9999px;
	margin: 0 auto 0.85rem auto;
	border: 1px solid rgba(22, 163, 74, 0.18);
}

.tt4m-product-mini-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--tt4m-primary, #14532D);
	color: #ffffff !important;
	font-size: 0.875rem;
	font-weight: 700;
	padding: 0.65rem 1rem;
	border-radius: 8px;
	text-decoration: none;
	margin-top: auto;
	min-height: 44px;
	transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 2px 6px rgba(20, 83, 45, 0.12);
}

.tt4m-product-mini-btn:hover {
	background: var(--tt4m-primary-dark, #0F3F22);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(20, 83, 45, 0.2);
}

@media (max-width: 520px) {
	.tt4m-product-mini-card {
		padding: 0.85rem 0.65rem 0.75rem;
	}

	.tt4m-product-mini-name {
		font-size: 0.85rem;
	}

	.tt4m-product-mini-price {
		font-size: 0.95rem;
	}

	.tt4m-cod-badge {
		font-size: 0.7rem;
		padding: 0.2rem 0.45rem;
	}

	.tt4m-product-mini-btn {
		font-size: 0.8rem;
		padding: 0.5rem 0.65rem;
	}
}

/* ==============================================================================
 * 8. B2B PROJECT & WHOLESALE CALLOUT
 * ============================================================================== */

.tt4m-b2b-box {
	background: var(--tt4m-primary-dark, #0F3F22);
	color: #ffffff;
	border-radius: 16px;
	padding: 3rem 2.25rem;
	margin: 3.5rem 0;
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(15, 63, 34, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.tt4m-b2b-content {
	max-width: 820px;
}

.tt4m-b2b-kicker {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tt4m-gold-light, #FEF3C7);
	display: block;
	margin-bottom: 0.5rem;
}

.tt4m-b2b-box h3 {
	color: #ffffff !important;
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0 0 1rem 0;
}

.tt4m-b2b-box p {
	color: #E2E8F0 !important;
	font-size: 1.025rem;
	line-height: 1.65;
	margin: 0 0 1.75rem 0;
}

.tt4m-b2b-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

.tt4m-btn-zalo {
	background: var(--tt4m-zalo, #0068FF);
	color: #ffffff !important;
	font-weight: 700;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	text-decoration: none;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.tt4m-btn-zalo:hover {
	background: var(--tt4m-zalo-hover, #0056D6);
	transform: translateY(-1px);
}

.tt4m-btn-gold {
	background: var(--tt4m-gold, #D97706);
	color: #ffffff !important;
	font-weight: 700;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	text-decoration: none;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.tt4m-btn-gold:hover {
	background: var(--tt4m-gold-hover, #B45309);
	transform: translateY(-1px);
}

.tt4m-btn-outline-white {
	background: transparent;
	color: #ffffff !important;
	border: 1.5px solid rgba(255, 255, 255, 0.7);
	font-weight: 700;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	text-decoration: none;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.tt4m-btn-outline-white:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: #ffffff;
	transform: translateY(-1px);
}

@media (max-width: 768px) {
	.tt4m-b2b-box {
		padding: 2.25rem 1.25rem;
		border-radius: 12px;
	}

	.tt4m-b2b-box h3 {
		font-size: 1.4rem;
	}

	.tt4m-b2b-actions {
		flex-direction: column;
	}

	.tt4m-b2b-actions a {
		width: 100%;
	}
}

/* ==============================================================================
 * 9. FAQ ACCORDION SECTION (CLEAN BORDER-BOTTOM CARDS)
 * ============================================================================== */

.tt4m-faq-container {
	margin: 3.5rem 0 2rem 0;
}

.tt4m-faq-header {
	border-bottom: 1.5px solid var(--tt4m-border, #E5E7EB);
	padding-bottom: 1.25rem;
	margin-bottom: 2rem;
}

.tt4m-faq-kicker {
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--tt4m-primary, #14532D);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	display: block;
	margin-bottom: 0.25rem;
}

.tt4m-faq-header h2 {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--tt4m-primary-dark, #0F3F22);
	margin: 0 0 0.35rem 0;
}

.tt4m-faq-header p {
	color: var(--tt4m-muted, #6B7280);
	font-size: 1rem;
	margin: 0;
	line-height: 1.6;
}

.tt4m-faq-accordion {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	max-width: 940px;
	margin: 0 auto;
}

.tt4m-faq-item {
	background: #ffffff;
	border: 1px solid var(--tt4m-border, #E5E7EB);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.tt4m-faq-item:hover {
	border-color: rgba(20, 83, 45, 0.3);
	box-shadow: 0 4px 12px rgba(20, 83, 45, 0.05);
}

.tt4m-faq-item[open] {
	border-color: var(--tt4m-primary, #14532D);
	box-shadow: 0 4px 14px rgba(20, 83, 45, 0.07);
}

.tt4m-faq-question {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 1.25rem 1.5rem;
	cursor: pointer;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--tt4m-text, #1F2937);
	transition: all 0.2s ease;
	user-select: none;
	min-height: 52px;
}

.tt4m-faq-question::-webkit-details-marker {
	display: none;
}

.tt4m-faq-question:hover {
	color: var(--tt4m-primary, #14532D);
	background: var(--tt4m-bg-alt, #F9FAFB);
}

.tt4m-faq-item[open] .tt4m-faq-question {
	color: var(--tt4m-primary, #14532D);
	background: #F0FDF4;
	border-bottom: 1px solid var(--tt4m-border, #E5E7EB);
}

.tt4m-faq-q-text {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-grow: 1;
	line-height: 1.45;
}

.tt4m-faq-q-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(20, 83, 45, 0.08);
	color: var(--tt4m-primary, #14532D);
	font-size: 0.8125rem;
	font-weight: 700;
	flex-shrink: 0;
}

.tt4m-faq-item[open] .tt4m-faq-q-num {
	background: var(--tt4m-primary, #14532D);
	color: #ffffff;
}

.tt4m-faq-chevron {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--tt4m-bg-alt, #F9FAFB);
	color: var(--tt4m-muted, #6B7280);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, color 0.2s ease;
}

.tt4m-faq-chevron svg {
	width: 14px;
	height: 14px;
	transition: transform 0.25s ease;
}

.tt4m-faq-item[open] .tt4m-faq-chevron {
	transform: rotate(180deg);
	background: var(--tt4m-primary, #14532D);
	color: #ffffff;
}

.tt4m-faq-answer {
	padding: 1.35rem 1.5rem;
	font-size: 0.95rem;
	color: #4B5563;
	line-height: 1.7;
	background: #ffffff;
	animation: tt4mFaqFadeIn 0.2s ease;
}

.tt4m-faq-answer p {
	margin: 0 0 0.85rem 0;
}

.tt4m-faq-answer p:last-child {
	margin-bottom: 0;
}

@keyframes tt4mFaqFadeIn {
	from {
		opacity: 0;
		transform: translateY(-3px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 600px) {
	.tt4m-faq-question {
		padding: 1rem 1.15rem;
		font-size: 0.95rem;
		gap: 0.75rem;
	}

	.tt4m-faq-answer {
		padding: 1.15rem;
		font-size: 0.9rem;
	}
}

/* ==============================================================================
 * 10. EDITORIAL SINGLE POST & CONTENT WRITER HELPER CLASSES
 * Used by single post templates and editorial articles (Posts 322, 325, 327)
 * ============================================================================== */

/* Table responsive wrapper */
.editorial-table-wrap,
.tt4m-table-wrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 2rem 0;
	border: 1px solid var(--tt4m-border, #E5E7EB);
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

/* Magazine styled table */
.editorial-table,
.tt4m-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	font-size: 0.9375rem;
	line-height: 1.55;
	font-family: var(--tt4m-font-family, 'Be Vietnam Pro', sans-serif);
	margin: 0;
}

.editorial-table th,
.tt4m-table th {
	background: var(--tt4m-bg-warm, #FAF8F5);
	color: var(--tt4m-primary-dark, #0F3F22);
	font-weight: 700;
	padding: 0.95rem 1.15rem;
	border-bottom: 2px solid var(--tt4m-border, #E5E7EB);
	white-space: nowrap;
}

.editorial-table td,
.tt4m-table td {
	padding: 0.95rem 1.15rem;
	border-bottom: 1px solid #F3F4F6;
	color: var(--tt4m-text, #1F2937);
	vertical-align: middle;
}

.editorial-table tr:last-child td,
.tt4m-table tr:last-child td {
	border-bottom: none;
}

.editorial-table tr:nth-child(even) td,
.tt4m-table tr:nth-child(even) td {
	background: #FAFAFA;
}

.editorial-table tr:hover td,
.tt4m-table tr:hover td {
	background: #F0FDF4;
}

/* Callout Box / Expert Tips */
.editorial-box,
.editorial-callout,
.tt4m-callout-box {
	background: var(--tt4m-bg-warm, #FAF8F5);
	border: 1px solid var(--tt4m-border, #E5E7EB);
	border-left: 4px solid var(--tt4m-primary, #14532D);
	border-radius: 0 10px 10px 0;
	padding: 1.35rem 1.65rem;
	margin: 2rem 0;
	font-size: 0.975rem;
	line-height: 1.68;
	color: var(--tt4m-text, #1F2937);
}

.editorial-box h4,
.editorial-callout h4,
.tt4m-callout-box h4 {
	color: var(--tt4m-primary, #14532D);
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0 0 0.5rem 0;
	font-family: 'Playfair Display', Georgia, serif;
}

/* Key Highlights / Summary Stat Box */
.editorial-highlight,
.tt4m-highlight-box {
	background: #F0FDF4;
	border: 1.5px solid rgba(20, 83, 45, 0.2);
	border-radius: 12px;
	padding: 1.5rem 1.75rem;
	margin: 2rem 0;
}

.editorial-highlight h4,
.tt4m-highlight-box h4 {
	color: var(--tt4m-primary-dark, #0F3F22);
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 0.65rem 0;
	font-family: 'Playfair Display', Georgia, serif;
}

/* Stat Grid Inside Articles */
.editorial-stat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1.25rem;
	margin: 2rem 0;
}

.editorial-stat-card {
	background: #ffffff;
	border: 1px solid var(--tt4m-border, #E5E7EB);
	border-radius: 10px;
	padding: 1.25rem;
	text-align: center;
}

.editorial-stat-number {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.85rem;
	font-weight: 700;
	color: var(--tt4m-primary, #14532D);
	margin-bottom: 0.25rem;
}

.editorial-stat-label {
	font-size: 0.85rem;
	color: var(--tt4m-muted, #6B7280);
	line-height: 1.4;
}

/* Table of Contents Box */
.tt4m-toc-box {
	background: var(--tt4m-bg-warm, #FAF8F5);
	border: 1px solid var(--tt4m-border, #E5E7EB);
	border-radius: 12px;
	padding: 1.35rem 1.65rem;
	margin: 2rem 0;
}

.tt4m-toc-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--tt4m-primary-dark, #0F3F22);
	margin: 0 0 0.75rem 0;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.85rem;
}

.tt4m-toc-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.tt4m-toc-list a {
	color: var(--tt4m-text, #1F2937);
	text-decoration: none;
	font-size: 0.925rem;
	transition: color 0.2s ease;
}

.tt4m-toc-list a:hover {
	color: var(--tt4m-primary, #14532D);
	text-decoration: underline;
}

/* Article Intro / Lead Paragraph */
.tt4m-article-intro,
.editorial-intro {
	font-size: 1.125rem;
	line-height: 1.75;
	color: #374151;
	margin-bottom: 2rem;
	font-weight: 400;
}

/* Checklist */
.editorial-checklist {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.editorial-checklist li {
	position: relative;
	padding-left: 1.75rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--tt4m-text, #1F2937);
}

.editorial-checklist li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--tt4m-primary, #14532D);
	font-weight: 800;
}
