/* =====================================================================
   PAGE DE LECTURE D'UN ÉVÉNEMENT (préfixe .evt)
   Même harmonie que la page d'accueil : noir / blanc / beige chaud,
   accent or (#cfa15c), titres de section centrés en capitales.
   Largeur : .container standard, comme Chronologie et Collections.
   ===================================================================== */

.evt {
    --evt-black: #030303;
    --evt-ink: #111111;
    --evt-ink-2: #3a3a3a;
    --evt-muted: #727272;
    --evt-line: #e6e3dd;
    --evt-warm: #f7f6f2;
    --evt-soft: #f8f8f8;
    --evt-gold: #cfa15c;
    --evt-gold-2: #a97d36;
    --evt-gold-soft: #f3e8d6;
    --evt-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

    color: var(--evt-ink);
    background: #fff;
    overflow-x: clip;
}

.evt *,
.evt *::before,
.evt *::after {
    box-sizing: border-box;
    min-width: 0;
}

.evt a {
    text-decoration: none;
}

.evt-label {
    display: inline-block;
    margin: 0 0 8px;
    color: var(--evt-gold-2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.evt-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 2px;
    color: var(--evt-ink) !important;
    border-bottom: 2px solid var(--evt-gold);
    font-size: 14px;
    font-weight: 700;
    transition: gap .15s ease, color .15s ease;
}

.evt-arrow-link:hover {
    gap: 12px;
    color: var(--evt-gold-2) !important;
}

.evt-arrow-link--light {
    color: #fff !important;
}

.evt-arrow-link--light:hover {
    color: var(--evt-gold) !important;
}

/* ---------- Progression & toast ---------- */
.evt-progress {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 10000;
    height: 4px;
    pointer-events: none;
}

.evt-progress span {
    display: block;
    height: 100%;
    background: #cfa15c;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .1s linear;
}

.evt-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 2001;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #fff;
    background: #030303;
    border-radius: 999px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translate(-50%, 16px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}

.evt-toast i {
    color: #cfa15c;
}

.evt-toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Pas de bandeau de titre vide entre le fil d'Ariane et l'en-tête */
.internal-page-title-wrap--empty:has(+ #evt) {
    display: none;
}

/* =====================================================================
   EN-TÊTE ÉDITORIAL (beige chaud de l'accueil)
   ===================================================================== */
.evt-masthead {
    position: relative;
    padding: 56px 0 0;
    background: #fff;
}

/* La bande de repères chevauche le passage du beige au blanc */
.evt-masthead::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 44px;
    background: #fff;
}

.evt-masthead > .container {
    position: relative;
    z-index: 1;
}

.evt-masthead__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 64px;
    align-items: center;
}

.evt-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--evt-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.evt-kicker a {
    position: relative;
    padding-left: 24px;
    color: var(--evt-gold-2) !important;
}

.evt-kicker a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 2px;
    background: var(--evt-gold);
}

.evt-kicker span[aria-hidden] {
    color: #c9c3b8;
}

.evt-title {
    margin: 0 0 22px;
    color: var(--evt-ink);
    font-size: clamp(32px, 3.8vw, 52px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.015em;
    text-wrap: balance;
}

.evt-lead {
    margin: 0 0 28px;
    color: var(--evt-ink-2);
    font-size: 20px;
    line-height: 1.6;
}

/* Signature */
.evt-byline {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid #e2ddd3;
}

.evt-byline__avatars {
    display: flex;
    flex: 0 0 auto;
}

.evt-byline__avatars span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: -10px;
    color: #fff;
    background: var(--evt-black);
    border: 3px solid #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.evt-byline__avatars span:first-child {
    margin-left: 0;
    color: var(--evt-black);
    background: var(--evt-gold);
}

.evt-byline__text {
    display: grid;
    gap: 2px;
}

.evt-byline__by {
    color: var(--evt-ink-2);
    font-size: 15px;
}

.evt-byline__by a,
.evt-byline__by strong {
    color: var(--evt-ink) !important;
    font-weight: 700;
}

.evt-byline__by a:hover {
    color: var(--evt-gold-2) !important;
}

.evt-byline__meta {
    color: var(--evt-muted);
    font-size: 13px;
}

/* Photo encadrée */
.evt-photo {
    margin: 0;
}

.evt-photo__frame {
    position: relative;
    padding: 12px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .04);
}

