/*
Theme Name: Kiến Hưng
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** TỐI ƯU GIAO DIỆN CHUẨN TRÊN THIẾT BỊ DI ĐỘNG (MOBILE) ***************/

/* 1. Sửa lỗi Logo trên Header Mobile (Image 3) */
@media (max-width: 849px) {
	.header-logo img,
	.header-mobile img.header_logo,
	#logo img {
		max-height: 48px !important;
		width: auto !important;
		object-fit: contain !important;
	}
	.logo a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
	}
}

/* 2. Sửa lỗi Logo Giới thiệu bị cắt chữ bên phải (Image 1) */
@media (max-width: 768px) {
	#image_828803195 {
		width: 100% !important;
		max-width: 320px !important;
		margin: 0 auto 15px auto !important;
	}
	#image_828803195 .img-inner {
		padding-top: 19% !important;
		overflow: visible !important;
	}
	#image_828803195 img {
		object-fit: contain !important;
		width: 100% !important;
		height: 100% !important;
		left: 0 !important;
		top: 0 !important;
	}
}

/* 3. Tối ưu vị trí nút gọi nổi Contact Hub trên Mobile tránh đè chữ bài viết (Image 2) */
@media (max-width: 768px) {
	.kh-hub-container,
	#kh-contact-hub {
		bottom: 22px !important;
		left: 14px !important;
		z-index: 99999 !important;
	}
	.kh-hub-style-arc .kh-arc-trigger {
		box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3) !important;
	}
}

/* 4. Tối ưu 2 nút Hotline đỏ trên Mobile (Image 4) */
@media (max-width: 640px) {
	.lien-he-section a.button,
	.col a.button.secondary.is-larger {
		display: flex !important;
		width: 100% !important;
		max-width: 310px !important;
		margin: 8px auto !important;
		justify-content: center !important;
		align-items: center !important;
		font-size: 14px !important;
		font-weight: 700 !important;
		letter-spacing: 0.5px !important;
		text-transform: uppercase !important;
		padding: 10px 18px !important;
		box-shadow: 0 4px 12px rgba(214, 51, 108, 0.25) !important;
	}
}

/*************** CÁC PHONG CÁCH TÙY BIẾN THANH BÊN (BLOG SIDEBAR STYLES) ***************/

/* 1. Phong cách Thẻ đóng khung viền (Boxed) */
.sidebar-style-boxed {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 22px;
	margin-bottom: 30px;
}

/* 2. Phong cách Thẻ đổ bóng nổi 3D (Card Shadow) */
.sidebar-style-shadow {
	background: #ffffff;
	border: 1px solid #edf2f7;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
	margin-bottom: 30px;
}

/* 3. Phong cách Nền xám nhạt cao cấp (Tinted Slate) */
.sidebar-style-tinted {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 22px;
	margin-bottom: 30px;
}

/* 4. Kiểu Tiêu đề Widget có Vạch màu Accent */
.sidebar-widget-accent .widget-title {
	border-left: 4px solid var(--primary-color, #1e73be);
	padding-left: 12px !important;
	font-weight: 700;
	letter-spacing: 0.3px;
}
.sidebar-widget-accent .widget-title + .is-divider {
	display: none;
}

/* 5. Kiểu Tiêu đề Widget Dạng Thẻ Viên thuốc (Pill Badge) */
.sidebar-widget-pill .widget-title {
	background: #eff6ff;
	color: #1e40af;
	padding: 6px 14px !important;
	border-radius: 20px;
	display: inline-block;
	font-weight: 700;
	font-size: 13px;
	margin-bottom: 12px;
}
.sidebar-widget-pill .widget-title + .is-divider {
	display: none;
}

/* 6. Kiểu Tiêu đề Widget Gradient hiện đại */
.sidebar-widget-gradient .widget-title span {
	background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 800;
}

/* 7. Nút bấm mở Off-Canvas Drawer */
.kh-offcanvas-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 18px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	box-shadow: 0 2px 6px rgba(0,0,0,0.04);
	cursor: pointer;
	transition: all 0.25s ease;
	text-decoration: none !important;
	margin-bottom: 20px;
}
.kh-offcanvas-btn:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: #0f172a;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.kh-offcanvas-btn svg {
	width: 16px;
	height: 16px;
}

