/* Round 3 weekend schedule carousel */
.round3-weekend {
  --weekend-red: #f52f42;
  --weekend-cyan: #22c9e6;
  --weekend-amber: #ffbd45;
  --weekend-line: rgba(255,255,255,.14);
  overflow: hidden;
}

.round3-weekend-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.round3-weekend-head .section-head { margin: 0; }
.round3-weekend-head .lead { max-width: 430px; margin-bottom: 5px; }

.round3-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.round3-event-meta span {
  padding: 8px 12px;
  border: 1px solid var(--weekend-line);
  background: rgba(255,255,255,.035);
  color: #cdd7e3;
  font: 600 11px/1 var(--font-mono, "Chakra Petch", sans-serif);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.round3-carousel { position: relative; }
.round3-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.round3-tab {
  position: relative;
  min-height: 67px;
  overflow: hidden;
  padding: 11px 17px;
  border: 1px solid var(--weekend-line);
  background: #0a0e16;
  color: #8592a3;
  text-align: left;
  cursor: pointer;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.round3-tab::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--tab-accent, var(--weekend-cyan));
  transition: right .3s ease;
}

.round3-tab[aria-selected="true"] {
  border-color: rgba(255,255,255,.28);
  background: #111824;
  color: #fff;
}
.round3-tab[aria-selected="true"]::after { right: 0; }
.round3-tab:focus-visible { outline: 2px solid var(--weekend-cyan); outline-offset: 2px; }
.round3-tab--main { --tab-accent: var(--weekend-red); }
.round3-tab strong {
  display: block;
  font: italic 800 24px/1 "Kanit", sans-serif;
  text-transform: uppercase;
}
.round3-tab span {
  font: 600 10px/1 "Chakra Petch", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.round3-viewport {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  background: #080c12;
  box-shadow: 0 40px 100px rgba(0,0,0,.42);
  touch-action: pan-y;
}
.round3-track {
  display: flex;
  width: 400%;
  transform: translateX(-25%);
  transition: transform .55s cubic-bezier(.22,.8,.26,1);
}
.round3-slide {
  position: relative;
  isolation: isolate;
  flex: 0 0 25%;
  min-width: 0;
  min-height: 650px;
  overflow: hidden;
  padding: clamp(34px,5vw,72px);
}
.round3-photo,
.round3-photo::before,
.round3-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
}
.round3-photo {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #06101a;
}
.round3-photo::before {
  z-index: 1;
  background:
    linear-gradient(90deg,rgba(3,8,14,.98) 0%,rgba(3,8,14,.9) 38%,rgba(3,8,14,.35) 67%,rgba(3,8,14,.28) 100%),
    linear-gradient(0deg,rgba(3,8,14,.92),transparent 55%);
}
.round3-photo::after {
  z-index: 2;
  background:
    linear-gradient(115deg,transparent 68%,rgba(34,201,230,.14)),
    repeating-linear-gradient(100deg,transparent 0 110px,rgba(255,255,255,.025) 111px 112px);
}
.round3-slide--fri .round3-photo {
  background-image: url("../media/events/round3-weekend/friday-open-practice.jpeg");
  background-position: 70% 52%;
  filter: saturate(.88) brightness(.88) contrast(1.08);
}
.round3-slide--sat .round3-photo {
  background-image: url("../media/events/round3-weekend/saturday-unlimited.jpeg");
  background-position: 70% 50%;
  filter: saturate(.92) brightness(.94) contrast(1.08);
}
.round3-slide--sun .round3-photo {
  background-image: url("../media/events/round3-weekend/sunday-street-series.jpeg");
  background-position: 65% 52%;
  filter: saturate(.82) brightness(.84) contrast(1.08);
}
.round3-slide--mon .round3-photo {
  background-image: url("../media/events/round3-weekend/monday-beach-day.webp");
  background-position: 50% 38%;
  filter: saturate(.88) brightness(.72) contrast(1.04);
}
.round3-slide--mon .round3-photo::before {
  background:
    linear-gradient(90deg,rgba(3,8,14,.98),rgba(3,8,14,.82) 42%,rgba(3,8,14,.24) 76%),
    linear-gradient(0deg,rgba(3,8,14,.9),transparent 56%);
}

