/* =====================================================
   LE THERMALISTE - Charte graphique v2
   Nouvelle palette : Thermal Blue #006B7A · Nature Green #7CA98E
                      Warm Gold #D4A373 · Linen Beige #FAF7F0
   Typographie : Playfair Display (titres) + Inter (corps)
   ===================================================== */

/* ── GOOGLE FONTS ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600;1,700&family=Inter:wght@400;500;600;700&display=swap');

/* ── TOKENS ───────────────────────────────────────── */
:root {
    /* Primaire - Thermal Blue */
    --lth-thermal: #006B7A;
    --lth-thermal-dark: #004F5A;
    --lth-thermal-light: #80B9C2;
    --lth-thermal-50: #E6F0F2;

    /* Secondaire - Nature Green */
    --lth-nature: #7CA98E;
    --lth-nature-dark: #5E8A6F;
    --lth-nature-50: #EEF4F0;

    /* Accent - Warm Gold */
    --lth-gold: #D4A373;
    --lth-gold-dark: #B98A55;
    --lth-gold-50: #FAF1E8;
    --lth-gold-light: #F0D49A;

    /* Neutres */
    --lth-linen: #FAF7F0;
    --lth-stone: #F4F0E8;
    --lth-fog: #E8E2D5;
    --lth-white: #FFFFFF;
    --lth-ink: #2A3A44;
    --lth-ink-muted: #5E6A72;

    /* Alias de rétro-compatibilité (templates existants) */
    --lth-blue: #006B7A;
    --lth-blue-light: #80B9C2;
    --lth-teal: #7CA98E;
    --lth-teal-light: #A8CFBC;
    --lth-mist: #FAF7F0;
    --lth-ink-mid: #5E6A72;

    /* États sémantiques */
    --lth-success: #5E8A6F;
    --lth-warning: #D4A373;
    --lth-danger: #B23A3A;

    /* Dégradés */
    --lth-gradient-hero: linear-gradient(135deg, #006B7A 0%, #5E8A6F 100%);
    --lth-gradient-card: linear-gradient(160deg, #EEF4F0 0%, #E6F0F2 100%);

    /* Radii */
    --lth-radius-xs: 4px;
    --lth-radius-sm: 8px;
    --lth-radius-md: 16px;
    --lth-radius-lg: 24px;
    --lth-radius-xl: 32px;
    --lth-radius-pill: 50rem;

    /* Ombres - teintées thermal */
    --lth-shadow-sm: 0 2px 8px rgba(0, 107, 122, .08);
    --lth-shadow-md: 0 8px 25px rgba(0, 107, 122, .12);
    --lth-shadow-lg: 0 20px 40px rgba(0, 107, 122, .15);
    --lth-shadow-card: 0 8px 25px rgba(0, 107, 122, .08);
    --lth-shadow-hover: 0 20px 40px rgba(0, 107, 122, .12);
    --lth-shadow-modal: 0 30px 60px rgba(42, 58, 68, .15);
    --lth-shadow-focus: 0 0 0 3px rgba(0, 107, 122, .25);

    /* Glass */
    --lth-glass-bg: rgba(250, 247, 240, 0.78);
    --lth-glass-blur: blur(18px) saturate(140%);

    /* Motion */
    --lth-ease: cubic-bezier(.22, .61, .36, 1);
    --lth-duration: .3s;
    --lth-transition: all .3s cubic-bezier(.22, .61, .36, 1);

    /* Polices */
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── BASE ────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--lth-ink);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    background-color: var(--lth-linen);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

article {
    min-height: 600px;
}

/* ── TYPOGRAPHIE ─────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--lth-ink);
    line-height: 1.2;
    text-wrap: balance;
    margin-top: 0;
}

h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    letter-spacing: -.02em;
    margin-bottom: 1.25rem;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -.01em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: .75rem;
}

h4 {
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: .5rem;
}

p {
    color: var(--lth-ink-mid);
    margin-bottom: 1rem;
    text-wrap: pretty;
}

li {
    line-height: 1.8em;
    color: var(--lth-ink-mid);
}

strong {
    font-weight: 600;
    color: var(--lth-ink);
}

.source-caption {
    font-size: 0.8rem;
    color: var(--lth-ink-muted);
    line-height: 1.4;
}

p.section-title {
    font-family: var(--font-main);
    font-size: .75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--lth-thermal);
}

p.txt-white {
    color: #fff;
}

/* ── FONDS ───────────────────────────────────────── */
.grey-bg {
    background-color: var(--lth-linen);
}

.stone-bg {
    background-color: var(--lth-stone);
}

.teal-bg {
    background-color: var(--lth-nature);
    color: #fff;
}

.blue-bg {
    background-color: var(--lth-thermal);
    color: #fff;
}

.image-hero-100 {
    min-height: 100px;
}

.image-hero-100 img {
    max-height: 300px;
}

/* ── NAVBAR / HEADER ─────────────────────────────── */
.navbar {
    background: var(--lth-glass-bg);
    backdrop-filter: var(--lth-glass-blur);
    -webkit-backdrop-filter: var(--lth-glass-blur);
    border-bottom: 1px solid rgba(232, 226, 213, 0.6);
    box-shadow: var(--lth-shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: background var(--lth-duration) var(--lth-ease);
}

.navbar-brand img {
    transition: var(--lth-transition);
    border-radius: 10px;
}

.navbar-brand:hover img {
    opacity: .85;
}

.nav-item {
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: .01em;
}

.nav-item a,
.nav-item a:hover,
.nav-item a:focus,
.nav-item a:visited {
    color: var(--lth-ink);
    text-decoration: none;
    transition: var(--lth-transition);
    padding: 8px 16px;
    border-radius: var(--lth-radius-pill);
}

.nav-item a:hover,
.nav-item a:focus {
    color: var(--lth-thermal);
    background: rgba(0, 107, 122, 0.08);
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
    margin-top: 4rem;
    background: var(--lth-ink);
    color: rgba(255, 255, 255, .78);
    padding: 3rem 0 2rem;
}

footer a {
    color: var(--lth-gold-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--lth-transition);
}

footer a:hover {
    color: #fff;
}

footer .footer-title {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--lth-fog);
    margin-bottom: .75rem;
}

/* ── LIENS ───────────────────────────────────────── */
a {
    color: var(--lth-thermal);
    transition: var(--lth-transition);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    font-weight: 500;
}

a:focus,
a:hover {
    color: var(--lth-thermal-dark);
}

a.unstyled {
    text-decoration: none;
    color: inherit;
    font-weight: inherit;
}

a.txt-white,
a.txt-white:focus,
a.txt-white:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

h1 a.unstyled {
    color: var(--lth-ink);
    text-decoration: none;
}

:focus-visible {
    outline: none;
    box-shadow: var(--lth-shadow-focus);
    border-radius: var(--lth-radius-xs);
}

/* ── BLOCKQUOTE ──────────────────────────────────── */
.blockquote {
    border-left: 3px solid var(--lth-thermal);
    padding-left: 1rem;
    font-style: italic;
    color: var(--lth-ink-mid);
}

/* ── PILLS / MOTS-CLÉS ───────────────────────────── */
.keyword-pill-row {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

a.keyword-pill {
    display: inline-flex;
    color: var(--lth-thermal);
    font-size: .72rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .06em;
    border: 1.5px solid var(--lth-thermal);
    border-radius: var(--lth-radius-pill);
    padding: .35em 1em;
    text-decoration: none;
    transition: var(--lth-transition);
}

a.keyword-pill:hover,
a.keyword-pill:focus {
    background-color: var(--lth-thermal);
    border-color: var(--lth-thermal);
    color: #fff;
}

/* ── BOUTONS ─────────────────────────────────────── */
.btn,
.btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: var(--lth-thermal);
    color: #fff;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .01em;
    padding: .7rem 1.6rem;
    border-radius: var(--lth-radius-pill);
    border: 2px solid transparent;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 107, 122, .2);
    transition: var(--lth-transition);
    min-height: 48px;
}

.btn:hover,
.btn:focus {
    color: #fff;
    background: var(--lth-thermal-dark);
    box-shadow: 0 14px 30px rgba(0, 107, 122, .3);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-gold,
.btn-gold:visited {
    background: var(--lth-gold);
    color: #fff;
    box-shadow: 0 8px 22px rgba(212, 163, 115, .25);
}

.btn-gold:hover,
.btn-gold:focus {
    background: var(--lth-gold-dark);
}

.btn-lined,
.btn-lined:visited {
    background: transparent;
    border: 2px solid var(--lth-thermal);
    color: var(--lth-thermal);
    font-weight: 600;
    padding: .65rem 1.5rem;
    border-radius: var(--lth-radius-pill);
    text-decoration: none;
    transition: var(--lth-transition);
    box-shadow: none;
}

.btn-lined:hover,
.btn-lined:focus {
    background: var(--lth-thermal);
    color: #fff;
}

.cta-box-btn,
.cta-box-btn:hover,
.cta-box-btn:focus,
.cta-box-btn:visited {
    background-color: #fff !important;
    color: var(--lth-thermal) !important;
    font-weight: 700;
    padding: .65rem 1.6rem;
    border-radius: var(--lth-radius-pill);
    text-decoration: none;
}

/* ── HIGHLIGHT ───────────────────────────────────── */
.highlight {
    color: var(--lth-thermal);
    position: relative;
}

/* ── TABLEAUX ────────────────────────────────────── */
.table-borderless td,
.table-borderless th {
    border: none;
}

/* ── LIST GROUPS ─────────────────────────────────── */
.list-group-unstyle li {
    border: none !important;
}

/* ── ESPACEMENT ──────────────────────────────────── */
.mg-bt-20 {
    margin-bottom: 20px;
}

.mg-top-20 {
    margin-top: 20px;
}

.mg-all-10 {
    margin: 10px;
}

.mg-all-20 {
    margin: 20px;
}

.mg-left-20 {
    margin-left: 20px;
}

.mg-right-20 {
    margin-right: 20px;
}

.no-mg {
    margin: 0 !important;
}

.mg-bt-100 {
    margin-bottom: 100px;
}

.mg-top-100 {
    margin-top: 100px;
}

.pd-bt-20 {
    padding-bottom: 20px;
}

.pd-top-20 {
    padding-top: 20px;
}

.pd-all-20 {
    padding: 20px;
}

/* ── ACCORDÉONS ──────────────────────────────────── */
.accordion-header button {
    color: var(--lth-ink) !important;
    font-weight: 600;
    font-size: .95rem;
}

.accordion-button,
.accordion-button:not(.collapsed) {
    background-color: var(--lth-stone);
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--lth-thermal) !important;
}

/* ── CAROUSELS ───────────────────────────────────── */
.carousel-indicators button {
    background-color: var(--lth-thermal) !important;
    border-radius: 50rem;
    width: 8px !important;
    height: 8px !important;
}

/* ── CARTES ──────────────────────────────────────── */
.card {
    border: 1px solid var(--lth-fog);
    border-radius: var(--lth-radius-md);
    box-shadow: var(--lth-shadow-card);
    transition: var(--lth-transition);
    overflow: hidden;
    background: #fff;
}

.card:hover {
    box-shadow: var(--lth-shadow-hover);
    transform: translateY(-3px);
    border-color: var(--lth-thermal-light);
}

.card-recommanded {
    border: 2px solid var(--lth-gold);
    box-shadow: 0 4px 20px rgba(212, 163, 115, .2);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--lth-ink);
    margin-bottom: .4rem;
}

