/* Bibliothèque Ressources — palette du Customizer et composants éditoriaux du thème. */
#section2024.hm-resources {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: calc(var(--hm-header-height, 80px) + 44px) 0 72px;
	overflow: visible;
	background: var(--hm-background);
	color: var(--hm-primary);
	font: 400 16px/1.55 "BrownStd-Regular", Arial, sans-serif;
	text-align: left;
}

#section2024.hm-resources *,
#section2024.hm-resources *::before,
#section2024.hm-resources *::after {
	box-sizing: border-box;
}

#section2024.hm-resources [hidden] {
	display: none !important;
}

/* Atténuation pendant la requête, puis apparition sans attente du nouveau contenu. */
#section2024.hm-resources :is(.hm-resources__grid, .hm-resources__empty) {
	transition: opacity 120ms ease-out;
}

#section2024.hm-resources[aria-busy="true"] :is(.hm-resources__grid, .hm-resources__empty) {
	opacity: .55;
}

/* Un voile traverse la liste ; les lignes se matérialisent en cascade. */
#section2024.hm-resources .hm-resources__body--updated :is(.hm-resources__grid, .hm-resources__empty) {
	position: relative;
	isolation: isolate;
}

#section2024.hm-resources .hm-resources__body--updated :is(.hm-resources__card, .hm-resources__empty) {
	animation: hm-resources-materialize 960ms cubic-bezier(.16, 1, .3, 1) backwards;
}

#section2024.hm-resources .hm-resources__body--updated .hm-resources__card:nth-child(2) { animation-delay: 90ms; }
#section2024.hm-resources .hm-resources__body--updated .hm-resources__card:nth-child(3) { animation-delay: 180ms; }
#section2024.hm-resources .hm-resources__body--updated .hm-resources__card:nth-child(4) { animation-delay: 270ms; }
#section2024.hm-resources .hm-resources__body--updated .hm-resources__card:nth-child(5) { animation-delay: 360ms; }
#section2024.hm-resources .hm-resources__body--updated .hm-resources__card:nth-child(n+6) { animation-delay: 450ms; }

#section2024.hm-resources .hm-resources__body--updated :is(.hm-resources__grid, .hm-resources__empty)::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	opacity: 0;
	background: linear-gradient(110deg, transparent 35%, color-mix(in srgb, var(--hm-secondary) 65%, transparent) 50%, transparent 65%);
	background-size: 300% 100%;
	animation: hm-resources-magic-sweep 1300ms ease-out;
}

@keyframes hm-resources-materialize {
	from { opacity: .12; filter: blur(4px); transform: translateY(12px); }
	to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes hm-resources-magic-sweep {
	0% { opacity: 0; background-position: 100% 0; }
	18% { opacity: .7; }
	75% { opacity: .4; }
	100% { opacity: 0; background-position: 0 0; }
}

#section2024.hm-resources[data-hm-resources-ajax="true"] .hm-resources__mobile-collections {
	grid-template-columns: minmax(0, 1fr);
}

#section2024.hm-resources #hm-resource-results-title {
	scroll-margin-top: calc(var(--hm-header-height, 80px) + 20px);
}

#section2024.hm-resources .hm-resources__async-status:not(.hm-visually-hidden) {
	margin: 0 0 24px;
	padding: 12px;
	border-left: 3px solid var(--hm-primary);
	color: var(--hm-primary);
	font: inherit;
}

#section2024.hm-resources .hm-resources__async-status button {
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--hm-primary);
	background: var(--hm-background);
	color: var(--hm-primary);
	font: inherit;
	cursor: pointer;
}

#section2024.hm-resources .hm-resources__inner {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 48px;
}

#section2024.hm-resources :is(.hm-resources__header, .hm-resources__catalog, .hm-resources__collections, .hm-resources__card-body) {
	min-width: 0;
}

#section2024.hm-resources :is(.hm-resources__title, .hm-resources__card-title, .hm-resources__results-heading h2, .hm-resources__collections-title) {
	padding: 0;
	color: var(--hm-primary) !important;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
	overflow-wrap: anywhere;
}

#section2024.hm-resources .hm-resources__header {
	margin: 0 0 30px;
}

