.entry-content ol li,.entry-content ul li,.entry-summary ol li,.entry-summary ul li{margin-left:1.3em}.entry-content ol li.tab,.entry-content ul li.tab,.entry-summary ol li.tab,.entry-summary ul li.tab{margin-left:0}h1.entry-title.mb{margin-bottom:30px}.entry-header-text{padding:1.5em 0}.entry-header-text.text-center{padding-left:1.5em;padding-right:1.5em}.entry-header-text-top{padding-top:0}.entry-header-text-bottom{padding-bottom:0}.entry-content{padding-bottom:1.5em;padding-top:1.5em}.masonery .article-inner .box{margin-bottom:1.5em}.article-inner{transition:opacity .3s,box-shadow .5s,transform .3s}.blog-featured-title+#main .post-sidebar{padding-top:30px}.from_the_blog_comments{opacity:.8;padding-top:7px}.article-inner.has-shadow{background-color:#fff}.article-inner.has-shadow .author-box,.article-inner.has-shadow .entry-content,.article-inner.has-shadow .entry-header-text,.article-inner.has-shadow footer.entry-meta{padding-left:1.5em;padding-right:1.5em}.article-inner.has-shadow .entry-header-text-top{padding-top:1.5em}.entry-image-float{position:relative}@media(min-width:850px){.entry-image-float{float:left;margin-right:2em;max-width:50%}.entry-image-float+.entry-content{padding-top:0}}.post .entry-summary p:last-of-type{margin-bottom:0}footer.entry-meta{border-bottom:2px solid #ececec;border-top:1px solid #ececec;font-size:.8em;padding:.5em 0 .6em}.box-blog-post .is-divider{height:2px;margin-bottom:.5em;margin-top:.5em}.row .entry-content .gallery{padding:0}.entry-content .wp-smiley{border:none;margin-bottom:0;margin-top:0;padding:0}@media(min-width:850px){.comment-form{display:flex;flex-flow:row wrap;margin-left:-15px;margin-right:-15px}.comment-form>div,.comment-form>p{padding:0 15px;width:100%}.comment-form p.comment-form-author,.comment-form p.comment-form-email,.comment-form p.comment-form-url{flex:1}}.comment-list li{list-style:none;padding:1em 0 0}.comment-list li .meta{margin-bottom:0}.comment-list li .avatar{border-radius:100%}.comment-list li .description{font-style:italic}.comment-list li .comment-text{padding:0 1.5em}.comment-list>li:not(:first-child){border-top:1px dashed #ddd}#comments .comment-respond{background-color:rgba(0,0,0,.05);margin-top:15px;padding:15px 25px 0}#comments .comment-respond .comment-reply-title{font-size:1.2em}#comments .comment-respond small{font-size:.6em;margin-left:10px;text-transform:uppercase}


/* ============================================================
   FLATSOME LITE - TABLE OF CONTENTS (CHUAN DIEN MAY XANH)
   ============================================================ */
