/* Honoré le Mag — Main Stylesheet */

/* =========================================================================
   CSS Custom Properties
   ========================================================================= */

:root {
	--hlm-font-heading: 'bebas_neue_probold', sans-serif;
	--hlm-font-heading-regular: 'bebas_neue_proregular', sans-serif;
	--hlm-font-body: 'Roboto Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;

	--hlm-orange: #FF9900;
	--hlm-dark: #333333;
	--hlm-white: #ffffff;
	--hlm-light-gray: #fafafa;
	--hlm-border: #f0f0f0;

	/* Couleurs rubriques */
	--hlm-actu: #3888B9;
	--hlm-dossier: #CE3C34;
	--hlm-concept: #DDA02E;
	--hlm-produit: #60AB92;

	/* mmenu */
	--mm-max-size: 340px;
}

img:is([sizes=auto i],[sizes^="auto," i]) {
    contain-intrinsic-size: 300px 150px;
}



/* =========================================================================
   Base
   ========================================================================= */

html { 
	font-size: 18px;	
} /* valeur par défaut navigateur */

body {
	font-family: var(--hlm-font-body);	
	color: var(--hlm-dark);	
	line-height: 1.6em;
	padding-bottom: 0 !important;
}

/* =========================================================================
   Header — Structure
   ========================================================================= */

.hlm-header {
	background: var(--hlm-white);
	z-index: 1030;
	box-shadow: 0 0 15px #0000007d;
}

.hlm-header.scrolled {
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
	    background-color: #f3f2f2;
}

/* ── Scroll state (is-scrolled) ─────────────────────────────────────────── */

.hlm-header.is-scrolled .hlm-navbar {
	max-height: 0;
	overflow: hidden;
	padding: 0;
	border: none;
}

.hlm-header.is-scrolled .hlm-logo--desktop {
	max-height: 60px;
}

/* Topbar : swap social ↔ trigger au scroll */
.hlm-topbar__social {
	display: flex;
	align-items: center;
	gap: 12px;
	transition: opacity 0.3s ease;
}

.hlm-topbar__menu-trigger {
	display: none;
}

.hlm-header.is-scrolled .hlm-topbar__social {
	display: none;
}

.hlm-header.is-scrolled .hlm-topbar__menu-trigger {
	display: flex;
}

.hlm-header.is-scrolled .hlm-sticky-banner {
	display: none;
}

/* ── Top bar ─────────────────────────────────────────────────────────────── */

.hlm-topbar {
	padding: 15px 0;
	border-bottom: 1px solid var(--hlm-border);
}

/* Social links */
.hlm-social-link {
	color: var(--hlm-dark);
	font-size: 1.2rem;
	text-decoration: none;
	transition: color 0.2s;
}

.hlm-social-link:hover {
	color: var(--hlm-orange);
}

/* Separator between social and search */
.hlm-topbar__sep {
	display: inline-block;
	width: 1px;
	height: 18px;
	background: var(--hlm-border);
}

/* Logo */
.hlm-logo--desktop {
	max-height: 100px;
	width: auto;
	transition: max-height 0.3s ease;
}

.hlm-logo--mobile {
	max-height: 25px;
	width: auto;
}

/* Subscribe button */
.hlm-btn-subscribe {
	background-color: var(--hlm-orange);
	color: var(--hlm-white);
	font-family: var(--hlm-font-heading-regular);
	font-weight: 300;
	font-size: 1.1rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	border: none;
	border-radius: 4px;
	padding: 4px 14px;
	text-decoration: none;
	transition: background-color 0.2s;
}

.hlm-btn-subscribe:hover {
	background-color: #e68a00;
	color: var(--hlm-white);
}

/* CTA button — generic */
.hlm-btn-cta {
	background-color: var(--hlm-orange);
	color: var(--hlm-white);
	font-family: var(--hlm-font-heading-regular);
	font-weight: 300;
	font-size: 1.1rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	border: none;
	border-radius: 4px;
	padding: 4px 14px;
	text-decoration: none;
	display: inline-block;
	transition: background-color 0.2s;
}

.hlm-btn-cta:hover {
	background-color: #e68a00;
	color: var(--hlm-white);
}



/* Icon buttons (user, cart) */
.hlm-btn-icon {
	background-color: var(--hlm-dark);
	color: var(--hlm-white);
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	font-size: 0.85rem;
	text-decoration: none;
	border: none;
	padding: 0;
	transition: background-color 0.2s;
}

.hlm-btn-icon:hover {
	background-color: var(--hlm-orange);
	color: var(--hlm-white);
}


/* Subscribe teaser — responsive */
@media (max-width: 1199.98px) {
	.hlm-btn-subscribe {}

}

@media (max-width: 991.98px) {
	.hlm-topbar__right .hlm-btn-subscribe {
		font-size: 0.85rem;
	}
	.hlm-topbar__right .hlm-btn-icon {
		font-size: 0.75rem;
		width: 30px;
    	height: 30px;
	}
}


/* ── Navigation bar ──────────────────────────────────────────────────────── */

.hlm-navbar {
	background-color: var(--hlm-light-gray);
	/*border-bottom: 1px solid var(--hlm-border);*/
	max-height: 200px;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
}

/* Hamburger trigger */
.hlm-navbar__trigger {
	color: var(--hlm-dark);
	font-family: var(--hlm-font-heading);
	font-weight: 400;
	font-size: 1.25rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
	padding: 7px 30px;
	transition: background-color 0.2s;
	background-color: #DFDFDF;
}

/* Trigger dans la topbar — style CTA dark */
.hlm-topbar__left .hlm-navbar__trigger {
	background-color: var(--hlm-dark);
	font-family: var(--hlm-font-heading-regular);
	font-weight: 300;
	padding: 2px 14px;
	color: var(--hlm-white);
	border-radius: 4px;
}

.hlm-topbar__left .hlm-navbar__trigger:hover {
	background-color: #555;
	color: var(--hlm-white);
}

.hlm-navbar__trigger:hover {
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--hlm-dark);
}

.hlm-navbar__trigger .fa-solid {
	margin-right: 6px;
}

/* Le Mag link */
.hlm-navbar__mag {
	color: var(--hlm-dark);
	font-family: var(--hlm-font-heading);
	
	font-size: 1.15rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
    padding: 6px 30px 2px;
    background-color: #EAEAEA;
    transition: background-color 0.2s;
    border-bottom: 5px solid transparent;

}

.hlm-navbar__mag:hover {
	background-color: rgba(255, 255, 255, 0.15);
	color: var(--hlm-dark);
	border-bottom: 5px solid var(--hlm-orange);
}

.hlm-navbar__mag .fa-solid {
	margin-right: 6px;
}




/* Separator */
.hlm-navbar__sep {
	width: 1px;
	height: 20px;
	background: rgba(255, 255, 255, 0.25);
	margin: 0 4px;
}

/* WordPress nav list */
.hlm-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
}

.hlm-nav-list li {
	margin: 0;
}

.hlm-nav-list li a {
	display: block;
	color: var(--hlm-dark);
	font-family: var(--hlm-font-body);
	font-size: 1.05rem;	
    font-weight: 500;
	text-decoration: none;
	padding: 8px 20px 2px;
	transition: all 0.1s;	
	border-bottom: 5px solid transparent;
}

.hlm-nav-list li a:hover,
.hlm-nav-list li.current-menu-item a {
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--hlm-dark);
	border-bottom: 5px solid var(--hlm-orange);
}


/* Subscribe teaser — responsive */
@media (max-width: 1199.98px) {
	.hlm-nav-list li a {
		 padding: 8px 13px 2px;
	}

}

@media (max-width: 991.98px) {
	.hlm-navbar__trigger .fa-solid {
    margin-right: 0px;
	}
	#hlm-menu-trigger {
		padding: 6px 10px;
		background-color: transparent;
		color:var(--hlm-dark);
	}
}



/* =========================================================================
   mmenu overrides
   ========================================================================= */

/* mmenu applique en permanence transform: translate3d(0,0,0) à .mm-page/
   .mm-slideout (le wrapper qui contient tout le contenu du site, y compris
   nos lightbox en position:fixed). Un transform sur un ancêtre crée un
   containing block pour les descendants position:fixed : nos overlays
   (floor-ad, popup migration, lightbox newsletter…) se retrouvent alors
   positionnés par rapport à .mm-page — dont la hauteur est celle de TOUTE
   la page, pas du viewport — au lieu du viewport lui-même. D'où les lightbox
   mal centrées verticalement / partiellement hors écran.
   On neutralise ce transform quand le menu est fermé ; l'ouverture garde son
   propre transform (translate3d horizontal) pour l'animation de glissement. */
.mm-wrapper--position-left:not(.mm-wrapper--opened) .mm-slideout,
.mm-wrapper--position-right:not(.mm-wrapper--opened) .mm-slideout {
	transform: none !important;
}

.mm-menu {
	--mm-color-background: var(--hlm-white);
	--mm-color-text: var(--hlm-dark);
	--mm-color-border: var(--hlm-border);	
}

.mm-menu--opened {
	/*z-index: 99;*/
}

a.mm-listitem__text {
    font-size: 1.15em;
}

.mm-menu article.hlm-magazine-card.hlm-mmenu-last-mag {
    background-color: #f7f7f7;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 10px;
}

/* mmenu — Logo + CTA header */
.hlm-mmenu-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 20px 10px;
	border-bottom: 1px solid var(--hlm-border);
}


.hlm-mmenu-logo {
	display: block;
	margin-bottom: 12px;
}

.hlm-mmenu-logo img {
	max-height: 75px;
	width: auto;
}

.hlm-mmenu-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: var(--hlm-dark);
	color: var(--hlm-white) !important;
	font-family: var(--hlm-font-heading-regular);
	font-size: 0.9rem;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 6px 18px;
	border-radius: 4px;
	margin-bottom: 10px;
	transition: background-color 0.2s;
}

.hlm-mmenu-cta:hover {
	background-color: #e68a00;
	color: var(--hlm-white);
}

/* mmenu — Dernier numéro magazine */
.hlm-mmenu-last-mag {
	width: 100%;
	margin-top: 14px;
	padding-top: 14px;
	padding-bottom: 0;
	border-top: 1px solid var(--hlm-border);
	border-bottom: none;
}

/* mmenu — Social icons bar */
.hlm-mmenu-social {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 14px 20px;
	border-top: 1px solid var(--hlm-border);
}

.hlm-mmenu-social .hlm-social-link {
	color: var(--hlm-dark);
	font-size: 1.1rem;
	transition: color 0.2s;
}

.hlm-mmenu-social .hlm-social-link:hover {
	color: var(--hlm-actu);
}

/* =========================================================================
   Reusable — Separator (picto + line)
   ========================================================================= */

.hlm-separator {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

.hlm-separator__picto {
	height: 26px;
	width: auto;
	flex-shrink: 0;
}

.hlm-separator__line {
	flex: 1;
	height: 3px;
	background: var(--hlm-border);
}

/* =========================================================================
   Reusable — Rubrique labels
   ========================================================================= */

.hlm-rubrique {
	display: inline-block;
	font-family: var(--hlm-font-heading);
	font-size: 1.15rem;	
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 0px;
}

.hlm-rubrique--actu    { color: var(--hlm-actu); }
.hlm-rubrique--dossier { color: var(--hlm-dossier); }
.hlm-rubrique--concept { color: var(--hlm-concept); }
.hlm-rubrique--produit { color: var(--hlm-produit); }

a.hlm-rubrique {
	text-decoration: none;
}

a.hlm-rubrique:hover {
	text-decoration: underline;
}

/* =========================================================================
   Homepage — Hero
   ========================================================================= */

.hlm-hero {
	padding: 0 0 30px;
}

/* Featured (left) */
.hlm-hero__featured-img {
	display: block;
	overflow: hidden;
	margin-bottom: 12px;
}

.hlm-hero__featured-img img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s;
}

