/*
 * Heroes Mag — couche visuelle « nuit de Cotonou »
 * Couleurs du logo : pétrole #00445E, or #FBAD18.
 * Tout est limité à html.hm-design : sans cette classe, le site reste tel quel.
 */

/* ---------- Jetons : mode clair ---------- */
html.hm-design,
html.hm-design body {
	--hm-petrol: #00445E;
	--hm-gold: #FBAD18;
	--hm-gold-deep: #E39D16;
	/* Fond clair par défaut : blanc cassé neutre, texte presque noir */
	--hm-ink: #141516;
	--hm-paper: #FAF9F6;
	--hm-surface: #FFFFFF;
	--hm-surface-2: #F2F1EE;
	--hm-muted: #5F6368;
	--hm-line: rgba(20, 21, 22, 0.1);
	--hm-on-gold: #141516;
	--hm-display: "Archivo", "Arial Narrow", "Segoe UI", sans-serif;
	--hm-body: "Inter", "Segoe UI", system-ui, sans-serif;

	--color-primary: var(--hm-ink);
	--plyr-color-main: var(--hm-gold);
	--body-bg-color: var(--hm-paper);
	--text-color: var(--hm-ink);
	--text-secondary-color: var(--hm-muted);
	--color-border: var(--hm-line);
	--color-grey-30: #FBFAF8;
	--color-grey-40: #F6F5F2;
	--color-grey-50: #F2F1EE;
	--border-radius: 0.875rem;
	--button-radius: 999px;
	--font-size: 0.9375rem;
	--font-weight-heading: 700;
	--box-shadow: none;
}

/* ---------- Jetons : mode nuit (par défaut) ---------- */
html.hm-design.dark,
html.hm-design.dark body {
	/* Fond anthracite neutre : le pétrole et l'or restent des touches, pas des surfaces */
	--hm-ink: #F3F1EC;
	--hm-paper: #111213;
	--hm-surface: #1A1C1E;
	--hm-surface-2: #232629;
	--hm-muted: #A2A6AA;
	--hm-line: rgba(255, 255, 255, 0.08);

	--color-primary: #F3F1EC;
	--body-bg-color: var(--hm-paper);
	--text-color: var(--hm-ink);
	--text-secondary-color: var(--hm-muted);
	--color-border: var(--hm-line);
	--color-grey-500: #2C2F33;
	--color-grey-600: #232629;
	--color-grey-700: #1A1C1E;
	--color-grey-800: #111213;
	--tooltip-color: #232629;
	--sub-menu-color: #1A1C1E;
}

/* ---------- Typographie ---------- */
html.hm-design body {
	font-family: var(--hm-body);
	-webkit-font-smoothing: antialiased;
}

html.hm-design h1,
html.hm-design h2,
html.hm-design .entry-title,
html.hm-design .page-title,
html.hm-design .wp-block-heading {
	font-family: var(--hm-display);
	font-stretch: 80%;
	font-weight: 800;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

html.hm-design .site-main > article > .entry-header .entry-title,
html.hm-design .page-header .page-title,
html.hm-design h1.entry-title {
	font-stretch: 75%;
	font-size: clamp(2.2rem, 4.5vw, 4rem);
	line-height: 0.98;
}

/* Titres de section des pages composées (Tendances, Actualités…) */
html.hm-design .entry-content > h2.wp-block-heading,
html.hm-design .entry-content > h3.wp-block-heading,
html.hm-design .entry-content > .wp-block-group h2.wp-block-heading,
html.hm-design .entry-content > .wp-block-group h3.wp-block-heading,
html.hm-design .block-loop-title,
html.hm-design .wp-block-loop-title {
	font-family: var(--hm-display);
	font-stretch: 75%;
	font-weight: 800;
	font-size: clamp(1.75rem, 3vw, 2.75rem);
	line-height: 1;
	text-transform: uppercase;
	margin-top: 2.5rem;
}

/* Titre « Accueil » inutile en tête de la page d'accueil */
html.hm-design .home .site-main > article > .entry-header {
	display: none;
}

/* ---------- Liens et boutons ---------- */
html.hm-design a:hover {
	color: var(--hm-gold-deep);
}

html.hm-design .button,
html.hm-design .wp-block-button__link,
html.hm-design input[type="submit"],
html.hm-design button[type="submit"],
html.hm-design .wpcf7-submit {
	background-color: var(--hm-gold);
	color: var(--hm-on-gold);
	border-color: var(--hm-gold);
	border-radius: 999px;
	font-weight: 700;
	min-height: 44px;
}

html.hm-design .button:hover,
html.hm-design .wp-block-button__link:hover,
html.hm-design input[type="submit"]:hover,
html.hm-design .wpcf7-submit:hover {
	background-color: var(--hm-gold-deep);
	border-color: var(--hm-gold-deep);
	color: var(--hm-on-gold);
}

html.hm-design .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--hm-ink);
	border: 2px solid currentColor;
}

