/* Turbine 2026 — Virtual Lab (NEW). Clone of virtual-lab.css for the "Virtual lab
   New" page template. Scoped under .vlab-page-new (renamed from .vlab-page);
   inner classes are unchanged because the wrapper scopes them. Global scroll-lock
   class is .vlab-loop-modal-open-new. Loaded only on front-virtual-lab-new.php, so
   editing this file never affects the live Virtual Lab page. */

/* Virtual Lab only. Shared home/header/footer styles are deliberately untouched. */
.vlab-page-new {
  --vlab-accent: #33c7cc;
}

/* --------------------------------------------------------------
   Page container — 980px for the content sections. The hero keeps
   the global 1280px .container (see .hero > .container below).
-------------------------------------------------------------- */
.vlab-page-new .container-vlab {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* --------------------------------------------------------------
   Testimonial carousel — IDENTICAL to the home page. This template
   now renders template-parts/home-new/testimonial-carousel.php
   (.testimonial-carousel-new markup), so the styles below are copied
   verbatim from home-new.css (+ .container-new) and the Swiper init
   (autoHeight) is mirrored in virtual-lab-new.js.
-------------------------------------------------------------- */
.container-new {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;

  padding-left: 15px;
  padding-right: 15px;
}

.testimonial-carousel-new {
  width: 100%;
  padding-top: 80px;
  padding-bottom: 150px;
}

.testimonial-carousel-new__swiper {
  overflow: hidden;
}

.testimonial-carousel-new__slide {
  padding-left: 30px;
  padding-right: 30px;
  text-align: center;
}

.testimonial-carousel-new__quote {
  max-width: 700px;
  margin: 0 auto;

  font-size: 30px;

  font-style: italic;
  line-height: 1.4;
}

.testimonial-carousel-new__quote::before,
.testimonial-carousel-new__quote::after {
  content: "";
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.testimonial-carousel-new__quote::before {
  width: 32px;
  height: 21px;
  margin-right: 6px;

  background-image: url("../images/quote_open.svg");
}

.testimonial-carousel-new__quote::after {
  width: 32px;
  height: 21px;
  margin-left: 6px;

  background-image: url("../images/quote_close.svg");
}

.testimonial-carousel-new__author {
  margin-top: 35px;

  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  color: #33c7cc;
}

.testimonial-carousel-new__role {
  margin-top: 5px;

  font-size: 20px;

  line-height: 1;
  color: #33c7cc;
}

.testimonial-carousel-new__pagination.swiper-pagination {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.testimonial-carousel-new__pagination .swiper-pagination-bullet {
  width: 4px;
  height: 26px;
  margin: 0 !important;
  border-radius: 10px;
  background: #216979;
  opacity: 1;
}

.testimonial-carousel-new__pagination .swiper-pagination-bullet-active {
  background: #33c7cc;
}

.vlab-page-new .vlab-content {
  margin-inline: 0;
}
.vlab-page-new .vlab-heading {
  margin: 0;
  font-family: "Pharma", sans-serif;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  text-align: center;
  color: var(--vlab-accent);
}
.vlab-page-new .vlab-heading.lila {
  color: #9e5ba6;
}
.vlab-page-new .hero {
  display: flex;
  align-items: center;

  height: 700px;
  padding-top: 35px;
}
.vlab-page-new .hero__media,
.vlab-page-new .hero__background,
.vlab-page-new .hero__video {
  height: 100%;
}
.vlab-page-new .hero > .container {
  height: auto;
}
.vlab-page-new .hero__content {
  width: 550px;
  max-width: calc(100% - 30px);
  margin-left: auto;
  margin-right: 0;
  padding: 44px 40px 60px;
  /* same translucent box as the company-new hero (.company-hero__card) */
  background: rgba(15, 10, 38, 0.5);
  backdrop-filter: blur(5px);
  border-radius: 0;
}
.vlab-page-new .hero__title {
  margin: 0 0 25px;
  font:
    400 50px/1.08 "Pharma",
    sans-serif;
  text-transform: uppercase;
}
.vlab-page-new .hero__text {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
}
.vlab-page-new .hero__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  padding: 0 35px;
  height: 60px;
  background: var(--vlab-accent);
  color: #0f0a26;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}
.vlab-page-new .hero__button:hover {
  background-color: #279093;
}
.vlab-page-new .vlab-intro {
  padding-block: 150px 70px;
}
.vlab-page-new .vlab-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.92fr) minmax(0, 1fr);
  align-items: center;
  gap: 100px;
}
.vlab-page-new .vlab-intro__media {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 16/9;
  background: #17122e;
}
.vlab-page-new .vlab-intro__poster,
.vlab-page-new .vlab-intro__video,
.vlab-page-new .vlab-intro__play,
.vlab-page-new .vlab-intro__media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vlab-page-new .vlab-intro__media iframe {
  border: 0;
  position: absolute;
  inset: 0;
}
.vlab-page-new .vlab-intro__play {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}
.vlab-page-new .vlab-intro__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 83px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(15, 10, 38, 0.65);
  backdrop-filter: blur(6px);
}
.vlab-page-new .vlab-intro__play-icon::after {
  content: "";
  position: absolute;
  inset: 28% 28% 28% 35%;
  background: url("../images/play.svg") center/contain no-repeat;
}
.vlab-page-new .vlab-intro__title {
  text-align: left;
  margin-bottom: 20px;
}
.vlab-page-new .vlab-intro__text {
  font-size: 20px;
  line-height: 1.5;
}
.vlab-page-new .vlab-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 150px;
}
.vlab-page-new .vlab-stat {
  padding-inline: 25px;
  text-align: center;
}
.vlab-page-new .vlab-stat__value {
  color: #3cc6ca;
  font:
    400 70px/1 "Pharma",
    sans-serif;
  margin-bottom: 5px;
}
.vlab-page-new .vlab-stat__label {
  font-size: 19px;
  line-height: 1.5;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}
