/* ==========================================================================
   Food Summit Design System (Eventor-inspired)
   FNPT 2027 — International Conference on Food, Nutrition & Processing Technologies
   Dark-first, violet → rose accents, Space Grotesk display type.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  --c-primary-300: #c4b5fd;
  --c-primary-400: #a78bfa;
  --c-primary-500: #8b5cf6;
  --c-primary-600: #7c3aed;
  --c-primary-900: #4c1d95;
  --c-primary-950: #2e1065;
  --c-accent-400: #fb7185;
  --c-accent-500: #f43f5e;
  --c-accent-900: #881337;
  --c-success: #22c55e;

  --grad-brand: linear-gradient(90deg, #8b5cf6 0%, #f43f5e 100%);
  --grad-brand-hover: linear-gradient(90deg, #7c3aed 0%, #e11d48 100%);
  --grad-text: linear-gradient(90deg, #a78bfa 0%, #fb7185 50%, #a78bfa 100%);

  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --container: 1200px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* dark (default) */
  --bg: #030712;
  --bg-alt: #0a0b1a;
  --surface: rgba(17, 24, 39, .55);
  --surface-solid: #111827;
  --surface-hover: rgba(31, 41, 55, .7);
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(167, 139, 250, .35);
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --text-soft: #d1d5db;
  --heading: #ffffff;
  --grid-line: rgba(255, 255, 255, .035);
  --hero-bg: radial-gradient(ellipse 80% 60% at 20% 10%, rgba(76, 29, 149, .55) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 90%, rgba(136, 19, 55, .45) 0%, transparent 60%),
    #030712;
  --nav-bg: rgba(3, 7, 18, .55);
  --nav-bg-scrolled: rgba(3, 7, 18, .85);
  --shadow-card: 0 20px 40px -20px rgba(0, 0, 0, .6);
  --input-bg: rgba(255, 255, 255, .04);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f8fafc;
  --bg-alt: #f1f0fb;
  --surface: rgba(255, 255, 255, .8);
  --surface-solid: #ffffff;
  --surface-hover: #ffffff;
  --border: rgba(15, 23, 42, .09);
  --border-strong: rgba(124, 58, 237, .35);
  --text: #1e293b;
  --text-muted: #64748b;
  --text-soft: #334155;
  --heading: #0f172a;
  --grid-line: rgba(15, 23, 42, .045);
  --hero-bg: radial-gradient(ellipse 80% 60% at 20% 10%, rgba(196, 181, 253, .55) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 90%, rgba(251, 113, 133, .25) 0%, transparent 60%),
    #f8fafc;
  --nav-bg: rgba(255, 255, 255, .6);
  --nav-bg-scrolled: rgba(255, 255, 255, .9);
  --shadow-card: 0 20px 40px -24px rgba(15, 23, 42, .25);
  --input-bg: #ffffff;
  color-scheme: light;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

html body.fs-body {
  background: var(--bg) !important;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}

.fs-body h1,
.fs-body h2,
.fs-body h3,
.fs-body h4,
.fs-body h5,
.fs-body h6 {
  font-family: var(--font-display);
  color: var(--heading);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.fs-body a {
  color: var(--c-primary-400);
  transition: color .2s ease;
}

.fs-body a:hover {
  color: var(--c-accent-400);
  text-decoration: none;
}

:root[data-theme="light"] .fs-body a {
  color: var(--c-primary-600);
}

.fs-body ::selection {
  background: rgba(139, 92, 246, .35);
  color: #fff;
}

.fs-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.text-gradient {
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fs-shimmer 6s linear infinite;
}

@keyframes fs-shimmer {
  to {
    background-position: 200% center;
  }
}

.text-muted-fs {
  color: var(--text-muted) !important;
}

/* grid overlay used by hero + page hero */
.grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: .55;
  animation: fs-float 14s ease-in-out infinite;
}

.glow-orb.orb-violet {
  background: var(--c-primary-500);
}

.glow-orb.orb-rose {
  background: var(--c-accent-500);
  animation-delay: -7s;
}

@keyframes fs-float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -30px) scale(1.08);
  }
}

/* ---------- Buttons ---------- */
.btn-fs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s ease, color .2s ease, border-color .2s ease;
}

.btn-fs:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.fs-body .btn-fs-primary,
.fs-body a.btn-fs-primary {
  background: var(--grad-brand);
  color: #fff !important;
  box-shadow: 0 10px 30px -8px rgba(139, 92, 246, .55);
}

.fs-body .btn-fs-primary:hover {
  background: var(--grad-brand-hover);
  box-shadow: 0 16px 36px -8px rgba(244, 63, 94, .5);
}

.fs-body .btn-fs-ghost,
.fs-body a.btn-fs-ghost {
  background: var(--surface);
  color: var(--heading) !important;
  border-color: var(--border);
  backdrop-filter: blur(10px);
}

.fs-body .btn-fs-ghost:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.btn-fs-sm {
  padding: .55rem 1.1rem;
  font-size: .88rem;
}

.btn-fs-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* ---------- Top ticker ---------- */
.fs-ticker {
  position: relative;
  z-index: 1001;
  background: linear-gradient(90deg, var(--c-primary-950), #1a0b2e 50%, #2a0815);
  color: #e5e7eb;
  font-size: .82rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.fs-ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.fs-ticker-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.fs-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  white-space: nowrap;
}

.fs-ticker-item i {
  color: var(--c-accent-400);
}

.fs-ticker a {
  color: #e5e7eb !important;
}

.fs-ticker a:hover {
  color: #fff !important;
}

.fs-ticker-aver {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  padding: 2px 8px;
}

.fs-ticker-aver img {
  height: 22px;
  width: auto;
}

.fs-ticker-meet {
  font-weight: 600;
  padding: .2rem .8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, .25);
}

.fs-ticker-meet:hover {
  background: rgba(255, 255, 255, .1);
}

/* ---------- Navigation ---------- */
.fs-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 20px 0;
  transition: padding .35s var(--ease);
}

.fs-nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem .75rem .65rem 1rem;
  background: var(--nav-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: max-width .45s var(--ease), background .3s ease, box-shadow .3s ease;
}

.fs-header.is-scrolled {
  padding-top: 8px;
}

.fs-header.is-scrolled .fs-nav {
  max-width: 1240px;
  background: var(--nav-bg-scrolled);
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, .55);
}

.fs-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none !important;
  min-width: 0;
}

.fs-brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--grad-brand);
  padding: 2px;
}

.fs-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
}

.fs-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.fs-brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--heading);
  white-space: nowrap;
}

