*,
*::before,
*::after {
  box-sizing: border-box;
}


.tester-full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #d5f1f1;
}

.vt-tester-carousel {
  margin: 4.5rem 0rem 3rem 0rem;
}

.tester-viewport {
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0rem;
}

.tester-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.5s ease;

  transform: translateZ(0);
}


.tester-card {
  flex: 0 0 90%;
  margin: 0 5%;
  background: #f9fdfe;
  border-radius: 2rem;

  padding: 0.75rem 3rem 4.5rem 3rem;
  height: 75vh;

  display: flex;
  overflow: hidden;
  position: relative;

  transform: translateZ(0);
  will-change: transform;
}

@media (min-width: 769px) {
  .tester-card {
    flex: 0 0 60%;
    margin: 0 20%;
    height: auto;
    padding: 1.5rem 3rem;
  }
}


.vt-tester-card {
  flex: 0 0 96%;
  margin: 0 2%;
  background: #e3f1ff;
  border-radius: 2rem;

  padding: 0.75rem 3rem 4.5rem 3rem;
  height: 75vh;

  display: flex;
  overflow: hidden;
  position: relative;

  transform: translateZ(0);
  will-change: transform;

}

@media (min-width: 769px) {
  .vt-tester-card {
    flex: 0 0 80%;
    margin: 0 10%;
    height: auto;
    padding: 1.5rem 3rem;
    align-items: center;
  }
}

.vt-testerka-card {
  flex: 0 0 96%;
  margin: 0 2%;
  background: #fde1ea;
  border-radius: 2rem;

  padding: 0.75rem 3rem 4.5rem 3rem;
  height: 75vh;

  display: flex;
  overflow: hidden;
  position: relative;

  transform: translateZ(0);
  will-change: transform;

}

@media (min-width: 769px) {
  .vt-testerka-card {
    flex: 0 0 80%;
    margin: 0 10%;
    height: auto;
    padding: 1.5rem 3rem;
    align-items: center;
  }
}


.tester-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.tester-card-content img {
  border-radius: 50%;
  border: solid 0.75rem #f9fdfe;
  width: 150px;
  height: auto;
  align-self: center;
  margin: 2rem 0rem 0rem 0rem;
  outline: solid 0.25rem #4f46e5;
  outline-offset: 0.5rem;
}


.tester-text-inner {
  flex: 1;
  min-height: 0;
  padding: 0 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;


}


.tester-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 90px;

  background: linear-gradient(to top,
      #f9fdfe 10%,
      rgba(249, 253, 254, 0.7) 50%,
      transparent 100%);

  pointer-events: none;
  z-index: 10;

  transform: translateZ(0);
}

.vt-tester-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 90px;

  background: linear-gradient(to top,
      #e3f1ff 10%,
      rgba(224, 231, 255, 0.7) 50%,
      transparent 100%);

  pointer-events: none;
  z-index: 10;

  transform: translateZ(0);
}


@media (min-width: 769px) {

  .tester-card::after,
  .vt-tester-card::after {
    display: none;
  }
}


.tester-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  font-weight: bold;
}

.tester-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #f9fdfe;
  cursor: pointer;
}

.vt-tester-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #e3f1ff;
  cursor: pointer;
}

.vt-testerka-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fde1ea;
  cursor: pointer;
}


/* CAROUSEL */
.p-carousel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}


/* TRACK */
.p-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.p-track::-webkit-scrollbar {
  display: none;
}


/* CARD */
.p-card {
  flex: 0 0 33.333%;
  position: relative;

  border-radius: 5rem !important;
  border: 1.5rem solid #f9fdfe;
  outline: #d5f1f1 solid 2px;
  outline-offset: -1.5rem;

  background: transparent !important;

  overflow: hidden !important;
  clip-path: inset(0 round 5rem);

  display: flex;
  flex-direction: column;

  scroll-snap-align: start;

  transform: translateZ(0);
  backface-visibility: hidden;
}


/* VNITŘNÍ POZADÍ KARTY */
.p-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background: #f9fdfe;

  border-radius: 5rem;
  z-index: -1;
}


/* IMAGE */
.p-img {
  width: 100%;
  position: relative;
}

.p-img img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;

  padding: 16px 16px 0;
}


/* CONTENT */
.p-content {
  padding: 16px;

  display: flex;
  flex-direction: column;

  flex: 1;

  text-align: center;

  gap: 1.5rem;

  position: relative;
}


/* BUTTON */
.p-btn {
  padding: 10px;

  border-radius: 3rem;
  border: 1px solid #2cb9bb;

  background-color: #2cb9bb;
  color: #f9fdfe;

  text-decoration: none;

  margin-top: auto;

  transition: all .5s ease;

  text-transform: uppercase;
  font-weight: bold;
}

.p-btn:hover {
  background-color: #d5f1f1;
  border-color: #d5f1f1;
  color: #2cb9bb;
}


/* ARROWS */
.p-arrows {
  display: flex;
  justify-content: center;
  gap: 12px;
}

@media (min-width: 1440px) {
  .p-arrows {
    display: none;
  }
}


.p-arrow {
  background: #f08205;

  border: 1px solid #f08205;
  border-radius: 50%;

  width: 42px;
  height: 42px;

  cursor: pointer;

  color: #f9fdfe;
  font-size: 2rem;

  display: flex;
  align-items: center;
  justify-content: center;
}


/* TABLET */
@media (max-width: 1440px) {
  .p-card {
    flex: 0 0 50%;
  }
}


/* MOBILE */
@media (max-width: 990px) {
  .p-card {
    flex: 0 0 100%;
  }
}