/**
 * HALINK C9 — News archive (Luxury Spa mockup)
 */

.hl-page--news {
	background: var(--hl-bg);
}

/* ===== HERO ===== */
.hl-news-hero {
	padding: clamp(1.75rem, 4vw, 3rem) 0;
	background: var(--hl-bg);
}

.hl-news-hero__crumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
	margin-bottom: 0.85rem;
	font-size: 0.86rem;
	color: var(--hl-muted);
}

.hl-news-hero__crumb a {
	color: var(--hl-muted);
	text-decoration: none;
}

.hl-news-hero__crumb a:hover {
	color: var(--hl-gold);
}

.hl-news-hero__title {
	margin: 0 0 0.65rem;
	font-family: var(--hl-font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 600;
	line-height: 1.15;
	color: var(--hl-ink);
}

.hl-news-hero__text {
	margin: 0;
	max-width: 32rem;
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--hl-muted);
}

.hl-news-hero__media {
	overflow: hidden;
	border-radius: 0.35rem;
	box-shadow: 0 14px 36px rgba(47, 59, 40, 0.1);
}

.hl-news-hero__media img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

/* ===== ARCHIVE ===== */
.hl-news-archive {
	padding: 0.5rem 0 clamp(2rem, 4vw, 3rem);
}

/* Filters */
.hl-news-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 1.5rem;
}

.hl-news-filters__item {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 0.95rem;
	border: 1px solid var(--hl-border);
	border-radius: 0.2rem;
	background: #fff;
	color: var(--hl-text);
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
}

.hl-news-filters__item.is-active,
.hl-news-filters__item:hover {
	background: var(--hl-primary);
	border-color: var(--hl-primary);
	color: #fff;
}

/* Grid */
.hl-news-list__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem 1.15rem;
}

.hl-news-list__grid .hl-news-card.is-featured {
	grid-column: span 1;
}

.hl-news-list__grid .hl-news-card:not(.is-featured) {
	/* after featured pair, switch to denser feel via smaller image */
}

@media (min-width: 768px) {
	.hl-news-list__grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.hl-news-list__grid .hl-news-card.is-featured {
		grid-column: span 3;
	}

	.hl-news-list__grid .hl-news-card:not(.is-featured) {
		grid-column: span 2;
	}
}

/* Card */
.hl-news-card {
	height: 100%;
	background: #fff;
	border: 1px solid var(--hl-border);
	border-radius: 0.35rem;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hl-news-card:hover {
	border-color: rgba(184, 154, 90, 0.45);
	box-shadow: 0 12px 28px rgba(47, 59, 40, 0.07);
}

.hl-news-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--hl-bg-muted);
	overflow: hidden;
}

.hl-news-card.is-featured .hl-news-card__media {
	aspect-ratio: 16 / 11;
}

.hl-news-card__thumb {
	display: block;
	width: 100%;
	height: 100%;
}

.hl-news-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.hl-news-card:hover .hl-news-card__img {
	transform: scale(1.04);
}

.hl-news-card__cat {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 1;
	padding: 0.3rem 0.55rem;
	background: var(--hl-primary);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 0.15rem;
}

.hl-news-card__body {
	padding: 1rem 1.05rem 1.15rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.hl-news-card__date {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.8rem;
	color: var(--hl-muted);
}

.hl-news-card__title {
	margin: 0 0 0.5rem;
	font-family: var(--hl-font-display);
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.35;
}

.hl-news-card.is-featured .hl-news-card__title {
	font-size: 1.35rem;
}

.hl-news-card__title a {
	color: var(--hl-ink);
	text-decoration: none;
}

.hl-news-card__title a:hover {
	color: var(--hl-gold);
}

.hl-news-card__excerpt {
	margin: 0 0 0.85rem;
	color: var(--hl-muted);
	font-size: 0.92rem;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
}

.hl-news-card__more {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	margin-top: auto;
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--hl-primary);
	text-decoration: none;
}

.hl-news-card__more:hover {
	color: var(--hl-gold);
}

/* Pagination */
.hl-news-list__pagination {
	margin-top: 2rem;
	text-align: center;
}

.hl-news-list__pagination .nav-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	justify-content: center;
}

.hl-news-list__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.35rem;
	height: 2.35rem;
	border-radius: 50%;
	border: 1px solid var(--hl-border);
	background: #fff;
	color: var(--hl-ink);
	text-decoration: none;
	font-weight: 600;
}