.fs-brand-sub {
  font-size: .72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-date-chip {
  display: inline-flex;
  align-items: center;
  margin-left: .4rem;
  padding: .2rem .65rem;
  border-radius: var(--radius-pill);
  font-size: .75rem;
  font-weight: 600;
  color: var(--c-accent-400);
  background: rgba(244, 63, 94, .12);
  border: 1px solid rgba(244, 63, 94, .3);
  white-space: nowrap;
}

.fs-menu {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fs-menu>li {
  position: relative;
}

.fs-menu-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .85rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .95rem;
  color: var(--text-soft) !important;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.fs-menu-link:hover,
.fs-menu>li:hover>.fs-menu-link,
.fs-menu-link.is-current {
  color: var(--heading) !important;
  background: rgba(139, 92, 246, .14);
}

.fs-menu-link .fa-chevron-down {
  font-size: .65rem;
  opacity: .7;
  transition: transform .25s ease;
}

.fs-menu>li:hover .fa-chevron-down,
.fs-menu>li.is-open .fa-chevron-down {
  transform: rotate(180deg);
}

.fs-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 250px;
  padding: .5rem;
  list-style: none;
  margin: 0;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.fs-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.fs-menu>li:hover>.fs-dropdown,
.fs-menu>li.is-open>.fs-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.fs-dropdown a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .8rem;
  border-radius: var(--radius-sm);
  color: var(--text-soft) !important;
  font-size: .92rem;
}

.fs-dropdown a i {
  width: 18px;
  text-align: center;
  color: var(--c-primary-400);
}

.fs-dropdown a:hover,
.fs-dropdown a.is-current {
  background: rgba(139, 92, 246, .14);
  color: var(--heading) !important;
}

.fs-nav-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

.fs-theme-toggle,
.fs-burger {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--heading);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.fs-theme-toggle:hover,
.fs-burger:hover {
  background: rgba(139, 92, 246, .14);
  border-color: var(--border-strong);
}

.fs-theme-toggle .fa-moon {
  display: none;
}

:root[data-theme="light"] .fs-theme-toggle .fa-sun {
  display: none;
}

:root[data-theme="light"] .fs-theme-toggle .fa-moon {
  display: inline-block;
}

.fs-burger {
  display: none;
}

@media (max-width: 1279px) {
  .fs-date-chip {
    display: none;
  }

  .fs-menu-link {
    padding: .5rem .6rem;
    font-size: .9rem;
  }
}

@media (max-width: 1099px) {
  .fs-burger {
    display: grid;
  }

  .fs-menu-wrap {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    background: var(--surface-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: .75rem;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    display: none;
  }

  .fs-header.menu-open .fs-menu-wrap {
    display: block;
  }

  .fs-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .fs-menu-link {
    width: 100%;
    justify-content: space-between;
    border-radius: var(--radius-sm);
    padding: .75rem .9rem;
    font-size: 1rem;
  }

  .fs-dropdown {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 .4rem .9rem;
    min-width: 0;
  }

  .fs-menu>li:hover>.fs-dropdown {
    display: none;
  }

  .fs-menu>li.is-open>.fs-dropdown {
    display: block;
  }

  .fs-nav-actions .btn-fs-primary {
    display: none;
  }

  .fs-menu-cta {
    display: block !important;
    margin-top: .5rem;
  }

  .fs-menu-cta .btn-fs {
    width: 100%;
  }
}

.fs-menu-cta {
  display: none;
}

@media (max-width: 575px) {
  .fs-header {
    padding: 10px 12px 0;
  }

  .fs-brand-sub {
    display: none;
  }

  .fs-brand-title {
    font-size: 1rem;
  }

  .fs-brand-mark {
    width: 40px;
    height: 40px;
  }

  .fs-ticker-hide-sm {
    display: none !important;
  }
}

/* ---------- Home hero ---------- */
.fs-hero {
  position: relative;
  overflow: hidden;
  margin-top: -84px;
  padding: 170px 0 110px;
  background: var(--hero-bg);
  text-align: center;
}

.fs-hero .glow-orb.orb-violet {
  width: 520px;
  height: 520px;
  top: -120px;
  left: -120px;
}

.fs-hero .glow-orb.orb-rose {
  width: 420px;
  height: 420px;
  bottom: -160px;
  right: -80px;
}

.fs-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

.fs-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.fs-pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .95rem;
  color: var(--heading);
  backdrop-filter: blur(10px);
}

.fs-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-accent-500);
  position: relative;
  flex-shrink: 0;
}

.fs-live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-accent-500);
  animation: fs-ping 1.8s cubic-bezier(0, 0, .2, 1) infinite;
}

@keyframes fs-ping {

  75%,
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.fs-hero-kicker {
  margin: 2rem 0 .6rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-soft);
  font-weight: 500;
  letter-spacing: .02em;
}

.fs-hero-title {
  font-size: clamp(2.4rem, 6.4vw, 5rem);
  font-weight: 700;
  line-height: 1.04;
  margin: 0 0 1.5rem;
}

.fs-hero-sub {
  max-width: 720px;
  margin: 0 auto 2.25rem;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
}

.fs-countdown {
  display: flex;
  justify-content: center;
  gap: clamp(.5rem, 2vw, 1rem);
  margin: 0 auto 2.5rem;
  flex-wrap: wrap;
}

.fs-countdown-box {
  min-width: clamp(70px, 14vw, 104px);
  padding: 1rem .75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.fs-countdown-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}

.fs-countdown-label {
  display: block;
  margin-top: .4rem;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-muted);
}

.fs-hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.fs-hero-badge {
  position: absolute;
  z-index: 2;
  right: 6%;
  top: 46%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  box-shadow: 0 0 0 1px var(--border-strong), 0 30px 60px -20px rgba(139, 92, 246, .6);
  animation: fs-float 10s ease-in-out infinite;
}

.fs-hero-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

@media (max-width: 1199px) {
  .fs-hero-badge {
    display: none;
  }
}

/* ---------- Stats bar ---------- */
.fs-stats {
  position: relative;
  z-index: 3;
  margin-top: -56px;
}

.fs-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.fs-stat {
  padding: 1.75rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.fs-stat:last-child {
  border-right: 0;
}

.fs-stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1;
}

.fs-stat-label {
  display: block;
  margin-top: .5rem;
  font-size: .9rem;
  color: var(--text-muted);
}

@media (max-width: 767px) {
  .fs-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fs-stat:nth-child(2) {
    border-right: 0;
  }

  .fs-stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }
}

/* ---------- Sections ---------- */
.fs-section {
  position: relative;
  padding: clamp(64px, 9vw, 110px) 0;
}

.fs-section-alt {
  background: var(--bg-alt);
}

.fs-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}

.fs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--c-primary-400);
  margin-bottom: .9rem;
}

.fs-eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.fs-section-title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

.fs-section-sub {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin: 0;
}

.fs-section-head.text-left {
  text-align: left;
  margin-left: 0;
}

/* ---------- Cards ---------- */
.fs-card {
  position: relative;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  transition: transform .35s var(--ease), border-color .3s ease, background .3s ease, box-shadow .35s var(--ease);
}

.fs-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-hover);
  box-shadow: var(--shadow-card);
}

.fs-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: #fff;
  background: var(--grad-brand);
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 24px -10px rgba(139, 92, 246, .7);
}

.fs-card h3,
.fs-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: .6rem;
}

.fs-card p {
  color: var(--text-muted);
  font-size: .96rem;
  margin-bottom: 0;
}

.fs-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.1rem;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: .92rem;
}

.fs-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  backdrop-filter: blur(12px);
}

/* ---------- Important dates timeline ---------- */
.fs-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}

.fs-timeline::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-primary-500), var(--c-accent-500), transparent);
  opacity: .5;
}

.fs-timeline-step {
  position: relative;
  text-align: center;
  padding: 0 .5rem;
}

.fs-timeline-dot {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: #fff;
  background: var(--grad-brand);
  border: 5px solid var(--bg-alt);
  position: relative;
  z-index: 1;
}

.fs-timeline-date {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--heading);
}

.fs-timeline-label {
  display: block;
  color: var(--text-muted);
  font-size: .93rem;
  margin-top: .25rem;
}

@media (max-width: 767px) {
  .fs-timeline {
    grid-template-columns: 1fr 1fr;
    row-gap: 2rem;
  }

  .fs-timeline::before {
    display: none;
  }
}

/* ---------- About + quick links ---------- */
.fs-about-text p {
  color: var(--text-muted);
  font-size: 1.04rem;
}

.fs-about-text strong {
  color: var(--heading);
}

.fs-check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.fs-check-list li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .55rem 0;
  color: var(--text-soft);
}

.fs-check-list li i {
  color: var(--c-accent-400);
  margin-top: .3rem;
}

.fs-quick-links {
  display: grid;
  gap: .75rem;
}

.fs-quick-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--heading) !important;
  font-family: var(--font-display);
  font-weight: 600;
  transition: transform .3s var(--ease), border-color .2s ease, background .2s ease;
}

.fs-quick-link:hover {
  transform: translateX(6px);
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.fs-quick-link .ql-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad-brand);
}

.fs-quick-link .ql-arrow {
  margin-left: auto;
  color: var(--text-muted);
  transition: transform .2s ease;
}

.fs-quick-link:hover .ql-arrow {
  transform: translateX(4px);
  color: var(--c-accent-400);
}

.fs-quick-link small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-muted);
  font-size: .82rem;
}

/* ---------- Session grid ---------- */
.fs-session-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.fs-session {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), border-color .25s ease;
}

.fs-session:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.fs-session-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  color: var(--c-primary-400);
  min-width: 26px;
}

.fs-session-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(139, 92, 246, .14);
  color: var(--c-primary-400);
}

.fs-session-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--heading);
  line-height: 1.3;
}

@media (max-width: 991px) {
  .fs-session-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .fs-session-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Speakers ---------- */
.fs-speaker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.fs-speaker {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  transition: transform .4s var(--ease), border-color .3s ease;
}

.fs-speaker:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.fs-speaker-photo {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: var(--bg-alt);
}

.fs-speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .6s var(--ease);
}

.fs-speaker:hover .fs-speaker-photo img {
  transform: scale(1.06);
}

.fs-speaker-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 7, 18, .85) 0%, transparent 55%);
}

