/**
 * News Single Post Scoped Styles.
 *
 * Implements Hallmark visual fidelity, WCAG AA/AAA contrast,
 * 2-column layout with sticky sidebar, responsive clinical layout,
 * and zero horizontal overflow across 7 breakpoints.
 *
 * Strictly aligned with single-tin-tuc.php, doctor-evaluator.php,
 * related-posts.php, and comments.php markup contracts.
 *
 * @package Hoa_Duc_Child
 */

:root {
	--hde-news-primary: #046531;
	--hde-news-primary-hover: #034b24;
	--hde-news-secondary: #28a745;
	--hde-news-text: #333333;
	--hde-news-text-dark: #1a1a1a;
	--hde-news-text-muted: #666666;
	--hde-news-bg-light: #f8f9fa;
	--hde-news-border: #e5e5e5;
	--hde-news-card-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	--hde-news-radius: 8px;
}

/* Astra Scoped Neutralization */
body.hoaduc-news-single #primary.site-main,
body.hoaduc-news-single .site-content {
	width: 100%;
	max-width: 100%;
	float: none;
	margin: 0;
	padding: 0;
}

/* overflow-x:hidden/clip on body/.site-main creates a sticky containing block. */
body.hoaduc-news-native,
body.hoaduc-news-native .site-main.hde-news-site-main {
	overflow-x: visible !important;
}

.hde-news-site-main {
	background-color: #ffffff;
	color: var(--hde-news-text);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
		line-height: 1.6;
		padding-bottom: 60px;
		overflow-x: visible;
	}

.hde-news-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
}

/* Breadcrumbs */
	.hde-news-breadcrumbs-wrap {
		width: min(1200px, calc(100% - 40px));
		max-width: 1200px;
		margin: 16px auto 28px;
		padding: 0;
		background: transparent;
		border: 0;
	}

.hde-news-breadcrumbs-wrap nav,
.hde-news-breadcrumbs-wrap .woocommerce-breadcrumb {
	font-size: 14px;
	color: var(--hde-news-text-muted);
	margin: 0;
	padding: 0;
}

.hde-news-breadcrumbs-wrap a {
	color: var(--hde-news-text-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.hde-news-breadcrumbs-wrap a:hover {
	color: var(--hde-news-primary);
}

/* Two-column Layout */
.hde-news-layout,
.hde-news-layout--single {
	display: flex;
	align-items: flex-start;
	gap: 32px;
}

	.hde-news-main-col,
	.hde-news-article {
		flex: 1 1 0%;
		min-width: 0;
		max-width: 100%;
		overflow-x: clip;
	}

.hde-news-sidebar-col,
.hde-news-sidebar--single {
	width: 330px;
	flex-shrink: 0;
	box-sizing: border-box;
}

	.hde-news-sidebar-sticky,
	.hde-news-sidebar__sticky {
		position: -webkit-sticky;
		position: sticky;
		top: 16px;
		max-height: calc(100vh - 24px);
		overflow-x: hidden;
		overflow-y: auto;
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

/* Article Header */
.hde-news-article__header {
	margin-bottom: 24px;
}

.hde-news-article__category {
	display: inline-block;
	margin-bottom: 12px;
}

.hde-news-article__category a {
	display: inline-block;
	background-color: #eaf4ed;
	color: var(--hde-news-primary);
	font-size: 13px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 4px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.hde-news-article__category a:hover {
	background-color: var(--hde-news-primary);
	color: #ffffff;
}

.hde-news-article__title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--hde-news-text-dark);
	margin: 0 0 16px 0;
	letter-spacing: -0.3px;
}

.hde-news-article__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--hde-news-border);
	font-size: 14px;
	color: var(--hde-news-text-muted);
}

.hde-news-article__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.hde-news-article__meta-item svg {
	color: var(--hde-news-primary);
	flex-shrink: 0;
}

/* Featured Media */
.hde-news-article__thumb {
	margin-bottom: 28px;
	border-radius: var(--hde-news-radius);
	overflow: hidden;
	box-shadow: var(--hde-news-card-shadow);
	background-color: #f7f7f7;
}

