/* Flourish Shows Network — all rules scoped under .fsn-* / #fsn-* */
.fsn-band, .fsn-band *, .fsn-dd, .fsn-dd * { box-sizing: border-box; }
.fsn-band, .fsn-dd__list {
  font-family: Inter, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ----- Footer band ----- */
.fsn-band {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #111216;
  color: #f3f3f5;
  position: relative;
  z-index: 5;
  clear: both;
  border: 0;
}
.fsn-band::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3b9eff 0%, #7b5cff 50%, #c44ec8 100%);
}
.fsn-band__in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 32px 28px;
}
.fsn-band .fsn-band__h {
  margin: 0 0 22px;
  padding: 0;
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #f3f3f5;
  text-transform: none;
  text-align: left;
}
.fsn-band .fsn-band__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.fsn-band .fsn-card { margin: 0; padding: 0; list-style: none; }
.fsn-band .fsn-card__a {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #1c1d24;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.fsn-band .fsn-card__a:hover,
.fsn-band .fsn-card__a:focus-visible { border-color: rgba(155, 204, 255, 0.45); }
.fsn-band .fsn-card__a:focus-visible { outline: 2px solid #9cccff; outline-offset: 2px; }
.fsn-band .fsn-card__logo {
  background: #0c0c0f;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.fsn-band .fsn-card__logo img {
  display: block;
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  margin: 0;
  border: 0;
  box-shadow: none;
}
.fsn-band .fsn-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.fsn-band .fsn-card__name {
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.fsn-band .fsn-card__tag {
  font-size: 13px;
  line-height: 1.4;
  color: #9b9ba3;
  flex: 1;
}
.fsn-band .fsn-card__watch {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #9cccff;
}
@media (max-width: 720px) {
  .fsn-band__in { padding: 28px 16px 22px; }
  .fsn-band .fsn-band__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .fsn-band .fsn-card__a { flex-direction: row; align-items: stretch; }
  .fsn-band .fsn-card__logo {
    aspect-ratio: auto;
    width: 92px;
    flex: 0 0 92px;
    padding: 10px;
  }
  .fsn-band .fsn-card__body { padding: 10px 12px 10px 4px; }
  .fsn-band .fsn-card__watch { margin-top: 4px; }
}

/* ----- Dropdown ----- */
.fsn-li { list-style: none; position: relative; }
.fsn-dd {
  position: relative;
  display: inline-block;
  font: inherit;
  line-height: inherit;
  color: inherit;
}
/* Trigger: an <a> carrying the theme's nav-link classes. Font, size, weight,
   colour, case and tracking come from the theme — the plugin sets none of them. */
.fsn-dd .fsn-dd__btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* Focus ring for keyboard users only: no ring left behind after a mouse click or tap. */
.fsn-dd .fsn-dd__btn:focus:not(:focus-visible),
.fsn-dd .fsn-dd__btn:focus:not(:focus-visible):hover {
  outline: none !important;
  box-shadow: none !important;
}
.fsn-dd .fsn-dd__btn:focus-visible { outline: 2px solid #9cccff !important; outline-offset: 3px !important; }
.fsn-dd .fsn-dd__caret {
  width: 0; height: 0;
  border: 4px solid transparent;
  border-top-color: currentColor;
  border-bottom: 0;
  transition: transform .15s;
}
.fsn-dd.fsn-open .fsn-dd__caret { transform: rotate(180deg); }
.fsn-dd .fsn-dd__list {
  display: none;
  position: absolute;
  left: auto;
  right: 0;
  top: 100%;
  z-index: 99999;
  width: 360px;
  max-width: calc(100vw - 24px);
  margin: 8px 0 0;
  padding: 0;
  background: #16171d;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.03);
  color: #f3f3f5;
  text-align: left;
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
  overflow: hidden;
}
.fsn-dd.fsn-open .fsn-dd__list { display: block; }
.fsn-dd .fsn-dd__label {
  margin: 0;
  padding: 12px 14px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9b9ba3;
}
.fsn-dd .fsn-dd__items { list-style: none; margin: 0; padding: 0; }
.fsn-dd .fsn-dd__item { margin: 0; padding: 0; list-style: none; display: block; }
.fsn-dd .fsn-dd__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: #f3f3f5;
  text-decoration: none;
}
.fsn-dd .fsn-dd__item--here .fsn-dd__row { background: rgba(126, 184, 255, 0.07); }
.fsn-dd .fsn-dd__link:hover,
.fsn-dd .fsn-dd__link:focus-visible { background: rgba(255,255,255,0.06); outline: none; }
.fsn-dd .fsn-dd__logo {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: #0c0c0f;
}
.fsn-dd .fsn-dd__logo img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: cover;
  margin: 0;
  border: 0;
  border-radius: 8px;
}
.fsn-dd .fsn-dd__txt { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.fsn-dd .fsn-dd__name { font-size: 14px; font-weight: 650; color: #fff; }
.fsn-dd .fsn-dd__tag { font-size: 12px; line-height: 1.35; color: #9b9ba3; }
.fsn-dd .fsn-dd__here { cursor: default; }
.fsn-dd .fsn-dd__badge {
  display: inline-block;
  align-self: flex-start;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #c8e2ff;
  background: rgba(126, 184, 255, 0.16);
  border: 1px solid rgba(126, 184, 255, 0.28);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

/* Inside mobile slide-out menus: panel flows inline */
@media (max-width: 720px) {
  .fsn-dd.fsn-in-menu { display: block; width: 100%; }
  .fsn-dd.fsn-in-menu .fsn-dd__list {
    position: static;
    box-shadow: none;
    margin: 6px 0 0;
    width: 100%;
    max-width: none;
    left: auto;
    right: auto;
  }
}

/*
 * Optional header-bar Shows control (themes that hide desktop nav on phones).
 * Never absolutely positioned against the right edge — that overlapped logos.
 * It is a flex item in the header bar, after the logo, with a gap.
 */
.fsn-solo { display: none; }
.fsn-solo-on .fsn-solo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  margin-left: auto;
  position: static;
  z-index: 51;
  color: inherit;
}
.fsn-solo .fsn-dd__btn {
  background: transparent;
  border: 0;
  padding: 8px 14px;
  color: inherit;
  font: inherit;
}
.fsn-solo .fsn-dd__list { left: auto; right: 0; }
.fsn-solo-on .fsn-hide-mobile { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .fsn-dd .fsn-dd__caret { transition: none; }
}

/* Meet the Director — band only, bottom right (centered under the last card on phones) */
.fsn-band .fsn-director {
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #26272f;
  display: flex;
  justify-content: flex-end;
}
.fsn-band .fsn-director__a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9b9ba3;
  text-decoration: none;
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 400;
}
.fsn-band .fsn-director__a:hover .fsn-director__name,
.fsn-band .fsn-director__a:focus-visible .fsn-director__name { text-decoration: underline; }
.fsn-band .fsn-director__a:focus-visible { outline: 2px solid #9cccff; outline-offset: 3px; border-radius: 4px; }
.fsn-band .fsn-director__photo {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #0c0c0f;
  margin: 0;
  border: 0;
  box-shadow: none;
}
.fsn-band .fsn-director__name {
  color: #9cccff;
  font-weight: 600;
  font-size: 13px;
}
@media (max-width: 720px) {
  .fsn-band .fsn-director { justify-content: center; }
}

/* Theme hardening (Captured .nav ul is flex; .nav a is uppercase + wide tracking). */
header.site-header,
header.site-header .hdr,
header.site-header .nav,
header.site-header .nav > ul,
.fsn-li,
.fsn-dd {
  overflow: visible !important;
}
/* Closed by default; JS adds .fsn-open (click, tap, hover on mouse devices).
   1.0.1 forced display:block here, which left the panel stuck open. */
.fsn-dd .fsn-dd__list,
.nav .fsn-dd .fsn-dd__list { display: none !important; }
.fsn-dd.fsn-open .fsn-dd__list,
.nav .fsn-dd.fsn-open .fsn-dd__list { display: block !important; }
.fsn-dd .fsn-dd__list,
.nav .fsn-dd .fsn-dd__list {
  position: absolute !important;
  z-index: 100000 !important;
  width: 340px !important;
  max-width: calc(100vw - 24px) !important;
  min-width: 260px !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  max-height: calc(100vh - 80px);
}
.fsn-dd .fsn-dd__items,
.nav .fsn-dd ul,
.nav ul.fsn-dd__items,
.fsn-dd ul.fsn-dd__items {
  display: block !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  float: none !important;
}
.fsn-dd .fsn-dd__item,
.nav .fsn-dd .fsn-dd__item {
  display: block !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}
.fsn-dd .fsn-dd__list,
.fsn-dd .fsn-dd__list *,
.nav .fsn-dd .fsn-dd__list,
.nav .fsn-dd .fsn-dd__list a,
.nav .fsn-dd .fsn-dd__list span,
.nav .fsn-dd .fsn-dd__list p {
  font-family: Inter, Helvetica, Arial, sans-serif !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: 1.35 !important;
  border-bottom: 0 !important;
  padding-bottom: 0;
}
.fsn-dd .fsn-dd__row,
.nav .fsn-dd .fsn-dd__row,
.main-nav .fsn-dd .fsn-dd__row {
  border: 0 !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 0 !important;
  margin: 0 !important;
  background-color: transparent;
  text-decoration: none !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 9px 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #f3f3f5 !important;
}
.fsn-dd .fsn-dd__name,
.nav .fsn-dd .fsn-dd__name { font-size: 14px !important; font-weight: 650 !important; color: #fff !important; letter-spacing: normal !important; text-transform: none !important; }
.fsn-dd .fsn-dd__tag,
.nav .fsn-dd .fsn-dd__tag { font-size: 12px !important; font-weight: 400 !important; line-height: 1.35 !important; color: #9b9ba3 !important; letter-spacing: normal !important; text-transform: none !important; }
.fsn-dd .fsn-dd__label,
.nav .fsn-dd .fsn-dd__label { font-size: 11px !important; font-weight: 600 !important; letter-spacing: 0.08em !important; text-transform: uppercase !important; color: #9b9ba3 !important; padding: 12px 14px 8px !important; }
.fsn-dd .fsn-dd__logo,
.nav .fsn-dd .fsn-dd__logo { flex: 0 0 44px !important; width: 44px !important; height: 44px !important; }
.fsn-dd .fsn-dd__logo img,
.nav .fsn-dd .fsn-dd__logo img {
  display: block !important;
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.fsn-band,
.fsn-band * {
  font-family: Inter, Helvetica, Arial, sans-serif !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.fsn-band .fsn-band__h { font-size: 20px !important; font-weight: 600 !important; letter-spacing: -0.02em !important; }
.fsn-band .fsn-card__name { font-size: 15px !important; font-weight: 650 !important; color: #fff !important; }
.fsn-band .fsn-card__tag { font-size: 13px !important; color: #9b9ba3 !important; }
.fsn-band .fsn-card__watch { font-size: 13px !important; font-weight: 600 !important; color: #9cccff !important; }
.fsn-band .fsn-card__logo img,
.fsn-band .fsn-director__photo {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.fsn-band .fsn-director__photo {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}
.fsn-band .fsn-director__pic { display: flex; flex: 0 0 32px; }
@media (max-width: 720px) {
  .fsn-dd.fsn-in-menu .fsn-dd__list,
  .nav .fsn-dd.fsn-in-menu .fsn-dd__list {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    max-height: none !important;
    box-shadow: none !important;
  }
}

/* Theme nav link rules that hit links inside the panel (Race Ventura: .main-nav a is a pill with a hover border). */
.fsn-dd .fsn-dd__item--here .fsn-dd__row { background-color: rgba(126, 184, 255, 0.07) !important; }
.fsn-dd .fsn-dd__link:hover,
.fsn-dd .fsn-dd__link:focus-visible { background-color: rgba(255,255,255,0.06) !important; color: #f3f3f5 !important; }

/* Race Ventura: the header nav wraps on small screens, so anchor the open panel
   to the sticky header (full width minus 12px gutters) instead of the Shows item. */
@media (max-width: 820px) {
  .fsn-site-raceventura .site-header .fsn-li,
  .fsn-site-raceventura .site-header .fsn-dd.fsn-in-menu { position: static !important; }
  .fsn-site-raceventura .site-header .fsn-dd.fsn-in-menu .fsn-dd__list {
    position: absolute !important;
    top: 100% !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 6px 0 0 !important;
    max-height: calc(100vh - 140px) !important;
    box-shadow: 0 18px 50px rgba(0,0,0,0.45) !important;
  }
}

/* Flourish University: the menu lives in a fixed sidebar with overflow:auto, which
   would clip a floating panel, so the panel opens inline under Shows at every width. */
.fsn-site-flourishuniv aside.sidebar .fsn-li { display: block; width: 100%; }
.fsn-site-flourishuniv aside.sidebar .fsn-dd.fsn-in-menu { display: block; width: 100%; }
.fsn-site-flourishuniv aside.sidebar .fsn-dd.fsn-in-menu .fsn-dd__list {
  position: static !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 6px 0 8px !important;
  box-shadow: none !important;
}

/* The Pros: at 900px and below the menu is an absolutely positioned bar under the
   navbar, so the panel anchors to that bar (12px gutter) instead of the Shows item. */
@media (max-width: 900px) {
  /* WPConvert sets body #wpconvert-primary-ul > li { position: relative !important } */
  body.fsn-site-pros #wpconvert-primary-ul > li.fsn-li,
  body.fsn-site-pros nav.navbar .fsn-li,
  body.fsn-site-pros nav.navbar .fsn-dd.fsn-in-menu { position: static !important; }
  .fsn-site-pros nav.navbar .fsn-dd.fsn-in-menu .fsn-dd__list {
    position: absolute !important;
    top: 100% !important;
    left: 12px !important;
    right: auto !important;
    width: min(420px, calc(100% - 24px)) !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 6px 0 0 !important;
    max-height: calc(100vh - 160px) !important;
    box-shadow: 0 18px 50px rgba(0,0,0,0.45) !important;
  }
}