/* Boutons lecture : rond or, icône sombre */
html.hm-design .btn-play {
	background-color: var(--hm-gold);
	color: var(--hm-on-gold);
	border-color: var(--hm-gold);
}

html.hm-design .btn-play:hover {
	background-color: var(--hm-gold-deep);
}

/* ---------- En-tête ---------- */
html.hm-design .site-header {
	background-color: color-mix(in srgb, var(--hm-paper) 94%, transparent);
	border-bottom: 1px solid var(--hm-line);
	backdrop-filter: saturate(140%) blur(8px);
}

html.hm-design .site-header .site-title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

html.hm-design .site-logo img {
	height: 40px;
	width: auto;
	display: block;
}

html.hm-design.dark .site-logo a {
	display: block;
	height: 40px;
	aspect-ratio: 599 / 437;
	background: var(--hm-logo-dark) left center / contain no-repeat;
}

html.hm-design.dark .site-logo img {
	visibility: hidden;
}

html.hm-design .navbar-menu .nav > li > a {
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--hm-ink);
	white-space: nowrap;
}

/* Recherche compacte : une icône qui s'ouvre au clic (comportement Waveme) */
html.hm-design .site-header .search-form {
	flex: 0 1 260px;
	max-width: 260px;
}

/* Le menu horizontal laisse sa place sous 1200 px : la navigation passe dans le tiroir */
@media (max-width: 1199px) {
	html.hm-design .site-header .navbar-menu {
		display: none;
	}
}

/* Barre latérale en tiroir sur ordinateur : le contenu prend toute la largeur */
@media (min-width: 992px) {
	html.hm-design,
	html.hm-design body {
		--side-width: 0rem;
		--side-folded-width: 0rem;
	}

	html.hm-design .site-sidebar {
		width: 17rem;
		transform: translateX(-100%);
		transition: transform 0.25s ease;
		box-shadow: 0 0 40px rgba(0, 0, 0, 0.35);
		z-index: 30;
	}

	html.hm-design #menu-state:checked ~ .site-sidebar {
		transform: none;
	}

	html.hm-design .site-content {
		margin-left: 0;
	}
}

html.hm-design .site-header .menu-toggle {
	display: inline-flex;
}

html.hm-design .navbar-menu .nav > li.current-menu-item > a,
html.hm-design .navbar-menu .nav > li > a:hover {
	color: var(--color-primary);
}

html.hm-design .site-header .search-form input,
html.hm-design .site-header .search-field {
	background-color: var(--hm-surface);
	border: 1px solid var(--hm-line);
	border-radius: 999px;
	color: var(--hm-ink);
}

html.hm-design .hm-header-cta {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 1.1rem;
	margin-right: 0.75rem;
	border-radius: 999px;
	background: var(--hm-gold);
	color: var(--hm-on-gold);
	font-weight: 700;
	font-size: 0.875rem;
	white-space: nowrap;
}

html.hm-design .hm-header-cta:hover {
	background: var(--hm-gold-deep);
	color: var(--hm-on-gold);
}

@media (max-width: 991px) {
	html.hm-design .hm-header-cta {
		display: none;
	}
}

/* ---------- Barre latérale ---------- */
html.hm-design .site-sidebar {
	background-color: var(--hm-paper);
	border-right: 1px solid var(--hm-line);
}