.fs-speaker-country {
  position: absolute;
  z-index: 1;
  left: 1rem;
  bottom: 1rem;
  padding: .25rem .7rem;
  border-radius: var(--radius-pill);
  background: rgba(139, 92, 246, .85);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
}

.fs-speaker-body {
  padding: 1.1rem 1.2rem 1.3rem;
}

.fs-speaker-name {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0 0 .25rem;
}

.fs-speaker-org {
  margin: 0;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.45;
}

@media (max-width: 991px) {
  .fs-speaker-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .fs-speaker-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.fs-cta-banner {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: linear-gradient(120deg, rgba(76, 29, 149, .55), rgba(136, 19, 55, .45));
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

:root[data-theme="light"] .fs-cta-banner {
  background: linear-gradient(120deg, #ede9fe, #ffe4e6);
}

.fs-cta-banner h3 {
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  margin: 0 0 .35rem;
}

.fs-cta-banner p {
  margin: 0;
  color: var(--text-soft);
}

.fs-cta-banner .fs-btn-row {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* ---------- Tickets ---------- */
.fs-ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.fs-ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), border-color .3s ease;
}

.fs-ticket:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.fs-ticket.is-featured {
  background: linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box, var(--grad-brand) border-box;
  border: 2px solid transparent;
  box-shadow: 0 30px 60px -30px rgba(139, 92, 246, .65);
}

.fs-ticket-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: .3rem .9rem;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.fs-ticket-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 .35rem;
}

.fs-ticket-desc {
  color: var(--text-muted);
  font-size: .92rem;
  margin: 0 0 1.25rem;
  min-height: 2.9em;
}

.fs-ticket-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--heading);
}

.fs-ticket-price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.fs-ticket-note {
  font-size: .82rem;
  color: var(--c-accent-400);
  margin: .5rem 0 1.25rem;
}

.fs-ticket ul {
  list-style: none;
  padding: 1.25rem 0 0;
  margin: 0 0 1.75rem;
  border-top: 1px solid var(--border);
  flex: 1;
}

.fs-ticket li {
  display: flex;
  gap: .7rem;
  padding: .4rem 0;
  color: var(--text-soft);
  font-size: .95rem;
}

.fs-ticket li i {
  color: var(--c-success);
  margin-top: .3rem;
  font-size: .8rem;
}

.fs-trust-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
  color: var(--text-muted);
  font-size: .92rem;
}

.fs-trust-row i {
  color: var(--c-primary-400);
  margin-right: .4rem;
}

@media (max-width: 991px) {
  .fs-ticket-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ---------- Partner marquee ---------- */
.fs-marquee {
  position: relative;
  overflow: hidden;
  padding: .5rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.fs-marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: fs-marquee 45s linear infinite;
}

.fs-marquee:hover .fs-marquee-track {
  animation-play-state: paused;
}

.fs-logo-tile {
  flex-shrink: 0;
  width: 190px;
  height: 90px;
  padding: .9rem 1.2rem;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.fs-logo-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes fs-marquee {
  to {
    transform: translateX(calc(-50% - .625rem));
  }
}

/* ---------- Enquiry ---------- */
.fs-enquiry-email {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-top: 1rem;
  font-size: .85rem;
  line-height: 1.4;
}

.fs-enquiry-email i {
  margin-top: .2rem;
}

/* ---------- Final CTA ---------- */
.fs-final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(70px, 10vw, 120px) 0;
  background: var(--hero-bg);
}

.fs-final-cta .glow-orb.orb-violet {
  width: 380px;
  height: 380px;
  left: 10%;
  top: -100px;
}

.fs-final-cta .glow-orb.orb-rose {
  width: 340px;
  height: 340px;
  right: 8%;
  bottom: -120px;
}

.fs-final-cta .fs-container {
  position: relative;
  z-index: 2;
}

.fs-final-cta h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 1rem;
}

/* ---------- Inner page hero ---------- */
.fs-page-hero {
  position: relative;
  overflow: hidden;
  margin-top: -84px;
  padding: 150px 0 70px;
  background: var(--hero-bg);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.fs-page-hero .glow-orb.orb-violet {
  width: 360px;
  height: 360px;
  top: -120px;
  left: 5%;
}

.fs-page-hero .glow-orb.orb-rose {
  width: 300px;
  height: 300px;
  bottom: -160px;
  right: 5%;
}

.fs-page-hero .fs-container {
  position: relative;
  z-index: 2;
}

.fs-page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  margin: .9rem 0 .75rem;
}

.fs-page-hero p {
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.fs-breadcrumb {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  margin-top: 1.4rem;
  font-size: .88rem;
  color: var(--text-muted);
}

.fs-breadcrumb a {
  color: var(--text-soft) !important;
}

.fs-breadcrumb i {
  font-size: .6rem;
  opacity: .6;
}

/* ---------- Footer ---------- */
.fs-footer {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-top: 72px;
}

.fs-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-brand);
  opacity: .8;
}

.fs-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
}

.fs-footer h6 {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--heading);
  margin-bottom: 1.1rem;
}

.fs-footer p,
.fs-footer li {
  color: var(--text-muted);
  font-size: .94rem;
}

.fs-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fs-footer ul li {
  padding: .3rem 0;
}

.fs-footer ul a {
  color: var(--text-muted) !important;
}

.fs-footer ul a:hover {
  color: var(--heading) !important;
}

.fs-footer-contact li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}

.fs-footer-contact i {
  color: var(--c-primary-400);
  margin-top: .35rem;
  width: 16px;
  text-align: center;
}

.fs-footer-contact a {
  overflow-wrap: anywhere;
}

.fs-socials {
  display: flex;
  gap: .55rem;
  margin-top: 1.25rem;
}

.fs-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  color: var(--text-soft) !important;
  background: var(--surface);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.fs-socials a:hover {
  background: var(--grad-brand);
  color: #fff !important;
  border-color: transparent;
  transform: translateY(-2px);
}

.fs-newsletter {
  display: flex;
  gap: .4rem;
  padding: .35rem;
  border-radius: var(--radius-pill);
  background: var(--input-bg);
  border: 1px solid var(--border);
}

.fs-newsletter input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--heading);
  padding: .5rem .9rem;
  font-size: .92rem;
}

.fs-newsletter input::placeholder {
  color: var(--text-muted);
}

.fs-newsletter button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--grad-brand);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.fs-footer-bottom {
  margin-top: 56px;
  padding: 1.4rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .87rem;
  color: var(--text-muted);
}

.fs-footer-bottom nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.fs-footer-bottom nav a {
  color: var(--text-muted) !important;
}

.fs-footer-bottom nav a:hover {
  color: var(--heading) !important;
}

.fs-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.fs-footer-logo img {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
}

.fs-footer-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--heading);
  font-size: 1.15rem;
  line-height: 1.2;
}

