/**
 * Celléva – Category archive layout.
 * Tiêu đề căn giữa + grid 3 cột bài viết.
 */

.celleva-cat {
	background: #fff;
}

/* Head section = HERO 555px (cùng pattern với .celleva-qll-hero của trang
 * Quite Luxury Lounge): container cao tối thiểu 555px, nội dung căn giữa
 * theo trục dọc + ngang. */
.celleva-cat__head-section {
	padding-block: 0;
	text-align: center;
}
.celleva-cat__head-section > .celleva-container {
	min-height: 400px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-block: clamp(32px, 3vw, 64px);
	box-sizing: border-box;
}

.celleva-cat__list-section {
	padding-bottom: clamp(48px, 6vw, 96px);
}

.celleva-cat__head {
	text-align: center;
	width: 100%;
	margin: 0;
}

@media (max-width: 782px) {
	.celleva-cat__head-section > .celleva-container { min-height: 280px; }
}

.celleva-cat__title {
	font-family: var(--font-head, 'Montserrat', sans-serif);
	font-weight: 500;
	font-size: clamp(28px, 4vw, 48px);
	color: var(--cl-text, #1a1a1a);
	margin: 0 0 16px;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.celleva-cat__desc {
	color: var(--cl-text-soft, #555);
	font-family: var(--font-body, 'Roboto', sans-serif);
	font-size: 16px;
	line-height: 1.6;
}
.celleva-cat__desc p { margin: 0 0 8px; }

/* Grid 3 cột bài viết */
.celleva-cat__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 28px;
	margin-top: 16px;
}

.celleva-cat__card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,.04);
	transition: transform .25s ease, box-shadow .25s ease;
}
.celleva-cat__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.celleva-cat__card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.celleva-cat__card-img {
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #f3eee9 center/cover no-repeat;
}

.celleva-cat__card-body {
	padding: 18px 20px 22px;
}

.celleva-cat__card-title {
	font-family: var(--font-head, 'Montserrat', sans-serif);
	font-weight: 600;
	font-size: 18px;
	line-height: 1.35;
	color: var(--cl-text, #1a1a1a);
	margin: 0 0 10px;
	/* clamp 2 dòng */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.celleva-cat__card-excerpt {
	font-family: var(--font-body, 'Roboto', sans-serif);
	font-size: 14px;
	line-height: 1.55;
	color: var(--cl-text-soft, #555);
	margin: 0 0 12px;
}

.celleva-cat__card-date {
	font-size: 12px;
	color: var(--cl-text-soft, #888);
	letter-spacing: .04em;
	text-transform: uppercase;
}

.celleva-cat__pagination {
	margin-top: 48px;
	display: flex;
	justify-content: center;
}
.celleva-cat__pagination .page-numbers {
	display: inline-block;
	min-width: 38px;
	padding: 8px 12px;
	margin: 0 4px;
	border-radius: 8px;
	background: #f6f1ec;
	color: var(--cl-text, #1a1a1a);
	text-decoration: none;
	font-size: 14px;
	text-align: center;
	transition: background .2s, color .2s;
}
.celleva-cat__pagination .page-numbers.current,
.celleva-cat__pagination .page-numbers:hover {
	background: var(--cl-pink, #d99a9a);
	color: #fff;
}

.celleva-cat__empty {
	text-align: center;
	color: var(--cl-text-soft, #555);
	font-size: 16px;
	padding: 40px 0;
}

/* Responsive */
@media (max-width: 980px) {
	.celleva-cat__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px 20px;
	}
}
@media (max-width: 600px) {
	.celleva-cat {
		padding: 40px 0 60px;
	}
	.celleva-cat__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.celleva-cat__head {
		margin-bottom: 32px;
	}
}