.hlm-hero__featured-img:hover img {
	transform: scale(1.03);
}

.hlm-hero__featured-title {
	font-family: var(--hlm-font-heading);
	font-size: 2.8rem;
	line-height: 1.05;
	margin: 4px 0 6px;
}

.hlm-hero__featured-title a {
	color: var(--hlm-dark);
	text-decoration: none;
}

.hlm-hero__featured-title a:hover {
	color: var(--hlm-orange);
}

.hlm-hero__date {
	font-size: 0.8rem;
	color: #999;
}

/* Side items (right) */
.hlm-hero__side {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.hlm-hero__item {
	display: flex;
	gap: 15px;
	padding: 20px 0;
	border-bottom: 1px solid var(--hlm-border);
}

.hlm-hero__item:last-child {
	border-bottom: none;
}

.hlm-hero__item-img {
	flex-shrink: 0;
	width: 180px;
	overflow: hidden;
}

.hlm-hero__item-img img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.1s;
}

.hlm-hero__item-img:hover img {
	transform: scale(1.1);
}

.hlm-hero__item-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hlm-hero__item-title {
	font-family: var(--hlm-font-heading);
	font-size: 2rem;
	line-height: 1.2;
	margin: 0;
}

.hlm-hero__item-title a {
	color: var(--hlm-dark);
	text-decoration: none;
}

.hlm-hero__item-title a:hover {
	color: var(--hlm-orange);
}

.hlm-hero__fournisseur {
	display: block;
	font-family: var(--hlm-font-body);
	font-size: 0.85rem;
	font-weight: 400;
	color: var(--hlm-produit);
	margin-top: 2px;
}

/* =========================================================================
   Carousel "À la une" v2  (.hlm-cv2)
   ========================================================================= */

.hlm-cv2 {
	background: #fff;
	overflow: hidden;
}

/* Chrome */
.hlm-cv2__chrome {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 0;
	border-bottom: 1px solid #E5E1D6;
}

.hlm-cv2__heading {
	font-family: var(--hlm-font-heading);
	font-size: 2.375rem; /* 38px */
	line-height: 1;
	color: #1A1815;
	font-weight: 700;
	margin: 0;
	color: var(--hlm-dark);
    text-transform: uppercase;
}

.hlm-cv2__status {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.6875rem; /* 11px */
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #6B6760;
}

.hlm-cv2__status-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #4E7A4F;
	box-shadow: 0 0 8px rgba(78,122,79,0.55);
	transition: background 300ms, box-shadow 300ms;
}

.hlm-cv2__status-dot.is-paused {
	background: #C2891E;
	box-shadow: none;
}

/* Grid */
.hlm-cv2__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 0;
	height: 580px;
}

/* ── Colonne hero ── */
.hlm-cv2__hero-col {
	padding: 0;
	display: flex;
	flex-direction: column;
}

.hlm-cv2__images-wrap {
	position: relative;
	flex: 1;
	overflow: hidden;
	background: #F4F1EA;
}

.hlm-cv2__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.05);
	transition: opacity 700ms ease, transform 7000ms linear;
}

.hlm-cv2__image.is-active {
	opacity: 1;
	transform: scale(1);
}

.hlm-cv2__image--empty {
	background: #F4F1EA;
}

.hlm-cv2__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.82));
	pointer-events: none;
}

/* Badge abonné dans le hero */
.hlm-cv2__item-lock {
	opacity: 0;
	pointer-events: none;
	transition: opacity 500ms ease;
}

.hlm-cv2__item-lock.is-active {
	opacity: 1;
	pointer-events: auto;
}

/* Captions */
.hlm-cv2__captions {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hlm-cv2__caption {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 24px 26px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 500ms ease, transform 500ms ease;
	pointer-events: none;
}

.hlm-cv2__caption.is-active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.hlm-cv2__rubrique-badge {
	display: inline-block;
	padding: 7px 11px;
	color: #fff;
	font-family: var(--hlm-font-heading);
	font-weight: 700;
	font-size: 0.975rem; /* 14px */
	letter-spacing: 0;
	line-height: 1;
	align-self: flex-start;
	text-transform: uppercase;
}

.hlm-cv2__hero-title {
	font-family: var(--hlm-font-heading);
	font-weight: 700;
	font-size: 2.75rem; /* 44px */
	line-height: 1.02;
	color: #fff;
	max-width: 600px;
	letter-spacing: 0.005em;
	margin: 0;
}

.hlm-cv2__hero-title a {
	color: inherit;
	text-decoration: none;
}

.hlm-cv2__hero-title a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hlm-cv2__excerpt {
	font-size: 0.875rem;
	line-height: 1.5;
	color: rgba(255,255,255,0.82);
	max-width: 560px;
	margin: 0;
}

.hlm-cv2__meta-row {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.hlm-cv2__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	background: var(--cv2-cat-color, #1A1815);
	color: #fff;
	font-size: 0.75rem; /* 12px */
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: filter 200ms;
}

.hlm-cv2__cta:hover {
	filter: brightness(0.82);
}

.hlm-cv2__readtime {
	font-size: 0.6875rem;
	color: rgba(255,255,255,0.65);
	letter-spacing: 0.04em;
}

/* Contrôles */
.hlm-cv2__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
}

.hlm-cv2__counter {
	font-size: 0.6875rem;
	color: #6B6760;
	letter-spacing: 0.12em;
}

.hlm-cv2__counter-sep {
	opacity: 0.5;
}

.hlm-cv2__btns {
	display: flex;
	gap: 6px;
}

.hlm-cv2__btn {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid #D8D4CB;
	background: transparent;
	color: #1A1815;
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 0;
	transition: background 200ms, color 200ms;
}



.hlm-cv2__btn:hover {
	background: #1A1815;
	color: #fff;
}

.hlm-cv2__btn:focus-visible {
	outline: 2px solid #1A1815;
	outline-offset: 2px;
}

/* ── Playlist ── */
.hlm-cv2__playlist {
	padding: 0 0 0 32px;
	display: flex;
	flex-direction: column;
	border-left: 0px solid #E5E1D6;
}

.hlm-cv2__item {
	text-align: left;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #E5E1D6;
	padding: 16px 0;
	cursor: pointer;
	color: #1A1815;
	display: block;
	width: 100%;
	position: relative;
}

.hlm-cv2__item:last-child {
	border-bottom: none;
}

.hlm-cv2__item-progress {
	position: absolute;
	left: 0; top: 0; right: 0;
	height: 2px;
	background: #F4F1EA;
}

.hlm-cv2__item-progress-bar {
	height: 100%;
	width: 0;
	transition: width 80ms linear;
}

.hlm-cv2__item-inner {
	display: grid;
	grid-template-columns: 125px 1fr;
	gap: 16px;
	align-items: center;
}

.hlm-cv2__thumb-wrap {
	width: 125px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #F4F1EA;
	opacity: 0.55;
	transition: opacity 300ms;
	flex-shrink: 0;
}

.hlm-cv2__item.is-active .hlm-cv2__thumb-wrap {
	opacity: 1;
}

.hlm-cv2__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hlm-cv2__item-cat {
	display: block;
	font-family: var(--hlm-font-heading);
	font-weight: 700;
	font-size: 1.25rem; /* 16px */
	letter-spacing: 0;
	line-height: 1;
	margin-bottom: 7px;
	text-transform: uppercase;
}

.hlm-cv2__item-title {
	display: block;
	font-family: var(--hlm-font-heading);	
	font-size: 1.375rem; /* 22px */
	line-height: 1.05;
	color: #6B6760;
	transition: color 300ms;
}

.hlm-cv2__item.is-active .hlm-cv2__item-title {
	color: #1A1815;
}

/* ── Responsive ── */
@media (max-width: 991px) {
	.hlm-cv2__grid {
		grid-template-columns: 1fr;
		height: auto;
	}

	.hlm-cv2__hero-col {
		padding: 16px 0 0 0;
		height: 400px;
	}

	.hlm-cv2__playlist {
		padding: 0;
		flex-direction: row;
		border-left: none;
		border-top: 1px solid #E5E1D6;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.hlm-cv2__playlist::-webkit-scrollbar { display: none; }

	.hlm-cv2__item {
		border-bottom: none;
		border-right: 1px solid #E5E1D6;
		padding: 12px;
		min-width: 200px;
		flex-shrink: 0;
	}

	.hlm-cv2__item:last-child { border-right: none; }

	.hlm-cv2__item-inner {
		grid-template-columns: 80px 1fr;
		gap: 10px;
	}

	.hlm-cv2__thumb-wrap { width: 80px; }

	.hlm-cv2__item-title { font-size: 1rem; }

	.hlm-cv2__hero-title { font-size: 2rem; }
}

/* =========================================================================
   Main
   ========================================================================= */

main#site-content {
    margin-top: 30px;
}

/* =========================================================================
   Homepage — Featured Boxes
   ========================================================================= */

.hlm-fboxes {
	padding: 30px 0;
}

.hlm-fboxes__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	max-width: 90%;
	margin: 0 auto;
}

.hlm-fbox {
	position: relative;
	display: block;
	overflow: hidden;	
	aspect-ratio: 390 / 500;
	text-decoration: none;
}

.hlm-fbox__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.hlm-fbox:hover .hlm-fbox__bg {
	transform: scale(1.05);
}

.hlm-fbox__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
	transition: background 0.3s;
}

.hlm-fbox:hover .hlm-fbox__overlay {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.1) 100%);
}

.hlm-fbox__content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transform: translateY(0);
	transition: transform 0.3s;
}

.hlm-fbox__title {
	color: var(--hlm-white);
	font-family: var(--hlm-font-body);
	font-size: 1.15rem;
	line-height: 1.25;
	letter-spacing: 0.5px;
}

.hlm-fbox__cta {
	display: inline-block;
	margin-top: -20px;
	padding: 6px 18px;
	background: var(--hlm-orange);
	color: var(--hlm-white);
	font-family: var(--hlm-font-heading-regular);
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 3px;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.3s, transform 0.3s, margin-top 0.4s;
}

.hlm-fbox:hover .hlm-fbox__content {
	transform: translateY(-10px);
	
}

.hlm-fbox:hover .hlm-fbox__cta {
	opacity: 1;
	transform: translateY(0);
	margin-top: 10px;
}

@media (max-width: 991.98px) {
	.hlm-fboxes__grid {
		grid-template-columns: repeat(2, 1fr);
		max-width: 100%;
	}
}

@media (max-width: 575.98px) {
	.hlm-fboxes__grid {
		grid-template-columns: 1fr;
		max-width: 80%;
	}
}

/* =========================================================================
   Reusable — Section header (titre rubrique + teaser)
   ========================================================================= */

.hlm-section {
	padding: 40px 0 60px;
}

.hlm-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--hlm-border);
	margin-bottom: 25px;
}

