/* VS content components 1.0.0: slider, lightbox, tables. Navy #232a40, purple #5449D6. */
.vs-content {
  --vs-navy: #232a40;
  --vs-purple: #5449d6;
  --vs-ink: #1d2233;
  --vs-muted: #5f6577;
  --vs-line: #e3e5ec;
  --vs-ground: #f3f4f7;
}

/* Images in the article open in the lightbox */
.vs-content img.vs-zoomable { cursor: zoom-in; }

/* ---------- Slider ---------- */
figure.vs-slider {
  max-width: none;
  margin: 2rem 0 2.25rem;
  padding: 0;
}
.vs-slider__viewport {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--vs-ground);
  box-shadow: 0 0 0 1px var(--vs-line), 0 10px 30px -18px rgba(35, 42, 64, .45);
}
.vs-slider ul.vs-slider__track {
  position: relative;
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  outline: none;
}
.vs-slider__track::-webkit-scrollbar,
.vs-slider__thumbs::-webkit-scrollbar { display: none; }
.vs-slider__track:focus-visible { box-shadow: inset 0 0 0 3px var(--vs-purple); }
.vs-slider li.vs-slider__slide {
  flex: 0 0 100%;
  margin: 0;
  padding: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  aspect-ratio: var(--vs-ratio, 16/10);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vs-slider li.vs-slider__slide img.vs-slider__img {
  margin: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}
.vs-slider__btn,
.vs-slider__zoom {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  color: var(--vs-navy);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 2px 10px rgba(20, 24, 40, .22);
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.vs-slider__btn {
  top: 50%;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border-radius: 50%;
}
.vs-slider__btn--prev { left: 14px; }
.vs-slider__btn--next { right: 14px; }
.vs-slider__btn svg,
.vs-slider__zoom svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vs-slider__btn:hover,
.vs-slider__zoom:hover { background: #fff; transform: scale(1.06); }
.vs-slider__btn:focus-visible,
.vs-slider__zoom:focus-visible,
.vs-slider__thumb:focus-visible { outline: 3px solid var(--vs-purple); outline-offset: 2px; }
.vs-slider__btn[disabled] { opacity: 0; pointer-events: none; }
.vs-slider__zoom {
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  opacity: 0;
}
.vs-slider__zoom svg { width: 18px; height: 18px; }
.vs-slider__viewport:hover .vs-slider__zoom,
.vs-slider__zoom:focus-visible { opacity: 1; }
@media (hover: hover) {
  .vs-slider__btn { opacity: .82; }
  .vs-slider__viewport:hover .vs-slider__btn:not([disabled]) { opacity: 1; }
}
.vs-slider__caption {
  display: flex;
  gap: .75rem;
  align-items: baseline;
  margin: .8rem .15rem 0;
  font-size: .95rem;
  line-height: 1.45;
  color: var(--vs-muted);
}
.vs-slider__count {
  flex: none;
  min-width: 3.2em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--vs-navy);
}
.vs-slider__thumbs {
  position: relative;
  display: flex;
  gap: 8px;
  margin-top: .75rem;
  padding: 3px 2px 6px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.vs-slider__thumb {
  flex: 0 0 auto;
  width: 84px;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--vs-ground);
  box-shadow: 0 0 0 1px var(--vs-line);
  opacity: .55;
  cursor: pointer;
  transition: opacity .2s ease, box-shadow .2s ease;
}
.vs-slider__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.vs-slider__thumb:hover { opacity: .9; }
.vs-slider__thumb.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--vs-purple); }
@media (max-width: 575.98px) {
  figure.vs-slider { margin-left: -12px; margin-right: -12px; }
  .vs-slider__viewport { border-radius: 10px; }
  .vs-slider__btn { width: 38px; height: 38px; margin-top: -19px; }
  .vs-slider__btn--prev { left: 8px; }
  .vs-slider__btn--next { right: 8px; }
  .vs-slider__btn svg { width: 19px; height: 19px; }
  .vs-slider__caption { margin-left: 12px; margin-right: 12px; font-size: .9rem; }
  .vs-slider__thumbs { padding-left: 12px; padding-right: 12px; }
  .vs-slider__thumb { width: 64px; height: 42px; }
}