.hl-news-list__pagination .page-numbers.current,
.hl-news-list__pagination .page-numbers:hover {
	background: var(--hl-primary);
	border-color: var(--hl-primary);
	color: #fff;
}

/* ===== SIDEBAR ===== */
.hl-news-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	position: sticky;
	top: 6.5rem;
}

.hl-news-sidebar__search {
	position: relative;
	display: block;
}

.hl-news-sidebar__search input {
	width: 100%;
	height: 2.85rem;
	padding: 0 2.75rem 0 0.95rem;
	border: 1px solid var(--hl-border);
	border-radius: 0.2rem;
	background: #fff;
	font-size: 0.92rem;
}

.hl-news-sidebar__search button {
	position: absolute;
	right: 0;
	top: 0;
	width: 2.85rem;
	height: 2.85rem;
	border: 0;
	background: transparent;
	color: var(--hl-muted);
	cursor: pointer;
}

.hl-news-sidebar__block,
.hl-news-sidebar__newsletter {
	padding: 1.15rem 1.2rem;
	background: #fff;
	border: 1px solid var(--hl-border);
	border-radius: 0.35rem;
}

.hl-news-sidebar__title {
	margin: 0 0 0.95rem;
	font-family: var(--hl-font-display);
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--hl-ink);
}

.hl-news-sidebar__featured {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hl-news-sidebar__featured li {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 0.75rem;
	align-items: start;
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--hl-border);
}

.hl-news-sidebar__featured li:first-child {
	padding-top: 0;
}

.hl-news-sidebar__featured li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.hl-news-sidebar__thumb {
	display: block;
	overflow: hidden;
	border-radius: 0.2rem;
	aspect-ratio: 1;
	background: var(--hl-bg-muted);
}

.hl-news-sidebar__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hl-news-sidebar__post {
	display: block;
	margin-bottom: 0.25rem;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--hl-ink);
	text-decoration: none;
}

.hl-news-sidebar__post:hover {
	color: var(--hl-gold);
}

.hl-news-sidebar__featured time {
	font-size: 0.78rem;
	color: var(--hl-muted);
}

.hl-news-sidebar__cats {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hl-news-sidebar__cats a {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	color: var(--hl-text);
	text-decoration: none;
	font-size: 0.92rem;
}

.hl-news-sidebar__cats a:hover {
	color: var(--hl-gold);
}

.hl-news-sidebar__cats em {
	font-style: normal;
	color: var(--hl-muted);
	font-size: 0.82rem;
}

.hl-news-sidebar__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.hl-news-sidebar__tags a {
	display: inline-flex;
	padding: 0.35rem 0.65rem;
	border: 1px solid var(--hl-border);
	border-radius: 0.15rem;
	background: var(--hl-bg);
	color: var(--hl-text);
	font-size: 0.78rem;
	text-decoration: none;
}

.hl-news-sidebar__tags a:hover {
	border-color: var(--hl-gold);
	color: var(--hl-gold);
}

.hl-news-sidebar__newsletter {
	background: var(--hl-primary);
	border-color: var(--hl-primary);
	color: #fff;
}

.hl-news-sidebar__newsletter strong {
	display: block;
	margin-bottom: 0.45rem;
	font-family: var(--hl-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--hl-gold);
}

.hl-news-sidebar__newsletter p {
	margin: 0 0 0.95rem;
	font-size: 0.88rem;
	line-height: 1.5;
	opacity: 0.92;
}

.hl-news-sidebar__newsletter input {
	width: 100%;
	height: 2.55rem;
	margin-bottom: 0.55rem;
	padding: 0 0.85rem;
	border: 0;
	border-radius: 0.15rem;
	font-size: 0.9rem;
}

.hl-news-sidebar__newsletter button {
	width: 100%;
	height: 2.55rem;
	border: 0;
	border-radius: 0.15rem;
	background: var(--hl-gold);
	color: #1c1c1c;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.hl-news-sidebar__newsletter button:hover {
	background: #fff;
}

/* ===== SUBSCRIBE BAR ===== */
.hl-news-subscribe {
	padding: 1.35rem 0;
	background: #efe8dc;
	border-top: 1px solid var(--hl-border);
}

.hl-news-subscribe__form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem 1rem;
}

.hl-news-subscribe__text {
	font-family: var(--hl-font-display);
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	font-weight: 600;
	color: var(--hl-ink);
}

.hl-news-subscribe__field input {
	min-width: min(100%, 260px);
	height: 2.75rem;
	padding: 0 0.95rem;
	border: 1px solid var(--hl-border);
	border-radius: 0.2rem;
	background: #fff;
}