.hlm-section-header__left {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.hlm-section-header__icon {
	font-size: 1.5rem;
}

.hlm-section-header__icon--img {
	height: 1.5rem;
	width: auto;
	display: block;
}

.hlm-section-header__title-img {
	max-width: 100%;
	height: auto;
	display: block;
}

.hlm-section-header__title {
	font-family: var(--hlm-font-heading);
	font-size: 1.8rem;
	text-transform: uppercase;
	margin: 0;
	line-height: 1;
}

/* Couleur rubrique appliquée à l'icône ET au titre */
.hlm-section-header--actu .hlm-section-header__icon,
.hlm-section-header--actu .hlm-section-header__title    { color: var(--hlm-actu); }

.hlm-section-header--dossier .hlm-section-header__icon,
.hlm-section-header--dossier .hlm-section-header__title { color: var(--hlm-dossier); }

.hlm-section-header--concept .hlm-section-header__icon,
.hlm-section-header--concept .hlm-section-header__title { color: var(--hlm-concept); }

.hlm-section-header--produit .hlm-section-header__icon,
.hlm-section-header--produit .hlm-section-header__title { color: var(--hlm-produit); }

.hlm-section-header--magazine .hlm-section-header__icon,
.hlm-section-header--magazine .hlm-section-header__title { color: var(--hlm-orange); }

.hlm-section-header__right {
	flex: 1;
	min-width: 0;
	max-width: 800px;
}

/* =========================================================================
   Reusable — Subscribe teaser (bandeau abonnement)
   ========================================================================= */

.hlm-subscribe-teaser {
	display: flex;
	align-items: center;
	gap: 15px;
	background: #ffe6b6;
	border: 0px solid #f0e2ce;
	border-radius: 4px;
	padding: 5px 5px 5px 15px;
	transition: all 0.2s;	
}

.hlm-subscribe-teaser:hover .hlm-subscribe-teaser__text {
	padding-left: 15px;	
}

.hlm-subscribe-teaser:hover  {	
	    background: #e9d2af;
}


/*
.hlm-subscribe-teaser__text {
	flex: 1;
	font-family: var(--hlm-font-heading);
    font-size: 1.4rem;   
	color: var(--hlm-dark);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: all 0.15s;	
}*/

.hlm-subscribe-teaser__text {
    flex: 1;
    font-family: var(--hlm-font-body);
    font-size: 1.05em;
    color: var(--hlm-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.15s;
    font-weight: 500;
}

.hlm-subscribe-teaser__price {
	font-family: var(--hlm-font-body);
	font-size: 0.82rem;
	    color: #d96f12;
    font-weight: 500;
	white-space: nowrap;
	flex-shrink: 0;
}

.hlm-subscribe-teaser__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--hlm-orange);
	color: var(--hlm-white);
	font-family: var(--hlm-font-heading-regular);
	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none;
	padding: 5px 16px;
	border-radius: 4px;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background-color 0.2s;
}

.hlm-subscribe-teaser__btn:hover {
	background: #e68a00;
	color: var(--hlm-white);
}

.hlm-subscribe-teaser__btn .fa-solid {
	font-size: 0.8rem;
}

/* Subscribe teaser — responsive */
@media (max-width: 1199.98px) {
	.hlm-subscribe-teaser__text {
		font-size: 0.8rem;
	}
}

@media (max-width: 991.98px) {
	.hlm-section-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.hlm-section-header__right {
		width: 100%;
	}

	.hlm-subscribe-teaser {
		flex-wrap: wrap;
		gap: 8px;
	}

	.hlm-subscribe-teaser__text {
		flex-basis: 100%;
		white-space: normal;
	}
}

@media (max-width: 575.98px) {
	.hlm-subscribe-teaser {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.hlm-subscribe-teaser__btn {
		justify-content: center;
	}
}

/* =========================================================================
   Reusable — Article card (liste horizontale)
   ========================================================================= */

.hlm-article-card {
	display: flex;
	gap: 25px;
	padding: 30px 0;
	border-bottom: 1px solid var(--hlm-border);
}

.hlm-article-card:first-child {
	padding-top: 0;
}

.hlm-article-card:last-child {
	border-bottom: none;
}

.hlm-article-card__img {
	position: relative;
	display: block;
	flex-shrink: 0;
	width: 300px;
	overflow: hidden;
}

.hlm-article-card__img img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s;
}

.hlm-article-card__img:hover img {
	transform: scale(1.05);
}

/* Lock badge — subscriber only */
.hlm-lock-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--hlm-orange);
	color: var(--hlm-white);
	font-size: 0.75rem;
	border-radius: 4px;
}

.hlm-article-card__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.hlm-article-card__title {
	font-family: var(--hlm-font-heading);
	font-size: 1.9rem;
	line-height: 1.1;
	margin: 0 0 6px;
}

.hlm-article-card__title a {
	color: var(--hlm-dark);
	text-decoration: none;
}

.hlm-article-card__title a:hover {
	color: var(--hlm-orange);
}

.hlm-article-card__date {
	font-size: 0.8rem;
	color: #999;
	margin-bottom: 6px;
}

.hlm-article-card__excerpt {
	font-size: 0.98rem;
	line-height: 1.6;
	color: #555;
}

/* =========================================================================
   Reusable — Sidebar & Widgets
   ========================================================================= */

.hlm-sidebar {
	padding-left: 20px;
}

.hlm-widget {
	margin-bottom: 65px;
}

.hlm-widget__title {
	font-family: var(--hlm-font-heading);
	font-size: 1.3rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--hlm-border);
}

/* Section-header inside widget — compact variant */
.hlm-section-header--widget {
	margin-bottom: 15px;
}

.hlm-section-header--widget .hlm-section-header__title {
	font-size: 1.3rem;
}

/* Widget Produits récents — liste verticale */
.hlm-widget-products-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hlm-widget-products-list .hlm-product-card {
	padding-bottom: 20px;
	border-bottom: 1px solid var(--hlm-border);
}

.hlm-widget-products-list .hlm-product-card:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.hlm-widget-products-list .hlm-product-card__img {
	width: 80px;
	height: 80px;
}

.hlm-widget-products-list .hlm-product-card__title {
	font-size: 1.3rem;
}

/* Widget Magazines récents — liste verticale */
.hlm-widget-magazines-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hlm-magazine-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--hlm-border);
}

.hlm-magazine-card:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.hlm-magazine-card__img {
	position: relative;
	flex-shrink: 0;
	width: 70px;
	display: block;
}

.hlm-magazine-card__img img {
	width: 100%;
	height: auto;
	display: block;
}

.hlm-magazine-card__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hlm-magazine-card__title {
	font-family: var(--hlm-font-heading);
	font-size: 1.55rem;
	line-height: 1.15;
	margin: 0 0 4px;
	/*color: var(--hlm-orange);*/
}

.hlm-magazine-card__title a {
	color: var(--hlm-dark);
	text-decoration: none;
}

.hlm-magazine-card__title a:hover {
	color: #e68a00;
}

.hlm-magazine-card__periode {
	font-size: 0.95rem;
	color: #999;
}

.hlm-widget-magazines-cta {
	margin-top: 15px;
	text-align: center;
}

/* =========================================================================
   Reusable — Banner slider & Ad placeholder
   ========================================================================= */

.banner-slider {
	margin-bottom: 20px;
}

/* Les images Revive ont des attributs width/height fixes — on les force
   à suivre la largeur du conteneur en conservant le ratio. */
.banner-slider img {
	width: 100%;
	height: auto;
	display: block;
	max-width: 100%;
}

/* Slick surcharge */
.banner-slider .slick-list,
.banner-slider .slick-track,
.banner-slider .slick-slide {
	height: auto !important;
}

.banner-slider .slick-slide > div {
	line-height: 0; /* supprime l'espace sous les images (inline gap) */
}

.hlm-ad-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--hlm-light-gray);
	border: 2px dashed var(--hlm-border);
	border-radius: 4px;
	color: #aaa;
	font-size: 0.85rem;
	text-align: center;
	padding: 20px;
}

.hlm-ad-placeholder .fa-solid {
	font-size: 2rem;
}

/* Revive banners — simple placement */
.hlm-banner {
	padding: 15px 0;
	text-align: center;
}

.hlm-banner--top {
	padding-top: 40px;
}

.hlm-banner--top img, .hlm-banner--inter-section img {
	max-width: 100%;
	height: auto;
}

.hlm-banner--inter-section {
	padding: 10px 0 20px;
}

/* Floor Ad — bannière collante en pied d'écran */
#floor-ad {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9000;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(110%);
	background: #fff;
	border-top: 1px solid #ddd;
	padding: 8px 0;
	transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#floor-ad.floor-ad--visible {
	transform: translateY(0);
}

.floor-ad-inner {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.floor-ad-creative {
	line-height: 0;
}

.floor-ad-creative img {
	max-width: 100%;
	height: auto;
}

.floor-ad-mobile {
	display: none;
}

.floor-ad-close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 26px;
	height: 26px;
	color: #fff;
	font-size: 13px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	border-radius: 50%;
	border: 2px solid #fff;
	background: #333;
	padding: 0;
	transition: background 0.2s;
}

.floor-ad-close:hover {
	background: #000;
}

@media (max-width: 767.98px) {
	.floor-ad-desktop {
		display: none;
	}

	.floor-ad-mobile {
		display: block;
	}
}

/* =========================================================================
   Reusable — Card verticale (grille)
   ========================================================================= */

.hlm-cards-grid {
	display: grid;
	gap: 25px;
}

.hlm-cards-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

.hlm-card__img {
	position: relative;
	display: block;
	overflow: hidden;
	margin-bottom: 10px;
}

.hlm-card__img img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s;
}

.hlm-card__img:hover img {
	transform: scale(1.05);
}

.hlm-card__body {
	display: flex;
	flex-direction: column;
}

.hlm-card__title {
	font-family: var(--hlm-font-heading);
	font-size: 1.6rem;
	line-height: 1.1;
	margin: 0 0 6px;
}

.hlm-card__title a {
	color: var(--hlm-dark);
	text-decoration: none;
}

.hlm-card__title a:hover {
	color: var(--hlm-orange);
}

.hlm-card__date {
	font-size: 0.8rem;
	color: #999;
}

/* Cards grid — responsive */
@media (max-width: 991.98px) {
	.hlm-cards-grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.hlm-card__title {
		font-size: 1.2rem;
	}
}

@media (max-width: 575.98px) {
	.hlm-cards-grid--4 {
		grid-template-columns: 1fr;
	}
}

/* =========================================================================
   Section header — CTA buttons (right side)
   ========================================================================= */

.hlm-section-ctas {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.hlm-section-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--hlm-font-heading);
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none;
	padding: 6px 16px;
	border: 2px solid currentColor;
	border-radius: 4px;
	transition: background-color 0.2s, color 0.2s;
	white-space: nowrap;
}

.hlm-section-cta--produit {
	color: var(--hlm-produit);
}

.hlm-section-cta--produit:hover {
	background: var(--hlm-produit);
	color: var(--hlm-white);
}

.hlm-section-cta--actu {
	color: var(--hlm-actu);
}

.hlm-section-cta--actu:hover {
	background: var(--hlm-actu);
	color: var(--hlm-white);
}

.hlm-section-cta--dossier {
	color: var(--hlm-dossier);
}

.hlm-section-cta--dossier:hover {
	background: var(--hlm-dossier);
	color: var(--hlm-white);
}

.hlm-section-cta--concept {
	color: var(--hlm-concept);
}

.hlm-section-cta--concept:hover {
	background: var(--hlm-concept);
	color: var(--hlm-white);
}

.hlm-section-tagline {
	margin: 0 0 12px;
	text-align: right;
}

.hlm-section-tagline__line1 {
	display: block;
	font-style: italic;
	color: var(--hlm-dark);
	font-size: 1rem;
}