.evt-photo__frame img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
}

.evt-photo__ticket {
    position: absolute;
    left: -22px;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 12px 16px;
    color: #fff;
    background: var(--evt-black);
    border-radius: 12px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .3);
}

.evt-photo__ticket strong {
    color: var(--evt-gold);
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
}

.evt-photo__ticket span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.25;
    text-transform: uppercase;
}

.evt-photo__flag {
    position: absolute;
    top: 26px;
    right: 26px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    color: var(--evt-black);
    background: var(--evt-gold);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.evt-photo figcaption {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin: 12px 4px 0;
    color: var(--evt-muted);
    font-size: 13px;
    line-height: 1.5;
}

.evt-photo figcaption em {
    font-style: normal;
    opacity: .85;
}

/* Carte date (événement sans photo propre) : noir et or de l'accueil */
.evt-datecard {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: center;
    aspect-ratio: 4 / 3;
    padding: 32px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 80% 12%, rgba(207, 161, 92, .2), transparent 45%),
        #030303;
    border-radius: 18px;
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .5);
    text-align: center;
}

.evt-datecard::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(207, 161, 92, .35);
    border-radius: 10px;
    pointer-events: none;
}

.evt-datecard__label {
    color: var(--evt-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.evt-datecard__day {
    font-size: clamp(88px, 10vw, 140px);
    font-weight: 700;
    line-height: .95;
}

.evt-datecard__month {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.evt-datecard__year {
    margin-top: 6px;
    color: var(--evt-gold);
    font-size: 34px;
    font-weight: 600;
}

.evt-datecard__icon {
    margin-bottom: 12px;
    color: var(--evt-gold);
    font-size: 54px;
}

.evt-datecard__flag {
    margin-top: 16px;
    padding: 6px 12px;
    color: var(--evt-black);
    background: var(--evt-gold);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

/* Bande de repères */
.evt-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin: 52px 0 0;
    background: #fff;
    border: 1px solid var(--evt-line);
    border-top: 0;
    border-radius: 14px;
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .18);
}

.evt-facts > div {
    padding: 18px 22px;
    border-left: 1px solid var(--evt-line);
}

.evt-facts > div:first-child {
    border-left: 0;
}

.evt-facts dt {
    margin-bottom: 4px;
    color: var(--evt-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.evt-facts dd {
    margin: 0;
    color: var(--evt-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.evt-facts dd a {
    color: var(--evt-ink) !important;
    border-bottom: 2px solid var(--evt-gold-soft);
}

.evt-facts dd a:hover {
    border-bottom-color: var(--evt-gold);
}

/* =====================================================================
   LECTURE : sommaire | récit | figure centrale & plus lus
   ===================================================================== */
.evt-reading {
    padding: 56px 0 80px;
    background: #fff;
}

.evt-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 300px;
    gap: 56px;
    align-items: start;
}

.evt-layout--no-aside {
    grid-template-columns: 220px minmax(0, 1fr);
}

.evt-rail__sticky,
.evt-aside__sticky {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 28px;
}

.evt-rail__title {
    margin: 0 0 12px;
    color: var(--evt-ink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.evt-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
    border-left: 2px solid var(--evt-line);
}

.evt-toc a {
    display: block;
    margin-left: -2px;
    padding: 7px 0 7px 16px;
    color: var(--evt-muted) !important;
    border-left: 2px solid transparent;
    font-size: 14px;
    line-height: 1.4;
    transition: color .15s ease, border-color .15s ease;
}

.evt-toc a:hover {
    color: var(--evt-ink) !important;
}

.evt-toc a.is-active {
    color: var(--evt-ink) !important;
    border-left-color: var(--evt-gold);
    font-weight: 700;
}

/* Partage */
.evt-share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.evt-rail .evt-share {
    display: grid;
    grid-template-columns: repeat(3, 38px);
    gap: 8px;
}

.evt-share__btn {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    color: var(--evt-ink-2) !important;
    background: #fff;
    border: 1px solid var(--evt-line);
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}

.evt-share__btn:hover {
    color: #fff !important;
    border-color: transparent;
    transform: translateY(-2px);
}

.evt-share__btn.is-whatsapp:hover { background: #25d366; }
.evt-share__btn.is-facebook:hover { background: #1877f2; }
.evt-share__btn.is-x:hover { background: #0f1419; }
.evt-share__btn.is-linkedin:hover { background: #0a66c2; }
.evt-share__btn.is-copy:hover,
.evt-share__btn.is-pdf:hover { background: var(--evt-gold); }

/* Texte du récit */
.evt-prose {
    color: #222;
    font-size: 19px;
    line-height: 1.8;
}

.evt-prose p {
    margin: 0 0 1.3em;
}

.evt-prose h2 {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 2em 0 .7em;
    color: var(--evt-ink);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.25;
    scroll-margin-top: 120px;
}

.evt-prose h2::before {
    content: "";
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    background: var(--evt-gold);
    transform: rotate(45deg) translateY(-3px);
}

.evt-prose > h2:first-child {
    margin-top: 0;
}

.evt-prose h3,
.evt-prose h4 {
    margin: 1.6em 0 .5em;
    color: var(--evt-ink);
    font-size: 22px;
    font-weight: 600;
}

.evt-prose a {
    color: var(--evt-gold-2);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.evt-prose ul,
.evt-prose ol {
    margin: 0 0 1.4em;
    padding-left: 1.3em;
}

.evt-prose li {
    margin-bottom: .45em;
}

.evt-prose li::marker {
    color: var(--evt-gold);
}

.evt-prose blockquote {
    margin: 1.8em 0;
    padding: 22px 26px;
    color: var(--evt-ink);
    background: var(--evt-warm);
    border-left: 4px solid var(--evt-gold);
    border-radius: 0 12px 12px 0;
    font-size: 21px;
    font-style: italic;
    line-height: 1.55;
}

.evt-prose img {
    max-width: 100%;
    height: auto;
    margin: 1.2em 0;
    border-radius: 12px;
}

.evt-prose table {
    width: 100%;
    margin: 1.4em 0;
    border-collapse: collapse;
    font-size: 15px;
}

.evt-prose th,
.evt-prose td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--evt-line);
    text-align: left;
}

.evt-empty {
    color: var(--evt-muted);
    font-style: italic;
}

/* Fin du récit */
.evt-end {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.evt-end span {
    width: 64px;
    height: 10px;
    background: radial-gradient(circle, var(--evt-gold) 3px, transparent 3.5px) 0 50% / 22px 10px repeat-x;
}

/* Sources */
.evt-sources {
    padding: 22px 24px;
    background: var(--evt-warm);
    border-radius: 14px;
    scroll-margin-top: 120px;
}

.evt-sources__body {
    color: var(--evt-ink-2);
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.evt-sources__body p {
    margin: 0 0 .5em;
}

.evt-sources__body p:last-child {
    margin-bottom: 0;
}

.evt-sources__body ul,
.evt-sources__body ol {
    margin: 0;
    padding-left: 1.2em;
}

.evt-sources__body a {
    color: var(--evt-gold-2);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.evt-copyright {
    margin: 18px 0 0;
    color: var(--evt-muted);
    font-size: 13px;
}

/* Actions de fin */
.evt-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    padding: 20px 0;
    border-top: 0;
    border-bottom: 0;
}

.evt-actions__share {
    display: none;
}

.evt-actions__contribute {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.evt-actions__contribute a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    color: var(--evt-ink-2) !important;
    background: #fff;
    border: 1px solid var(--evt-gold);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: background .15s ease, color .15s ease;
}

.evt-actions__contribute a i {
    color: var(--evt-gold-2);
}

.evt-actions__contribute a:hover {
    color: var(--evt-black) !important;
    background: var(--evt-gold-soft);
}

/* Colonne de droite */
.evt-figure {
    padding: 22px;
    background: var(--evt-warm);
    border-radius: 16px;
}

.evt-figure__photo {
    display: block;
    margin: 4px 0 14px;
}

.evt-figure__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 12px;
}

.evt-figure h2 {
    margin: 0 0 4px;
    color: var(--evt-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.evt-figure__meta {
    margin: 0 0 10px;
    color: var(--evt-muted);
    font-size: 13px;
    font-weight: 600;
}

.evt-figure__excerpt {
    margin: 0 0 14px;
    color: var(--evt-ink-2);
    font-size: 14px;
    line-height: 1.6;
}

/* =====================================================================
   SECTIONS DE PROLONGEMENT (rythme de l'accueil)
   ===================================================================== */
.evt-block {
    padding: 72px 0;
}

/* Séparation des blocs comme sur l accueil : alternance de fonds clairs, sans bordure */
.evt-block--grey {
    background: #f8f8f8;
}

.evt-block--white {
    background: #fff;
}

.evt-block--warm {
    background: #f7f6f2;
}

.evt .collections-strip {
    padding: 3px 0 64px;
}

.evt .home-section__head.text-center {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.evt-block__actions {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}


.evt-people {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.evt-person {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px 18px 14px 14px;
    color: var(--evt-ink) !important;
    background: #fff;
    border: 1px solid var(--evt-line);
    border-radius: 14px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.evt-person:hover {
    border-color: var(--evt-gold);
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .25);
    transform: translateY(-2px);
}

.evt-person img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
}

.evt-person > span {
    display: grid;
    gap: 1px;
}

.evt-person strong {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.evt-person small {
    color: var(--evt-ink-2);
    font-size: 13px;
}

.evt-person em {
    color: var(--evt-gold-2);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

.evt-person > i {
    color: #bdb6aa;
    font-size: 18px;
    transition: color .2s ease;
}

.evt-person:hover > i {
    color: var(--evt-gold);
}

.evt-next__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.evt-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    color: var(--evt-ink) !important;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
    transition: transform .2s ease, box-shadow .2s ease;
}

.evt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .3);
}

.evt-card__media {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #ebe7df;
}

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

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

.evt-card__body {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 16px 18px 20px;
}

.evt-card__body small {
    color: var(--evt-gold-2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.evt-card__body strong {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.evt-card__body em {
    color: var(--evt-muted);
    font-size: 14px;
    font-style: normal;
    line-height: 1.5;
}

/* Le site impose Poppins à tous les éléments (!important) : l'identifiant #evt
   permet de garder une serif de lecture pour le titre et le récit. */
#evt :is(.evt-title, .evt-lead, .evt-prose, .evt-prose *, .evt-figure h2,
    .evt-card__body strong,
    .evt-photo__ticket strong, .evt-datecard__day, .evt-datecard__year) {
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif !important;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1399.98px) {
    .evt-layout {
        grid-template-columns: 200px minmax(0, 1fr) 280px;
        gap: 44px;
    }
}

@media (max-width: 1199.98px) {
    .evt-masthead__grid {
        gap: 40px;
    }

    .evt-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .evt-rail {
        display: none;
    }

    .evt-actions__share {
        display: block;
    }

    .evt-people {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .evt-next__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .evt-masthead__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .evt-masthead__visual {
        order: -1;
    }

    .evt-photo__ticket {
        left: 24px;
        bottom: 24px;
    }

    .evt-datecard {
        aspect-ratio: auto;
        padding: 36px 24px;
    }

    .evt-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .evt-aside__sticky {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

@media (max-width: 767.98px) {
    .evt-masthead {
        padding-top: 20px;
    }

    .evt-masthead__grid {
        gap: 26px;
    }

    .evt-kicker {
        gap: 4px 12px;
    }

    .evt-kicker span[aria-hidden] {
        display: none;
    }

    .evt-photo__frame {
        padding: 8px;
        border-radius: 14px;
    }

    .evt-photo__ticket {
        left: 18px;
        bottom: 18px;
        padding: 8px 12px;
    }

    .evt-photo__ticket strong {
        font-size: 28px;
    }

    .evt-photo__flag {
        top: 18px;
        right: 18px;
    }

    .evt-datecard__day {
        font-size: 84px;
    }

    .evt-lead {
        font-size: 18px;
    }

    .evt-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 32px;
    }

    .evt-facts > div {
        padding: 14px 16px;
        border-left: 0;
        border-top: 1px solid var(--evt-line);
    }

    .evt-facts > div:nth-child(-n+2) {
        border-top: 0;
    }

    .evt-facts > div:nth-child(even) {
        border-left: 1px solid var(--evt-line);
    }

    .evt-facts dd {
        font-size: 15px;
    }

    .evt-reading {
        padding: 36px 0 56px;
    }

    .evt-prose {
        font-size: 18px;
    }

    .evt-prose h2 {
        font-size: 23px;
    }

    .evt-aside__sticky {
        grid-template-columns: minmax(0, 1fr);
    }

    .evt-block {
        padding: 52px 0;
    }

    .evt-people,
    .evt-next__cards {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .evt *,
    .evt-progress span {
        transition: none !important;
    }
}

@media print {
    .evt-progress,
    .evt-rail,
    .evt-aside,
    .evt-actions,
    .evt-block,
    .collections-strip {
        display: none !important;
    }

    .evt-masthead {
        background: none;
    }

    .evt-layout {
        grid-template-columns: 1fr;
    }
}

/* Tous les liens de la page en graisse normale (y compris leur contenu) */
#evt a,
#evt a *,
#evt .evt-toc a.is-active {
    font-weight: 400 !important;
}

/* =====================================================================
   ÉVÉNEMENTS LES PLUS LUS : classement numéroté (distinct des personnages)
   ===================================================================== */
.evt-ranked {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.evt-ranked__item {
    position: relative;
    display: grid;
    grid-template-columns: auto 112px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    height: 100%;
    padding: 18px 18px 18px 16px;
    overflow: hidden;
    color: var(--evt-ink) !important;
    background: #fff;
    border: 1px solid var(--evt-line);
    border-radius: 14px;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

/* Filet doré en haut de la carte, qui s'étire au survol */
.evt-ranked__item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--evt-gold);
    transition: width .3s ease;
}

.evt-ranked__item:hover {
    border-color: #e2d5bf;
    box-shadow: 0 18px 36px -20px rgba(0, 0, 0, .28);
    transform: translateY(-3px);
}

.evt-ranked__item:hover::before {
    width: 100%;
}

.evt-ranked__rank {
    min-width: 46px;
    color: var(--evt-gold);
    font-size: 40px;
    line-height: 1;
    letter-spacing: -.02em;
}

.evt-ranked__thumb {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ebe7df;
    border-radius: 10px;
}

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

.evt-ranked__item:hover .evt-ranked__thumb img {
    transform: scale(1.06);
}

.evt-ranked__body {
    display: grid;
    gap: 6px;
}

.evt-ranked__body strong {
    font-size: 16px;
    line-height: 1.3;
}

.evt-ranked__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 12px;
    color: var(--evt-muted);
    font-size: 12px;
}

.evt-ranked__meta span,
.evt-ranked__views {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.evt-ranked__meta i {
    color: var(--evt-gold);
}

.evt-ranked__views {
    justify-self: start;
    padding: 3px 9px;
    color: var(--evt-gold-2);
    background: var(--evt-gold-soft);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: .02em;
}

#evt :is(.evt-ranked__rank, .evt-ranked__body strong) {
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif !important;
}

@media (max-width: 1199.98px) {
    .evt-ranked {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .evt-ranked {
        grid-template-columns: minmax(0, 1fr);
    }

    .evt-ranked__item {
        grid-template-columns: auto 88px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .evt-ranked__rank {
        min-width: 34px;
        font-size: 30px;
    }
}

/* Figure centrale : description limitée à 2 lignes */
.evt-figure__excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* Continuer la lecture : description limitée à 2 lignes */
.evt-card__body em {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* Partage : icônes seules, à droite de la ligne de publication */
.evt-byline__share {
    margin-left: auto;
}

.evt-byline__share .evt-share {
    flex-wrap: nowrap;
    gap: 6px;
}

.evt-byline__share .evt-share__btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
}

/* Colonnes latérales optionnelles (sommaire à gauche, figure centrale à droite) */
.evt-layout--no-rail {
    grid-template-columns: minmax(0, 1fr) 300px;
}

.evt-layout--no-aside {
    grid-template-columns: 220px minmax(0, 1fr);
}

.evt-layout--no-rail.evt-layout--no-aside {
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 1399.98px) {
    .evt-layout--no-rail {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .evt-layout--no-aside {
        grid-template-columns: 200px minmax(0, 1fr);
    }
}

@media (max-width: 1199.98px) {
    .evt-layout--no-aside,
    .evt-layout--no-rail.evt-layout--no-aside {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 991.98px) {
    .evt-layout--no-rail {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .evt-byline {
        flex-wrap: wrap;
    }

    .evt-byline__share {
        flex-basis: 100%;
        margin-left: 0;
    }
}

/* Sans colonne de droite : on garde une longueur de ligne confortable */
.evt-layout--no-aside .evt-article {
    max-width: 820px;
}

/* Boutons de contribution centrés */
.evt-actions,
.evt-actions__contribute {
    justify-content: center;
}
