/* Haptelle News — scoped archive and editorial article layouts. */
.haptelle-news-page {
	--haptelle-news-ink: #2c201b;
	--haptelle-news-accent: #a36640;
	--haptelle-news-surface: #f7f3f0;
}

.haptelle-news-page .box-nav-menu > .menu-item > .item-link[href$="/news/"] {
	color: var(--haptelle-news-accent) !important;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 12px;
}

.haptelle-news-page,
.haptelle-news-page #wrapper,
.haptelle-news,
.haptelle-news-article {
	color: var(--haptelle-news-ink);
	background: #fff0e5;
}

.haptelle-news {
	padding: 0 0 82px;
}

.haptelle-news-container,
.haptelle-news-article-container {
	width: calc(100% - 80px);
	max-width: 1560px;
	margin: 0 auto;
}

.haptelle-news-hero {
	position: relative;
	width: 100%;
	isolation: isolate;
	min-height: 360px;
	aspect-ratio: 3.18 / 1;
	border-radius: 12px;
	overflow: hidden;
	background: #c8a78e;
}

.haptelle-news-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(55, 32, 24, .26), transparent 66%);
}

.haptelle-news-hero-image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.haptelle-news-hero-copy {
	position: absolute;
	top: 50%;
	left: 4.8%;
	transform: translateY(-50%);
	width: min(660px, 55%);
	color: #fff;
}

.haptelle-news-hero-copy h1 {
	margin: 0 0 10px;
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(34px, 5vw, 56px);
	font-weight: 500;
	line-height: clamp(44px, 6vw, 68px);
	letter-spacing: normal;
	color: #fff;
}

.haptelle-news-hero-copy p {
	max-width: 640px;
	margin: 0;
	font-size: 18px;
	font-weight: 300;
	line-height: 28px;
	color: #fff;
}

.haptelle-news-tools {
	margin: 34px 0 36px;
}

.haptelle-news-page .haptelle-news-categories {
	margin: 0;
	padding: 0;
}

.haptelle-news-page .haptelle-news-categories .haptelle-news-category {
	font-size: 16px;
}

.haptelle-news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.haptelle-news-card {
	min-width: 0;
	border: 1px solid #f4efec;
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 14px 35px rgba(84, 57, 42, .035);
	overflow: hidden;
}

.haptelle-news-card-link {
	display: block;
	height: 100%;
	color: inherit;
}

.haptelle-news-card-link:hover {
	color: var(--haptelle-news-accent);
}

.haptelle-news-card-media {
	position: relative;
	aspect-ratio: 1.265 / 1;
	border-radius: 12px;
	background: #d1b5a5;
	overflow: hidden;
}

.haptelle-news-card-media > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform .35s ease;
}

.haptelle-news-card-link:hover .haptelle-news-card-media > img {
	transform: scale(1.035);
}

.haptelle-news-date {
	position: absolute;
	top: 14px;
	left: 14px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 110px;
	height: 110px;
	border-radius: 15px;
	background: rgba(255, 250, 246, .96);
	color: #281d18;
}

.haptelle-news-date-day {
	font-family: 'Montserrat', sans-serif;
	font-size: 54px;
	line-height: 1;
}

.haptelle-news-date-month {
	margin-top: 7px;
	font-size: 15px;
	line-height: 1.1;
}

.haptelle-news-card-category {
	position: absolute;
	bottom: 10px;
	left: 18px;
	min-width: 185px;
	max-width: calc(100% - 36px);
	padding: 11px 22px;
	border-radius: 30px;
	background: #fff8f2;
	color: #34231b;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.1;
	text-align: center;
	text-transform: uppercase;
}

.haptelle-news-card-content {
	display: flex;
	min-height: 176px;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 25px 30px 30px;
}

.haptelle-news-card-content h2 {
	flex: 1;
	min-width: 0;
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: normal;
	color: inherit;
}

.haptelle-news-pagination {
	margin-top: 42px;
}

.haptelle-news-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 18px;
}

.haptelle-news-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 8px;
	border-radius: 50%;
	color: #382c25;
	font-size: 17px;
}

.haptelle-news-pagination .page-numbers.current {
	background: var(--haptelle-news-accent);
	color: #fff;
}

.haptelle-news-pagination .prev,
.haptelle-news-pagination .next {
	border: 1px solid #eee7e2;
	color: var(--haptelle-news-accent);
	font-size: 26px;
}

.haptelle-news-empty {
	padding: 70px 20px;
	text-align: center;
}

/* Single News article: split editorial cover from the Figma article reference. */
.haptelle-news-article {
	padding: 20px 0 90px;
}

.haptelle-news-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin-bottom: 32px;
	color: #9b9793;
	font-size: 13px;
	line-height: 1.6;
}