html.hm-design .site-sidebar .current-menu-item > a,
html.hm-design .site-sidebar .current_page_item > a {
	color: var(--color-primary);
	font-weight: 700;
}

/* ---------- Cartes (titres, articles, artistes) ---------- */
html.hm-design .block-loop-item .post-thumbnail img,
html.hm-design .block-loop-item .post-thumbnail-inner {
	border-radius: 12px;
}

html.hm-design .block-loop-item .entry-title {
	font-family: var(--hm-body);
	font-stretch: 100%;
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: 0;
}

html.hm-design .block-loop-post .block-loop-item .entry-title,
html.hm-design .wp-block-loop-post .entry-title {
	font-family: var(--hm-display);
	font-stretch: 85%;
	font-size: 1.25rem;
	line-height: 1.15;
}

/* Titres d'articles sur deux lignes au lieu d'une ligne coupée */
html.hm-design .wp-block-loop-post .block-loop-item .entry-title,
html.hm-design .wp-block-loop-post .block-loop-item .entry-title a {
	white-space: normal;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

html.hm-design .menu-before-login a,
html.hm-design .menu-after-login a {
	white-space: nowrap;
}

html.hm-design.dark .block-loop-item,
html.hm-design.dark .header-station {
	background-color: transparent;
}

html.hm-design .entry-cat a,
html.hm-design .cat-links a {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-primary);
}

/* ---------- Article ---------- */
/* Une seule colonne de lecture centrée : titre, texte et pied d'article alignés, image plus large */
html.hm-design .single-post .site-main > article > .entry-header,
html.hm-design .single-post .site-main > article > .entry-content,
html.hm-design .single-post .site-main > article > .entry-footer {
	max-width: 44rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
}

/* Plus précis que la règle de Waveme (.site-main > .entry > .entry-content > :not(…)×5) */
html.hm-design .single-post .site-main > .entry > .entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
	width: auto;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

html.hm-design .single-post .site-main > article > .post-thumbnail {
	max-width: 60rem;
	margin-left: auto;
	margin-right: auto;
}

html.hm-design .single-post .site-main > article > .post-thumbnail img {
	border-radius: 16px;
}

html.hm-design .single-post .entry-content {
	font-size: 1.125rem;
	line-height: 1.7;
}

html.hm-design .single-post .site-main > .entry > .entry-header > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
	width: auto;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}

@media (max-width: 767px) {
	/* L'en-tête a déjà la marge du thème ; le texte et le pied reçoivent la même */
	html.hm-design .single-post .site-main > article > .entry-content,
	html.hm-design .single-post .site-main > article > .entry-footer {
		padding-left: var(--x-gap, 5vw);
		padding-right: var(--x-gap, 5vw);
	}
}

html.hm-design .entry-content p,
html.hm-design .entry-content li {
	text-align: left;
	hyphens: manual;
}

@media (max-width: 480px) {
	html.hm-design .wp-block-loop-post .block-loop-item .entry-title {
		font-size: 1.05rem;
	}
}

html.hm-design .single-post .entry-content blockquote {
	border-left: 4px solid var(--hm-gold);
	padding-left: 1.5rem;
	font-family: var(--hm-display);
	font-stretch: 85%;
	font-weight: 700;
	font-size: 1.6rem;
	line-height: 1.2;
	color: var(--color-primary);
}

/* ---------- Formulaires ---------- */
html.hm-design input[type="text"],
html.hm-design input[type="email"],
html.hm-design input[type="search"],
html.hm-design input[type="password"],
html.hm-design select,
html.hm-design textarea {
	background-color: var(--hm-surface);
	color: var(--hm-ink);
	border: 1px solid var(--hm-line);
	border-radius: 10px;
	min-height: 44px;
}

html.hm-design .wpcf7 form input,
html.hm-design .wpcf7 form select,
html.hm-design .wpcf7 form textarea {
	color: var(--hm-ink);
}

/* ---------- Lecteur ---------- */
html.hm-design .plyr-playlist,
html.hm-design .player {
	background-color: var(--hm-surface);
	border-top: 1px solid var(--hm-line);
}