#section2024.hm-resources .hm-resources__breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
	font-size: 13px;
	line-height: 1.5;
}

#section2024.hm-resources .hm-resources__breadcrumbs a {
	color: var(--hm-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

#section2024.hm-resources .hm-resources__title {
	margin: 0 0 16px;
	font: 400 clamp(42px, 5.5vw, 68px)/1.08 "Cooper", Georgia, serif !important;
	letter-spacing: -.025em;
}

#section2024.hm-resources .hm-resources__lead {
	max-width: 800px;
	margin: 0;
	padding: 0;
	color: var(--hm-primary) !important;
	font: 400 22px/1.45 "BrownStd-Regular", Arial, sans-serif !important;
}

#section2024.hm-resources :is(.hm-resources__search, .hm-resources__filters, .hm-resources__mobile-collections) {
	position: static;
	float: none;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--hm-primary);
	font: inherit;
}

#section2024.hm-resources .hm-resources__search {
	display: flex;
	align-items: end;
	gap: 12px;
	max-width: none;
	margin-bottom: 8px;
}

#section2024.hm-resources .hm-resources__scope {
	margin: 0 0 24px;
	padding: 0;
	color: var(--hm-primary);
	font: 400 13px/1.5 "BrownStd-Regular", Arial, sans-serif;
}

#section2024.hm-resources .hm-resources__scope a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#section2024.hm-resources .hm-resources__search .hm-resources__field {
	flex: 1 1 0;
}

#section2024.hm-resources :is(.hm-resources__field, .hm-resources__mobile-collections label) {
	display: block;
	min-width: 0;
	margin: 0;
	padding: 0;
	color: var(--hm-primary);
	font: 400 14px/1.4 "BrownStd-Regular", Arial, sans-serif;
}

#section2024.hm-resources .hm-resources__label {
	display: block;
	margin: 0 0 8px;
	font-size: 13px;
	line-height: 1.45;
}

#section2024.hm-resources :is(.hm-resources__search, .hm-resources__filters, .hm-resources__mobile-collections) :is(input:not([type="hidden"]), select) {
	position: static;
	float: none;
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	height: 48px;
	min-height: 48px;
	margin: 0;
	padding: 11px 13px;
	border: 1px solid var(--hm-primary);
	border-radius: 8px;
	background: var(--hm-background);
	color: var(--hm-primary);
	font: 400 16px/1.4 "BrownStd-Regular", Arial, sans-serif;
	letter-spacing: 0;
	box-shadow: none;
}

#section2024.hm-resources .hm-resources__search input::placeholder {
	color: var(--hm-primary);
	opacity: 1;
}

#section2024.hm-resources :is(.hm-resources__submit, .hm-resources__mobile-collections button) {
	position: static;
	float: none;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto;
	max-width: 100%;
	height: auto;
	min-height: 48px;
	margin: 0;
	padding: 11px 20px;
	border: 1px solid var(--hm-primary);
	border-radius: 8px;
	background: var(--hm-primary);
	color: var(--hm-background);
	font: 400 14px/1.4 "BrownStd-Bold", Arial, sans-serif;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	white-space: normal;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease;
}

#section2024.hm-resources :is(.hm-resources__submit, .hm-resources__mobile-collections button):hover {
	background: var(--hm-accent2);
	color: var(--hm-primary);
}

#section2024.hm-resources :is(.hm-resources__action, .hm-resources__reset) {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 0;
	border: 0;
	background: none;
	color: var(--hm-primary);
	font: 400 14px/1.5 "BrownStd-Regular", Arial, sans-serif;
	text-decoration: underline;
	text-underline-offset: 4px;
	overflow-wrap: anywhere;
}

#section2024.hm-resources .hm-resources__body {
	display: grid;
	grid-template-columns: 225px minmax(0, 1fr);
	gap: 36px;
	align-items: start;
}

#section2024.hm-resources .hm-resources__collections-title {
	margin: 0 0 14px;
	font: 400 13px/1.5 "BrownStd-Bold", Arial, sans-serif;
	letter-spacing: .08em;
	text-transform: uppercase;
}

#section2024.hm-resources .hm-resources__collections nav {
	display: grid;
	gap: 5px;
}