.toc-box {
	position: relative;
	background-color: #f0f7ff;
	border: 1px solid #dbeafe;
	border-radius: 10px;
	padding: 16px 18px;
	margin: 24px 0 28px 0;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.04);
	transition: all 0.25s ease;
}
.toc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	user-select: none;
}
.toc-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 700;
	color: #1e3a8a;
	line-height: 1.2;
}
.toc-icon {
	color: #2563eb;
	flex-shrink: 0;
}
.toc-toggle-btn {
	background: #e0f2fe;
	border: 0;
	border-radius: 50%;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background-color 0.2s, transform 0.25s ease;
}
.toc-toggle-btn:hover {
	background-color: #bae6fd;
}
.toc-toggle-arrow {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-left: 2px solid #0369a1;
	border-bottom: 2px solid #0369a1;
	transform: rotate(135deg);
	transition: transform 0.25s ease;
	margin-top: -2px;
}
.toc-box.is-collapsed .toc-toggle-arrow {
	transform: rotate(-45deg);
	margin-top: -4px;
}
.toc-body {
	position: relative;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px dashed #bfdbfe;
	transition: max-height 0.3s ease, opacity 0.25s ease;
}
.toc-box.is-collapsed .toc-body {
	display: none;
}
.toc-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.toc-item {
	margin: 0 0 8px 0 !important;
	line-height: 1.5;
}
.toc-link {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	color: #1e40af !important;
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none !important;
	transition: color 0.15s, transform 0.15s;
}
.toc-link:hover {
	color: #2563eb !important;
	text-decoration: underline !important;
}
.toc-num {
	font-weight: 700;
	color: #2563eb;
	flex-shrink: 0;
}
.toc-sublist {
	list-style: none !important;
	margin: 6px 0 6px 20px !important;
	padding: 0 !important;
}
.toc-item-h3 .toc-link {
	font-size: 13.5px;
	color: #3b82f6 !important;
	font-weight: 400;
}
.toc-item-h3 .toc-link:hover {
	color: #1d4ed8 !important;
}
.toc-body.has-overflow {
	max-height: 260px;
	overflow: hidden;
}
.toc-body.has-overflow.is-expanded {
	max-height: none !important;
	overflow: visible !important;
}
.toc-fade-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: linear-gradient(to bottom, rgba(240, 247, 255, 0) 0%, rgba(240, 247, 255, 0.95) 75%, #f0f7ff 100%);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding-bottom: 2px;
	pointer-events: none;
}
.toc-body.is-expanded .toc-fade-overlay {
	position: static;
	height: auto;
	background: none;
	padding-top: 10px;
}
.toc-more-btn {
	pointer-events: auto;
	background: #ffffff;
	border: 1px solid #bfdbfe;
	color: #2563eb;
	font-size: 13px;
	font-weight: 600;
	border-radius: 20px;
	padding: 5px 14px;
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(37, 99, 235, 0.08);
	transition: all 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.toc-more-btn:hover {
	background: #2563eb;
	color: #ffffff;
	border-color: #2563eb;
}
.toc-article-heading {
	scroll-margin-top: calc(var(--flatsome--header--sticky-height, 70px) + 20px);
}
.toc-heading-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	background: #2563eb;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	border-radius: 6px;
	margin-right: 8px;
	vertical-align: 2px;
	line-height: 1;
}

/* ============================================================
   FLATSOME LITE - TOPIC PILLS (#TAGS VIEN THUOC)
   ============================================================ */
.toc-topic-pills-wrap {
	margin-bottom: 20px;
}
.toc-topic-pills-wrap.toc-topic-pills-topbar {
	padding: 14px 18px;
	background: #f8fafc;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
}
.toc-topic-pills-label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13.5px;
	font-weight: 700;
	color: #1e293b;
	white-space: nowrap;
	flex-shrink: 0;
}
.toc-topic-pills-icon {
	color: #2563eb;
	font-weight: 700;
}
.toc-topic-pills-scroll {
	display: flex;
	align-items: center;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 2px;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.toc-topic-pills-scroll::-webkit-scrollbar {
	display: none;
}
.toc-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 14px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	color: #334155 !important;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none !important;
	transition: all 0.18s ease;
	user-select: none;
}
.toc-pill:hover {
	background: #eff6ff;
	border-color: #93c5fd;
	color: #1d4ed8 !important;
	transform: translateY(-1px);
}
.toc-pill.is-active {
	background: #2563eb;
	border-color: #2563eb;
	color: #ffffff !important;
	font-weight: 600;
	box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}
.toc-pill-count {
	font-size: 11px;
	background: rgba(0, 0, 0, 0.08);
	padding: 1px 6px;
	border-radius: 999px;
}
.toc-pill.is-active .toc-pill-count {
	background: rgba(255, 255, 255, 0.25);
	color: #fff;
}

/* ============================================================
   FLATSOME LITE - SINGLE POST MODERN TYPOGRAPHY
   ============================================================ */
.toc-blog-title, .blog-single-title {
	font-size: 28px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	line-height: 1.35 !important;
	margin: 10px 0 14px 0 !important;
	text-align: left !important;
}
@media (max-width: 849px) {
	.toc-blog-title, .blog-single-title {
		font-size: 22px !important;
	}
}
.toc-entry-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13.5px;
	color: #64748b;
	margin-bottom: 20px;
	text-transform: none !important;
}
.toc-meta-author {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: #1e293b;
}
.toc-author-avatar {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	object-fit: cover;
}
.toc-meta-sep {
	color: #cbd5e1;
}
.toc-meta-readtime {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: #0369a1;
	font-weight: 500;
}
.entry-content.single-page {
	font-size: 16.5px;
	line-height: 1.75;
	color: #1e293b;
}
.entry-content.single-page p {
	margin-bottom: 1.3em;
}
.entry-content.single-page img {
	border-radius: 8px;
}
.entry-content.single-page table {
	border-collapse: collapse;
	width: 100%;
	margin: 20px 0;
	border-radius: 8px;
	overflow: hidden;
}
.entry-content.single-page table th {
	background: #f1f5f9;
	color: #0f172a;
	font-weight: 700;
	padding: 10px 14px;
}
.entry-content.single-page table td {
	padding: 10px 14px;
	border-top: 1px solid #e2e8f0;
}
.blog-single-focused {
	max-width: 840px !important;
	margin: 0 auto !important;
}