.vlab-page-new .vlab-discovery {
  padding-block: 75px 70px;
}
.vlab-page-new .vlab-discovery__intro {
  margin: 20px auto 90px;
  max-width: 920px;
  font-size: 20px;
  line-height: 1.55;
  text-align: center;
}
.vlab-page-new .vlab-discovery__cards {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.vlab-page-new .vlab-discovery__cards::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -480px;
  left: 50%;
  width: min(1600px, 96vw);
  height: calc(100% + 280px);
  background-image: url("../images/discovery_hatter.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto;
  transform: translateX(-50%);
  pointer-events: none;
}
.vlab-page-new .vlab-discovery__cards::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 130px;
  left: 50%;
  width: min(1600px, 96vw);
  height: calc(100% + 280px);
  background-image: url("../images/discovery_hatter.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto;
  transform: translateX(-50%);
  pointer-events: none;
}

.vlab-page-new .vlab-discovery__group {
  position: relative;
  padding: 50px 0 60px;
  border-radius: 0;
  background: rgba(15, 10, 38, 0.3);
  backdrop-filter: blur(10px);
}

.vlab-page-new .vlab-discovery__group-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.vlab-page-new .vlab-discovery {
  position: relative;
  overflow: visible;
}

.vlab-page-new .vlab-discovery > .container-vlab {
  position: relative;
  z-index: 1;
}

.vlab-page-new .vlab-card {
  min-height: 277px;
  padding: 0 45px;
  text-align: left;
  overflow-wrap: anywhere;
}

.vlab-page-new .vlab-card + .vlab-card {
  border-left: 1px solid #183046;
}

.vlab-page-new .vlab-card__title {
  margin: 0 0 25px;
  color: #9e5ba6;
  font-family: "Pharma", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}

.vlab-page-new .vlab-card__question {
  color: #fff;
  font-style: italic;
  max-width: 280px;
}
.vlab-page-new .vlab-discovery__labels {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 60px 30px 20px;
}

.vlab-page-new .vlab-discovery__label {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 32px;
  padding: 5px 14px;
  border-radius: 0;
  background: #9e5ba6;
  color: #0f0a26;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.vlab-page-new .vlab-discovery__actions {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  width: 100%;
  margin: 40px 0 0;
  padding: 0;
  box-sizing: border-box;
}

.vlab-page-new .vlab-discovery__contact-button {
  height: 80px;
  padding: 0 24px;
  border-radius: 6px;
  font: inherit;
}

/* PDF link — a plain underlined text link with an icon, not a button. */
.vlab-page-new .vlab-discovery__pdf-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 360px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  line-height: 1.4;
  font-weight: 500;
}
.vlab-page-new .vlab-discovery__pdf-button span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vlab-page-new .vlab-discovery__pdf-button:hover {
  opacity: 0.8;
}

