/* =============================================
   Post Archive (Tin tuc)
   ============================================= */

.post-archive-hero {
	position: relative;
	padding: 110px 0 118px;
	background-color: #0b1320;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
}

.post-archive-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(8, 16, 34, 0.88) 0%, rgba(8, 16, 34, 0.74) 48%, rgba(8, 16, 34, 0.52) 100%);
}

.post-archive-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.post-archive-hero__title {
	margin: 0;
	font-size: clamp(44px, 3.6vw, 62px);
	line-height: 1.1;
	font-weight: 700;
	color: #fff;
}

.post-archive-breadcrumb {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 17px;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.9);
}

.post-archive-breadcrumb a {
	color: #fff;
	text-decoration: none;
}

.post-archive-breadcrumb .is-current {
	color: var(--at-accent);
}

.post-archive-content {
	padding: 60px 0 70px;
	background: #f2f2f2;
}

.post-archive-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.post-archive-card {
	background: #fff;
	overflow: hidden;
}

.post-archive-card__media {
	display: block;
	padding-top: 58%;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-color: #d9dee5;
}

.post-archive-card__body {
	padding: 18px 16px 14px;
}

.post-archive-card__title {
	margin: 0 0 8px;
	font-size: clamp(20px, 1.55vw, 36px);
	line-height: 1.35;
	font-weight: 700;
	text-transform: uppercase;
}

.post-archive-card__title a {
	color: #2b2d3a;
	text-decoration: none;
}

.post-archive-card__title a:hover {
	color: var(--at-accent);
}

.post-archive-card__meta {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 10px 0 12px;
	border-top: 1px solid #ececec;
	border-bottom: 1px solid #ececec;
	font-size: 16px;
	line-height: 1.3;
	color: #4b5563;
}

.post-archive-card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.post-archive-card__meta i {
	color: var(--at-accent);
}

.post-archive-card__excerpt {
	margin: 10px 0 0;
	font-size: 16px;
	line-height: 1.6;
	color: #6b7280;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-archive-pagination {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: flex-start;
	margin-top: 34px;
}

.post-page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 10px;
	background: #e6e8ed;
	color: #2a2f3d;
	font-size: 15px;
	line-height: 1;
	font-weight: 500;
	text-decoration: none;
	border-radius: 4px;
}

.post-page-btn a,
.post-page-btn span {
	color: inherit;
	text-decoration: none;
}

.post-page-btn.is-current,
.post-page-btn:hover {
	background: var(--at-button-bg);
	color: #fff;
}

.post-page-btn .page-numbers.current {
	color: #fff;
}

.post-archive-empty {
	padding: 34px;
	text-align: center;
	background: #fff;
	color: #374151;
	font-size: 20px;
}

@media (max-width: 1199px) {
	.post-archive-breadcrumb,
	.post-archive-card__title,
	.post-archive-card__meta,
	.post-archive-card__excerpt,
	.post-page-btn {
		font-size: inherit;
	}
}

@media (max-width: 991px) {
	.post-archive-hero {
		padding: 88px 0 92px;
	}

	.post-archive-hero__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.post-archive-grid {
		grid-template-columns: 1fr;
	}
}