/* ---------- Pied de page ---------- */
html.hm-design .site-footer {
	border-top: 1px solid var(--hm-line);
	color: var(--hm-muted);
}

/* ---------- Page d'accueil de la refonte ---------- */
html.hm-design .hm-kicker {
	margin: 0;
	font: 800 0.75rem/1 var(--hm-body);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-primary);
}

html.hm-design .hm-kicker--small {
	font-size: 0.6875rem;
	letter-spacing: 0.12em;
}

html.hm-design .hm-kicker--ink {
	color: var(--hm-on-gold);
}

html.hm-design .hm-badge {
	align-self: flex-start;
	background: var(--hm-gold);
	color: var(--hm-on-gold);
	font: 800 0.75rem/1 var(--hm-body);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
}

html.hm-design .hm-une {
	display: grid;
	grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
	gap: 1.75rem;
	margin: 1rem 0 3rem;
}

html.hm-design .hm-une__main {
	position: relative;
	display: block;
	min-height: 30rem;
	border-radius: 18px;
	overflow: hidden;
	color: #fff;
}

html.hm-design .hm-une__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

html.hm-design .hm-une__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 26, 33, 0) 35%, rgba(7, 26, 33, 0.92) 100%);
}

html.hm-design .hm-une__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 2.25rem 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}

html.hm-design .hm-une__title {
	font-family: var(--hm-display);
	font-stretch: 75%;
	font-weight: 800;
	font-size: clamp(2rem, 4.2vw, 4rem);
	line-height: 0.98;
	text-wrap: balance;
}

html.hm-design .hm-une__excerpt {
	max-width: 38rem;
	font-size: 1.0625rem;
	color: rgba(255, 255, 255, 0.86);
}

html.hm-design .hm-une__meta {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.72);
}

html.hm-design .hm-une__side {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

html.hm-design .hm-une__item {
	display: grid;
	grid-template-columns: 9.25rem minmax(0, 1fr);
	gap: 1rem;
	align-items: center;
	padding-bottom: 1.1rem;
	border-bottom: 1px solid var(--hm-line);
	color: var(--hm-ink);
}

html.hm-design .hm-une__thumb {
	width: 9.25rem;
	height: 6.1rem;
	object-fit: cover;
	border-radius: 10px;
}

html.hm-design .hm-une__itembody {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	min-width: 0;
}

html.hm-design .hm-une__itemtitle {
	font-family: var(--hm-display);
	font-stretch: 85%;
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1.15;
}

html.hm-design .hm-une__date,
html.hm-design .hm-section-sub {
	font-size: 0.8125rem;
	color: var(--hm-muted);
}

html.hm-design .hm-more {
	font-weight: 700;
	color: var(--color-primary);
}

html.hm-design .hm-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin: 3rem 0 1.4rem;
}

html.hm-design .hm-section-title {
	margin: 0;
	font-family: var(--hm-display);
	font-stretch: 75%;
	font-weight: 800;
	font-size: clamp(1.75rem, 3vw, 2.75rem);
	line-height: 1;
	text-transform: uppercase;
}

html.hm-design .hm-quiest__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

html.hm-design .hm-quiest__card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2.5rem;
	min-height: 13rem;
	padding: 1.5rem;
	border-radius: 16px;
	background: var(--hm-petrol);
	color: #F5F1E8;
	transition: transform 0.2s ease;
}

html.hm-design .hm-quiest__card:hover {
	transform: translateY(-3px);
	color: #F5F1E8;
}

html.hm-design .hm-quiest__mark {
	font-family: var(--hm-display);
	font-stretch: 62%;
	font-weight: 900;
	font-size: 4rem;
	line-height: 0.8;
	color: var(--hm-gold);
}

