/* Naturellement Mel — Actualités v1.0
 * Tous les sélecteurs sont confinés à la page du module.
 */

body.nm-actualites-page .nm-actualites-theme-content,
body.nm-actualites-page .nm-actualites-theme-content > .content_inner,
body.nm-actualites-page .nm-actualites-main {
	width: 100% !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	padding: 0 !important;
}

/* Masque uniquement l’ancienne bannière de titre Bridge remplacée par notre hero. */
body.nm-actualites-page .title_outer,
body.nm-actualites-page .title_holder {
	display: none !important;
}

.nm-news {
	--nm-ink: #24352d;
	--nm-ink-soft: #526159;
	--nm-sage: #627966;
	--nm-sage-dark: #405747;
	--nm-sage-light: #dbe4da;
	--nm-salmon: #da8c79;
	--nm-salmon-dark: #b96858;
	--nm-rose: #eedbd5;
	--nm-rose-pale: #f8ebe6;
	--nm-sand: #e8d9c6;
	--nm-cream: #fbf8f2;
	--nm-paper: #fffdf9;
	--nm-line: rgba(36, 53, 45, 0.17);
	--nm-shadow: 0 30px 90px rgba(61, 46, 35, 0.12);
	--nm-shell: min(1180px, calc(100% - 72px));
	--nm-serif: "Cormorant", "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--nm-sans: "Lato", "Avenir Next", "Segoe UI", Arial, sans-serif;
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0;
	color: var(--nm-ink);
	background: var(--nm-cream);
	font-family: var(--nm-sans);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow: hidden;
}

.nm-news,
.nm-news * {
	box-sizing: border-box;
}

.nm-news img {
	display: block;
	width: 100%;
	height: auto;
}

.nm-news a,
.nm-news a:hover,
.nm-news a:focus {
	color: inherit;
	text-decoration: none;
}

.nm-news a:focus-visible {
	outline: 3px solid var(--nm-salmon);
	outline-offset: 4px;
}

.nm-news p,
.nm-news h1,
.nm-news h2,
.nm-news h3 {
	margin-top: 0;
}

.nm-news__shell {
	width: var(--nm-shell);
	margin-right: auto;
	margin-left: auto;
}

.nm-news__hero {
	position: relative;
	padding: 84px 0 118px;
	background:
		linear-gradient(118deg, transparent 0 70%, rgba(238, 219, 213, 0.54) 70% 100%),
		var(--nm-cream);
	overflow: hidden;
}

.nm-news__grid-lines {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(64, 87, 71, 0.055) 1px, transparent 1px) center / 11.111% 100%;
	-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 96%);
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 96%);
}

.nm-news__heading {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	align-items: end;
	gap: 80px;
}

.nm-news__eyebrow {
	margin-bottom: 20px !important;
	color: var(--nm-salmon-dark) !important;
	font-family: var(--nm-sans) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.19em !important;
	line-height: 1.4 !important;
	text-transform: uppercase !important;
}

.nm-news h1,
.nm-news h2 {
	margin-bottom: 28px !important;
	color: var(--nm-ink) !important;
	font-family: var(--nm-serif) !important;
	font-weight: 400 !important;
	letter-spacing: -0.045em !important;
	line-height: 0.94 !important;
	text-transform: none !important;
}

.nm-news h1 {
	margin-bottom: 0 !important;
	font-size: clamp(70px, 7.4vw, 132px) !important;
}

.nm-news h2 {
	font-size: clamp(52px, 5vw, 91px) !important;
}

.nm-news h1 em,
.nm-news h2 em {
	color: var(--nm-salmon-dark) !important;
	font-weight: 400 !important;
}

.nm-news__intro {
	max-width: 460px;
	margin: 0 0 14px !important;
	padding-left: 28px;
	border-left: 1px solid var(--nm-salmon-dark);
	color: var(--nm-ink-soft) !important;
	font-size: 17px !important;
	line-height: 1.85 !important;
}