.card-text {
    font-size: .9rem;
    color: var(--lth-ink-mid);
    font-weight: 400;
}

.shop-card {
    min-height: 330px !important;
}

.cluster-card {
    color: #fff !important;
    font-weight: 600;
    padding: 1.25em;
    border-radius: var(--lth-radius-md);
    background: var(--lth-gradient-hero);
}

.cluster-card h3 {
    color: #fff !important;
    padding-bottom: .75em;
}

.author-card {
    border: 2px solid var(--lth-nature);
    background-color: var(--lth-nature);
    color: #fff;
}

.author-card img {
    border: 3px solid rgba(255, 255, 255, .4);
}

.grey-bg-card {
    border: 1px solid var(--lth-fog);
    background-color: var(--lth-linen);
}

.review-rate-card {
    border: 2px solid var(--lth-nature);
    background: var(--lth-gradient-hero);
    color: #fff;
}

.review-rate-card .rate-label {
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .8;
}

.review-rate-card .rate-score {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
}

.product-card .card-title {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card .card-text {
    height: 9em;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── IMAGES ──────────────────────────────────────── */
.img-rounded {
    border-radius: var(--lth-radius-md);
}

.img-circle {
    border-radius: 50rem;
}

.related-pill {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--lth-nature);
    background-clip: padding-box;
    background-size: cover;
    background-position: center center;
    margin-left: auto;
    margin-right: auto;
    float: left;
    transition: var(--lth-transition);
}

.related-pill:hover {
    border-color: var(--lth-gold);
    transform: scale(1.05);
}

/* ── BADGES ──────────────────────────────────────── */
.badge-partner {
    background-color: var(--lth-thermal);
    color: #fff;
    border-radius: var(--lth-radius-pill);
    padding: .25em .75em;
    font-weight: 600;
    font-size: .72rem;
}

.badge-partner-white {
    background-color: #fff;
    color: var(--lth-thermal);
    border-radius: var(--lth-radius-pill);
    padding: .25em .75em;
}

.badge-recommandation {
    background: var(--lth-gold);
    color: #fff;
    position: absolute;
    top: 12px;
    left: 12px;
    border-radius: var(--lth-radius-pill);
    padding: 5px 12px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(212, 163, 115, .4);
}

.badge-opening-hours {
    color: var(--lth-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.opened-circle {
    margin-right: 5px;
    border-radius: 99px;
    height: 8px;
    width: 8px;
    background-color: var(--lth-success);
    display: inline-flex;
    flex-shrink: 0;
}

.closed-circle {
    margin-right: 5px;
    border-radius: 99px;
    height: 8px;
    width: 8px;
    background-color: #B23A3A;
    display: inline-flex;
    flex-shrink: 0;
}

.badge-categories {
    color: var(--lth-ink);
    font-size: .78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: var(--lth-stone);
    border: 1px solid var(--lth-fog);
    border-radius: var(--lth-radius-sm);
    padding: 4px 8px;
}

/* ── CTA BOX ─────────────────────────────────────── */
.cta-box {
    background: var(--lth-gradient-hero);
    color: #fff;
    border-radius: var(--lth-radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--lth-shadow-md);
}

.cta-box-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.01em;
    margin-bottom: .5rem;
}

/* ── SECTIONS ALTERNÉES ──────────────────────────── */
.section-alt {
    background-color: var(--lth-stone);
    border-top: 1px solid var(--lth-fog);
    border-bottom: 1px solid var(--lth-fog);
    padding: 3rem 0;
}

.section-stone {
    background-color: var(--lth-stone);
    padding: 3rem 0;
}

/* ── SCORE / NOTE LTH ────────────────────────────── */
.lth-score {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--lth-thermal);
}

.lth-score::before {
    content: '★';
    color: var(--lth-gold);
}

/* ── DIVIDERS ────────────────────────────────────── */
.lth-divider {
    border: none;
    border-top: 1px solid var(--lth-fog);
    margin: 2rem 0;
}

.lth-divider-accent {
    border: none;
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, var(--lth-thermal), var(--lth-nature));
    border-radius: 2px;
    margin: 2rem 0;
}

/* ── HERO SEARCH ─────────────────────────────────── */
#hero-search {
    background: var(--lth-gradient-hero);
    padding: 72px 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#hero-search::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .14), transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(212, 163, 115, .14), transparent 50%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 56px;
}

.hero-eyebrow {
    font-family: var(--font-main);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
    margin: 0 0 10px;
}

#hero-search h1,
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    margin-top: 0;
    margin-bottom: .5rem;
    letter-spacing: -.02em;
    line-height: 1.1;
    text-transform: none;
    text-align: center;
}

.hero-highlight {
    color: var(--lth-gold-light);
    font-style: italic;
}

.hero-sub {
    color: rgba(255, 255, 255, .82);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 32px;
    color: rgba(255, 255, 255, .9);
    flex-wrap: wrap;
}

.hero-stats>div:not(.hero-stats-sep) {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stats strong {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.hero-stats span {
    font-size: .8rem;
    opacity: .85;
}

.hero-stats-sep {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, .25);
    flex-shrink: 0;
}

/* Wave SVG séparateur */
.hero-wave {
    display: block;
    width: 100%;
    height: 56px;
    position: relative;
    margin-top: 40px;
}

/* ── BARRE DE RECHERCHE ──────────────────────────── */
.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

/* Variante header */
.header-search-wrapper {
    max-width: 400px;
    width: 100%;
}

.header-search-wrapper .search-box {
    box-shadow: none;
    border: 1.5px solid var(--lth-fog);
    background: rgba(255, 255, 255, .7);
    padding: 4px 4px 4px 16px;
    border-radius: var(--lth-radius-pill);
}

.header-search-wrapper .search-input {
    padding: 8px 14px;
    font-size: 0.9rem;
}

.header-search-wrapper .search-box:focus-within {
    background: #fff;
    border-color: var(--lth-thermal);
    box-shadow: 0 8px 25px rgba(0, 107, 122, .18);
}

.header-search-wrapper .search-results {
    top: calc(100% + 8px);
}

.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid var(--lth-fog);
    border-radius: var(--lth-radius-pill);
    box-shadow: 0 8px 25px rgba(0, 107, 122, .08);
    padding: 4px 4px 4px 20px;
    transition: box-shadow .25s, border-color .25s;
}

.search-box:focus-within {
    border-color: var(--lth-thermal);
    box-shadow: 0 8px 25px rgba(0, 107, 122, .22);
}

.search-icon {
    width: 18px;
    height: 18px;
    color: var(--lth-ink-mid);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 14px;
    font-size: 1rem;
    font-family: var(--font-main);
    background: transparent;
    color: var(--lth-ink);
    min-width: 0;
}

.search-input::placeholder {
    color: var(--lth-ink-muted);
}

.search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

/* Bouton recherche intégré */
.search-btn-inner {
    background: var(--lth-thermal);
    color: #fff;
    border: none;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: .9rem;
    padding: 12px 22px;
    border-radius: var(--lth-radius-pill);
    cursor: pointer;
    transition: var(--lth-transition);
    white-space: nowrap;
    min-height: 44px;
}

.search-btn-inner:hover {
    background: var(--lth-thermal-dark);
    transform: translateY(-1px);
}

.search-spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid var(--lth-fog);
    border-top-color: var(--lth-thermal);
    border-radius: 50%;
    flex-shrink: 0;
    display: none;
    margin-right: 8px;
}

.search-spinner.active {
    display: block;
    animation: lth-spin .7s linear infinite;
}

