/**
 * Video Tabs — Tryngolza stories (Figma Day 10).
 * Carousel + cover; modal playback like KYTGs personal-stories.
 */

/* Lets --x interpolate when used; JS also sets transform for reliable slides. */
@property --x {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

.video-tabs {
  --vt-purple: #4f08b0;
  --vt-lilac: #b2b2ff;
  --vt-dark: #21034a;
  --vt-white: #ffffff;
  --vt-gray: #444444;
  --vt-footnote: #1e1e1e;
  /* Figma 18461:29504 — active always centered via --x cover-flow */
  --vt-tab-w: 218px;
  --vt-tab-h: 107px;
  --vt-tab-active-w: 309px;
  --vt-tab-active-h: 158px;
  --vt-tab-gap: 12px;
  --vt-far-w: 146px;
  --vt-far-h: 72px;
  --vt-x-adj: calc(var(--vt-tab-active-w) / 2 + var(--vt-tab-gap) + var(--vt-tab-w) / 2);
  --vt-x-far: calc(var(--vt-x-adj) + var(--vt-tab-w) / 2 + var(--vt-tab-gap) + var(--vt-far-w) / 2);
  /* Caps at 1136 on ≥1280 desktops; fluid below that */
  width: min(100%, 1136px);
  margin: 0 auto;
}

.video-tabs__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

/* Meet-card cover-flow — active always at center (--x: 0) */
.video-tabs__nav {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1136px;
  height: calc(var(--vt-tab-active-h) + 24px);
  margin: 0 auto;
}

.video-tabs__arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  flex: 0 0 47px;
  width: 47px;
  height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50px;
  background: linear-gradient(180deg, #21034a 0.68%, #4f08b0 97%);
  color: #ffffff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transform: translateY(-50%);
}

.video-tabs__arrow--prev {
  left: 24px;
}

.video-tabs__arrow--next {
  right: 24px;
}

.video-tabs__arrow:hover,
.video-tabs__arrow:focus-visible {
  filter: brightness(1.08);
}

.video-tabs__arrow:focus-visible {
  outline: 2px solid #b2b2ff;
  outline-offset: 2px;
}

.video-tabs__tabs {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.video-tabs__tabs.is-no-transition .video-tabs__tab,
.video-tabs .video-tabs__tab.is-no-transition {
  transition: none !important;
}

/* Default = adjacent size. Positioned from track center via --x. */
.video-tabs .video-tabs__tab {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  box-sizing: border-box;
  width: var(--vt-tab-w);
  height: var(--vt-tab-h);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid #b2b2ff;
  border-radius: 8.947px;
  background-color: #ffffff;
  background-image: none;
  box-shadow: 0 4px 14px rgba(33, 3, 74, 0.1);
  color: #4f08b0;
  cursor: pointer;
  opacity: 0.8;
  appearance: none;
  -webkit-appearance: none;
  transform: translate(-50%, -50%) translateX(var(--x, 0px));
  will-change: transform;
  z-index: 2;
  transition: transform 0.4s ease;
}

.video-tabs .video-tabs__tab.is-main,
.video-tabs .video-tabs__tab.video-tabs__tab--active {
  width: var(--vt-tab-active-w);
  height: var(--vt-tab-active-h);
  border: 3px solid #4f08b0;
  border-radius: 13.165px;
  opacity: 1;
  z-index: 4;
}

.video-tabs .video-tabs__tab.is-adjacent {
  z-index: 3;
}

.video-tabs .video-tabs__tab.is-far {
  width: var(--vt-far-w);
  height: var(--vt-far-h);
  opacity: 0.45;
  z-index: 1;
  border-radius: 6px;
}

.video-tabs .video-tabs__tab.is-offstage {
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.video-tabs__tab-photo {
  position: relative;
  flex: 0 0 auto;
  width: 107.379px;
  height: 100%;
  background-color: #ffffff;
  overflow: hidden;
}

.video-tabs .video-tabs__tab.is-main .video-tabs__tab-photo,
.video-tabs .video-tabs__tab.video-tabs__tab--active .video-tabs__tab-photo {
  width: 158px;
}

.video-tabs .video-tabs__tab.is-far .video-tabs__tab-photo {
  width: 72px;
}

/* Beat .layout-container > main img { height: auto; max-width: 100%; } */
.layout-container main .video-tabs .video-tabs__tab-image,
.video-tabs .video-tabs__tab .video-tabs__tab-image {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.video-tabs__tab-meta {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background-color: transparent;
  box-sizing: border-box;
  min-width: 0;
}

.video-tabs__tab-label {
  color: #4f08b0;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 17px;
  text-align: left;
  white-space: pre-line;
}

.video-tabs .video-tabs__tab.is-main .video-tabs__tab-label,
.video-tabs .video-tabs__tab.video-tabs__tab--active .video-tabs__tab-label {
  font-size: 24px;
  line-height: 27px;
}

.video-tabs .video-tabs__tab.is-far .video-tabs__tab-label {
  font-size: 10px;
  line-height: 12px;
}

/* Cover player (preview only — playback is in modal) */
.video-tabs__main-wrapper {
  width: 100%;
  max-width: 969px;
}

/* Title + description above cover (item text_position=above) */
.video-tabs__info--above {
  width: 100%;
  max-width: 826px;
  margin: 0 auto 20px;
  text-align: center;
}

.layout-container .video-tabs .video-tabs__info--above .video-tabs__title,
.video-tabs .video-tabs__info--above .video-tabs__title {
  margin: 0 0 9px;
  color: #4f08b0;
  font-family: Poppins, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.layout-container .video-tabs .video-tabs__info--above .video-tabs__body,
.video-tabs .video-tabs__info--above .video-tabs__body {
  color: #000;
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0;
}

/* sHTG above description — desktop 16px (Figma); mobile 14px + letter-spacing unset below */
body[class*="shtg-"] .layout-container .video-tabs .video-tabs__info--above .video-tabs__body,
body[class*="shtg-"] .video-tabs .video-tabs__info--above .video-tabs__body,
body[class*="shtg-"] .layout-container .video-tabs .video-tabs__info--above .video-tabs__body p,
body[class*="shtg-"] .video-tabs .video-tabs__info--above .video-tabs__body p {
  color: #000;
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0;
}

.video-tabs__info--above .video-tabs__body p {
  margin: 0 0 9px;
}

.video-tabs__info--above .video-tabs__body p:last-child {
  margin-bottom: 0;
}

.video-tabs__main {
  position: relative;
  width: 100%;
  aspect-ratio: 969 / 547;
  background: transparent;
  overflow: hidden;
}

.video-tabs__video-wrapper {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-tabs__video-wrapper--active {
  display: block;
}

.video-tabs__cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
}

/* Beat .layout-container > main img { height: auto; max-width: 100%; } */
.layout-container main .video-tabs .video-tabs__cover-image,
.video-tabs .video-tabs__cover .video-tabs__cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.video-tabs__play-icon {
  position: relative;
  z-index: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 183px;
  height: 183px;
  transition: transform 0.2s ease;
  pointer-events: none;
}

.video-tabs__play-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: rgba(79, 8, 176, 0.75);
  mix-blend-mode: multiply;
}

.video-tabs__play-icon svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  isolation: isolate;
}

.video-tabs__play-icon svg circle {
  fill: transparent;
}

@media (min-width: 768px) {
  body[class*="shtg-"] .video-tabs__play-icon {
    width: 160px;
    height: 160px;
  }

  .fcs-resources-tryngolza-stories .video-tabs__play-icon,
  .template--tryngolza-stories .video-tabs__play-icon {
    width: 182.513px;
    height: 182.513px;
  }
}

.video-tabs__cover:hover .video-tabs__play-icon,
.video-tabs__cover:focus-visible .video-tabs__play-icon {
  transform: scale(1.06);
}

.video-tabs__cover:focus-visible {
  outline: 3px solid var(--vt-lilac);
  outline-offset: 3px;
}

/* Info under player */
.video-tabs__info--below {
  margin-top: 28px;
  margin-bottom: 42px;
  width: 100%;
  max-width: 826px;
  text-align: left;
}

body[class*="shtg-"] .video-tabs__info--below {
  margin-bottom: 0;
}

.video-tabs__info-panel {
  display: none;
}

.video-tabs__info-panel--active {
  display: block;
}

/* Figma 10381:37201 — desktop title; beat .layout-container h3 resets */
.layout-container .video-tabs .video-tabs__title,
.video-tabs .video-tabs__title {
  margin: 0 0 8.889px;
  color: #4f08b0;
  font-family: Poppins, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px; /* 133.333% */
}

.layout-container .video-tabs .video-tabs__body,
.video-tabs .video-tabs__body {
  color: var(--vt-gray);
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.025em;
}

.video-tabs__body p {
  margin: 0 0 8.889px;
}

.video-tabs__body p:last-child {
  margin-bottom: 8.889px;
}

.layout-container .video-tabs .video-tabs__disclaimer,
.video-tabs .video-tabs__disclaimer {
  margin: 0;
  color: var(--vt-gray);
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
}

.layout-container .video-tabs .video-tabs__footnote,
.layout-container .video-tabs p.video-tabs__footnote,
.video-tabs .video-tabs__footnote {
  margin: 16px 0 0;
  width: 100%;
  max-width: 969px;
  color: var(--vt-footnote);
  font-family: Poppins, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  text-align: left;
}

/* Modal — Figma frame 18430:29471 (purple border, large radius).
   JS mounts this on document.body while open so fixed + z-index beat
   header (1000) and sticky ISI (9999 / peek 99999).
   Vars duplicated here because the node leaves .video-tabs when teleported. */
.video-tabs__modal {
  --vt-purple: #4f08b0;
  --vt-lilac: #b2b2ff;
  --vt-dark: #21034a;
  --vt-white: #ffffff;
  --vt-gray: #444444;
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
  overscroll-behavior: none;
  touch-action: none;
  isolation: isolate;
}

.video-tabs__modal[hidden] {
  display: none;
}

.video-tabs__modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.video-tabs__modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1136px);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
  touch-action: pan-y;
  background: var(--vt-white);
  border: 2px solid var(--vt-purple);
  border-radius: 44.444px;
  padding: 56px 72px 48px;
  box-sizing: border-box;
  box-shadow: 0 24px 64px rgba(33, 3, 74, 0.28);
}

/* Dialog is focused on open for a11y — suppress UA focus ring (looks like a 2nd border). */
.video-tabs__modal-dialog:focus,
.video-tabs__modal-dialog:focus-visible {
  outline: none;
  box-shadow: 0 24px 64px rgba(33, 3, 74, 0.28);
}

/* Figma 18435:29540 — FCS modal is a clean purple-bordered card (no wing).
   Wing (Figma 18429:29035) keeps right/bottom offsets; overflow:hidden clips spill. */
body[class*="shtg-"] .video-tabs__modal-dialog {
  overflow: hidden;
}

body[class*="shtg-"] .video-tabs__modal-dialog::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -3px;
  width: 151px;
  height: 154px;
  background: url("../../images/video-tabs/modal-wing.svg") no-repeat right bottom / 151px 154px;
  pointer-events: none;
  z-index: 0;
}