.vlab-page-new .vlab-discovery__pdf-icon {
  display: block;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
}

.vlab-page-new .vlab-discovery__contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 152px;
  font-weight: 500;
  border: 0;
  color: #0f0a26;
  background: #9e5ba6;
  cursor: pointer;
}
.vlab-page-new .vlab-discovery__contact-button:hover {
  background-color: #7d4784;
}
.vlab-page-new .vlab-discovery__close-icon {
  display: block;
  width: 21px;
  height: 21px;
}
.vlab-page-new .vlab-discovery__close-icon[hidden] {
  display: none !important;
}

.vlab-page-new .vlab-discovery__contact-panel {
  position: relative;
  z-index: 2;
  left: 50%;
  width: 100vw;
  height: 0;
  margin-top: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  background: #f7f7f7;
  transform: translateX(-50%);
  transition:
    height 1s ease,
    opacity 0.3s ease;
}

.vlab-page-new .vlab-discovery__contact-panel.is-open {
  visibility: visible;
  opacity: 1;
  margin-top: 30px;
}

.vlab-page-new .vlab-discovery__contact-inner {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 60px 15px;
  box-sizing: border-box;
}

.vlab-page-new .vlab-card__question p {
  margin: 0 0 20px;
  line-height: 1.6;
}

.vlab-page-new .vlab-card__question p:last-child {
  margin-bottom: 0;
}

.vlab-page-new .vlab-how {
  padding-block: 60px 110px;
  overflow: hidden;
}

.vlab-page-new .vlab-how {
  padding-block: 60px 110px;
  overflow: visible;
}

.vlab-page-new .vlab-how__figure {
  position: relative;
  margin-top: 45px;
  overflow: visible;
}

.vlab-page-new .vlab-how__illustration {
  display: block;
  width: 100%;
  height: auto;
}

.vlab-page-new .vlab-how__tooltip-item {
  position: absolute;
  z-index: 4;
  left: var(--hotspot-x);
  top: var(--hotspot-y);
}

.vlab-page-new .vlab-how__hotspot {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;

  width: 38px;
  height: 38px;
  padding: 0;

  border: 0;
  border-radius: 50%;
  background: transparent;

  transform: translate(-50%, -50%);
  cursor: help;
}

.vlab-page-new .vlab-how__hotspot:focus-visible {
  outline: 2px solid #33c7cc;
  outline-offset: 3px;
}

.vlab-page-new .vlab-how__tooltip {
  position: absolute;
  z-index: 5;
  left: 26px;
  right: auto;
  top: 0;

  width: var(--tooltip-width);
  max-width: calc(100vw - 30px);
  padding: 30px;
  box-sizing: border-box;

  color: #f7f5ff;
  background: rgba(27, 24, 53, 0.97);
  border: 1px solid #f7f5ff;
  border-radius: 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;

  pointer-events: none;
}
/* Ha jobbra nem fér el, a JS hozzáadja ezt az osztályt. */
.vlab-page-new .vlab-how__tooltip-item.opens-left .vlab-how__tooltip {
  left: auto;
  right: 26px;
}