@keyframes lth-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Panneau de résultats */
.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--lth-fog);
    border-radius: var(--lth-radius-md);
    box-shadow: var(--lth-shadow-modal);
    max-height: 420px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    text-align: left;
    scrollbar-width: thin;
}

.search-results.open {
    display: block;
}

.results-group-label {
    padding: 10px 18px 4px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--lth-ink-mid);
}

.results-group-label:not(:first-child) {
    border-top: 1px solid var(--lth-fog);
    margin-top: 4px;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    cursor: pointer;
    transition: background var(--lth-transition);
    text-decoration: none;
    color: inherit;
    font-weight: normal;
}

.result-item:hover,
.result-item:focus {
    background: var(--lth-thermal-50);
    color: var(--lth-ink);
    outline: none;
}

.result-thumb {
    width: 44px;
    height: 44px;
    border-radius: var(--lth-radius-sm);
    object-fit: cover;
    background: var(--lth-fog);
    flex-shrink: 0;
}

.result-thumb-placeholder {
    width: 44px;
    height: 44px;
    border-radius: var(--lth-radius-sm);
    background: var(--lth-gradient-card);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.result-info {
    flex: 1;
    min-width: 0;
}

.result-name {
    font-weight: 600;
    font-size: .92rem;
    color: var(--lth-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-meta {
    font-size: .78rem;
    color: var(--lth-ink-mid);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-badge {
    padding: 2px 8px;
    border-radius: var(--lth-radius-pill);
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
}

.badge-therm {
    background: var(--lth-nature-50);
    color: var(--lth-nature-dark);
}

.badge-station {
    background: var(--lth-thermal-50);
    color: var(--lth-thermal);
}

.badge-orientation {
    background: var(--lth-gold-50, #fdf3e7);
    color: var(--lth-gold-dark);
}

.results-empty {
    padding: 24px 18px;
    color: var(--lth-ink-mid);
    font-size: .9rem;
    text-align: center;
}

.results-footer {
    padding: 8px 18px 12px;
    color: var(--lth-ink-mid);
    font-size: .75rem;
    text-align: center;
    border-top: 1px solid var(--lth-fog);
}

/* ── HERO DE PAGE (listes) ───────────────────────── */
.page-hero {
    background: var(--lth-gradient-hero);
    padding: 48px 20px 52px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .12), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(212, 163, 115, .12), transparent 50%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.page-hero .section-title {
    color: rgba(255, 255, 255, .85);
    margin-bottom: .25rem;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-top: .25rem;
    text-transform: none;
}

.page-hero-sub {
    color: rgba(255, 255, 255, .78);
    font-size: 1rem;
    margin-bottom: 0;
}

/* ── GROUPES PAR RÉGION ──────────────────────────── */
.region-group {
    margin-top: 2.5rem;
}

.region-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--lth-fog);
}

.region-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--lth-ink);
    margin: 0;
    text-transform: none;
    letter-spacing: -.01em;
}

.region-count {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--lth-ink-mid);
    background: var(--lth-stone);
    border: 1px solid var(--lth-fog);
    border-radius: var(--lth-radius-pill);
    padding: .2em .8em;
    white-space: nowrap;
}

/* ── CARTE STATION ───────────────────────────────── */
.station-card {
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: var(--lth-radius-md);
    overflow: hidden;
    border: 1px solid var(--lth-fog);
    box-shadow: var(--lth-shadow-card);
    transition: var(--lth-transition);
    background: #fff;
    width: 100%;
}

.station-card:hover {
    box-shadow: var(--lth-shadow-hover);
    transform: translateY(-4px);
    border-color: var(--lth-thermal);
}

.station-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--lth-gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.station-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.station-card:hover .station-card-img img {
    transform: scale(1.04);
}

.station-card-img-placeholder {
    font-size: 3rem;
}

.station-card-body {
    padding: 1rem 1.1rem 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.station-card-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lth-ink);
    margin: 0 0 .4rem;
    text-transform: none;
}

.station-card-desc {
    font-size: .88rem;
    color: var(--lth-ink-mid);
    margin-bottom: .75rem;
    line-height: 1.55;
}

.station-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.station-meta-pill {
    font-size: .72rem;
    font-weight: 600;
    color: var(--lth-thermal);
    background: var(--lth-thermal-50);
    border-radius: var(--lth-radius-pill);
    padding: .25em .8em;
}

/* ── CARTE THERME ────────────────────────────────── */
.therm-card {
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: var(--lth-radius-md);
    overflow: hidden;
    border: 1px solid var(--lth-fog);
    box-shadow: var(--lth-shadow-card);
    transition: var(--lth-transition);
    background: #fff;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.therm-card:hover {
    box-shadow: var(--lth-shadow-hover);
    transform: translateY(-4px);
    border-color: var(--lth-thermal);
}

.therm-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--lth-gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.therm-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.therm-card:hover .therm-card-img img {
    transform: scale(1.04);
}

.therm-card-img-placeholder {
    font-size: 3rem;
}

/* Badge score sur image */
.therm-score-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, .96);
    color: var(--lth-thermal);
    font-size: .78rem;
    font-weight: 700;
    border-radius: var(--lth-radius-pill);
    padding: 4px 12px;
    letter-spacing: .03em;
    backdrop-filter: blur(8px);
}

.therm-card-body {
    padding: 1rem 1.1rem 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Lien station dans la carte therme */
.therm-station-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .72rem;
    font-weight: 700;
    color: var(--lth-thermal);
    background: var(--lth-thermal-50);
    border-radius: var(--lth-radius-pill);
    padding: 4px 12px;
    margin-bottom: .6rem;
    text-decoration: none;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: var(--lth-transition);
    width: fit-content;
    position: relative;
    z-index: 2;
}

.therm-station-link:hover {
    background: var(--lth-thermal);
    color: #fff;
}

.therm-card-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lth-ink);
    margin: 0 0 .4rem;
    text-transform: none;
    line-height: 1.25;
}

.therm-card-baseline {
    font-size: .88rem;
    color: var(--lth-ink-mid);
    margin-bottom: .75rem;
    line-height: 1.55;
}

.therm-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.therm-meta-pill {
    font-size: .72rem;
    font-weight: 600;
    border-radius: var(--lth-radius-pill);
    padding: .25em .8em;
}

.therm-meta-city {
    color: var(--lth-ink-mid);
    background: var(--lth-stone);
    border: 1px solid var(--lth-fog);
}

/* ── FICHE ÉTABLISSEMENT ─────────────────────────── */
.page-therm-details {
    --primary-color: var(--lth-thermal);
    --secondary-color: var(--lth-thermal-50);
    --accent-color: var(--lth-thermal-dark);
    --text-color: var(--lth-ink);
    --border-radius: var(--lth-radius-md);
    background-color: var(--lth-linen);
    color: var(--lth-ink);
    font-family: var(--font-main);
}

.page-therm-details .hero-therm {
    background: linear-gradient(160deg, rgba(0, 79, 90, .7) 0%, rgba(42, 58, 68, .6) 60%, rgba(42, 58, 68, .8) 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: var(--lth-radius-md);
    margin-top: 2rem;
    box-shadow: var(--lth-shadow-md);
    position: relative;
    overflow: hidden;
}

.page-therm-details .hero-therm h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    color: white;
    text-align: left;
}

.page-therm-details .hero-therm .baseline {
    font-size: 1.1rem;
    opacity: 0.92;
    position: relative;
    z-index: 2;
    line-height: 1.55;
}

.page-therm-details .hero-bg-icon {
    position: absolute;
    right: -5%;
    bottom: -20%;
    font-size: 15rem;
    opacity: 0.08;
    transform: rotate(-15deg);
}

.page-therm-details .card-glass {
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: var(--lth-radius-md);
    box-shadow: var(--lth-shadow-card);
    padding: 2rem;
    height: 100%;
    transition: transform .3s var(--lth-ease), box-shadow .3s var(--lth-ease);
}

.page-therm-details .card-glass:hover {
    transform: translateY(-3px);
    box-shadow: var(--lth-shadow-hover);
}

.page-therm-details .section-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--lth-ink);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: none;
    letter-spacing: -.01em;
}

.page-therm-details .badge-orientation {
    background-color: var(--lth-nature);
    color: #fff;
    padding: 7px 14px;
    border-radius: var(--lth-radius-pill);
    font-weight: 600;
    font-size: .88rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.page-therm-details .info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-therm-details .info-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--lth-fog);
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    color: var(--lth-ink);
}

.page-therm-details .info-list li:last-child {
    border-bottom: none;
}