@media (max-width: 991px) {
  .fs-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .fs-footer-grid {
    grid-template-columns: 1fr;
  }

  .fs-footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

.fs-to-top {
  position: fixed;
  right: 20px;
  bottom: 96px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--heading);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.fs-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Reveal on scroll */
.fs-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.fs-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .fs-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   LEGACY BRIDGE — re-themes the existing inner-page markup (inline styles,
   Bootstrap 4 bits) so every page matches without rewriting its logic.
   Scoped to .fs-legacy (all non-home pages) so header/footer components are untouched.
   ========================================================================== */
.fs-main {
  position: relative;
  min-height: 40vh;
}

.fs-legacy>section,
.fs-legacy>div {
  position: relative;
}

/* the old grey / slate page wrappers become transparent sections */
.fs-legacy [style*="#dfdfdf"],
.fs-legacy [style*="#DFDFDF"],
.fs-legacy [style*="#345"],
.fs-legacy [style*="#e3e8eb"],
.fs-legacy [style*="#cce0eb"],
.fs-legacy [style*="background-color: #fff;"],
.fs-legacy [style*="background-color: #ccc"],
.fs-legacy #sc_sess,
.fs-legacy #sc_session,
.fs-legacy #spkr_session,
.fs-legacy .sc_sess {
  background: transparent !important;
}

.fs-legacy>section>.container-fluid,
.fs-legacy>.container-fluid {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.fs-legacy p,
.fs-legacy li,
.fs-legacy td,
.fs-legacy label,
.fs-legacy dd,
.fs-legacy span:not([class*="fs-"]) {
  color: var(--text-soft);
}

.fs-legacy b,
.fs-legacy strong {
  color: var(--heading) !important;
}

.fs-legacy h1,
.fs-legacy h2,
.fs-legacy h3,
.fs-legacy h4,
.fs-legacy h5,
.fs-legacy h6,
.fs-legacy [style*="color: #3385a7"],
.fs-legacy [style*="color:#3385a7"] {
  color: var(--heading) !important;
}

.fs-legacy h2[style*="3385a7"],
.fs-legacy h4[style*="3385a7"] {
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  font-weight: 700;
  padding-left: 1rem;
  border-left: 3px solid var(--c-primary-500);
}

.fs-legacy [style*="color: black"],
.fs-legacy [style*="color:black"],
.fs-legacy [style*="color: #000"],
.fs-legacy [style*="rgb(27, 25, 25)"] {
  color: var(--heading) !important;
}

.fs-legacy [style*="rgb(42, 127, 167)"] {
  color: var(--c-primary-400) !important;
}

/* section dividers ("mid_border") → eyebrow headings */
.fs-legacy .mid_border,
.fs-legacy .mid_border2 {
  display: block !important;
  text-align: center;
  color: var(--heading) !important;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem) !important;
  font-weight: 700;
  margin: 2rem 0 1.5rem !important;
}

.fs-legacy .mid_border::before,
.fs-legacy .mid_border::after,
.fs-legacy .mid_border2::before,
.fs-legacy .mid_border2::after {
  display: none !important;
}

.fs-legacy .mid_border::after,
.fs-legacy .mid_border2::after {
  content: '' !important;
  display: block !important;
  width: 60px;
  height: 3px;
  margin: .9rem auto 0;
  border: 0 !important;
  border-radius: 3px;
  background: var(--grad-brand);
  flex: none;
}

/* old white speaker/committee cards with the gold left border */
.fs-legacy .row[style*="background-color: white"],
.fs-legacy div[style*="background-color: white"],
.fs-legacy div[style*="background-color:white"] {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  padding: 1rem !important;
  backdrop-filter: blur(12px);
  transition: border-color .3s ease, transform .35s var(--ease);
  height: calc(100% - 0px);
}

.fs-legacy .row[style*="background-color: white"] {
  margin: 0;
}

.fs-legacy .row[style*="background-color: white"]:hover {
  border-color: var(--border-strong) !important;
  transform: translateY(-3px);
}

.fs-legacy .row[style*="background-color: white"] img {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-md);
  margin-bottom: .75rem;
}

.fs-legacy .row[style*="background-color: white"] h4 {
  font-size: 1.05rem !important;
  color: var(--heading) !important;
  margin-top: .25rem;
}

.fs-legacy .row[style*="background-color: white"] p {
  font-size: .88rem;
  color: var(--text-muted);
}

.fs-legacy .row[style*="background-color: white"] b {
  color: var(--c-accent-400) !important;
  font-size: .85rem;
  font-weight: 600;
}

.fs-legacy .toggle-link,
.fs-legacy .btn-link {
  color: var(--c-primary-400) !important;
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none !important;
}

/* scientific session tiles */
.fs-legacy .sc_div {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-left: 3px solid var(--c-primary-500) !important;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem !important;
  margin-bottom: 1.25rem;
  height: calc(100% - 1.25rem);
  transition: border-color .25s ease, transform .3s var(--ease);
}

.fs-legacy .sc_div:hover {
  border-color: var(--border-strong) !important;
  border-left-color: var(--c-accent-500) !important;
  transform: translateY(-3px);
}

.fs-legacy .sc_div p,
.fs-legacy .sc_div h4,
.fs-legacy .sc_div h5 {
  color: var(--heading) !important;
  margin: 0;
  font-family: var(--font-display);
}

.fs-legacy .sc_div ul li,
.fs-legacy .sc_div p+p {
  color: var(--text-muted) !important;
  font-weight: 400;
  font-family: var(--font-body);
}

/* cards / collapses / accordions */
.fs-legacy .card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  color: var(--text-soft);
}

.fs-legacy .card-header {
  background: transparent !important;
  border-bottom: 1px solid var(--border) !important;
}

.fs-legacy .card-header .btn,
.fs-legacy .card-header a {
  color: var(--heading) !important;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none !important;
}

.fs-legacy .card-body {
  color: var(--text-soft);
}

/* tables (registration / sponsors / exhibitors) */
.fs-legacy .table {
  color: var(--text-soft);
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
}

.fs-legacy .table td,
.fs-legacy .table th {
  border-color: var(--border) !important;
  color: var(--text-soft) !important;
  vertical-align: middle;
}

.fs-legacy .table thead tr,
.fs-legacy .table tr[style*="#65ac4c"],
.fs-legacy [style*="background-color: #65ac4c"],
.fs-legacy .table-header,
.fs-legacy .payment-header {
  background: linear-gradient(90deg, rgba(124, 58, 237, .9), rgba(225, 29, 72, .85)) !important;
}

.fs-legacy .table thead th,
.fs-legacy tr[style*="#65ac4c"] th,
.fs-legacy .table-header span {
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 600;
}

.fs-legacy .table-striped tbody tr:nth-of-type(odd) {
  background: rgba(139, 92, 246, .05) !important;
}

.fs-legacy .table-striped tbody tr:nth-of-type(even) {
  background: transparent !important;
}

.fs-legacy .table tr.selected,
.fs-legacy .table td.selected,
.fs-legacy .selected {
  background: rgba(139, 92, 246, .3) !important;
  color: var(--heading) !important;
}

.fs-legacy [style*="#80808024"] {
  background: rgba(139, 92, 246, .1) !important;
}

.fs-legacy .customer,
.fs-legacy .mg-box {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md);
}

.fs-legacy .customer-table td {
  color: var(--text-soft) !important;
}

/* forms */
.fs-legacy .form-control,
.fs-legacy input[type="text"],
.fs-legacy input[type="email"],
.fs-legacy input[type="tel"],
.fs-legacy input[type="number"],
.fs-legacy input[type="password"],
.fs-legacy textarea,
.fs-legacy select {
  background: var(--input-bg) !important;
  color: var(--heading) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  padding: .7rem .95rem;
  min-height: 46px;
  box-shadow: none !important;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.fs-legacy select option {
  background: var(--surface-solid);
  color: var(--heading);
}

.fs-legacy .form-control:focus,
.fs-legacy input:focus,
.fs-legacy textarea:focus,
.fs-legacy select:focus {
  border-color: var(--c-primary-500) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .22) !important;
  outline: none;
}

.fs-legacy ::placeholder {
  color: var(--text-muted) !important;
  opacity: 1;
}

.fs-legacy input[type="checkbox"],
.fs-legacy input[type="radio"] {
  accent-color: var(--c-primary-500);
  width: 17px;
  height: 17px;
  vertical-align: middle;
}

.fs-legacy .form-label,
.fs-legacy label {
  color: var(--text-soft);
  font-weight: 500;
}

.fs-legacy .btn-success,
.fs-legacy .btn-primary,
.fs-legacy input[type="submit"],
.fs-legacy button[type="submit"],
.fs-legacy .rbtn,
.fs-legacy .btn-basic {
  background: var(--grad-brand) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--radius-pill) !important;
  padding: .75rem 1.6rem !important;
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 10px 26px -10px rgba(139, 92, 246, .7);
  transition: transform .25s var(--ease), background .25s ease;
}

.fs-legacy .btn-success:hover,
.fs-legacy .btn-primary:hover,
.fs-legacy input[type="submit"]:hover,
.fs-legacy button[type="submit"]:hover,
.fs-legacy .rbtn:hover {
  transform: translateY(-2px);
  background: var(--grad-brand-hover) !important;
}

.fs-legacy .rbtn a,
.fs-legacy .btnn {
  color: #fff !important;
  animation: none !important;
  text-decoration: none !important;
}

.fs-legacy hr {
  border-color: var(--border);
}

.fs-legacy .text-danger {
  color: var(--c-accent-400) !important;
}

.fs-legacy img {
  max-width: 100%;
  height: auto;
}

.fs-legacy .g-recaptcha {
  display: inline-block;
}

.fs-legacy pl,
.fs-legacy ul {
  padding-left: 1.2rem;
}