.vlab-page-new .vlab-how__tooltip-item.is-open .vlab-how__tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.vlab-page-new .vlab-how__tooltip p {
  margin: 0 0 10px;
  font-size: 15px;
}

.vlab-page-new .vlab-how__tooltip p:last-child {
  margin-bottom: 0;
}

.vlab-page-new .vlab-how__tooltip ul {
  margin: 0;
  padding-left: 20px;
}

.vlab-page-new .vlab-how__tooltip li + li {
  margin-top: 4px;
}

.vlab-page-new .vlab-how__tooltip-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  max-width: 100%;
  margin-top: 16px;
  padding: 0 28px;
  border-radius: 10px;
  background: #9e5ba6;
  color: #0f0a26;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.vlab-page-new .vlab-how__tooltip-button:hover,
.vlab-page-new .vlab-how__tooltip-button:focus-visible {
  background: #7d4784;
  color: #0f0a26;
}

.vlab-page-new .vlab-how__hotspot {
  /*background: rgba(255, 0, 0, 0.35);*/
}

.vlab-page-new
  :is(
    .vlab-how__dot,
    .vlab-how__stage,
    .vlab-intro__play,
    .hero__button
  ):focus-visible {
  outline: 2px solid var(--vlab-accent);
  outline-offset: 4px;
}

.vlab-page-new .vlab-intro__hosted-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.vlab-page-new .vlab-intro__hosted-play[hidden] {
  display: none;
}

.vlab-page-new .vlab-intro__play-icon {
  pointer-events: none;
}

.vlab-page-new .vlab-intro__hosted-play:focus-visible {
  outline: 2px solid #33c7cc;
  outline-offset: -4px;
}

.vlab-page-new .vlab-how-mobile {
  display: none;
}

html.vlab-loop-modal-open-new,
html.vlab-loop-modal-open-new body {
  overflow: hidden;
}

.vlab-page-new .vlab-loop-modal[hidden] {
  display: none;
}

.vlab-page-new .vlab-loop-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;

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

  padding: 40px 20px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.28s ease,
    visibility 0s linear 0.28s;
}

.vlab-page-new .vlab-loop-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.vlab-page-new .vlab-loop-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 38, 0.93);
}

.vlab-page-new .vlab-loop-modal__dialog {
  position: relative;
  z-index: 1;

  width: min(1600px, 100%);
  height: calc(100vh - 80px);
  height: calc(100dvh - 80px);

  overflow: hidden;
  border-radius: 0;
  background: #191833;
  outline: none;
}

.vlab-page-new .vlab-loop-modal__viewport {
  display: grid;
  place-items: center;

  width: 100%;
  height: 100%;

  overflow: hidden;
  touch-action: none;
  cursor: grab;
}

.vlab-page-new .vlab-loop-modal__viewport:active {
  cursor: grabbing;
}

.vlab-page-new .vlab-loop-modal__image {
  display: block;

  width: auto;
  height: auto;
  max-width: calc(100% - 40px);
  max-height: calc(100% - 40px);

  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  transform-origin: 50% 50%;
}

/* Ugyanaz az X, mint a Company modalban. */
.vlab-page-new .vlab-loop-modal__close {
  position: absolute;
  top: 27px;
  right: 28px;
  z-index: 3;

  width: 32px;
  height: 32px;
  padding: 0;

  border: 0;
  background: transparent;
  cursor: pointer;
}

.vlab-page-new .vlab-loop-modal__close::before,
.vlab-page-new .vlab-loop-modal__close::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 2px;

  width: 30px;
  height: 2px;

  background: #31bec5;
}

.vlab-page-new .vlab-loop-modal__close::before {
  transform: rotate(45deg);
}