/* ============================================================
   FLATSOME LITE - PIN QUICK MENU (THANH GHIM MUC LUC DIEN MAY XANH)
   ============================================================ */
.toc-pin-menu {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 998;
	background: #ffffff;
	border-bottom: 1px solid #e2e8f0;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
	opacity: 0;
	transform: translateY(-8px);
	pointer-events: none;
	transition: opacity 0.22s ease, transform 0.22s ease;
}
body.admin-bar .toc-pin-menu {
	top: 32px;
}
@media (max-width: 782px) {
	body.admin-bar .toc-pin-menu {
		top: 46px;
	}
}
.toc-pin-menu.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}
.toc-pin-container {
	max-width: 840px;
	margin: 0 auto;
	padding: 0 16px;
	position: relative;
}
.toc-pin-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 48px;
	padding: 6px 0;
	cursor: pointer;
	user-select: none;
}
.toc-pin-title-wrap {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}
.toc-pin-current-title {
	display: block;
	font-size: 15.5px;
	font-weight: 700;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.35;
}
.toc-pin-toggle-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	border: 1.5px solid #93c5fd;
	background: #ffffff;
	color: #2563eb;
	cursor: pointer;
	padding: 0;
	flex-shrink: 0;
	transition: background-color 0.18s, border-color 0.18s;
}
.toc-pin-bar:hover .toc-pin-toggle-btn,
.toc-pin-toggle-btn:hover {
	background: #eff6ff;
	border-color: #2563eb;
}
.toc-pin-arrow-icon {
	color: #2563eb;
	transition: transform 0.25s ease;
}
.toc-pin-menu.is-open .toc-pin-arrow-icon {
	transform: rotate(180deg);
}
.toc-pin-dropdown {
	position: absolute;
	top: 100%;
	left: 16px;
	right: 16px;
	background: #ffffff;
	border-radius: 0 0 10px 10px;
	border: 1px solid #bfdbfe;
	border-top: 1px solid #e2e8f0;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	max-height: 55vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.toc-pin-menu.is-open .toc-pin-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.toc-pin-list-scroll {
	overflow-y: auto;
	padding: 8px 0;
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 transparent;
}
.toc-pin-list-scroll::-webkit-scrollbar {
	width: 6px;
}
.toc-pin-list-scroll::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 4px;
}
.toc-pin-list-scroll::-webkit-scrollbar-thumb:hover {
	background: #94a3b8;
}
.toc-pin-list-scroll::-webkit-scrollbar-track {
	background: transparent;
}
.toc-pin-item {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	padding: 8px 18px;
	color: #2563eb !important;
	text-decoration: none !important;
	font-size: 14.5px;
	line-height: 1.45;
	cursor: pointer;
	user-select: none;
	transition: background-color 0.15s, color 0.15s;
}
.toc-pin-item:hover {
	background-color: #f8fafc;
	color: #1d4ed8 !important;
}
.toc-pin-item-3 {
	padding-left: 36px;
	font-size: 13.5px;
	color: #3b82f6 !important;
}
.toc-pin-item-num {
	font-weight: 700;
	flex-shrink: 0;
}
.toc-pin-item.is-active {
	color: #1d4ed8 !important;
	font-weight: 700 !important;
	background-color: #eff6ff;
}
.toc-pin-item.is-active .toc-pin-item-text {
	text-decoration: none;
}
@media (max-width: 849px) {
	.toc-pin-container {
		padding: 0 12px;
	}
	.toc-pin-dropdown {
		left: 10px;
		right: 10px;
		max-height: 50vh;
	}
	.toc-pin-current-title {
		font-size: 14px;
	}
}

/* ============================================================
   FLATSOME LITE - AUTO POST THUMBNAIL & PLACEHOLDER FALLBACK
   ============================================================ */