.nm-news__featured {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
	margin-top: 76px;
	box-shadow: var(--nm-shadow);
}

.nm-news__featured-image {
	position: relative;
	display: block;
	min-height: 540px;
	background: var(--nm-sage-light);
	overflow: hidden;
}

.nm-news__featured-image .nm-news__image {
	height: 100%;
	object-fit: cover;
	transition: transform 1.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Les affiches verticales restent entièrement lisibles et ne sont jamais recadrées. */
.nm-news__featured-image .nm-news__image.nm-media--portrait {
	padding: 28px;
	background: #efe7dc;
	object-fit: contain;
}

.nm-news__featured-image:hover .nm-news__image {
	transform: scale(1.025);
}

.nm-news__image-label {
	position: absolute;
	top: 28px;
	left: 28px;
	padding: 10px 15px;
	color: #fff;
	background: var(--nm-sage-dark);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.3;
	text-transform: uppercase;
}

.nm-news__featured-copy {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 540px;
	padding: clamp(50px, 5vw, 76px);
	border-top: 4px solid var(--nm-salmon);
	background: var(--nm-paper);
	overflow: hidden;
}

.nm-news__featured-number {
	position: absolute;
	right: 18px;
	bottom: -42px;
	color: rgba(64, 87, 71, 0.055);
	font-family: var(--nm-serif);
	font-size: 208px;
	line-height: 1;
	pointer-events: none;
}

.nm-news__meta {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px !important;
	color: var(--nm-ink-soft) !important;
	font-family: var(--nm-sans) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em !important;
	line-height: 1.5 !important;
	text-transform: uppercase !important;
}

.nm-news__meta span {
	color: var(--nm-salmon-dark);
}

.nm-news__meta span::after {
	content: "";
	display: inline-block;
	width: 22px;
	height: 1px;
	margin-left: 12px;
	vertical-align: middle;
	background: var(--nm-sand);
}

.nm-news__featured-copy h2 {
	position: relative;
	margin-bottom: 28px !important;
	font-size: clamp(48px, 4.2vw, 77px) !important;
	line-height: 0.98 !important;
}

.nm-news__featured-copy > p:not(.nm-news__meta) {
	position: relative;
	margin-bottom: 31px !important;
	color: var(--nm-ink-soft) !important;
	font-size: 16px !important;
	line-height: 1.8 !important;
}

.nm-news__text-link {
	position: relative;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px solid var(--nm-ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
}

.nm-news__text-link span {
	color: var(--nm-salmon-dark);
	transition: transform 280ms ease;
}

.nm-news__text-link:hover span {
	transform: translateX(4px);
}

.nm-news__empty {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
	margin-top: 76px;
	background: var(--nm-paper);
	box-shadow: var(--nm-shadow);
}

.nm-news__empty > img {
	height: 500px;
	object-fit: cover;
}

.nm-news__empty > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(50px, 5vw, 76px);
	border-top: 4px solid var(--nm-salmon);
}

.nm-news__empty h2 {
	font-size: clamp(45px, 4vw, 66px) !important;
	line-height: 1 !important;
}

.nm-news__empty p:last-child {
	margin-bottom: 0;
	color: var(--nm-ink-soft);
	font-size: 16px;
	line-height: 1.8;
}

.nm-news__archives {
	padding: 118px 0;
	background: var(--nm-paper);
}

.nm-news__archives-heading {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
	align-items: end;
	gap: 80px;
	margin-bottom: 64px;
}

.nm-news__archives-heading h2 {
	margin-bottom: 0 !important;
}

.nm-news__archives-heading > p {
	max-width: 430px;
	margin: 0 0 12px !important;
	color: var(--nm-ink-soft) !important;
	font-size: 16px !important;
	line-height: 1.8 !important;
}

.nm-news__rows {
	border-top: 1px solid var(--nm-line);
}

.nm-news__row {
	position: relative;
	display: grid;
	grid-template-columns: 48px 190px minmax(0, 1fr) 46px;
	align-items: center;
	gap: 32px;
	padding: 28px 4px;
	border-bottom: 1px solid var(--nm-line);
	transition: background 360ms ease, padding 360ms ease;
}

.nm-news__row:hover {
	padding-right: 14px;
	padding-left: 14px;
	background: var(--nm-rose-pale);
}

.nm-news__index {
	align-self: start;
	padding-top: 4px;
	color: var(--nm-salmon-dark);
	font-family: var(--nm-serif);
	font-size: 18px;
}

.nm-news__thumb {
	display: block;
	height: 118px;
	background: var(--nm-sage-light);
	overflow: hidden;
}

.nm-news__thumb .nm-news__image {
	height: 100%;
	object-fit: cover;
	transition: transform 800ms ease;
}

.nm-news__thumb .nm-news__image.nm-media--portrait {
	padding: 7px;
	background: #efe7dc;
	object-fit: contain;
}

.nm-news__row:hover .nm-news__thumb .nm-news__image {
	transform: scale(1.035);
}

.nm-news__row-copy .nm-news__meta {
	margin-bottom: 8px !important;
}

.nm-news__row-copy h3 {
	max-width: 680px;
	margin: 0 0 7px !important;
	color: var(--nm-ink) !important;
	font-family: var(--nm-serif) !important;
	font-size: clamp(27px, 2.5vw, 38px) !important;
	font-weight: 400 !important;
	letter-spacing: -0.02em !important;
	line-height: 1.08 !important;
	text-transform: none !important;
}

.nm-news__row-copy h3 a {
	transition: color 280ms ease;
}

.nm-news__row-copy h3 a:hover {
	color: var(--nm-salmon-dark);
}

.nm-news__row-copy > p:last-child {
	margin-bottom: 0 !important;
	color: var(--nm-ink-soft) !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
}

.nm-news__arrow {
	width: 43px;
	height: 43px;
	display: grid;
	place-items: center;
	border: 1px solid var(--nm-line);
	color: var(--nm-salmon-dark) !important;
	font-size: 16px;
	transition: color 300ms ease, background 300ms ease, transform 300ms ease;
}

.nm-news__arrow:hover {
	color: #fff !important;
	background: var(--nm-sage-dark);
	transform: translateX(4px);
}

.nm-news__no-older {
	margin: 0 !important;
	padding: 30px 4px;
	border-bottom: 1px solid var(--nm-line);
	color: var(--nm-ink-soft) !important;
	font-size: 15px !important;
}

.nm-news__pagination {
	margin-top: 48px;
}

.nm-news__pagination ul {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nm-news__pagination a,
.nm-news__pagination span {
	min-width: 42px;
	min-height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 13px;
	border: 1px solid var(--nm-line);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.nm-news__pagination .current,
.nm-news__pagination a:hover {
	color: #fff;
	background: var(--nm-sage-dark);
}

.nm-news__reveal {
	opacity: 1;
	transform: none;
}

.nm-news.nm-news--motion .nm-news__reveal {
	--nm-enter-x: 0px;
	--nm-enter-y: 34px;
	opacity: 0;
	transform: translate3d(var(--nm-enter-x), var(--nm-enter-y), 0);
	transition:
		opacity 1.2s cubic-bezier(0.2, 0.7, 0.2, 1),
		transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: var(--nm-delay, 0ms);
	will-change: opacity, transform;
}

.nm-news.nm-news--motion .nm-news__reveal--left {
	--nm-enter-x: -46px;
	--nm-enter-y: 0px;
}

.nm-news.nm-news--motion .nm-news__reveal--right {
	--nm-enter-x: 46px;
	--nm-enter-y: 0px;
}

.nm-news.nm-news--motion .nm-news__reveal.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	will-change: auto;
}

/* Compensation locale du header transparent Bridge sur ordinateur. */
@media (min-width: 1001px) {
	.nm-news {
		padding-top: 142px;
	}
}

@media (max-width: 1120px) {
	.nm-news {
		--nm-shell: min(100% - 54px, 1100px);
	}

	.nm-news__featured {
		grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
	}

	.nm-news__featured-copy {
		padding: 48px;
	}
}

@media (max-width: 920px) {
	.nm-news {
		--nm-shell: min(100% - 48px, 760px);
	}

	.nm-news__hero {
		padding: 58px 0 88px;
	}

	.nm-news__heading,
	.nm-news__archives-heading {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.nm-news__intro {
		max-width: 600px;
	}

	.nm-news__featured,
	.nm-news__empty {
		grid-template-columns: 1fr;
		margin-top: 58px;
	}

	.nm-news__featured-image {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.nm-news__featured-image:has(.nm-media--portrait) {
		aspect-ratio: 4 / 5;
		max-height: 680px;
	}

	.nm-news__featured-copy {
		min-height: 0;
		padding: 54px;
	}

	.nm-news__empty > img {
		height: auto;
		aspect-ratio: 16 / 10;
	}

	.nm-news__archives {
		padding: 88px 0;
	}

	.nm-news__archives-heading {
		margin-bottom: 48px;
	}

	.nm-news__row {
		grid-template-columns: 40px 150px minmax(0, 1fr) 43px;
		gap: 22px;
	}

	.nm-news__thumb {
		height: 104px;
	}

	.nm-news__row-copy > p:last-child {
		display: none;
	}
}

@media (max-width: 650px) {
	.nm-news {
		--nm-shell: calc(100% - 40px);
	}

	.nm-news__hero {
		padding: 42px 0 68px;
		background: linear-gradient(180deg, var(--nm-cream) 0 34%, var(--nm-rose-pale) 34% 100%);
	}

	.nm-news h1 {
		font-size: clamp(60px, 20vw, 91px) !important;
	}

	.nm-news__intro {
		padding-left: 20px;
		font-size: 16px !important;
	}

	.nm-news__featured,
	.nm-news__empty {
		width: calc(100% - 24px);
		margin-top: 44px;
	}

	.nm-news__featured-image {
		aspect-ratio: 4 / 3;
	}

	.nm-news__featured-image:has(.nm-media--portrait) {
		aspect-ratio: 4 / 5;
		max-height: none;
	}

	.nm-news__featured-image .nm-news__image.nm-media--portrait {
		padding: 13px;
	}

	.nm-news__image-label {
		top: 18px;
		left: 18px;
	}

	.nm-news__featured-copy,
	.nm-news__empty > div {
		padding: 38px 28px 42px;
	}

	.nm-news__featured-copy h2,
	.nm-news__empty h2 {
		font-size: clamp(43px, 14vw, 64px) !important;
	}

	.nm-news__featured-number {
		font-size: 144px;
	}

	.nm-news__meta {
		flex-wrap: wrap;
		row-gap: 4px;
	}

	.nm-news__archives {
		padding: 72px 0;
	}

	.nm-news__archives-heading h2 {
		font-size: clamp(52px, 17vw, 77px) !important;
	}

	.nm-news__row {
		grid-template-columns: 32px minmax(0, 1fr);
		align-items: start;
		gap: 14px 16px;
		padding: 24px 2px;
	}

	.nm-news__row:hover {
		padding-right: 2px;
		padding-left: 2px;
	}

	.nm-news__index {
		grid-column: 1;
		grid-row: 1 / 3;
	}

	.nm-news__thumb {
		grid-column: 2;
		grid-row: 1;
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.nm-news__row-copy {
		grid-column: 2;
		grid-row: 2;
		padding-right: 42px;
	}

	.nm-news__row-copy h3 {
		font-size: 28px !important;
	}

	.nm-news__arrow {
		position: absolute;
		right: 2px;
		bottom: 25px;
		width: 36px;
		height: 36px;
	}

	.nm-news.nm-news--motion .nm-news__reveal--left,
	.nm-news.nm-news--motion .nm-news__reveal--right {
		--nm-enter-x: 0px;
		--nm-enter-y: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nm-news *,
	.nm-news *::before,
	.nm-news *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.nm-news .nm-news__reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}
