:root{--at-deep:#073f4b;--at-deep2:#0a5664;--at-gold:#f7b83d;--at-gold2:#ffd06a;--at-white:#fff;--at-ink:#13343d;--at-line:#e5ecee}
.at-nav-shell{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff;box-shadow:0 8px 24px rgba(3,42,49,.08);position:relative;z-index:80;width:100%;}
.at-nav-main{min-height:146px;background:linear-gradient(115deg,var(--at-deep),var(--at-deep2));display:grid;grid-template-columns:minmax(230px,300px) 1fr minmax(390px,580px);align-items:center;gap:28px;padding:0 clamp(24px,4vw,72px);color:#fff}
.at-brand{display:flex;align-items:center;color:#fff!important;text-decoration:none!important;min-width:0;align-self:stretch}.at-brand-logo-slot{display:flex;align-items:center;justify-content:flex-start;height:100%;min-height:96px;max-width:300px}.at-brand-logo-img{display:block!important;width:auto!important;height:auto!important;max-height:104px!important;max-width:275px!important;object-fit:contain!important;background:transparent!important;border:0!important;box-shadow:none!important}.at-brand-logo-fallback{width:185px;height:72px;display:block;background:transparent}
.at-categories{display:flex;justify-content:center;align-items:center;gap:clamp(18px,2vw,34px)}.at-categories a{color:#fff!important;text-decoration:none!important;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:13px;font-weight:700;letter-spacing:.02em;opacity:.94;position:relative;padding:11px 0}.at-categories a:after{content:"";position:absolute;left:50%;right:50%;bottom:1px;height:2px;background:var(--at-gold);transition:.2s}.at-categories a:hover:after,.at-categories a:focus:after{left:12%;right:12%}.at-cat-icon svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.at-search{height:54px;border:1px solid rgba(255,255,255,.28);border-radius:29px;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;background:rgba(255,255,255,.045);overflow:hidden;box-shadow:inset 0 0 0 1px rgba(0,0,0,.04)}.at-search-icon{display:grid;place-items:center;color:var(--at-gold)}.at-search svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.at-search input{border:0!important;background:transparent!important;color:#fff!important;outline:0!important;box-shadow:none!important;width:100%;font-size:14px;padding:0!important}.at-search input::placeholder{color:rgba(255,255,255,.72)}.at-search button{border:0;background:var(--at-gold);color:#163b43;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;cursor:pointer;margin-right:6px}.at-search button:hover{background:var(--at-gold2)}
.at-city-row{min-height:88px;display:flex;align-items:center;gap:28px;padding:0 clamp(24px,4vw,72px);border-bottom:1px solid rgba(247,184,61,.55);background:#fff}.at-city-title{display:flex;align-items:center;gap:15px;padding-right:27px;border-right:1px solid var(--at-line);white-space:nowrap;color:var(--at-ink);font-size:13px;letter-spacing:.08em}.at-pin-round{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--at-deep);color:#fff;box-shadow:0 5px 15px rgba(7,63,75,.18)}.at-pin-round svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.7}
.at-city-list{display:flex;align-items:center;gap:14px;flex:1;min-width:0}.at-city-list a{color:var(--at-ink)!important;text-decoration:none!important;border:1px solid #dbe5e7;border-radius:24px;padding:11px 22px;font-size:14px;background:#fff;white-space:nowrap;transition:.18s}.at-city-list a:hover,.at-city-list a:focus{border-color:var(--at-gold);box-shadow:0 4px 14px rgba(247,184,61,.15);transform:translateY(-1px)}.at-city-list .at-all-cities{margin-left:auto;background:#f5f7f7;border-color:#f0f2f2;font-weight:700;display:flex;align-items:center;gap:10px}.at-all-cities svg{width:17px;height:17px;stroke:var(--at-gold);fill:none;stroke-width:2}

/* v1.2.0 — remplace visuellement l’ancien header du thème, sans modifier le thème */
body.at-header-replaced .at-legacy-header{display:none!important;visibility:hidden!important;position:absolute!important;left:-99999px!important;top:-99999px!important;width:0!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.at-nav-right{display:flex;flex-direction:column;gap:11px;min-width:0}
.at-utility-links{display:flex;justify-content:flex-end;align-items:center;gap:18px;padding-right:8px}
.at-utility-links a{color:rgba(255,255,255,.9)!important;text-decoration:none!important;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.at-utility-links a:hover,.at-utility-links a:focus{color:var(--at-gold)!important}
@media(max-width:1250px){.at-nav-main{grid-template-columns:220px 1fr;min-height:156px}.at-nav-right{grid-column:1/-1;margin-bottom:22px}.at-search{margin-bottom:0}.at-categories{justify-content:flex-end}.at-city-row{overflow-x:auto}.at-city-list{min-width:max-content}.at-city-list .at-all-cities{margin-left:0}}
@media(max-width:800px){.at-nav-main{display:flex;flex-wrap:wrap;padding:18px 18px 20px;gap:16px;min-height:auto}.at-brand{width:100%}.at-brand-logo-slot{min-height:64px}.at-brand-logo-img{max-height:72px!important;max-width:220px!important}.at-categories{order:3;width:100%;justify-content:flex-start;overflow-x:auto;gap:24px;padding-bottom:3px}.at-categories a{flex:0 0 auto}.at-nav-right{order:2;width:100%;margin:0}.at-utility-links{justify-content:flex-start;gap:15px;padding:0 2px}.at-search{width:100%;margin:0}.at-city-row{padding:13px 18px;min-height:auto;gap:16px}.at-city-title{display:none}.at-city-list a{padding:9px 16px;font-size:13px}.at-nav-shell{box-shadow:0 5px 18px rgba(3,42,49,.1)}}

/* v1.1.0 — page résultats personnalisée (aucun calendrier TEC affiché) */
.at-results-wrap{max-width:1500px;margin:0 auto;padding:46px clamp(18px,4vw,60px) 70px;color:var(--at-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.at-results-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:24px}.at-results-heading h1{font-size:38px;line-height:1.05;margin:5px 0 8px;color:#073f4b}.at-results-heading p{margin:0;color:#687d83}.at-kicker{font-size:12px;font-weight:800;letter-spacing:.16em;color:#d7971b}
.at-per-page{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.at-per-page>span{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#687d83;margin-right:3px}.at-per-page a{min-width:38px;height:34px;padding:0 10px;border:1px solid #dce6e8;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#073f4b!important;text-decoration:none!important;font-size:12px;font-weight:800;transition:.15s}.at-per-page a:hover,.at-per-page a.is-active{background:#073f4b;color:#fff!important;border-color:#073f4b}.at-results-heading{gap:20px}.at-results-heading .at-kicker{display:block;margin-bottom:6px}
.at-refine{display:grid;grid-template-columns:1.6fr 1fr 1fr .85fr .85fr 1.15fr auto;gap:12px;align-items:end;background:#fff;border:1px solid #e2e9eb;border-radius:18px;padding:18px;box-shadow:0 10px 30px rgba(3,42,49,.07);margin-bottom:32px}.at-field{display:flex;flex-direction:column;gap:7px;min-width:0}.at-field span{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#60767c}.at-field input,.at-field select{height:46px;width:100%;border:1px solid #d8e3e5;border-radius:11px;background:#fff;color:#153b43;padding:0 13px;outline:none;box-shadow:none}.at-field input:focus,.at-field select:focus{border-color:#f7b83d;box-shadow:0 0 0 3px rgba(247,184,61,.14)}.at-refine-actions{display:flex;flex-direction:column;gap:7px;align-items:stretch}.at-refine-actions button{height:46px;border:0;border-radius:11px;background:#073f4b;color:#fff;font-weight:800;padding:0 18px;white-space:nowrap;cursor:pointer}.at-refine-actions button:hover{background:#0a5664}.at-refine-actions a{text-align:center;font-size:11px;color:#6e8085!important;text-decoration:none!important}
.at-event-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.at-event-card{background:#fff;border:1px solid #e2e9eb;border-radius:18px;overflow:hidden;box-shadow:0 8px 26px rgba(3,42,49,.07);transition:.18s}.at-event-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(3,42,49,.11)}.at-event-image{display:block;aspect-ratio:16/10;background:linear-gradient(135deg,#073f4b,#0a5664);overflow:hidden;text-decoration:none!important}.at-event-image img{width:100%;height:100%;object-fit:cover;display:block}.at-no-image{height:100%;display:grid;place-items:center;text-align:center;color:#f7b83d;font-size:22px;font-weight:800;letter-spacing:.16em;line-height:1.2}.at-event-body{padding:17px}.at-event-date{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#0a5664;font-size:13px;font-weight:800}.at-event-date strong{color:#d7971b}.at-event-body h2{font-size:18px;line-height:1.28;margin:10px 0 7px}.at-event-body h2 a{color:#123940!important;text-decoration:none!important}.at-event-organizer{font-size:13px;color:#667c82;margin-bottom:10px}.at-event-place{display:flex;align-items:flex-start;gap:7px;color:#5c7177;font-size:13px;min-height:38px}.at-event-place svg{width:17px;height:17px;stroke:#d7971b;fill:none;stroke-width:1.8;flex:0 0 auto}.at-event-button{margin-top:14px;display:flex;align-items:center;justify-content:space-between;background:#f3f7f7;border-radius:10px;padding:11px 13px;color:#073f4b!important;text-decoration:none!important;font-size:13px;font-weight:800}.at-event-button svg{width:17px;height:17px;stroke:#d7971b;fill:none;stroke-width:2}.at-results-empty{border:1px solid #e2e9eb;background:#fff;border-radius:18px;padding:32px;text-align:center;display:flex;flex-direction:column;gap:7px;color:#667c82}.at-results-empty strong{font-size:20px;color:#073f4b}.at-pagination{display:flex;justify-content:center;gap:7px;margin-top:34px}.at-pagination .page-numbers{min-width:38px;height:38px;display:grid;place-items:center;border:1px solid #dce6e8;border-radius:10px;color:#073f4b!important;text-decoration:none!important;background:#fff}.at-pagination .current{background:#073f4b;color:#fff!important;border-color:#073f4b}
@media(max-width:1300px){.at-refine{grid-template-columns:repeat(3,1fr)}.at-refine-actions{grid-column:span 3;flex-direction:row;align-items:center}.at-refine-actions button{flex:1}.at-event-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.at-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.at-refine{grid-template-columns:repeat(2,1fr)}.at-refine-actions{grid-column:span 2}.at-results-heading h1{font-size:32px}}
@media(max-width:600px){.at-results-wrap{padding:28px 14px 50px}.at-refine{grid-template-columns:1fr}.at-refine-actions{grid-column:auto}.at-event-grid{grid-template-columns:1fr}.at-results-heading h1{font-size:29px}}

/* v1.3.1 — logo officiel Eventica + remplacement header renforcé */
.at-brand-logo-cloned{display:block!important;visibility:visible!important;opacity:1!important;filter:none!important}

/* v1.3.2 — Eventica ciblé précisément */
body.at-eventica-header-replaced #header-block.site-header,
body.at-eventica-header-replaced .sticky-wrapper.at-eventica-header-hidden,
body.at-eventica-header-replaced #header-block.at-eventica-header-hidden,
.at-eventica-header-hidden{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
body.at-eventica-header-replaced.header-large .at-nav-shell,
body.at-eventica-header-replaced.header-small .at-nav-shell{position:relative!important;top:auto!important}
.at-brand-logo-eventica{display:block!important;visibility:visible!important;opacity:1!important}

/* Résultats v1.3.3 : vrai gabarit Eventica/TEC, identique à la recherche native. */
.at-results-eventica{max-width:1480px;padding-top:38px}
.at-results-eventica .at-refine{margin-bottom:38px}
.at-results-eventica .at-eventica-native-results{margin:0 -15px}
.at-results-eventica .at-eventica-loop{margin:0}
.at-results-eventica .at-eventica-loop>.row{display:flex;flex-wrap:wrap;margin-left:-15px;margin-right:-15px}
.at-results-eventica .at-eventica-item{float:none!important;margin-bottom:30px}
.at-results-eventica .even-list-wrapper{height:100%;box-shadow:0 7px 22px rgba(20,53,59,.08)}
.at-results-eventica .tribe-events-event-image img{width:100%!important;height:auto!important;display:block!important}
.at-results-eventica .event-list-wrapper-bottom{height:115px!important;min-height:115px!important}
.at-results-eventica .tribe-events-list-event-title{font-size:14px!important;line-height:1.35!important}
.at-results-eventica .tribe-events-venue-details,.at-results-eventica .time-details{font-size:12px!important}
@media(max-width:767px){.at-results-eventica .at-eventica-item{width:100%!important}}


/* v1.3.4 — filtres premium, lisibles et respirants */
.at-results-eventica .at-refine-premium{
    display:block!important;
    margin:0 0 34px!important;
    padding:22px 24px 24px!important;
    border:1px solid #dfe8ea!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 10px 32px rgba(3,42,49,.07)!important;
}
.at-refine-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding-bottom:15px;border-bottom:1px solid #edf1f2}
.at-refine-title>div{display:flex;align-items:baseline;gap:11px;min-width:0}
.at-refine-kicker{font-size:10px;font-weight:900;letter-spacing:.15em;color:#d7971b}
.at-refine-title strong{font-size:19px;line-height:1.2;color:#073f4b;font-weight:800}
.at-refine-reset{font-size:12px!important;font-weight:700;color:#647a80!important;text-decoration:none!important;white-space:nowrap}
.at-refine-reset:hover{color:#d7971b!important}
.at-refine-premium .at-filter-search{margin-bottom:14px}
.at-refine-premium .at-field{gap:6px}
.at-refine-premium .at-field span{font-size:10px!important;letter-spacing:.09em!important;color:#587178!important}
.at-refine-premium .at-field input,.at-refine-premium .at-field select{
    height:48px!important;
    border:1px solid #d7e3e5!important;
    border-radius:10px!important;
    background:#fdfefe!important;
    color:#173e46!important;
    padding:0 13px!important;
    font-size:13px!important;
    box-shadow:none!important;
}
.at-refine-premium .at-filter-search input{font-size:14px!important;padding-left:15px!important}
.at-refine-premium .at-field input:focus,.at-refine-premium .at-field select:focus{border-color:#d8a12d!important;box-shadow:0 0 0 3px rgba(216,161,45,.12)!important;outline:none!important}
.at-refine-grid{display:grid;grid-template-columns:1.05fr 1.35fr .8fr .8fr 1.15fr;gap:12px;align-items:end}
.at-refine-premium .at-refine-actions{display:block!important}
.at-refine-premium .at-refine-actions button{
    width:100%;height:48px!important;border:0!important;border-radius:10px!important;
    background:#073f4b!important;color:#fff!important;font-size:12px!important;font-weight:900!important;
    letter-spacing:.02em;padding:0 15px!important;cursor:pointer!important;white-space:nowrap!important;
    box-shadow:0 5px 14px rgba(7,63,75,.14)!important;
}
.at-refine-premium .at-refine-actions button:hover{background:#0a5664!important;transform:translateY(-1px)}
.at-refine-premium .at-refine-actions button span{display:inline!important;margin-left:5px;color:#f7b83d!important;font-size:17px!important;letter-spacing:0!important}
@media(max-width:1050px){
  .at-refine-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .at-refine-premium .at-refine-actions{grid-column:1/-1}
}
@media(max-width:620px){
  .at-results-eventica .at-refine-premium{padding:18px 16px 19px!important;border-radius:14px!important}
  .at-refine-title{align-items:flex-start}
  .at-refine-title>div{display:block}
  .at-refine-kicker{display:block;margin-bottom:3px}
  .at-refine-title strong{font-size:17px}
  .at-refine-grid{grid-template-columns:1fr}
  .at-refine-premium .at-refine-actions{grid-column:auto}
}


/* v1.3.5 — page de résultats réellement pleine largeur, ciblée uniquement sur cette page. */
body.at-results-page #main-content>.container{width:calc(100% - 64px)!important;max-width:1600px!important;margin-left:auto!important;margin-right:auto!important}
body.at-results-page #main-content>.container>.row{margin-left:0!important;margin-right:0!important}
body.at-results-page #main-content>.container>.row>.col-md-9{width:100%!important;float:none!important;padding-left:0!important;padding-right:0!important}
body.at-results-page #main-content>.container>.row>.col-md-3{display:none!important}
body.at-results-page .main-wrapper,body.at-results-page .page-single,body.at-results-page .inner-page,body.at-results-page .post-content{width:100%!important;max-width:none!important}
body.at-results-page .at-results-wrap.at-results-eventica{width:100%!important;max-width:1480px!important}
@media(max-width:767px){body.at-results-page #main-content>.container{width:100%!important;padding-left:14px!important;padding-right:14px!important}}

/* v1.3.6 — affinage simplifié + dates françaises + 3 événements par ligne. */
.at-results-eventica .at-refine-grid{grid-template-columns:minmax(260px,1.55fr) minmax(150px,.8fr) minmax(150px,.8fr) minmax(210px,1fr)!important;gap:14px!important}
.at-results-eventica .at-date-fr{font-variant-numeric:tabular-nums}
@media(min-width:992px){.at-results-eventica .at-eventica-item{width:33.333333%!important}}
@media(min-width:768px) and (max-width:991px){.at-results-eventica .at-eventica-item{width:50%!important}}
@media(max-width:1050px){.at-results-eventica .at-refine-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.at-results-eventica .at-refine-actions{grid-column:1/-1!important}}
@media(max-width:620px){.at-results-eventica .at-refine-grid{grid-template-columns:1fr!important}.at-results-eventica .at-refine-actions{grid-column:auto!important}}

@media(max-width:700px){.at-results-heading{align-items:flex-start;flex-direction:column}.at-per-page{justify-content:flex-start}.at-per-page>span{flex-basis:100%;}}