#section2024.hm-resources .hm-resources__collection {
	display: flex;
	align-items: center;
	min-width: 0;
	min-height: 48px;
	padding: 12px 14px;
	border-radius: 8px;
	color: var(--hm-primary);
	font: 400 15px/1.4 "BrownStd-Regular", Arial, sans-serif;
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: background-color 160ms ease, color 160ms ease;
}

#section2024.hm-resources .hm-resources__collection:not([aria-current="true"]):is(:hover, :focus-visible) {
	background-color: var(--hm-secondary);
	color: var(--hm-primary);
	text-decoration: none;
}

#section2024.hm-resources .hm-resources__collection[aria-current="true"] {
	background: var(--hm-primary);
	color: var(--hm-background);
}

#section2024.hm-resources .hm-resources__mobile-collections {
	display: none;
}

#section2024.hm-resources .hm-resources__results-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px 18px;
	margin-bottom: 22px;
}

#section2024.hm-resources .hm-resources__results-heading h2 {
	margin: 0;
	font: 400 25px/1.3 "BrownStd-Regular", Arial, sans-serif;
}

#section2024.hm-resources .hm-resources__count {
	margin: 0;
	padding: 0;
	color: var(--hm-primary) !important;
	font: 400 13px/1.5 "BrownStd-Regular", Arial, sans-serif !important;
}

#section2024.hm-resources .hm-resources__catalog > .hm-resources__count {
	margin-bottom: 18px;
	overflow-wrap: anywhere;
}

#section2024.hm-resources .hm-resources__filters {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto;
	align-items: end;
	gap: 12px;
	margin-bottom: 24px;
}

#section2024.hm-resources .hm-resources__reset {
	justify-content: center;
	min-height: 48px;
	font-size: 13px;
}

#section2024.hm-resources .hm-resources__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	border-top: 1px solid var(--hm-grey4);
}

#section2024.hm-resources .hm-resources__card {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	align-items: start;
	gap: 20px;
	min-width: 0;
	margin: 0;
	padding: 22px 0;
	border: 0;
	border-bottom: 1px solid var(--hm-grey4);
	border-radius: 0;
	background: var(--hm-background);
}

#section2024.hm-resources .hm-resources__media {
	display: block;
	min-width: 0;
	margin: 0;
	border-radius: 4px;
	overflow: hidden;
	background: var(--hm-secondary);
}

#section2024.hm-resources .hm-resources__media img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 74px;
	object-fit: cover;
}

#section2024.hm-resources .hm-resources__media--icon {
	display: grid; place-items: center; height: 74px;
	border: 1px solid color-mix(in srgb, var(--hm-resource-accent) 45%, var(--hm-background));
	background: color-mix(in srgb, var(--hm-resource-accent) 17%, var(--hm-background)); color: var(--hm-primary);
}
#section2024.hm-resources .hm-result-icon { display: block; width: 36px; height: 36px; }

#section2024.hm-resources .hm-resources__card-body {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr) minmax(90px, 140px);
	grid-template-areas: "meta title action" "meta description action";
	align-items: start;
	gap: 6px 20px;
	padding: 0;
}

#section2024.hm-resources .hm-resources__card-body:only-child {
	grid-column: 1 / -1;
}

#section2024.hm-resources .hm-resources__meta {
	grid-area: meta;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: start;
	gap: 8px 10px;
	font-size: 12px;
	line-height: 1.45;
}

#section2024.hm-resources .hm-resources__format {
	display: inline-block;
	padding: 4px 9px;
	border-radius: 4px;
	background: var(--hm-secondary);
	color: var(--hm-primary);
}

#section2024.hm-resources .hm-resources__card-title {
	grid-area: title;
	margin: 0;
	font: 400 20px/1.3 "BrownStd-Regular", Arial, sans-serif;
}

#section2024.hm-resources .hm-resources__card-title a {
	color: var(--hm-primary);
	text-decoration: none;
}

#section2024.hm-resources .hm-resources__card-title a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

#section2024.hm-resources .hm-resources__description {
	margin: 0;
	padding: 0;
	color: var(--hm-primary) !important;
	font: 400 15px/1.55 "BrownStd-Regular", Arial, sans-serif !important;
	overflow-wrap: anywhere;
}

#section2024.hm-resources .hm-resources__description {
	grid-area: description;
	font-size: 14px !important;
}