/* Figma 18429:29025 — sHTG close (below + above); ~43px top / ~42px right of frame */
body[class*="shtg-"] .video-tabs__modal-close {
  top: 30px;
  right: 42px;
  width: 24.8889px;
  height: 24.8889px;
  color: #4f08b0;
  overflow: visible;
  z-index: 20;
}

body[class*="shtg-"] .video-tabs__modal-dialog {
  padding: 80px 62px 28px;
}

body[class*="shtg-"] .video-tabs__modal-close svg {
  width: 24.8889px;
  height: 24.8889px;
  max-width: none;
  overflow: visible;
}

body[class*="shtg-"] .video-tabs__modal-close svg path {
  stroke: #4f08b0;
  stroke-width: 4.44444;
}

/* Figma 18429:29030 — sHTG modal video 1010.5×568.7; side padding → ~1011 in 1136 dialog */
@media (min-width: 768px) {
  body[class*="shtg-"] .video-tabs__modal-dialog {
    padding-left: 62px;
    padding-right: 62px;
  }

  body[class*="shtg-"] .video-tabs__modal-player {
    aspect-ratio: 1011 / 569;
    width: 100%;
    max-width: 1011px;
  }
}

/* Tablet: pull wing down so no white gap under the corner */
@media (min-width: 768px) and (max-width: 991px) {
  body[class*="shtg-"] .video-tabs__modal-dialog::after {
    bottom: -16px;
  }
}