.page-therm-details .info-list li svg {
    color: var(--lth-thermal);
    margin-right: 1.2rem;
    margin-top: 0.2rem;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Grille calendrier */
.page-therm-details .calendar-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

@media (max-width: 768px) {
    .page-therm-details .calendar-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.page-therm-details .month-card {
    background: rgba(255, 255, 255, .6);
    border: 1px solid var(--lth-fog);
    border-radius: var(--lth-radius-sm);
    padding: 12px 8px;
    text-align: center;
    transition: all .2s var(--lth-ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.page-therm-details .month-card:hover {
    background: white;
    border-color: var(--lth-thermal);
    transform: scale(1.04);
    box-shadow: var(--lth-shadow-sm);
}

.page-therm-details .month-name {
    font-weight: 700;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--lth-ink);
    margin-bottom: 4px;
}

.page-therm-details .affluence-indicator {
    height: 6px;
    border-radius: 3px;
    margin: 4px 0;
    background: var(--lth-fog);
    width: 100%;
}

.page-therm-details .weather-icon {
    font-size: 1.3rem;
    margin-top: 3px;
}

/* Niveaux d'affluence */
.page-therm-details .affluence-low {
    background-color: var(--lth-success);
}

.page-therm-details .affluence-medium {
    background-color: var(--lth-gold);
}

.page-therm-details .affluence-high {
    background-color: var(--lth-danger);
}

.page-therm-details .feature-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--lth-thermal-50);
    border-radius: var(--lth-radius-md);
    color: var(--lth-thermal);
    height: 100%;
    font-weight: 600;
    transition: all .3s var(--lth-ease);
    border: 1px solid transparent;
}

.page-therm-details .feature-icon-box:hover {
    background: white;
    border-color: var(--lth-thermal-50);
    box-shadow: var(--lth-shadow-sm);
}

.page-therm-details .feature-icon-box svg {
    width: 32px;
    height: 32px;
    margin-bottom: 0.8rem;
}

/* Fades */
.page-therm-details .fade-in {
    animation: fadeIn 0.6s var(--lth-ease);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── FICHE ÉTABLISSEMENT (detail page) ──────────── */

/* Bouton retour */
.lth-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    font-family: var(--font-main);
    color: var(--lth-thermal);
    font-weight: 600;
    font-size: .9rem;
    padding: 8px 0;
    margin-bottom: 20px;
    text-decoration: none;
    transition: var(--lth-transition);
}

.lth-back:hover {
    color: var(--lth-thermal-dark);
    gap: 10px;
}

/* Hero photo plein-fond */
.lth-detail-hero {
    position: relative;
    border-radius: var(--lth-radius-lg);
    overflow: hidden;
    min-height: 420px;
    box-shadow: var(--lth-shadow-md);
    background-size: cover;
    background-position: center;
    background-color: var(--lth-thermal-50);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.lth-detail-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lth-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
            rgba(0, 79, 90, .45) 0%,
            rgba(42, 58, 68, .55) 55%,
            rgba(42, 58, 68, .82) 100%);
}

.lth-detail-hero-content {
    position: relative;
    padding: 48px 40px 36px;
    color: #fff;
}

.lth-detail-hero-content h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin: 0 0 12px;
    color: #fff;
    text-align: left;
}

.lth-detail-baseline {
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .88);
    line-height: 1.55;
}

.lth-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* Chips sur hero photo : variante frosted */
.lth-detail-hero-content .therm-station-link {
    background: rgba(255, 255, 255, .2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
    padding: 5px 12px;
    margin-bottom: 0;
}

.lth-detail-hero-content .therm-station-link:hover {
    background: rgba(255, 255, 255, .35);
    color: #fff;
}

.lth-detail-hero-content .therm-meta-pill {
    background: rgba(255, 255, 255, .18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: .78rem;
    padding: 5px 12px;
}

/* Score badge sur hero */
.lth-score-badge-hero {
    background: rgba(255, 255, 255, .95);
    color: var(--lth-thermal);
    font-weight: 700;
    font-size: .85rem;
    padding: 5px 14px;
    border-radius: var(--lth-radius-pill);
    backdrop-filter: blur(8px);
    letter-spacing: .02em;
}

/* Cure agréée sur hero */
.lth-cure-badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--lth-gold);
    color: #fff;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: var(--lth-radius-pill);
    box-shadow: 0 6px 16px rgba(212, 163, 115, .35);
}

/* Grille principale fiche */
.lth-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    margin-top: 28px;
}

@media (max-width: 992px) {
    .lth-detail-grid {
        grid-template-columns: 1fr;
    }
}

.lth-detail-main {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.lth-detail-side {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Glass cards */
.lth-glass-card {
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: var(--lth-radius-md);
    box-shadow: var(--lth-shadow-card);
    padding: 28px 32px;
    transition: box-shadow .25s var(--lth-ease);
}

.lth-glass-card:hover {
    box-shadow: var(--lth-shadow-hover);
}

/* Titres de sections dans les glass cards */
.lth-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--lth-ink);
    margin: 0 0 18px;
    letter-spacing: -.01em;
}

.lth-section-title svg {
    width: 20px;
    height: 20px;
    color: var(--lth-thermal);
    flex-shrink: 0;
}

/* Corps de texte dans glass cards */
.lth-lead {
    font-size: 1.05rem;
    color: var(--lth-ink);
    font-weight: 500;
    margin: 0 0 14px;
    line-height: 1.65;
}

.lth-body {
    font-size: .95rem;
    color: var(--lth-ink-mid);
    line-height: 1.75;
    margin: 0 0 14px;
}

.lth-body:last-child {
    margin-bottom: 0;
}

/* Badges d'orientations */
.lth-orientations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lth-orientation {
    display: inline-flex;
    align-items: center;
    background: var(--lth-nature);
    color: #fff;
    font-weight: 600;
    font-size: .88rem;
    padding: 7px 16px;
    border-radius: var(--lth-radius-pill);
    text-decoration: none;
    transition: var(--lth-transition);
}

a.lth-orientation:hover {
    background: var(--lth-nature-dark, #5d8a72);
    color: #fff;
}

/* Lignes sidebar */
.lth-side-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(232, 226, 213, .55);
}

.lth-side-row:last-of-type {
    border-bottom: none;
}

.lth-side-row:first-of-type {
    padding-top: 0;
}

.lth-side-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lth-ink-muted);
}

.lth-side-value {
    font-size: .95rem;
    color: var(--lth-ink);
    font-weight: 500;
    line-height: 1.5;
}

.lth-side-value a {
    color: var(--lth-ink);
    text-decoration: none;
    font-weight: 500;
}

.lth-side-value a:hover {
    color: var(--lth-thermal);
}

/* Sidebar sticky */
.lth-detail-side-sticky {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Boutons glass card */
.lth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: .95rem;
    padding: 12px 24px;
    border-radius: var(--lth-radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    min-height: 48px;
    text-decoration: none;
    transition: var(--lth-transition);
}

.lth-btn--primary {
    background: var(--lth-thermal);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 107, 122, .2);
}

.lth-btn--primary:hover {
    background: var(--lth-thermal-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 107, 122, .3);
}

.lth-btn--ghost {
    background: transparent;
    color: var(--lth-thermal);
    border-color: var(--lth-thermal);
}

.lth-btn--ghost:hover {
    background: var(--lth-thermal);
    color: #fff;
}

.lth-btn--block {
    width: 100%;
    margin-top: 8px;
}

/* Grille calendrier affluence */
.lth-calendar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

@media (max-width: 600px) {
    .lth-calendar {
        grid-template-columns: repeat(4, 1fr);
    }
}

.lth-month {
    background: rgba(255, 255, 255, .6);
    border: 1px solid var(--lth-fog);
    border-radius: var(--lth-radius-sm);
    padding: 10px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: var(--lth-transition);
}

.lth-month.is-closed {
    opacity: .5;
}

.lth-month-name {
    font-size: .72rem;
    font-weight: 700;
    color: var(--lth-ink);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.lth-month-closed {
    font-size: .68rem;
    color: var(--lth-ink-muted);
    margin-top: 4px;
}

.lth-affluence {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
}

.lth-affluence--low {
    background: var(--lth-success);
}

.lth-affluence--medium {
    background: var(--lth-gold);
}

.lth-affluence--high {
    background: var(--lth-danger);
}

.lth-affluence--closed {
    background: var(--lth-fog);
}

.lth-weather {
    font-size: 1.2rem;
    line-height: 1;
}

.lth-weather-temp {
    font-size: .68rem;
    font-weight: 600;
    color: var(--lth-ink-mid);
    line-height: 1;
    margin-top: 2px;
}

.lth-calendar-legend {
    grid-column: 1 / -1;
    display: flex;
    gap: 20px;
    justify-content: center;
    font-size: .8rem;
    color: var(--lth-ink-muted);
    margin-top: 10px;
    flex-wrap: wrap;
}

.lth-calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Boîtes équipements */
.lth-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.lth-feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 12px;
    background: var(--lth-thermal-50);
    border-radius: var(--lth-radius-md);
    color: var(--lth-thermal);
    font-weight: 600;
    font-size: .85rem;
    transition: var(--lth-transition);
    border: 1px solid transparent;
    gap: 8px;
}

.lth-feature-box:hover {
    background: #fff;
    border-color: var(--lth-thermal-50);
    box-shadow: var(--lth-shadow-sm);
}

.lth-feature-box svg {
    width: 28px;
    height: 28px;
    color: var(--lth-thermal);
}

/* Listes à puces sections therme */
.lth-bullet-list {
    margin: 0;
    padding-left: 1.2em;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lth-bullet-list li {
    font-size: .95rem;
    color: var(--lth-ink-mid);
    line-height: 1.5;
}

/* Bloc eau thermale */
.lth-water-block {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--lth-fog);
}

.lth-water-block h4 {
    font-family: var(--font-main);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--lth-ink-muted);
    margin: 0 0 10px;
}

.lth-water-temp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--lth-thermal-50);
    color: var(--lth-thermal);
    font-weight: 700;
    font-size: .88rem;
    padding: 6px 14px;
    border-radius: var(--lth-radius-pill);
}

/* Wrapper principal fiche */
.lth-therm-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 64px;
}

@media (max-width: 768px) {
    .lth-detail-hero {
        min-height: 320px;
        border-radius: var(--lth-radius-md);
    }

    .lth-detail-hero-content {
        padding: 28px 24px 24px;
    }

    .lth-glass-card {
        padding: 20px;
    }

    .lth-therm-detail {
        padding: 16px 16px 48px;
    }
}

