/*

- Add icon variables here, f.e.

$icon-check: '<svg width="18" height="18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7 11.2 3.4 7.6 2 9l5 5 9-9-1.4-1.4z" fill="currentColor"/></svg>';


- This variables can be used like this:

.className {
  background-image: background-icon($icon-check, $primary-color-1);
}

*/
.tab {
  flex-wrap: wrap;
}
.tab .row {
  --snk-gutter-y: 32px;
}
.tab-button {
  background-color: #d6d8d7;
  padding: 18px 16px 14px;
  border: none;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  color: #101010;
}
.tab-button.active {
  background-color: #00ff59;
  border-color: unset;
}
.tab-button:hover, .tab-button:focus, .tab-button:focus-visible {
  border-color: unset;
}
.tab-button img {
  height: 18px;
  object-fit: contain;
}
.tab-button:focus-visible {
  outline: 1px solid #101010;
  outline-offset: -1px;
}
.tab-list {
  justify-content: center;
}
.tab-listing.splide .tab-list {
  justify-content: flex-start;
}

.tab-video {
  background-color: #000;
}
.tab-video div,
.tab-video iframe,
.tab-video video {
  max-width: 100%;
  max-height: 100%;
  margin: auto;
}
.tab-image img {
  width: 100%;
  height: auto;
}
.tab-listItem {
  padding-left: 16px;
}
.tab-listItem:first-child {
  padding-left: 0;
}
.tab-listing {
  margin-bottom: 24px;
}
.tab-listing.splide {
  margin-right: calc(var(--snk-container-x-padding, 0) * -1);
  margin-left: calc(var(--snk-container-x-padding, 0) * -1);
  padding-right: var(--snk-container-x-padding, 0);
  padding-left: var(--snk-container-x-padding, 0);
  overflow: hidden;
}
.tab-listing.splide .tab-track {
  overflow: visible;
}
.acf-block-preview .tab-panels, .acf-block-preview .tab-panelsTrack, .acf-block-preview .tab-panelsList {
  width: 100%;
  max-width: 100%;
}
.acf-block-preview .tab-panels .splide__slide {
  max-width: 100%;
}

/* Ensure Splide fade-mode positioning works: inactive slides overlay, active slide sets height */
.tab-panels.splide--fade .tab-panelsList .tab {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: none !important;
}
.tab-panels.splide--fade .tab-panelsList .tab.is-active {
  position: relative;
}
.tab-panelsTrack {
  transition: height 0.4s ease;
}