/* 8. Off-Canvas Drawer Panel */
.kh-offcanvas-panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 360px;
	max-width: 88vw;
	background: #ffffff;
	z-index: 999999;
	box-shadow: -8px 0 30px rgba(0,0,0,0.18);
	padding: 25px;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.kh-offcanvas-panel.is-active {
	transform: translateX(0);
}
.kh-offcanvas-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 23, 42, 0.5);
	backdrop-filter: blur(2px);
	z-index: 999998;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}
.kh-offcanvas-overlay.is-active {
	opacity: 1;
	visibility: visible;
}
.kh-offcanvas-close {
	position: absolute;
	top: 15px;
	right: 18px;
	background: #f1f5f9;
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	cursor: pointer;
	color: #64748b;
	transition: all 0.2s ease;
}
.kh-offcanvas-close:hover {
	background: #e2e8f0;
	color: #0f172a;
}

/*************** BỐ CỤC DANH SÁCH BÀI VIẾT (LIST VIEW: HÌNH ẢNH, TIÊU ĐỀ & MÔ TẢ) ***************/

.kh-blog-list-wrapper {
	display: flex;
	flex-direction: column;
	margin-bottom: 35px;
}

/* ================= 1. KIỂU BÁO CHÍ ĐIỆN TỬ PHẲNG (NEWSPAPER FLAT - CHUẨN MẪU) ================= */
.kh-blog-list-wrapper.list-style-newspaper {
	gap: 0;
}
.kh-blog-list-wrapper.list-style-newspaper .kh-blog-list-card {
	display: flex;
	align-items: flex-start;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	padding: 0 0 24px 0;
	margin-bottom: 24px;
	border-bottom: 1px solid #e5e7eb;
	transition: opacity 0.2s ease;
}
.kh-blog-list-wrapper.list-style-newspaper .kh-list-thumb-col {
	width: 33%;
	min-width: 240px;
	max-width: 320px;
	flex-shrink: 0;
	border-radius: 6px;
	overflow: hidden;
	background: #f1f5f9;
}
.kh-blog-list-wrapper.list-style-newspaper .kh-list-thumb-link img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9.5;
	object-fit: cover;
	display: block;
	border-radius: 6px;
	transition: transform 0.35s ease;
}
.kh-blog-list-wrapper.list-style-newspaper .kh-blog-list-card:hover .kh-list-thumb-link img {
	transform: scale(1.03);
}
.kh-blog-list-wrapper.list-style-newspaper .kh-list-body-col {
	flex: 1;
	padding: 0 0 0 24px;
	display: flex;
	flex-direction: column;
}
.kh-blog-list-wrapper.list-style-newspaper .kh-list-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.38;
	margin: 0 0 8px 0;
	letter-spacing: -0.01em;
}
.kh-blog-list-wrapper.list-style-newspaper .kh-list-title a {
	color: #111827 !important;
	text-decoration: none !important;
	transition: color 0.15s ease;
}
.kh-blog-list-wrapper.list-style-newspaper .kh-list-title a:hover {
	color: var(--primary-color, #1e73be) !important;
}
.kh-blog-list-wrapper.list-style-newspaper .kh-list-excerpt {
	font-size: 15px;
	color: #4b5563;
	line-height: 1.62;
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ================= 2. KIỂU THẺ CARD ĐÓNG KHUNG & ĐỔ BÓNG ================= */
.kh-blog-list-wrapper.list-style-card,
.kh-blog-list-wrapper.list-style-shadow {
	gap: 22px;
}
.kh-blog-list-wrapper.list-style-card .kh-blog-list-card,
.kh-blog-list-wrapper.list-style-shadow .kh-blog-list-card {
	display: flex;
	align-items: stretch;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.25s ease;
}
.kh-blog-list-wrapper.list-style-card .kh-blog-list-card {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.kh-blog-list-wrapper.list-style-shadow .kh-blog-list-card {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.kh-blog-list-wrapper.list-style-card .kh-blog-list-card:hover,
.kh-blog-list-wrapper.list-style-shadow .kh-blog-list-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
	border-color: #cbd5e1;
}
.kh-blog-list-wrapper.list-style-card .kh-list-thumb-col,
.kh-blog-list-wrapper.list-style-shadow .kh-list-thumb-col {
	width: 35%;
	min-width: 250px;
	max-width: 360px;
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
	background: #f1f5f9;
}
.kh-blog-list-wrapper.list-style-card .kh-list-thumb-link img,
.kh-blog-list-wrapper.list-style-shadow .kh-list-thumb-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.kh-blog-list-wrapper.list-style-card .kh-list-body-col,
.kh-blog-list-wrapper.list-style-shadow .kh-list-body-col {
	flex: 1;
	padding: 20px 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.kh-blog-list-wrapper.list-style-card .kh-list-title,
.kh-blog-list-wrapper.list-style-shadow .kh-list-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.42;
	margin: 0 0 10px 0;
}
.kh-blog-list-wrapper.list-style-card .kh-list-title a,
.kh-blog-list-wrapper.list-style-shadow .kh-list-title a {
	color: #1e293b !important;
	text-decoration: none !important;
	transition: color 0.15s ease;
}
.kh-blog-list-wrapper.list-style-card .kh-list-title a:hover,
.kh-blog-list-wrapper.list-style-shadow .kh-list-title a:hover {
	color: var(--primary-color, #1e73be) !important;
}
.kh-blog-list-wrapper.list-style-card .kh-list-excerpt,
.kh-blog-list-wrapper.list-style-shadow .kh-list-excerpt {
	font-size: 14.5px;
	color: #475569;
	line-height: 1.6;
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ================= 3. CÁC KIỂU NÚT "ĐỌC TIẾP" (READ MORE BUTTON STYLES) ================= */
.kh-list-footer {
	margin-top: auto;
	padding-top: 4px;
}

/* Kiểu 1: Dạng Chữ liên kết kèm mũi tên (Link) */
.kh-list-rm-btn.kh-rm-style-link {
	display: inline-flex;
	align-items: center;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--primary-color, #1e73be) !important;
	text-decoration: none !important;
	transition: all 0.2s ease;
}
.kh-list-rm-btn.kh-rm-style-link:hover {
	transform: translateX(4px);
	color: #0f172a !important;
}

/* Kiểu 2: Nút viền mỏng bo góc (Outline) */
.kh-list-rm-btn.kh-rm-style-outline {
	display: inline-flex;
	align-items: center;
	padding: 6px 16px;
	border: 1.5px solid var(--primary-color, #1e73be);
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--primary-color, #1e73be) !important;
	text-decoration: none !important;
	background: transparent;
	transition: all 0.2s ease;
}
.kh-list-rm-btn.kh-rm-style-outline:hover {
	background: var(--primary-color, #1e73be);
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(30,115,190,0.25);
}

/* Kiểu 3: Nút khối đặc màu thương hiệu (Solid) */
.kh-list-rm-btn.kh-rm-style-solid {
	display: inline-flex;
	align-items: center;
	padding: 7px 18px;
	background: var(--primary-color, #1e73be);
	color: #ffffff !important;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	box-shadow: 0 2px 8px rgba(30,115,190,0.25);
	transition: all 0.2s ease;
}
.kh-list-rm-btn.kh-rm-style-solid:hover {
	background: #155a96;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 5px 14px rgba(30,115,190,0.35);
}

/* Kiểu 4: Nút dạng viên thuốc bo tròn (Pill) */
.kh-list-rm-btn.kh-rm-style-pill {
	display: inline-flex;
	align-items: center;
	padding: 6px 18px;
	background: #eff6ff;
	color: #1e40af !important;
	border-radius: 30px;
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none !important;
	border: 1px solid #dbeafe;
	transition: all 0.2s ease;
}
.kh-list-rm-btn.kh-rm-style-pill:hover {
	background: #1e40af;
	color: #ffffff !important;
	border-color: #1e40af;
	transform: translateY(-1px);
}

/* Kiểu 5: Gạch chân trượt mượt mà (Underline) */
.kh-list-rm-btn.kh-rm-style-underline {
	display: inline-flex;
	align-items: center;
	font-size: 13.5px;
	font-weight: 700;
	color: #1e293b !important;
	text-decoration: none !important;
	position: relative;
	padding-bottom: 2px;
}
.kh-list-rm-btn.kh-rm-style-underline::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--primary-color, #1e73be);
	transition: width 0.25s ease;
}
.kh-list-rm-btn.kh-rm-style-underline:hover {
	color: var(--primary-color, #1e73be) !important;
}

/* ================= 4. RESPONSIVE MOBILE ================= */
@media (max-width: 768px) {
	.kh-blog-list-wrapper.list-style-newspaper .kh-blog-list-card,
	.kh-blog-list-wrapper.list-style-card .kh-blog-list-card,
	.kh-blog-list-wrapper.list-style-shadow .kh-blog-list-card {
		flex-direction: column;
	}
	.kh-blog-list-wrapper.list-style-newspaper .kh-list-thumb-col,
	.kh-blog-list-wrapper.list-style-card .kh-list-thumb-col,
	.kh-blog-list-wrapper.list-style-shadow .kh-list-thumb-col {
		width: 100%;
		min-width: 100%;
		max-width: 100%;
		margin-bottom: 12px;
	}
	.kh-blog-list-wrapper.list-style-newspaper .kh-list-body-col {
		padding: 0;
	}
	.kh-blog-list-wrapper.list-style-card .kh-list-body-col,
	.kh-blog-list-wrapper.list-style-shadow .kh-list-body-col {
		padding: 16px 18px;
	}
	.kh-blog-list-wrapper.list-style-newspaper .kh-list-title {
		font-size: 17.5px;
	}
}

/* ================= 5. ÁP DỤNG KIỂU NÚT ĐỌC TIẾP TOÀN BỘ CÁC BỐ CỤC BLOG ================= */
body.kh-rm-global-hidden .more-link {
	display: none !important;
}
body.kh-rm-global-outline .more-link {
	display: inline-flex !important;
	align-items: center;
	padding: 5px 14px !important;
	border: 1.5px solid var(--primary-color, #1e73be) !important;
	border-radius: 6px !important;
	font-size: 12.5px !important;
	color: var(--primary-color, #1e73be) !important;
	background: transparent !important;
	text-decoration: none !important;
	transition: all 0.2s ease;
	margin-top: 8px;
}
body.kh-rm-global-outline .more-link:hover {
	background: var(--primary-color, #1e73be) !important;
	color: #ffffff !important;
	transform: translateY(-1px);
}
body.kh-rm-global-solid .more-link {
	display: inline-flex !important;
	align-items: center;
	padding: 6px 16px !important;
	background: var(--primary-color, #1e73be) !important;
	color: #ffffff !important;
	border-radius: 6px !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	box-shadow: 0 2px 6px rgba(30,115,190,0.25);
	transition: all 0.2s ease;
	margin-top: 8px;
}
body.kh-rm-global-solid .more-link:hover {
	background: #155a96 !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(30,115,190,0.35);
}
body.kh-rm-global-pill .more-link {
	display: inline-flex !important;
	align-items: center;
	padding: 5px 16px !important;
	background: #eff6ff !important;
	color: #1e40af !important;
	border-radius: 30px !important;
	border: 1px solid #dbeafe !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	transition: all 0.2s ease;
	margin-top: 8px;
}
body.kh-rm-global-pill .more-link:hover {
	background: #1e40af !important;
	color: #ffffff !important;
	border-color: #1e40af !important;
	transform: translateY(-1px);
}
body.kh-rm-global-underline .more-link {
	display: inline-flex !important;
	align-items: center;
	font-size: 13px !important;
	font-weight: 700 !important;
	color: #1e293b !important;
	text-decoration: none !important;
	position: relative;
	padding-bottom: 2px !important;
	border-bottom: 2px solid var(--primary-color, #1e73be) !important;
	margin-top: 8px;
}
body.kh-rm-global-link .more-link {
	display: inline-flex !important;
	align-items: center;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: var(--primary-color, #1e73be) !important;
	text-decoration: none !important;
	transition: all 0.2s ease;
	margin-top: 8px;
}
body.kh-rm-global-link .more-link:hover {
	transform: translateX(4px);
}

/* Áp dụng Sidebar style qua body class */
body.kh-sidebar-global-boxed .post-sidebar {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 22px;
}
body.kh-sidebar-global-shadow .post-sidebar {
	background: #ffffff;
	border: 1px solid #edf2f7;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
}
body.kh-sidebar-global-tinted .post-sidebar {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 22px;
}

/* ================= THANH THỜI GIAN ĐỌC & CỠ CHỮ GỌN NHẸ TRÊN TIÊU ĐỀ ================= */
.kh-reading-header-bar {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex-wrap: wrap !important;
	gap: 6px 14px !important;
	background: #f8fafc !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 8px !important;
	padding: 4px 12px !important;
	margin: 6px 0 14px 0 !important;
	min-height: 32px !important;
	line-height: 1.2 !important;
	box-sizing: border-box !important;
	width: 100% !important;
	text-align: left !important;
}
.kh-reading-meta-info {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	font-size: 12px !important;
	color: #64748b !important;
	font-weight: 500 !important;
	line-height: 1 !important;
}
.kh-reading-badge-item {
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
}
.kh-reading-badge-item svg {
	width: 13px !important;
	height: 13px !important;
}
.kh-font-resizer-wrap {
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	background: #ffffff !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 6px !important;
	padding: 1px 4px !important;
	line-height: 1 !important;
}
.kh-font-btn {
	background: transparent !important;
	border: none !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	color: #475569 !important;
	cursor: pointer !important;
	padding: 2px 6px !important;
	border-radius: 4px !important;
	line-height: 1.2 !important;
	transition: all 0.15s ease !important;
}
.kh-font-btn:hover {
	background: #e0f2fe !important;
	color: #0284c7 !important;
}
@media (max-width: 550px) {
	.kh-reading-header-bar {
		padding: 4px 8px !important;
		gap: 6px 8px !important;
	}
	.kh-reading-meta-info {
		font-size: 11px !important;
		gap: 8px !important;
	}
}

/* ================= CỤM NÚT CHIA SẺ MẠNG XÃ HỘI THẲNG HÀNG & ĐA NỀN TẢNG ================= */
.kh-share-box-modern {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	flex-wrap: wrap !important;
	gap: 8px 10px !important;
	padding: 16px 0 !important;
	margin: 25px 0 15px 0 !important;
	border-top: 1px solid #f1f5f9 !important;
	border-bottom: 1px solid #f1f5f9 !important;
}
.kh-share-label {
	display: inline-flex !important;
	align-items: center !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	color: #475569 !important;
	margin-right: 4px !important;
	line-height: 36px !important;
	height: 36px !important;
	white-space: nowrap !important;
}
.kh-share-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	height: 36px !important;
	min-height: 36px !important;
	max-height: 36px !important;
	padding: 0 12px !important;
	border-radius: 8px !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	font-family: inherit !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	cursor: pointer !important;
	border: 1px solid transparent !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	line-height: 1 !important;
	vertical-align: middle !important;
	white-space: nowrap !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}
.kh-share-btn svg {
	flex-shrink: 0 !important;
	vertical-align: middle !important;
}
.kh-share-facebook { background: #1877f2 !important; color: #ffffff !important; }
.kh-share-zalo     { background: #0068ff !important; color: #ffffff !important; }
.kh-share-twitter  { background: #000000 !important; color: #ffffff !important; }
.kh-share-telegram { background: #229ED9 !important; color: #ffffff !important; }
.kh-share-linkedin { background: #0A66C2 !important; color: #ffffff !important; }
.kh-share-whatsapp { background: #25D366 !important; color: #ffffff !important; }
.kh-share-email    { background: #ea4335 !important; color: #ffffff !important; }
.kh-share-copy     { background: #ffffff !important; color: #334155 !important; border-color: #cbd5e1 !important; }

.kh-share-btn:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* ==========================================================================
   KIẾN HƯNG BLOG STUDIO: CATEGORY NAV PILLS & SEO CONTENT & UX BLOCKS
   ========================================================================== */

/* 1. Category Navigation Pills Bar */
.kh-archive-cat-nav-wrapper {
	display: none !important;
	margin: 0 auto 24px auto;
	padding: 0 15px;
}
.kh-archive-cat-pills {
	display: flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 6px 4px;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.kh-archive-cat-pills::-webkit-scrollbar {
	display: none;
}
.kh-cat-pill {
	display: inline-block;
	margin: 0;
}
.kh-cat-pill a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	background: #f1f5f9;
	color: #475569;
	font-size: 13px;
	font-weight: 600;
	border-radius: 30px;
	text-decoration: none;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid #e2e8f0;
}
.kh-cat-pill a:hover {
	background: #e2e8f0;
	color: #0f172a;
	transform: translateY(-1px);
}
.kh-cat-pill.is-active a {
	background: #00b4d8;
	color: #ffffff;
	border-color: #00b4d8;
	box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
}
.kh-cat-count {
	font-size: 11px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.08);
	color: inherit;
}
.kh-cat-pill.is-active .kh-cat-count {
	background: rgba(255, 255, 255, 0.25);
	color: #ffffff;
}

/* 2. Category Bottom SEO Content Section */
.kh-category-seo-section {
	margin-top: 36px;
	margin-bottom: 30px;
}
.kh-seo-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 26px 30px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.kh-seo-plain {
	padding: 20px 0;
	border-top: 1px solid #e2e8f0;
}
.kh-seo-header {
	margin-bottom: 14px;
}
.kh-seo-title {
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}
.kh-seo-content {
	color: #475569;
	font-size: 14px;
	line-height: 1.75;
}
.kh-seo-collapsible .kh-seo-content {
	max-height: 160px;
	overflow: hidden;
	position: relative;
	transition: max-height 0.4s ease;
}
.kh-seo-collapsible .kh-seo-content::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 70px;
	background: linear-gradient(to bottom, rgba(248, 250, 252, 0), rgba(248, 250, 252, 1));
	pointer-events: none;
	transition: opacity 0.3s ease;
}
.kh-seo-plain.kh-seo-collapsible .kh-seo-content::after {
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}
.kh-seo-collapsible.is-expanded .kh-seo-content {
	max-height: 4000px;
}
.kh-seo-collapsible.is-expanded .kh-seo-content::after {
	opacity: 0;
}
.kh-seo-toggle-wrap {
	text-align: center;
	margin-top: 14px;
}
.kh-seo-toggle-btn {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #00b4d8;
	font-size: 13px;
	font-weight: 600;
	padding: 7px 18px;
	border-radius: 20px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s ease;
	box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.kh-seo-toggle-btn:hover {
	background: #00b4d8;
	color: #ffffff;
	border-color: #00b4d8;
	box-shadow: 0 4px 12px rgba(0, 180, 216, 0.25);
}
.kh-category-seo-section.is-expanded .kh-seo-toggle-btn svg {
	transform: rotate(180deg);
}

/* 3. Custom Elements & UX Blocks Box */
.kh-custom-element-box {
	clear: both;
}
.kh-element-fullwidth {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	box-sizing: border-box;
}
.kh-element-contained {
	max-width: 1220px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
	box-sizing: border-box;
}
.kh-single-top-block {
	margin-bottom: 24px;
}
.kh-single-bottom-block {
	margin-top: 24px;
	margin-bottom: 24px;
}