/* ── SECTION ÉDITORIALE (homepage, listes) ──────── */
.lth-section {
    padding: 56px 0;
}

.lth-section-alt {
    background: var(--lth-stone);
    border-top: 1px solid var(--lth-fog);
    border-bottom: 1px solid var(--lth-fog);
}

.lth-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 36px;
}

.lth-section-h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
    margin: 0 0 8px;
    color: var(--lth-ink);
}

.lth-section-sub {
    color: var(--lth-ink-mid);
    margin: 0;
    font-size: 1rem;
}

.lth-section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ── GRILLE DE CARTES ────────────────────────────── */
/* Breakpoints alignés sur Bootstrap (col-12 col-sm-6 col-lg-4) */
.lth-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width: 991px) {
    .lth-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .lth-card-grid {
        grid-template-columns: 1fr;
    }
}

/* ── PAGES D'ERREUR ──────────────────────────────── */
.lth-error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.lth-error-inner {
    text-align: center;
    max-width: 520px;
}

.lth-error-code {
    font-family: var(--font-display);
    font-size: 7rem;
    font-weight: 700;
    line-height: 1;
    color: var(--lth-thermal);
    opacity: .15;
    margin: 0 0 16px;
    letter-spacing: -.04em;
}

.lth-error-code--500 {
    color: var(--lth-danger);
}

.lth-error-title {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--lth-ink);
    margin: 0 0 12px;
}

.lth-error-sub {
    font-size: 1rem;
    color: var(--lth-ink-mid);
    line-height: 1.65;
    margin: 0 0 32px;
}

.lth-error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── AVIS ÉQUIPE ─────────────────────────────────── */
.lth-review-card {
    border-left: 3px solid var(--lth-gold);
}

.lth-review-body {
    font-size: .95rem;
    line-height: 1.75;
    color: var(--lth-ink);
    white-space: pre-line;
}

.lth-review-score {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(135deg, rgba(191,155,48,.08) 0%, rgba(191,155,48,.04) 100%);
    border: 1px solid rgba(191,155,48,.25);
    border-radius: var(--lth-radius-md);
    padding: 12px 18px;
    margin-bottom: 20px;
}
.lth-review-score-top {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}
.lth-review-score-star {
    font-size: 1.4rem;
    color: var(--lth-gold);
    line-height: 1;
}
.lth-review-score-value {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--lth-gold);
    line-height: 1;
}
.lth-review-score-denom {
    font-size: .9rem;
    font-weight: 600;
    color: var(--lth-ink-muted);
    align-self: flex-end;
    margin-bottom: 3px;
}
.lth-review-score-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--lth-ink-muted);
    align-self: flex-end;
    margin-bottom: 4px;
    margin-left: 4px;
}

.lth-review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.lth-review-signature {
    margin-top: 0;
    font-size: .82rem;
    font-weight: 600;
    color: var(--lth-gold-dark);
    font-style: italic;
}

.lth-review-ranking-link {
    font-size: .82rem;
    font-weight: 600;
    color: var(--lth-thermal);
    text-decoration: none;
    white-space: nowrap;
}
.lth-review-ranking-link:hover {
    text-decoration: underline;
}

/* ── GALERIE PHOTOS ──────────────────────────────── */
.lth-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

@media (max-width: 575px) {
    .lth-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

.lth-gallery-item {
    display: block;
    border: none;
    padding: 0;
    margin: 0;
    background: none;
    cursor: zoom-in;
    border-radius: var(--lth-radius-sm);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.lth-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, opacity .2s;
    display: block;
}

.lth-gallery-item:hover img {
    transform: scale(1.05);
    opacity: .9;
}

.lth-gallery-item:focus-visible {
    outline: 2px solid var(--lth-thermal);
    outline-offset: 2px;
}

/* ── LIGHTBOX ────────────────────────────────────── */
.lth-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(10, 18, 22, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.lth-lightbox[hidden] {
    display: none;
}

.lth-lightbox-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(92vw, 1100px);
    max-height: 90vh;
    margin: 0;
}

.lth-lightbox-img {
    max-width: 100%;
    max-height: calc(90vh - 40px);
    object-fit: contain;
    border-radius: var(--lth-radius-sm);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .6);
}

.lth-lightbox-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    text-align: center;
}

.lth-lightbox-caption-title {
    color: rgba(255, 255, 255, .85);
    font-size: .85rem;
}

.lth-lightbox-caption-source {
    color: rgba(255, 255, 255, .45);
    font-size: .72rem;
}

.lth-lightbox-close,
.lth-lightbox-prev,
.lth-lightbox-next {
    position: fixed;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
    padding: 0;
}

.lth-lightbox-close:hover,
.lth-lightbox-prev:hover,
.lth-lightbox-next:hover {
    background: rgba(255, 255, 255, .25);
}

.lth-lightbox-close {
    top: 16px;
    right: 16px;
}

.lth-lightbox-prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.lth-lightbox-next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

/* ── ORIENTATIONS ────────────────────────────────── */
.orientation-code-badge {
    font-family: var(--font-main);
    font-weight: 800;
    letter-spacing: .06em;
    font-size: .78rem;
}

/* ── SCROLL ORIENTATIONS (homepage) ─────────────── */
/* ── TOOLS SECTION (homepage) ────────────────────── */
.lth-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .lth-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.lth-tool-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    border-radius: var(--lth-radius-lg, 16px);
    border: 1.5px solid var(--lth-fog);
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: var(--lth-transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.lth-tool-card:hover {
    border-color: var(--lth-thermal);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.lth-tool-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lth-tool-card-icon--gold {
    background: #fef3c7;
    color: #92610a;
}

.lth-tool-card-icon--thermal {
    background: var(--lth-thermal-50, #e6f4f7);
    color: var(--lth-thermal);
}

.lth-tool-card-body {
    flex: 1;
}

.lth-tool-card-tag {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lth-ink-mid);
    margin: 0 0 6px;
}

.lth-tool-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lth-deep);
    margin: 0 0 10px;
    line-height: 1.3;
}

.lth-tool-card-desc {
    font-size: .88rem;
    color: var(--lth-ink-mid);
    line-height: 1.6;
    margin: 0;
}

.lth-tool-card-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--lth-thermal);
    margin-top: auto;
}

.lth-tool-card:hover .lth-tool-card-cta svg {
    transform: translateX(3px);
    transition: transform .2s ease;
}

@media (max-width: 640px) {
    .lth-tools-grid {
        grid-template-columns: 1fr;
    }
}

/* ── ORIENTATIONS SCROLL ─────────────────────────── */
.lth-orientations-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.lth-orientations-scroll::-webkit-scrollbar {
    display: none;
}

.lth-orientation-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: var(--lth-radius-pill);
    border: 1.5px solid var(--lth-fog);
    background: #fff;
    color: var(--lth-ink);
    text-decoration: none;
    transition: var(--lth-transition);
    white-space: nowrap;
}

.lth-orientation-chip:hover {
    border-color: var(--lth-thermal);
    background: var(--lth-thermal-50);
    color: var(--lth-thermal);
}

.lth-orientation-chip-code {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    background: var(--lth-thermal);
    color: #fff;
    padding: 2px 7px;
    border-radius: var(--lth-radius-pill);
}

.lth-orientation-chip:hover .lth-orientation-chip-code {
    background: var(--lth-thermal-dark, #005566);
}

.lth-orientation-chip-name {
    font-size: .88rem;
    font-weight: 500;
}

/* Pathologies (sidebar card/orientations) */
.lth-pathologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lth-pathology {
    display: inline-flex;
    align-items: center;
    background: var(--lth-thermal-50);
    color: var(--lth-thermal);
    font-size: .82rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: var(--lth-radius-pill);
    border: 1px solid rgba(0, 107, 122, .2);
}

.lth-orientation-therms-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--lth-ink);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--lth-fog);
}

/* ── EYEBROW ─────────────────────────────────────── */
.lth-eyebrow {
    font-family: var(--font-main);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--lth-thermal);
    margin: 0 0 10px;
}

.lth-eyebrow--gold {
    color: var(--lth-gold-dark);
}

.lth-eyebrow--thermal {
    color: var(--lth-thermal);
}

.lth-eyebrow--light {
    color: rgba(255, 255, 255, .85);
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
    body {
        font-size: 17px;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-stats-sep {
        display: none;
    }

    .hero-wave {
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ── SIDEBAR INFO LIST ───────────────────────────── */
.lth-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lth-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.lth-info-label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--lth-ink-mid);
    text-transform: uppercase;
    letter-spacing: .04em;
    flex-shrink: 0;
}

.lth-info-value {
    font-size: .92rem;
    color: var(--lth-deep);
    text-align: right;
}

/* ── TOOL PAGES ──────────────────────────────────── */
.lth-tool-page {
    padding-bottom: 80px;
}

.lth-tool-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 0;
}

/* Filters */
.lth-tool-filters {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 24px;
    margin-bottom: 20px;
}

.lth-filter-label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lth-ink-mid);
    margin-bottom: 10px;
}