#section2024.hm-resources .hm-resources__action {
	grid-area: action;
	align-self: center;
	justify-self: end;
	margin: 0;
}

#section2024.hm-resources .hm-resources__pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 30px 0 0;
}

#section2024.hm-resources .hm-resources__pagination :is(a, span) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 9px 14px;
	border: 1px solid var(--hm-primary);
	border-radius: 7px;
	color: var(--hm-primary);
	font: 400 14px/1.45 "BrownStd-Regular", Arial, sans-serif;
	text-decoration: none;
}

#section2024.hm-resources .hm-resources__pagination :is(a:hover, [aria-current]) {
	background: var(--hm-primary);
	color: var(--hm-background);
}

#section2024.hm-resources .hm-resources__empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 28px 24px;
	border: 1px solid var(--hm-grey4);
	border-radius: 8px;
	color: var(--hm-primary);
	font: 400 16px/1.55 "BrownStd-Regular", Arial, sans-serif;
}

#section2024.hm-resources .hm-resources__empty p {
	margin: 0;
	font: inherit;
}

#section2024.hm-resources .hm-resources__collection-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 24px;
}

#section2024.hm-resources .hm-resources__collection-links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 15px;
	border: 1px solid var(--hm-primary);
	border-radius: 24px;
	color: var(--hm-primary);
	font-size: 14px;
	line-height: 1.45;
	text-decoration: none;
}

#section2024.hm-resources .hm-resources__collection-links a:hover {
	background: var(--hm-secondary);
}

/* Les filtres de l'archive s'intègrent à la bibliothèque Ressources. */
#section2024.hm-resources .hm-resources__articles .hm-news-archive__results {
	min-width: 0;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

#section2024.hm-resources .hm-resources__articles .hm-news-archive__categories a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	max-width: 100%;
	overflow-wrap: anywhere;
}

#section2024.hm-resources .hm-resources__articles .hm-news-archive__filters {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

#section2024.hm-resources .hm-resources__articles .hm-news-archive__filters label {
	min-width: 0;
}

#section2024.hm-resources .hm-resources__articles .hm-news-archive__filters :is(input:not([type="hidden"]), select) {
	font-size: 16px;
}

#section2024.hm-resources .hm-resources__articles .hm-news-archive__reset {
	min-height: 46px;
	text-align: center;
}

#section2024.hm-resources :is(a, button, input, select):focus-visible {
	outline: 3px solid var(--hm-primary);
	outline-offset: 4px;
}

#section2024.hm-resources .hm-resources__collection[aria-current="true"]:focus-visible {
	outline-color: var(--hm-accent);
}

@media screen and (max-width: 1100px) {
	#section2024.hm-resources .hm-resources__inner {
		padding-right: 32px;
		padding-left: 32px;
	}

	#section2024.hm-resources .hm-resources__body {
		gap: 26px;
	}

	#section2024.hm-resources .hm-resources__filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#section2024.hm-resources .hm-resources__card-body {
		grid-template-columns: 72px minmax(0, 1fr);
		grid-template-areas: "meta title" "meta description" "meta action";
		column-gap: 16px;
	}

	#section2024.hm-resources .hm-resources__action {
		justify-self: start;
	}
}

@media screen and (max-width: 799px) {
	#section2024.hm-resources {
		padding-top: calc(var(--hm-header-height, 64px) + 30px);
		padding-bottom: 48px;
	}

	#section2024.hm-resources .hm-resources__inner {
		padding-right: 24px;
		padding-left: 24px;
	}

	#section2024.hm-resources .hm-resources__body {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	#section2024.hm-resources .hm-resources__collections {
		display: none;
	}

	#section2024.hm-resources .hm-resources__mobile-collections {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
		gap: 12px;
	}

	#section2024.hm-resources .hm-resources__lead {
		font-size: 20px !important;
	}

}

