/* Turbine 2026 — Virtual Lab (NEW) responsive. Clone of virtual-lab-responsive.css,
   scoped under .vlab-page-new. Loaded only on front-virtual-lab-new.php. */

/* Virtual Lab only. Desktop styles and shared components are not modified. */
@media (max-width: 1399px) {
  .vlab-page-new .hero__text {
    font-size: 18px;
  }
  .vlab-page-new .vlab-intro__text {
    font-size: 18px;
  }
  .vlab-page-new .vlab-stat__value {
    font:
      400 60px/1 "Pharma",
      sans-serif;
  }
  .vlab-page-new .vlab-stat__label {
    font-size: 18px;
  }
  .vlab-page-new .vlab-discovery__intro {
    font-size: 18px;
  }

  .vlab-page-new .vlab-card__title {
    font-size: 26px;
  }
}
@media (max-width: 1279px) {
  .vlab-page-new .vlab-intro__grid {
    gap: 55px;
  }
  .vlab-page-new .vlab-card {
    padding-inline: 24px;
  }
}
@media (max-width: 991px) {
  .vlab-page-new .vlab-content {
    margin-inline: 0;
  }
  .vlab-page-new .vlab-heading {
    font-size: 38px;
  }
  .vlab-page-new .hero {
    height: 620px;
  }
  .vlab-page-new .hero__media,
  .vlab-page-new .hero__background,
  .vlab-page-new .hero__video {
    height: 100%;
  }
  .vlab-page-new .hero__content {
    width: 490px;
    max-width: 70%;
    margin-right: 0;
    padding: 32px;
  }
  .vlab-page-new .hero__title {
    font-size: 40px;
  }
  .vlab-page-new .hero__text {
    font-size: 18px;
  }
  .vlab-page-new .hero__button {
    height: 50px;
    font-size: 16px;
  }
  .vlab-page-new .vlab-intro {
    padding-block: 85px 45px;
  }
  .vlab-page-new .vlab-intro__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 32px;
  }
  .vlab-page-new .vlab-intro__text {
    font-size: 17px;
  }
  .vlab-page-new .vlab-intro__play-icon {
    width: 90px;
  }
  .vlab-page-new .vlab-stats {
    margin-top: 90px;
  }
  .vlab-page-new .vlab-stat {
    padding-inline: 12px;
  }
  .vlab-page-new .vlab-stat__value {
    margin-bottom: 18px;
    font-size: 48px;
  }
  .vlab-page-new .vlab-stat__label {
    font-size: 15px;
  }
  .vlab-page-new .vlab-discovery {
    padding-block: 65px 45px;
  }
  .vlab-page-new .vlab-discovery__intro {
    max-width: 660px;
    margin: 22px auto 55px;
    font-size: 17px;
  }
  .vlab-page-new .vlab-discovery__cards {
    gap: 30px;
  }
  .vlab-page-new .vlab-discovery__group {
    padding-block: 35px 40px;
  }
  .vlab-page-new .vlab-card {
    min-height: 0;
    padding-inline: 15px;
  }
  .vlab-page-new .vlab-card__title {
    font-size: 24px;
  }
  .vlab-page-new .vlab-discovery__actions {
    margin-top: 35px;
  }
  .vlab-page-new .vlab-discovery__pdf-button,
  .vlab-page-new .vlab-discovery__contact-button {
    min-height: 60px;
    height: auto;
    padding: 12px 18px;
  }
  .vlab-page-new .vlab-how {
    padding-block: 60px 80px;
  }
}
@media (max-width: 767px) {
  /* Hero: copy overlaid on the media (like the home hero), not stacked below it. */
  .vlab-page-new .hero {
    display: block;
    height: auto;
    min-height: 520px;
    padding: 0;
    overflow: hidden;
  }
  .vlab-page-new .hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .vlab-page-new .hero__background,
  .vlab-page-new .hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .vlab-page-new .hero__interactive {
    top: 70px;
    right: auto;
    left: 0;
    width: 100%;
    max-width: none;
    height: auto;
  }
  .vlab-page-new .hero > .container {
    height: auto;
    padding-inline: 15px;
  }
  .vlab-page-new .hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    margin: 123px 0 45px;
    padding: 28px 22px 32px;
    background: rgba(15, 10, 38, 0.5);
    border-radius: 0;
    backdrop-filter: blur(5px);
    text-align: left;
  }
  .vlab-page-new .hero__title {
    margin-bottom: 13px;
    font-size: 30px;
    line-height: 1.15;
  }
  .vlab-page-new .hero__text {
    max-width: 500px;
    margin-inline: 0;
    font-size: 16px;
  }
  .vlab-page-new .hero__button {
    min-width: 0;
    height: 46px;
    margin-top: 26px;
    padding-inline: 30px;
    font-size: 14px;
  }
  /* Intro: text first, then tall video and vertically stacked numbers. */
  .vlab-page-new .vlab-heading {
    font-size: 30px;
    line-height: 1.15;
  }
  .vlab-page-new .vlab-intro {
    padding-block: 40px 35px;
  }
  .vlab-page-new .vlab-intro__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .vlab-page-new .vlab-intro__copy {
    order: -1;
    text-align: center;
  }
  .vlab-page-new .vlab-intro__title {
    margin-bottom: 15px;
    text-align: center;
  }
  .vlab-page-new .vlab-intro__text {
    max-width: 470px;
    margin-inline: auto;
    font-size: 16px;
    line-height: 1.6;
  }
  .vlab-page-new .vlab-intro__media {
    width: 100%;
    aspect-ratio: 4 / 4;
    overflow: hidden;
  }
  .vlab-page-new .vlab-intro__poster,
  .vlab-page-new .vlab-intro__video,
  .vlab-page-new .vlab-intro__media iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .vlab-page-new .vlab-intro__play-icon {
    width: 76px;
  }
  .vlab-page-new .vlab-stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
    margin-top: 60px;
  }
  .vlab-page-new .vlab-stat {
    padding-inline: 0;
  }
  .vlab-page-new .vlab-stat + .vlab-stat {
    border-left: 0;
  }
  .vlab-page-new .vlab-stat__value {
    margin-bottom: 20px;
    font-size: 50px;
  }
  .vlab-page-new .vlab-stat__label {
    max-width: 300px;
    margin-inline: auto;
    font-size: 20px;
    font-weight: 700;
  }
  /* Discovery: both groups become three vertically stacked cards. */
  .vlab-page-new .vlab-discovery {
    padding-block: 50px 45px;
  }
  .vlab-page-new .vlab-discovery__intro {
    max-width: 470px;
    margin: 20px auto 55px;
    font-size: 16px;
  }
  .vlab-page-new .vlab-discovery__cards {
    gap: 20px;
  }
  .vlab-page-new .vlab-discovery__cards::before {
    top: -170px;
    width: 100%;
    height: calc(100% + 440px);
    background-image: url("../images/discovery_hatter_mobil.svg");
    background-size: 100% auto;
    background-position: center top;
    background-repeat: repeat-y;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      #000 10%,
      #000 90%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      #000 10%,
      #000 90%,
      transparent 100%
    );
    pointer-events: none;
  }
  .vlab-page-new .vlab-discovery__cards::after {
    content: none;
  }
  .vlab-page-new .vlab-discovery__group {
    padding: 0 0 26px;
    border-radius: 0;
    background: rgba(26, 20, 43, 0.86);
  }
  .vlab-page-new .vlab-discovery__group-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .vlab-page-new .vlab-card {
    min-height: 0;
    padding: 38px 22px 34px;
  }
  .vlab-page-new .vlab-card + .vlab-card {
    border-left: 0;
    position: relative;
  }
  .vlab-page-new .vlab-card + .vlab-card::before {
    content: "";
    height: 1px;
    width: 85px;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    background-color: rgba(79, 48, 83, 1);
    position: absolute;
  }
  .vlab-page-new .vlab-card__title {
    margin-bottom: 19px;
    font-size: 30px;
    line-height: 1.12;
  }
  .vlab-page-new .vlab-card__question {
    max-width: 320px;
    margin-inline: auto;
  }
  .vlab-page-new .vlab-card__question p {
    margin-bottom: 15px;
  }
  .vlab-page-new .vlab-discovery__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    margin: 12px 0 0;
    padding-inline: 20px;
  }
  .vlab-page-new .vlab-discovery__pdf-button,
  .vlab-page-new .vlab-discovery__contact-button {
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 80px;
    height: auto;
    padding: 8px 15px;
    font-size: 14px;
    text-align: left;
    line-height: 1.5;
    white-space: normal;
  }
  .vlab-page-new .vlab-discovery__pdf-button {
    gap: 14px;
  }
  .vlab-page-new .vlab-discovery__pdf-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }
  .vlab-page-new .vlab-discovery__contact-panel.is-open {
    margin-top: 18px;
  }
  .vlab-page-new .vlab-discovery__contact-inner {
    max-width: 100%;
    padding: 40px 15px;
  }
  /* How it works: keep the existing interactive illustration and hotspots.
     Its four separate mobile-stage images are not present in this theme. */
  .vlab-page-new .vlab-how {
    padding-block: 55px 75px;
    overflow: visible;
  }
  .vlab-page-new .vlab-how__figure {
    width: 100%;
    margin-top: 34px;
    padding: 12px;
    border-radius: 0;
    background: #1b1933;
  }
  .vlab-page-new .vlab-how__illustration {
    width: 100%;
    height: auto;
  }
  .vlab-page-new .vlab-how__hotspot {
    width: 44px;
    height: 44px;
  }
  .vlab-page-new .vlab-how__tooltip-item .vlab-how__tooltip,
  .vlab-page-new .vlab-how__tooltip-item.opens-left .vlab-how__tooltip {
    position: fixed;
    z-index: 1001;
    top: 50%;
    right: auto;
    left: 50%;
    width: 300px;
    max-width: calc(100vw - 30px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    padding: 20px;
    transform: translate(-50%, -50%);
  }
  .vlab-page-new .vlab-how__tooltip p {
    font-size: 15px;
  }
  /* Testimonial (NEW) responsive rules are appended at the end of this file,
     copied verbatim from home-responsive-new.css to match the home page. */
  .vlab-page-new .vlab-how__figure {
    display: none;
  }
  .vlab-page-new .vlab-how {
    padding-block: 55px 70px;
    overflow: visible;
  }
  .vlab-page-new .vlab-how__figure {
    display: none;
  }
  .vlab-page-new .vlab-how-mobile {
    display: block;
    margin-top: 40px;
    position: relative;
    z-index: 2;
  }
  .vlab-page-new .vlab-how-mobile__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .vlab-page-new .vlab-how-mobile__card {
    overflow: hidden;
    padding: 20px 20px 40px;
    border-radius: 0;
    background: #191833;
  }
  .vlab-page-new .vlab-how-mobile__image {
    width: 100%;
  }
  .vlab-page-new .vlab-how-mobile__image img {
    display: block;
    width: auto;
    height: auto;
    margin: 0 auto;
  }
  .vlab-page-new .vlab-how-mobile__content {
    padding: 30px 0 0 0;
    text-align: center;
  }
  .vlab-page-new .vlab-how-mobile__heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  .vlab-page-new .vlab-how-mobile__title {
    margin: 0;
    color: #f7f5ff;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
  }
  .vlab-page-new .vlab-how-mobile__toggle {
    display: inline-flex;
    flex: 0 0 30px;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #596579;
    cursor: pointer;
  }
  .vlab-page-new .vlab-how-mobile__chevron {
    width: 9px;
    height: 9px;
    border-right: 1.5px solid #f7f5ff;
    border-bottom: 1.5px solid #f7f5ff;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.25s ease;
  }
  .vlab-page-new
    .vlab-how-mobile__toggle[aria-expanded="true"]
    .vlab-how-mobile__chevron {
    transform: translateY(2px) rotate(225deg);
  }
  .vlab-page-new .vlab-how-mobile__intro {
    margin-top: 15px;
    text-align: left;
    line-height: 1.5;
  }
  .vlab-page-new .vlab-how-mobile__intro p,
  .vlab-page-new .vlab-how-mobile__extended p {
    margin: 0 0 12px;
  }
  .vlab-page-new .vlab-how-mobile__intro p:last-child,
  .vlab-page-new .vlab-how-mobile__extended p:last-child {
    margin-bottom: 0;
  }
  .vlab-page-new .vlab-how-mobile__extended {
    margin-top: 18px;
    text-align: left;
    line-height: 1.5;
  }
  .vlab-page-new .vlab-how-mobile__extended ul {
    padding: 0 0 0 15px;
  }
  .vlab-page-new .vlab-how-mobile__extended[hidden] {
    display: none;
  }
  .vlab-page-new .vlab-how-mobile__footer {
    display: flex;
    justify-content: center;
    margin-top: 38px;
  }
  .vlab-page-new .vlab-how-mobile__full-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    padding-inline: 32px;
    border-radius: 10px;
    background: #33c7cc;
    color: #0f0a26;
    font-weight: 500;
    text-decoration: none;
    border: none;
  }
  .vlab-page-new .vlab-how-mobile__toggle:focus-visible,
  .vlab-page-new .vlab-how-mobile__full-link:focus-visible {
    outline: 2px solid #f7f5ff;
    outline-offset: 3px;
  }
  .vlab-page-new .vlab-loop-modal {
    padding: 12px;
  }
  .vlab-page-new .vlab-loop-modal__dialog {
    width: 100%;
    height: calc(100vh - 24px);
    height: calc(100dvh - 24px);
  }
  .vlab-page-new .vlab-loop-modal__close {
    top: 18px;
    right: 18px;
  }
  .vlab-page-new .vlab-discovery__labels {
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 15px 40px;
  }
  .vlab-page-new .vlab-discovery__label {
    font-size: 14px;
    padding-inline: 12px;
  }
  .vlab-page-new .vlab-how-mobile__item-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 48px;
    margin-top: 20px;
    padding: 0 20px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #9e5ba6;
    color: #0f0a26;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
  }
  .vlab-page-new .vlab-how-mobile__item-button:hover,
  .vlab-page-new .vlab-how-mobile__item-button:focus-visible {
    background: #7d4784;
    color: #0f0a26;
  }
  .vlab-page-new .vlab-how-mobile__item-button:focus-visible {
    outline: 2px solid #f7f5ff;
    outline-offset: 3px;
  }
}

