/* Extracted from template_page.html to keep HTML free of CSS. */

/* ============================================================
           PAGE ÉVÉNEMENT — FATE BRANDING
           Palette : #EAB308 (jaune) · #111827 (noir) · #F4EFE6 (beige)
        ============================================================ */

        :root {
            --y:   #EAB308;
            --dk:  #111827;
            --bg:  #F4EFE6;
            --wh:  #FFFFFF;
            --gr:  #6B7280;
            --bdr: #E5E7EB;
        }

        /* ── HERO ─────────────────────────────────────────────────── */
        .ev-hero {
            background-color: var(--dk);
            margin-top: 85px;
            padding: 68px 0 0;
            position: relative;
            overflow: hidden;
        }

        @media (max-width: 1010px) {
            .ev-hero { margin-top: 70px; }
        }

        /* motif de points discret */
        .ev-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
            background-size: 28px 28px;
            pointer-events: none;
            z-index: 0;
        }

        /* halo jaune décoratif */
        .ev-hero::after {
            content: '';
            position: absolute;
            top: -60px;
            right: -60px;
            width: 340px;
            height: 340px;
            background: var(--y);
            border-radius: 50%;
            opacity: .07;
            pointer-events: none;
            z-index: 0;
        }

        .ev-hero-inner {
            max-width: 1500px;
            margin: 0 auto;
            padding: 0 48px;
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 56px;
        }

        @media (max-width: 900px) {
            .ev-hero-inner {
                flex-direction: column;
                align-items: flex-start;
                gap: 32px;
                padding: 0 20px;
            }
        }

        /* colonne texte gauche */
        .ev-hero-left {
            display: flex;
            align-items: stretch;
            flex: 1;
            min-width: 0;
        }

        .ev-hero-vbar {
            width: 4px;
            background: var(--y);
            border-radius: 2px;
            margin-right: 28px;
            flex-shrink: 0;
            min-height: 100%;
        }

        .ev-hero-text {
            flex: 1;
            min-width: 0;
        }

        .ev-hero-eyebrow {
            display: inline-block;
            font-family: 'Montserrat', sans-serif;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2.5px;
            color: var(--y);
            margin-bottom: 14px;
        }

        .ev-hero h1 {
            font-family: 'Montserrat', sans-serif !important;
            font-weight: 900 !important;
            font-size: clamp(28px, 4vw, 56px) !important;
            color: var(--wh) !important;
            line-height: 1.08 !important;
            margin: 0 0 24px !important;
            letter-spacing: -1.5px;
        }

        .ev-breadcrumb {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            color: rgba(255,255,255,.35);
            font-family: 'Open Sans', sans-serif;
            font-size: 12.5px;
        }

        .ev-breadcrumb a {
            color: rgba(255,255,255,.35);
            text-decoration: none;
            transition: color .2s;
        }

        .ev-breadcrumb a:hover { color: var(--y); }

        .ev-breadcrumb .ev-chevron {
            color: var(--y);
            font-size: 9px;
        }

        .ev-breadcrumb span:last-child {
            color: rgba(255,255,255,.6);
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 280px;
        }

        /* image droite */
        .ev-hero-img-wrap {
            flex-shrink: 0;
            width: 420px;
            height: 280px;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 24px 60px rgba(0,0,0,.45);
            position: relative;
        }

        .ev-hero-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* overlay dégradé sur l'image */
        .ev-hero-img-wrap::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(17,24,39,.15) 0%, transparent 60%);
            pointer-events: none;
        }

        @media (max-width: 900px) {
            .ev-hero-img-wrap {
                width: 100%;
                height: 220px;
            }
        }

        .ev-hero-rule {
            width: 100%;
            height: 1px;
            background: rgba(255,255,255,.07);
            margin-top: 52px;
        }

        /* ── SECTION CONTENU ──────────────────────────────────────── */
        .ev-content {
            background: var(--bg);
            padding: 72px 0 100px;
        }

        .ev-content-wrap {
            max-width: 1500px;
            margin: 0 auto;
            padding: 0 48px;
        }

        /* ── META PILULE + DATE ───────────────────────────────────── */
        .ev-meta {
            display: flex;
            align-items: center;
            gap: 14px;
            flex-wrap: wrap;
            margin-bottom: 32px;
        }

        .ev-tag {
            background: var(--y);
            color: var(--dk);
            font-family: 'Montserrat', sans-serif;
            font-size: 10px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 2px;
            padding: 5px 14px;
            border-radius: 50px;
        }

        .ev-date {
            font-family: 'Open Sans', sans-serif;
            font-size: 13px;
            color: var(--gr);
            font-weight: 600;
        }

        .ev-date i { margin-right: 5px; }

        /* ── IMAGE PRINCIPALE ─────────────────────────────────────── */
        .ev-main-img {
            width: 100%;
            border-radius: 18px;
            overflow: hidden;
            margin-bottom: 40px;
            box-shadow: 0 16px 48px rgba(0,0,0,.12);
            aspect-ratio: 16/9;
        }

        .ev-main-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* ── TITRE ARTICLE ────────────────────────────────────────── */
        .ev-article-title {
            font-family: 'Montserrat', sans-serif !important;
            font-size: clamp(22px, 3vw, 34px) !important;
            font-weight: 800 !important;
            color: var(--dk) !important;
            line-height: 1.25 !important;
            margin: 0 0 28px !important;
            letter-spacing: -0.5px;
        }

        /* ── CORPS DU CONTENU ─────────────────────────────────────── */
        .ev-body {
            font-family: 'Open Sans', sans-serif;
            font-size: 15.5px;
            line-height: 1.85;
            color: #374151;
        }

        .ev-body p { margin-bottom: 20px; }

        .ev-body h3 {
            font-family: 'Montserrat', sans-serif;
            font-size: 18px;
            font-weight: 700;
            color: var(--dk);
            margin: 36px 0 14px;
            padding-left: 14px;
            border-left: 4px solid var(--y);
        }

        .ev-body ul, .ev-body ol {
            padding-left: 24px;
            margin-bottom: 20px;
        }

        .ev-body li { margin-bottom: 8px; }

        .ev-body strong { color: var(--dk); }

        .ev-body a {
            color: #B45309;
            text-decoration: underline;
            text-underline-offset: 3px;
            transition: color .2s;
        }

        .ev-body a:hover { color: var(--y); }

        /* ── SÉPARATEUR ───────────────────────────────────────────── */
        .ev-sep {
            border: none;
            border-top: 2px solid rgba(0,0,0,.08);
            margin: 52px 0 40px;
        }

        /* ── BOUTON RETOUR ────────────────────────────────────────── */
        .ev-back-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--dk);
            color: var(--wh) !important;
            font-family: 'Montserrat', sans-serif;
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 14px 28px;
            border-radius: 50px;
            text-decoration: none !important;
            transition: background .25s, transform .2s;
        }

        .ev-back-btn:hover {
            background: var(--y);
            color: var(--dk) !important;
            transform: translateY(-2px);
        }

        .ev-back-btn i { font-size: 12px; }

        /* ── RESPONSIVE ───────────────────────────────────────────── */
        @media (max-width: 768px) {
            .ev-content { padding: 48px 0 72px; }
            .ev-content-wrap { padding: 0 16px; }
            .ev-main-img { border-radius: 12px; }
            .ev-article-title { margin-bottom: 20px !important; }
        }

        @media (prefers-reduced-motion: reduce) {
            .ev-back-btn { transition: none; }
        }