/* sponsorship / exhibitor sidebars */
.fs-legacy .service-wrapper,
.fs-legacy .sidebar-section,
.fs-legacy .location-wrapper {
  background: var(--surface) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* bootstrap modal / alert compatibility */
.fs-body .modal-content {
  background: var(--surface-solid);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.fs-body .modal-header,
.fs-body .modal-footer {
  border-color: var(--border);
}

.fs-body .close {
  color: var(--heading);
  text-shadow: none;
}

.fs-body .alert-success {
  background: rgba(34, 197, 94, .12);
  color: #86efac;
  border-color: rgba(34, 197, 94, .3);
}

.fs-body .alert-danger {
  background: rgba(244, 63, 94, .12);
  color: #fda4af;
  border-color: rgba(244, 63, 94, .3);
}

/* table refinements: secondary header rows, row labels, highlighted rows */
.fs-legacy .table-striped tbody tr[style*="#65ac4c"],
.fs-legacy .table tbody tr[style*="#65ac4c"] {
  background: linear-gradient(90deg, rgba(124, 58, 237, .9), rgba(225, 29, 72, .85)) !important;
}

.fs-legacy .table .table-header {
  background: rgba(139, 92, 246, .14) !important;
}

.fs-legacy .table .table-header span {
  color: var(--heading) !important;
}

.fs-legacy .bg-light,
.fs-legacy tr.bg-light,
.fs-legacy .bg-white {
  background: rgba(139, 92, 246, .14) !important;
}

.fs-legacy .bg-light td,
.fs-legacy .bg-white td {
  color: var(--heading) !important;
}

/* small-screen polish */
.fs-ticker-meet {
  white-space: nowrap;
}

@media (max-width: 575px) {
  .fs-ticker-inner {
    padding: .4rem 12px;
    font-size: .74rem;
  }

  .fs-ticker-group {
    gap: .75rem;
    flex-wrap: nowrap;
  }

  .fs-countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .45rem;
    max-width: 360px;
  }

  .fs-countdown-box {
    min-width: 0;
    padding: .8rem .25rem;
    border-radius: var(--radius-md);
  }

  .fs-countdown-label {
    font-size: .6rem;
    letter-spacing: .08em;
  }

  .fs-hero {
    padding: 140px 0 90px;
  }

  .fs-hero-ctas .btn-fs {
    width: 100%;
    max-width: 320px;
  }
}

/* ==========================================================================
   v2 — media, hero video, inner-page components
   ========================================================================== */

/* ---------- Hero video ---------- */
.fs-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.fs-hero-video-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(3, 7, 18, .55) 0%, rgba(3, 7, 18, .82) 70%),
    linear-gradient(120deg, rgba(76, 29, 149, .55) 0%, rgba(3, 7, 18, .35) 50%, rgba(136, 19, 55, .5) 100%);
}

:root[data-theme="light"] .fs-hero-video-shade {
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(248, 250, 252, .72) 0%, rgba(248, 250, 252, .9) 70%),
    linear-gradient(120deg, rgba(196, 181, 253, .45), rgba(251, 113, 133, .3));
}

.fs-hero.has-video .grid-overlay,
.fs-hero.has-video .glow-orb {
  z-index: 1;
}

.fs-hero.has-video .glow-orb {
  opacity: .35;
}

.fs-video-toggle {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 90px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(3, 7, 18, .55);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.fs-video-toggle:hover {
  background: rgba(139, 92, 246, .6);
}

/* ---------- Page hero background image ---------- */
.fs-page-hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: .3;
  transform: scale(1.04);
}

.fs-page-hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 7, 18, .45), var(--bg));
}

:root[data-theme="light"] .fs-page-hero-img {
  opacity: .2;
}

:root[data-theme="light"] .fs-page-hero-img::after {
  background: linear-gradient(to bottom, rgba(248, 250, 252, .3), var(--bg));
}

.fs-page-hero .grid-overlay,
.fs-page-hero .glow-orb {
  z-index: 1;
}

/* ---------- Layout helpers ---------- */
.fs-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.fs-split.is-wide-left {
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
}

.fs-split.is-wide-right {
  grid-template-columns: 1fr 1.4fr;
  align-items: start;
}

@media (max-width: 991px) {

  .fs-split,
  .fs-split.is-wide-left,
  .fs-split.is-wide-right {
    grid-template-columns: 1fr;
  }
}

.fs-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.fs-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.fs-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 991px) {

  .fs-grid-3,
  .fs-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {

  .fs-grid-2,
  .fs-grid-3,
  .fs-grid-4 {
    grid-template-columns: 1fr;
  }
}

.fs-stack>*+* {
  margin-top: 1.25rem;
}

.fs-sticky {
  position: sticky;
  top: 110px;
}

@media (max-width: 991px) {
  .fs-sticky {
    position: static;
  }
}

/* ---------- Media frame (photo with overlay badge) ---------- */
.fs-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-solid);
}

.fs-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 11;
  transition: transform .8s var(--ease);
}

.fs-media:hover img {
  transform: scale(1.04);
}

.fs-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 7, 18, .7), transparent 55%);
  pointer-events: none;
}

.fs-media-badge {
  position: absolute;
  z-index: 1;
  left: 1.1rem;
  bottom: 1.1rem;
  right: 1.1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(3, 7, 18, .6);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(12px);
  color: #fff;
}

.fs-body .fs-media-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: #fff !important;
}

.fs-body .fs-media-badge small {
  color: rgba(255, 255, 255, .78) !important;
}

.fs-media-badge .ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
}

.fs-media-stack {
  position: relative;
  padding-bottom: 8%;
}

.fs-media-stack .fs-media.is-inset {
  position: absolute;
  width: 46%;
  right: -4%;
  bottom: 0;
  border: 4px solid var(--bg);
  box-shadow: var(--shadow-card);
}

.fs-media-stack .fs-media.is-inset img {
  aspect-ratio: 4 / 3;
}

.fs-media-stack .fs-media.is-inset::after {
  display: none;
}

@media (max-width: 575px) {
  .fs-media-stack .fs-media.is-inset {
    display: none;
  }

  .fs-media-stack {
    padding-bottom: 0;
  }
}

/* ---------- Stat tiles ---------- */
.fs-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.fs-tile {
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.fs-tile-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1;
}

.fs-body .fs-tile-label {
  display: block;
  margin-top: .45rem;
  color: var(--text-muted);
  font-size: .88rem;
}

.fs-tile>i {
  color: var(--c-primary-400);
  font-size: 1.1rem;
  margin-bottom: .6rem;
  display: block;
}

@media (max-width: 767px) {
  .fs-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Numbered steps ---------- */
.fs-steps {
  list-style: none;
  padding: 0 !important;
  margin: 0;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.fs-steps li {
  position: relative;
  counter-increment: step;
  padding: 1.15rem 1.25rem 1.15rem 4.25rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}

.fs-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  background: var(--grad-brand);
}

.fs-steps li strong {
  display: block;
  font-family: var(--font-display);
  color: var(--heading);
  margin-bottom: .15rem;
}

.fs-body .fs-steps li span {
  color: var(--text-muted);
  font-size: .93rem;
}

.fs-steps.is-horizontal {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991px) {
  .fs-steps.is-horizontal {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .fs-steps.is-horizontal {
    grid-template-columns: 1fr;
  }
}

/* ---------- Guideline cards ---------- */
.fs-guide {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.fs-guide .fs-card-icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

.fs-guide h3 {
  font-size: 1.1rem;
  margin: .1rem 0 .4rem;
}

.fs-tip-list {
  list-style: none;
  padding: 0 !important;
  margin: 0;
  display: grid;
  gap: .65rem;
}

.fs-tip-list li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
}

.fs-tip-list li i {
  color: var(--c-success);
  margin-top: .3rem;
}

/* ---------- Form card ---------- */
.fs-form-card {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-radius: var(--radius-xl);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.fs-form-card h2,
.fs-form-card h3 {
  margin-top: 0;
}

.fs-form-group-title {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--heading);
  margin: 1.75rem 0 1rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--border);
}

.fs-form-group-title.is-first {
  margin-top: .5rem;
}

.fs-form-group-title .n {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: .78rem;
  color: #fff;
  background: var(--grad-brand);
}

.fs-field {
  margin-bottom: 1rem;
}

.fs-body .fs-field label {
  display: block;
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-muted) !important;
  margin-bottom: .4rem;
}

.fs-field label .req {
  color: var(--c-accent-400);
}

.fs-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.fs-form-grid .span-2 {
  grid-column: 1 / -1;
}

@media (max-width: 575px) {
  .fs-form-grid {
    grid-template-columns: 1fr;
  }
}