.lth-filter-group--selects {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.lth-filter-select-wrap {
    flex: 1;
    min-width: 200px;
}

.lth-filter-select {
    width: 100%;
    padding: 9px 14px;
    border: 1.5px solid var(--lth-fog);
    border-radius: var(--lth-radius);
    background: #fff;
    font-family: var(--font-main);
    font-size: .9rem;
    color: var(--lth-deep);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
    transition: border-color .2s;
}

.lth-filter-select:focus {
    outline: none;
    border-color: var(--lth-thermal);
}

/* Month chips */
.lth-month-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lth-month-chip {
    padding: 6px 14px;
    border-radius: var(--lth-radius-pill);
    border: 1.5px solid var(--lth-fog);
    background: #fff;
    font-family: var(--font-main);
    font-size: .82rem;
    font-weight: 500;
    color: var(--lth-ink);
    cursor: pointer;
    transition: var(--lth-transition);
}

.lth-month-chip:hover {
    border-color: var(--lth-thermal);
    color: var(--lth-thermal);
}

.lth-month-chip.active {
    background: var(--lth-thermal);
    border-color: var(--lth-thermal);
    color: #fff;
}

/* Results info */
.lth-tool-results-info {
    font-size: .85rem;
    color: var(--lth-ink-mid);
    margin-bottom: 12px;
}

.lth-tool-results-info span {
    font-weight: 700;
    color: var(--lth-deep);
}

/* Table */
.lth-tool-table-wrap {
    overflow-x: auto;
    border-radius: var(--lth-radius);
    border: 1.5px solid var(--lth-fog);
    background: #fff;
}

.lth-tool-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.lth-tool-table thead tr {
    background: var(--lth-bg);
    border-bottom: 2px solid var(--lth-fog);
}

.lth-tool-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--lth-ink-mid);
    white-space: nowrap;
}

.lth-tool-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--lth-fog);
    vertical-align: middle;
    color: var(--lth-deep);
}

.lth-tool-table tbody tr:last-child td {
    border-bottom: none;
}

.lth-tool-table tbody tr:hover td {
    background: var(--lth-bg);
}

.lth-calendar-name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.lth-calendar-thumb {
    width: 48px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: var(--lth-fog);
}

.lth-calendar-thumb--placeholder {
    background: var(--lth-fog);
}

.lth-calendar-link {
    font-weight: 600;
    color: var(--lth-deep);
}

.lth-calendar-name-cell:hover .lth-calendar-link {
    color: var(--lth-thermal);
}

.lth-calendar-station {
    display: block;
    font-weight: 500;
    font-size: .88rem;
}

.lth-calendar-station-link {
    display: block;
    font-weight: 500;
    font-size: .88rem;
    color: var(--lth-deep);
    text-decoration: none;
}

.lth-calendar-station-link:hover {
    color: var(--lth-thermal);
    text-decoration: underline;
}

.lth-calendar-region {
    display: block;
    font-size: .78rem;
    color: var(--lth-ink-mid);
    margin-top: 2px;
}

.lth-calendar-nc {
    color: var(--lth-ink-mid);
}

.lth-calendar-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.lth-calendar-badge {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    background: var(--lth-thermal);
    color: #fff;
    padding: 2px 7px;
    border-radius: var(--lth-radius-pill);
    white-space: nowrap;
}

.lth-tool-empty {
    padding: 40px;
    text-align: center;
    color: var(--lth-ink-mid);
    font-size: .95rem;
}

/* Ranking - rank column */
.lth-col-rank {
    width: 44px;
    text-align: center;
}

.lth-rank-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: .78rem;
    font-weight: 700;
    background: var(--lth-fog);
    color: var(--lth-ink-mid);
}

.lth-rank-num.lth-rank--gold {
    background: #f5c842;
    color: #7a5c00;
}

.lth-rank-num.lth-rank--silver {
    background: #d0d5dd;
    color: #3f4555;
}

.lth-rank-num.lth-rank--bronze {
    background: #d4935a;
    color: #5c2e00;
}

/* Ranking - score pill */
.lth-col-score {
    text-align: center;
    width: 90px;
}

.lth-score-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    font-weight: 700;
    font-size: .95rem;
    padding: 4px 10px;
    border-radius: var(--lth-radius-pill);
    white-space: nowrap;
}

.lth-score-pill--gold {
    background: #fef3c7;
    color: #92610a;
}

.lth-score-pill--green {
    background: #d1fae5;
    color: #065f46;
}

.lth-score-pill--default {
    background: var(--lth-fog);
    color: var(--lth-ink-mid);
}

.lth-score-denom {
    font-size: .72rem;
    font-weight: 400;
    opacity: .7;
}

/* Ranking - strong points */
.lth-col-strong {
    max-width: 240px;
}

.lth-strong-text {
    font-size: .85rem;
    color: var(--lth-ink-mid);
    line-height: 1.5;
}

/* Ranking - disclaimer */
.lth-ranking-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding: 16px 20px;
    border-radius: var(--lth-radius);
    background: var(--lth-bg);
    border: 1.5px solid var(--lth-fog);
    color: var(--lth-ink-mid);
}

.lth-ranking-disclaimer svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--lth-thermal);
}

.lth-ranking-disclaimer p {
    font-size: .82rem;
    line-height: 1.6;
    margin: 0;
}

.lth-ranking-disclaimer strong {
    color: var(--lth-deep);
}

@media (max-width: 768px) {
    .lth-tool-filters {
        padding: 16px;
    }

    .lth-filter-group--selects {
        flex-direction: column;
    }

    .lth-tool-table th:nth-child(5),
    .lth-tool-table td:nth-child(5) {
        display: none;
    }

    .lth-col-strong {
        display: none;
    }
}

/* ── MAP TOOL ─────────────────────────────────────── */
.lth-map-controls {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding: 16px 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.lth-map-filter {
    flex: 0 0 320px;
}

.lth-map-count {
    margin: 0 0 2px auto;
    font-size: .85rem;
    color: var(--lth-ink-mid);
    white-space: nowrap;
}

.lth-map-count span {
    font-weight: 700;
    color: var(--lth-deep);
}

#lth-map {
    height: 65vh;
    min-height: 520px;
    border-radius: var(--lth-radius-lg, 16px);
    overflow: hidden;
    border: 1.5px solid var(--lth-fog);
    margin-bottom: 32px;
}

/* Marqueur personnalisé */
.lth-map-marker {
    width: 34px;
    height: 34px;
    background: var(--lth-thermal);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
    font-size: .6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.lth-map-marker:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}

/* Cluster personnalisé */
.lth-map-cluster {
    width: 42px;
    height: 42px;
    background: var(--lth-thermal);
    border: 3px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .22);
}

.lth-map-cluster span {
    font-size: .78rem;
    font-weight: 700;
    color: #fff;
}

/* Popup Leaflet - overrides */
.leaflet-popup-content-wrapper {
    padding: 0 !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .15) !important;
}

.leaflet-popup-content {
    margin: 0 !important;
    width: 220px !important;
}

/* Popup card */
.lth-map-popup {
    width: 220px;
}

.lth-map-popup-img {
    width: 100%;
    height: 118px;
    object-fit: cover;
    display: block;
}

.lth-map-popup-body {
    padding: 12px 14px 14px;
}

.lth-map-popup-header {
    margin-bottom: 6px;
}

.lth-map-popup-score {
    font-size: .75rem;
    font-weight: 700;
    background: #fef3c7;
    color: #92610a;
    padding: 2px 8px;
    border-radius: 20px;
}

.lth-map-popup-name {
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 700;
    color: var(--lth-deep);
    margin: 0 0 4px;
    line-height: 1.3;
}

.lth-map-popup-station {
    display: inline-block;
    margin-bottom: 6px;
    pointer-events: none;
}

.lth-map-popup-meta {
    font-size: .78rem;
    color: var(--lth-ink-mid);
    margin: 0 0 8px;
}

.lth-map-popup-orientations {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}

.lth-map-popup-link {
    font-size: .82rem;
    font-weight: 600;
    color: var(--lth-thermal);
    text-decoration: none;
}

.lth-map-popup-link:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .lth-map-filter {
        flex: 1 1 100%;
    }

    .lth-map-count {
        margin-left: 0;
    }

    #lth-map {
        height: 55vh;
        min-height: 380px;
    }
}

/* ── LEGALS PAGE ─────────────────────────────────── */
.lth-legals-page {
    padding: 48px 0 80px;
}

.lth-legals-inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

.lth-legals-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--lth-deep);
    margin-bottom: 40px;
}

.lth-legals-section {
    margin-bottom: 36px;
}

.lth-legals-section h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lth-thermal);
    margin-bottom: 10px;
}

.lth-legals-section p,
.lth-legals-section li {
    font-size: .97rem;
    color: var(--lth-deep);
    line-height: 1.7;
}

.lth-legals-section ul {
    padding-left: 20px;
    margin-top: 8px;
}

.lth-legals-section a {
    color: var(--lth-thermal);
    text-decoration: underline;
}

.lth-legals-section a:hover {
    color: var(--lth-thermal-dark, var(--lth-thermal));
    text-decoration: none;
}

/* ==========================================================================
   ARTICLES / MAGAZINE
   ========================================================================== */

/* ── Corps de l'article (dans la glass-card) ──────────────────────────────── */

.lth-article-content {
    /* Le padding est fourni par .lth-glass-card */
}

.lth-article-content p {
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--lth-ink);
    margin-bottom: 1.1rem;
}

.lth-article-content h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--lth-ink);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    padding-top: 2rem;
    border-top: 1px solid var(--lth-fog);
}

.lth-article-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.lth-article-content h3 {
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lth-ink-muted);
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.lth-article-content ul,
.lth-article-content ol {
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.75;
    padding-left: 1.5rem;
    margin-bottom: 1.1rem;
    color: var(--lth-ink);
}

