/* Lock badge sur l'image à la une */
.hlm-single__thumbnail { position: relative; overflow: hidden; }
.hlm-single__lock-overlay {
	position: absolute; bottom: 0; left: 0; right: 0;
	background: linear-gradient(transparent, rgba(0,0,0,.6));
	padding: 32px 20px 16px;
}
.hlm-single__lock-badge {
	display: inline-flex; align-items: center; gap: 7px;
	background: rgb(255 153 0);
	color: #fff; font-size: 15px; font-weight: 600;
	padding: 7px 14px; border-radius: 999px;
	border: 0px solid rgba(255,255,255,.3);
}

/* Gate CSS — contenu toujours dans le DOM, visibilité contrôlée par .hlm-locked */
.hlm-locked .hlm-article-body,
.hlm-locked .hlm-dossier-body {
	position: relative;
	max-height: 180px;
	overflow: hidden;
}
.hlm-locked .hlm-article-body::after,
.hlm-locked .hlm-dossier-body::after {
	content: '';
	position: absolute; bottom: 0; left: 0; right: 0;
	height: 90px;
	background: linear-gradient(to bottom, transparent, #fff);
	pointer-events: none;
}

/* Paywall — masqué par défaut, visible uniquement sur .hlm-locked */
.hlm-paywall { display: none; }
.hlm-locked .hlm-paywall {
	display: block;
	margin: 32px 0 64px;
	max-width: 860px;
	/*border: 1px solid #c9ccd1;*/
	border-radius: 8px;
	overflow: hidden;
	/*box-shadow: 0 24px 40px -28px rgba(0,0,0,.18);*/
}

.hlm-locked .hlm-paywall.hlm-paywall--solo {   
    margin: 32px auto 64px auto;
    max-width: 560px;
   
}

/* Header strip orange */
.hlm-paywall__header {
	display: flex; align-items: center; justify-content: center; gap: 14px;
	padding: 22px 26px;
	border-bottom: 1px solid #f5e0b3;
}
.hlm-paywall__header-icon {
	width: 46px; height: 46px; flex-shrink: 0;
	border-radius: 50%;
	background: rgb(255 153 0);
	color: #fff;
	display: grid; place-items: center;
}
.hlm-paywall__header-title {
    font-family: var(--hlm-font-body);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
    color: #3a3f47;
}

/* Split 2 colonnes */
.hlm-paywall__split {
	display: grid; grid-template-columns: 1fr auto 1fr;
}

/* Séparateur "OU" entre les 2 colonnes */
.nlunlock-sep {
	width: 1px;
	position: relative;
	background: rgba(0, 0, 0, 0.08);
}
.nlunlock-sep span {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 13px;
	color: rgb(217 111 18);
	z-index: 2;
	border-radius: 50%;
	background: rgb(255, 255, 255);
	border-width: 2px;
	border-style: solid;
	border-color:rgb(217 111 18);
}


.hlm-paywall__col:hover {
 box-shadow: 0 24px 40px -28px rgba(0,0,0,.18);
}
/* Colonne gauche — abonnement */
.hlm-paywall__col--premium {
	background: #ffe6b6;
	padding: 30px 28px;
	position: relative;
	border-right: 1px solid #f5e0b3;
	text-align: center;
}

/* Pastille "Recommandé" */
.hlm-paywall__badge {
	position: absolute; top: 16px; right: 16px;
	background: var(--hlm-dossier); color: #fff;
	font-size: 10px; font-weight: 800; letter-spacing: .14em;
	padding: 4px 8px; border-radius: 2px;
	text-transform: uppercase;
}

/* Sur-titres */
.hlm-paywall__supertitle {
	font-size: 13px; font-weight: 800; letter-spacing: .14em;
	text-transform: uppercase; color: #d96f12;
}
.hlm-paywall__supertitle--green { color: #1f8a5b; }

/* Icônes colonnes (remplacent les titres) */
.hlm-paywall__col-icon {
	font-size: 48px;
	line-height: 1;
	color: #d96f12;
}
.hlm-paywall__col-icon--green { color: #1f8a5b; }

/* Descriptions */
.hlm-paywall__col-desc {
	font-size: 18px; color: #3a3f47; margin: 8px 0 0; line-height: 1.5;
	text-align: center;
	margin-bottom: 15px;
}
.hlm-paywall__col-desc strong { color: var(--hlm-dark); }

/* Prix */
.hlm-paywall__price { margin: 18px 0 14px; }
.hlm-paywall__price-amount {
font-family: var(--hlm-font-body);
    font-weight: 700;
    font-size: 38px;
    color: var(--hlm-dark);
    letter-spacing: -2px;
}
.hlm-paywall__price-detail {
	font-size: 15px; color: #3a3f47; margin-left: 4px;font-style: italic;
}

/* Bouton Je m'abonne */
.hlm-paywall__btn-subscribe {
    display: inline-block;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* width: 100%; */
    box-sizing: border-box;
    background: var(--hlm-orange);
    color: #fff;
    border: 0;
    font-family: var(--hlm-font-heading-regular);
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s;
}
.hlm-paywall__btn-subscribe:hover { background: #d96f12; color: #fff; }

/* Colonne droite — newsletter */
.hlm-paywall__col--free {
	background: #bbedc2;
	padding: 30px 28px;
	text-align: center;
}

/* CTA "Lire l'article" — ouvre la lightbox d'inscription newsletter */
.hlm-paywall__btn-nl {
	position: relative;
	background: #1f8a5b; color: #fff; border: 0;
	font-family: var(--hlm-font-heading-regular); font-weight: 400;
	font-size: 18px; letter-spacing: 0; text-transform: uppercase;
	padding: 5px 18px; border-radius: 4px; cursor: pointer;
	transition: background-color .15s;
	white-space: nowrap;
}
.hlm-paywall__btn-nl:hover { background: #186e49; }
.hlm-paywall__btn-nl:disabled { opacity: .6; pointer-events: none; }

/* Loading spinner (réutilisé par le bouton de la lightbox) */
@keyframes hlm-spin { to { transform: rotate(360deg); } }

/* Honeypot — off-screen, invisible aux humains */
.hlm-hp {
	position: absolute;
	left: -9999px;
	width: 1px; height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

/* Footer */
.hlm-paywall__footer {
	padding: 12px 26px; border-top: 1px solid #e6e7ea;
	text-align: center; 
}
.hlm-paywall__login-link {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; color: #3a3f47; text-decoration: none;
	letter-spacing: .05em; font-weight: 500; text-transform: uppercase;
	transition: color .15s;
}
.hlm-paywall__login-link:hover { color: var(--hlm-dark); }
.hlm-paywall__login-link .fa-circle-user { font-size: 20px; color: var(--hlm-orange); }

/* Mode solo — lecteur déjà abonné à la newsletter, colonne unique */
.hlm-paywall--solo .hlm-paywall__split { grid-template-columns: 1fr; }
.hlm-paywall--solo .hlm-paywall__col--premium { border-right: none; }
.hlm-paywall--solo .hlm-paywall__badge { display: none; }

/* Mobile — colonnes empilées sous 600px */
@media (max-width: 600px) {
	.hlm-paywall__split { grid-template-columns: 1fr; }
	.hlm-paywall__col--premium { border-right: none; border-bottom: 1px solid #f5e0b3; }
	.nlunlock-sep { width: auto; height: 1px; margin: 0 28px; }
}

/* Teaser dossiers (filtre the_content) */
.hlm-paywall__teaser {
	font-size: 16px; line-height: 1.75; color: #374151; margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   Lightbox newsletter — "Lire l'article gratuitement"
   ═══════════════════════════════════════════════════════════════════════ */
.hlm-nl-modal {
	display: none;
	position: fixed; inset: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.hlm-nl-modal.is-open { display: flex; }

.hlm-nl-modal__overlay {
	position: absolute; inset: 0;
	background: rgba(20, 22, 26, .6);
}

.hlm-nl-modal__box {
	position: relative;
	width: 100%;
	max-width: 460px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 30px 60px -20px rgba(0,0,0,.35);
	padding: 40px 32px 32px;
	text-align: center;
}

.hlm-nl-modal__close {
	position: absolute; top: 14px; right: 14px;
	width: 32px; height: 32px;
	display: grid; place-items: center;
	background: none; border: 0;
	color: rgb(191, 6, 97);
	font-size: 18px;
	cursor: pointer;
}

.hlm-nl-modal__icon {
	font-size: 52px;
	color: #1f8a5b;
	margin-bottom: 12px;
}

.hlm-nl-modal__title {
	font-family: var(--hlm-font-body);
	font-weight: 700;
	font-size: 24px;
	color: var(--hlm-dark);
	margin: 0 0 10px;
}

.hlm-nl-modal__subtitle {
	font-size: 16px;
	color: #3a3f47;
	line-height: 1.5;
	margin: 0 0 24px;
}
.hlm-nl-modal__subtitle strong { color: var(--hlm-dark); }

.hlm-nl-modal__field {
	text-align: left;
	margin-bottom: 18px;
}
.hlm-nl-modal__field label {
	display: block;
	font-weight: 700;
	font-size: 14px;
	color: var(--hlm-dark);
	margin-bottom: 6px;
}
.hlm-nl-modal__email,
.hlm-nl-modal__select {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 14px;
	font-size: 16px;
	font-family: inherit;
	border: 1px solid #c9ccd1;
	background: #fff;
	border-radius: 6px;
	outline: 0;
	transition: border-color .15s;
}
.hlm-nl-modal__email:focus,
.hlm-nl-modal__select:focus { border-color: #1f8a5b; }

.hlm-nl-modal__select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%23333333' stroke-width='2' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
	cursor: pointer;
}

.hlm-nl-modal__email--valid { border-color: #1f8a5b !important; background-color: #f0fdf4; }
.hlm-nl-modal__email--invalid { border-color: #d97706 !important; background-color: #fffbeb; }

.hlm-nl-modal__suggestion {
	font-size: 13px;
	margin-top: 6px;
	color: #3a3f47;
}
.hlm-nl-modal__suggestion-btn {
	background: none; border: none; padding: 0;
	font-size: 13px; font-weight: 700;
	color: #1f8a5b; cursor: pointer;
	text-decoration: underline;
	font-family: inherit;
}
.hlm-nl-modal__suggestion-btn:hover { color: #186e49; }

.hlm-nl-modal__check {
	display: flex; align-items: flex-start; gap: 10px;
	text-align: left;
	font-size: 13px;
	color: #3a3f47;
	line-height: 1.5;
	margin-bottom: 16px;
	cursor: pointer;
}
.hlm-nl-modal__check input {
	flex-shrink: 0;
	width: 18px; height: 18px;
	margin-top: 2px;
}
.hlm-nl-modal__check a { color: #1f8a5b; }

.hlm-nl-modal__msg {
	font-size: 14px;
	margin-bottom: 12px;
	min-height: 16px;
	line-height: 1.4em;
}
.hlm-nl-modal__msg--error { color: var(--hlm-dossier); }
.hlm-nl-modal__msg--success { color: #1f8a5b; font-weight: 600; }

.hlm-nl-modal__submit {
	position: relative;
	width: 100%;
	background: #1f8a5b;
	color: #fff;
	border: 0;
	font-family: var(--hlm-font-heading-regular);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: .03em;
	text-transform: uppercase;
	padding: 14px 18px;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color .15s;
}
.hlm-nl-modal__submit:hover { background: #1a754d; }
.hlm-nl-modal__submit:disabled { opacity: .6; pointer-events: none; }
.hlm-nl-modal__submit--loading { color: transparent !important; }
.hlm-nl-modal__submit--loading::after {
	content: '';
	position: absolute;
	width: 18px; height: 18px;
	top: 50%; left: 50%;
	margin: -9px 0 0 -9px;
	border: 2px solid rgba(255,255,255,.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: hlm-spin .65s linear infinite;
}

body.hlm-nl-modal-open { overflow: hidden; }

@media (max-width: 480px) {
	.hlm-nl-modal__box { padding: 32px 22px 24px; }
}