.fs-body .fs-form-card .form-control,
.fs-body .fs-form-card select,
.fs-body .fs-form-card textarea,
.fs-body .fs-reg-block .form-control,
.fs-body .fs-reg-block select,
.fs-body .fs-reg-block textarea {
  width: 100%;
  background: var(--input-bg) !important;
  color: var(--heading) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  padding: .75rem .95rem;
  min-height: 48px;
  height: auto;
  font-size: .95rem;
  box-shadow: none !important;
}

.fs-body .fs-form-card textarea,
.fs-body .fs-reg-block textarea {
  min-height: 96px;
}

.fs-file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 2px dashed var(--border-strong);
  background: rgba(139, 92, 246, .06);
  transition: background .2s ease, border-color .2s ease;
  cursor: pointer;
}

.fs-file-drop:hover,
.fs-file-drop.is-dragover {
  background: rgba(139, 92, 246, .12);
  border-color: var(--c-primary-500);
}

.fs-body .fs-file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.fs-file-drop .ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: #fff;
  background: var(--grad-brand);
}

.fs-file-drop strong {
  display: block;
  color: var(--heading);
  font-family: var(--font-display);
}

.fs-body .fs-file-drop small {
  color: var(--text-muted);
}

.fs-file-drop.has-file {
  border-style: solid;
  border-color: var(--c-success);
  background: rgba(34, 197, 94, .08);
}

.fs-notice {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .35);
  color: var(--text-soft);
}

.fs-notice>i {
  color: var(--c-success);
  margin-top: .25rem;
  font-size: 1.15rem;
}

.fs-notice.is-error {
  background: rgba(244, 63, 94, .1);
  border-color: rgba(244, 63, 94, .35);
}

.fs-notice.is-error>i {
  color: var(--c-accent-400);
}

.fs-notice.is-info {
  background: rgba(139, 92, 246, .1);
  border-color: var(--border-strong);
}

.fs-notice.is-info>i {
  color: var(--c-primary-400);
}

.fs-notice p {
  margin: 0;
}

/* ---------- Session explorer ---------- */
.fs-toolbar {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.fs-search {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 460px;
}

.fs-search i {
  position: absolute;
  left: 1.05rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.fs-body .fs-search input {
  width: 100%;
  padding: .85rem 1rem .85rem 2.75rem;
  border-radius: var(--radius-pill) !important;
  min-height: 0;
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--heading) !important;
  outline: none;
}

.fs-body .fs-search input:focus {
  border-color: var(--c-primary-500) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .22) !important;
}

.fs-chips {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.fs-chip {
  padding: .5rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .88rem;
  transition: all .2s ease;
}

.fs-chip:hover {
  border-color: var(--border-strong);
  color: var(--heading);
}

.fs-chip.is-active {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
}

.fs-body .fs-count {
  color: var(--text-muted);
  font-size: .9rem;
}

.fs-session[hidden] {
  display: none !important;
}

.fs-empty {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
}

/* ---------- Accordion (FAQ) ---------- */
.fs-accordion {
  display: grid;
  gap: .75rem;
}

.fs-acc-item {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .2s ease;
}

.fs-acc-item[open] {
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.fs-acc-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--heading);
}

.fs-acc-item summary::-webkit-details-marker {
  display: none;
}

.fs-body .fs-acc-item summary .q {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: .8rem;
  color: var(--c-primary-400);
  background: rgba(139, 92, 246, .14);
}

.fs-acc-item summary::after {
  content: "+";
  margin-left: auto;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 1.1rem;
  transition: transform .25s ease;
}

.fs-acc-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
}

.fs-acc-body {
  padding: 0 1.25rem 1.25rem 4.1rem;
  color: var(--text-soft);
}

.fs-acc-body p {
  margin: 0 0 .5rem;
}

.fs-acc-body ul {
  margin: .5rem 0 0;
  padding-left: 1.1rem;
}

.fs-acc-body li {
  margin: .25rem 0;
  color: var(--text-soft);
}

@media (max-width: 575px) {
  .fs-acc-body {
    padding-left: 1.25rem;
  }
}

.fs-faq-nav {
  display: grid;
  gap: .5rem;
}

.fs-faq-nav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft) !important;
  font-family: var(--font-display);
  font-weight: 500;
}

.fs-faq-nav a:hover,
.fs-faq-nav a.is-active {
  border-color: var(--border-strong);
  color: var(--heading) !important;
  background: rgba(139, 92, 246, .1);
}

.fs-faq-nav a i {
  color: var(--c-primary-400);
  width: 18px;
  text-align: center;
}

.fs-faq-nav a .cnt {
  margin-left: auto;
  font-size: .75rem;
  color: var(--text-muted);
}

.fs-faq-group {
  scroll-margin-top: 120px;
}

.fs-faq-group+.fs-faq-group {
  margin-top: 2.5rem;
}

.fs-faq-group-title {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.fs-faq-group-title i {
  color: var(--c-accent-400);
}

/* ---------- PDF viewer ---------- */
.fs-viewer {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-solid);
}

.fs-viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: .9rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.fs-viewer-bar .dots {
  display: flex;
  gap: .4rem;
}

.fs-viewer-bar .dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.fs-viewer-bar .dots span:nth-child(1) {
  background: #f43f5e;
}

.fs-viewer-bar .dots span:nth-child(2) {
  background: #f59e0b;
}

.fs-viewer-bar .dots span:nth-child(3) {
  background: #22c55e;
}

.fs-viewer-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--heading);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.fs-viewer-title i {
  color: var(--c-accent-400);
}

.fs-viewer-frame {
  height: 780px;
  background: #525659;
}

.fs-viewer-frame iframe,
.fs-viewer-frame object {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 767px) {
  .fs-viewer-frame {
    height: 520px;
  }
}

/* ---------- Registration ---------- */
.fs-reg-steps {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.fs-reg-step {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem 1rem .45rem .45rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .9rem;
}

.fs-reg-step .n {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-brand);
}

.fs-reg-step.is-done .n {
  background: var(--c-success);
}

.fs-reg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 1099px) {
  .fs-reg-layout {
    grid-template-columns: 1fr;
  }
}

.fs-reg-block {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-xl);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  scroll-margin-top: 120px;
}

.fs-reg-block+.fs-reg-block {
  margin-top: 1.5rem;
}

.fs-reg-block-head {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-bottom: 1.4rem;
}

.fs-reg-block-head .n {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  background: var(--grad-brand);
}

.fs-reg-block-head h2 {
  font-size: 1.3rem;
  margin: 0 0 .15rem;
}

.fs-body .fs-reg-block-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: .92rem;
}

.fs-tier-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  margin-bottom: 1.4rem;
}

.fs-tier {
  padding: .8rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}

.fs-tier strong {
  display: block;
  font-family: var(--font-display);
  color: var(--heading);
  font-size: .95rem;
}

.fs-body .fs-tier small {
  color: var(--text-muted);
}

.fs-tier.is-current {
  background: linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box, var(--grad-brand) border-box;
  border: 1.5px solid transparent;
}

.fs-tier.is-current strong::after {
  content: " \00B7  Now";
  color: var(--c-accent-400);
}

.fs-tier.is-past {
  opacity: .45;
}

@media (max-width: 575px) {
  .fs-tier-bar {
    grid-template-columns: 1fr;
  }
}

.fs-pass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}

@media (max-width: 767px) {
  .fs-pass-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .fs-pass-grid {
    grid-template-columns: 1fr;
  }
}

.fs-body label.fs-pass {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  cursor: pointer;
  margin: 0;
  padding: 1.15rem 1.15rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--text-soft);
  transition: border-color .2s ease, background .2s ease, transform .25s var(--ease);
}

.fs-body label.fs-pass:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.fs-body .fs-pass input[type="checkbox"] {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 20px !important;
  height: 20px !important;
  margin: 0;
}

.fs-pass .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--c-primary-400);
  background: rgba(139, 92, 246, .14);
  margin-bottom: .35rem;
  transition: background .2s ease, color .2s ease;
}

.fs-pass-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--heading);
  font-size: 1.02rem;
  padding-right: 1.6rem;
}

.fs-body .fs-pass-desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.fs-pass-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--heading);
  line-height: 1.1;
  margin-top: .35rem;
}

.fs-body .fs-pass-price small {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-muted);
}

.fs-pass-tiers {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
  margin-top: .25rem;
}

.fs-body .fs-pass-tiers span {
  font-size: .72rem;
  padding: .15rem .5rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .05);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

