.event-page{background:#fff;color:#17171c}
.event-page main{min-height:75vh}
.event-page-container{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:18px 0 42px}
.event-breadcrumb{display:flex;align-items:center;gap:10px;padding:2px 0 18px;color:#676271;font-size:13px}
.event-breadcrumb a:hover{color:#6543f1}
.event-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}
.event-content-column{min-width:0}
.event-side-column{display:grid;gap:18px;position:sticky;top:98px}
.event-hero-card{display:grid;grid-template-columns:minmax(320px,43%) 1fr;gap:26px;align-items:stretch}
.event-cover{position:relative;min-height:410px;border-radius:13px;overflow:hidden;background:#17121f;box-shadow:0 10px 28px rgba(30,20,66,.14)}
.event-cover>img{width:100%;height:100%;min-height:410px;object-fit:cover}
.event-cover::after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.55));pointer-events:none}
.event-category-badge{position:absolute;z-index:2;left:16px;top:16px;padding:7px 11px;border-radius:7px;background:#6543f1;color:#fff;font-size:11px;font-weight:850;text-transform:uppercase}
.event-interest-badge{position:absolute;z-index:2;left:16px;bottom:16px;max-width:180px;padding:10px 12px;border-radius:9px;background:#fff;color:#17171c;font-size:12px;font-weight:700;box-shadow:0 8px 22px rgba(0,0,0,.18)}
.event-mobile-tools{display:none}
.event-summary{display:flex;flex-direction:column;justify-content:center;padding:18px 4px}
.event-summary-category{display:none}
.event-summary h1{margin:0 0 17px;font-size:42px;line-height:1.05;letter-spacing:-1.6px}
.event-summary-line{margin:0 0 15px;color:#45404d;line-height:1.55}
.event-summary-line>span{display:inline-block;width:26px;color:#6543f1;font-weight:800}
.event-summary-line strong{display:inline-block;margin-left:28px;color:#27232e}
.event-tags{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 20px}
.event-tags span{padding:6px 10px;border-radius:999px;background:#f2efff;color:#6543f1;font-size:12px;font-weight:700}
.event-description-intro{font-size:14px;line-height:1.65;color:#37333d}
.event-description-intro p{margin:0 0 9px}
.event-byline{margin-top:16px;color:#777281;font-size:12px}
.event-mobile-actions{display:none}
.event-panel{margin-top:22px;padding:22px;border:1px solid #e9e6ef;border-radius:13px;background:#fff;box-shadow:0 6px 20px rgba(32,23,67,.035)}
.event-panel h2,.event-gallery-section h2,.event-similar-section h2,.event-side-card h2{margin:0 0 17px;font-size:18px}
.event-panel h2 span,.event-gallery-section h2 span,.event-similar-section h2 span{color:#6543f1}
.event-about p{margin:0 0 10px;color:#45404d;line-height:1.7}
.schedule-grid{display:grid;grid-template-columns:1fr 270px;gap:26px;align-items:start}
.schedule-row{display:grid;grid-template-columns:72px 1fr;gap:10px;padding:9px 0}
.schedule-row time{font-weight:780;color:#24202a}
.schedule-row span{color:#47424e}
.attendance-card{padding:18px;border-radius:12px;background:linear-gradient(135deg,#f7f4ff,#eee8ff)}
.attendance-card strong{display:block;font-size:15px}
.attendance-card p{margin:8px 0 13px;color:#666171;font-size:12px;line-height:1.5}
.attendance-card button{width:100%;min-height:42px;border:0;border-radius:9px;background:#6543f1;color:#fff;font-weight:760}
.attendance-card button.saved{background:#1f9d5c}
.attendance-card small{display:block;margin-top:9px;color:#625d6c}
.venue-content{display:grid;grid-template-columns:42% 1fr;gap:22px;align-items:center}
.event-place-map{height:190px;border-radius:11px;overflow:hidden;background:url('../images/map-fallback.jpg') center/cover}
.event-place-map-fallback{background:url('../images/map-fallback.jpg') center/cover}
.venue-content h3{margin:0 0 8px;font-size:20px}
.venue-content p{color:#5f5a68;line-height:1.6}
.venue-content a,.event-side-card>a{display:block;margin-top:10px;color:#6543f1;font-weight:700;font-size:13px}
.event-gallery-section,.event-similar-section{margin-top:26px}
.event-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}
.event-section-heading a{color:#6543f1;font-size:13px;font-weight:750}
.event-gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.event-gallery-item{height:115px;margin:0;border-radius:10px;overflow:hidden;background:#eee}
.event-gallery-item img{width:100%;height:100%;object-fit:cover}
.event-similar-rail{display:grid;grid-auto-flow:column;grid-auto-columns:190px;gap:12px;overflow-x:auto;padding:2px 2px 14px;scroll-snap-type:x mandatory}
.similar-event-card{scroll-snap-align:start;border:1px solid #e7e4ec;border-radius:11px;overflow:hidden;background:#fff;text-decoration:none;color:inherit;transition:transform .18s ease,box-shadow .18s ease}
.similar-event-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(33,23,73,.10)}
.similar-event-image{position:relative;height:110px}
.similar-event-image img{width:100%;height:100%;object-fit:cover}
.similar-event-image span{position:absolute;left:8px;bottom:8px;padding:5px 7px;border-radius:5px;background:#fff;font-size:10px;font-weight:850;text-transform:uppercase}
.similar-event-body{padding:10px}
.similar-event-body h3{margin:0 0 5px;font-size:13px;line-height:1.3}
.similar-event-body p{margin:0;color:#6a6572;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.similar-event-body>div{display:flex;gap:8px;margin-top:9px;font-size:10px;color:#6543f1}
.event-side-card{padding:18px;border:1px solid #e9e6ef;border-radius:13px;background:#fff;box-shadow:0 8px 26px rgba(32,23,67,.055)}
.event-actions-card{display:grid;gap:10px}
.event-actions-card>a,.event-actions-card>button{display:flex;align-items:center;gap:12px;width:100%;min-height:54px;margin:0;padding:0 18px;border:1px solid #e5e1ec;border-radius:10px;background:#fff;color:#25212b;font-weight:690;text-align:left}
.event-actions-card .event-action-primary{justify-content:center;border:0;background:linear-gradient(135deg,#7658ff,#5938ed);color:#fff;text-align:center}
.event-actions-card .event-action-primary span{display:grid}
.event-actions-card>a>.ui-icon,.event-actions-card>button>.ui-icon{width:22px!important;height:22px!important;min-width:22px;max-width:22px;max-height:22px;flex:0 0 22px;color:#6847f4}
.event-actions-card .event-action-primary>.ui-icon{width:23px!important;height:23px!important;min-width:23px;max-width:23px;max-height:23px;flex-basis:23px;color:#fff}
.event-summary-line>.ui-icon{width:20px!important;height:20px!important;max-width:20px;max-height:20px;color:#6847f4}

.event-actions-card .event-action-primary small{font-weight:500;opacity:.86}
.event-actions-card button.saved{border-color:#b7e5cb;background:#eefaf3;color:#17864d}
.event-key-info{display:grid;gap:12px;margin:0}
.event-key-info>div{display:grid;grid-template-columns:76px 1fr;gap:10px}
.event-key-info dt{color:#777281;font-size:12px}
.event-key-info dd{margin:0;font-size:12px;font-weight:650;line-height:1.4}
.community-list{display:grid;gap:14px;margin:0;padding:0;list-style:none}
.community-list li{display:grid;grid-template-columns:26px 1fr;gap:9px}
.community-list li>span{color:#21a55f;font-weight:850}
.community-list strong,.community-list small{display:block}
.community-list strong{font-size:12px}
.community-list small{margin-top:3px;color:#777281;font-size:11px;line-height:1.35}
.event-side-card>p{color:#686370;font-size:12px;line-height:1.55}
.event-correction-card button{display:block;width:100%;margin-top:8px;padding:11px 12px;border:1px solid #ebe8f0;border-radius:9px;background:#fff;color:#403a49;text-align:left}
.event-footer-banner{width:min(1180px,calc(100% - 48px));margin:4px auto 28px;padding:18px 22px;border-radius:14px;background:linear-gradient(100deg,#f4efff,#fff);display:flex;align-items:center;justify-content:space-between;gap:20px}
.event-footer-banner strong,.event-footer-banner span{display:block}
.event-footer-banner strong{font-size:14px}
.event-footer-banner span{margin-top:4px;color:#6c6674;font-size:12px}
.event-footer-banner a{padding:11px 16px;border:1px solid #8b72ff;border-radius:9px;color:#6543f1;font-weight:760;font-size:12px}
.event-error-state{width:min(620px,calc(100% - 36px));margin:90px auto;padding:50px;text-align:center;border:1px solid #ebe7f1;border-radius:20px;background:#fff}
.event-error-icon{width:64px;height:64px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;background:#f1edff;color:#6543f1;font-size:28px}
.event-error-state h1{margin:0 0 12px}
.event-error-state p{color:#777281}
.event-error-state a{display:inline-flex;margin-top:14px;padding:12px 18px;border-radius:10px;background:#6543f1;color:#fff;font-weight:750}
.event-detail-loader{display:flex;justify-content:center;align-items:center;gap:7px;min-height:310px}
.event-detail-loader.small{min-height:100px}
.event-detail-loader span{width:10px;height:10px;border-radius:50%;background:#6543f1;animation:event-loader .9s infinite alternate}
.event-detail-loader span:nth-child(2){animation-delay:.2s}
.event-detail-loader span:nth-child(3){animation-delay:.4s}
@keyframes event-loader{to{opacity:.25;transform:translateY(-4px)}}
.event-cache-notice{padding:8px 16px;background:#fff7dc;color:#805f00;text-align:center;font-size:12px}
.event-muted{color:#777281;line-height:1.5}
.event-toast{position:fixed;left:50%;bottom:28px;z-index:2000;transform:translate(-50%,20px);padding:12px 18px;border-radius:999px;background:#211d29;color:#fff;font-size:13px;opacity:0;pointer-events:none;transition:.2s ease}
.event-toast.show{opacity:1;transform:translate(-50%,0)}
.event-page .leaflet-control-attribution{font-size:8px}

@media(max-width:960px){
  .event-layout{grid-template-columns:1fr}
  .event-side-column{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
  .event-actions-card{grid-column:1/-1;grid-template-columns:repeat(4,1fr)}
  .event-actions-card>a,.event-actions-card>button{justify-content:center;padding:0 10px}
}
@media(max-width:700px){
  .event-page-container{width:100%;padding:0 0 28px}
  .event-breadcrumb{display:none}
  .event-layout{display:block}
  .event-hero-card{display:block}
  .event-cover{min-height:265px;border-radius:0;box-shadow:none}
  .event-cover>img{min-height:265px;height:265px}
  .event-category-badge,.event-interest-badge{display:none}
  .event-mobile-tools{position:absolute;z-index:4;left:16px;right:16px;top:18px;display:flex;align-items:center;gap:10px}
  .event-mobile-tools a,.event-mobile-tools button{width:46px;height:46px;border:0;border-radius:50%;display:grid;place-items:center;background:#fff;color:#211d29;font-size:22px;box-shadow:0 8px 20px rgba(0,0,0,.16)}
  .event-mobile-tools a{margin-right:auto}
  .event-summary{position:relative;z-index:3;margin-top:-24px;padding:24px 20px 4px;border-radius:24px 24px 0 0;background:#fff}
  .event-summary-category{display:inline-flex;align-self:flex-start;padding:7px 11px;border-radius:999px;background:#6543f1;color:#fff;font-size:11px;font-weight:850;text-transform:uppercase}
  .event-summary h1{margin-top:14px;font-size:33px;letter-spacing:-1.2px}
  .event-summary-line{font-size:14px}
  .event-description-intro,.event-byline{display:none}
  .event-mobile-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
  .event-mobile-actions button,.event-mobile-actions a{min-height:50px;border:1px solid #7658ff;border-radius:11px;display:flex;align-items:center;justify-content:center;background:#fff;color:#6543f1;font-weight:780;text-align:center}
  .event-mobile-actions .primary{border:0;background:linear-gradient(135deg,#7658ff,#5938ed);color:#fff}
  .event-mobile-actions .primary.saved{background:#1f9d5c}
  .event-mobile-actions .wide{grid-column:1/-1}
  .event-panel,.event-gallery-section,.event-similar-section{margin:18px 16px 0;padding:0;border:0;box-shadow:none}
  .event-panel{padding-top:2px}
  .schedule-grid{grid-template-columns:1fr}
  .attendance-card{display:none}
  .venue-content{grid-template-columns:42% 1fr;padding:10px;border:1px solid #e9e6ef;border-radius:13px;box-shadow:0 6px 18px rgba(32,23,67,.05)}
  .event-place-map{height:125px}
  .venue-content h3{font-size:16px}
  .venue-content p{font-size:12px}
  .event-gallery{grid-template-columns:repeat(5,116px);overflow-x:auto}
  .event-gallery-item{height:105px}
  .event-similar-rail{grid-auto-columns:72%}
  .event-side-column{display:none}
  .event-footer-banner{width:calc(100% - 32px);margin-top:24px;display:block;text-align:center}
  .event-footer-banner a{display:inline-flex;margin-top:14px}
}
@media(max-width:420px){
  .event-summary h1{font-size:29px}
  .venue-content{grid-template-columns:1fr}
  .event-place-map{height:150px}
}

/* API publique v0.6 */
.schedule-row-multiple span{display:flex;flex-direction:column;gap:3px}
.schedule-row-multiple small{font-size:11px;color:#85808c}
.event-organizer-content{display:flex;gap:16px;align-items:flex-start}
.event-organizer-content>img,.event-organizer-placeholder{width:62px;height:62px;flex:0 0 62px;border-radius:50%;object-fit:cover;background:#f0ebff;display:grid;place-items:center;color:#6543f1;font-size:25px}
.event-organizer-content h3{margin:3px 0 7px;font-size:17px}
.event-organizer-content p{margin:0 0 10px;color:#65606b;line-height:1.55}
.organizer-links{display:flex;flex-wrap:wrap;gap:8px}
.organizer-links a{display:inline-flex;padding:7px 10px;border:1px solid #ded4ff;border-radius:8px;color:#6543f1;text-decoration:none;font-size:12px;font-weight:700}
.event-ticket-primary{background:linear-gradient(135deg,#6c4dff,#7f3cf0)!important;color:#fff!important;border-color:transparent!important}
.event-ticket-link{background:#6543f1!important;color:#fff!important;border-color:#6543f1!important;text-decoration:none;text-align:center}
.event-nearby-section{margin-top:22px}
@media(max-width:760px){.event-organizer-content{gap:12px}.event-organizer-content>img,.event-organizer-placeholder{width:52px;height:52px;flex-basis:52px}}
.event-useful-links{display:flex;flex-direction:column;gap:8px}
.event-useful-links a{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border:1px solid #e5defc;border-radius:9px;color:#6543f1;text-decoration:none;font-weight:750;font-size:13px;background:#faf8ff}
@media(max-width:920px){.event-toast{bottom:102px}}

.attendance-card .secondary-attendance{margin-top:8px;border:1px solid #7658ff;background:#fff;color:#6543f1}.attendance-card .secondary-attendance.interested{border-color:#f1b53d;background:#fff6db;color:#9b6900}
.event-status-notice{display:inline-flex;align-items:center;gap:.35rem;margin:.35rem 0 .75rem;padding:.55rem .8rem;border-radius:999px;font-size:.92rem;background:#fff4df;color:#8a5600;border:1px solid #ffd99a}.event-status-cancelled{background:#fff0f1;color:#b42336;border-color:#ffc7cf}.event-status-rescheduled{background:#f2efff;color:#5535c9;border-color:#d9d0ff}


/* Event detail v3.44.13 — descriptions enrichies + horaires compacts */
.event-description-intro strong,.event-about strong{font-weight:800;color:#24202a}
.event-description-intro em,.event-about em{font-style:italic}
.event-description-intro ul,.event-description-intro ol,.event-about ul,.event-about ol{margin:8px 0 12px;padding-left:22px;color:#45404d;line-height:1.65}
.event-description-intro li,.event-about li{margin:4px 0}
.event-rich-heading{margin-top:13px!important;margin-bottom:5px!important}
.schedule-compact{display:grid;gap:12px}
.schedule-compact-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border:1px solid #e9e3ff;border-radius:11px;background:#f8f6ff}
.schedule-compact-summary>div{display:grid;gap:3px}
.schedule-compact-summary strong{font-size:14px;color:#24202a}
.schedule-compact-summary>div>span{font-size:11px;color:#777281}
.schedule-common-hours{flex:0 0 auto;padding:7px 10px;border-radius:999px;background:#fff;color:#6543f1;font-size:12px;font-weight:800;box-shadow:0 2px 8px rgba(59,39,130,.07)}
.schedule-date-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.schedule-date-card{display:grid;gap:2px;min-width:0;padding:9px 11px;border:1px solid #ece8f2;border-radius:9px;background:#fff}
.schedule-date-card strong{font-size:12px;color:#29242f;text-transform:capitalize}
.schedule-date-card span{font-size:11px;font-weight:750;color:#6543f1}
.schedule-date-card small{overflow:hidden;color:#85808c;font-size:10px;white-space:nowrap;text-overflow:ellipsis}
.schedule-extra.is-hidden{display:none}
.schedule-toggle{justify-self:start;padding:8px 11px;border:1px solid #d9d0ff;border-radius:8px;background:#fff;color:#6543f1;font-size:11px;font-weight:800;cursor:pointer}
.schedule-toggle:hover{background:#f6f2ff}
@media(max-width:420px){.schedule-compact-summary{align-items:flex-start;flex-direction:column}.schedule-date-grid{grid-template-columns:1fr 1fr}.schedule-common-hours{align-self:flex-start}}