.video-tabs__modal-player,
.video-tabs__modal-content {
  position: relative;
  z-index: 1;
}

.video-tabs__modal-close {
  position: absolute;
  top: 13px;
  right: 42px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--vt-purple);
  cursor: pointer;
  z-index: 10;
  line-height: 0;
  pointer-events: auto;
}

.video-tabs__modal-close svg {
  display: block;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.video-tabs__modal-close:hover,
.video-tabs__modal-close:focus-visible {
  filter: brightness(1.08);
  opacity: 0.85;
}

.video-tabs__modal-close:focus-visible {
  outline: 2px solid var(--vt-lilac);
  outline-offset: 4px;
}

.video-tabs__modal-player {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  background: #000;
  overflow: hidden;
  border-radius: 0;
}

.video-tabs__modal-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.video-tabs__modal-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  text-align: left;
  /* Keep scroll, hide scrollbar (FCS / sHTG modals) */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE / legacy Edge */
}

/* text_position=above — title + description above player (Figma 12305:25702 / 18428:30743) */
@media (min-width: 768px) {
  .video-tabs__modal-dialog--content-above {
    padding: 31px 72px 48px;
  }

  body[class*="shtg-"] .video-tabs__modal-dialog--content-above {
    padding: 31px 62px 48px;
  }
}