/* --------------------------------------------------------------
   Buttons — match the home global button look (.btn-new): teal,
   uppercase, compact, 6px radius, white text on hover. Placed at the
   end (loads last) so it overrides the base and mobile button rules above.
-------------------------------------------------------------- */
.vlab-page-new .hero__button,
.vlab-page-new .vlab-discovery__contact-button,
.vlab-page-new .vlab-how__tooltip-button,
.vlab-page-new .vlab-how-mobile__item-button,
.vlab-page-new .vlab-how-mobile__full-link {
  height: auto;
  min-height: 0;
  min-width: 0;
  padding: 11px 15px;
  font-family: "Poppins", sans-serif;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  color: #0f0b25;
  background: #33c6cc;
  border: 0;
  border-radius: 6px;
}

.vlab-page-new .hero__button:hover,
.vlab-page-new .vlab-discovery__contact-button:hover,
.vlab-page-new .vlab-how__tooltip-button:hover,
.vlab-page-new .vlab-how__tooltip-button:focus-visible,
.vlab-page-new .vlab-how-mobile__item-button:hover,
.vlab-page-new .vlab-how-mobile__full-link:hover {
  background: #33c6cc;
  color: #ffffff;
}

/* Book-a-call buttons use the purple accent (#9E5BA6) instead of the teal
   global button; they keep the shape/typography from the rule above. */
