/* =============================================
   Single Post
   ============================================= */

.post-single-hero {
	position: relative;
	padding: 92px 0 98px;
	background-color: #0b1320;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
}

.post-single-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(8, 16, 34, 0.9) 0%, rgba(8, 16, 34, 0.76) 46%, rgba(8, 16, 34, 0.56) 100%);
}

.post-single-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.post-single-hero__title {
	margin: 0;
	font-size: clamp(36px, 3vw, 56px);
	line-height: 1.1;
	font-weight: 700;
	color: #fff;
}

.post-single-breadcrumb {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 17px;
	line-height: 1.25;
	color: rgba(255, 255, 255, 0.92);
}

.post-single-breadcrumb a {
	color: #fff;
	text-decoration: none;
}

.post-single-breadcrumb .is-current {
	color: var(--at-accent);
}

.post-single-content {
	padding: 42px 0 72px;
	background: #fff;
}

.post-single-article {
	max-width: 1000px;
	margin: 0 auto;
}

.post-single-header {
	padding-bottom: 24px;
	margin-bottom: 28px;
	border-bottom: 1px solid #eceff3;
}

.post-single-heading {
	margin: 0 0 18px;
	font-size: clamp(20px, 1.6vw, 28px);
	line-height: 1.28;
	font-weight: 700;
	text-transform: uppercase;
	color: #2c3140;
}

.post-single-summary {
	margin: 0;
	font-size: 18px;
	line-height: 1.7;
	font-style: italic;
	font-weight: 700;
	color: #525a68;
}

.post-single-body {
	color: #303645;
	font-size: 18px;
	line-height: 1.85;
}

.post-single-body > * {
	margin-top: 0;
	margin-bottom: 1.2em;
}

.post-single-body h2,
.post-single-body h3,
.post-single-body h4 {
	color: #2b3140;
	line-height: 1.35;
	font-weight: 700;
	margin-top: 1.5em;
	margin-bottom: 0.7em;
}

.post-single-body h2 {
	font-size: 34px;
}

.post-single-body h3 {
	font-size: 28px;
}

.post-single-body ul,
.post-single-body ol {
	padding-left: 1.4em;
}

.post-single-body img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 28px auto;
}

.post-single-body figure {
	margin: 30px auto;
	text-align: center;
}

.post-single-body figcaption {
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.5;
	font-style: italic;
	color: #5e6675;
}

.post-single-body .wp-block-group,
.post-single-body .wp-block-table,
.post-single-body .wp-block-columns,
.post-single-body .wp-block-embed,
.post-single-body .toc,
.post-single-body .ez-toc-container {
	margin: 30px 0;
}

.post-single-body .wp-block-group,
.post-single-body .toc,
.post-single-body .ez-toc-container {
	padding: 22px 26px;
	background: #f4f5f8;
}

.post-single-meta-share {
	max-width: 1000px;
	margin: 30px auto 0;
	padding-top: 18px;
	border-top: 1px solid #eceff3;
}

.post-single-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.post-single-tag {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	background: #f2f4f7;
	border: 1px solid #e2e8f0;
	border-radius: 2px;
	font-size: 14px;
	line-height: 1.2;
	color: #4b5563;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.post-single-tag:hover {
	background: var(--at-accent);
	border-color: var(--at-accent);
	color: #fff;
}

.post-single-share-buttons {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.post-share-btn {
	width: 28px;
	height: 28px;
	border-radius: 3px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--at-button-bg);
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.post-share-btn:hover {
	background: var(--at-button-bg-hover);
	transform: translateY(-1px);
	opacity: 0.9;
}

.post-share-btn--facebook { background: var(--at-button-bg); }
.post-share-btn--x { background: var(--at-button-bg); }
.post-share-btn--linkedin { background: var(--at-button-bg); }
.post-share-btn--zalo { background: var(--at-button-bg); }

.post-related-section {
	margin-top: 70px;
}

.post-related-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eceff3;
}

.post-related-title {
	margin: 0;
	font-size: clamp(30px, 2vw, 42px);
	line-height: 1.2;
	font-weight: 700;
	color: #2b3140;
}

.post-related-nav {
	display: flex;
	align-items: center;
	gap: 14px;
}

.post-related-nav__btn {
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 999px;
	background: var(--at-button-bg);
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.post-related-nav__btn:hover {
	background: var(--at-button-bg-hover);
	color: #fff;
	transform: translateY(-1px);
}

.post-related-swiper {
	overflow: hidden;
	padding: 6px 2px;
}

.post-related-card {
	height: 100%;
	box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.post-related-card .post-archive-card__title {
	font-size: clamp(18px, 1.2vw, 28px);
}

@media (max-width: 991px) {
	.post-single-hero__inner,
	.post-related-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.post-single-content {
		padding: 32px 0 56px;
	}

	.post-single-meta-share {
		margin-top: 22px;
	}

	.post-single-body,
	.post-single-summary {
		font-size: 16px;
	}

	.post-single-body h2 {
		font-size: 28px;
	}

	.post-single-body h3 {
		font-size: 24px;
	}
}
