/*
 * Lille Europe Chapter — Events Manager
 * Style dédié à la page Évènements.
 */

body.lec-events-page { background:#f4f4f2; }
body.lec-events-page .page-header { display:none !important; }

.lec-events-shell { min-height:400px; background:#f4f4f2; }

.lec-events-hero {
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 82% 28%, rgba(243,108,33,.24), transparent 30%),
        linear-gradient(115deg, #080808 0%, #141414 62%, #241208 100%);
    color:#fff;
}
.lec-events-hero::after {
    content:"";
    position:absolute;
    left:0; right:0; bottom:0;
    height:5px;
    background:#f36c21;
}
.lec-events-hero-inner { padding:72px 0 78px; }
.lec-events-eyebrow {
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:14px;
    color:#f36c21;
    font-size:13px;
    font-weight:900;
    letter-spacing:.18em;
    text-transform:uppercase;
}
.lec-events-eyebrow::before {
    content:"";
    width:34px;
    height:3px;
    background:#f36c21;
}
.lec-events-hero h1 {
    margin:0 0 12px;
    color:#fff;
    font-size:clamp(38px,5.5vw,60px);
    line-height:1;
    font-weight:900;
    text-transform:uppercase;
}
.lec-events-hero p {
    max-width:700px;
    margin:0;
    color:rgba(255,255,255,.74);
    font-size:17px;
    line-height:1.7;
}

.lec-events-content { padding:0 0 80px; }
.lec-events-card {
    position:relative;
    z-index:2;
    width:min(1120px,calc(100% - 40px));
    margin:-34px auto 0;
    padding:34px;
    border-radius:10px;
    background:#fff;
    box-shadow:0 16px 42px rgba(0,0,0,.12);
}

/* Events Manager list */
.lec-events-card .em-events-list {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
    margin:0 !important;
    padding:0 !important;
}
.lec-events-card .event_list_item,
.lec-events-card .em-item {
    position:relative;
    display:flex;
    flex-direction:column;
    height:100%;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden;
    border:1px solid #dededb !important;
    border-radius:10px !important;
    background:#fff !important;
    box-shadow:0 8px 24px rgba(0,0,0,.07) !important;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.lec-events-card .event_list_item:hover,
.lec-events-card .em-item:hover {
    transform:translateY(-4px);
    border-color:#f36c21 !important;
    box-shadow:0 15px 36px rgba(0,0,0,.12) !important;
}

.lec-events-card .event-image,
.lec-events-card .em-item-image {
    float:none !important;
    width:100% !important;
    height:230px !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    background:#111 !important;
}
.lec-events-card .event-image img,
.lec-events-card .em-item-image img {
    display:block;
    width:100% !important;
    height:100% !important;
    margin:0 !important;
    object-fit:cover !important;
    object-position:center !important;
}
.lec-events-card .event-content,
.lec-events-card .em-item-info {
    display:flex;
    flex:1;
    flex-direction:column;
    padding:24px !important;
    background:#fff !important;
}
.lec-events-card .event-title,
.lec-events-card .em-item-title {
    margin:0 0 12px !important;
    font-size:23px !important;
    line-height:1.18 !important;
    font-weight:900 !important;
}
.lec-events-card .event-title a,
.lec-events-card .em-item-title a {
    color:#111 !important;
    text-decoration:none !important;
}
.lec-events-card .event-title a:hover,
.lec-events-card .em-item-title a:hover { color:#f36c21 !important; }

.lec-events-card .event-date,
.lec-events-card .em-event-date,
.lec-events-card .event-meta,
.lec-events-card .em-item-meta {
    margin:0 0 12px !important;
    color:#555 !important;
    font-size:14px !important;
    line-height:1.65 !important;
}
.lec-events-card .event-date strong,
.lec-events-card .em-event-date strong { color:#f36c21 !important; }

.lec-events-card .event-desc,
.lec-events-card .em-item-desc {
    margin:0 0 18px !important;
    color:#666 !important;
    font-size:15px !important;
    line-height:1.7 !important;
}

.lec-events-card .event-attendees,
.lec-events-card .event-bookings,
.lec-events-card .em-bookings,
.lec-events-card .em-item-bookings {
    margin-top:auto;
    padding-top:12px;
    color:#777 !important;
    font-size:13px !important;
}

.lec-events-card .event-actions,
.lec-events-card .em-item-actions { margin-top:18px !important; }
.lec-events-card .event-actions a,
.lec-events-card .em-item-actions a,
.lec-events-card .event_list_item .button {
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 18px;
    border:0 !important;
    border-radius:5px !important;
    background:#f36c21 !important;
    color:#fff !important;
    font-size:14px !important;
    font-weight:800 !important;
    text-decoration:none !important;
}
.lec-events-card .event-actions a:hover,
.lec-events-card .em-item-actions a:hover,
.lec-events-card .event_list_item .button:hover { background:#c9500e !important; color:#fff !important; }

.lec-events-card .page-numbers,
.lec-events-card .em-pagination a { color:#f36c21 !important; }
.lec-events-card .page-numbers.current,
.lec-events-card .em-pagination .current { background:#f36c21 !important; color:#fff !important; }

@media (max-width:850px){
    .lec-events-card .em-events-list{grid-template-columns:1fr;}
}
@media (max-width:600px){
    .lec-events-hero-inner{padding:58px 0 64px;}
    .lec-events-card{width:calc(100% - 28px);margin-top:-24px;padding:20px;}
    .lec-events-card .event-image,
    .lec-events-card .em-item-image{height:190px !important;}
    .lec-events-card .event-content,
    .lec-events-card .em-item-info{padding:21px !important;}
    .lec-events-card .event-title,
    .lec-events-card .em-item-title{font-size:20px !important;}
}
@media (prefers-reduced-motion:reduce){
    .lec-events-card .event_list_item,
    .lec-events-card .em-item{transition:none;}
}

/* =========================================================
   PAGE INDIVIDUELLE D'UN EVENEMENT
   STYLE LILLE EUROPE CHAPTER
   ========================================================= */

body.lec-event-single-page {
    background: #f4f4f2 !important;
}

body.lec-event-single-page #main {
    background: #f4f4f2 !important;
}

/* ---------------------------------------------------------
   Zone principale
   --------------------------------------------------------- */

body.lec-event-single-page #content-wrap,
body.lec-event-single-page .content-area,
body.lec-event-single-page #content {
    background: transparent !important;
}

/* ---------------------------------------------------------
   Conteneur Events Manager
   --------------------------------------------------------- */

body.lec-event-single-page #em-wrapper {
    width: min(1040px, calc(100% - 30px)) !important;
    margin: 40px auto 70px !important;
}

/* ---------------------------------------------------------
   Bloc principal de l'évènement
   --------------------------------------------------------- */

body.lec-event-single-page .em-event {
    margin: 0 !important;
    padding: 0 !important;
    color: #555 !important;
}

/* Titre */

body.lec-event-single-page .em-event h1 {
    margin: 0 0 30px !important;
    padding: 0 0 20px !important;

    border-bottom: 4px solid #f36c21 !important;

    color: #111 !important;

    font-size: clamp(30px, 4vw, 46px) !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
}

/* ---------------------------------------------------------
   Meta de l'évènement
   --------------------------------------------------------- */

body.lec-event-single-page .em-event-meta,
body.lec-event-single-page .em-event-meta > div {
    color: #555 !important;
}

body.lec-event-single-page .em-event-meta {
    margin-bottom: 28px !important;
}

body.lec-event-single-page .em-event-meta dt,
body.lec-event-single-page .em-event-meta dd {
    color: #555 !important;
}

body.lec-event-single-page .em-event-meta a {
    color: #f36c21 !important;
}

/* ---------------------------------------------------------
   Description
   --------------------------------------------------------- */

body.lec-event-single-page .em-event-description {
    margin-bottom: 32px !important;

    padding: 26px 28px !important;

    border-left: 4px solid #f36c21 !important;
    border-radius: 0 10px 10px 0 !important;

    background: #fff !important;

    box-shadow: 0 8px 24px rgba(0,0,0,.06) !important;
}

body.lec-event-single-page .em-event-description p {
    margin: 0 0 16px !important;

    color: #555 !important;

    font-size: 16px !important;
    line-height: 1.8 !important;
}

body.lec-event-single-page .em-event-description p:last-child {
    margin-bottom: 0 !important;
}

/* ---------------------------------------------------------
   Réservation
   --------------------------------------------------------- */

body.lec-event-single-page .em-booking {
    margin-top: 30px !important;
    padding: 30px !important;

    border: 1px solid #dededb !important;
    border-radius: 10px !important;

    background: #fff !important;

    box-shadow: 0 8px 24px rgba(0,0,0,.06) !important;

    color: #555 !important;
}

body.lec-event-single-page .em-booking h2,
body.lec-event-single-page .em-booking h3 {
    margin-top: 0 !important;

    color: #111 !important;

    font-size: 25px !important;
    font-weight: 900 !important;
}

/* ---------------------------------------------------------
   Message "déjà réservé"
   --------------------------------------------------------- */

body.lec-event-single-page .em-booking-message,
body.lec-event-single-page .em-booking .em-booking-message {
    margin-bottom: 20px !important;

    padding: 16px 18px !important;

    border-left: 4px solid #f36c21 !important;
    border-radius: 0 8px 8px 0 !important;

    background: #fff4ed !important;

    color: #444 !important;
}

/* ---------------------------------------------------------
   Formulaire
   --------------------------------------------------------- */

body.lec-event-single-page .em-booking-form {
    color: #555 !important;
}

body.lec-event-single-page .em-booking-form label {
    color: #222 !important;

    font-weight: 700 !important;
}

body.lec-event-single-page .em-booking-form input[type="text"],
body.lec-event-single-page .em-booking-form input[type="email"],
body.lec-event-single-page .em-booking-form input[type="number"],
body.lec-event-single-page .em-booking-form select,
body.lec-event-single-page .em-booking-form textarea {
    width: 100% !important;

    box-sizing: border-box !important;

    padding: 10px 12px !important;

    border: 1px solid #ccc !important;
    border-radius: 5px !important;

    background: #fff !important;
    color: #222 !important;
}

/* ---------------------------------------------------------
   Boutons
   --------------------------------------------------------- */

body.lec-event-single-page .em-booking-form input[type="submit"],
body.lec-event-single-page .em-booking .button,
body.lec-event-single-page .em-booking button {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    min-height: 46px !important;

    padding: 0 22px !important;

    border: 0 !important;
    border-radius: 5px !important;

    background: #f36c21 !important;
    color: #fff !important;

    font-weight: 900 !important;

    cursor: pointer !important;
}

body.lec-event-single-page .em-booking-form input[type="submit"]:hover,
body.lec-event-single-page .em-booking .button:hover,
body.lec-event-single-page .em-booking button:hover {
    background: #c9500e !important;
    color: #fff !important;
}

/* ---------------------------------------------------------
   Bloc des inscrits
   --------------------------------------------------------- */

body.lec-event-single-page .em-event-attendees {
    margin-top: 32px !important;
    padding: 28px !important;

    border: 1px solid #dededb !important;
    border-radius: 10px !important;

    background: #fff !important;

    box-shadow: 0 8px 24px rgba(0,0,0,.06) !important;
}

body.lec-event-single-page .em-event-attendees h2,
body.lec-event-single-page .em-event-attendees h3 {
    margin-top: 0 !important;

    color: #111 !important;
    font-weight: 900 !important;
}

/* ---------------------------------------------------------
   "Erreur : la vue n'existe pas"
   --------------------------------------------------------- */

body.lec-event-single-page .em-event-attendees .cv-view-error,
body.lec-event-single-page .em-event-attendees .content-view-error {
    color: #777 !important;
}

/* ---------------------------------------------------------
   Liens
   --------------------------------------------------------- */

body.lec-event-single-page #em-wrapper a {
    color: #f36c21 !important;
    font-weight: 700;
}

body.lec-event-single-page #em-wrapper a:hover {
    color: #c9500e !important;
}

/* ---------------------------------------------------------
   Évènements à venir
   --------------------------------------------------------- */

body.lec-event-single-page .em-list-widget {
    color: #555 !important;
}

body.lec-event-single-page .em-list-widget a {
    color: #f36c21 !important;
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 700px) {

    body.lec-event-single-page #em-wrapper {
        width: calc(100% - 24px) !important;
        margin-top: 24px !important;
    }

    body.lec-event-single-page .em-event h1 {
        font-size: 30px !important;
        margin-bottom: 24px !important;
    }

    body.lec-event-single-page .em-event-description,
    body.lec-event-single-page .em-booking,
    body.lec-event-single-page .em-event-attendees {
        padding: 22px !important;
    }
}