/* =============================================================================
   Category archive — editorial style
   ============================================================================= */

/* Page wrapper */
.cat-archive {
	max-width: 1200px;
	margin: 0 auto;
	padding: 8rem 3rem 8rem;
}

/* Category header */
.cat-archive__header {
	text-align: center;
	padding-bottom: 5rem;
	margin-bottom: 5rem;
}

.cat-archive__header::after {
	content: '';
	display: block;
	width: 4rem;
	height: 2px;
	background: #499b95;
	margin: 3rem auto 0;
}

.cat-archive__eyebrow {
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #499b95;
	margin-bottom: 1.2rem;
}

.cat-archive__title {
	font-size: clamp(3.2rem, 4vw, 5rem);
	font-weight: 700;
	color: #092b3a;
	letter-spacing: -0.03em;
	line-height: 1.1;
	margin: 0 0 1.6rem;
}

.cat-archive__desc {
	font-size: 1.8rem;
	color: #6b7280;
	max-width: 600px;
	margin: 0 auto 1.6rem;
	line-height: 1.6;
}

.cat-archive__count {
	font-size: 1.4rem;
	color: #9ca3af;
	margin: 0;
}

/* Card grid */
.cat-archive__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4rem 3.2rem;
}

@media (max-width: 900px) {
	.cat-archive__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 580px) {
	.cat-archive__grid {
		grid-template-columns: 1fr;
	}
	.cat-archive {
		padding: 8rem 2rem 6rem;
	}
}

/* Post card */
.post-card {
	display: flex;
	flex-direction: column;
}

.post-card__link {
	display: block;
	text-decoration: none;
	margin-bottom: 2rem;
}

.post-card__image-wrap {
	overflow: hidden;
	border-radius: 0.8rem;
	aspect-ratio: 16 / 9;
	background: #f5efe0;
}

.post-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.post-card:hover .post-card__image {
	transform: scale(1.03);
}

.post-card__image-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f5efe0 0%, #e8ddd0 100%);
}

.post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
}

/* Category pill */
.post-card__cats {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.6rem;
	margin-bottom: 1.2rem;
}

.post-card__cat {
	display: inline-block;
	font-size: 1.3rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-transform: none;
	color: #092b3a;
	border: 1.5px solid #d1d5db;
	border-radius: 10rem;
	padding: 0.4rem 1.4rem;
	line-height: 1.2;
	text-decoration: none;
	background: #fff;
	transition: border-color 0.15s, color 0.15s;
}

.post-card__cat:hover {
	border-color: #092b3a;
	color: #092b3a;
}

/* Title */
.post-card__title {
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 1.25;
	color: #092b3a;
	margin: 0 0 1rem;
	letter-spacing: -0.03em;
}

.post-card__title a {
	text-decoration: none;
	color: inherit;
	transition: color 0.15s;
}

.post-card__title a:hover {
	color: #499b95;
}

/* Meta */
.post-card__meta {
	font-size: 1.3rem;
	color: #9ca3af;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1.2rem;
}

.post-card__dot {
	color: #d1d5db;
}

/* Excerpt */
.post-card__excerpt {
	font-size: 1.5rem;
	line-height: 1.6;
	color: #6b7280;
	margin-bottom: 2rem;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* CTA */
.post-card__cta {
	font-size: 1.4rem;
	font-weight: 600;
	color: #499b95;
	text-decoration: none;
	letter-spacing: 0.01em;
	transition: color 0.15s;
}

.post-card__cta:hover {
	color: #092b3a;
}