.hde-news-article__img,
.hde-news-article__thumb img {
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
	display: block;
}

/* Doctor Evaluator Box */
.hde-doctor-evaluator {
	background-color: #f4f9f5;
	border: 1px solid #d4ebd9;
	border-left: 4px solid var(--hde-news-primary);
	border-radius: var(--hde-news-radius);
	padding: 20px;
	margin-bottom: 32px;
}

.hde-doctor-evaluator__header {
	margin-bottom: 14px;
}

.hde-doctor-evaluator__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--hde-news-primary);
	letter-spacing: 0.5px;
}

.hde-doctor-evaluator__badge svg {
	color: var(--hde-news-primary);
	flex-shrink: 0;
}

.hde-doctor-evaluator__card {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.hde-doctor-evaluator__avatar {
	flex-shrink: 0;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid var(--hde-news-primary);
	background-color: #e9ecef;
}

.hde-doctor-evaluator__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hde-doctor-evaluator__info {
	flex: 1 1 auto;
	min-width: 0;
}

.hde-doctor-evaluator__title {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 4px 0;
	line-height: 1.3;
}

.hde-doctor-evaluator__title a {
	color: var(--hde-news-text-dark);
	text-decoration: none;
	transition: color 0.2s ease;
}

.hde-doctor-evaluator__title a:hover {
	color: var(--hde-news-primary);
}

.hde-doctor-evaluator__meta {
	font-size: 13px;
	color: var(--hde-news-text-muted);
	margin: 0 0 6px 0;
	font-weight: 500;
}

.hde-doctor-evaluator__bio {
	font-size: 13px;
	line-height: 1.5;
	color: #555555;
	margin: 0;
}

.hde-doctor-evaluator__advisory {
	margin-top: 14px;
	padding: 12px 16px;
	background: #ffffff;
	border-radius: 6px;
	border-left: 3px solid var(--hde-news-secondary);
}

.hde-doctor-evaluator__advisory-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--hde-news-primary);
	margin-bottom: 4px;
}

.hde-doctor-evaluator__advisory-text {
	font-size: 13px;
	line-height: 1.5;
	color: #444444;
	font-style: italic;
}

.hde-doctor-evaluator__disclaimer {
	margin: 12px 0 0 0;
	font-size: 11px;
	color: #888888;
	line-height: 1.4;
}

/* Article Body Content */
.hde-news-article__content,
.entry-content.hde-news-article__content {
	font-size: 16px;
	line-height: 1.8;
	color: #2b2b2b;
	margin-bottom: 36px;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.hde-news-article__content p,
.entry-content.hde-news-article__content p {
	margin-bottom: 1.4em;
	line-height: 1.8;
}

.hde-news-article__content a,
.entry-content.hde-news-article__content a {
	color: var(--hde-news-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.hde-news-article__content a:hover,
.entry-content.hde-news-article__content a:hover {
	color: var(--hde-news-primary-hover);
	text-decoration: underline;
}

.hde-news-article__content h2,
.entry-content.hde-news-article__content h2 {
	font-size: 22px;
	font-weight: 700;
	color: var(--hde-news-primary);
	margin: 32px 0 16px 0;
	line-height: 1.35;
	border-left: 4px solid var(--hde-news-primary);
	padding-left: 12px;
}

.hde-news-article__content h3,
.entry-content.hde-news-article__content h3 {
	font-size: 18px;
	font-weight: 600;
	color: var(--hde-news-text-dark);
	margin: 24px 0 12px 0;
	line-height: 1.4;
}

.hde-news-article__content h4,
.entry-content.hde-news-article__content h4 {
	font-size: 16px;
	font-weight: 600;
	color: var(--hde-news-text-dark);
	margin: 20px 0 10px 0;
}

.hde-news-article__content img,
.entry-content.hde-news-article__content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	margin: 16px auto;
	display: block;
}

.hde-news-article__content figure,
.entry-content.hde-news-article__content figure {
	margin: 20px 0;
	text-align: center;
}

.hde-news-article__content figcaption,
.entry-content.hde-news-article__content figcaption {
	font-size: 13px;
	color: var(--hde-news-text-muted);
	font-style: italic;
	margin-top: 6px;
	text-align: center;
}

	.hde-news-article__content ul,
	.entry-content.hde-news-article__content ul {
		list-style-type: disc;
		padding-left: 24px;
		margin-bottom: 1.4em;
	}

	#ez-toc-container ul,
	#ez-toc-container li,
	.hde-news-article__content #ez-toc-container ul,
	.entry-content.hde-news-article__content #ez-toc-container ul {
		list-style: none;
		padding-left: 0;
		margin: 0;
		overflow: visible;
	}

.hde-news-article__content ol,
.entry-content.hde-news-article__content ol {
	list-style-type: decimal;
	padding-left: 24px;
	margin-bottom: 1.4em;
}

.hde-news-article__content li,
.entry-content.hde-news-article__content li {
	margin-bottom: 0.5em;
	line-height: 1.7;
}

.hde-news-article__content blockquote,
.entry-content.hde-news-article__content blockquote {
	margin: 24px 0;
	padding: 16px 20px;
	background: #f8faf8;
	border-left: 4px solid var(--hde-news-secondary);
	font-style: italic;
	color: #444444;
	border-radius: 0 var(--hde-news-radius) var(--hde-news-radius) 0;
}

.hde-news-article__content table,
.entry-content.hde-news-article__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 15px;
	overflow-x: auto;
	display: block;
}

