


/* ===================================================== */
/* USEFUL LINKS                                           */
/* ===================================================== */
.main-section-link-useful {margin-top:50px;padding-top:35px;border-top:2px solid rgba(0,0,0,0.08);}
.main-section-link-useful h3 {margin:0px 0px 25px 0px;font-size:24px;color:var(--maincolor1);text-align:center;}
.main-section-link-useful-grid {display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:15px;}
.main-section-link-useful-grid a {padding:12px 20px;border-radius:12px;background:rgba(107,92,141,0.08);color:var(--maincolor1);font-weight:600;text-decoration:none;transition:all .25s ease;}
.main-section-link-useful-grid a:hover {transform:translateY(-2px);background:var(--maincolor1);color:white;}
.main-section-link-useful-active {padding:12px 20px;border-radius:12px;background:var(--maincolor1);color:white;font-weight:700;cursor:default;}

@media all and (max-width:768px) {
    .main-section-link-useful-grid {flex-direction:column;align-items:stretch;}
    .main-section-link-useful-grid a {text-align:center;}
    .main-section-link-useful-active {text-align:center;}
}

/* ===================================================== */
/* EVENT HOME                                             */
/* ===================================================== */
.event-home-main-content {background:var(--bodycolor);min-height:600px;padding:0px 5px 50px 5px;}

/* ===================================================== */
/* HERO EVENT (DESKTOP NEON DESIGN)                     */
/* ===================================================== */
.event-hero {max-width:1300px;margin:10px auto;padding:50px 40px;position:relative;overflow:hidden;text-align:left;border-radius:20px;background:linear-gradient(135deg,var(--maincolor1),var(--maincolor2));color:white;box-shadow:0px 10px 30px rgba(0,0,0,0.15);display:flex;flex-direction:column;gap:40px;}
.event-hero::before {content:"";position:absolute;top:0px;left:0px;width:100%;height:100%;background-image:radial-gradient(rgba(255,255,255,0.10) 2px,transparent 2px);background-size:40px 40px;opacity:0.6;}
.event-hero * {position:relative;z-index:2;}
.event-hero-top {display:flex;align-items:center;gap:40px;width:100%;}
.event-logo-wrapper {flex:0 0 50%;display:flex;justify-content:center;box-sizing:border-box;}
.event-logo {width:100%;max-width:520px;height:auto;padding:10px;background:white;border-radius:15px;object-fit:contain;box-shadow:0px 10px 25px rgba(0,0,0,0.20);box-sizing:border-box;}
.event-hero-text {flex:0 0 50%;padding-left:20px;box-sizing:border-box;}
.event-hero h1 {margin:0px 0px 15px 0px;font-size:52px;line-height:1.2;color:white;}
.event-subtitle {margin:0px 0px 12px 0px;max-width:100%;font-size:22px;line-height:1.6;color:rgba(255,255,255,0.90);}
.event-portal-tag {font-size:18px;opacity:0.7;margin:5px;}
.event-hero-bottom {display:flex;flex-direction:column;gap:35px;border-top:1px solid rgba(255,255,255,0.15);padding-top:30px;}

