/* Le Médium — Outils du journal : affichage sur le site (couleurs du thème Le Médium) */

/* Publicités : la place est réservée au format exact, sans décalage de mise en page */
.lmo-ad { display: block; width: 100%; max-width: var(--lmo-w); margin: 0 auto; text-align: center; }
.lmo-ad__label { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #8a96a5; margin-bottom: 4px; }
.lmo-ad__frame { position: relative; width: 100%; aspect-ratio: var(--lmo-ratio); overflow: hidden; border-radius: 6px; background: #f2f5f9; }
.lmo-ad__frame a, .lmo-ad__frame picture { display: block; width: 100%; height: 100%; }
.lmo-ad__media { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
	.lmo-ad__frame { aspect-ratio: var(--lmo-mratio, var(--lmo-ratio)); }
	.lmo-ad--accueil-colonne, .lmo-ad--contenu-colonne { max-width: 300px; }
}
.lmo-ad--pied-de-page .lmo-ad__label { color: rgba(255, 255, 255, .6); text-align: left; }
.lmo-ad--pied-de-page { margin: 0; }

/* Journal papier */
.lmo-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px; align-items: start; background: #063568; color: #fff; border-radius: 10px; padding: 28px; margin-bottom: 36px; }
.lmo-feature__cover img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.lmo-feature__kicker { margin: 0 0 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #9cc4ee; }
.lmo-feature__title { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; color: #fff; font-weight: 900; }
.lmo-feature__date { margin: 8px 0 18px; font-size: 18px; color: #d6e4f5; font-weight: 600; }
.lmo-feature__text { color: rgba(255, 255, 255, .88); max-width: 60ch; }
.lmo-feature__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.lmo-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 6px; background: #1266b3; color: #fff !important; font-weight: 800; text-decoration: none; border: 2px solid #1266b3; }
.lmo-btn:hover { background: #1684ce; border-color: #1684ce; }
.lmo-btn--ghost { background: transparent; border-color: currentColor; color: inherit !important; }
.lmo-feature .lmo-btn--ghost { color: #fff !important; }
.lmo-editions__title { font-size: 22px; text-transform: uppercase; color: #063568; border-bottom: 2px solid #e5eaf0; padding-bottom: 8px; margin: 0 0 20px; }
.lmo-editions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; margin-bottom: 32px; }
.lmo-edition { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: #17212e; text-decoration: none; }
.lmo-edition__cover { display: block; width: 100%; aspect-ratio: 3 / 4; background: #eaf3fc; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 10px rgba(6, 53, 104, .15); transition: transform .2s ease, box-shadow .2s ease; }
.lmo-edition:hover .lmo-edition__cover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(6, 53, 104, .22); }
.lmo-edition__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lmo-edition__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-weight: 900; font-size: 22px; color: #063568; }
.lmo-edition__label { font-weight: 800; color: #063568; }
.lmo-edition__date { font-size: 13px; color: #5b6675; margin-top: -6px; }
.lmo-reader { margin: 36px 0; }
.lmo-reader__frame { display: block; width: 100%; height: 88vh; min-height: 640px; border: 1px solid #e5eaf0; border-radius: 6px; }
.lmo-reader__mobile { display: none; gap: 12px; }
@media (max-width: 1024px) { .lmo-editions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.lmo-feature { grid-template-columns: 1fr; padding: 20px; gap: 22px; }
	.lmo-feature__cover { max-width: 320px; margin: 0 auto; }
	.lmo-editions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
	.lmo-reader__frame { display: none; }
	.lmo-reader__mobile { display: flex; flex-wrap: wrap; }
}

/* Annonces */
.lmo-annonce-infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 18px 0; padding: 16px 18px; background: #eaf3fc; border-radius: 8px; }
.lmo-annonce-infos dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #5b6675; }
.lmo-annonce-infos dd { margin: 2px 0 0; font-weight: 700; color: #063568; }
.lmo-closed { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: #fbe9e9; color: #9b1c1c; font-size: 12px; font-weight: 700; }

/* Image positionnée sur toute la surface du cadre : rendu identique dans tous les navigateurs */
.lmo-ad__frame a, .lmo-ad__frame picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.lmo-ad__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