:root[data-theme="light"] .fs-body .fs-pass-tiers span {
  background: rgba(15, 23, 42, .04);
}

.fs-body .fs-pass-tiers span.is-now {
  color: var(--heading);
  border-color: var(--border-strong);
}

.fs-body .fs-pass-tiers span.selected {
  color: #fff !important;
  background: var(--grad-brand) !important;
  border-color: transparent;
  font-weight: 600;
}

.fs-body label.fs-pass:has(input:checked) {
  border-color: var(--c-primary-500);
  background: rgba(139, 92, 246, .12);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .18) !important;
}

.fs-pass:has(input:checked) .ic {
  background: var(--grad-brand);
  color: #fff;
}

.fs-pass.is-compact .fs-pass-price {
  font-size: 1.3rem;
}

.fs-extra-row {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, .06);
  border: 1px dashed var(--border-strong);
}

.fs-extra-row .fs-field {
  margin: 0;
  flex: 1;
  min-width: 150px;
}

.fs-subhead {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--heading);
  font-size: 1rem;
  margin: 1.6rem 0 .85rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}

.fs-subhead i {
  color: var(--c-accent-400);
}

.fs-summary {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box, var(--grad-brand) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 30px 60px -30px rgba(139, 92, 246, .55) !important;
}

.fs-summary h3 {
  font-size: 1.15rem;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}

.fs-summary h3 i {
  color: var(--c-accent-400);
}

.fs-body .fs-summary .table {
  background: transparent !important;
  border: 0 !important;
  margin-bottom: 0;
  border-radius: 0;
}

.fs-body .fs-summary .table td {
  padding: .55rem 0 !important;
  border: 0 !important;
  border-bottom: 1px dashed var(--border) !important;
  color: var(--text-soft) !important;
  background: transparent !important;
  font-size: .92rem;
}

.fs-body .fs-summary .table td small {
  color: var(--text-muted);
}

.fs-body .fs-summary .table tr,
.fs-body .fs-summary .table tr.bg-light {
  background: transparent !important;
}

.fs-body .fs-summary .table tr.bg-light td {
  color: var(--heading) !important;
}

.fs-body .fs-summary .table tr:last-child td {
  border-bottom: 0 !important;
  padding-top: 1rem !important;
  font-size: 1.25rem;
  color: var(--heading) !important;
  font-family: var(--font-display);
}

.fs-promo {
  display: flex;
  gap: .5rem;
  margin: 1.1rem 0 .4rem;
}

.fs-body .fs-promo input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
}

.fs-body .fs-promo .btn {
  padding: .55rem 1.1rem !important;
}

.fs-body #promo-message {
  font-size: .85rem;
  color: var(--c-accent-400);
  min-height: 1.2em;
}

.fs-trust-list {
  list-style: none;
  padding: 0 !important;
  margin: 1.1rem 0 0;
  display: grid;
  gap: .45rem;
}

.fs-body .fs-trust-list li {
  font-size: .84rem;
  color: var(--text-muted);
}

.fs-trust-list i {
  color: var(--c-success);
  width: 18px;
}

.fs-body .err_msg:empty {
  display: none;
}

.fs-body .err_msg:not(:empty) {
  display: block;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(244, 63, 94, .1);
  border: 1px solid rgba(244, 63, 94, .35);
  color: var(--c-accent-400) !important;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.fs-body #next {
  width: 100%;
  padding: 1rem !important;
  font-size: 1.05rem;
  margin: 0 !important;
}

.fs-body .fs-legal-note {
  font-size: .8rem;
  color: var(--text-muted);
  text-align: center;
  margin: .75rem 0 0;
}

.fs-captcha {
  margin: 1.1rem 0;
  display: flex;
  justify-content: center;
}

/* ---------- Image strip ---------- */
.fs-img-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
}

.fs-img-strip .fs-media img {
  aspect-ratio: auto;
  height: 260px;
}

@media (max-width: 767px) {
  .fs-img-strip {
    grid-template-columns: 1fr 1fr;
  }

  .fs-img-strip .fs-media:first-child {
    grid-column: 1 / -1;
  }

  .fs-img-strip .fs-media img {
    height: 180px;
  }
}

/* rebuilt inner pages opt out of the legacy bridge's paragraph colour */
.fs-legacy .fs-section p.fs-section-sub,
.fs-legacy .fs-card p {
  color: var(--text-muted);
}

.fs-split.is-sidebar {
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
}

.fs-tiles.is-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 991px) {
  .fs-split.is-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .fs-tiles.is-3 {
    grid-template-columns: 1fr 1fr;
  }
}

/* inset photo sits top-right so it never covers the caption badge */
.fs-media-stack {
  padding-bottom: 0;
  padding-top: 7%;
}

.fs-media-stack .fs-media.is-inset {
  top: 0;
  bottom: auto;
  right: -4%;
  width: 40%;
  z-index: 2;
}

@media (max-width: 575px) {
  .fs-media-stack {
    padding-top: 0;
  }
}

.fs-guide a,
.fs-card a {
  overflow-wrap: anywhere;
}

.fs-ticket-grid.is-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .fs-ticket-grid.is-2 {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

.fs-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.fs-body .fs-table-wrap .table {
  margin: 0;
  border: 0;
  min-width: 760px;
}

.fs-body .fs-table-wrap .table th:first-child,
.fs-body .fs-table-wrap .table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--heading) !important;
}

.fs-body .fs-table-wrap .table td,
.fs-body .fs-table-wrap .table th {
  text-align: center;
  padding: .85rem 1rem;
}

.fs-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

@media (max-width: 1099px) {
  .fs-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .fs-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .fs-grid-5 {
    grid-template-columns: 1fr;
  }
}

/* never let long emails/links force a layout wider than the screen */
@media (max-width: 1099px) {
  .fs-reg-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.fs-reg-layout>*,
.fs-split>*,
.fs-form-grid>* {
  min-width: 0;
}

.fs-notice a,
.fs-notice p,
.fs-reg-block a {
  overflow-wrap: anywhere;
}

@media (max-width: 420px) {
  .fs-ticker-group:first-child .fs-ticker-item:nth-child(2) {
    display: none;
  }
}

.fs-body .fs-form-error {
  color: var(--c-accent-400);
  font-size: .9rem;
  margin: .25rem 0 .75rem;
}

/* ---------- Speaker bio popup ---------- */
.fs-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.fs-modal.is-open {
  display: flex;
}

.fs-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, .78);
  backdrop-filter: blur(6px);
  animation: fs-fade .2s ease;
}

.fs-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 80px -30px rgba(139, 92, 246, .55) !important;
  animation: fs-pop .28s var(--ease);
}

.fs-modal-head {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem 3.5rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(76, 29, 149, .4), rgba(136, 19, 55, .3));
}

.fs-modal-photo {
  width: 104px;
  height: 104px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, .15);
  background: var(--bg-alt);
}

.fs-modal-head h3 {
  font-size: 1.4rem;
  margin: 0 0 .35rem;
}

.fs-modal-meta {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.fs-modal-meta span {
  padding: .25rem .7rem;
  border-radius: var(--radius-pill);
  font-size: .8rem;
  font-weight: 600;
  background: rgba(139, 92, 246, .2);
  color: var(--c-primary-300);
}

.fs-modal-meta span.is-country {
  background: rgba(244, 63, 94, .16);
  color: var(--c-accent-400);
}

.fs-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  color: var(--text-soft);
  line-height: 1.75;
}

.fs-modal-body p {
  margin: 0 0 1rem;
  color: var(--text-soft) !important;
}

.fs-modal-body .card,
.fs-modal-body .card-body {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
}

.fs-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(3, 7, 18, .5);
  border: 1px solid var(--border);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.fs-modal-close:hover {
  background: var(--grad-brand);
  transform: rotate(90deg);
}

body.fs-modal-open {
  overflow: hidden;
}

@keyframes fs-fade {
  from {
    opacity: 0;
  }
}

@keyframes fs-pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.97);
  }
}

@media (max-width: 575px) {
  .fs-modal {
    padding: 10px;
    align-items: flex-end;
  }

  .fs-modal-head {
    flex-direction: column;
    align-items: flex-start;
    padding-right: 1.5rem;
  }

  .fs-modal-photo {
    width: 84px;
    height: 84px;
  }
}

/* the inline bios are replaced by the popup */
.fs-legacy .fs-bio-source {
  display: none !important;
}

