/* ===== Leadership Duo (replica style) ===== */
.duo {
  --duo-blue: #0b66d6;
  --duo-blue2: #0a5ed0;
  --duo-ink: #0b1c4a;
  --duo-muted: #4a5a79;
  padding: clamp(20px, 4vw, 48px) 0;
  background: radial-gradient(
      1100px 500px at 12% -12%,
      rgba(11, 102, 214, 0.06),
      transparent 60%
    ),
    radial-gradient(
      900px 420px at 88% -10%,
      rgba(10, 94, 208, 0.06),
      transparent 60%
    ),
    linear-gradient(180deg, #f8fbff 0%, #f2f6ff 100%);
}
.duo-wrap {
  width: min(1200px, 92vw);
  margin-inline: auto;
  display: grid;
  align-items: center;
  gap: clamp(12px, 2.5vw, 22px);
  grid-template-columns: 1fr auto 1fr;
}

/* Center title with lines */
.duo-center {
  text-align: center;
}
.duo-title {
  margin: 0;
  color: #123b7a;
  font-weight: 900;
  letter-spacing: 0.4px;
  line-height: 1.02;
  font-size: clamp(1.6rem, 4.6vw, 2.6rem);
}
.duo-topline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1rem, 2.1vw, 1.15rem);
  font-weight: 800;
  color: #123b7a;
  position: relative;
}
.duo-topline::before,
.duo-topline::after {
  content: "";
  height: 3px;
  width: clamp(40px, 8vw, 90px);
  background: #3c82e6;
  border-radius: 999px;
  display: inline-block;
}

/* Cards */
.duo-card {
  display: grid;
  justify-items: center;
  gap: 10px;
}
.duo-photo {
  position: relative;
  width: min(320px, 62vw);
  aspect-ratio: 1/1.02;
  overflow: hidden;
  background: linear-gradient(160deg, #0a89e6, #006bd6);
  /* approximate the inner-rounded shape with asymmetric radii */
  border-radius: 84px 24px 84px 24px; /* left default */
  box-shadow: 0 16px 40px rgba(11, 102, 214, 0.18);
}
.duo-photo--right {
  border-radius: 24px 84px 24px 84px;
} /* mirror shape */

.duo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* Captions */
.duo-meta {
  text-align: left;
  width: 100%;
  max-width: min(320px, 62vw);
}
.duo-name {
  margin: 0.2rem 0 0;
  color: #123b7a;
  font-weight: 800;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
}
.duo-role {
  margin: 0.1rem 0 0;
  color: #50618a;
  font-size: clamp(0.95rem, 2.3vw, 1.05rem);
}

/* Reveal */
.duo-reveal {
  opacity: 0;
  transform: translateY(12px);
}
.duo.in-view .duo-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.duo-card.duo-reveal {
  transition-delay: 0.06s;
}
.duo-center.duo-reveal {
  transition-delay: 0.02s;
}

/* Responsive stack */
@media (max-width: 900px) {
  .duo-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .duo-meta {
    text-align: center;
    margin-inline: auto;
  }
  .duo-center {
    order: -1;
  }
  .duo-photo {
    width: min(380px, 78vw);
  }
}

/* ===== Organising Team Message (scoped) ===== */
.msg {
  --m-blue1: #1d4ed8;
  --m-blue2: #2847d9;
  --m-ink: #0b1c4a;
  --m-muted: #4c5a78;
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(24px, 5vw, 60px) 0;
  /* light textured paper with brand wash */
  background: radial-gradient(
      1100px 500px at 10% -12%,
      rgba(29, 78, 216, 0.06),
      transparent 60%
    ),
    radial-gradient(
      900px 420px at 90% -10%,
      rgba(40, 71, 217, 0.06),
      transparent 60%
    ),
    linear-gradient(180deg, #f9fbff 0%, #f3f7ff 100%);
}
.msg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.22;
}

.msg-wrap {
  width: min(1100px, 92vw);
  margin-inline: auto;
  color: #0b1c4a;
}

/* Header */
.msg-head {
  text-align: center;
}
.msg-head h2 {
  margin: 0 0 6px;
  font-weight: 900;
  line-height: 1.06;
  font-size: clamp(1.6rem, 4.8vw, 2.6rem);
  color: var(--m-ink);
}
.msg-sub {
  margin: 0 0 10px;
  color: #29406b;
  opacity: 0.9;
  font-size: clamp(1rem, 2vw, 1.08rem);
}
.msg-rule {
  display: inline-block;
  width: 140px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--m-blue1), var(--m-blue2));
}