html.hm-design .hm-quiest__body {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

html.hm-design .hm-quiest__name {
	font-family: var(--hm-display);
	font-stretch: 80%;
	font-weight: 800;
	font-size: 1.875rem;
	line-height: 1;
}

html.hm-design .hm-quiest__excerpt {
	font-size: 0.875rem;
	color: rgba(245, 241, 232, 0.78);
}

html.hm-design .hm-cta {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 2.5rem;
	align-items: center;
	margin: 3.5rem 0 2rem;
	padding: 3rem 3.25rem;
	border-radius: 22px;
	background: var(--hm-gold);
	color: var(--hm-on-gold);
}

html.hm-design .hm-cta__text {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}

html.hm-design .hm-cta__text p {
	margin: 0;
	max-width: 32rem;
	font-size: 1.0625rem;
}

html.hm-design .hm-cta__title {
	margin: 0;
	font-family: var(--hm-display);
	font-stretch: 75%;
	font-weight: 900;
	font-size: clamp(2.2rem, 4vw, 3.4rem);
	line-height: 0.95;
	text-transform: uppercase;
	color: var(--hm-on-gold);
}

html.hm-design .hm-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.375rem;
}

html.hm-design .hm-btn {
	display: inline-flex;
	align-items: center;
	min-height: 3.125rem;
	padding: 0 1.5rem;
	border-radius: 999px;
	font-weight: 700;
}

html.hm-design .hm-btn--ink {
	background: #071a21;
	color: var(--hm-gold);
}

html.hm-design .hm-btn--ink:hover {
	color: #ffc44d;
}

html.hm-design .hm-btn--line {
	border: 2px solid #071a21;
	color: #071a21;
}

html.hm-design .hm-btn--line:hover {
	background: rgba(7, 26, 33, 0.08);
	color: #071a21;
}

html.hm-design .hm-cta__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	font-weight: 600;
	font-size: 1.0625rem;
}

html.hm-design .hm-cta__list li {
	padding: 1rem 1.125rem;
	border-radius: 12px;
	background: rgba(7, 26, 33, 0.08);
}

/* Colonne Actualités + Top (le thème ajoute un conteneur interne aux groupes) */
html.hm-design .hm-duo > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	gap: 2.5rem;
	align-items: start;
}

html.hm-design .hm-top {
	padding: 0 1.5rem 1.25rem;
	border-radius: 18px;
	background: var(--hm-surface);
}