.fs-legacy .toggle-link i {
  margin-left: .3rem;
  font-size: .8em;
  transition: transform .2s ease;
}

.fs-legacy .toggle-link:hover i {
  transform: translateX(3px);
}

.fs-body .fs-reg-block .is-invalid,
.fs-body .fs-form-card .is-invalid {
  border-color: var(--c-accent-500) !important;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, .2) !important;
}

/* Google reCAPTCHA is a fixed 304px; shrink it on narrow phones so it never overflows a form card */
.fs-captcha {
  max-width: 100%;
}

@media (max-width: 420px) {
  .fs-captcha .g-recaptcha {
    transform: scale(.86);
    transform-origin: left top;
    height: 68px;
  }

  .fs-summary .fs-captcha .g-recaptcha {
    transform-origin: center top;
  }
}


/* ==========================================================================
   Speaker / committee cards (legacy markup): equal heights, tighter grid
   ========================================================================== */
.fs-legacy .row:has(> [class*="col-"] > div > .row[style*="background-color: white"]) {
  margin-left: -8px;
  margin-right: -8px;
}

.fs-legacy .row:has(> [class*="col-"] > div > .row[style*="background-color: white"])>[class*="col-"] {
  display: flex;
  padding: 8px;
}

.fs-legacy [class*="col-"]>div[style*="padding: 10px"]:has(> .row[style*="background-color: white"]) {
  flex: 1;
  display: flex;
  padding: 0 !important;
}

.fs-legacy .row[style*="background-color: white"] {
  flex: 1;
  align-content: flex-start;
  align-items: flex-start;
  height: auto;
}

.fs-legacy .row[style*="background-color: white"]>[class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

.fs-legacy .row[style*="background-color: white"]>[class*="col-"] img {
  margin-bottom: 0;
}

.fs-legacy .row[style*="background-color: white"] h4 {
  line-height: 1.25;
  margin-bottom: .5rem;
}

.fs-legacy .row[style*="background-color: white"] p {
  line-height: 1.55;
  margin-bottom: .6rem;
}

/* country line with its flag */
.fs-legacy .row[style*="background-color: white"]>[class*="col-"]>b.fs-country {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  line-height: 1.35;
}

/* every flag is the same 22x16 box whatever the flag's own shape; cover crops instead of stretching */
.fs-flag,
.fs-legacy .row[style*="background-color: white"] img.fs-flag {
  width: 22px !important;
  height: 16px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14);
}

:root[data-theme="light"] .fs-flag {
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .12);
}

/* ==========================================================================
   Footer: emails on one line, X logo
   ========================================================================== */
.fs-footer-grid {
  grid-template-columns: 1.3fr auto 1.2fr;
}

.fs-footer-contact a.fs-nowrap {
  white-space: nowrap;
  overflow-wrap: normal;
}

@media (max-width: 1199px) {
  .fs-footer-contact a.fs-nowrap {
    font-size: .88rem;
  }
}

@media (max-width: 991px) {
  .fs-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .fs-footer-grid {
    grid-template-columns: 1fr;
  }
}

.fs-socials .fs-x-logo {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* ==========================================================================
   Reviewer panel (home section + reviewer.php)
   ========================================================================== */
.fs-review-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(124, 58, 237, .35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 100% 100%, rgba(225, 29, 72, .28) 0%, transparent 60%),
    var(--surface-solid);
}

:root[data-theme="light"] .fs-review-panel {
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(196, 181, 253, .55) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 100% 100%, rgba(251, 113, 133, .25) 0%, transparent 60%),
    var(--surface-solid);
}

.fs-review-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}

.fs-review-panel>* {
  position: relative;
}

.fs-review-panel h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  margin: .6rem 0 .75rem;
}

.fs-review-panel p {
  color: var(--text-soft);
  margin: 0 0 1.25rem;
}

.fs-review-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: .7rem;
}

.fs-review-points li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: .95rem;
}

.fs-review-points i {
  color: var(--c-primary-400);
  margin-top: .25rem;
  width: 16px;
  text-align: center;
}

/* "blind review" illustration: anonymous author and reviewer around a redacted manuscript */
.fs-blind {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
}

.fs-blind-doc {
  position: relative;
  width: min(240px, 80%);
  padding: 1.2rem 1.2rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transform: rotate(-4deg);
}

.fs-blind-doc .bar {
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  margin-bottom: .55rem;
}

.fs-blind-doc .bar.is-title {
  height: 12px;
  width: 70%;
  background: var(--grad-brand);
  opacity: .85;
  margin-bottom: .9rem;
}

.fs-blind-doc .bar.is-redacted {
  width: 55%;
  background: repeating-linear-gradient(90deg, var(--text-muted) 0 10px, transparent 10px 14px);
  opacity: .5;
}

.fs-blind-doc .bar.w80 {
  width: 80%;
}

.fs-blind-doc .bar.w60 {
  width: 60%;
}

.fs-blind-stamp {
  position: absolute;
  right: -18px;
  top: -14px;
  padding: .4rem .8rem;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transform: rotate(4deg);
  box-shadow: 0 10px 25px -10px rgba(244, 63, 94, .7);
}

.fs-blind-avatar {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}

.fs-blind-avatar.is-author {
  top: 8px;
  left: 6%;
}

.fs-blind-avatar.is-reviewer {
  bottom: 22px;
  right: 6%;
}

.fs-blind-avatar i {
  color: var(--c-primary-400);
}

.fs-blind-avatar.is-reviewer i {
  color: var(--c-accent-400);
}

.fs-blind-avatar small {
  position: absolute;
  top: 100%;
  margin-top: .35rem;
  white-space: nowrap;
  font-size: .72rem;
  color: var(--text-muted);
}

@media (max-width: 767px) {
  .fs-review-panel {
    grid-template-columns: 1fr;
  }

  .fs-blind {
    min-height: 220px;
    order: -1;
  }
}

/* reviewer page: role tiles */
.fs-role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 3rem;
}

.fs-role-grid .fs-card {
  padding: 1.4rem;
}

.fs-role-grid .fs-card h3 {
  font-size: 1.05rem;
  margin: .9rem 0 .4rem;
}

.fs-role-grid .fs-card p {
  margin: 0;
  font-size: .9rem;
  color: var(--text-muted);
}

@media (max-width: 767px) {
  .fs-role-grid {
    grid-template-columns: 1fr;
  }
}

/* multi-select expertise chips */
.fs-choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
}

.fs-body .fs-choice {
  position: relative;
  margin: 0;
  display: inline-block;
}

.fs-body .fs-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.fs-choice span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text-soft);
  font-size: .84rem;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.fs-choice span::before {
  content: '\f067';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: .65rem;
  color: var(--c-primary-400);
}

.fs-choice:hover span {
  border-color: var(--border-strong);
}

.fs-choice input:checked+span {
  background: rgba(139, 92, 246, .18);
  border-color: var(--c-primary-500);
  color: var(--heading);
}

.fs-choice input:checked+span::before {
  content: '\f00c';
  color: var(--c-accent-400);
}

.fs-choice input:focus-visible+span {
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .3);
}

/* consent tick box */
.fs-body .fs-consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin: 1.5rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--input-bg);
  cursor: pointer;
}

.fs-body .fs-consent input[type="checkbox"] {
  margin-top: .15rem;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  min-height: 0;
  accent-color: var(--c-primary-500);
}

.fs-body .fs-consent span {
  color: var(--text-soft) !important;
  font-size: .9rem;
  font-weight: 400;
}
/* ==========================================================================
   Abstract page: presentation formats with time pills
   ========================================================================== */
.fs-format-list {
  display: grid;
  gap: .6rem;
  margin-top: 1rem;
}

.fs-format {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  padding: .8rem .9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--input-bg);
  transition: border-color .2s ease;
}

.fs-format:hover {
  border-color: var(--border-strong);
}

.fs-format-head strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  color: var(--heading);
}

.fs-format-type {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.fs-format-times {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.fs-time {
  display: inline-flex;
  align-items: baseline;
  gap: .25rem;
  padding: .3rem .6rem;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, .1);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: .76rem;
  white-space: nowrap;
}

.fs-time b {
  font-family: var(--font-display);
  font-size: .9rem;
  color: var(--heading);
}

.fs-time small {
  font-size: .68rem;
  color: var(--text-muted);
}

.fs-time.is-total {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
}

.fs-time.is-total b,
.fs-time.is-total small {
  color: #fff;
}