.lth-article-content li { margin-bottom: 0.3rem; }
.lth-article-content strong { font-weight: 600; color: var(--lth-ink); }
.lth-article-content em { font-style: italic; }

.lth-article-content a {
    color: var(--lth-thermal);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.lth-article-content a:hover { color: var(--lth-thermal-dark); }

/* Conclusion */
.lth-article-conclusion {
    border-top: 1px solid var(--lth-fog);
    margin-top: 2.5rem;
    padding-top: 1.75rem;
}

/* ── Sommaire inline (caché sur desktop si sidebar ToC actif) ─────────────── */

.sommaire {
    background: var(--lth-linen);
    border: 1px solid var(--lth-fog);
    border-radius: var(--lth-radius-xs);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}

.sommaire-title {
    font-family: var(--font-main);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lth-ink-muted);
    margin-bottom: 0.85rem;
}

.sommaire ol {
    list-style: none;
    counter-reset: sommaire-counter;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-left: 0;
    margin-bottom: 0;
}

.sommaire li {
    counter-increment: sommaire-counter;
    display: flex;
    gap: 0.65rem;
    font-size: 0.87rem;
    color: var(--lth-ink);
    font-family: var(--font-main);
    margin-bottom: 0;
}

.sommaire li::before {
    content: counter(sommaire-counter, decimal-leading-zero);
    color: var(--lth-ink-muted);
    font-size: 0.68rem;
    font-weight: 600;
    padding-top: 0.1rem;
    min-width: 20px;
    flex-shrink: 0;
}

.sommaire a { color: inherit; text-decoration: none; }
.sommaire a:hover { color: var(--lth-thermal); }

@media (min-width: 993px) {
    .lth-sommaire-hidden-desktop { display: none !important; }
}

/* ── ToC sidebar ──────────────────────────────────────────────────────────── */

.lth-toc-list {
    list-style: none;
    counter-reset: toc-counter;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.lth-toc-item {
    counter-increment: toc-counter;
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

.lth-toc-item::before {
    content: counter(toc-counter, decimal-leading-zero);
    font-family: var(--font-main);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--lth-ink-muted);
    flex-shrink: 0;
}

.lth-toc-item a {
    font-family: var(--font-main);
    font-size: 0.84rem;
    color: var(--lth-ink);
    text-decoration: none;
    line-height: 1.45;
    padding: 0.3rem 0;
    display: block;
    transition: color var(--lth-duration) var(--lth-ease);
    border-bottom: 1px solid var(--lth-fog);
    width: 100%;
}

.lth-toc-item:last-child a { border-bottom: none; }
.lth-toc-item a:hover { color: var(--lth-thermal); }

/* ── Auteur sidebar ───────────────────────────────────────────────────────── */

.lth-article-author-card {
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.lth-article-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.lth-article-author-name {
    font-family: var(--font-main);
    font-weight: 600;
    color: var(--lth-ink);
    font-size: 0.9rem;
}

.lth-article-author-job {
    font-family: var(--font-main);
    font-size: 0.75rem;
    color: var(--lth-ink-muted);
    margin-top: 2px;
    line-height: 1.4;
}

/* ── Catégorie sidebar ────────────────────────────────────────────────────── */

.lth-article-cluster-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--lth-thermal);
    text-decoration: none;
    background: var(--lth-thermal-50);
    border: 1px solid rgba(0, 107, 122, .2);
    padding: 0.4rem 0.85rem;
    border-radius: var(--lth-radius-pill);
    transition: var(--lth-transition);
}

.lth-article-cluster-link:hover {
    background: var(--lth-thermal);
    color: #fff;
    border-color: var(--lth-thermal);
}

/* ── Disclaimer ───────────────────────────────────────────────────────────── */

.lth-article-disclaimer {
    font-family: var(--font-main);
    font-size: 0.72rem;
    color: var(--lth-ink-muted);
    margin-bottom: 0;
    font-style: italic;
    line-height: 1.5;
    padding: 0 4px;
}

/* ── Encadrés ─────────────────────────────────────────────────────────────── */

.encadre {
    border-radius: var(--lth-radius-xs);
    padding: 1.1rem 1.35rem;
    margin: 1.75rem 0;
}

.encadre-label {
    font-family: var(--font-main);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.encadre p,
.encadre ul,
.encadre ol {
    font-family: var(--font-main);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0;
    color: var(--lth-ink);
}

.encadre ul,
.encadre ol { padding-left: 1.25rem; }
.encadre p + p { margin-top: 0.65rem; }

.encadre.cle    { background: var(--lth-thermal-50); border-left: 3px solid var(--lth-thermal); }
.encadre.cle    .encadre-label { color: var(--lth-thermal); }

.encadre.savoir { background: var(--lth-gold-50); border-left: 3px solid var(--lth-gold-dark); }
.encadre.savoir .encadre-label { color: var(--lth-gold-dark); }

.encadre.attention { background: #fdf0f0; border-left: 3px solid var(--lth-danger); }
.encadre.attention .encadre-label { color: var(--lth-danger); }

.encadre.pratique  { background: #e8f0ff; border-left: 3px solid #3a5fa0; }
.encadre.pratique  .encadre-label { color: #3a5fa0; }

/* ── Tables ───────────────────────────────────────────────────────────────── */

.table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid var(--lth-fog);
    border-radius: var(--lth-radius-xs);
}

.lth-article-content .table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-main);
    font-size: 0.82rem;
}

.lth-article-content .table-wrap thead tr { background: var(--lth-ink); color: var(--lth-white); }

.lth-article-content .table-wrap thead th {
    padding: 0.7rem 1rem;
    text-align: left;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.lth-article-content .table-wrap tbody tr:nth-child(even) { background: var(--lth-linen); }
.lth-article-content .table-wrap tbody tr:nth-child(odd)  { background: var(--lth-white); }

.lth-article-content .table-wrap tbody td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--lth-fog);
    vertical-align: top;
    line-height: 1.5;
}

.lth-article-content .table-wrap tbody tr:last-child td { border-bottom: none; }

.tag-semaine {
    display: inline-block;
    background: var(--lth-gold-50);
    color: var(--lth-gold-dark);
    font-weight: 600;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: var(--lth-radius-xs);
    white-space: nowrap;
    font-family: var(--font-main);
}

/* ── Timeline ─────────────────────────────────────────────────────────────── */

.timeline { margin: 1.75rem 0; display: flex; flex-direction: column; gap: 0; }

.timeline-item { display: flex; gap: 1.1rem; position: relative; }

.timeline-spine {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 28px;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--lth-gold);
    border: 2px solid var(--lth-white);
    box-shadow: 0 0 0 2px var(--lth-gold);
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.timeline-line {
    width: 2px;
    background: var(--lth-fog);
    flex: 1;
    margin: 3px 0;
    min-height: 16px;
}

.timeline-item:last-child .timeline-line { display: none; }
.timeline-content { padding-bottom: 1.5rem; flex: 1; }

.timeline-time {
    font-family: var(--font-main);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lth-ink-muted);
    margin-bottom: 0.2rem;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lth-ink);
    margin-bottom: 0.35rem;
}

.timeline-desc {
    font-family: var(--font-main);
    font-size: 0.88rem;
    color: var(--lth-ink);
    line-height: 1.6;
}

/* ── Journée type ─────────────────────────────────────────────────────────── */

.journee-grid {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 0;
    margin: 1.5rem 0;
    border: 1px solid var(--lth-fog);
    border-radius: var(--lth-radius-xs);
    overflow: hidden;
    font-family: var(--font-main);
    font-size: 0.84rem;
}

.journee-heure {
    background: var(--lth-ink);
    color: var(--lth-linen);
    padding: 0.55rem 0.65rem;
    font-weight: 600;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.journee-activite {
    padding: 0.55rem 0.9rem;
    color: var(--lth-ink);
    border-bottom: 1px solid var(--lth-fog);
    display: flex;
    align-items: center;
    font-size: 0.88rem;
}

.journee-heure:last-of-type,
.journee-activite:last-of-type { border-bottom: none; }

.journee-activite.libre { background: var(--lth-linen); font-style: italic; }
.journee-activite.soin  { background: var(--lth-thermal-50); }

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .journee-grid { grid-template-columns: 60px 1fr; font-size: 0.8rem; }
    .lth-article-author-card { flex-direction: column; gap: 0.5rem; }
}

/* ==========================================================================
   PAGE CATÉGORIE — card/clusters.php
   ========================================================================== */

/* Grille 2 colonnes asymétrique : main large, sidebar étroite */
.lth-cluster-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
}

/* Liste d'articles en lignes horizontales */
.lth-cluster-articles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lth-cluster-article-row {
    display: grid;
    grid-template-columns: 160px 1fr 32px;
    gap: 0;
    align-items: center;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid var(--lth-fog);
    border-radius: var(--lth-radius-md);
    overflow: hidden;
    text-decoration: none;
    color: var(--lth-ink);
    box-shadow: var(--lth-shadow-sm);
    transition: var(--lth-transition);
    min-height: 100px;
}

.lth-cluster-article-row:hover {
    box-shadow: var(--lth-shadow-md);
    border-color: var(--lth-thermal-light);
    transform: translateX(3px);
    text-decoration: none;
    color: var(--lth-ink);
}

/* Vignette */
.lth-cluster-article-img {
    width: 160px;
    height: 100%;
    min-height: 100px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--lth-stone);
    align-self: stretch;
}

.lth-cluster-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s var(--lth-ease);
}

