:root {
	--hera-navy: #12375d;
	--hera-blue: #295f92;
	--hera-sky: #a1dcf4;
	--hera-sand: #f5f0e7;
	--hera-ink: #183149;
	--hera-muted: #687b8c;
	--hera-line: #dbe6ec;
}

html {
	font-size: 1vw;
	scroll-behavior: smooth;
}

@media screen and (max-width: 639px) {
	html {
		font-size: 4.266667vw;
	}
}

body.hera-archive-page {
	margin: 0;
	background: #f7f9fa;
	color: var(--hera-ink);
	font-family: "SVN-Aptima", Arial, sans-serif;
	overflow-x: hidden;
}

.hera-archive-page *,
.hera-archive-page *::before,
.hera-archive-page *::after {
	box-sizing: border-box;
}

.hera-archive-page img {
	max-width: 100%;
	height: auto;
}

.hera-archive-page .header,
.hera-archive-page .header .button-toggle-sidebar,
.hera-archive-page .header .btn-close-sidebar {
	color: #fff;
}

.hera-archive-page .header .site-header {
	left: clamp(24px, 7vw, 120px);
	right: clamp(24px, 7vw, 120px);
}

.hera-archive-page .site-logo > a {
	display: block;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 1000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	background: #fff;
	color: var(--hera-navy);
}

.news-archive-main {
	min-height: 70vh;
}

.news-archive-hero {
	position: relative;
	display: flex;
	min-height: clamp(500px, 68vh, 720px);
	align-items: flex-end;
	isolation: isolate;
	overflow: hidden;
	background: var(--hera-navy);
	color: #fff;
}

.news-archive-hero__media,
.news-archive-hero__overlay {
	position: absolute;
	inset: 0;
}

.news-archive-hero__media {
	z-index: -2;
	background-image: url("../legacy/assets/images/homepage/the-hera-resort-quy-nhon-nen-mat-bien-tin-tuc.webp");
	background-position: center 45%;
	background-size: cover;
	transform: scale(1.015);
}

.news-archive-hero__overlay {
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(5, 25, 45, 0.22) 0%, rgba(9, 35, 59, 0.32) 42%, rgba(8, 31, 55, 0.88) 100%),
		linear-gradient(90deg, rgba(10, 44, 70, 0.36), transparent 65%);
}

.news-archive-hero__inner {
	width: min(100% - 40px, 1180px);
	margin: 0 auto;
	padding: 180px 0 clamp(62px, 8vw, 104px);
}

.news-breadcrumb {
	display: flex;
	margin-bottom: clamp(36px, 5vw, 64px);
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.76);
	font-size: 13px;
	letter-spacing: 0.02em;
}

.news-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.news-breadcrumb a:hover,
.news-breadcrumb a:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.news-archive-hero__eyebrow,
.news-archive-toolbar__eyebrow {
	display: block;
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.news-archive-hero__eyebrow {
	color: var(--hera-sky);
}

.news-archive-hero h1 {
	max-width: 920px;
	margin: 0;
	color: #fff;
	font-family: "SVN-Butler", Georgia, serif;
	font-size: clamp(50px, 6.5vw, 94px);
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 0.98;
	text-wrap: balance;
}

.news-archive-hero__summary {
	max-width: 650px;
	margin-top: 26px;
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(16px, 1.25vw, 19px);
	line-height: 1.65;
}

.news-archive-hero__summary p {
	margin: 0;
}

.news-archive-content {
	padding: clamp(62px, 8vw, 112px) 0 clamp(72px, 9vw, 128px);
	background: linear-gradient(180deg, #f7f9fa 0%, #fff 26%);
}

.news-archive-container {
	width: min(100% - 40px, 1180px);
	margin: 0 auto;
}

.news-archive-toolbar {
	display: flex;
	margin-bottom: clamp(34px, 5vw, 58px);
	justify-content: space-between;
	align-items: flex-end;
	gap: 28px;
}

.news-archive-toolbar__eyebrow {
	color: var(--hera-blue);
}

.news-archive-toolbar h2 {
	margin: 0;
	color: var(--hera-navy);
	font-family: "SVN-Butler", Georgia, serif;
	font-size: clamp(36px, 4vw, 56px);
	font-weight: 400;
	line-height: 1.08;
}

.news-category-filter {
	display: flex;
	max-width: 58%;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
}

.news-category-filter a {
	display: inline-flex;
	min-height: 44px;
	padding: 9px 10px 9px 16px;
	align-items: center;
	gap: 10px;
	border: 1px solid #ccdce5;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.8);
	color: var(--hera-ink);
	font-size: 14px;
	text-decoration: none;
	transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}

.news-category-filter a span {
	display: grid;
	min-width: 25px;
	height: 25px;
	padding: 0 6px;
	place-items: center;
	border-radius: 999px;
	background: #edf4f7;
	color: var(--hera-blue);
	font-size: 12px;
}

.news-category-filter a:hover,
.news-category-filter a:focus-visible,
.news-category-filter a[aria-current="page"] {
	border-color: var(--hera-navy);
	background: var(--hera-navy);
	color: #fff;
}

.news-category-filter a[aria-current="page"] span {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.news-archive-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(24px, 3vw, 38px) 28px;
}

.news-archive-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(18, 55, 93, 0.09);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 16px 45px rgba(18, 55, 93, 0.07);
}

.news-archive-card--featured {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.8fr);
	min-height: 500px;
}