.hl-news-subscribe__btn {
	height: 2.75rem;
	padding: 0 1.25rem;
	border: 0;
	border-radius: 0.2rem;
	background: var(--hl-primary);
	color: #fff;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.hl-news-subscribe__btn:hover {
	background: #1c1c1c;
}

/* Compat: hide old featured slider if leftover */
.hl-news-featured {
	display: none;
}

@media (max-width: 991.98px) {
	.hl-news-sidebar {
		position: static;
	}
}

@media (max-width: 575.98px) {
	.hl-news-list__grid {
		grid-template-columns: 1fr;
	}

	.hl-news-list__grid .hl-news-card.is-featured,
	.hl-news-list__grid .hl-news-card:not(.is-featured) {
		grid-column: span 1;
	}

	.hl-news-subscribe__form {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.hl-news-subscribe__field input {
		min-width: 0;
		width: 100%;
	}
}

/* ===== SINGLE POST ===== */
.hl-page--news-single {
	background: var(--hl-bg);
	padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.hl-post-single__crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	padding: 1.15rem 0 1.35rem;
	font-size: 0.86rem;
	color: var(--hl-muted);
}

.hl-post-single__crumb a {
	color: var(--hl-muted);
	text-decoration: none;
}

.hl-post-single__crumb a:hover {
	color: var(--hl-gold);
}

.hl-post__header {
	margin-bottom: 1.25rem;
}

.hl-post__cat {
	display: inline-flex;
	align-items: center;
	margin-bottom: 0.75rem;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: var(--hl-primary);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.hl-post__title {
	margin: 0 0 1rem;
	font-family: var(--hl-font-display);
	font-size: clamp(1.85rem, 3.5vw, 2.65rem);
	font-weight: 600;
	line-height: 1.25;
	color: var(--hl-ink);
}

.hl-post__meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem 1.25rem;
}

.hl-post__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.88rem;
	color: var(--hl-muted);
}

.hl-post__meta li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.hl-post__meta i {
	color: var(--hl-gold);
}

.hl-post__share {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.84rem;
	color: var(--hl-muted);
}

.hl-post__share a,
.hl-post__copy {
	width: 2.15rem;
	height: 2.15rem;
	display: inline-grid;
	place-items: center;
	border: 1px solid var(--hl-border);
	border-radius: 50%;
	background: #fff;
	color: var(--hl-ink);
	text-decoration: none;
	cursor: pointer;
}

.hl-post__share a:hover,
.hl-post__copy:hover {
	border-color: var(--hl-gold);
	color: var(--hl-gold);
}

.hl-post__zalo {
	font-size: 0.78rem;
	font-weight: 800;
}

.hl-post__thumb {
	margin: 0 0 1.35rem;
	overflow: hidden;
	border-radius: 0.35rem;
	background: var(--hl-bg-muted);
}

.hl-post__thumb-img {
	display: block;
	width: 100%;
	max-height: 480px;
	object-fit: cover;
}

.hl-post__lead {
	margin: 0 0 1.35rem;
	font-size: 1.08rem;
	line-height: 1.75;
	color: var(--hl-text);
}

.hl-post-toc {
	position: relative;
	margin: 0 0 1.75rem;
	padding: 1.15rem 1.25rem;
	background: #f1ebe2;
	border: 1px solid var(--hl-border);
	border-radius: 0.35rem;
}

.hl-post-toc__title {
	display: block;
	margin-bottom: 0.75rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hl-ink);
}

.hl-post-toc__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.35rem 1.25rem;
	margin: 0;
	padding-left: 1.1rem;
}

.hl-post-toc__list a {
	color: var(--hl-text);
	text-decoration: none;
	font-size: 0.92rem;
	line-height: 1.45;
}

.hl-post-toc__list a:hover {
	color: var(--hl-gold);
}

.hl-post__content {
	position: relative;
	color: var(--hl-text);
	font-size: 1.05rem;
	line-height: 1.8;
}