@media screen and (max-width: 539px) {
	#section2024.hm-resources .hm-resources__inner {
		padding-right: 18px;
		padding-left: 18px;
	}

	#section2024.hm-resources .hm-resources__header {
		margin-bottom: 24px;
	}

	#section2024.hm-resources .hm-resources__title {
		font-size: 44px !important;
	}

	#section2024.hm-resources .hm-resources__lead {
		font-size: 18px !important;
	}

	#section2024.hm-resources .hm-resources__search {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		margin-bottom: 8px;
	}

	#section2024.hm-resources .hm-resources__search .hm-resources__field {
		flex: 0 0 auto;
	}

	#section2024.hm-resources .hm-resources__search .hm-resources__submit {
		align-self: flex-end;
	}

	#section2024.hm-resources .hm-resources__filters,
	#section2024.hm-resources .hm-resources__articles .hm-news-archive__filters {
		grid-template-columns: minmax(0, 1fr);
	}

	#section2024.hm-resources .hm-resources__filters .hm-resources__reset {
		justify-self: start;
	}

	#section2024.hm-resources .hm-resources__card-title {
		font-size: 20px;
	}

	#section2024.hm-resources .hm-resources__card {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 14px;
		padding-block: 18px;
	}

	#section2024.hm-resources .hm-resources__media img {
		height: 64px;
	}
	#section2024.hm-resources .hm-resources__media--icon { height: 64px; }
	#section2024.hm-resources .hm-result-icon { width: 28px; height: 28px; }

	#section2024.hm-resources .hm-resources__card-body {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "meta" "title" "description" "action";
		row-gap: 6px;
	}

	#section2024.hm-resources .hm-resources__meta {
		flex-direction: row;
		align-items: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	#section2024.hm-resources :is(.hm-resources__grid, .hm-resources__empty) {
		transition: none;
	}
	#section2024.hm-resources .hm-resources__body--updated :is(.hm-resources__card, .hm-resources__empty),
	#section2024.hm-resources .hm-resources__body--updated :is(.hm-resources__grid, .hm-resources__empty)::after {
		animation: none;
	}
	#section2024.hm-resources :is(.hm-resources__submit, .hm-resources__mobile-collections button, .hm-resources__card, .hm-resources__collection) {
		transition: none;
	}
}