html.hm-design .hm-top h2.wp-block-heading {
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

/* Classement compact : sans forme d'onde ni lecteur déplié */
html.hm-design .hm-top .waveform,
html.hm-design .hm-top .entry-waveform,
html.hm-design .hm-top .plyr,
html.hm-design .hm-top .play-waveform {
	display: none !important;
}

html.hm-design .hm-top .block-loop-item {
	padding-block: 0.4rem;
}

html.hm-design .hm-top .post-thumbnail,
html.hm-design .hm-top .post-thumbnail img {
	width: 3.25rem;
	height: 3.25rem;
}

/* Rangées d'une seule ligne : pas d'élément orphelin quand le nombre de colonnes change */
html.hm-design .hm-row .block-loop-items {
	grid-template-rows: auto;
	grid-auto-rows: 0;
	row-gap: 0 !important;
	overflow: hidden;
}

/* Classement : on garde rang, pochette, titre et écoutes */
html.hm-design .hm-top .btn-like,
html.hm-design .hm-top .btn-more,
html.hm-design .hm-top .entry-meta .duration,
html.hm-design .hm-top .entry-time {
	display: none !important;
}

html.hm-design .hm-top .entry-title {
	white-space: normal;
}

html.hm-design .hm-cta__text,
html.hm-design .hm-cta__text p {
	text-align: left;
}

@media (max-width: 991px) {
	html.hm-design .hm-une,
	html.hm-design .hm-duo > .wp-block-group__inner-container,
	html.hm-design .hm-cta {
		grid-template-columns: minmax(0, 1fr);
	}

	html.hm-design .hm-une__main {
		min-height: 26rem;
	}

	html.hm-design .hm-une__body {
		padding: 1.4rem;
	}

	html.hm-design .hm-quiest__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	html.hm-design .hm-cta {
		padding: 1.75rem 1.4rem;
	}
}

@media (max-width: 480px) {
	html.hm-design .hm-une__item {
		grid-template-columns: 7.5rem minmax(0, 1fr);
	}

	html.hm-design .hm-une__thumb {
		width: 7.5rem;
		height: 5rem;
	}

	html.hm-design .hm-quiest__card {
		min-height: 11rem;
		padding: 1.1rem;
	}

	html.hm-design .hm-quiest__name {
		font-size: 1.5rem;
	}
}

/* ---------- Accessibilité ---------- */
html.hm-design :focus-visible {
	outline: 3px solid var(--hm-gold);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	html.hm-design * {
		scroll-behavior: auto !important;
		transition: none !important;
		animation: none !important;
	}
}

/* =====================================================================
 * Ajustements après retours (26/11) : moins de bleu, moins de jaune,
 * titre de la une sous l'image.
 * ===================================================================== */

/* Jaune réservé aux actions : boutons, lecture. Étiquettes en gris discret. */
html.hm-design .hm-kicker,
html.hm-design .entry-cat a,
html.hm-design .cat-links a {
	color: var(--hm-muted);
}

html.hm-design .hm-badge {
	background: none;
	color: var(--hm-muted);
	padding: 0;
	border-radius: 0;
}

html.hm-design .navbar-menu .nav > li.current-menu-item > a,
html.hm-design .navbar-menu .nav > li > a:hover,
html.hm-design .site-sidebar .current-menu-item > a,
html.hm-design .site-sidebar .current_page_item > a {
	color: var(--hm-ink);
	text-decoration: underline;
	text-decoration-color: var(--hm-gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

html.hm-design .hm-more {
	color: var(--hm-ink);
	text-decoration: underline;
	text-decoration-color: var(--hm-gold);
	text-underline-offset: 4px;
}

/* La une : image entière en haut, titre et texte dessous */
html.hm-design .hm-une__main {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	min-height: 0;
	border-radius: 0;
	overflow: visible;
	color: var(--hm-ink);
}

html.hm-design .hm-une__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: 18px;
	overflow: hidden;
	background: var(--hm-surface);
}

html.hm-design .hm-une__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

html.hm-design .hm-une__main:hover .hm-une__img {
	transform: scale(1.02);
}

html.hm-design .hm-une__body {
	position: static;
	padding: 0;
	gap: 0.75rem;
}

html.hm-design .hm-une__title {
	font-size: clamp(1.9rem, 3.4vw, 3.1rem);
	line-height: 1;
}

html.hm-design .hm-une__main:hover .hm-une__title {
	color: var(--hm-ink);
	text-decoration: underline;
	text-decoration-color: var(--hm-gold);
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
}

html.hm-design .hm-une__excerpt,
html.hm-design .hm-une__meta {
	color: var(--hm-muted);
}

/* Portraits : cartes neutres, le « ? » reste la seule touche or */
html.hm-design .hm-quiest__card,
html.hm-design .hm-quiest__card:hover {
	background: var(--hm-surface);
	color: var(--hm-ink);
	border: 1px solid var(--hm-line);
}

html.hm-design .hm-quiest__excerpt {
	color: var(--hm-muted);
}

/* Bandeau espace artistes : neutre, un seul bouton or */
html.hm-design .hm-cta {
	background: var(--hm-surface);
	color: var(--hm-ink);
	border: 1px solid var(--hm-line);
}

html.hm-design .hm-cta__title,
html.hm-design .hm-kicker--ink {
	color: var(--hm-ink);
}

html.hm-design .hm-cta__text p {
	color: var(--hm-muted);
}

html.hm-design .hm-cta__list li {
	background: var(--hm-surface-2);
}

html.hm-design .hm-btn--ink,
html.hm-design .hm-btn--ink:hover {
	background: var(--hm-gold);
	color: #111213;
}

html.hm-design .hm-btn--line,
html.hm-design .hm-btn--line:hover {
	border-color: var(--hm-ink);
	color: var(--hm-ink);
	background: transparent;
}

html.hm-design .hm-top {
	background: var(--hm-surface);
}

html.hm-design .site-header {
	background-color: color-mix(in srgb, var(--hm-paper) 94%, transparent);
}