/* Message card */
.msg-card {
  margin: clamp(16px, 3vw, 24px) auto 0;
  width: min(1000px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: clamp(16px, 4vw, 26px);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(11, 28, 74, 0.06);
}
.msg-body p {
  margin: 0 0 12px;
  line-height: 1.7;
  font-size: clamp(1rem, 2vw, 1.08rem);
  color: #0e1730;
}

/* Signatories row */
.msg-signatories {
  display: grid;
  gap: clamp(14px, 2.6vw, 24px);
  grid-template-columns: 1fr 1fr;
  align-items: start;
  justify-items: center;
  margin-top: clamp(10px, 2.6vw, 18px);
}
@media (max-width: 800px) {
  .msg-signatories {
    grid-template-columns: 1fr;
  }
}

.sig {
  display: grid;
  justify-items: center;
  gap: 10px;
}
.sig-photo {
  position: relative;
  transform: scale(0.85);
  width: min(320px, 75vw);
  aspect-ratio: 1/0.82;
  overflow: hidden;
  background: linear-gradient(160deg, #0a89e6, #006bd6);
  border-radius: 80px 26px 26px 26px; /* left default */
  box-shadow: 0 16px 40px rgba(29, 78, 216, 0.18);
}
.sig-photo--right {
  border-radius: 26px 80px 26px 26px;
} /* mirrored */
.sig-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.sig-meta {
  text-align: center;
}
.sig-name {
  margin: 0.2rem 0 0;
  font-weight: 800;
  color: #123b7a;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
}
.sig-role {
  margin: 0.1rem 0 0;
  color: #50618a;
  font-size: clamp(0.95rem, 2.3vw, 1.05rem);
}

/* Reveal */
.msg-reveal {
  opacity: 0;
  transform: translateY(12px);
}
.msg.in-view .msg-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.msg-head.msg-reveal {
  transition-delay: 0.03s;
}
.msg-card.msg-reveal {
  transition-delay: 0.08s;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .msg-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- Fix: center photos on mobile --- */
@media (max-width: 900px) {
  .msg-signatories {
    justify-items: center;
  } /* grid centers items */
  .sig,
  .sig-photo {
    margin-inline: auto;
  } /* hard-center each figure */
  .sig-photo {
    width: min(360px, 86vw);
    aspect-ratio: 1 / 1;
  } /* square on mobile */
}

/* --- Fix: increase image height on desktop (portrait) --- */
@media (min-width: 901px) {
  .sig-photo {
    width: 320px; /* consistent width */
    aspect-ratio: 3 / 4; /* taller portrait (height > width) */
  }
}

/* Keep images filling the shaped frame cleanly */
.sig-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* no distortion */
  border-radius: inherit;
}

/* ===== Banner + Dates (Wave + Timeline) ===== */
.sched-tl {
  position: relative;
  isolation: isolate;
  padding-bottom: 0;
  margin-bottom: 2rem;
}

/* Banner with wave cut */
.schedtl-hero {
  position: relative;
  margin: 0;
  padding-top: 10px;
}
.schedtl-hero img {
  width: 100%;
  height: clamp(36vh, 52vh, 60vh);
  object-fit: cover;
  display: block;
  filter: contrast(1.02) saturate(1.02);
}
.schedtl-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  padding: 16px;
  /* background: linear-gradient(
    180deg,
    rgba(7, 13, 35, 0.45) 0%,
    rgba(7, 13, 35, 0.28) 50%,
    rgba(7, 13, 35, 0.55) 100%
  ); */
}
.schedtl-kicker {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.schedtl-overlay h2 {
  margin: 0.55rem 0 0;
  font-weight: 900;
  line-height: 1.06;
  font-size: clamp(1.7rem, 5vw, 2.8rem);
  background: linear-gradient(135deg, #fff, #d9e6ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* wave mask at bottom */
.schedtl-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 44px; /* tightened from 70px */
  background: #f7faff;
  -webkit-clip-path: path(
    "M0,40 C200,0 400,80 640,40 C880,0 1080,80 1280,40 C1480,0 1680,80 1920,40 L1920,100 L0,100 Z"
  );
  clip-path: path(
    "M0,40 C200,0 400,80 640,40 C880,0 1080,80 1280,40 C1480,0 1680,80 1920,40 L1920,100 L0,100 Z"
  );
}

/* Timeline wrapper */
.schedtl-wrap {
  width: min(1100px, 92vw);
  margin: clamp(18px, 5vw, 44px) auto;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 4vw, 32px);
}
.sched-tl > *:last-child {
  margin-bottom: 0;
}

/* baseline (global) */
.schedtl-line {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% - 1px);
  height: 2px;
  background: linear-gradient(90deg, #cfe0ff, #a8c2ff);
  border-radius: 999px;
  opacity: 0.6;
}

/* each stop */
.schedtl-stop {
  position: relative;
  padding-left: 0;
  color: #0b1c4a;
}

.schedtl-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(180deg, #1d4ed8, #2847d9);
  box-shadow: 0 0 0 6px rgba(29, 78, 216, 0.15);
  top: calc(50% - 7px);
  left: -7px;
}

.schedtl-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.schedtl-head h3 {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.3px;
  line-height: 1.1;
  font-size: clamp(1.25rem, 3.2vw, 1.6rem);
  color: #0b1c4a;
}
.schedtl-head time {
  color: #4360a0;
  font-weight: 800;
  font-size: clamp(1rem, 2.2vw, 1.06rem);
}

.schedtl-venue {
  margin: 6px 0 0;
  color: #0f172a;
  font-size: clamp(1rem, 2vw, 1.06rem);
}

.schedtl-link {
  margin-top: 8px;
  display: inline-block;
  font-weight: 800;
  color: #123b7a;
  text-decoration: none;
  padding-bottom: 2px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.schedtl-link:hover {
  border-color: #123b7a;
  transform: translateY(-1px);
}

/* reveal */
.schedtl-reveal {
  opacity: 0;
  transform: translateY(12px);
}
.sched-tl.in-view .schedtl-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ======= Mobile (<=860px): vertical timeline intact ======= */
@media (max-width: 860px) {
  .schedtl-wrap {
    grid-template-columns: 1fr;
  }

  .schedtl-line {
    left: 20px;
    right: auto;
    width: 2px;
    top: 0;
    bottom: 0;
    height: auto;
    background: linear-gradient(#cfe0ff, #a8c2ff);
    display: block;
  }

  .schedtl-stop {
    padding-left: 44px;
  }

  .schedtl-dot {
    top: 10px;
    left: 13px;
    display: block;
  }
}

/* ======= Desktop (>=861px): clean 2-col, no timeline chrome ======= */
@media (min-width: 861px) {
  /* Hide baseline & dots for a neat card layout */
  .schedtl-line,
  .schedtl-dot,
  .schedtl-stop::after {
    display: none !important;
  }

  .schedtl-wrap {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
    justify-items: center;
    margin: clamp(12px, 3vw, 28px) auto 0; /* tighten spacing; no big bottom gap */
  }

  .schedtl-stop {
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    border: none !important;
  }
}
/* === Schedule hero: bigger and better crop === */
:root {
  /* tweak once and forget */
  --schedtl-hero-min: 48vh; /* was 36vh */
  --schedtl-hero-prefer: 64vh; /* was 52vh */
  --schedtl-hero-max: 76vh; /* was 60vh */
}

/* increase height + show more of the top of the image */
.schedtl-hero img {
  height: clamp(
    var(--schedtl-hero-min),
    var(--schedtl-hero-prefer),
    var(--schedtl-hero-max)
  ) !important;
  object-fit: cover;
  object-position: center 12%; /* pull framing upward; try 0%..20% */
}

/* wave gets a touch taller so the curve feels proportional */
.schedtl-hero::after {
  height: 60px; /* was 44px */
}

/* desktop: a bit taller banner */
@media (min-width: 1024px) {
  .schedtl-hero img {
    height: 72vh !important;
    object-position: center 10%;
  }
}

/* small screens: keep it reasonable */
@media (max-width: 600px) {
  .schedtl-hero img {
    height: 56vh !important;
    object-position: center 15%;
  }
}

/* ===== Key Features (scoped) ===== */
/* ===== Key Features – Icon Rail (no boxes) ===== */
.kf-rail {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(28px, 7vw, 90px) 0;
  /* Rich but elegant background */
  background: radial-gradient(
      900px 380px at 12% -10%,
      rgba(29, 78, 216, 0.1),
      transparent 60%
    ),
    radial-gradient(
      700px 300px at 88% -8%,
      rgba(40, 71, 217, 0.1),
      transparent 60%
    ),
    linear-gradient(180deg, #fbfdff 0%, #f6f9ff 100%);
  padding-top: 3rem;
  padding-bottom: 2rem;
}
.kfrail-wrap {
  width: min(1200px, 92vw);
  margin-inline: auto;
}
.kfrail-head {
  text-align: center;
  margin-bottom: clamp(16px, 4vw, 30px);
}
.kfrail-head h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1.06;
  color: #0b1c4a;
  font-size: clamp(1.6rem, 5.2vw, 2.4rem);
}
.kfrail-sub {
  margin: 6px 0 0;
  color: #47608b;
  opacity: 0.9;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

/* Curved connector (visible desktop only) */
.kfrail-path {
  width: 100%;
  height: 180px;
  display: block;
  margin: 0 auto 10px;
}
.kfrail-path path {
  fill: none;
  stroke: url(#kfrailStroke);
  stroke-width: 2.5;
  opacity: 0.6;
  /* fallback if gradient ref missing */
  stroke: #cfe0ff;
}
/* Gradient stroke via CSS paint: emulate with filter */
.kfrail-path path {
  stroke: linear-gradient(90deg, #cfe0ff, #9dbaff);
}

/* Station list */
.kfrail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  align-items: start;
  justify-items: center;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 2.6vw, 18px);
  position: relative;
  top: -150px; /* pull items onto the curve */
}
@media (max-width: 1100px) {
  .kfrail-path {
    height: 150px;
  }
  .kfrail-list {
    top: -128px;
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 820px) {
  .kfrail-path {
    display: none;
  }
  .kfrail-list {
    top: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 420px) {
  .kfrail-list {
    grid-template-columns: 1fr;
  }
}

/* Each station */
.kfrail-item {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
  transform: translateY(0);
  transition: transform 0.18s ease;
}
.kfrail-item:hover {
  transform: translateY(-4px);
}

/* small dot that appears to sit on the curve */
.kfrail-dot {
  display: none;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1d4ed8, #2847d9);
  box-shadow: 0 0 0 6px rgba(29, 78, 216, 0.12);
}

/* Icon disc */
.kfrail-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: radial-gradient(
    140% 140% at 30% 20%,
    #e9f1ff,
    #d8e7ff 45%,
    #c9dcff 100%
  );
  box-shadow: 0 10px 28px rgba(11, 28, 74, 0.14);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.kfrail-item:hover .kfrail-icon {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(11, 28, 74, 0.2);
}

/* SVG icon styling */
.kfrail-icon svg {
  width: 34px;
  height: 34px;
  fill: #0b1c4a;
}

/* Label */
.kfrail-label {
  display: block;
  max-width: 220px;
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1.15;
  color: #0b1c4a;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

/* Reveal animation */
.kfreveal {
  opacity: 0;
  transform: translateY(10px);
}
.kf-rail.in-view .kfreveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.kfrail-list .kfreveal:nth-child(1) {
  transition-delay: 0.04s;
}
.kfrail-list .kfreveal:nth-child(2) {
  transition-delay: 0.08s;
}
.kfrail-list .kfreveal:nth-child(3) {
  transition-delay: 0.12s;
}
.kfrail-list .kfreveal:nth-child(4) {
  transition-delay: 0.16s;
}
.kfrail-list .kfreveal:nth-child(5) {
  transition-delay: 0.2s;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .kfreveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== Organising Committee (Slider) ===== */
.oc {
  --oc-ink: #0b1c4a;
  --oc-muted: #51607a;
  --oc-blue1: #1d4ed8;
  --oc-blue2: #2847d9;
  --oc-gap: clamp(12px, 2.2vw, 20px);
  position: relative;
  isolation: isolate;
  padding: clamp(22px, 5vw, 50px) 0;
  background: radial-gradient(
      900px 360px at 12% -10%,
      rgba(29, 78, 216, 0.08),
      transparent 60%
    ),
    radial-gradient(
      700px 280px at 88% -8%,
      rgba(40, 71, 217, 0.08),
      transparent 60%
    ),
    linear-gradient(180deg, #fbfdff 0%, #f6f9ff 100%);
}
.oc-head {
  width: min(1200px, 92vw);
  margin: 0 auto clamp(14px, 3vw, 22px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.oc-head h2 {
  margin: 0;
  font-weight: 900;
  color: var(--oc-ink);
  letter-spacing: 0.3px;
  line-height: 1.06;
  font-size: clamp(1.5rem, 4.6vw, 2.2rem);
}
.oc-ctrls {
  display: flex;
  gap: 10px;
}
.oc-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
  border: none;
  background: linear-gradient(90deg, var(--oc-blue1), var(--oc-blue2));
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.24);
  transition: transform 0.15s ease;
}
.oc-nav:hover {
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .oc-ctrls {
    display: none;
  }
}

/* viewport + track */
.oc-viewport {
  width: min(1200px, 92vw);
  margin-inline: auto;
  overflow: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  outline: none;
}
.oc-viewport::-webkit-scrollbar {
  height: 8px;
}
.oc-viewport::-webkit-scrollbar-thumb {
  background: #cfe0ff;
  border-radius: 99px;
}

.oc-track {
  display: flex;
  gap: var(--oc-gap);
  padding: 4px;
}

/* cards */
.oc {
  --per: 4;
}
@media (max-width: 1100px) {
  .oc {
    --per: 3;
  }
}
@media (max-width: 800px) {
  .oc {
    --per: 2;
  }
}
@media (max-width: 520px) {
  .oc {
    --per: 1.2;
  }
}

.oc-card {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--oc-gap)) / var(--per));
  scroll-snap-align: start;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(11, 28, 74, 0.06);
  box-shadow: 0 12px 40px rgba(11, 28, 74, 0.1);
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.oc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 56px rgba(11, 28, 74, 0.14);
}

.oc-img {
  position: relative;
  aspect-ratio: 3/4;
  background: #e9eefb;
  overflow: hidden;
}
.oc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.oc-img::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--oc-blue1), var(--oc-blue2));
}

.oc-meta {
  padding: 14px 14px 18px;
  text-align: center;
}
.oc-name {
  margin: 0;
  font-weight: 900;
  color: var(--oc-ink);
  font-size: clamp(1rem, 2.3vw, 1.15rem);
}
.oc-role {
  margin: 6px 0 0;
  color: var(--oc-muted);
  font-size: 0.95rem;
}

/* focus ring on keyboard */
.oc-card:focus-within {
  outline: 2px solid #9dbaff;
  outline-offset: 2px;
}

/* Center title on mobile */
@media (max-width: 640px) {
  .oc-head {
    flex-direction: column; /* Stack title & controls */
    align-items: center; /* Center them */
    text-align: center;
    gap: 12px;
  }

  .oc-head h2 {
    text-align: center;
  }
}

/* ===== City Showcase Slider (scoped) ===== */
.cityshow {
  padding: clamp(28px, 6vw, 64px) 0;
}
.cityshow-title {
  margin: 0 0 clamp(14px, 3vw, 22px);
  text-align: center;
  letter-spacing: 0.4px;
  font-weight: 900;
  color: var(--blue, #1f3e8a);
  font-size: clamp(1.2rem, 4.4vw, 2.2rem);
}

/* slider shell */
.cityshow-slider {
  position: relative;
  user-select: none;
}
.cityshow-viewport {
  overflow: hidden;
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow, 0 8px 30px rgba(0, 0, 0, 0.08));
  background: #fff;
}
.cityshow-track {
  list-style: none;
  display: flex;
  gap: clamp(8px, 1.4vw, 14px);
  padding: clamp(8px, 1.4vw, 14px);
  margin: 0;
  transform: translateX(0);
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.cityshow-slide {
  flex: 0 0 var(--slide-w, 100%);
  border-radius: 10px;
  overflow: hidden;
  background: #f7f7fb;
}
.cityshow-slide img {
  width: 100%;
  height: clamp(180px, 26vw, 380px);
  object-fit: cover;
  display: block;
  filter: contrast(1.02) saturate(1.02);
}

/* arrows */
.cityshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  font-size: 28px;
  line-height: 44px;
  text-align: center;
  color: var(--blue, #1f3e8a);
  z-index: 2;
}
.cityshow-prev {
  left: 10px;
}
.cityshow-next {
  right: 10px;
}
.cityshow-arrow:hover {
  background: #fff;
}

/* dots */
.cityshow-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 12px 0 0;
}
.cityshow-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
}
.cityshow-dots button[aria-selected="true"] {
  background: var(--blue, #1f3e8a);
  transform: scale(1.2);
}

/* layout: slides per view */
@media (max-width: 640px) {
  .cityshow {
    padding-top: 18px;
  }
  .cityshow-slide img {
    height: clamp(200px, 46vw, 320px);
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .cityshow-slide img {
    height: clamp(220px, 30vw, 360px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cityshow-track {
    transition: none !important;
  }
  .cityshow-slider[data-autoplay="true"] {
    pointer-events: auto;
  }
}
