/* Events / a photographic journal. Styles are scoped to the event experience. */
.events-editorial { position:relative; padding-top:85px; padding-bottom:65px; background:radial-gradient(ellipse at 84% 12%,#6d3d1c14,transparent 46%),#060607; }
.events-overline { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-bottom:25px; margin-bottom:42px; border-bottom:1px solid #ffffff12; }
.events-overline .eyebrow { font-size:9px; color:#d98a55; }
.events-overline>span { color:#736c75; font-size:8px; letter-spacing:.13em; }
.events-editorial .section-heading { align-items:flex-end; gap:70px; }
.events-editorial .section-heading h2 { font-size:clamp(48px,5.4vw,82px); font-weight:400; line-height:1.05; letter-spacing:-.06em; }
.events-introduction { width:305px; max-width:35%; padding-bottom:4px; }
.events-introduction>p { color:#aaa2ac; font-size:13px; line-height:1.85; }
.gallery-launch { display:flex; align-items:center; gap:15px; font-size:11px; color:#efe7e0; border-bottom:1px solid #8f674735; margin-top:23px; padding:11px 0 12px; width:100%; }
.gallery-launch>span:last-child { color:#ffad72; font-size:22px; margin-left:auto; }
.gallery-launch-count { font:9px monospace; color:#998578; border:1px solid #ffffff19; border-radius:4px; padding:4px 6px; }
.gallery-launch:hover { color:#ffb681; border-color:#ff943e75; }
.events-editorial .events-toolbar { margin-top:40px; padding:0 0 23px; gap:20px; }
.events-editorial .filters { padding:0; border:0; background:none; box-shadow:none; gap:8px; border-radius:0; }
.events-editorial .filters { flex-wrap:wrap; }
.events-editorial .filters button { display:flex; align-items:center; gap:10px; min-height:39px; padding:10px 15px; border-radius:7px; border:1px solid #ffffff15; background:#111113; color:#a9a0ab; font-size:10px; }
.events-editorial .filters button span { color:#79707f; font:8px monospace; }
.events-editorial .filters button.active { background:#e79961; border-color:#e7a273; color:#20140c; box-shadow:inset 0 1px #ffe0bb60; }
.events-editorial .filters button.active span { color:#72411e; }
.events-editorial .event-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:270px 270px 315px; grid-auto-flow:row; gap:16px; }
.events-editorial .event-card,.events-editorial .event-card:nth-child(even) { display:block; padding:0; min-height:0; border:1px solid #ffffff16; border-radius:14px; background:#141316; box-shadow:0 16px 36px -25px #000b; isolation:isolate; }
.events-editorial .event-card.gallery-feature { grid-column:span 2; grid-row:span 2; }
.events-editorial .event-image { display:block; width:100%; height:100%; min-height:0; aspect-ratio:auto; padding:0; text-align:left; box-shadow:none; border-radius:inherit; transform:none!important; }
.events-editorial .event-image:before,.events-editorial .event-image:after { display:none!important; }
.events-editorial .event-image>img { height:100%; width:100%; object-fit:cover; aspect-ratio:auto; filter:saturate(.82); transition:transform 1s ease,filter .6s ease!important; }
.events-editorial .gallery-feature .event-image>img { object-position:50% 46%; }
.events-editorial .event-image:hover>img { transform:scale(1.045); filter:saturate(1); }
.events-editorial .event-image:focus-visible { outline:2px solid #ffb275; outline-offset:-4px; }
.gallery-image-shade { position:absolute; inset:0; background:linear-gradient(180deg,#0005 0%,transparent 28%,#0001 46%,#060509dc 100%); pointer-events:none; }
.gallery-feature .gallery-image-shade { background:linear-gradient(180deg,#0006,transparent 30%,#0001 48%,#070608ed); }
.gallery-photo-top { position:absolute; left:22px; right:22px; top:19px; display:flex; justify-content:space-between; gap:15px; color:#fff9; font-size:7px; letter-spacing:.13em; text-shadow:0 1px 6px #000; }
.gallery-photo-top>span:last-child { font:8px monospace; color:#ffe7d2a6; white-space:nowrap; }
.gallery-caption { position:absolute; left:23px; right:23px; bottom:20px; color:#f7f0f2; display:block; }
.gallery-caption strong { display:block; font-weight:400; font-size:23px; letter-spacing:-.04em; line-height:1.1; max-width:95%; text-shadow:0 2px 12px #0003; }
.gallery-category { display:block; font-size:8px; color:#d6ae8f; letter-spacing:.18em; margin-bottom:14px; }
.gallery-photo-bottom { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; color:#c5b9c0; font-size:10px; }
.gallery-photo-bottom i { display:grid; place-items:center; flex:0 0 30px; width:30px; height:30px; border:1px solid #ffdfc045; border-radius:50%; color:#ffe2c8; background:#e0bd9914; font-size:18px; font-style:normal; backdrop-filter:blur(8px); transition:background .25s,transform .4s!important; }
.event-image:hover .gallery-photo-bottom i { transform:rotate(45deg); background:#e3aa7060; }
.gallery-feature .gallery-photo-top { left:33px; right:33px; top:27px; }
.gallery-feature .gallery-caption { left:34px; right:34px; bottom:29px; }
.gallery-feature .gallery-caption strong { font-size:clamp(35px,3.8vw,58px); letter-spacing:-.05em; }
.gallery-feature .gallery-photo-bottom { padding-top:18px; margin-top:21px; border-top:1px solid #ffffff26; font-size:11px; }
.gallery-feature .gallery-photo-bottom i { width:40px; height:40px; flex-basis:40px; font-size:23px; }
.events-editorial .event-grid.filtered { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:none; grid-auto-rows:360px; }
.events-editorial .event-grid.filtered .gallery-feature { grid-column:auto; grid-row:auto; }
.event-grid.filtered .gallery-feature .gallery-caption { left:23px; right:23px; bottom:20px; }
.event-grid.filtered .gallery-feature .gallery-photo-top { left:22px; right:22px; top:19px; }
.event-grid.filtered .gallery-feature .gallery-caption strong { font-size:28px; }
.event-grid.filtered .gallery-feature .gallery-photo-bottom { padding-top:10px; margin-top:15px; font-size:10px; }
.event-grid.filtered .gallery-feature .gallery-category { display:none; }
.gallery-endline { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 0; border-bottom:1px solid #ffffff15; color:#8c808c; }
.gallery-endline>span:first-child { font-size:11px; color:#c1ac9e; }
.gallery-endline>span:nth-child(2) { font-size:7px; letter-spacing:.13em; }
.gallery-endline button { display:flex; align-items:center; gap:19px; color:#d7b79f; font-size:10px; padding:6px 0; }
.gallery-endline button>span { font-size:18px; }
.events-editorial .event-footnote { margin-top:21px; border:0; padding:0; align-items:flex-start; color:#79717b; font-size:9px; line-height:1.7; }
.events-editorial .event-footnote>span { padding:0; border:0; font-size:9px; color:#938272; background:none; }
/* Viewer: contained photographs keep the full frame and clear attribution. */
#scene-dialog { width:min(1240px,calc(100vw - 36px)); max-width:none; max-height:calc(100dvh - 36px); color:#ece7ee; border:1px solid #d6ad8038; border-radius:15px; background:#0d0d10; box-shadow:0 28px 100px #000b; overflow:auto; }
#scene-dialog::backdrop { background:#030305eb; backdrop-filter:blur(15px); }
.gallery-dialog-header { position:relative; display:flex; align-items:center; gap:20px; min-height:61px; padding:13px 21px; border-bottom:1px solid #ffffff10; background:linear-gradient(120deg,#3020144a,#0e0d10 70%); }
.gallery-dialog-header>span:first-child { color:#b49b89; font-size:9px; letter-spacing:.15em; }
#scene-counter { margin-left:auto; color:#d3b294; font:11px monospace; }
#scene-dialog .dialog-close { position:static; width:34px; height:34px; flex:0 0 34px; font-size:23px; line-height:1; background:#ffffff08; color:#e6cfba; border:1px solid #ffffff1c; }
.gallery-viewer { position:relative; display:flex; justify-content:center; align-items:center; min-height:220px; background:#050507; }
#scene-image { width:100%; height:min(60dvh,650px); max-height:none; object-fit:contain; background:#050507; }
.gallery-nav { position:absolute; top:50%; translate:0 -50%; width:43px; height:43px; display:grid; place-items:center; border:1px solid #ffffff2b; color:#f5e5d4; border-radius:50%; background:#08080c9e; backdrop-filter:blur(12px); font-size:22px; }
.gallery-prev { left:17px; } .gallery-next { right:17px; }
.gallery-nav:hover { background:#e5a368; color:#1f140c; }
#scene-dialog .dialog-copy { display:flex; align-items:center; justify-content:space-between; gap:30px; padding:20px 25px; border-top:1px solid #ffffff0c; }
#scene-title { font-size:24px; letter-spacing:-.035em; margin:0; font-weight:400; }
#scene-detail { margin:8px 0 0; color:#b4a4a0; font-size:11px; }
#scene-source { display:grid; grid-template-columns:1fr 18px; gap:5px 15px; flex-shrink:0; padding:11px 0; color:#edbb95; border-bottom:1px solid #edbb9540; font-size:10px; }
#scene-source [data-photo-credit] { grid-row:2; color:#94878a; font-size:9px; }
#scene-source i { grid-column:2; grid-row:1 / 3; align-self:center; font-size:20px; font-style:normal; }
#scene-source:hover { color:#ffe8d6; border-color:#edbb95; }
#scene-source:focus-visible { outline:2px solid #edbb95; outline-offset:5px; }
.events-editorial .gallery-photo-top>span:first-child { font-size:10px; font-weight:600; letter-spacing:.14em; color:#fff; }
.events-editorial .event-image>img { filter:saturate(.94); }
.events-editorial [data-scene="fxpro-colwma-2025"]>img { object-position:58% 40%; }
.events-editorial [data-scene="saxo-2023"]>img { object-position:50% 44%; }
.gallery-thumbnails { display:flex; justify-content:center; gap:9px; padding:0 25px 19px; }
.gallery-thumbnails button { padding:3px; width:82px; height:54px; border:1px solid #ffffff17; border-radius:6px; opacity:.48; }
.gallery-thumbnails button.active { border-color:#e49b62; opacity:1; }
.gallery-thumbnails button:hover { opacity:1; }
.gallery-thumbnails img { width:100%; height:100%; object-fit:cover; border-radius:3px; }
@media(max-width:1100px) {
  .events-editorial .event-grid { grid-template-rows:245px 245px 290px; gap:13px; }
  .events-editorial .section-heading { gap:35px; }
  .events-introduction { max-width:36%; }
  .gallery-caption { left:18px; right:18px; bottom:18px; }
  .gallery-caption strong { font-size:21px; }
  .gallery-photo-bottom { font-size:9px; }
  .gallery-photo-top { font-size:6px; left:18px; right:18px; }
  .gallery-photo-bottom i { width:27px; height:27px; flex-basis:27px; }
  .events-editorial .event-grid.filtered { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:720px) {
  .events-editorial { padding-top:55px; padding-bottom:48px; }
  .events-overline { padding-bottom:20px; margin-bottom:29px; gap:10px; }
  .events-overline .eyebrow { font-size:7px; letter-spacing:.1em; }
  .events-overline>span { display:none; }
  .events-editorial .section-heading h2 { font-size:45px; line-height:1.06; }
  .events-introduction { width:auto; max-width:100%; margin-top:23px; }
  .events-introduction>p { max-width:340px; font-size:12px; line-height:1.8; }
  .gallery-launch { max-width:240px; margin-top:14px; font-size:11px; }
  .events-editorial .events-toolbar { display:flex; flex-wrap:wrap; margin-top:26px; padding-bottom:19px; gap:15px; }
  .events-editorial .filters { gap:5px; width:100%; }
  .events-editorial .filters button { font-size:9px; padding:10px 10px; gap:7px; min-height:40px; }
  .events-editorial .filters button span { font-size:7px; }
  .events-editorial .event-grid,.events-editorial .event-grid.filtered { display:grid; grid-template-columns:1fr; grid-template-rows:none; grid-auto-rows:280px; gap:15px; }
  .events-editorial .event-card.gallery-feature { grid-column:auto; grid-row:auto; height:430px; }
  .events-editorial .event-grid:not(.filtered) { grid-template-rows:430px; }
  .events-editorial .event-grid.filtered .gallery-feature { height:auto; }
  .events-editorial .event-card { border-radius:12px; }
  .events-editorial .event-image>img { width:100%; height:100%; aspect-ratio:auto; object-fit:cover; }
  .gallery-feature .gallery-photo-top { left:22px; right:22px; top:22px; font-size:6px; }
  .gallery-feature .gallery-caption { left:22px; right:22px; bottom:23px; }
  .gallery-feature .gallery-caption strong { font-size:39px; }
  .gallery-category { font-size:7px; margin-bottom:11px; }
  .gallery-feature .gallery-photo-bottom { font-size:10px; padding-top:15px; margin-top:17px; }
  .gallery-photo-top { font-size:7px; top:19px; left:20px; right:20px; }
  .gallery-caption { left:20px; right:20px; bottom:20px; }
  .gallery-caption strong { font-size:26px; }
  .gallery-photo-bottom { font-size:10px; }
  .gallery-endline { padding:17px 0; gap:10px; }
  .gallery-endline>span:nth-child(2) { display:none; }
  .gallery-endline>span:first-child { font-size:10px; }
  .gallery-endline button { font-size:10px; gap:12px; }
  .events-editorial .event-footnote { font-size:8px; line-height:1.8; margin-top:18px; }
  .events-editorial .event-footnote>span { margin-top:12px; font-size:8px; }
  #scene-dialog { width:calc(100vw - 16px); max-height:calc(100dvh - 22px); border-radius:10px; }
  .gallery-dialog-header { min-height:55px; padding:10px 12px; gap:12px; }
  .gallery-dialog-header>span:first-child { font-size:7px; letter-spacing:.09em; }
  #scene-counter { font-size:9px; }
  #scene-dialog .dialog-close { width:32px; height:32px; flex-basis:32px; }
  #scene-image { height:43dvh; min-height:200px; max-height:440px; }
  .gallery-nav { width:35px; height:35px; font-size:19px; }
  .gallery-prev { left:8px; } .gallery-next { right:8px; }
  #scene-dialog .dialog-copy { display:block; padding:17px; }
  #scene-title { font-size:23px; }
  #scene-source { width:fit-content; margin-top:12px; }
  #scene-dialog .dialog-copy>p { font-size:8px; max-width:100%; margin-top:12px; }
  .gallery-thumbnails { padding:0 12px 16px; gap:5px; }
  .gallery-thumbnails button { width:calc((100% - 25px)/6); max-width:70px; height:42px; padding:2px; }
}
@media(max-width:360px) {
  .events-editorial .section-heading h2 { font-size:38px; }
  .events-editorial .filters button { padding:10px 8px; gap:5px; font-size:8px; }
  .events-editorial .event-grid:not(.filtered) { grid-template-rows:390px; }
  .events-editorial .event-card.gallery-feature { height:390px; }
  .gallery-caption strong { font-size:23px; }
  .gallery-feature .gallery-caption strong { font-size:34px; }
}
