/* v0.72: event-program + private profile planning, across all 17 editions. */
.edition-page--events .event-program{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(205px,1fr);gap:22px;align-items:end;padding:27px 30px;margin:21px 0 22px;background:var(--soft);border:1px solid var(--stroke);border-radius:var(--round)}
.event-program-intro h2{font-size:clamp(25px,3.1vw,44px);line-height:1.09;letter-spacing:-.045em;margin:9px 0}
.event-program-intro p{font-size:13px;max-width:580px;line-height:1.6;color:var(--muted);margin:0}
.event-program-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.event-program-stats>div{padding:17px 12px;border:1px solid var(--stroke);border-radius:12px;background:var(--surface)}
.event-program-stats strong{font-size:29px;display:block;line-height:1}
.event-program-stats span{display:block;font-size:11px;color:var(--muted);margin-top:8px}
.event-view-bar{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.event-view-tab{background:var(--surface);color:var(--ink);border:1px solid var(--stroke);border-radius:999px;min-height:44px;padding:10px 15px;font-weight:800;font-size:12px;display:flex;gap:10px;align-items:center;justify-content:space-between}
.event-view-tab.selected{background:var(--ink);color:var(--surface);border-color:var(--ink)}
.event-view-tab>span{opacity:.75}
.event-view-tab:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.event-results-note{margin:10px 0 18px;font-size:12px;color:var(--muted)}
.event-program-grid{margin-bottom:20px}
.event-program-grid .event-card{min-width:0}
.event-program-empty{padding:38px 24px;text-align:center;background:var(--surface);border:1px dashed var(--stroke);border-radius:var(--round);margin:14px 0 20px}
.event-program-empty h3{font-size:25px;line-height:1.2;margin:0 0 10px}
.event-program-empty p{color:var(--muted);font-size:13px;line-height:1.5;max-width:450px;margin:0 auto 20px}
.event-program-note{font-size:11px;color:var(--muted);line-height:1.6;margin-top:18px}
.profile-plans{background:var(--surface);border:1px solid var(--stroke);border-radius:var(--round);padding:24px;margin:22px 0}
.profile-plans-head{display:flex;justify-content:space-between;align-items:start;gap:18px;margin-bottom:18px}
.profile-plans-head h3{font-size:clamp(23px,2.5vw,32px);letter-spacing:-.035em;line-height:1.12;margin:7px 0}
.profile-plans-head p,.profile-plans-empty{font-size:12px;color:var(--muted);line-height:1.5;margin:0}
.profile-plans-count{background:var(--soft);border:1px solid var(--stroke);border-radius:999px;padding:9px 12px;font-size:11px;font-weight:850;white-space:nowrap}
.profile-plans-items{display:grid;gap:9px;margin:14px 0 19px}
.profile-plan{display:flex;gap:15px;align-items:center;padding:11px;background:var(--soft);border-radius:10px;min-width:0}
.profile-plan-date{display:grid;gap:3px;min-width:54px;text-align:center;font-size:10px;font-weight:900;color:var(--ink)}
.profile-plan-date strong{font-size:22px}
.profile-plan>div{min-width:0;display:grid;gap:5px}
.profile-plan>div>strong{font-size:14px;overflow-wrap:anywhere}
.profile-plan small{font-size:11px;color:var(--muted)}
.profile-plans-empty{margin:4px 0 20px}

/* Riviera Dispatch: travel column, stamped dates, soft paper surfaces. */
[data-theme="riviera-dispatch"] .edition-page--events .heading{background:#fff7e5;border:1px solid #8eae9d;border-bottom:5px double #2c695c;padding:30px 34px}
[data-theme="riviera-dispatch"] .edition-page--events .heading h1{font:400 clamp(41px,5.6vw,71px)/.99 Georgia,serif;letter-spacing:-.065em;color:#194e46}
[data-theme="riviera-dispatch"] .edition-page--events .event-program{background:#fdf6e9;border:1px solid #719588;border-radius:0;grid-template-columns:minmax(0,1.55fr) minmax(190px,.8fr);box-shadow:7px 7px 0 #d8e6d9}
[data-theme="riviera-dispatch"] .event-program-intro h2,[data-theme="riviera-dispatch"] .profile-plans-head h3{font:400 clamp(28px,3.8vw,46px)/1.06 Georgia,serif;letter-spacing:-.05em;color:#194e46}
[data-theme="riviera-dispatch"] .event-program-stats>div{border-radius:0;border:1px solid #b9cdba;background:#fffdf5}
[data-theme="riviera-dispatch"] .event-view-tab{border-radius:0;border:1px solid #719588;font:600 13px Georgia,serif}
[data-theme="riviera-dispatch"] .event-view-tab.selected{background:#22594d;color:#fffdf5}
[data-theme="riviera-dispatch"] .event-program-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
[data-theme="riviera-dispatch"] .event-program-grid .event-card{border-radius:0;border:1px solid #9cb7a6;box-shadow:3px 3px 0 #d3e2d5}
[data-theme="riviera-dispatch"] .event-program-grid .event-art{border-radius:0;min-height:160px}
[data-theme="riviera-dispatch"] .event-program-grid .event-description h3{font:400 clamp(21px,2.5vw,33px)/1.13 Georgia,serif}
[data-theme="riviera-dispatch"] .event-program-empty,[data-theme="riviera-dispatch"] .profile-plans{border-radius:0;background:#fffaf0;border:1px solid #8eae9d}
[data-theme="riviera-dispatch"] .profile-plan{border-radius:0;background:#ecf3eb;border-left:4px solid #b53930}
[data-theme="riviera-dispatch"] .profile-plans-count{border-radius:0;background:#dfece0}

/* Electric Gallery: gallery-wall composition and oversized type. */
[data-theme="electric-gallery"] .edition-page--events .heading{background:#2345db;border-left:12px solid #ecf04e;color:#fff;padding:30px clamp(15px,3vw,40px)}
[data-theme="electric-gallery"] .edition-page--events .heading h1{font:950 clamp(43px,5.8vw,86px)/.9 Arial,sans-serif;letter-spacing:-.085em;text-transform:uppercase;color:#fff}
[data-theme="electric-gallery"] .edition-page--events .heading p{color:#fff}
[data-theme="electric-gallery"] .edition-page--events .event-program{border:3px solid #17204a;border-radius:0;box-shadow:8px 8px 0 #2345db;background:#f1f2d6}
[data-theme="electric-gallery"] .event-program-intro h2,[data-theme="electric-gallery"] .profile-plans-head h3{font:950 clamp(29px,3.6vw,49px)/.94 Arial,sans-serif;letter-spacing:-.06em;text-transform:uppercase;color:#15204b}
[data-theme="electric-gallery"] .event-program-intro p{color:#24335a}
[data-theme="electric-gallery"] .event-program-stats>div{border:2px solid #15204b;border-radius:0;background:#ecf04e;color:#15204b}
[data-theme="electric-gallery"] .event-program-stats span{color:#15204b}
[data-theme="electric-gallery"] .event-view-tab{border:2px solid #2345db;border-radius:0;text-transform:uppercase;font:900 11px Arial,sans-serif}
[data-theme="electric-gallery"] .event-view-tab.selected{background:#2345db;color:#fff}
[data-theme="electric-gallery"] .event-program-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
[data-theme="electric-gallery"] .event-program-grid .event-card{border:2px solid #17204a;border-bottom:6px solid #2345db;border-radius:0;box-shadow:5px 5px 0 #b8c0fc}
[data-theme="electric-gallery"] .event-program-grid .event-card:first-child{grid-column:span 2;display:grid;grid-template-columns: minmax(0,1fr) minmax(0,1fr);align-items:stretch}
[data-theme="electric-gallery"] .event-program-grid .event-card:first-child .event-art{grid-row:span 2;min-height:240px}
[data-theme="electric-gallery"] .event-program-grid .event-card:first-child .event-info{align-items:center}
[data-theme="electric-gallery"] .event-program-grid .event-card:first-child>button{align-self:end;margin:0 16px 16px}
[data-theme="electric-gallery"] .event-program-grid .event-description h3{font:950 clamp(21px,2.5vw,34px)/1 Arial,sans-serif;text-transform:uppercase;letter-spacing:-.055em}
[data-theme="electric-gallery"] .event-program-empty,[data-theme="electric-gallery"] .profile-plans{border:2px solid #17204a;border-radius:0;box-shadow:5px 5px 0 #b8c0fc}
[data-theme="electric-gallery"] .profile-plans-count{border-radius:0;background:#ecf04e;color:#17204a;border:2px solid #17204a}
[data-theme="electric-gallery"] .profile-plan{border:1px solid #17204a;border-radius:0;background:#edf0ff}
[data-theme="electric-gallery"] .profile-plan-date{background:#2345db;color:#fff;padding:6px}

@media(max-width:950px){
 .edition-page--events .event-program{grid-template-columns:minmax(0,1fr)}
 [data-theme="riviera-dispatch"] .edition-page--events .event-program{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:640px){
 .edition-page--events .event-program{padding:22px 17px}
 .event-program-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .event-view-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .event-view-tab{min-width:0;padding:10px 9px}
 .profile-plans{padding:17px}
 .profile-plans-head{flex-wrap:wrap}
 [data-theme="riviera-dispatch"] .event-program-grid,[data-theme="electric-gallery"] .event-program-grid{grid-template-columns:minmax(0,1fr)}
 [data-theme="electric-gallery"] .event-program-grid .event-card:first-child{grid-column:auto;display:block}
 [data-theme="electric-gallery"] .event-program-grid .event-card:first-child .event-art{min-height:0}
 [data-theme="electric-gallery"] .event-program-grid .event-card:first-child>button{margin:0}
 [data-theme="electric-gallery"] .edition-page--events .heading,[data-theme="riviera-dispatch"] .edition-page--events .heading{padding:24px 16px}
}
@media(prefers-reduced-motion:reduce){
 .event-view-tab,.profile-plan{animation:none!important;transition:none!important}
}