.vlab-page-new .vlab-discovery__contact-button {
  background: #9e5ba6;
  color: #0f0b25;
}
.vlab-page-new .vlab-discovery__contact-button:hover {
  background: #7d4784;
  color: #ffffff;
}

/* PDF download button keeps its distinct icon/style but matches the 6px radius. */
.vlab-page-new .vlab-discovery__pdf-button {
  border-radius: 6px;
}

/* How it works (NEW) slider — responsive tweaks */
@media (max-width: 1199px) {
  .vlab-page-new .vlab-how-new__arrow--prev {
    left: -5px;
  }
  .vlab-page-new .vlab-how-new__arrow--next {
    right: -5px;
  }
}

@media (max-width: 767px) {
  .vlab-page-new .vlab-how-new__counter {
    font-size: 22px;
  }
  .vlab-page-new .vlab-how-new__title {
    font-size: 24px;
  }
  .vlab-page-new .vlab-how-new__text {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------
   Testimonial carousel (NEW) — responsive, copied verbatim from
   home-responsive-new.css (same media queries + order) so the section
   renders identically to the home page on tablet and mobile.
-------------------------------------------------------------- */
@media (max-width: 1399px) {
  .testimonial-carousel-new__quote {
    font-size: 26px;
  }
}

@media (max-width: 767px) {
  .testimonial-carousel-new__quote {
    font-size: 24px;
  }
}

@media (max-width: 991px) {
  .testimonial-carousel-new {
    padding-block: 65px 95px;
  }
  .testimonial-carousel-new__quote {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .testimonial-carousel-new {
    padding-block: 45px 65px;
    margin-bottom: 40px;
  }
  .testimonial-carousel-new__slide {
    padding-inline: 5px;
  }
  .testimonial-carousel-new__author {
    font-size: 18px;
  }
  .testimonial-carousel-new__role {
    font-size: 14px;
  }
  .testimonial-carousel-new__pagination.swiper-pagination {
    margin-top: 32px;
  }
}