.hlm-section-tagline__line2 {
	display: block;
	font-weight: 700;
	color: var(--hlm-dark);
	font-size: 1.1rem;
}

/* =========================================================================
   Homepage — Décrypter (Dossiers) section
   ========================================================================= */

/* ── Dossiers grid — 3 overlay cards ─────────────────────────────────────── */

.hlm-dossiers-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

/* Overlay card */
.hlm-dossier-overlay {
	position: relative;	
	overflow: hidden;
}

.hlm-dossier-overlay__link {
	display: block;
	position: relative;
	aspect-ratio: 6 / 7;
	overflow: hidden;
}

.hlm-dossier-overlay__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s;
}

.hlm-dossier-overlay__link:hover .hlm-dossier-overlay__img {
	transform: scale(1.05);
}

/* Gradient overlay */
.hlm-dossier-overlay__link::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
	pointer-events: none;
}

/* Content over the gradient */
.hlm-dossier-overlay__content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 20px;
	z-index: 1;
}

.hlm-dossier-overlay__content .hlm-rubrique {
	color: var(--hlm-dossier);
	margin-bottom: 4px;
	font-size: 1rem;
}

.hlm-dossier-overlay__title {
	font-family: var(--hlm-font-heading);
	font-size: 1.8rem;
	line-height: 1.1;
	color: var(--hlm-white);
	margin: 0;
}

/* ── Séparateur "Mais aussi" ─────────────────────────────────────────────── */

.hlm-mais-aussi {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 30px 0;
}

.hlm-mais-aussi__line {
	flex: 1;
	height: 2px;
	background: var(--hlm-border);
}

.hlm-mais-aussi__label {
	font-family: var(--hlm-font-heading);
	font-size: 1.4rem;
	text-transform: uppercase;
	color: var(--hlm-dossier);
	white-space: nowrap;
}

/* ── Dossiers thumbs — 3 vignettes ──────────────────────────────────────── */

.hlm-dossiers-thumbs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
}

.hlm-dossier-thumb {
	display: flex;
	align-items: center;
	gap: 15px;
}

.hlm-dossier-thumb__img {
	flex-shrink: 0;
	width: 120px;
	overflow: hidden;	
	display: block;
	position: relative;
}

.hlm-dossier-thumb__img img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s;
}

.hlm-dossier-thumb__img:hover img {
	transform: scale(1.05);
}

.hlm-dossier-thumb__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.hlm-dossier-thumb__title {
	font-family: var(--hlm-font-heading);
	font-size: 1.3rem;
	line-height: 1.1;
	margin: 0;
}

.hlm-dossier-thumb__title a {
	color: var(--hlm-dark);
	text-decoration: none;
}

.hlm-dossier-thumb__title a:hover {
	color: var(--hlm-dossier);
}

/* ── Décrypter — responsive ──────────────────────────────────────────────── */

@media (max-width: 991.98px) {
	.hlm-dossiers-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hlm-dossiers-grid .hlm-dossier-overlay:last-child {
		display: none;
	}

	.hlm-dossiers-thumbs {
		grid-template-columns: repeat(2, 1fr);
	}

	.hlm-dossier-overlay__title {
		font-size: 1.3rem;
	}

	.hlm-dossier-thumb__img {
		width: 100px;
	}

	.hlm-dossier-thumb__title {
		font-size: 1.1rem;
	}
}

@media (max-width: 575.98px) {
	.hlm-dossiers-grid {
		grid-template-columns: 1fr;
	}

	.hlm-dossiers-grid .hlm-dossier-overlay:last-child {
		display: block;
	}

	.hlm-dossier-overlay__link {
		aspect-ratio: 16 / 9;
	}

	.hlm-dossiers-thumbs {
		grid-template-columns: 1fr;
	}
}

/* =========================================================================
   Homepage — Products grid (My Guide Fournisseurs Web)
   ========================================================================= */

.hlm-products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px 25px;
}

.hlm-product-card {
	display: flex;
	align-items: center;
	gap: 15px;
}

.hlm-product-card__img {
	flex-shrink: 0;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	overflow: hidden;
	display: block;
	box-shadow: 0 0 2px #9c9c9c;
}

.hlm-product-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
}

.hlm-product-card__img:hover img {
	transform: scale(1.08);
}

.hlm-product-card__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.hlm-product-card__title {
	font-family: var(--hlm-font-heading);
	font-size: 1.6rem;
	line-height: 1.1;
	margin: 0 0 0;
}

.hlm-product-card__title a {
	color: var(--hlm-dark);
	text-decoration: none;
}

.hlm-product-card__title a:hover {
	color: var(--hlm-produit);
}

/* Products grid — responsive */
@media (max-width: 991.98px) {
	.hlm-products-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hlm-product-card__img {
		width: 90px;
		height: 90px;
	}

	.hlm-product-card__title {
		font-size: 1.1rem;
	}

	.hlm-section-ctas {
		justify-content: flex-start;
	}
}

@media (max-width: 575.98px) {
	.hlm-products-grid {
		grid-template-columns: 1fr;
	}

	.hlm-section-ctas {
		flex-direction: column;
	}

	.hlm-section-cta {
		justify-content: center;
	}
}

/* =========================================================================
   Article card & Sidebar — responsive
   ========================================================================= */

@media (min-width: 992px) {
	.hlm-sidebar--single-dossier {
		
	}
}

@media (max-width: 991.98px) {
	.hlm-article-card__img {
		width: 160px;
	}

	.hlm-article-card__title {
		font-size: 1.3rem;
	}

	.hlm-article-card__excerpt {
		display: none;
	}

	.hlm-sidebar {
		padding-left: 0;
		margin-top: 30px;
	}

	/* Single article */
	.hlm-single__title {
		font-size: 2rem;
	}

	.hlm-author {
		flex-direction: column;
		gap: 12px;
	}

	.hlm-dossier-header-page {
		flex-direction: column;
		gap: 12px;
	}

	.hlm-dossier-header-page__img {
		width: 100%;
	}

	.hlm-dossier-nav {
		flex-direction: column;
	}

	.hlm-dossier-nav__next {
		text-align: left;
	}

	.hlm-dossier-nav__next .hlm-dossier-nav__direction {
		justify-content: flex-start;
	}

	.hlm-dossier-nav__next .hlm-dossier-nav__info {
		flex-direction: row;
		justify-content: flex-start;
	}
}

@media (max-width: 575.98px) {
	.hlm-article-card {
		flex-direction: column;
		gap: 10px;
	}

	.hlm-article-card__img {
		width: 100%;
	}
}

/* =========================================================================
   Single Article
   ========================================================================= */

.hlm-single__thumbnail {
	margin-bottom: 20px;
}

.hlm-single__thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

.hlm-single__title {
	font-family: var(--hlm-font-heading);
	font-size: 2.8rem;
	line-height: 1.05;
	margin: 2px 0 6px;
}

.hlm-single__meta {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 25px;
}

.hlm-single__date {
	display: block;
	font-size: 0.8rem;
	color: #999;
	margin-bottom: 0;
}

.hlm-reading-time {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.8rem;
	color: #999;
}

.hlm-reading-time i {
	font-size: 0.85em;
}

.hlm-single__content {
	font-size: 1rem;
	line-height: 1.8;
	margin-bottom: 35px;
}

.hlm-single__content p {
	margin-bottom: 1.2em;
}

.hlm-single__content img {
	max-width: 100%;
	height: auto;
}

.hlm-article-body {
	margin-bottom: 35px;
}
.hlm-article-body h2, hlm-article-body h3 {
	font-weight: 600;
    margin-bottom: 15px;
	margin-top: 25px;
}


.hlm-article-body h2 {
	    font-size: 1.35rem;
}

.hlm-article-body h3 {
	    font-size: 1.15rem;
}

.hlm-article-body img {
	max-width: 100%;
	height: auto;
}

/* ── Alignements WordPress (éditeur classique) ──────────────────────────── */
.hlm-article-body .alignnone {
	margin: 5px 20px 20px 0;
}

.hlm-article-body .aligncenter,
.hlm-article-body div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.hlm-article-body img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.hlm-article-body .alignleft,
.hlm-article-body img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

.hlm-article-body .alignright,
.hlm-article-body img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.hlm-article-body .wp-caption {
	max-width: 100%;
}

.hlm-article-body .wp-caption.aligncenter {
	display: table;
}

.hlm-article-body .wp-caption-text {
	text-align: center;
	font-size: 0.85rem;
	color: var(--hlm-dark);
	opacity: 0.7;
	margin: 8px 0 0;
}

/* ── Author box ─────────────────────────────────────────────────────────── */

/*
.hlm-author {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: 25px 0;
	border-top: 1px solid var(--hlm-border);
	border-bottom: 1px solid var(--hlm-border);
	margin-bottom: 30px;
}*/

.hlm-author {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 20px;
    border: 0px solid var(--hlm-border);
    /* border-bottom: 1px solid var(--hlm-border); */
    margin-bottom: 30px;
    background-color: #fafafa;
    width: 90%;
    margin: 0 auto 30px;
    border-radius: 8px;
}

.hlm-author__avatar img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
}

.hlm-author__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.hlm-author__label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #999;
	margin-bottom: 2px;
}

.hlm-author__name {
	font-family: var(--hlm-font-heading);
	font-size: 1.4rem;
	line-height: 1.2;
	margin-bottom: 2px;
}

.hlm-author__bio {
	font-size: 0.95rem;
	color: #666;
	line-height: 1.4;
	margin: 0 0 6px;
}

.hlm-author__social {
	display: flex;
	gap: 12px;
}

.hlm-author__social a {
	color: var(--hlm-dark);
	font-size: 0.95rem;
	text-decoration: none;
	transition: color 0.2s;
}

.hlm-author__social a:hover {
	color: var(--hlm-orange);
}

/* ── Dossier page content ───────────────────────────────────────────────── */



.hlm-single__page-number {
	font-family: var(--hlm-font-heading-regular);
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--hlm-dossier);
	margin: 0 0 5px;
}

.hlm-single__title a {
	color: var(--hlm-dark);
	text-decoration: none;
}

.hlm-single__title a:hover {
	color: var(--hlm-dossier);
}

.hlm-dossier-page-content {
	margin-top: 25px;
}

.hlm-dossier-page-content__subtitle {
	font-family: var(--hlm-font-heading);
	font-size: 2.5rem;
	line-height: 1.1;
	margin: 0 0 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid #e9e9e9;
	color: var(--hlm-dark);
}

/* ── Dossier page header (pages 2+) ────────────────────────────────────── */

.hlm-dossier-header-page {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	margin-bottom: 25px;
}

.hlm-dossier-header-page__img {
	flex-shrink: 0;
	width: 200px;
	display: block;
	overflow: hidden;
}

.hlm-dossier-header-page__img img {
	width: 100%;
	height: auto;
	display: block;
}

.hlm-dossier-header-page__info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.hlm-dossier-header-page__info .hlm-single__title {
	font-size: 2.2rem;
	margin-bottom: 4px;
}


.hlm-single__content.hlm-single__chapeau {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 15px;
    margin-top: 20px;
	font-weight: 500;
}


.hlm-dossier-body h2 {
	    font-size: 1.5rem;
        font-weight: 700;
		margin: 30px 0 10px;
}
.hlm-dossier-body h2:after {
	content:" ";
    display: block;
	margin-top: 10px;
    width: 3rem;
    height: 3px;
    background: currentColor;
    color: var(--hlm-dossier);
    opacity: 0.25;
    border-radius: 2px;
    flex-shrink: 0;
}