.vlab-page-new .vlab-loop-modal__close::after {
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------
   How it works (NEW) — centered, peeking Swiper slider
-------------------------------------------------------------- */
.vlab-page-new .vlab-how-new {
  --how-media-h: clamp(240px, 26vw, 380px);
  padding-block: 90px 110px;
  overflow-x: clip; /* the wide slider peeks are clipped here, never scroll the page */
}

.vlab-page-new .vlab-how-new .vlab-heading {
  color: #3cc6ca;
  margin-bottom: 55px;
}

.vlab-page-new .vlab-how-new__slider {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.vlab-page-new .vlab-how-new__swiper {
  overflow: hidden;
}

.vlab-page-new .vlab-how-new__slide {
  /* Width is set by Swiper (numeric slidesPerView); ~450px on the 980px track. */
  box-sizing: border-box;
  text-align: center;
}

.vlab-page-new .vlab-how-new__media {
  width: 100%;
  height: var(--how-media-h);
  overflow: hidden;
  transition:
    opacity 0.4s ease,
    filter 0.4s ease;
}

.vlab-page-new .vlab-how-new__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Non-active slides: dimmed + blurred peek. */
.vlab-page-new
  .vlab-how-new__slide:not(.swiper-slide-active)
  .vlab-how-new__media {
  opacity: 0.7;
  filter: blur(4px);
}

/* Active slide lifted above the side slides that tuck under it. */
.vlab-page-new .vlab-how-new__slide.swiper-slide-active .vlab-how-new__media {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Caption only on the active slide. */
.vlab-page-new .vlab-how-new__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.vlab-page-new .vlab-how-new__slide.swiper-slide-active .vlab-how-new__caption {
  opacity: 1;
}

.vlab-page-new .vlab-how-new__head {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 14px;
}

.vlab-page-new .vlab-how-new__counter {
  font:
    400 30px/1 "Pharma",
    sans-serif;
}

.vlab-page-new .vlab-how-new__counter-current {
  color: #3cc6ca;
}

.vlab-page-new .vlab-how-new__counter-sep,
.vlab-page-new .vlab-how-new__counter-total {
  /* muted companion of the #3CC6CA current number (same hue, dimmed) */
  color: rgba(60, 198, 202, 0.5);
}

.vlab-page-new .vlab-how-new__title {
  margin: 0;
  font:
    400 32px/1 "Pharma",
    sans-serif;
  color: #fff;
  text-transform: uppercase;
}

.vlab-page-new .vlab-how-new__text {
  width: min(
    700px,
    85vw
  ); /* 700 on desktop; shrinks on narrow screens so text isn't cut */
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: #fff;
}

/* Arrows — coral chevrons centered on the image. */
.vlab-page-new .vlab-how-new__arrow {
  position: absolute;
  top: calc(var(--how-media-h) / 2);
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 61px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.vlab-page-new .vlab-how-new__arrow::before {
  content: "";
  display: block;
  width: 23px;
  height: 61px;
  /* recolour the chevron to teal via a mask (the source SVG's colour is baked
     into a raster, so background-image can't be tinted) */
  background-color: #3cc6ca;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: transform 0.2s ease;
}

.vlab-page-new .vlab-how-new__arrow--prev {
  left: -80px;
}

.vlab-page-new .vlab-how-new__arrow--prev::before {
  -webkit-mask-image: url("../images/vlab-how-arrow-prev.svg");
  mask-image: url("../images/vlab-how-arrow-prev.svg");
}

.vlab-page-new .vlab-how-new__arrow--next {
  right: -80px;
}

.vlab-page-new .vlab-how-new__arrow--next::before {
  -webkit-mask-image: url("../images/vlab-how-arrow-next.svg");
  mask-image: url("../images/vlab-how-arrow-next.svg");
}

.vlab-page-new .vlab-how-new__arrow:hover::before {
  transform: scale(1.1);
}

.vlab-page-new .vlab-how-new__arrow.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
}

.vlab-page-new .vlab-how-new__arrow:focus {
  outline: none;
}

.vlab-page-new .vlab-how-new__arrow:focus-visible {
  outline: 2px solid rgba(60, 198, 202, 0.6);
  outline-offset: 4px;
}