.haptelle-news-breadcrumbs a {
	color: inherit;
}

.haptelle-news-breadcrumbs a:hover {
	color: var(--haptelle-news-accent);
}

.haptelle-news-article-hero {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.25fr);
	align-items: center;
	gap: clamp(28px, 4vw, 70px);
}

.haptelle-news-article-heading {
	padding-left: min(2.5vw, 30px);
}

.haptelle-news-article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px;
	margin-bottom: 35px;
	color: #5d504b;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.haptelle-news-article-label {
	padding: 10px 16px;
	border-radius: 7px;
	background: #f7eee7;
}

.haptelle-news-article-heading h1,
.haptelle-news-article-title {
	margin: 0 0 28px;
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(24px, 3.8vw, 38px);
	font-weight: 500;
	line-height: clamp(32px, 4.8vw, 48px);
	letter-spacing: normal;
	color: var(--haptelle-news-ink);
}

.haptelle-news-article-rule {
	display: block;
	width: 55px;
	height: 1px;
	margin-bottom: 30px;
	background: #c9a58a;
}

.haptelle-news-article-excerpt {
	max-width: 470px;
	margin: 0;
	color: #77706b;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.65;
}

.haptelle-news-article-visual {
	aspect-ratio: 1.72 / 1;
	border-radius: 20px;
	background: #dfc7b9;
	overflow: hidden;
}

.haptelle-news-article-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.haptelle-news-article-content {
	max-width: 900px;
	margin: 70px auto 40px;
	color: #504740;
	font-weight: 300;
}

.haptelle-news-article-title {
	max-width: 900px;
	margin: 0 auto 24px;
	overflow-wrap: anywhere;
}

.haptelle-news-article-title + .haptelle-news-article-content {
	margin-top: 0;
}

.haptelle-news-article-content h2,
.haptelle-news-article-content h3 {
	margin: 1.6em 0 .7em;
	color: var(--haptelle-news-ink);
}

.haptelle-news-article-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.haptelle-news-back {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
	color: var(--haptelle-news-accent);
	font-size: 16px;
}

.haptelle-news a:focus-visible,
.haptelle-news-article a:focus-visible {
	outline: 3px solid var(--haptelle-news-accent);
	outline-offset: 3px;
}

@media (max-width: 1199px) {
	.haptelle-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 576px) and (max-width: 1199px) {
	.haptelle-news-page .tf-footer .footer-wrap-2 { max-width: 100%; }
}

@media (max-width: 767px) {
	.haptelle-news-page .haptelle-news-categories .haptelle-news-category { font-size: 14px; }
	.haptelle-news-container,
	.haptelle-news-article-container { width: calc(100% - 32px); }
	.haptelle-news { padding-top: 0; padding-bottom: 50px; }
	.haptelle-news-hero { min-height: 310px; aspect-ratio: auto; }
	.haptelle-news-hero-image { object-position: 63% center; }
	.haptelle-news-hero::after { background: linear-gradient(90deg, rgba(45, 25, 20, .58), rgba(45, 25, 20, .08)); }
	.haptelle-news-hero-copy { left: 7%; width: 84%; }
	.haptelle-news-hero-copy p { font-size: 16px; line-height: 24px; }
	.haptelle-news-tools { margin: 28px 0 26px; }
	.haptelle-news-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.haptelle-news-date { width: 80px; height: 80px; border-radius: 11px; }
	.haptelle-news-date-day { font-size: 40px; }
	.haptelle-news-date-month { font-size: 11px; margin-top: 4px; }
	.haptelle-news-card-category { min-width: 0; font-size: 12px; }
	.haptelle-news-card-content { min-height: 125px; padding: 17px 20px 23px; }
	.haptelle-news-card-content h2 { font-size: 20px; }
	.haptelle-news-pagination .nav-links { gap: 8px; }
	.haptelle-news-article { padding: 12px 0 50px; }
	.haptelle-news-breadcrumbs { margin-bottom: 24px; }
	.haptelle-news-article-hero { grid-template-columns: 1fr; gap: 24px; }
	.haptelle-news-article-heading { padding: 0; }
	.haptelle-news-article-meta { gap: 12px; margin-bottom: 20px; font-size: 12px; }
	.haptelle-news-article-heading h1 { margin-bottom: 20px; }
	.haptelle-news-article-rule { margin-bottom: 20px; }
	.haptelle-news-article-visual { border-radius: 12px; }
	.haptelle-news-article-content { margin: 38px 0 30px; }
}

@media (prefers-reduced-motion: reduce) {
	.haptelle-news-card-media > img,
	.haptelle-news-category { transition: none; }
}
