/* Home page: the speakers (js/sections/speaker-reel.js), owner 24 Nov 2026.
   No box: the title, text and "See all speakers" button on top, and under them
   every speaker's photo and name moving along, as wide as the page's text
   column (not the whole screen),
   right to left in English and left to right in Arabic and Kurdish, a little
   fast, stopping while the pointer is on it. */
.spk-head{display:grid;justify-items:start}
.spk-head h2{max-width:20ch}
.spk-head .btn{margin-top:24px;gap:8px}
.spk-head .btn svg{transition:transform .2s}
.spk-head .btn:hover svg{transform:translateX(3px)}
html[dir="rtl"] .spk-head .btn svg{transform:scaleX(-1)}
html[dir="rtl"] .spk-head .btn:hover svg{transform:scaleX(-1) translateX(3px)}

.spk-reel{position:relative;margin-top:40px;overflow:hidden;padding-block:6px;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
.spk-track{--gap:18px;display:flex;gap:var(--gap);width:max-content;margin:0;padding:0;list-style:none;
  animation:spk-reel calc(var(--n,20) * 1.6s) linear infinite}
.spk-reel:hover .spk-track,.spk-reel:focus-within .spk-track{animation-play-state:paused}
html[dir="rtl"] .spk-track{animation-name:spk-reel-rtl}
/* Two copies of the row: moving by one copy (half the width, plus half a gap) loops without a jump */
@keyframes spk-reel{from{transform:translateX(0)}to{transform:translateX(calc(-50% - var(--gap) / 2))}}
@keyframes spk-reel-rtl{from{transform:translateX(0)}to{transform:translateX(calc(50% + var(--gap) / 2))}}

.spk-tile{flex:none;width:150px;display:grid;gap:10px;justify-items:center;text-align:center}
.spk-ph{display:block;width:100%;aspect-ratio:4/5;border-radius:20px;overflow:hidden;border:1px solid color-mix(in srgb,var(--teal) 35%,var(--line));
  background:radial-gradient(120% 100% at 50% 40%,color-mix(in srgb,var(--teal) 32%,var(--surface-2)),var(--surface-2))}
.spk-ph img{display:block;width:100%;height:100%;object-fit:contain;object-position:50% 100%}
.spk-name{font-size:13.5px;font-weight:600;line-height:1.3;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

@media (max-width:700px){
  .spk-reel{margin-top:30px}
  .spk-tile{width:128px}
  .spk-name{font-size:12.5px}
}
/* Less motion: the row stands still and can be scrolled by hand */
@media (prefers-reduced-motion:reduce){
  .spk-track{animation:none}
  .spk-reel{overflow-x:auto}
  .spk-head .btn svg{transition:none}
}

/* ---------- The workshops (js/sections/workshop-reel.js), the same moving row ----------
   Pictures only, not links. Every photo is 220px tall: one trainer in a tall
   frame (the whole person, like the speakers), a team of three in a wide one.
   Text under the photo is as wide as the photo. */
.ws-reel .spk-track{animation-duration:calc(var(--n,10) * 2.4s);align-items:flex-start}
.ws-tile{flex:none;width:176px}
.ws-tile.has-team{width:293px}
.ws-tile-in{display:grid;gap:8px}
.ws-tile-ph{display:grid;place-items:center;width:100%;height:220px;border-radius:18px;overflow:hidden;border:1px solid color-mix(in srgb,var(--teal) 35%,var(--line));
  background:radial-gradient(120% 100% at 50% 40%,color-mix(in srgb,var(--teal) 32%,var(--surface-2)),var(--surface-2))}
.ws-tile-ph img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom}
.ws-tile-icon{display:grid;place-items:center;color:var(--teal-ink)}
.ws-tile-icon svg{width:56px;height:56px}
.ws-tile-title{font-size:14px;font-weight:700;line-height:1.3;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ws-tile-trainer{margin-top:-2px;font-size:12.5px;color:var(--teal-ink);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:700px){.ws-tile{width:150px}.ws-tile.has-team{width:250px}.ws-tile-ph{height:188px}}
/* A team workshop: the three trainers from one wide photo, placed side by side
   and overlapping so they fill the tile (the same layout as workshops.css). */
.ws-tile.has-team .ws-tile-ph{position:relative;display:block;container-type:inline-size;isolation:isolate}
.ws-tile .ws-person{margin:0}
.ws-tile .ws-person-portrait{position:absolute;aspect-ratio:627/836;width:45%;left:2%;top:calc(50% - 25.6666667cqw + 14px);z-index:1;background-size:300% auto;background-position:var(--person-x) center;background-repeat:no-repeat;-webkit-mask-image:linear-gradient(to bottom,#000 92%,transparent);mask-image:linear-gradient(to bottom,#000 92%,transparent)}
.ws-tile .ws-person:nth-of-type(2) .ws-person-portrait{width:52%;left:24%;top:calc(50% - 34.6666667cqw + 14px);z-index:3}
.ws-tile .ws-person:nth-of-type(3) .ws-person-portrait{left:auto;right:2%}

/* ---------- The sponsors (js/sections/sponsor-reel.js), the same moving row ----------
   Every 2026 sponsor's logo, Diamond first, in a 9:5 box like the sponsor wall,
   with its tier's colour around it. Pictures only, not links. */
.sponsor-reel .spk-track{--gap:16px;animation-duration:calc(var(--n,20) * 1.5s);align-items:center}
.sr-tile{flex:none;width:200px;--sr:#7FD6D2}
.sr-tile.tc-dia{--sr:#67D4F5;width:240px}
.sr-tile.tc-plat{--sr:#DCE6EE;width:220px}
.sr-tile.tc-gold{--sr:#F2C14E;width:200px}
.sr-tile.tc-silver{--sr:#AFC0CA;width:180px}
.sr-tile.tc-bronze{--sr:#D9895A;width:165px}
.sr-logo{display:grid;place-items:center;width:100%;aspect-ratio:9/5;padding:12px 16px;border-radius:16px;overflow:hidden;
  border:2px solid color-mix(in srgb,var(--sr) 70%,transparent);box-shadow:0 8px 24px -14px var(--sr)}
.sr-logo img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.sr-tile.is-tile .sr-logo{padding:0}
.sr-tile.is-tile .sr-logo img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover}
@media (max-width:700px){.sr-tile.tc-dia{width:190px}.sr-tile.tc-plat{width:175px}.sr-tile.tc-gold{width:160px}.sr-tile.tc-silver{width:145px}.sr-tile.tc-bronze{width:132px}}