/* Several images side by side (phone screenshots) */
.vs-slider--multi .vs-slider__viewport { padding: 18px 0 16px; }
.vs-slider--multi ul.vs-slider__track { gap: 16px; padding: 0 18px; scroll-padding: 0 18px; }
.vs-slider--multi li.vs-slider__slide {
  flex: 0 0 calc((100% - (var(--vs-per, 3) - 1) * 16px) / var(--vs-per, 3));
  flex-direction: column;
  justify-content: flex-start;
  aspect-ratio: auto;
  scroll-snap-align: start;
}
.vs-slider--multi li.vs-slider__slide img.vs-slider__img {
  height: auto;
  aspect-ratio: var(--vs-ratio, 10/17);
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--vs-line), 0 8px 22px -14px rgba(35, 42, 64, .5);
}
.vs-slider__slide-cap {
  display: block;
  margin-top: .65rem;
  font-size: .88rem;
  line-height: 1.4;
  text-align: center;
  color: var(--vs-muted);
}
.vs-slider--multi .vs-slider__btn { margin-top: -38px; }
@media (max-width: 575.98px) {
  .vs-slider--multi li.vs-slider__slide { flex-basis: 68%; }
  .vs-slider--multi ul.vs-slider__track { padding: 0 14px; scroll-padding: 0 14px; gap: 12px; }
}

/* ---------- Lightbox ---------- */
html.vs-lb-open { overflow: hidden; }
.vs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  background: rgba(13, 16, 27, .965);
  color: #fff;
  opacity: 0;
  transition: opacity .22s ease;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.vs-lightbox.is-open { opacity: 1; }