.hlm-dossier-body h3 {
	    font-size: 1.2rem;
        font-weight: 700;
}


/* ── Dossier navigation ────────────────────────────────────────────────── */

.hlm-dossier-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--hlm-border);
}

.hlm-dossier-nav__prev,
.hlm-dossier-nav__next {
	flex: 1;
}

.hlm-dossier-nav__next {
	text-align: right;
}

.hlm-dossier-nav__prev a,
.hlm-dossier-nav__next a {
	display: inline-flex;
	flex-direction: column;
	gap: 8px;
	text-decoration: none;
	color: inherit;
}

.hlm-dossier-nav__direction {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--hlm-dossier);
}

.hlm-dossier-nav__next .hlm-dossier-nav__direction {
	justify-content: flex-end;
}

.hlm-dossier-nav__info {
	display: flex;
	align-items: center;
	gap: 10px;
}

.hlm-dossier-nav__next .hlm-dossier-nav__info {
	flex-direction: row-reverse;
	justify-content: flex-end;
}

.hlm-dossier-nav__thumb {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	border: 2px solid var(--hlm-border);
}

.hlm-dossier-nav__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hlm-dossier-nav__title {
	font-family: var(--hlm-font-heading);
	font-size: 1.1rem;
	line-height: 1.2;
	color: var(--hlm-dark);
	transition: color 0.2s;
}

.hlm-dossier-nav__prev a:hover .hlm-dossier-nav__title,
.hlm-dossier-nav__next a:hover .hlm-dossier-nav__title {
	color: var(--hlm-dossier);
}

.hlm-dossier-nav__sub {
	font-size: 0.85rem;
	color: var(--hlm-dossier);
	font-weight: 600;
}

/* ── Indicateur de chapitre (single-dossier_page) ──────────────────────── */

.hlm-chapter-indicator {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	margin-bottom: 0rem;
}

.hlm-chapter-indicator__num {
	font-family: var(--hlm-font-heading);
	font-size: 2.75rem;	
	color: var(--hlm-dossier);
	line-height: 1;
	letter-spacing: -1px;
	flex-shrink: 0;
}

.hlm-chapter-indicator__sep {
	display: block;
	width: 1rem;
	height: 3px;
	background: currentColor;
	color: var(--hlm-dossier);
	opacity: 0.25;
	border-radius: 2px;
	flex-shrink: 0;
}

.hlm-chapter-indicator__label {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #999;
	font-weight: 600;
}

/* ── Sommaire widget ───────────────────────────────────────────────────── */

.hlm-widget-dossier-sommaire {
    border: 4px solid #ce3c34;
    padding: 10px 10px;
    border-radius: 6px;
    box-shadow: 0 0 10px #ffe2e2;
	margin-bottom: 20px;
}

.hlm-sommaire__title {
	font-family: var(--hlm-font-heading);
	font-size: 1.4rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--hlm-dossier);
	margin: 0 0 8px;
	padding-bottom: 0;
	border-bottom: none;
}

/* ── Barre de progression horizontale ──────────────────────────────────── */

.hlm-sommaire__progress {
	width: 100%;
	height: 4px;
	background: var(--hlm-border);
	border-radius: 2px;
	margin-bottom: 12px;
	position: relative;
	overflow: visible;
}

.hlm-sommaire__progress-fill {
	height: 100%;
	background: var(--hlm-dossier);
	border-radius: 2px;
	position: relative;
	min-width: 12px;
	transition: width 0.4s ease;
}

/* Puce positionnée à l'extrémité droite du remplissage */
.hlm-sommaire__progress-puck {
	position: absolute;
	right: -6px;
	top: 50%;
	transform: translateY(-50%);
	width: 14px;
	height: 14px;
	background: var(--hlm-dossier);
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 1px 5px rgba(206, 60, 52, 0.4);
}

/* ── Liste sommaire ─────────────────────────────────────────────────────── */

.hlm-sommaire__list,
.hlm-sommaire__pal-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hlm-sommaire__item,
.hlm-sommaire__pal-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid var(--hlm-border);
}

.hlm-sommaire__item:last-child,
.hlm-sommaire__pal-item:last-child {
	border-bottom: none;
}

.hlm-sommaire__item--current {
    background: var(--hlm-border);
	margin: 0 -10px;
	padding: 10px;
	border-radius: 4px;
}

.hlm-sommaire__page-label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0;
    color: #ce3c34;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 900;
}

.hlm-sommaire__page-title {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--hlm-dark);
	text-decoration: none;
}

a.hlm-sommaire__page-title:hover {
	color: var(--hlm-dossier);
}

.hlm-sommaire__item--current .hlm-sommaire__page-title {
	font-weight: 700;
}

.hlm-sommaire__lock {
   font-size: 0.80rem;
    color: var(--hlm-orange);
    margin-left: 0.1em;
    vertical-align: middle;
	opacity: 0.75;
}


h5.hlm-sommaire__pal-title {
    font-size: 0.95em;
    text-align: center;
    padding: 8px 0;
    background-color: #ce3c34;
    margin: 0px -10px;
    color: #fff;
}



/* ── Newsletter ─────────────────────────────────────────────────────────── */

.hlm-newsletter {
	background: var(--hlm-light-gray);
	border: 1px solid var(--hlm-border);
	border-radius: 6px;
	padding: 30px;
	margin-bottom: 35px;
	text-align: center;
	display: none;
}

/* ── Related articles (Vous aimerez aussi) ──────────────────────────────── */

.hlm-section--related {
	padding-top: 10px;
}

.hlm-related-header {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 25px;
}

.hlm-related-header__line {
	flex: 1;
	height: 1px;
	background: var(--hlm-border);
}

.hlm-related-header__title {
	font-family: var(--hlm-font-heading);
	font-size: 1.5rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	white-space: nowrap;
	margin: 0;
	color: var(--hlm-dark);
}

/* =========================================================================
   Most Viewed (Les plus lues)
   ========================================================================= */

.hlm-most-viewed__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0;	
}

.hlm-most-viewed__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 15px;
	border-right: 1px dotted var(--hlm-border);
}

.hlm-most-viewed__item:last-child {
	border-right: none;
}

.hlm-most-viewed__rank {
	font-family: var(--hlm-font-heading);
	font-size: 3.5rem;
	line-height: 1;
	color: var(--hlm-actu);
	flex-shrink: 0;
}

.hlm-most-viewed__content {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.hlm-most-viewed__title {
	font-family: var(--hlm-font-heading);
	font-size: 1.15rem;
	line-height: 1.15;
	margin: 0;
}

.hlm-most-viewed__title a {
	color: var(--hlm-dark);
	text-decoration: none;
}

.hlm-most-viewed__title a:hover {
	color: var(--hlm-actu);
}

/* Most Viewed — responsive */
@media (max-width: 991.98px) {
	.hlm-most-viewed__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.hlm-most-viewed__item:nth-child(3) {
		border-right: none;
	}
}

@media (max-width: 575.98px) {
	.hlm-most-viewed__grid {
		grid-template-columns: 1fr;
	}

	.hlm-most-viewed__item {
		border-right: none;
		border-bottom: 1px dotted var(--hlm-border);
		padding: 15px 0;
	}

	.hlm-most-viewed__item:last-child {
		border-bottom: none;
	}

	.hlm-most-viewed__rank {
		font-size: 2.5rem;
	}
}

/* =========================================================================
   Pagination
   ========================================================================= */

.hlm-pagination {
	padding: 30px 0 10px;
}

.hlm-pagination .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
}

.hlm-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 50px;
	height: 50px;
	padding: 0 10px;
	border: 1px solid var(--hlm-border);
	border-radius: 50%;
	font-family: var(--hlm-font-body);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--hlm-dark);
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;	
    background-color: #f1f1f1;
}

.hlm-pagination .page-numbers:hover {
	background-color: var(--hlm-actu);
	border-color: var(--hlm-actu);
	color: var(--hlm-white);
}

.hlm-pagination .page-numbers.current {
	background-color: var(--hlm-actu);
	border-color: var(--hlm-actu);
	color: var(--hlm-white);
}

.hlm-pagination .page-numbers.dots {
	border: none;
	pointer-events: none;
	min-width: auto;
	padding: 0 4px;
	background-color: transparent;
}

.hlm-pagination .page-numbers.prev,
.hlm-pagination .page-numbers.next {
	border: none;
	font-size: 0.85rem;
	color: #999;
	min-width: 32px;
	background-color: transparent;
}

.hlm-pagination .page-numbers.prev:hover,
.hlm-pagination .page-numbers.next:hover {
	background-color: transparent;
	color: var(--hlm-actu);
}

/* No results */
.hlm-no-results {
	text-align: center;
	padding: 60px 0;
	font-size: 1.1rem;
	color: #999;
}

/* =========================================================================
   Page (post_type=page)
   ========================================================================= */

.hlm-page-content__title {
	font-family: var(--hlm-font-heading);
	font-size: 2.4rem;
	line-height: 1.1;
	margin: 0 0 25px;
	color: var(--hlm-dark);
	border-bottom: 4px solid var(--hlm-actu);
	padding-bottom: 6px;
}


.hlm-page-content__body {
	font-size: 1rem;
	line-height: 1.7;
	color: #444;
}

.hlm-page-content__body h2,
.hlm-page-content__body h3,
.hlm-page-content__body h4 {
	font-family: var(--hlm-font-heading);
	color: var(--hlm-dark);
	margin-top: 30px;
}

.hlm-page-content__body img {
	max-width: 100%;
	height: auto;
}

.hlm-page-content__body a {
	color: var(--hlm-actu);
}

.hlm-page-content__body a:hover {
	color: var(--hlm-orange);
}

/* =========================================================================
   Archive Événements (Agenda)
   ========================================================================= */

.hlm-evenement-card {
	display: flex;
	gap: 25px;
	padding: 25px 0;
	border-bottom: 1px solid var(--hlm-border);
}

.hlm-evenement-card:first-child {
	padding-top: 0;
}

.hlm-evenement-card:last-child {
	border-bottom: none;
}

.hlm-evenement-card__img {
	flex-shrink: 0;
	width: 200px;
}

.hlm-evenement-card__img img {
	width: 100%;
	height: auto;
	display: block;
}

.hlm-evenement-card__body {
	flex: 1;
	min-width: 0;
}

.hlm-evenement-card__title {
	font-family: var(--hlm-font-heading);
	font-size: 1.8rem;
	line-height: 1.1;
	margin: 0 0 4px;
	color: var(--hlm-dark);
}

.hlm-evenement-card__dates {
	font-family: var(--hlm-font-heading-regular);
	font-size: 1.15rem;
	color: var(--hlm-orange);
	margin: 0 0 10px;
}

.hlm-evenement-card__content {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #555;
	margin-bottom: 10px;
}

.hlm-evenement-card__content p:last-child {
	margin-bottom: 0;
}

.hlm-evenement-card__lieu,
.hlm-evenement-card__site {
	font-size: 0.9rem;
	color: #666;
	margin: 4px 0;
}

.hlm-evenement-card__lieu .fa-solid,
.hlm-evenement-card__site .fa-solid {
	color: var(--hlm-orange);
	margin-right: 6px;
	width: 16px;
	text-align: center;
}

.hlm-evenement-card__site a {
	color: var(--hlm-actu);
	text-decoration: none;
}

.hlm-evenement-card__site a:hover {
	text-decoration: underline;
}

/* Événements — responsive */
@media (max-width: 575.98px) {
	.hlm-evenement-card {
		flex-direction: column;
		gap: 15px;
	}

	.hlm-evenement-card__img {
		width: 100%;
		max-width: 250px;
	}

	.hlm-evenement-card__title {
		font-size: 1.4rem;
	}
}