.hde-news-article__content th,
.entry-content.hde-news-article__content th,
.hde-news-article__content td,
.entry-content.hde-news-article__content td {
	padding: 10px 14px;
	border: 1px solid var(--hde-news-border);
}

.hde-news-article__content th,
.entry-content.hde-news-article__content th {
	background-color: #f1f5f2;
	color: var(--hde-news-primary);
	font-weight: 600;
}

/* Article Footer, Tags & Share */
.hde-news-article__footer {
	margin-top: 24px;
}

.hde-news-article__tags {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.hde-news-article__tags-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--hde-news-text);
}

.hde-news-article__tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.hde-news-article__tag {
	display: inline-block;
	background-color: #f1f3f5;
	color: #495057;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 12px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.hde-news-article__tag:hover {
	background-color: var(--hde-news-primary);
	color: #ffffff;
}

.hde-news-article__share {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 0;
	border-top: 1px solid var(--hde-news-border);
	border-bottom: 1px solid var(--hde-news-border);
	margin-bottom: 36px;
	flex-wrap: wrap;
}

.hde-news-article__share-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--hde-news-text);
}

.hde-news-article__share-buttons {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.hde-news-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	border: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.hde-news-share-btn:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.hde-news-share-btn--facebook {
	background-color: #1877f2;
	color: #ffffff !important;
}

.hde-news-share-btn--zalo {
	background-color: #0068ff;
	color: #ffffff !important;
}

.hde-news-share-btn--copy {
	background-color: #e9ecef;
	color: var(--hde-news-text);
}

	/* Related Posts Section — DOM uses .hde-news-related / .hde-news-card--related */
	.hde-news-related,
	.hde-related-posts {
		margin-top: 40px;
		padding-top: 28px;
		border-top: 2px solid #eef2ef;
	}

	.hde-news-related__heading,
	.hde-related-posts__title {
		font-size: 20px;
		font-weight: 700;
		color: var(--hde-news-primary);
		margin-bottom: 20px;
		position: relative;
		padding-left: 12px;
		border-left: 3px solid var(--hde-news-primary);
	}

	.hde-news-related__grid,
	.hde-related-posts__grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 16px;
	}

	.hde-news-card--related,
	.hde-related-card {
		background: #ffffff;
		border: 1px solid var(--hde-news-border);
		border-radius: var(--hde-news-radius);
		overflow: hidden;
		display: flex;
		flex-direction: column;
		box-shadow: var(--hde-news-card-shadow);
		transition: transform 0.2s ease, box-shadow 0.2s ease;
	}

	.hde-news-card--related:hover,
	.hde-related-card:hover {
		transform: translateY(-2px);
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	}

	.hde-news-card--related .hde-news-card__media,
	.hde-related-card__thumb {
		position: relative;
		width: 100%;
		padding-top: 60%;
		overflow: hidden;
		background-color: #f0f0f0;
	}

	.hde-news-card--related .hde-news-card__media a,
	.hde-related-card__thumb a {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		display: block;
	}

	.hde-news-card--related .hde-news-card__thumb,
	.hde-related-card__thumb img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
		transition: transform 0.3s ease;
	}

	.hde-news-card--related:hover .hde-news-card__thumb,
	.hde-related-card:hover .hde-related-card__thumb img {
		transform: scale(1.05);
	}

	.hde-news-card--related .hde-news-card__placeholder {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		background: #f4f6f8;
		color: var(--hde-news-text-muted);
		font-size: 13px;
		font-weight: 500;
	}

	.hde-news-card--related .hde-news-card__body,
	.hde-related-card__content {
		padding: 12px;
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
	}

	.hde-news-card--related .hde-news-card__date,
	.hde-related-card__date {
		font-size: 12px;
		color: var(--hde-news-text-muted);
		margin-bottom: 6px;
	}

	.hde-news-card--related .hde-news-card__title,
	.hde-related-card__title {
		font-size: 14px;
		font-weight: 600;
		line-height: 1.4;
		margin: 0 0 10px 0;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		flex: 1 1 auto;
	}

	.hde-news-card--related .hde-news-card__title a,
	.hde-related-card__title a {
		color: var(--hde-news-text);
		text-decoration: none;
		transition: color 0.2s ease;
	}

	.hde-news-card--related .hde-news-card__title a:hover,
	.hde-related-card__title a:hover {
		color: var(--hde-news-primary);
	}

	.hde-news-card--related .hde-news-card__cta {
		display: inline-block;
		font-size: 13px;
		font-weight: 500;
		color: var(--hde-news-primary);
		text-decoration: none;
	}