.round3-content { position: relative; z-index: 2; width: min(690px,60%); }
.round3-dayline {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #d4dde8;
  font: 700 12px/1 "Chakra Petch", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.round3-dayline .date { color: var(--weekend-cyan); }
.round3-dayline .kicker { color: var(--weekend-amber); }
.round3-slide h3 {
  margin: 20px 0 15px;
  color: #f4f7fb;
  font: italic 900 clamp(54px,6vw,96px)/.84 "Kanit", sans-serif;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.round3-slide--sat h3 { font-size: clamp(62px,7.3vw,112px); }
.round3-slide h3 .sub {
  display: block;
  margin-top: 12px;
  color: #f0f4f8;
  font-size: .42em;
  line-height: 1.06;
  letter-spacing: .015em;
}
.round3-accent { width: 82px; height: 5px; margin: 22px 0; background: var(--weekend-cyan); }
.round3-slide--sat .round3-accent { width: 130px; background: var(--weekend-red); }
.round3-schedule { display: grid; gap: 11px; max-width: 640px; margin: 0; padding: 0; list-style: none; }
.round3-schedule li { display: flex; align-items: flex-start; gap: 12px; color: #e6edf5; font-size: 18px; line-height: 1.3; }
.round3-schedule li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 8px; background: var(--weekend-cyan); transform: rotate(45deg); }
.round3-slide--sat .round3-schedule li::before { background: var(--weekend-red); }
.round3-note { max-width: 590px; margin: 18px 0 0; color: #aeb9c7; font-size: 14px; line-height: 1.45; }
.round3-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.round3-actions .btn { min-height: 48px; }
.round3-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.round3-navbuttons { display: flex; gap: 8px; }
.round3-navbutton { width: 48px; height: 48px; border: 1px solid var(--weekend-line); background: #0d131d; color: #fff; cursor: pointer; font-size: 22px; }
.round3-navbutton:disabled { cursor: not-allowed; opacity: .3; }
.round3-navbutton:focus-visible { outline: 2px solid var(--weekend-cyan); outline-offset: 2px; }
.round3-progress { color: #818e9d; font: 700 12px/1 "Chakra Petch",sans-serif; letter-spacing: .16em; }
.round3-progress b { color: #fff; font-size: 18px; }
.round3-download { border-bottom: 1px solid #495463; color: #b9c4d0; font: 600 12px/1.5 "Chakra Petch",sans-serif; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.round3-swipe { display: none; }

@media (max-width: 800px) {
  .round3-weekend-head { display: block; }
  .round3-weekend-head .lead { margin-top: 18px; font-size: 15px; }
  .round3-event-meta { margin-bottom: 14px; }
  .round3-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .round3-tabs::-webkit-scrollbar { display: none; }
  .round3-tab { flex: 0 0 112px; min-height: 60px; padding: 9px 12px; }
  .round3-tab strong { font-size: 20px; }
  .round3-slide { display: flex; align-items: flex-end; width: 25%; max-width: 25%; min-height: 650px; padding: 26px 22px 30px; }
  .round3-slide .round3-photo::before {
    background:
      linear-gradient(0deg,rgba(3,8,14,.99) 0%,rgba(3,8,14,.96) 60%,rgba(3,8,14,.3) 91%),
      linear-gradient(90deg,rgba(3,8,14,.48),transparent);
  }
  .round3-slide--fri .round3-photo { background-position: 66% top; background-size: auto 46%; }
  .round3-slide--sat .round3-photo { background-position: 62% top; background-size: auto 46%; }
  .round3-slide--sun .round3-photo { background-position: 58% top; background-size: auto 47%; }
  .round3-slide--mon .round3-photo { background-position: 50% 18%; background-size: cover; }
  .round3-content { width: 100%; min-width: 0; padding-top: 150px; }
  .round3-dayline { flex-wrap: wrap; gap: 8px; }
  .round3-slide h3,
  .round3-slide--sat h3 { margin-top: 13px; font-size: 53px; }
  .round3-slide h3 .sub { margin-top: 9px; font-size: .43em; }
  .round3-accent { height: 4px; margin: 15px 0; }
  .round3-schedule { gap: 8px; }
  .round3-schedule li { font-size: 15.5px; }
  .round3-actions { margin-top: 20px; }
  .round3-actions .btn { width: 100%; }
  .round3-controls { align-items: flex-start; gap: 16px; }
  .round3-download { max-width: 150px; text-align: right; font-size: 10px; }
  .round3-swipe { display: block; margin-top: 12px; color: #7e8b9a; font: 600 10px/1 "Chakra Petch",sans-serif; letter-spacing: .12em; text-transform: uppercase; }
}

@media (prefers-reduced-motion: reduce) {
  .round3-track,
  .round3-tab,
  .round3-tab::after { transition: none; }
}