.vs-lightbox[hidden] { display: none; }
.vs-lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(10px, env(safe-area-inset-top)) 14px 6px 20px;
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, .8);
}
.vs-lightbox__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.vs-lightbox__img {
  display: block;
  max-width: calc(100vw - 150px);
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  user-select: none;
  -webkit-user-drag: none;
  transition: transform .25s ease, opacity .25s ease;
  will-change: transform;
}
.vs-lightbox.is-dragging .vs-lightbox__img { transition: none; }
.vs-lightbox__caption {
  max-width: 900px;
  margin: 0 auto;
  padding: 12px 20px max(16px, env(safe-area-inset-bottom));
  text-align: center;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .88);
  min-height: 3.2em;
}
.vs-lightbox__btn {
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color .2s ease;
}
.vs-lightbox__btn:hover { background: rgba(255, 255, 255, .2); }
.vs-lightbox__btn:focus-visible { outline: 3px solid #8f86ff; outline-offset: 2px; }
.vs-lightbox__btn svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vs-lightbox__close { width: 44px; height: 44px; }
.vs-lightbox__nav {
  position: absolute;
  top: 50%;
  width: 54px;
  height: 54px;
  margin-top: -27px;
}
.vs-lightbox__nav--prev { left: 18px; }
.vs-lightbox__nav--next { right: 18px; }
.vs-lightbox__nav[disabled] { opacity: 0; pointer-events: none; }
.vs-lightbox--single .vs-lightbox__nav { display: none; }
@media (max-width: 767.98px) {
  .vs-lightbox__img { max-width: 100vw; border-radius: 0; box-shadow: none; }
  .vs-lightbox__nav { width: 42px; height: 42px; margin-top: -21px; background: rgba(0, 0, 0, .35); }
  .vs-lightbox__nav--prev { left: 8px; }
  .vs-lightbox__nav--next { right: 8px; }
  .vs-lightbox__caption { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  .vs-slider__track { scroll-behavior: auto; }
  .vs-lightbox, .vs-lightbox__img, .vs-slider__btn, .vs-slider__zoom { transition: none; }
}

/* ---------- Tables ---------- */
/* Selectors start with :is(...) so they win over the theme's .readable table rules. */
.vs-table-wrap {
  margin: 1.75rem 0 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--vs-line, #e3e5ec), 0 10px 30px -20px rgba(35, 42, 64, .45);
}
:is(.vs-content, .vs-table-wrap) .vs-table {
  display: table;
  width: 100%;
  min-width: 480px;
  margin: 0;
  overflow: visible;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .97rem;
  line-height: 1.4;
  color: var(--vs-ink, #1d2233);
  background: #fff;
}
:is(.vs-content, .vs-table-wrap) .vs-table caption {
  caption-side: bottom;
  padding: .75rem 1rem .9rem;
  font-size: .88rem;
  color: var(--vs-muted, #5f6577);
  text-align: left;
  background: #fafbfc;
  border-top: 1px solid var(--vs-line, #e3e5ec);
}
:is(.vs-content, .vs-table-wrap) .vs-table th,
:is(.vs-content, .vs-table-wrap) .vs-table td {
  padding: .8rem 1rem;
  text-align: left;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid var(--vs-line, #e3e5ec);
}
:is(.vs-content, .vs-table-wrap) .vs-table thead th {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--vs-navy, #232a40);
  border-bottom: 0;
  white-space: nowrap;
}
:is(.vs-content, .vs-table-wrap) .vs-table tbody th { font-weight: 600; color: var(--vs-navy, #232a40); }
:is(.vs-content, .vs-table-wrap) .vs-table tbody tr:nth-child(even) > * { background: #f7f8fa; }
:is(.vs-content, .vs-table-wrap) .vs-table tbody tr:last-child > * { border-bottom: 0; }
:is(.vs-content, .vs-table-wrap) .vs-table tbody tr:hover > * { background: #f1f2f6; }
:is(.vs-content, .vs-table-wrap) .vs-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
:is(.vs-content, .vs-table-wrap) .vs-table .price { font-weight: 700; color: var(--vs-navy, #232a40); }
:is(.vs-content, .vs-table-wrap) .vs-table small,
:is(.vs-content, .vs-table-wrap) .vs-table .sub { display: block; margin-top: .15rem; font-size: .84rem; font-weight: 400; color: var(--vs-muted, #5f6577); }
:is(.vs-content, .vs-table-wrap) .vs-table thead th.is-hl { box-shadow: inset 0 -4px 0 var(--vs-purple, #5449d6); }
:is(.vs-content, .vs-table-wrap) .vs-table td.is-hl { font-weight: 600; }
:is(.vs-content, .vs-table-wrap) .vs-table tr.vs-table__group > * {
  padding-top: .55rem;
  padding-bottom: .55rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--vs-purple, #5449d6);
  background: #fff;
  border-bottom: 2px solid var(--vs-line, #e3e5ec);
}
/* vs-table--sticky: the first column stays visible when a wide table scrolls on a phone */
:is(.vs-content, .vs-table-wrap) .vs-table--sticky thead th:first-child,
:is(.vs-content, .vs-table-wrap) .vs-table--sticky tbody th:first-child { position: sticky; left: 0; z-index: 1; }
:is(.vs-content, .vs-table-wrap) .vs-table--sticky tbody th:first-child { background: #fff; box-shadow: 1px 0 0 var(--vs-line, #e3e5ec); }
:is(.vs-content, .vs-table-wrap) .vs-table--sticky tbody tr:nth-child(even) th:first-child { background: #f7f8fa; }
:is(.vs-content, .vs-table-wrap) .vs-table--compact th,
:is(.vs-content, .vs-table-wrap) .vs-table--compact td { padding: .55rem .8rem; }
@media (max-width: 575.98px) {
  :is(.vs-content, .vs-table-wrap) .vs-table { font-size: .9rem; }
  :is(.vs-content, .vs-table-wrap) .vs-table th,
  :is(.vs-content, .vs-table-wrap) .vs-table td { padding: .65rem .75rem; }
}
/* vs-table--stack: on phones each row becomes a small card; cells need data-label="Column name" */
@media (max-width: 575.98px) {
  :is(.vs-content, .vs-table-wrap) .vs-table--stack { min-width: 0; }
  :is(.vs-content, .vs-table-wrap) .vs-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  :is(.vs-content, .vs-table-wrap) .vs-table--stack tbody tr { display: block; padding: .3rem 0 .55rem; border-bottom: 1px solid var(--vs-line, #e3e5ec); }
  :is(.vs-content, .vs-table-wrap) .vs-table--stack tbody tr:last-child { border-bottom: 0; }
  :is(.vs-content, .vs-table-wrap) .vs-table--stack tbody tr:nth-child(even) { background: #f7f8fa; }
  :is(.vs-content, .vs-table-wrap) .vs-table--stack tbody tr:nth-child(n) > * { display: block; padding: .28rem 1rem; border: 0; background: transparent; text-align: right; white-space: normal; }
  :is(.vs-content, .vs-table-wrap) .vs-table--stack tbody tr:nth-child(n) > td::after { content: ""; display: table; clear: both; }
  :is(.vs-content, .vs-table-wrap) .vs-table--stack tbody tr:nth-child(n) > th { padding-top: .55rem; font-size: 1.05rem; text-align: left; }
  :is(.vs-content, .vs-table-wrap) .vs-table--stack tbody tr.vs-table__group:nth-child(n) > * { text-align: left; }
  :is(.vs-content, .vs-table-wrap) .vs-table--stack td[data-label]::before { content: attr(data-label); float: left; max-width: 50%; margin-right: 1rem; font-weight: 400; color: var(--vs-muted, #5f6577); text-align: left; }
  :is(.vs-content, .vs-table-wrap) .vs-table--stack td > :is(.price, small) { display: inline; margin: 0 0 0 .35rem; }
  :is(.vs-content, .vs-table-wrap) .vs-table--stack tbody tr.vs-table__group { padding: .5rem 0 .1rem; background: #fff; }
  :is(.vs-content, .vs-table-wrap) .vs-table--stack tbody tr.vs-table__group > * { display: block; text-align: left; border: 0; }
  :is(.vs-content, .vs-table-wrap) .vs-table--stack caption { display: block; }
}

/* ---------- Video play button (1.1.0, October 9) ----------
   Large round button in the middle of the poster until the video starts.
   Dark navy glass, purple on hover and keyboard focus. */
.vs-content .vs-video { position: relative; display: block; line-height: 0; }
.vs-content .vs-video video { display: block; width: 100%; height: auto; }
.vs-content .vs-video .vs-video__play {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
  display: grid; place-items: center; cursor: pointer;
  -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent;
}
.vs-content .vs-video .vs-video__play:hover,
.vs-content .vs-video .vs-video__play:focus { background: transparent; outline: 0; }
.vs-content .vs-video .vs-video__icon {
  display: grid; place-items: center;
  width: clamp(60px, 13%, 96px); aspect-ratio: 1; border-radius: 50%;
  background: rgba(23, 27, 43, .78);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 14px 34px -12px rgba(0, 0, 0, .65);
  transition: background-color .18s ease, transform .18s ease;
}
.vs-content .vs-video .vs-video__icon svg { width: 44%; height: 44%; margin-left: 9%; fill: #fff; }
.vs-content .vs-video .vs-video__play:hover .vs-video__icon { background: #5449D6; transform: scale(1.06); }
.vs-content .vs-video .vs-video__play:focus-visible .vs-video__icon {
  background: #5449D6; box-shadow: 0 0 0 3px #fff, 0 0 0 6px #5449D6;
}
.vs-content .vs-video.is-started .vs-video__play { display: none; }
@media (prefers-reduced-motion: reduce) {
  .vs-content .vs-video .vs-video__icon { transition: none; }
  .vs-content .vs-video .vs-video__play:hover .vs-video__icon { transform: none; }
}