/* Comments Section */
.hde-comments {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 2px solid #eef2ef;
}

.hde-comments__title,
.comment-reply-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--hde-news-primary);
	margin-bottom: 20px;
	position: relative;
	padding-left: 12px;
	border-left: 3px solid var(--hde-news-primary);
}

.hde-comments__list {
	list-style: none;
	padding: 0;
	margin: 0 0 32px 0;
}

.hde-comments__list .comment {
	padding: 16px;
	background: #fbfbfb;
	border-radius: 6px;
	border: 1px solid #f0f0f0;
	margin-bottom: 16px;
	list-style: none;
}

.hde-comments__list .comment-body {
	display: flex;
	gap: 14px;
}

.hde-comments__list .comment-author .avatar {
	border-radius: 50%;
}

.hde-comments__list .comment-author .fn {
	font-weight: 600;
	color: var(--hde-news-text-dark);
}

.hde-comments__list .comment-metadata a {
	font-size: 12px;
	color: var(--hde-news-text-muted);
	text-decoration: none;
}

.hde-comments__list .comment-content {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.5;
}

.hde-comments__closed {
	color: var(--hde-news-text-muted);
	font-style: italic;
	font-size: 14px;
}

.comment-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #ced4da;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
}

.comment-form textarea:focus,
.comment-form input:focus {
	outline: none;
	border-color: var(--hde-news-primary);
}

.hde-comment-submit-btn,
.comment-form .submit {
	background-color: var(--hde-news-primary);
	color: #ffffff;
	border: none;
	padding: 10px 24px;
	border-radius: 4px;
	font-weight: 600;
	cursor: pointer;
	align-self: flex-start;
	transition: background-color 0.2s ease;
}

.hde-comment-submit-btn:hover,
.comment-form .submit:hover {
	background-color: var(--hde-news-primary-hover);
}

/* Sidebar Widgets Contract */
.hde-news-widget {
	background: #ffffff;
	border: 1px solid var(--hde-news-border);
	border-radius: var(--hde-news-radius);
	padding: 20px;
	margin-bottom: 24px;
	box-shadow: var(--hde-news-card-shadow);
	box-sizing: border-box;
}