/* ── GALLERY ──────────────────────────────────────────────────── */
        .ev-gallery { margin: 48px 0 0; }

        .ev-gallery-title {
            font-size: 22px;
            font-weight: 800;
            color: var(--dk);
            margin-bottom: 24px;
            padding-bottom: 10px;
            border-bottom: 3px solid var(--y);
            display: inline-block;
        }

        .ev-gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin-bottom: 48px;
        }

        .ev-gallery-item {
            display: block;
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            aspect-ratio: 4/3;
            background: #f0f0f0;
            cursor: zoom-in;
            transition: transform .2s, box-shadow .2s;
        }

        .ev-gallery-item:hover {
            transform: scale(1.03);
            box-shadow: 0 8px 28px rgba(0,0,0,.18);
        }

        /* Légende au survol pour les photos (pas les vidéos) */
        .ev-gallery-item:not(.ev-gallery-video)[data-caption]::after {
            content: attr(data-caption);
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 32px 12px 12px;
            background: linear-gradient(transparent, rgba(0,0,0,.72));
            color: #fff;
            font-size: 12px;
            line-height: 1.4;
            text-align: center;
            opacity: 0;
            transition: opacity .25s;
            pointer-events: none;
            border-radius: 0 0 10px 10px;
        }

        .ev-gallery-item:not(.ev-gallery-video)[data-caption]:hover::after {
            opacity: 1;
        }

        .ev-gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* ── zone hero : vidéo 1 grande à gauche, vidéo 2 + photo empilées à droite ── */

        /* vidéo 1 : occupe cols 1-2, rows 1-2 */
        .ev-gallery-grid > :nth-child(1) {
            grid-column: 1 / 3;
            grid-row:    1 / 3;
            aspect-ratio: unset;
        }

        /* vidéo 2 : col 3, row 1 */
        .ev-gallery-grid > :nth-child(2) {
            grid-column: 3;
            grid-row:    1;
            aspect-ratio: 16/9;
        }

        /* photo 3 : col 3, row 2 — plus petite car 4/3 dans une col étroite */
        .ev-gallery-grid > :nth-child(3) {
            grid-column: 3;
            grid-row:    2;
            aspect-ratio: 4/3;
            cursor: zoom-in;
        }

        /* items 4+ : flux normal à partir de la row 3 */
        .ev-gallery-grid > :nth-child(n+4) {
            grid-row: auto;
        }

        .ev-gallery-video {
            position: relative;
            background: #111;
            border-radius: 10px;
            overflow: hidden;
        }

        .ev-gallery-video video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* icône play au survol */
        .ev-gallery-video::after {
            content: '▶';
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 44px;
            color: #fff;
            text-shadow: 0 2px 14px rgba(0,0,0,.7);
            background: rgba(0,0,0,.18);
            opacity: 0;
            transition: opacity .2s;
            pointer-events: none;
            border-radius: 10px;
        }
        .ev-gallery-video:hover::after { opacity: 1; }

        @media (max-width: 768px) {
            .ev-gallery-grid { grid-template-columns: repeat(2, 1fr); }
            .ev-gallery-grid > :nth-child(1) { grid-column: 1 / 3; grid-row: 1; aspect-ratio: 16/9; }
            .ev-gallery-grid > :nth-child(2) { grid-column: 1; grid-row: 2; aspect-ratio: 16/9; }
            .ev-gallery-grid > :nth-child(3) { grid-column: 2; grid-row: 2; }
        }

        @media (max-width: 480px) {
            .ev-gallery-grid { grid-template-columns: 1fr; gap: 8px; }
            .ev-gallery-grid > :nth-child(1),
            .ev-gallery-grid > :nth-child(2),
            .ev-gallery-grid > :nth-child(3) { grid-column: 1; grid-row: auto; aspect-ratio: 16/9; }
        }

/* Classes generated from former inline style attributes. */

.html-style-b7cb12a7 {
    cursor: help;
}
