/* Virtual Lab only. Shared home/header/footer styles are deliberately untouched. */
.vlab-page {
  --vlab-accent: #33c7cc;
}
.vlab-page .vlab-content {
  margin-inline: calc(16.6666667% - 15px);
}
.vlab-page .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 .vlab-heading.lila {

  color: #9E5BA6;
}
.vlab-page .hero {
 display: flex;
    align-items: center;

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

.vlab-page .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 .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 .vlab-discovery__group {
  position: relative;
  padding: 50px 0 60px;
  border-radius: 10px;
  background: rgba(15, 10, 38, 0.3);
    backdrop-filter:blur(10px);
    border: 1px solid #9E5BA6;
}

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

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

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

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

.vlab-page .vlab-card + .vlab-card {
  border-left: 1px solid rgba(79, 48, 83, 1);
}

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

.vlab-page .vlab-card__question {
  margin: 0 auto;
  color: #9E5BA6;
  font-style: italic;
    max-width: 280px
}
.vlab-page .vlab-discovery__actions {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin: 60px 0 0;
  padding: 0;
  box-sizing: border-box;
}

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

.vlab-page .vlab-discovery__pdf-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #9E5BA6;
  color: #f7f5ff;
  background: #0F0A26;
  line-height: 1.6;
  text-decoration: none;
  font-weight: 500;
    max-width: 400px
}
.vlab-page .vlab-discovery__pdf-button:hover {
    background: #7D4784;
    color: #0F0A26;
}

.vlab-page .vlab-discovery__pdf-icon {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}
.vlab-page .vlab-discovery__pdf-button:hover .vlab-discovery__pdf-icon {
    filter: brightness(0);
    opacity: 0.6
}

.vlab-page .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 .vlab-discovery__contact-button:hover {
    background-color: #7D4784;

}
.vlab-page .vlab-discovery__close-icon {
  display: block;
  width: 21px;
  height: 21px;
}
.vlab-page .vlab-discovery__close-icon[hidden] {
    display: none !important;
}

.vlab-page .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 .vlab-discovery__contact-panel.is-open {
    visibility: visible;
    opacity: 1;
    margin-top: 30px
}

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



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

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



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

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

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

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

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

.vlab-page .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 .vlab-how__hotspot:focus-visible {
  outline: 2px solid #33c7cc;
  outline-offset: 3px;
}

.vlab-page .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: 10px;

  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 .vlab-how__tooltip-item.opens-left .vlab-how__tooltip {
  left: auto;
  right: 26px;
}

.vlab-page .vlab-how__hotspot:hover + .vlab-how__tooltip,
.vlab-page .vlab-how__hotspot:focus-visible + .vlab-how__tooltip,
.vlab-page .vlab-how__tooltip-item.is-open .vlab-how__tooltip {
  opacity: 1;
  visibility: visible;
}



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

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

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

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

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


.vlab-page :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 .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 .vlab-intro__hosted-play[hidden] {
    display: none;
}

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

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

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