.hde-widget-title {
	font-size: 17px;
	font-weight: 700;
	color: var(--hde-news-text);
	text-align: center;
	margin: 0 0 10px 0;
	text-transform: capitalize;
}

.hde-widget-divider {
	width: 40px;
	height: 3px;
	background-color: var(--hde-news-primary);
	margin: 0 auto 16px auto;
	border-radius: 2px;
}

/* Consultation Widget Contract */
.hde-news-widget--consult {
	text-align: center;
}

.hde-news-widget--consult .hde-qr-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 14px 0 16px 0;
}

.hde-news-widget--consult .hde-qr-img {
	width: 140px;
	height: 140px;
	object-fit: contain;
	display: block;
	border: 1px solid var(--hde-news-border);
	border-radius: var(--hde-news-radius);
	padding: 6px;
	background: #ffffff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.hde-btn-zalo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: var(--hde-news-primary);
	color: #ffffff !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	padding: 12px 28px;
	border-radius: 9999px;
	text-decoration: none;
	margin: 0 auto 18px auto;
	box-shadow: 0 4px 12px rgba(4, 101, 49, 0.2);
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
}

.hde-btn-zalo:hover {
	background-color: var(--hde-news-primary-hover);
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(4, 101, 49, 0.28);
}

.hde-btn-zalo:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(4, 101, 49, 0.2);
}

.hde-consult-contact {
	text-align: left;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px dashed var(--hde-news-border);
}

.hde-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 14px;
	line-height: 1.4;
}

.hde-contact-item:last-child {
	margin-bottom: 0;
}

.hde-contact-icon {
	color: var(--hde-news-primary);
	flex-shrink: 0;
	margin-top: 2px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.hde-contact-icon svg {
	display: block;
}

.hde-contact-text {
	flex: 1 1 auto;
	color: var(--hde-news-text);
}

.hde-contact-text strong {
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 4px;
	color: var(--hde-news-text-dark);
}

.hde-contact-text p {
	margin: 0;
	font-size: 13px;
	color: var(--hde-news-text-muted);
	line-height: 1.45;
}

.hde-phone-highlight {
	color: #d32f2f;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	display: inline-block;
	margin-left: 4px;
	transition: color 0.2s ease;
}

.hde-phone-highlight:hover {
	color: #b71c1c;
	text-decoration: underline;
}

.hde-map-wrap {
	margin-top: 18px;
	border-radius: var(--hde-news-radius);
	overflow: hidden;
	border: 1px solid var(--hde-news-border);
}

/* Search Form */
.hde-search-form__group {
	display: flex;
	position: relative;
	border: 1px solid #ced4da;
	border-radius: 4px;
	overflow: hidden;
}

.hde-search-input {
	flex: 1 1 auto;
	border: none;
	padding: 10px 14px;
	font-size: 14px;
	color: var(--hde-news-text);
	outline: none;
	background: #fbfbfb;
}

.hde-search-input:focus {
	background: #ffffff;
}

.hde-search-submit {
	background-color: var(--hde-news-primary);
	color: #ffffff;
	border: none;
	padding: 0 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
}

.hde-search-submit:hover {
	background-color: var(--hde-news-primary-hover);
}

/* Categories List */
.hde-cat-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.hde-cat-item {
	border-bottom: 1px dashed #e9ecef;
	padding: 10px 0;
}

.hde-cat-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.hde-cat-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--hde-news-text);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s ease, transform 0.2s ease;
}

.hde-cat-link:hover {
	color: var(--hde-news-primary);
	transform: translateX(3px);
}

.hde-cat-count {
	font-size: 12px;
	color: var(--hde-news-text-muted);
}

/* Recent Posts List */
.hde-recent-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.hde-recent-item {
	display: flex;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f1f3f5;
	align-items: center;
}

.hde-recent-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.hde-recent-thumb {
	width: 64px;
	height: 64px;
	flex-shrink: 0;
	border-radius: 4px;
	overflow: hidden;
}