/* =========================================================================
   Archive Concepts
   ========================================================================= */

.hlm-archive-concepts__list {
	margin-top: 35px;
}

/* Pagination — couleur concept */
.hlm-pagination--concept .page-numbers:hover {
	background-color: var(--hlm-concept);
	border-color: var(--hlm-concept);
}

.hlm-pagination--concept .page-numbers.current {
	background-color: var(--hlm-concept);
	border-color: var(--hlm-concept);
}

.hlm-pagination--concept .page-numbers.prev:hover,
.hlm-pagination--concept .page-numbers.next:hover {
	color: var(--hlm-concept);
}

/* Most viewed section en bas d'archive */
.hlm-section--most-viewed {
	/*border-top: 1px solid var(--hlm-border);*/
}

/* =========================================================================
   Footer
   ========================================================================= */

.hlm-footer {
	background-color: var(--hlm-dark);
	padding: 40px 0 30px;
	margin-top: 40px;
}

.hlm-footer__brand {
	margin-bottom: 25px;
}

.hlm-footer__picto {
	display: block;
	margin: 0 auto 15px;
	height: 20px;
	width: auto;
}

.hlm-footer__logo-link {
	display: inline-block;
}

.hlm-footer__logo {
	max-height: 90px;
	width: auto;
}

/* Footer nav */
.hlm-footer__nav {
	margin-bottom: 20px;
}

.hlm-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 30px;
}

.hlm-footer__menu li a {
	color: var(--hlm-light-gray);
	font-family: var(--hlm-font-body);
	font-size: 1.1rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s;
}

.hlm-footer__menu li a:hover {
	color: var(--hlm-orange);
}

/* Separator */
.hlm-footer__sep {
	border: none;
	border-top: 1px solid var(--hlm-border);
	margin: 0 auto 20px;
	max-width: 800px;
}

/* Copyright */
.hlm-footer__copyright {
	color: #666;
	font-size: 0.85rem;
	line-height: 1.6;
}

.hlm-footer__copyright a {
	color: var(--hlm-light-gray);
	text-decoration: underline;
}

.hlm-footer__copyright a:hover {
	color: var(--hlm-orange);
}

/* =========================================================================
   Mobile adjustments
   ========================================================================= */

@media (max-width: 991.98px) {
	.hlm-topbar {
		padding: 8px 0;
	}

	.hlm-topbar__logo {
		order: -1;
		flex: 0 0 auto;
		text-align: left !important;
	}

	.hlm-topbar__right {
		margin-left: auto;
	}

	.hlm-navbar__trigger {
		padding: 10px 12px;
	}

	/* Hero mobile */
	.hlm-hero__main {
		margin-bottom: 20px;
	}

	.hlm-hero__item-img {
		width: 120px;
	}

	.hlm-hero__item-title {
		font-size: 1.05rem;
	}

	.hlm-hero__featured-title {
		font-size: 1.5rem;
	}
}

/* =========================================================================
   Single Magazine
   ========================================================================= */

/* ── Row 1 : couverture + infos ── */

.hlm-mag-single__header {
	margin-top: 28px;
	margin-bottom: 40px;
	align-items: flex-start;
}

.hlm-mag-single__cover {
	margin: 0;
	border: 1px solid var(--hlm-border);
	box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.10);
}

.hlm-mag-single__cover img {
	width: 100%;
	height: auto;
	display: block;
}

.hlm-mag-single__info {
	padding-top: 8px;
}

.hlm-mag-single__periode {
	display: inline-block;
	font-size: 0.82rem;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	margin-bottom: 8px;
}

.hlm-mag-single__title {
	font-family: var(--hlm-font-heading);
	font-size: 2.4rem;
	line-height: 1.1;
	color: var(--hlm-dark);
	margin: 0 0 28px;
}

/* ── Boutons ── */

.hlm-mag-single__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hlm-mag-single__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	border-radius: 4px;
	font-family: var(--hlm-font-heading-regular);
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.hlm-mag-single__btn--primary {
	background: var(--hlm-orange);
	color: var(--hlm-white);
	border: 2px solid var(--hlm-orange);
}

.hlm-mag-single__btn--primary:hover {
	background: #e68a00;
	border-color: #e68a00;
	color: var(--hlm-white);
}

.hlm-mag-single__btn--outline {
	background: transparent;
	color: var(--hlm-dark);
	border: 2px solid var(--hlm-dark);
}

.hlm-mag-single__btn--outline:hover {
	background: var(--hlm-dark);
	color: var(--hlm-white);
}

.hlm-mag-single__btn--consult {
	background: transparent;
	color: #1a7abf;
	border: 2px solid #1a7abf;
}

.hlm-mag-single__btn--consult:hover {
	background: #1a7abf;
	border-color: #1a7abf;
	color: var(--hlm-white);
}

.hlm-mag-single__btn--disabled {
	opacity: 0.4;
	pointer-events: none;
	cursor: default;
}

/* ── Row 2 : Sommaire ── */

.hlm-mag-single__sommaire-row {
	border-top: 1px solid var(--hlm-border);	
	background-color: #fafafa;
    padding: 20px 30px;
}

.hlm-mag-single__sommaire-title {
	font-family: var(--hlm-font-heading);
	font-size: 1.8rem;
	color: var(--hlm-orange);
	margin: 0 0 20px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hlm-mag-single__content {
	font-size: 1rem;
	line-height: 1.7;
	padding-left: 40px;
}

.hlm-mag-single__content ul {
	list-style: none;
	padding-left: 1.6em;
}

.hlm-mag-single__content ul li::before {
	content: '\f570'; /* fa-file-lines */
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 0.85em;
	color: var(--hlm-dark);
	margin-left: -1.6em;
	margin-right: 0.5em;
}

@media ( max-width: 767.98px ) {
	.hlm-mag-single__cover-col {
		margin-bottom: 24px;
	}

	.hlm-mag-single__title {
		font-size: 1.8rem;
	}

	.hlm-mag-single__actions {
		flex-direction: column;
	}

	.hlm-mag-single__btn {
		justify-content: center;
	}
}

/* ── Navigation entre numéros (Single Magazine) ──────────────────────────── */

.hlm-mag-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 24px 0;
	border-top: 1px solid var(--hlm-border);
	margin-top: 32px;
}

.hlm-mag-nav__prev a,
.hlm-mag-nav__next a {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-decoration: none;
}

.hlm-mag-nav__direction {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--hlm-font-heading-regular);
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--hlm-orange);
	transition: color 0.2s;
}

.hlm-mag-nav__prev a:hover .hlm-mag-nav__direction,
.hlm-mag-nav__next a:hover .hlm-mag-nav__direction {
	color: var(--hlm-dark);
}

.hlm-mag-nav__info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.hlm-mag-nav__next {
	margin-left: auto;
	text-align: right;
}

.hlm-mag-nav__next .hlm-mag-nav__info {
	flex-direction: row-reverse;
}

.hlm-mag-nav__next .hlm-mag-nav__direction {
	justify-content: flex-end;
}

.hlm-mag-nav__thumb {
	width: 58px;
	height: 58px;
	object-fit: cover;
	border-radius: 50%;
	border: 2px solid var(--hlm-border);
	flex-shrink: 0;
}

.hlm-mag-nav__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hlm-mag-nav__next .hlm-mag-nav__meta {
	text-align: right;
}

.hlm-mag-nav__title {
	font-weight: 600;
	font-size: 1.2rem;
	color: var(--hlm-dark);
	line-height: 1.3;
}

.hlm-mag-nav__periode {
	font-size: 0.78rem;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

@media ( max-width: 575.98px ) {
	.hlm-mag-nav {
		flex-direction: column;
	}

	.hlm-mag-nav__next {
		margin-left: 0;
		text-align: left;
	}

	.hlm-mag-nav__next .hlm-mag-nav__info {
		flex-direction: row;
	}

	.hlm-mag-nav__next .hlm-mag-nav__meta {
		text-align: left;
	}

	.hlm-mag-nav__next .hlm-mag-nav__direction {
		justify-content: flex-start;
	}
}

/* =========================================================================
   Archive Magazines
   ========================================================================= */

.hlm-mag-archive-grid {
	display: grid;
	grid-template-columns: repeat( 2, 1fr );
	gap: 36px 24px;
	margin-top: 24px;
}

/* ── Carte ── */

article.hlm-mag-archive-card {
    text-align: center;
}


.hlm-mag-archive-card__img-wrap {
	position: relative;
	overflow: hidden;
	background: var(--hlm-light-gray);
	border: 1px solid var(--hlm-border);
	max-width: 320px;
	 margin: 0 auto;
}

.hlm-mag-archive-card__img-wrap img {
	width: 100%;	
	height: auto;
	display: block;
	transition: transform 0.32s ease;
}

.hlm-mag-archive-card:hover .hlm-mag-archive-card__img-wrap img {
	transform: scale(1.04);
}

/* ── Overlay ── */

.hlm-mag-archive-card__overlay {
	position: absolute;
	inset: 0;
	background: rgba( 0, 0, 0, 0.72 );
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 20px;
	opacity: 0;
	transition: opacity 0.28s ease;
}

.hlm-mag-archive-card:hover .hlm-mag-archive-card__overlay {
	opacity: 1;
}

/* ── Boutons overlay ── */

.hlm-mag-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	max-width: 210px;
	padding: 9px 16px;
	border-radius: 4px;
	font-family: var(--hlm-font-body);
	font-size: 0.88rem;
	font-weight: 600;
	letter-spacing: 0.3px;
	text-decoration: none;
	color: var(--hlm-white);
	border: 2px solid rgba( 255, 255, 255, 0.75 );
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.hlm-mag-btn:hover {
	background: var(--hlm-white);
	border-color: var(--hlm-white);
	color: var(--hlm-dark);
}

.hlm-mag-btn--consult {
	border-color: rgba( 255, 255, 255, 0.55 );
	color: var(--hlm-white);
	background: rgba( 255, 255, 255, 0.12 );
}

.hlm-mag-btn--consult:hover {
	background: var(--hlm-white);
	border-color: var(--hlm-white);
	color: var(--hlm-dark);
}

.hlm-mag-btn--sommaire {
	border-color: var(--hlm-orange);
	color: var(--hlm-orange);
}

.hlm-mag-btn--sommaire:hover {
	background: var(--hlm-orange);
	border-color: var(--hlm-orange);
	color: var(--hlm-white);
}

.hlm-mag-btn--disabled {
	opacity: 0.45;
	pointer-events: none;
	cursor: default;
}

/* ── Corps carte ── */

.hlm-mag-archive-card__body {
	padding: 10px 0 0;
}

.hlm-mag-archive-card__title {
	font-family: var(--hlm-font-heading);
	font-size: 1.1rem;
	line-height: 1.2;
	margin: 0 0 4px;
}

.hlm-mag-archive-card__title a {
	color: var(--hlm-dark);
	text-decoration: none;
	font-size: 1.4em;
}

.hlm-mag-archive-card__title a:hover {
	color: var(--hlm-orange);
}

.hlm-mag-archive-card__periode {
	display: block;
	font-size: 0.82rem;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* ── Responsive ── */

@media ( max-width: 575.98px ) {
	.hlm-mag-archive-grid {
		grid-template-columns: 1fr;
	}
}

/* =========================================================================
   Archive Produits — Masonry
   ========================================================================= */

.hlm-products-masonry {
	columns: 3;
	column-gap: 24px;
	margin-top: 24px;
}

/* ── Carte produit ── */

.hlm-product-archive-card {
	break-inside: avoid;
	margin-bottom: 24px;
	border-radius: 4px;
	overflow: hidden;
	background: var(--hlm-white);
	transition: box-shadow 0.25s ease, transform 0.22s ease;
}
.hlm-product-archive-card:hover {
	box-shadow: 0 6px 20px rgba( 0, 0, 0, 0.11 );
	transform: translateY( -2px );
}
.hlm-product-archive-card__img-wrap {
	display: block;
	overflow: hidden;
}
.hlm-product-archive-card__img-wrap img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.32s ease;
}
.hlm-product-archive-card:hover .hlm-product-archive-card__img-wrap img {
	transform: scale( 1.04 );
}
.hlm-product-archive-card__body {
	padding: 10px 12px 12px;
}
.hlm-product-archive-card__title {
	font-family: var(--hlm-font-heading);
	font-size: 1.75rem;
	line-height: 1.2;
	margin: 4px 0 0;
}
.hlm-product-archive-card__supplier {
	color: var(--hlm-produit);
	font-family: var(--hlm-font-heading);
	font-size: 1.15rem;
}

.hlm-product-archive-card__title a {
	color: var(--hlm-dark);
	text-decoration: none;
}

.hlm-product-archive-card__title a:hover {
	color: var(--hlm-produit);
}

/* ── Slot bannière ── */

.hlm-product-archive-card--ad {
	transform: none;
	box-shadow: none;
	background: var(--hlm-light-gray);
	border: 1px dashed var(--hlm-border);
}

.hlm-product-archive-card--ad:hover {
	transform: none;
	box-shadow: none;
}

.hlm-product-archive-card--ad .hlm-ad-placeholder {
	width: 100%;
	min-height: 250px;
	max-width: none;
	height: auto;
}

/* ── Responsive ── */

@media ( max-width: 991.98px ) {
	.hlm-products-masonry {
		columns: 2;
	}
}

@media ( max-width: 575.98px ) {
	.hlm-products-masonry {
		columns: 1;
	}
}

/* ==========================================================================
   Single Produit
   ========================================================================== */

.hlm-section--produit-single {
	padding-top: 0;
}

.hlm-single--produit .hlm-single__thumbnail {
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 16px;
}

.hlm-single--produit .hlm-single__thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

.hlm-single--produit .hlm-single__title {
	font-family: var(--hlm-font-heading);
	font-size: clamp( 1.6rem, 3vw, 2.2rem );
	line-height: 1.15;
	margin: 8px 0 0;
	color: var(--hlm-dark);
}

.hlm-single--produit .hlm-single__supplier {
	font-family: var(--hlm-font-heading);	
	color: var(--hlm-produit);
	font-size: 1.35rem;
}

.hlm-single--produit .hlm-rubrique {
	display: inline-block;
	margin-bottom: 4px;
}

.hlm-single--produit .hlm-single__content {
	margin-top: 20px;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--hlm-dark);
}