.news-archive-card:nth-child(2):last-child {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
}

.news-archive-card:nth-child(2):last-child .news-archive-card__media {
	aspect-ratio: 4 / 3;
}

.news-archive-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #dce8ed;
}

.news-archive-card--featured .news-archive-card__media {
	aspect-ratio: auto;
	min-height: 500px;
}

.news-archive-card__media img,
.news-archive-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.news-archive-card__placeholder {
	background: radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.4), transparent 24%), linear-gradient(135deg, #9ed8eb, #295f92 68%, #12375d);
}

.news-archive-card__arrow {
	position: absolute;
	right: 20px;
	bottom: 20px;
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	color: var(--hera-navy);
	box-shadow: 0 8px 24px rgba(10, 38, 63, 0.14);
	transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.news-archive-card:hover .news-archive-card__media img,
.news-archive-card:focus-within .news-archive-card__media img {
	transform: scale(1.035);
}

.news-archive-card:hover .news-archive-card__arrow,
.news-archive-card:focus-within .news-archive-card__arrow {
	background: var(--hera-navy);
	color: #fff;
	transform: translateX(3px);
}

.news-archive-card__body {
	display: flex;
	padding: clamp(24px, 3vw, 38px);
	flex-direction: column;
	align-items: flex-start;
}

.news-archive-card--featured .news-archive-card__body {
	padding: clamp(34px, 4.5vw, 62px);
	justify-content: center;
}

.news-archive-card__meta {
	display: flex;
	margin-bottom: 18px;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	color: var(--hera-blue);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.news-archive-card__meta > span[aria-hidden="true"] {
	width: 18px;
	height: 1px;
	background: #9bb2c1;
}

.news-archive-card h3 {
	margin: 0;
	color: var(--hera-navy);
	font-family: "SVN-Butler", Georgia, serif;
	font-size: clamp(28px, 2.4vw, 38px);
	font-weight: 400;
	line-height: 1.2;
	text-wrap: balance;
}

.news-archive-card--featured h3 {
	font-size: clamp(34px, 3.2vw, 48px);
}

.news-archive-card h3 a {
	color: inherit;
	text-decoration: none;
}

.news-archive-card h3 a:hover,
.news-archive-card h3 a:focus-visible {
	color: var(--hera-blue);
}

.news-archive-card__excerpt {
	display: -webkit-box;
	margin-top: 16px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	color: var(--hera-muted);
	font-size: 16px;
	line-height: 1.65;
}

.news-archive-card__excerpt p {
	margin: 0;
}

.news-archive-card__link {
	display: inline-flex;
	min-height: 44px;
	margin-top: 24px;
	align-items: center;
	gap: 10px;
	color: var(--hera-navy);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
}

.news-archive-card__link svg {
	transition: transform 200ms ease;
}

.news-archive-card__link:hover svg,
.news-archive-card__link:focus-visible svg {
	transform: translateX(4px);
}

.news-pagination {
	margin-top: clamp(46px, 6vw, 76px);
}

.news-pagination .page-numbers {
	display: flex;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	list-style: none;
}

.news-pagination a,
.news-pagination .current,
.news-pagination .dots {
	display: inline-flex;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--hera-line);
	border-radius: 999px;
	background: #fff;
	color: var(--hera-ink);
	font-size: 14px;
	text-decoration: none;
}

.news-pagination a:hover,
.news-pagination a:focus-visible,
.news-pagination .current {
	border-color: var(--hera-navy);
	background: var(--hera-navy);
	color: #fff;
}

.news-archive-empty {
	padding: clamp(44px, 7vw, 84px) 24px;
	border: 1px solid var(--hera-line);
	border-radius: 18px;
	background: #fff;
	text-align: center;
}

.news-archive-empty__icon {
	display: grid;
	width: 68px;
	height: 68px;
	margin: 0 auto 20px;
	place-items: center;
	border-radius: 50%;
	background: #edf6f9;
	color: var(--hera-blue);
}

.news-archive-empty h2 {
	margin: 0 0 10px;
	color: var(--hera-navy);
	font-family: "SVN-Butler", Georgia, serif;
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 400;
}

.news-archive-empty p {
	margin: 0 auto 24px;
	color: var(--hera-muted);
}

.news-archive-empty > a {
	display: inline-flex;
	min-height: 44px;
	padding: 0 22px;
	align-items: center;
	border-radius: 999px;
	background: var(--hera-navy);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.hera-archive-page :focus-visible {
	outline: 2px solid var(--hera-sky);
	outline-offset: 3px;
}

@media (max-width: 899.98px) {
	.news-archive-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.news-category-filter {
		max-width: none;
		justify-content: flex-start;
	}

	.news-archive-card--featured {
		grid-template-columns: 1fr;
	}

	.news-archive-card:nth-child(2):last-child {
		grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
	}

	.news-archive-card--featured .news-archive-card__media {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}
}

@media (max-width: 639.98px) {
	.hera-archive-page .header .header-mb {
		background: rgba(9, 29, 52, 0.78);
	}

	.news-archive-hero {
		min-height: 610px;
	}

	.news-archive-hero__media {
		background-image: url("../legacy/assets/images/homepage/the-hera-resort-quy-nhon-nen-mat-bien-tin-tuc-di-dong.webp");
		background-position: center;
	}

	.news-archive-hero__inner,
	.news-archive-container {
		width: min(100% - 32px, 1180px);
	}

	.news-archive-hero__inner {
		padding: 140px 0 52px;
	}

	.news-breadcrumb {
		margin-bottom: 72px;
	}

	.news-archive-hero h1 {
		font-size: clamp(44px, 13vw, 62px);
		line-height: 1.02;
	}

	.news-archive-hero__summary {
		font-size: 16px;
		line-height: 1.6;
	}

	.news-archive-content {
		padding: 56px 0 76px;
	}

	.news-archive-toolbar {
		margin-bottom: 32px;
	}

	.news-category-filter {
		width: 100%;
		flex-wrap: nowrap;
		overflow-x: auto;
		padding: 2px 2px 8px;
		scrollbar-width: none;
	}

	.news-category-filter::-webkit-scrollbar {
		display: none;
	}

	.news-category-filter a {
		flex: 0 0 auto;
	}

	.news-archive-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.news-archive-card,
	.news-archive-card--featured,
	.news-archive-card:nth-child(2):last-child {
		display: block;
		grid-column: auto;
		min-height: 0;
		border-radius: 14px;
	}

	.news-archive-card--featured .news-archive-card__media,
	.news-archive-card__media {
		aspect-ratio: 4 / 3;
	}

	.news-archive-card__body,
	.news-archive-card--featured .news-archive-card__body {
		padding: 24px 22px 28px;
	}

	.news-archive-card h3,
	.news-archive-card--featured h3 {
		font-size: 29px;
	}

	.news-archive-card__arrow {
		right: 14px;
		bottom: 14px;
		width: 44px;
		height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.news-archive-card__media img,
	.news-archive-card__arrow,
	.news-archive-card__link svg {
		transition: none;
	}
}