.hl-post__content-inner.is-collapsed {
	max-height: 920px;
	overflow: hidden;
	mask-image: linear-gradient(#000 70%, transparent);
	-webkit-mask-image: linear-gradient(#000 70%, transparent);
}

.hl-post__content h2,
.hl-post__content h3 {
	margin: 1.75rem 0 0.75rem;
	font-family: var(--hl-font-display);
	font-weight: 600;
	color: var(--hl-ink);
	line-height: 1.3;
}

.hl-post__content h2 {
	font-size: 1.45rem;
	counter-increment: hl-post-step;
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.hl-post__content h2::before {
	content: counter(hl-post-step, decimal-leading-zero);
	flex-shrink: 0;
	width: 2.35rem;
	height: 2.35rem;
	display: inline-grid;
	place-items: center;
	border-radius: 50%;
	background: var(--hl-primary);
	color: #fff;
	font-family: var(--hl-font);
	font-size: 0.78rem;
	font-weight: 800;
}

.hl-post__content {
	counter-reset: hl-post-step;
}

.hl-post__content p {
	margin: 0 0 1rem;
}

.hl-post__content img {
	max-width: 100%;
	height: auto;
	border-radius: 0.35rem;
}

.hl-post__content ul,
.hl-post__content ol {
	margin: 0 0 1.15rem;
	padding-left: 1.25rem;
}

.hl-post__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin: 0.5rem auto 0;
	padding: 0.7rem 1.25rem;
	border: 1px solid var(--hl-primary);
	border-radius: 0.2rem;
	background: #fff;
	color: var(--hl-primary);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.hl-post__more .is-less {
	display: none;
}

.hl-post__more.is-open .is-more {
	display: none;
}

.hl-post__more.is-open .is-less {
	display: inline;
}

.hl-post__content:has(.hl-post__more:not([hidden])) {
	text-align: left;
}

.hl-post__more {
	display: none;
}

.hl-post__more:not([hidden]) {
	display: inline-flex;
	width: auto;
}

.hl-post__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin: 1.75rem 0 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--hl-border);
}

.hl-post__tags > span {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: var(--hl-ink);
	margin-right: 0.25rem;
}

.hl-post__tags a {
	display: inline-flex;
	padding: 0.35rem 0.7rem;
	border: 1px solid var(--hl-border);
	border-radius: 0.15rem;
	background: #fff;
	color: var(--hl-text);
	font-size: 0.8rem;
	text-decoration: none;
}

.hl-post__tags a:hover {
	border-color: var(--hl-gold);
	color: var(--hl-gold);
}

.hl-post-author {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	margin-bottom: 1.5rem;
	padding: 1.15rem 1.25rem;
	background: #f1ebe2;
	border-radius: 0.35rem;
}

.hl-post-author__logo {
	width: 3.25rem;
	height: 3.25rem;
	flex-shrink: 0;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--hl-primary);
	color: var(--hl-gold);
	font-family: var(--hl-font-display);
	font-weight: 700;
	font-size: 1.1rem;
}

.hl-post-author strong {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 1.05rem;
	color: var(--hl-ink);
}

.hl-post-author p {
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--hl-muted);
}

.hl-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
}

.hl-post-nav__item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.95rem 1rem;
	background: #fff;
	border: 1px solid var(--hl-border);
	border-radius: 0.25rem;
	text-decoration: none;
	color: inherit;
}

.hl-post-nav__item.is-next {
	text-align: right;
}

.hl-post-nav__item span {
	font-size: 0.78rem;
	color: var(--hl-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.hl-post-nav__item strong {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--hl-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hl-post-nav__item:hover strong {
	color: var(--hl-gold);
}

.hl-news-sidebar__book {
	position: relative;
	isolation: isolate;
	min-height: 220px;
	padding: 1.35rem;
	border-radius: 0.35rem;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	color: #fff;
}

.hl-news-sidebar__book-veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(160deg, rgba(10, 37, 28, 0.88) 0%, rgba(10, 37, 28, 0.55) 100%);
}

.hl-news-sidebar__book-body {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 190px;
}

.hl-news-sidebar__book strong {
	display: block;
	margin-bottom: 0.5rem;
	font-family: var(--hl-font-display);
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.25;
}

.hl-news-sidebar__book p {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.5;
	opacity: 0.92;
}

.hl-news-sidebar__book-btn {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	padding: 0.7rem 1.1rem;
	border-radius: 0.2rem;
	background: #fff;
	color: var(--hl-primary);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.hl-news-sidebar__book-btn:hover {
	background: var(--hl-gold);
	color: #1c1c1c;
}

@media (max-width: 767.98px) {
	.hl-post-toc__list {
		grid-template-columns: 1fr;
	}

	.hl-post-nav {
		grid-template-columns: 1fr;
	}

	.hl-post-nav__item.is-next {
		text-align: left;
	}
}