/* ── Navigation produits ── */

.hlm-prod-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--hlm-border);
}

.hlm-prod-nav__prev,
.hlm-prod-nav__next {
	flex: 1;
}

.hlm-prod-nav__next {
	text-align: right;
}

.hlm-prod-nav__prev a,
.hlm-prod-nav__next a {
	display: inline-flex;
	flex-direction: column;
	gap: 8px;
	text-decoration: none;
	color: inherit;
}

.hlm-prod-nav__direction {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--hlm-produit);
}

.hlm-prod-nav__next .hlm-prod-nav__direction {
	justify-content: flex-end;
}

.hlm-prod-nav__info {
	display: flex;
	align-items: center;
	gap: 10px;
}

.hlm-prod-nav__next .hlm-prod-nav__info {
	flex-direction: row-reverse;
	justify-content: flex-end;
}

.hlm-prod-nav__thumb {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	border: 2px solid var(--hlm-border);
}

.hlm-prod-nav__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hlm-prod-nav__title {
	font-family: var(--hlm-font-heading);
	font-size: 1.1rem;
	line-height: 1.2;
	color: var(--hlm-dark);
	transition: color 0.2s;
}

.hlm-prod-nav__prev a:hover .hlm-prod-nav__title,
.hlm-prod-nav__next a:hover .hlm-prod-nav__title {
	color: var(--hlm-produit);
}

.hlm-prod-nav__sub {
font-size: 0.85rem;
    color: var(--hlm-produit);
    font-weight: 600;
}

@media ( max-width: 575.98px ) {
	.hlm-prod-nav {
		flex-direction: column;
	}

	.hlm-prod-nav__next {
		text-align: left;
	}

	.hlm-prod-nav__next .hlm-prod-nav__direction {
		justify-content: flex-start;
	}

	.hlm-prod-nav__next .hlm-prod-nav__info {
		flex-direction: row;
		justify-content: flex-start;
	}
}

/* ── Page abonnements-magazine ─────────────────────────────────────────────── */

.hlm-section--subscriptions {
	padding: 2.5rem 0 3rem;
}

.hlm-sub-offers {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
}

.hlm-sub-card {
	display: flex;
	align-items: center;
	gap: 2rem;
	background: #f5f5f5;
	border-radius: 6px;
	padding: 1.5rem;
	transition: all 0.1s;
}

.hlm-sub-card:hover {
	    border-top: 5px solid #3c89bb;
		background: #ebebeb;
}

/* ── Image / placeholder ── */

.hlm-sub-card__visual {
	flex: 0 0 300px;
	width: 300px;
}

.hlm-sub-card__img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	display: block;
}

.hlm-sub-card__img-placeholder {
	width: 100%;
	aspect-ratio: 3 / 2;
	background: #ddd;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	color: #aaa;
}

/* ── Corps texte ── */

.hlm-sub-card__body {
	flex: 1;
}

.hlm-sub-card__title {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--hlm-dark);
	margin: 0 0 0.6rem;
}

.hlm-sub-card__title-accent {
	color: var(--hlm-orange);
}

.hlm-sub-card__short-desc {
	font-size: 0.95rem;
	color: var(--hlm-dark);
	margin-bottom: 0.75rem;
}

.hlm-sub-card__desc {	
	color: var(--hlm-dark);
}

/* Bullet points avec icône "+" orange */
.hlm-sub-card__desc ul,
.hlm-sub-card__short-desc ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.hlm-sub-card__desc ul li,
.hlm-sub-card__short-desc ul li {
	padding-left: 1.4rem;
	position: relative;
	margin-bottom: 0.25rem;
}

.hlm-sub-card__desc ul li::before,
.hlm-sub-card__short-desc ul li::before {
	content: "\f067"; /* fa-plus */
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	color: var(--hlm-orange);
	position: absolute;
	left: 0;
	top: 1px;
	font-size: 0.8em;
}

/* ── Aside prix + bouton ── */

.hlm-sub-card__aside {
	flex: 0 0 180px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	text-align: center;
}

.hlm-sub-card__price {
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--hlm-dark);
	line-height: 1;
}

.hlm-sub-card__price .woocommerce-Price-amount {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

.hlm-sub-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--hlm-dark);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.6rem 1rem;
	border-radius: 4px;
	text-decoration: none;
	transition: background 0.2s;
	white-space: nowrap;
}

.hlm-sub-card__btn:hover {
	background: var(--hlm-orange);
	color: #fff;
}

/* ── Responsive ── */

@media ( max-width: 991.98px ) {
	.hlm-sub-card {
		flex-wrap: wrap;
	}

	.hlm-sub-card__visual {
		flex: 0 0 160px;
		width: 160px;
	}

	.hlm-sub-card__aside {
		flex: 1 1 100%;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

@media ( max-width: 575.98px ) {
	.hlm-sub-card {
		flex-direction: column;
		align-items: flex-start;
	}

	.hlm-sub-card__visual {
		width: 100%;
		flex: 0 0 auto;
	}

	.hlm-sub-card__aside {
		flex-direction: column;
		align-items: stretch;
	}

	.hlm-sub-card__btn {
		justify-content: center;
	}
}


/* =========================================================================
   WooCommerce
   ========================================================================= */

/* ── Structure ─────────────────────────────────────────────────────────── */

.hlm-section--woocommerce {
	padding: 40px 0 60px;
}

.woocommerce,
.woocommerce-page {
	font-size: 1rem;
}

.hlm-page-content__title {
	font-family: var(--hlm-font-heading);
	font-size: 2.4rem;
	margin-bottom: 28px;
}

/* ── Notifications ─────────────────────────────────────────────────────── */

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
	border-top-color: var(--hlm-actu);
	padding: 18px 20px 14px 50px;
    margin-bottom: 24px;
	border-radius: 8px;
}

.woocommerce-error {
	border-top-color: var(--hlm-dossier);
	background-color: #ffefee;
}

/* ── Boutons ───────────────────────────────────────────────────────────── */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button.alt,
.woocommerce .checkout-button,
.woocommerce #place_order {
	background-color: var(--hlm-orange);
	color: var(--hlm-white);
	font-family: var(--hlm-font-heading-regular);
	font-weight: 300;
	font-size: 1.1rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	border: none;
	border-radius: 4px;
	padding: 8px 14px;
	text-decoration: none;
	display: inline-block;
	transition: background-color 0.2s;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .button.alt:hover,
.woocommerce .checkout-button:hover,
.woocommerce #place_order:hover {
	background-color: var(--hlm-orange);
	color: var(--hlm-white);
	opacity: .85;
}

.woocommerce a.button.cancel,
.woocommerce a.button.secondary {
	background-color: #f1f5f9;
	color: #374151;
	font-size: .9rem;
	font-weight: 400;
	letter-spacing: 0;
}

.woocommerce a.button.cancel:hover,
.woocommerce a.button.secondary:hover {
	background-color: #e2e8f0;
	color: #374151;
	opacity: 1;
}

/* ── Formulaires ───────────────────────────────────────────────────────── */



.woocommerce form .form-row label {
	font-weight: 600;
	font-size: .9rem;
	margin-bottom: 4px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	padding: 10px 14px;
	font-size: 1rem;
	width: 100%;
	transition: border-color .2s;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
	border-color: var(--hlm-actu);
	outline: none;
	box-shadow: 0 0 0 3px rgba(56, 136, 185, .15);
}



.woocommerce-form.woocommerce-form-login.login,
.woocommerce-form.woocommerce-form-register.register,
.wp-block-woocommerce-checkout-order-summary-block {
  background: #fafafa;
  border: 1px solid #e2e8f0;
}


.wc-block-components-form .wc-block-components-text-input input[type=email], .wc-block-components-form .wc-block-components-text-input input[type=number], .wc-block-components-form .wc-block-components-text-input input[type=password], .wc-block-components-form .wc-block-components-text-input input[type=tel], .wc-block-components-form .wc-block-components-text-input input[type=text], .wc-block-components-form .wc-block-components-text-input input[type=url], .wc-block-components-text-input input[type=email], .wc-block-components-text-input input[type=number], .wc-block-components-text-input input[type=password], .wc-block-components-text-input input[type=tel], .wc-block-components-text-input input[type=text], .wc-block-components-text-input input[type=url] {
      border: 1px solid 
color-mix(in srgb, currentColor 20%, transparent);
}

/* ── Tableau panier ────────────────────────────────────────────────────── */

.woocommerce table.shop_table {
	border-collapse: collapse;
	width: 100%;
	margin-bottom: 24px;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 14px 16px;
	border-bottom: 1px solid #e2e8f0;
	vertical-align: middle;
}