.lth-cluster-article-row:hover .lth-cluster-article-img img {
    transform: scale(1.04);
}

.lth-cluster-article-img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lth-cluster-article-img-placeholder svg {
    width: 28px;
    height: 28px;
    stroke: var(--lth-ink-muted);
    opacity: 0.35;
}

/* Corps texte */
.lth-cluster-article-body {
    padding: 14px 16px;
    min-width: 0;
}

.lth-cluster-article-type {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lth-thermal);
    margin-bottom: 5px;
}

.lth-cluster-article-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lth-ink);
    line-height: 1.3;
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lth-cluster-article-excerpt {
    font-family: var(--font-main);
    font-size: 0.82rem;
    color: var(--lth-ink-muted);
    line-height: 1.5;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lth-cluster-article-meta {
    display: flex;
    gap: 0.75rem;
    font-family: var(--font-main);
    font-size: 0.72rem;
    color: var(--lth-ink-muted);
    flex-wrap: wrap;
}

/* Flèche */
.lth-cluster-article-arrow {
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lth-cluster-article-arrow svg {
    width: 16px;
    height: 16px;
    stroke: var(--lth-thermal);
    opacity: 0.4;
    transition: opacity var(--lth-duration) var(--lth-ease),
                transform var(--lth-duration) var(--lth-ease);
}

.lth-cluster-article-row:hover .lth-cluster-article-arrow svg {
    opacity: 1;
    transform: translateX(3px);
}

/* Contenu éditorial sidebar */
.lth-cluster-content {
    font-family: var(--font-main);
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--lth-ink);
}

.lth-cluster-content p { margin-bottom: 0.75rem; }
.lth-cluster-content p:last-child { margin-bottom: 0; }

/* État vide */
.lth-cluster-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--lth-ink-muted);
    font-family: var(--font-main);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 992px) {
    .lth-cluster-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .lth-cluster-article-row {
        grid-template-columns: 100px 1fr 28px;
        min-height: 80px;
    }
    .lth-cluster-article-img { width: 100px; min-height: 80px; }
    .lth-cluster-article-title { font-size: 0.9rem; }
    .lth-cluster-article-excerpt { display: none; }
}

/* ==========================================================================
   PAGE MAGAZINE — list/articles.php
   ========================================================================== */

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.lth-mag-hero { padding-bottom: 48px; }

.lth-mag-hero-inner { max-width: 860px; }

.lth-mag-hero-stats {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.25rem;
    font-family: var(--font-main);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    flex-wrap: wrap;
}

.lth-mag-hero-sep { opacity: 0.4; }

/* ── Wrapper et sections ──────────────────────────────────────────────────── */

.lth-mag-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 64px;
}

.lth-mag-section { margin-bottom: 56px; }

.lth-mag-section-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--lth-fog);
    padding-bottom: 12px;
}

.lth-mag-section-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--lth-ink);
    margin: 0;
}

.lth-mag-section-count {
    font-family: var(--font-main);
    font-size: 0.75rem;
    color: var(--lth-ink-muted);
    font-weight: 500;
}

/* ── Featured "À la une" ──────────────────────────────────────────────────── */

.lth-mag-featured-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lth-mag-featured {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 16px;
    min-height: 420px;
}

.lth-mag-featured--inverted {
    grid-template-columns: 340px 1fr;
}

.lth-mag-featured-secondary {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Cartes avec image en fond ────────────────────────────────────────────── */

.lth-mag-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--lth-radius-md);
    background-color: var(--lth-ink);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    text-decoration: none;
    transition: transform var(--lth-duration) var(--lth-ease),
                box-shadow var(--lth-duration) var(--lth-ease);
}

.lth-mag-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--lth-shadow-lg);
    text-decoration: none;
}

.lth-mag-card--hero { min-height: 420px; }
.lth-mag-card--secondary { flex: 1; min-height: 190px; }

.lth-mag-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20, 30, 35, 0.92) 0%,
        rgba(20, 30, 35, 0.45) 55%,
        rgba(20, 30, 35, 0.1) 100%
    );
}

.lth-mag-card-body {
    position: relative;
    padding: 20px 24px 24px;
    color: #fff;
}

.lth-mag-card--secondary .lth-mag-card-body {
    padding: 14px 18px 18px;
}

.lth-mag-type-badge {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 107, 122, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: var(--lth-radius-pill);
    margin-bottom: 10px;
    backdrop-filter: blur(4px);
}

.lth-mag-type-badge--sm { font-size: 0.58rem; margin-bottom: 8px; }

.lth-mag-card-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 10px;
    text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.lth-mag-card-title--sm {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.lth-mag-card-excerpt {
    font-family: var(--font-main);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
    margin: 0 0 12px;
    max-width: 540px;
}

.lth-mag-card-meta {
    display: flex;
    gap: 1rem;
    font-family: var(--font-main);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
}

/* ── Clusters ─────────────────────────────────────────────────────────────── */

.lth-mag-clusters-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lth-mag-cluster-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid var(--lth-fog);
    border-radius: var(--lth-radius-sm);
    padding: 14px 18px;
    text-decoration: none;
    color: var(--lth-ink);
    transition: var(--lth-transition);
    box-shadow: var(--lth-shadow-sm);
}

.lth-mag-cluster-card:hover {
    box-shadow: var(--lth-shadow-md);
    border-color: var(--lth-thermal-light);
    transform: translateX(4px);
    text-decoration: none;
    color: var(--lth-ink);
}

.lth-mag-cluster-img {
    width: 52px;
    height: 52px;
    border-radius: var(--lth-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--lth-thermal-50);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lth-mag-cluster-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lth-mag-cluster-img--placeholder svg {
    width: 24px;
    height: 24px;
    stroke: var(--lth-thermal);
}

.lth-mag-cluster-body { flex: 1; min-width: 0; }

.lth-mag-cluster-name {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lth-ink);
    margin: 0 0 2px;
}

.lth-mag-cluster-desc {
    font-family: var(--font-main);
    font-size: 0.78rem;
    color: var(--lth-ink-muted);
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lth-mag-cluster-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    flex-shrink: 0;
    text-align: center;
    min-width: 44px;
}

.lth-mag-cluster-count span {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--lth-thermal);
    line-height: 1;
}

.lth-mag-cluster-count small {
    font-family: var(--font-main);
    font-size: 0.62rem;
    color: var(--lth-ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lth-mag-cluster-arrow {
    width: 16px;
    height: 16px;
    stroke: var(--lth-thermal);
    flex-shrink: 0;
    margin-left: 8px;
    opacity: 0;
    transition: opacity var(--lth-duration) var(--lth-ease),
                transform var(--lth-duration) var(--lth-ease);
}

.lth-mag-cluster-card:hover .lth-mag-cluster-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* ── Articles grid ────────────────────────────────────────────────────────── */

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

.lth-mag-article-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid var(--lth-fog);
    border-radius: var(--lth-radius-md);
    overflow: hidden;
    text-decoration: none;
    color: var(--lth-ink);
    box-shadow: var(--lth-shadow-sm);
    transition: var(--lth-transition);
}

.lth-mag-article-card:hover {
    box-shadow: var(--lth-shadow-hover);
    transform: translateY(-3px);
    text-decoration: none;
    color: var(--lth-ink);
}

.lth-mag-article-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--lth-stone);
    flex-shrink: 0;
}

.lth-mag-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--lth-ease);
}

.lth-mag-article-card:hover .lth-mag-article-img img {
    transform: scale(1.04);
}

.lth-mag-article-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lth-mag-article-img-placeholder svg {
    width: 32px;
    height: 32px;
    stroke: var(--lth-ink-muted);
    opacity: 0.4;
}

.lth-mag-article-type {
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: var(--font-main);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
    background: var(--lth-thermal);
    padding: 3px 9px;
    border-radius: var(--lth-radius-pill);
}

.lth-mag-article-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lth-mag-article-cluster {
    font-family: var(--font-main);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lth-thermal);
    margin-bottom: 6px;
    display: block;
}

.lth-mag-article-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lth-ink);
    line-height: 1.3;
    margin: 0 0 8px;
}

.lth-mag-article-excerpt {
    font-family: var(--font-main);
    font-size: 0.82rem;
    color: var(--lth-ink-muted);
    line-height: 1.55;
    margin: 0 0 12px;
    flex: 1;
}

.lth-mag-article-meta {
    display: flex;
    gap: 0.85rem;
    font-family: var(--font-main);
    font-size: 0.72rem;
    color: var(--lth-ink-muted);
    border-top: 1px solid var(--lth-fog);
    padding-top: 10px;
    margin-top: auto;
}

/* ── Empty state ──────────────────────────────────────────────────────────── */

.lth-mag-empty {
    text-align: center;
    padding: 64px 24px;
    color: var(--lth-ink-muted);
    font-family: var(--font-main);
    font-size: 1rem;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 992px) {
    .lth-mag-featured,
    .lth-mag-featured--inverted {
        grid-template-columns: 1fr;
    }
    .lth-mag-featured-secondary {
        flex-direction: row;
    }
    .lth-mag-card--hero  { min-height: 340px; }
    .lth-mag-card--secondary { min-height: 200px; flex: 1; }
    .lth-mag-articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .lth-mag-page { padding: 24px 16px 48px; }
    .lth-mag-section { margin-bottom: 40px; }
    .lth-mag-featured-secondary { flex-direction: column; }
    .lth-mag-card--secondary { min-height: 180px; }
    .lth-mag-articles-grid { grid-template-columns: 1fr; }
    .lth-mag-cluster-desc { display: none; }
}