/* Ressources : les articles et dossiers reprennent la lecture en lignes du catalogue. */
body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-list {
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 0 !important;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-list > .hm-auto-story:nth-child(n) {
	position: relative;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	grid-column: 1 / -1 !important;
	align-items: start;
	justify-content: normal;
	gap: 14px 24px;
	min-width: 0;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 24px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--hm-grey4) !important;
	border-radius: 0 !important;
	background: var(--hm-background) !important;
	color: var(--hm-primary) !important;
	box-shadow: none !important;
	transform: none !important;
	overflow: visible;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-list > .hm-auto-story:nth-child(n):has(> .hm-auto-image) {
	grid-template-columns: 148px minmax(0, 1fr) !important;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-list > .hm-auto-story:nth-child(n):hover {
	transform: none !important;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story::before,
body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story::after {
	content: none !important;
	display: none !important;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story > .hm-auto-image {
	position: relative !important;
	inset: auto !important;
	align-self: start;
	width: 148px;
	height: 110px;
	min-height: 0;
	margin: 0 !important;
	padding: 0;
	border: 0;
	border-radius: 0 !important;
	background: var(--hm-secondary);
	filter: none !important;
	overflow: hidden;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story > .hm-auto-image > a,
body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story > .hm-auto-image :is(img, video) {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	aspect-ratio: auto !important;
	border-radius: 0 !important;
	object-fit: cover;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story > .hm-auto-copy {
	position: relative;
	inset: auto;
	grid-column: auto !important;
	align-self: start;
	display: block;
	width: auto !important;
	min-width: 0;
	min-height: 0 !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--hm-background);
	color: var(--hm-primary) !important;
	text-align: left !important;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story .hm-auto-copy :is(h3, h3 a, h4, h4 a, .hm-auto-meta, .hm-auto-meta span, time, .hm-auto-kicker, .hm-auto-excerpt, .hm-auto-read-more, .hm-press-dossier__eyebrow, .hm-press-dossier__tab, .hm-press-dossier__count, .hm-press-dossier__meta, .hm-press-dossier__meta > span) {
	color: var(--hm-primary) !important;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story .hm-auto-copy h3 {
	margin: 0;
	padding: 0;
	font: 400 22px/1.3 "BrownStd-Regular", Arial, sans-serif;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story .hm-auto-meta {
	gap: 6px 12px;
	margin: 0 0 9px;
	font-size: 12px;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story .hm-auto-meta span {
	padding: 0;
	border-radius: 0;
	background: none;
	font-weight: 400;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story .hm-auto-kicker {
	margin: 0 0 8px;
	font-size: 12px;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story .hm-auto-excerpt {
	margin: 10px 0 0;
	font: 400 15px/1.5 "BrownStd-Regular", Arial, sans-serif;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-copy a:focus-visible {
	outline: 2px solid var(--hm-primary) !important;
	outline-offset: 4px;
}

/* Le titre remplace le ruban tout en conservant les articles et leurs attributs JS. */
body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-press-dossier__ribbon {
	display: none !important;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-press-dossier .hm-press-dossier__content > h3.hm-visually-hidden {
	position: static !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	clip: auto !important;
	clip-path: none !important;
	overflow: visible !important;
	white-space: normal !important;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-press-dossier .hm-press-dossier__eyebrow {
	justify-content: flex-start;
	margin: 0 0 8px;
	font-size: 12px;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-press-dossier .hm-press-dossier__articles {
	margin: 12px 0 0;
	padding: 0;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-press-dossier .hm-press-dossier__articles > li:not([hidden]) {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) !important;
	gap: 3px 12px;
	padding: 11px 0;
	border-bottom-color: var(--hm-grey4);
	text-align: left !important;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-press-dossier .hm-press-dossier__meta > :is(.hm-auto-media-logo, span) {
	grid-column: 1 !important;
	grid-row: 1 / 3;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-press-dossier .hm-press-dossier__meta time,
body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-press-dossier h4 {
	grid-column: 2 !important;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story .hm-auto-media-logo {
	justify-content: flex-start !important;
	min-height: 24px;
	margin-bottom: 8px;
	background: none;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story .hm-auto-media-logo img {
	filter: none !important;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-press-dossier .hm-auto-media-logo img.hm-press-dossier__logo-accent {
	display: none !important;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-press-dossier .hm-press-dossier__pagination {
	position: static !important;
	inset: auto !important;
	grid-column: 1 / -1;
	justify-self: end;
	margin: 0;
	color: var(--hm-primary) !important;
}

body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-press-dossier__next:is(:hover, :focus-visible) {
	color: var(--hm-primary);
}

/* Les légendes gardent leur bouton et leur infobulle dans le flux de la ligne. */
body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story > .hm-auto-caption {
	position: relative !important;
	inset: auto !important;
	grid-column: 1 / -1;
	margin: 0 !important;
	color: var(--hm-primary) !important;
}

@media screen and (max-width: 799px) {
	body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-list > .hm-auto-story:nth-child(n) {
		gap: 12px 16px;
		padding-block: 20px !important;
	}

	body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-list > .hm-auto-story:nth-child(n):has(> .hm-auto-image) {
		grid-template-columns: 96px minmax(0, 1fr) !important;
	}

	body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story > .hm-auto-image {
		width: 96px;
		height: 76px;
	}

	body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story .hm-auto-copy h3 {
		font-size: 20px;
	}
}

@media screen and (max-width: 539px) {
	body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-list > .hm-auto-story:nth-child(n):has(> .hm-auto-image) {
		grid-template-columns: 64px minmax(0, 1fr) !important;
		gap: 12px;
	}

	body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story > .hm-auto-image {
		width: 64px;
		height: 64px;
	}

	body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-auto-story .hm-auto-copy h3 {
		font-size: 19px;
	}

	body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-press-dossier .hm-press-dossier__articles {
		margin-top: 10px;
	}

	body.hm-news-archive-page #section2024.hm-resources .hm-resources__articles .hm-auto-news .hm-press-dossier .hm-press-dossier__articles > li:not([hidden]) {
		grid-template-columns: 48px minmax(0, 1fr) !important;
		gap: 3px 8px;
	}
}

/* Édition ACF et date de publication des ressources, sous le titre. */
#section2024.hm-resources .hm-resources__card-body--has-edition {
	grid-template-areas: "meta title action" "meta edition action" "meta description action";
}

#section2024.hm-resources .hm-resources__edition {
	grid-area: edition;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin: 0;
	color: var(--hm-primary);
	font: 400 13px/1.5 "BrownStd-Regular", Arial, sans-serif;
	overflow-wrap: anywhere;
}

#section2024.hm-resources .hm-resources__media--pdf img {
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: contain;
}

@media (max-width: 1100px) {
	#section2024.hm-resources .hm-resources__card-body--has-edition {
		grid-template-areas: "meta title" "meta edition" "meta description" "meta action";
	}
}

@media (max-width: 539px) {
	#section2024.hm-resources .hm-resources__card-body--has-edition {
		grid-template-areas: "meta" "title" "edition" "description" "action";
	}
}

#section2024.hm-resources mark.hm-resources__highlight {
	padding: 0 .12em;
	border-radius: 2px;
	background: var(--hm-secondary);
	color: var(--hm-primary);
	box-shadow: 0 2px 0 var(--hm-primary);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	font: inherit;
}

/* Les mêmes accents identifient les collections et les lignes, sans recolorer le texte. */
#section2024.hm-resources [data-resource-category] { --hm-resource-accent: var(--hm-primary); }
#section2024.hm-resources [data-resource-category="documents"],
#section2024.hm-resources [data-resource-category="infolettres"] { --hm-resource-accent: var(--hm-accent5); }
#section2024.hm-resources [data-resource-category="rapports-annuels"] { --hm-resource-accent: var(--hm-accent6); }
#section2024.hm-resources [data-resource-category="resolutions"],
#section2024.hm-resources [data-resource-category="communiques"] { --hm-resource-accent: var(--hm-accent3); }
#section2024.hm-resources [data-resource-category="memoires"],
#section2024.hm-resources [data-resource-category="lettres-ouvertes"] { --hm-resource-accent: var(--hm-accent4); }
#section2024.hm-resources [data-resource-category="positions"],
#section2024.hm-resources [data-resource-category="breves"] { --hm-resource-accent: var(--hm-accent2); }
#section2024.hm-resources [data-resource-category="actualites"] { --hm-resource-accent: var(--hm-accent); }

#section2024.hm-resources .hm-resources__collection { gap: 10px; }
#section2024.hm-resources .hm-resources__collection::before {
	content: "";
	flex: 0 0 9px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--hm-resource-accent);
}
#section2024.hm-resources .hm-resources__collection[aria-current="true"],
#section2024.hm-resources .hm-resources__collection:not([aria-current="true"]):is(:hover, :focus-visible) {
	background: color-mix(in srgb, var(--hm-resource-accent) 17%, var(--hm-background));
	color: var(--hm-primary);
	box-shadow: inset 3px 0 var(--hm-resource-accent);
}
#section2024.hm-resources .hm-resources__card {
	border-left: 3px solid var(--hm-resource-accent);
	padding-left: 16px;
}
#section2024.hm-resources .hm-resources__format {
	border: 1px solid var(--hm-resource-accent);
	background: color-mix(in srgb, var(--hm-resource-accent) 17%, var(--hm-background));
}
#section2024.hm-resources .hm-resources__body .hm-resources__mobile-collections select {
	border-left: 4px solid var(--hm-resource-accent);
}

/* Sélecteur par décennies : dix années au maximum, sans zone défilante. */
#section2024.hm-resources .hm-resources__timeline { margin: 0 0 28px; }
#section2024.hm-resources .hm-resources__timeline-heading {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 14px;
}
#section2024.hm-resources .hm-resources__timeline-heading h3 {
	margin: 0; padding: 0; color: var(--hm-primary); font: 400 14px/1.5 "BrownStd-Bold", Arial, sans-serif;
}
#section2024.hm-resources .hm-resources__decade-navigation { display: flex; align-items: center; gap: 8px; }
#section2024.hm-resources .hm-resources__decade-label { min-width: 94px; text-align: center; font: 400 14px/1.5 "BrownStd-Bold", Arial, sans-serif; }
#section2024.hm-resources :is(.hm-resources__decade-link, .hm-resources__decade-disabled) {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--hm-grey4); border-radius: 6px; color: var(--hm-primary); background: var(--hm-background); font: 400 24px/1 "BrownStd-Regular", Arial, sans-serif; text-decoration: none;
}
#section2024.hm-resources .hm-resources__decade-disabled { opacity: .35; }
#section2024.hm-resources .hm-resources__decade-link:hover { background: var(--hm-secondary); }
#section2024.hm-resources .hm-resources__timeline-navigation { display: grid; grid-template-columns: 144px minmax(0, 1fr); align-items: start; gap: 16px; }
#section2024.hm-resources .hm-resources__years {
	display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; min-width: 0; margin: 0; padding: 0; list-style: none;
}
#section2024.hm-resources .hm-resources__years li { min-width: 0; margin: 0; padding: 0; list-style: none; }
#section2024.hm-resources .hm-resources__years li::before { content: none; }
#section2024.hm-resources .hm-resources__year {
	display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 46px; padding: 10px 4px; border: 1px solid var(--hm-grey4); border-radius: 6px; color: var(--hm-primary); background: var(--hm-background); font: 400 14px/1.4 "BrownStd-Regular", Arial, sans-serif; text-align: center; text-decoration: none;
}
#section2024.hm-resources .hm-resources__year::before { content: none; }
#section2024.hm-resources .hm-resources__year:is([aria-current="true"], :hover, :focus-visible) {
	border-color: var(--hm-resource-accent); background: color-mix(in srgb, var(--hm-resource-accent) 17%, var(--hm-background));
}
#section2024.hm-resources .hm-resources__year[aria-current="true"] { font-family: "BrownStd-Bold", Arial, sans-serif; box-shadow: inset 0 -2px var(--hm-resource-accent); }
#section2024.hm-resources .hm-resources__selected-year { margin: 10px 0 0; color: var(--hm-primary); font: 400 13px/1.5 "BrownStd-Regular", Arial, sans-serif; }
@media (max-width: 1100px) {
	#section2024.hm-resources .hm-resources__years { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 539px) {
	#section2024.hm-resources .hm-resources__timeline-navigation { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	#section2024.hm-resources .hm-resources__year--all { justify-self: start; padding-inline: 14px; }
}

/* Même introduction que les fiches, adaptée à la colonne de la bibliothèque. */
#section2024.hm-resources .hm-resources__resolution-context {
	margin: 0 0 28px;
	border-left: 3px solid var(--hm-resource-accent);
	border-radius: 6px;
	background: var(--hm-secondary);
	color: var(--hm-primary);
}
#section2024.hm-resources .hm-resources__resolution-context .single-resolution-context__inner {
	display: grid;
	grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
	gap: 28px;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 24px;
}
#section2024.hm-resources .hm-resources__resolution-context .single-resolution-context__heading p {
	margin: 0 0 12px;
	padding: 0;
	color: var(--hm-primary);
	font: 400 11px/1.4 "BrownStd-Bold", Arial, sans-serif;
	letter-spacing: .12em;
	text-transform: uppercase;
}
#section2024.hm-resources .hm-resources__resolution-context .single-resolution-context__heading h2 {
	margin: 0;
	padding: 0;
	color: var(--hm-primary);
	font: 400 28px/1.1 "Cooper", Georgia, serif;
	letter-spacing: -.025em;
	text-wrap: balance;
}
#section2024.hm-resources .hm-resources__resolution-context .single-resolution-context__content {
	min-width: 0;
	color: var(--hm-primary);
	font: 400 15px/1.6 "BrownStd-Regular", Arial, sans-serif;
	overflow-wrap: anywhere;
}
#section2024.hm-resources .hm-resources__resolution-context .single-resolution-context__content p {
	margin: 0 0 1em;
	padding: 0;
	color: inherit;
	font: inherit;
}
#section2024.hm-resources .hm-resources__resolution-context .single-resolution-context__content > :first-child { margin-top: 0; }
#section2024.hm-resources .hm-resources__resolution-context .single-resolution-context__content > :last-child { margin-bottom: 0; }
#section2024.hm-resources .hm-resources__resolution-context a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--hm-resource-accent);
	text-underline-offset: 3px;
}
@media (max-width: 1100px) {
	#section2024.hm-resources .hm-resources__resolution-context .single-resolution-context__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		padding: 20px;
	}
	#section2024.hm-resources .hm-resources__resolution-context .single-resolution-context__heading h2 { font-size: 26px; }
}