.woocommerce table.shop_table th {
	font-weight: 700;
	background: #f8fafc;
}

.woocommerce .cart-collaterals {
	margin-top: 32px;
}

.woocommerce .cart_totals h2 {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 16px;
}


.wp-block-woocommerce-cart-order-summary-block {
    border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
    border-radius: 5px;
    box-sizing: border-box;
    font-size: var(--wp--preset--font-size--small, 14px);
    line-height: 1.4;
    padding: 10px;
	
}

/* ── Récapitulatif commande ────────────────────────────────────────────── */

.woocommerce-order-details,
.woocommerce-customer-details {
	margin-top: 32px;
}

.woocommerce-order-details h2,
.woocommerce-customer-details h2 {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 16px;
}

/* ── Mon Compte — navigation ───────────────────────────────────────────── */

.woocommerce-MyAccount-navigation {
	background: #f8fafc;
	border-radius: 8px;
	padding: 8px 0;
	margin-bottom: 32px;
}

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 10px 20px;
	color: #374151;
	text-decoration: none;
	font-size: .95rem;
	border-left: 3px solid transparent;
	transition: background .15s, color .15s;
}

.woocommerce-MyAccount-navigation ul li a:hover {
	background: #e2e8f0;
	color: var(--hlm-actu);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
	border-left-color: var(--hlm-actu);
	color: var(--hlm-actu);
	font-weight: 600;
	background: #eff6ff;
}


/* ── Mon Compte — grille nav + contenu ────────────────────────────────── */

.woocommerce-MyAccount-content {
	min-width: 0;
}

.woocommerce-MyAccount-content p {
	margin-bottom: 16px;
}

@media ( min-width: 768px ) {
	.woocommerce-MyAccount-navigation {
		margin-bottom: 0;
	}

	/* Grille nav + contenu : uniquement pour les utilisateurs connectés (dashboard) */
	.logged-in.woocommerce-account .woocommerce {
		/*display: grid;*/
		grid-template-columns: 220px 1fr;
		gap: 40px;
		align-items: start;
	}

	/* Page connexion/inscription (non connecté) : deux colonnes équilibrées */
	.woocommerce-account:not(.logged-in) .woocommerce #customer_login.u-columns {
		/*display: grid;*/
		grid-template-columns: 1fr 1fr;
		gap: 40px;
		align-items: start;
	}
}

.hlm-myaccount-sub__status.hlm-myaccount-sub__status--inactive {
    color: #cd0000;
}


/* ── Breadcrumb WC ─────────────────────────────────────────────────────── */

.woocommerce-breadcrumb {
	font-size: .85rem;
	color: #94a3b8;
	margin-bottom: 24px;
}

.woocommerce-breadcrumb a {
	color: #64748b;
	text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
	color: var(--hlm-actu);
}

/* ── WooCommerce Blocks — Boutons ──────────────────────────────────────── */

.wc-block-components-button.wp-element-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background-color: var(--hlm-orange) !important;
	color: var(--hlm-white) !important;
	font-family: var(--hlm-font-heading-regular) !important;
	font-weight: 300 !important;
	font-size: 1.1rem !important;
	letter-spacing: 1px !important;
	text-transform: uppercase !important;
	border: none !important;
	border-radius: 4px !important;
	padding: 4px 14px !important;
	text-decoration: none !important;
	display: inline-block !important;
	transition: background-color 0.2s !important;
	box-shadow: none !important;
	outline: none !important;
}

.wc-block-components-button.wp-element-button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
	background-color: var(--hlm-orange) !important;
	color: var(--hlm-white) !important;
	opacity: .85;
}

/* ── WooCommerce Blocks — Masquer la vignette produit ──────────────────── */

.wc-block-cart-items__row .wc-block-components-product-image,
.wc-block-cart-items__row td.wc-block-cart-item__image {
	display: none !important;
}

/* ── WooCommerce Blocks — Masquer le contrôle de quantité ─────────────── */

.wc-block-cart-items__row .wc-block-cart-item__quantity,
.wc-block-cart-items__row .quantity,
.wc-block-components-quantity-stepper {
	display: none !important;
}

/* ── WooCommerce Blocks — Description produit injectée ────────────────── */

.hlm-cart-product-desc {
	font-size: .95rem;
	color: #4b5563;
	line-height: 1.6;
	margin-top: 8px;
	display: none;
}

.hlm-cart-product-desc p {
	margin-bottom: 6px;
}

.hlm-cart-product-desc p:last-child {
	margin-bottom: 0;
}

/* ── Panier custom (template-parts/wc-cart.php) ────────────────────────── */

.hlm-cart-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin-bottom: 40px;
	background: #fafafa;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;

}

.hlm-cart-table thead th {
	font-family: var(--hlm-font-heading);
	font-size: 1.2rem;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #fff;
	padding: 8px 14px;
	border-bottom: 2px solid #e2e8f0;
	font-weight: 400;
	background-color: var(--hlm-orange);
}

.hlm-cart-table tbody td {
	padding: 20px 16px;
	border-bottom: 1px solid #e2e8f0;
	vertical-align: top;
}

.hlm-cart-col--product { width: 75%; }

.hlm-cart-col--duree {
	width: 12.5%;
	text-align: center;
	white-space: nowrap;
}

.hlm-cart-col--total {
	width: 12.5%;
	text-align: right;
	white-space: nowrap;
	font-weight: 700;
}

/* Produit */

.hlm-cart-product__header {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	margin-bottom: 4px;
}

.hlm-cart-product__name {
	font-size: 1.25rem;
	font-weight: 700;
}

.hlm-cart-product__duration {
	display: none;
	font-size: .85rem;
	color: #64748b;
	margin-bottom: 10px;
}

/* Durée */

.hlm-cart-duration {
	font-size: .95rem;
	font-weight: 600;
}

.hlm-cart-infinite {
	font-size: 1.6rem;
	line-height: 1;
	color: #94a3b8;
}

/* Bouton suppression */

.hlm-cart-remove {
	color: #94a3b8;
	font-size: 1rem;
	text-decoration: none;
	flex-shrink: 0;
	transition: color .15s;
}

.hlm-cart-remove:hover {
	color: var(--hlm-dossier);
}

/* Totaux */

.hlm-cart-bottom {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 32px;
}

.hlm-cart-bottom .woocommerce {
	width: 100%;
	max-width: 400px;
}

.woocommerce .cart_totals {
	float: none;
	width: 100%;
	background: #fafafa;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 10px 15px;
}

.woocommerce .cart_totals h2 {
	font-family: var(--hlm-font-heading);
	font-size: 1.6rem;	
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e2e8f0;
}

.woocommerce .cart_totals table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 0px;
    border: 0;
}

.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td {
	padding: 8px 0;
	border: none;
	font-size: .95rem;
	vertical-align: middle;
}

.woocommerce .cart_totals table .order-total th,
.woocommerce .cart_totals table .order-total td {
	font-weight: 700;
	font-size: 1rem;
	padding-top: 14px;
	border-top: 1px solid #e2e8f0;
}

.woocommerce .cart_totals .wc-proceed-to-checkout {
	margin-top: 0;
}

.woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button {
	display: block;
	width: 100%;
	text-align: center;
	padding: 10px 20px;
	background-color: #ff9900;
    margin: 0 !important;
}

/* Boutons "Ajouter un numéro / abonnement" */

.hlm-cart-extra-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 8px;
	padding-top: 24px;
	border-top: 1px solid #e2e8f0;
}

.hlm-cart-action-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--hlm-font-heading-regular);
	font-size: 1rem;
	letter-spacing: .5px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 6px 18px;
	border-radius: 4px;
	border: 1px solid #cbd5e1;
	color: #374151;
	background: #f8fafc;
	transition: background .15s, border-color .15s;
}

.hlm-cart-action-btn:hover {
	background: #e2e8f0;
	border-color: #94a3b8;
	color: #374151;
}

.hlm-cart-action-btn--primary {
	background: var(--hlm-orange);
	border-color: var(--hlm-orange);
	color: var(--hlm-white);
}

.hlm-cart-action-btn--primary:hover {
	background: var(--hlm-orange);
	border-color: var(--hlm-orange);
	color: var(--hlm-white);
	opacity: .85;
}

/* =========================================================================
   404 — Page introuvable
   ========================================================================= */

.hlm-section--404 {
	padding: 50px 0 30px;
}

.hlm-404 {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}

.hlm-404__code {
	display: block;
	font-family: var(--hlm-font-heading);
	font-size: 7rem;
	line-height: 1;
	color: var(--hlm-actu);
	opacity: .18;
}

.hlm-404__title {
	font-family: var(--hlm-font-heading);
	font-size: 2rem;
	text-transform: uppercase;
	margin: 0 0 14px;
	color: var(--hlm-dark);
}

.hlm-404__text {
	font-size: 1rem;
	line-height: 1.6;
	color: #666;
	margin: 0 0 30px;
}

.hlm-404__search {
	display: flex;
	max-width: 420px;
	margin: 0 auto 34px;
	border: 2px solid var(--hlm-border);
	border-radius: 4px;
	overflow: hidden;
}

.hlm-404__search-input {
	flex: 1;
	min-width: 0;
	border: none;
	padding: 10px 14px;
	font-family: var(--hlm-font-body);
	font-size: 0.95rem;
	color: var(--hlm-dark);
	background: var(--hlm-white);
}

.hlm-404__search-input:focus {
	outline: none;
}

.hlm-404__search-submit {
	flex-shrink: 0;
	border: none;
	background: var(--hlm-dark);
	color: var(--hlm-white);
	width: 46px;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color 0.2s;
}

.hlm-404__search-submit:hover {
	background: var(--hlm-orange);
}

.hlm-404__links {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.hlm-404__quicklinks {
	justify-content: center;
}

@media (max-width: 575.98px) {
	.hlm-404__code {
		font-size: 5rem;
	}

	.hlm-404__title {
		font-size: 1.5rem;
	}
}

/* =========================================================================
   Recherche — Page de résultats (search.php)
   ========================================================================= */

.hlm-section--search-hero {
	padding: 45px 0 35px;
	border-bottom: 1px solid var(--hlm-border);
}

.hlm-search-hero {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}

.hlm-search-hero__title {
	font-family: var(--hlm-font-heading);
	font-size: 2rem;
	text-transform: uppercase;
	margin: 0 0 24px;
	color: var(--hlm-dark);
}

.hlm-search-hero__title span {
	color: var(--hlm-actu);
}

.hlm-search-hero__form {
	display: flex;
	max-width: 480px;
	margin: 0 auto;
	border: 2px solid var(--hlm-border);
	border-radius: 4px;
	overflow: hidden;
}

.hlm-search-hero__input {
	flex: 1;
	min-width: 0;
	border: none;
	padding: 12px 16px;
	font-family: var(--hlm-font-body);
	font-size: 1rem;
	color: var(--hlm-dark);
	background: var(--hlm-white);
}

.hlm-search-hero__input:focus {
	outline: none;
}

.hlm-search-hero__submit {
	flex-shrink: 0;
	border: none;
	background: var(--hlm-dark);
	color: var(--hlm-white);
	width: 52px;
	font-size: 1.05rem;
	cursor: pointer;
	transition: background-color 0.2s;
}

.hlm-search-hero__submit:hover {
	background: var(--hlm-orange);
}

.hlm-section--search-results {
	padding-top: 40px;
}

@media (max-width: 575.98px) {
	.hlm-search-hero__title {
		font-size: 1.5rem;
	}
}
