/* Side event pages built from sections (page-side-event-sections.php, 28 Oct 2026): SC Forum masterclass, WPS Dialogues,
   Academic Roadshow. Loads after fsf-2026.css and only adds what those pages need on top of the Forensic Science Forum look.
   The agenda and logo rules come from the client's SC Forum file (.scf26). */

/* Second button (outline) */
.sev26 .sev-hero-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.sev26 .fx-b2{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:15px 24px;font-weight:700;font-size:16px;border:1.5px solid currentColor;color:var(--dark)}
.sev26 .fx-b2:hover{background:var(--tint)}

/* Agenda: the criteria accordion with a speaker line and dotted points */
.sev26 .fx-crit summary small{width:44px}
.sev26 .fx-crit details p{padding-inline-start:58px;padding-bottom:6px}
.sev26 .fx-crit details p:last-child{padding-bottom:18px}
.sev26 .fx-crit .sev-who{color:var(--green);font-weight:600}
.sev26 .fx-crit .sev-pt{position:relative}
.sev26 .fx-crit .sev-pt::before{content:"";position:absolute;inset-inline-start:44px;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--teal)}
/* Agenda buttons: "See the full agenda" and the download side by side; once the agenda is open, the download moves below it */
.sev26 .sev-agenda{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;margin-top:24px}
.sev26 .sev-agenda>.fx-more{margin-top:0}
.sev26 .sev-agenda>.fx-more[open],.sev26 .sev-agenda>.fx-crit{flex:1 1 100%}
.sev26 .sev-pdf{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:15px;line-height:inherit;padding:12px 20px;border-radius:99px;border:1.5px solid #023689;background:#023689;color:#fff !important;transition:background .15s,border-color .15s}
.sev26 .sev-pdf:hover{background:#012a6b;border-color:#012a6b}
.sev26 .sev-pdf .fx-ic{width:18px;height:18px}

/* Organiser logos: one wide logo per row */
.sev26 .fx-orgs{grid-template-columns:1fr}
.sev26 .fx-orgs span{padding:14px;height:auto}
.sev26 .fx-orgs img{height:64px;max-height:none;width:auto;max-width:100%}

/* Gallery: as many columns as photos (2 to 4), no wide first photo */
.sev26 .fx-pgrid{grid-template-columns:1fr 1fr}
.sev26 .fx-pgrid img,.sev26 .fx-pgrid img:first-child{grid-column:auto;aspect-ratio:16/10}
@media (min-width:1024px){
  .sev26 .fx-pgrid.sev-g3{grid-template-columns:repeat(3,1fr)}
  .sev26 .fx-pgrid.sev-g4{grid-template-columns:repeat(4,1fr)}
  .sev26 .sev-spk.spk__grid{grid-template-columns:repeat(3,1fr)}
}

/* Speakers: optional role badge above the card (Moderator, Panellist…) */
.sev26 .sev-spk-b{position:relative;min-width:0}
.sev26 .sev-spk-b>.spk{height:100%}
.sev26 .sev-badge{position:absolute;z-index:2;top:14px;inset-inline-start:14px;backdrop-filter:blur(6px);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:rgba(2,54,137,.82);border-radius:99px;padding:5px 12px}

/* Key facts: a large number row */
.sev26 .fx-r.sev-stat b{font-size:28px;line-height:1.1}

/* Programme timeline (time + title) */
.sev26 .sev-tl{list-style:none;margin:28px 0 0;padding:0;border:1px solid var(--brd);border-radius:20px;background:var(--card);overflow:hidden}
.sev26 .sev-tl li{display:grid;grid-template-columns:170px 1fr;gap:18px;padding:18px 24px;border-top:1px solid var(--brd);align-items:baseline}
.sev26 .sev-tl li:first-child{border-top:0}
.sev26 .sev-tl time{font-weight:700;color:var(--green);font-variant-numeric:tabular-nums}
.sev26 .sev-tl span{font-weight:600;color:var(--ink)}
@media (max-width:640px){.sev26 .sev-tl li{grid-template-columns:1fr;gap:4px;padding:16px 18px}}

/* Numbers band */
.sev26 .sev-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:28px}
.sev26 .sev-stats div{background:var(--card);border:1px solid var(--brd);border-radius:20px;padding:22px}
.sev26 .sev-stats b{display:block;font-size:clamp(30px,3.4vw,44px);line-height:1;color:var(--dark);font-variant-numeric:tabular-nums}
.sev26 .sev-stats span{display:block;margin-top:8px;color:var(--soft);font-size:14px}
.sev26 .sev-note{margin-top:14px;color:var(--soft)}
@media (max-width:760px){.sev26 .sev-stats{grid-template-columns:1fr 1fr}}

/* Highlights: text beside a photo that links to the video */
.sev26 .sev-media{display:grid;grid-template-columns:1fr 1.2fr;gap:36px;align-items:center}
.sev26 .sev-media__t .fx-b1{width:auto;margin-top:22px;display:inline-flex}
.sev26 .sev-media__ph{position:relative;display:block;border-radius:22px;overflow:hidden}
.sev26 .sev-media__ph img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.sev26 .sev-media__play{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(0deg,rgba(6,11,31,.35),rgba(6,11,31,0))}
.sev26 .sev-media__play .fx-ic{width:72px;height:72px;color:#fff;stroke-width:1.2}
@media (max-width:860px){.sev26 .sev-media{grid-template-columns:1fr;gap:22px}}

/* Prize wheel (practice spin) beside the prize list. From the Roadshow v26 design, in the side event colours. */
.sev26 .sev-wheel{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:40px;align-items:center;margin-top:28px}
.sev26 .sev-wheel__spin{display:flex;flex-direction:column;align-items:center;gap:18px}
.sev26 .sev-wheel__disc{position:relative;width:min(340px,82%);aspect-ratio:1/1}
.sev26 .sev-wheel__disc img{width:100%;height:100%;display:block;will-change:transform}
.sev26 .sev-wheel__pin{position:absolute;left:50%;top:-6%;width:15%;transform:translateX(-50%);filter:drop-shadow(0 4px 6px rgba(6,18,58,.3))}
.sev26 .sev-wheel__pin path{fill:var(--teal)}
.sev26 .sev-wheel__pin circle{fill:#fff}
.sev26 .sev-wheel .fx-b1{width:auto;margin:0;display:inline-flex}
.sev26 .sev-wheel .fx-b1[disabled]{opacity:.6;cursor:default}
.sev26 .sev-wheel__note{margin:0;color:var(--mute);font-size:14px;text-align:center}
.sev26 .sev-wheel__side{display:flex;flex-direction:column;gap:16px;min-width:0}
.sev26 .sev-prizes{background:var(--card);border:1px solid var(--brd);border-radius:22px;overflow:hidden}
.sev26 .sev-prizes details+details{border-top:1px solid var(--brd)}
.sev26 .sev-prizes summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;font-weight:700;font-size:16px;color:var(--ink)}
.sev26 .sev-prizes summary::-webkit-details-marker{display:none}
.sev26 .sev-prizes summary small{display:block;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}
.sev26 .sev-prizes summary i{flex:none;width:28px;height:28px;border-radius:50%;background:var(--tint);display:grid;place-items:center;font-style:normal;transition:transform .2s}
.sev26 .sev-prizes details[open] summary i{transform:rotate(45deg)}
.sev26 .sev-prizes p{margin:0;padding:0 22px 18px;color:var(--soft)}
.sev26 .sev-how{background:var(--card);border:1px solid var(--brd);border-radius:22px;padding:20px 22px}
.sev26 .sev-how h3{margin:0 0 6px;font-size:16px}
.sev26 .sev-how .fx-ticks{margin-top:8px}
@media (max-width:860px){.sev26 .sev-wheel{grid-template-columns:1fr;gap:28px}}

/* Thematic tracks: the homepage component inside the side event column */
.sev26 .sev-tracks>.fx-lead+*{margin-top:28px}

/* Countries by region */
.sev26 .sev-cty__tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.sev26 .sev-cty__tabs button{font:inherit;font-size:14px;font-weight:700;border-radius:999px;padding:10px 16px;border:1.5px solid var(--brd);background:var(--card);color:var(--ink);cursor:pointer;display:inline-flex;gap:8px;align-items:center}
.sev26 .sev-cty__tabs button b{font-variant-numeric:tabular-nums;color:var(--mute);font-weight:700}
.sev26 .sev-cty__tabs button[aria-selected="true"]{background:#023689;border-color:#023689;color:#fff}
.sev26 .sev-cty__tabs button[aria-selected="true"] b{color:rgba(255,255,255,.8)}
.sev26 .sev-cty__list{list-style:none;padding:0;margin:20px 0 0;display:flex;flex-wrap:wrap;gap:8px}
.sev26 .sev-cty__list li{display:flex;align-items:center;gap:8px;background:var(--card);border:1px solid var(--brd);border-radius:999px;padding:5px 14px 5px 5px;font-size:14px;color:var(--ink)}
.sev26 .sev-cty__list img{width:26px;height:26px;border-radius:50%;object-fit:cover;display:block}

/* Sponsors: Exhibit & Sponsor tiers */
.sev26 .sev-sponsors .ex26-tier:first-of-type{margin-top:28px}

/* Instagram tiles */
.sev26 .sev-ig{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:28px}
.sev26 .sev-ig a{display:block;border-radius:16px;overflow:hidden;aspect-ratio:4/5;background:var(--tint)}
.sev26 .sev-ig img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.sev26 .sev-ig a:hover img{transform:scale(1.04)}
.sev26 .sev-ig__cta{margin-top:22px}
@media (max-width:860px){.sev26 .sev-ig{grid-template-columns:repeat(3,1fr);gap:8px}}
.fsf26.sev26 .sev-how h3{font-size:18px !important;line-height:1.3 !important;letter-spacing:0 !important}
.sev26 .sev-tracks [data-reveal]{opacity:1 !important;transform:none !important}
.sev26 .sev-cty__list[hidden]{display:none}

/* How the draws work: room above the Full terms link */
.sev26 .sev-how .txtlink{display:inline-flex;align-items:center;gap:6px;margin-top:18px}
.sev26 .sev-how .fx-ticks{margin-bottom:0}