.video-tabs__modal-dialog--content-above .video-tabs__modal-content {
  order: -1;
  margin-top: 0;
  margin-bottom: 20px;
  text-align: center;
}

.video-tabs__modal-dialog--content-above .video-tabs__modal-title {
  margin: 0 0 9px;
  color: #4f08b0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.video-tabs__modal-dialog--content-above .video-tabs__modal-body {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
}

/* sHTG above modal description — desktop 16px; mobile 14px in max-width 767 */
body[class*="shtg-"] .video-tabs__modal-dialog--content-above .video-tabs__modal-body,
body[class*="shtg-"] .video-tabs__modal-dialog--content-above .video-tabs__modal-body p {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
}

.video-tabs__modal-dialog--content-above .video-tabs__modal-subtitle,
.video-tabs__modal-dialog--content-above .video-tabs__modal-disclaimer {
  text-align: center;
}

.video-tabs__modal-content::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none; /* Chrome / Safari */
}

.video-tabs__modal-dialog {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.video-tabs__modal-dialog::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* Figma 10848:10838 — title / description / disclaimer */
.video-tabs__modal-title {
  margin: 0 0 9px;
  color: var(--vt-purple);
  font-family: Poppins, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  text-transform: none;
  letter-spacing: 0;
}

.video-tabs__modal-subtitle {
  margin: 0 0 9px;
  color: var(--vt-dark);
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.video-tabs__modal-body {
  color: var(--vt-gray);
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.video-tabs__modal-body p {
  margin: 0 0 9px;
}

.video-tabs__modal-body p:last-child {
  margin-bottom: 0;
}

.video-tabs__modal-disclaimer {
  margin: 9px 0 0;
  color: var(--vt-gray);
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  line-height: 24px;
}

html.video-tabs-modal-open,
html.video-tabs-modal-open body {
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
}

html.video-tabs-modal-open body.video-tabs-modal-open {
  position: fixed;
  inset: 0 0 0 0;
  width: 100%;
}

.video-tabs__info-panel p.video-tabs__closed-captions{
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
  margin-top: 18px;
}

.video-tabs__modal-closed-captions {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  color: #444444;
}

@media (max-width: 1023px) {
  .video-tabs {
    --vt-tab-w: 168px;
    --vt-tab-h: 82px;
    --vt-tab-active-w: 240px;
    --vt-tab-active-h: 122px;
    --vt-far-w: 112px;
    --vt-far-h: 55px;
  }

  .video-tabs__arrow--prev {
    left: 8px;
  }

  .video-tabs__arrow--next {
    right: 8px;
  }

  .video-tabs .video-tabs__tab.is-adjacent .video-tabs__tab-photo {
    width: 82px;
  }

  .video-tabs .video-tabs__tab.is-main .video-tabs__tab-photo,
  .video-tabs .video-tabs__tab.video-tabs__tab--active .video-tabs__tab-photo {
    width: 122px;
  }

  .video-tabs .video-tabs__tab.is-far .video-tabs__tab-photo {
    width: 55px;
  }

  .video-tabs__tab-label {
    font-size: 12px;
    line-height: 15px;
  }

  .video-tabs .video-tabs__tab.is-main .video-tabs__tab-label,
  .video-tabs .video-tabs__tab.video-tabs__tab--active .video-tabs__tab-label {
    font-size: 18px;
    line-height: 22px;
  }

  .video-tabs__modal-dialog {
    border-radius: 28px;
    padding: 80px 62px 28px;
  }

  body[class*="shtg-"] .video-tabs__main-wrapper {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 767px) {
  .video-tabs {
    --vt-tab-w: 145px;
    --vt-tab-h: 74px;
    --vt-tab-active-w: 210px;
    --vt-tab-active-h: 107px;
    --vt-tab-gap: 8px;
    --vt-far-w: 96px;
    --vt-far-h: 48px;
  }

  .video-tabs__main-wrapper {
    padding-left: 17px;
    padding-right: 12px;
    box-sizing: border-box;
  }

  body[class*="shtg-"] .video-tabs__container {
    gap: 47px;
  }

  body[class*="shtg-"] .video-tabs__info--below {
    margin-bottom: 15px;
  }

  body[class*="shtg-"] .video-tabs {
    margin-top: 0;
  }

  /* sHTG mobile above — cover frame 16:9, image object-fit cover */
  body[class*="shtg-"] .video-tabs__main-wrapper:has([data-video-info-above]:not([hidden])) .video-tabs__main {
    aspect-ratio: 16 / 9;
  }

  body[class*="shtg-"] .video-tabs__main-wrapper:has([data-video-info-above]:not([hidden])) .video-tabs__cover-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .video-tabs__arrow {
    width: 40px;
    height: 40px;
  }

  .video-tabs__arrow--prev {
    left: 4px;
  }

  .video-tabs__arrow--next {
    right: 4px;
  }

  .video-tabs .video-tabs__tab {
    border-radius: 6px;
  }

  .video-tabs .video-tabs__tab.is-adjacent .video-tabs__tab-photo {
    width: 74px;
  }

  .video-tabs .video-tabs__tab.is-main,
  .video-tabs .video-tabs__tab.video-tabs__tab--active {
    border: 3px solid #4f08b0;
    border-radius: 9px;
  }

  .video-tabs .video-tabs__tab.is-main .video-tabs__tab-photo,
  .video-tabs .video-tabs__tab.video-tabs__tab--active .video-tabs__tab-photo {
    width: 107px;
  }

  .video-tabs .video-tabs__tab.is-far .video-tabs__tab-photo {
    width: 48px;
  }

  .video-tabs__tab-label {
    font-size: 11px;
    line-height: 14px;
  }

  .video-tabs .video-tabs__tab.is-main .video-tabs__tab-label,
  .video-tabs .video-tabs__tab.video-tabs__tab--active .video-tabs__tab-label {
    font-size: 16px;
    line-height: 20px;
  }

  .video-tabs__play-icon {
    width: 64px;
    height: 64px;
  }

  .layout-container .video-tabs .video-tabs__info--above .video-tabs__title,
  .video-tabs .video-tabs__info--above .video-tabs__title {
    font-size: 18px;
    line-height: 1.3;
  }

  .layout-container .video-tabs .video-tabs__info--above .video-tabs__body,
  .video-tabs .video-tabs__info--above .video-tabs__body {
    font-size: 14px;
    line-height: 1.3;
  }

  /* sHTG mobile above — Figma 12566:26376 title 16px / 18450:29066 desc 14px */
  body[class*="shtg-"] .layout-container .video-tabs .video-tabs__info--above .video-tabs__title,
  body[class*="shtg-"] .video-tabs .video-tabs__info--above .video-tabs__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #4f08b0;
    text-align: center;
    text-transform: uppercase;
  }

  body[class*="shtg-"] .layout-container .video-tabs .video-tabs__info--above .video-tabs__body,
  body[class*="shtg-"] .video-tabs .video-tabs__info--above .video-tabs__body,
  body[class*="shtg-"] .layout-container .video-tabs .video-tabs__info--above .video-tabs__body p,
  body[class*="shtg-"] .video-tabs .video-tabs__info--above .video-tabs__body p,
  body[class*="shtg-"] .layout-container .video-tabs .video-tabs__info--above .video-tabs__body p:last-child,
  body[class*="shtg-"] .video-tabs .video-tabs__info--above .video-tabs__body p:last-child {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    color: #000;
    text-align: center;
    letter-spacing: unset;
  }

  .video-tabs__info--above {
    margin-bottom: 16px;
  }

  .layout-container .video-tabs .video-tabs__title,
  .video-tabs .video-tabs__title {
    font-size: 18px;
    line-height: 24px;
  }

  .layout-container .video-tabs .video-tabs__body,
  .video-tabs .video-tabs__body {
    font-size: 14px;
    line-height: 22px;
    letter-spacing: -0.4px;
  }

  .video-tabs__body p:last-child {
    letter-spacing: -0.4px;
    margin-bottom: 8.889px;
  }

  .video-tabs__modal-dialog {
    border-radius: 24px;
    padding: 32px 16px 20px;
  }

  /* sHTG mobile — no wing (desktop only) */
  body[class*="shtg-"] .video-tabs__modal-dialog::after {
    content: none;
    display: none;
  }

  .video-tabs__modal-close {
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
  }

  .video-tabs__modal-content {
    margin-top: 20px;
  }

  .video-tabs__modal-title {
    font-size: 22px;
    line-height: 28px;
  }

  .video-tabs__modal-body,
  .video-tabs__modal-disclaimer {
    font-size: 14px;
    line-height: 22px;
  }

  /* sHTG mobile modal — no wing (desktop only) */
  body[class*="shtg-"] .video-tabs__modal {
    padding: 16px 20px;
  }

  body[class*="shtg-"] .video-tabs__modal-dialog {
    width: calc(100vw * 350 / 390);
    max-width: 100%;
    border: 4px solid var(--vt-purple);
    border-radius: 30px;
    padding: 61px 23px 24px;
    box-shadow: 0 16px 40px rgba(33, 3, 74, 0.22);
    overflow: hidden;
  }

  body[class*="shtg-"] .video-tabs__modal-dialog:focus,
  body[class*="shtg-"] .video-tabs__modal-dialog:focus-visible {
    outline: none;
    box-shadow: 0 16px 40px rgba(33, 3, 74, 0.22);
  }

  body[class*="shtg-"] .video-tabs__modal-dialog::after {
    content: none;
    display: none;
  }

  body[class*="shtg-"] .video-tabs__modal-dialog--content-above {
    padding: 61px 21px 55px;
    overflow: hidden;
  }

  body[class*="shtg-"] .video-tabs__modal-close {
    top: calc(27px - 4px);
    right: calc(30.556px - 4px);
    width: 20.444px;
    height: 20.444px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f08b0;
    overflow: visible;
    z-index: 20;
  }

  body[class*="shtg-"] .video-tabs__modal-close svg {
    position: static;
    top: auto;
    left: auto;
    display: block;
    width: 24.8889px;
    height: 24.8889px;
    max-width: none;
    flex-shrink: 0;
    overflow: visible;
  }

  body[class*="shtg-"] .video-tabs__modal-close svg path {
    stroke: #4f08b0;
    stroke-width: 4.44444;
  }

  body[class*="shtg-"] .video-tabs__modal-player {
    min-height: 0;
    border-radius: 0;
  }

  body[class*="shtg-"] .video-tabs__modal-content {
    margin-top: 16px;
  }

  body[class*="shtg-"] .video-tabs__modal-title {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 26px;
  }

  body[class*="shtg-"] .video-tabs__modal-body {
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.4px;
  }

  body[class*="shtg-"] .video-tabs__modal-disclaimer {
    margin-top: 8px;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: unset;
  }

  /* Heading above — mobile: Figma shell; sides 21px, bottom 55px (already set above) */

  .video-tabs__modal-dialog--content-above .video-tabs__modal-content,
  body[class*="shtg-"] .video-tabs__modal-dialog--content-above .video-tabs__modal-content {
    margin-top: 0;
    margin-bottom: 16px;
    text-align: center;
  }

  .video-tabs__modal-dialog--content-above .video-tabs__modal-title,
  body[class*="shtg-"] .video-tabs__modal-dialog--content-above .video-tabs__modal-title {
    margin: 0 0 9px;
    font-size: 18px;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
  }

  /* sHTG mobile above modal — Figma 12566:26376 (16px) / 18450:29066 (14px) */
  body[class*="shtg-"] .video-tabs__modal-dialog--content-above .video-tabs__modal-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #4f08b0;
  }

  .video-tabs__modal-dialog--content-above .video-tabs__modal-body,
  body[class*="shtg-"] .video-tabs__modal-dialog--content-above .video-tabs__modal-body,
  body[class*="shtg-"] .video-tabs__modal-dialog--content-above .video-tabs__modal-body p {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: unset;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-tabs .video-tabs__tab,
  .video-tabs__play-icon {
    transition: none;
  }
}