.hde-recent-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hde-recent-content {
	flex: 1 1 auto;
	min-width: 0;
}

.hde-recent-date {
	font-size: 12px;
	color: var(--hde-news-text-muted);
	display: block;
	margin-bottom: 4px;
}

.hde-recent-title {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hde-recent-title a {
	color: var(--hde-news-text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.hde-recent-title a:hover {
	color: var(--hde-news-primary);
}

/* Keyboard accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--hde-news-primary);
	outline-offset: 2px;
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
	.hde-news-share-btn,
		.hde-btn-zalo,
		.hde-related-card,
		.hde-related-card__thumb img,
		.hde-cat-link,
		.hde-recent-title a {
		transition: none !important;
		transform: none !important;
	}
}

/* Responsive Breakpoints */
@media (min-width: 769px) and (max-width: 1300px) {
	body.hoaduc-news-native .hde-news-container {
		padding-right: 70px !important;
		box-sizing: border-box !important;
	}
}

@media (max-width: 1024px) {
	.hde-news-layout,
	.hde-news-layout--single {
		gap: 24px;
	}
	.hde-news-sidebar-col,
	.hde-news-sidebar--single {
		width: 280px;
	}
	.hde-news-article__title {
		font-size: 24px;
	}
		.hde-news-related__grid,
		.hde-related-posts__grid {
			grid-template-columns: repeat(2, 1fr);
		}
	}

	@media (max-width: 768px) {
	/* Route-scoped mobile floating contact bar docking & article margin clearance */
	body.hoaduc-news-native .ft-chatbox-skin1 {
		right: 8px !important;
		bottom: 60px !important;
	}
	body.hoaduc-news-native .hde-news-container {
		padding-left: 12px !important;
		padding-right: 60px !important;
		box-sizing: border-box !important;
	}
	.hde-news-layout,
	.hde-news-layout--single {
		flex-direction: column;
	}
	.hde-news-main-col,
	.hde-news-article {
		width: 100%;
	}
	.hde-news-sidebar-col,
	.hde-news-sidebar--single {
		width: 100%;
		margin-top: 32px;
	}
		.hde-news-sidebar-sticky,
		.hde-news-sidebar__sticky {
			position: static;
			max-height: none;
			overflow: visible;
		}
	.hde-news-article__title {
		font-size: 22px;
	}
	.hde-news-article__content,
	.entry-content.hde-news-article__content {
		font-size: 15px;
		line-height: 1.7;
	}
	.hde-news-article__content h2,
	.entry-content.hde-news-article__content h2 {
		font-size: 20px;
		margin-top: 28px;
	}
	.hde-news-article__content h3,
	.entry-content.hde-news-article__content h3 {
		font-size: 17px;
		margin-top: 22px;
	}
	.hde-news-article__content blockquote,
	.entry-content.hde-news-article__content blockquote {
		padding: 14px 16px;
		margin: 20px 0;
	}
	.hde-news-article__content table,
	.entry-content.hde-news-article__content table {
		font-size: 14px;
		display: block;
		overflow-x: auto;
	}
	.hde-news-article__content th,
	.entry-content.hde-news-article__content th,
	.hde-news-article__content td,
	.entry-content.hde-news-article__content td {
		padding: 8px 10px;
	}
		.hde-news-related__grid,
		.hde-related-posts__grid {
			grid-template-columns: repeat(2, 1fr);
		}
	}

	@media (max-width: 480px) {
	body.hoaduc-news-native .hde-news-container {
		padding-left: 12px !important;
		padding-right: 60px !important;
	}
	.hde-news-article__title {
		font-size: 20px;
		line-height: 1.35;
	}
	.hde-news-article__meta {
		font-size: 13px;
		gap: 10px;
	}
	.hde-doctor-evaluator__card {
		flex-direction: column;
		text-align: center;
	}
	.hde-doctor-evaluator__avatar {
		margin: 0 auto;
	}
	.hde-doctor-evaluator__meta {
		justify-content: center;
	}
		.hde-news-related__grid,
		.hde-related-posts__grid {
			grid-template-columns: 1fr;
		}
	}