.event-meta {display:flex;justify-content:center;align-items:stretch;flex-wrap:wrap;gap:20px;margin:0px;}
.event-meta-item {flex:1 1 280px;max-width:32%;padding:35px 25px;background:rgba(24,20,43,0.85);border:1.5px solid rgba(135,206,250,0.4);border-radius:24px;text-align:center;cursor:default;box-shadow:0px 0px 18px rgba(109,197,239,0.35), inset 0px 0px 10px rgba(109,197,239,0.15);box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.event-meta-icon {display:block;font-size:32px;color:rgba(255,255,255,0.85);margin-bottom:15px;}
.event-meta-item strong {display:block;color:rgba(255,255,255,0.45);font-size:13px;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:8px;font-weight:600;}
.event-meta-item strong::after {content:none;}
.event-meta-item span {display:block;font-size:18px;color:white;font-weight:700;line-height:1.4;}


.event-hero-center{width:100%;}

.event-banderole {width:100%;height:auto;padding:10px;background:white;border-radius:15px;object-fit:contain;box-shadow:0px 10px 25px rgba(0,0,0,0.20);box-sizing:border-box;}


/* ===================================================== */
/* ACTION BUTTONS                                         */
/* ===================================================== */
.event-actions {display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:0px;}
.event-actions a {text-decoration:none;padding:15px 25px;border-radius:8px;font-weight:bold;transition:0.2s;text-align:center;}
.event-actions .btn-primary {background:white;color:var(--maincolor1);}
.event-actions .btn-primary:hover {transform:translateY(-2px);box-shadow:0px 5px 15px rgba(0,0,0,0.1);}
.event-actions .btn-secondary {background:rgba(255,255,255,0.15);color:white;border:solid 2px rgba(255,255,255,0.25);}
.event-actions .btn-secondary:hover {background:rgba(255,255,255,0.25);}

/* ===================================================== */
/* CONTENT SECTIONS                                       */
/* ===================================================== */
.event-presentation-section, .event-information-section {max-width:1300px;margin:30px auto;padding:35px;background:white;border-radius:15px;box-shadow:0px 5px 20px rgba(0,0,0,0.08);}
.event-presentation-section h2, .event-information-section h2 {margin:0px 0px 35px 0px;padding-bottom:15px;font-size:40px;color:var(--maincolor1);border-bottom:3px solid rgba(107,92,141,0.5);}
.event-presentation-section p, .event-information-section p {line-height:1.8;font-size:17px;}
.event-presentation-section a, .event-information-section a {color:var(--maincolor1);font-weight:bold;text-decoration:none;}
.event-presentation-section a:hover, .event-information-section a:hover {text-decoration:underline;}

/* ===================================================== */
/* INFO CARDS                                             */
/* ===================================================== */
.event-info-grid {display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:20px;margin-top:20px;}
.event-info-card {background:linear-gradient(180deg,#ffffff,#f8f9fc);padding:20px;border-radius:14px;border:2px solid rgba(0,0,0,0.02);box-shadow:0px 5px 20px rgba(0,0,0,0.04);transition:0.25s;}
.event-info-card:hover {transform:translateY(-8px);box-shadow:0px 15px 35px rgba(0,0,0,0.12);}
.event-info-icon {width:65px;height:65px;display:flex;align-items:center;justify-content:center;border-radius:15px;background:linear-gradient(135deg,#33406f,#6d5b8d);color:white;font-size:26px;margin-bottom:20px;}
.event-info-card h3 {margin:0px 0px 10px 0px;color:var(--maincolor1);font-size:30px;}
.event-info-card p {margin:0px;line-height:1.8;color:#444444;font-size:17px;word-break:break-word;}

/* ===================================================== */
/* RESPONSIVE & MOBILE (BOX CONTAINER STYLE)             */
/* ===================================================== */
@media all and (max-width:768px) {
    .event-home-main-content {padding:0px 10px 30px 10px;}
    .event-logo-wrapper {flex:0 0 100%;width:100%;}
    .event-hero-text {flex:0 0 100%;width:100%;padding-left:0px;}
    .event-hero {margin:20px auto;padding:35px 20px;gap:30px;}
    .event-hero-top {flex-direction:column;text-align:center;gap:20px;}
    /*.event-logo {width:220px;height:220px;}*/
    .event-hero h1 {font-size:34px;line-height:1.4;}
    .event-subtitle {font-size:16px;line-height:1.7;}
    .event-hero-bottom {padding-top:10px;}
    
    /* CADRE ENVELOPPANT POUR LE BLOC INFO SUR MOBILE */
    .event-meta {flex-direction:column;}
    .event-meta-item {max-width:100%;padding:15px 10px;}

    /*
    .event-meta {flex-direction:column;align-items:stretch;width:100%;gap:18px;margin:15px 0px;padding:22px 20px;background:rgba(24,20,43,0.5);border:1.5px solid rgba(135,206,250,0.25);border-radius:18px;box-shadow:0px 4px 15px rgba(0,0,0,0.15);box-sizing:border-box;}
    .event-meta-item {width:auto;box-sizing:border-box;padding:0px;flex:none;text-align:left;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:15px;background:none!important;border:none!important;box-shadow:none!important;border-radius:0px;}
    */
    /* SEPARATION VISUELLE LÉGÈRE ENTRE LES LIGNES SAUF LA DERNIÈRE */
    /*
    .event-meta-item:not(:last-child) {padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,0.08)!important;}
    
    .event-meta-icon {font-size:20px;color:rgba(135,206,250,0.85);margin-bottom:0px;width:25px;text-align:center;flex-shrink:0;}
    .event-meta-item strong {display:block;margin-bottom:2px;font-size:11px;color:rgba(255,255,255,0.45);text-transform:uppercase;letter-spacing:1px;width:auto;}
    .event-meta-item strong::after {content:none;}
    .event-meta-item span {display:block;font-size:14px;line-height:1.3;font-weight:600;width:auto;color:white;}
    */
    
    .event-actions {flex-direction:column;align-items:stretch;width:100%;}
    .event-actions a {width:100%;max-width:100%;box-sizing:border-box;}
    .event-presentation-section, .event-information-section {padding:25px 20px;}
    .event-presentation-section h2, .event-information-section h2 {font-size:28px;}
    .event-info-grid {grid-template-columns:1fr;}
    .event-info-card {padding:10px;}
    .event-info-card h3 {font-size:20px;}
    .event-info-card p {line-height:1.4;font-size:15px;}

}