.flatsome-placeholder-thumbnail,
.flatsome-first-img-thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.flatsome-placeholder-thumbnail {
	background-color: #f1f5f9;
	object-fit: contain;
	padding: 16px;
}

/* ============================================================
   FLATSOME LITE - CLEAN BLOG ARCHIVE HEADER & BREADCRUMBS
   ============================================================ */
.archive-page-header.blog-archive-header {
	padding: 0 0 16px 0;
	margin-bottom: 24px;
	border-bottom: 1px solid #e2e8f0;
	text-align: left;
}
.blog-archive-header .breadcrumbs,
.blog-archive-header .woocommerce-breadcrumb,
.blog-archive-header .rank-math-breadcrumb {
	margin-bottom: 10px;
	font-size: 13.5px;
	line-height: 1.4;
	color: #64748b;
}
.blog-archive-header .breadcrumbs a,
.blog-archive-header .woocommerce-breadcrumb a,
.blog-archive-header .rank-math-breadcrumb a {
	color: #000000;
	text-decoration: none;
	transition: color 0.15s ease-in-out;
}
.blog-archive-header .breadcrumbs a:hover,
.blog-archive-header .woocommerce-breadcrumb a:hover,
.blog-archive-header .rank-math-breadcrumb a:hover {
	color: #1d4ed8;
	text-decoration: underline;
}
.blog-archive-title {
	font-size: 26px;
	font-weight: 700 !important;
	color: #0f172a;
	margin: 6px 0 10px 0;
	line-height: 1.3;
	text-transform: none !important;
	letter-spacing: -0.01em;
}
.archive-description {
	font-size: 15px;
	color: #475569;
	line-height: 1.6;
	margin-top: 8px;
}
@media (max-width: 849px) {
	.archive-page-header.blog-archive-header {
		margin-bottom: 18px;
		padding-bottom: 12px;
	}
	.blog-archive-title {
		font-size: 22px;
	}
}

/* ============================================================
   FLATSOME LITE - THUMBNAIL BORDER RADIUS 10PX
   ============================================================ */
.post-item .box-image,
.post-item .box-image-inner,
.post-item .box-image .image-cover,
.post-item .box-image img,
.flatsome-placeholder-thumbnail,
.flatsome-first-img-thumbnail,
.blog-related-posts .box-image,
.blog-related-posts .box-image-inner,
.blog-related-posts .box-image .image-cover,
.blog-related-posts .box-image img,
.products.row .product-small.box,
.products.row .product-small .box-image,
.products.row .product-small .box-image img {
	border-radius: 10px !important;
}
.post-item .box-image,
.post-item .box-image .image-cover,
.blog-related-posts .box-image,
.products.row .product-small .box-image {
	overflow: hidden !important;
}

/* ============================================================
   FLATSOME LITE - BLOG RELATED POSTS STYLING
   ============================================================ */
.blog-related-posts {
	margin: 40px 0 25px;
	padding-top: 25px;
	border-top: 1px solid #e2e8f0;
}
.blog-related-header {
	margin-bottom: 20px;
}
.blog-related-title {
	font-size: 22px;
	font-weight: 700 !important;
	color: #0f172a;
	margin: 0 0 8px;
	letter-spacing: -0.01em;
}
.blog-related-header .is-divider {
	margin: 6px 0 0 0;
}
.blog-related-item .box {
	background-color: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
	height: 100%;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.blog-related-item .box:hover {
	border-color: #cbd5e1;
	box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.08), 0 6px 8px -6px rgba(0, 0, 0, 0.04);
	transform: translateY(-2px);
}
.blog-related-item .box-image {
	background-color: #f8fafc;
	border-bottom: 1px solid #f1f5f9;
}
.blog-related-item .box-text {
	padding: 12px 14px 14px;
}
.blog-related-post-title {
	font-size: 14.5px;
	font-weight: 700 !important;
	line-height: 1.45;
	color: #1e293b;
	margin: 0 0 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	min-height: 2.9em;
}
.blog-related-post-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}
.blog-related-post-title a:hover {
	color: #1d4ed8;
}
.blog-related-meta {
	font-size: 12.5px;
	color: #94a3b8;
}
@media (max-width: 849px) {
	.blog-related-posts {
		margin: 30px 0 20px;
		padding-top: 20px;
	}
	.blog-related-title {
		font-size: 19px;
	}
	.blog-related-item .box-text {
		padding: 10px 12px 12px;
	}
	.blog-related-post-title {
		font-size: 13.5px;
	}
}



