/* Turbine 2026 — Lab in the Loop (NEW). Clone of lab-in-loop.css, scoped under
   .litl-page-new (renamed from .litl-page; previously-global rules are scoped too).
   Loaded only on front-wet-lab-new.php, so editing it never affects the live page. */

/* Lab in the Loop — desktop only. Body copy inherits style.css. */

.litl-page-new {
  --litl-accent: #33c7cc;
  --litl-background: #0f0a26;
}

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

.litl-page-new .litl-content {
  margin-inline: 0;
}

.litl-page-new .litl-heading {
  margin: 0;
  font-family: "Pharma", sans-serif;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.05;
  color: #3cc6ca;
  text-align: center;
  text-transform: uppercase;
}

.litl-page-new .litl-button,
.litl-page-new .hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 35px;
  border: 0;
  border-radius: 10px;
  background: var(--litl-accent);
  color: var(--litl-background);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.litl-page-new .litl-button:hover,
.litl-page-new .hero__button:hover {
  background-color: #279093;
}

/* Hero: existing shared hero fields and markup. */

.litl-page-new .hero {
  display: flex;
  align-items: center;

  height: 700px;
  padding-top: 35px;
}

.litl-page-new .hero__media,
.litl-page-new .hero__background,
.litl-page-new .hero__video {
  height: 100%;
}

.litl-page-new .hero > .container {
  height: auto;
}

.litl-page-new .hero__content {
  width: 580px;
  margin-left: auto;
  margin-right: 0;
  padding: 45px 40px 55px;
  border-radius: 0;
  background: rgba(15, 10, 38, 0.5);
  backdrop-filter: blur(10px);
}

.litl-page-new .hero__title {
  margin: 0 0 25px;
  font-family: "Pharma", sans-serif;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
}

.litl-page-new .hero__text {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
}

.litl-page-new .hero__button {
  height: 60px;
  margin-top: 30px;
  font-size: 20px;
}

/* Opening statement.
   This section follows the 1280 px desktop content grid from the design. */

.litl-page-new .litl-intro {
  padding: 150px 0 55px 0;
}

.litl-page-new .litl-intro .litl-content {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
}

/* This section only: widen the shared 980px container to 1070px so the
   two-column copy gets a bit more room (overrides .container-litl above). */
.litl-page-new .litl-intro .container-litl {
  max-width: 1070px;
}

.litl-page-new .litl-intro__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 35px;
  width: 100%;
}

.litl-page-new .litl-intro__statement {
  justify-self: start;
  width: 530px;
  max-width: 100%;
  margin: 0;
  font-size: 23px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.45;
  color: var(--litl-accent);
  text-align: left;
}

.litl-page-new .litl-intro__text {
  justify-self: end;
  font-size: 19px;
  width: 100%;
  text-align: right;
  line-height: 1.6;
}

/* video blokk */

.litl-page-new .litl-film {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 95px 50px;
}

.litl-page-new .litl-film::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  max-height: 500px;
  margin: auto;
  background-image: url("../images/video_bg_minta1.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
  pointer-events: none;
}

.litl-page-new .litl-film::after {
  content: none;
}

.litl-page-new .litl-film__content {
  position: relative;
  z-index: 2;
  width: 620px;
  margin-inline: auto;
  margin-top: 70px;
}

.litl-page-new .litl-film__figure {
  position: relative;
  margin: 48px 0 0 0;
}

.litl-page-new .litl-film__surround {
  position: relative;
  isolation: isolate;
}

/*
 * Egyszínű háttér kizárólag a videó ALATT.
 * A videó fölött és mögött nincs sem gradient,
 * sem külön háttér.
 */

.litl-page-new .litl-film__surround::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -115px;
  right: -115px;
  bottom: -115px;
  z-index: -1;
  background: var(--litl-background);
  pointer-events: none;
}

.litl-page-new .litl-film__frame {
  position: relative;
  aspect-ratio: 3 / 2.2;
  overflow: hidden;
  border-radius: 0;
  background: var(--litl-background);
}

.litl-page-new .litl-film__poster,
.litl-page-new .litl-film__video,
.litl-page-new .litl-film__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.litl-page-new .litl-film__hosted-play,
.litl-page-new .litl-film__youtube-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.litl-page-new .litl-film__hosted-play[hidden] {
  display: none;
}

.litl-page-new .litl-film__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(15, 10, 38, 0.65);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.litl-page-new .litl-film__play-icon::after {
  content: "";
  position: absolute;
  inset: 28% 28% 28% 35%;
  background: url("../images/play.svg") center / contain no-repeat;
}

.litl-page-new .litl-film__caption {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  width: 100%;
  text-align: left;
  font-style: italic;
  display: flex;
  justify-content: center;
}

.litl-page-new .litl-film__caption .inner {
  max-width: 580px;
}

/* Five statistics. */

.litl-page-new .litl-statistics {
  padding-block: 90px 95px;
}

.litl-page-new .litl-statistics__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.litl-page-new .litl-stat {
  padding-inline: 30px;
  text-align: center;
}

.litl-page-new .litl-stat + .litl-stat {
  border-left: 1px solid #1c485c;
}

.litl-page-new .litl-stat__value {
  margin-bottom: 30px;
  font-family: "Pharma", sans-serif;
  font-size: 70px;
  line-height: 1;
  color: var(--litl-accent);
}

.litl-page-new .litl-stat__label {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Capabilities: image/icon fields are edited in ACF. */

.litl-page-new .litl-capabilities {
  padding-block: 80px 85px;
}

.litl-page-new .litl-capabilities__list {
  display: grid;
  gap: 22px;
  width: 840px;
  margin: 90px auto 0;
}

.litl-page-new .litl-capability {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
  padding: 40px 40px;
  border-radius: 0;
  background: #191833;
}

.litl-page-new .litl-capability__icon {
  position: relative;
}

.litl-page-new .litl-capability__icon::after {
  content: "";
  position: absolute;
  background-image: url("../images/icon_bg.png");
  width: 220px;
  height: 220px;
  display: block;
  background-repeat: no-repeat;
  top: -40px;
  left: -40px;
  background-size: cover;
  opacity: 0.7;
  z-index: 0;
}

.litl-page-new .litl-capability__icon img {
  width: 140px;
  height: auto;
  position: relative;
  z-index: 1;
}

.litl-page-new .litl-capability__category {
  margin-bottom: 28px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.litl-page-new .litl-capability__title {
  margin: 0 0 24px;
  font-family: "Pharma", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--litl-accent);
  text-transform: uppercase;
}

.litl-page-new .litl-capability__text ul {
  position: relative;
  padding: 0;
  margin: 0;
}

.litl-page-new .litl-capability__text ul li {
  color: #33c7cc;
  font-weight: 700;
  padding-left: 30px;
  position: relative;
  line-height: 1.8;
}

.litl-page-new .litl-capability__text ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  display: block;
  background-color: #f7f5ff;
  width: 18px;
  height: 4px;
  border-radius: 2px;
}

.litl-page-new .litl-capability__text ul {
  list-style: none;
  padding-top: 7px;
}

/* Whitepaper pages are saved image attachments; no PDF renderer runs on the frontend. */

.litl-page-new .litl-whitepaper {
  padding: 90px 0 90px 0;
  display: none !important;
}

.litl-page-new .litl-whitepaper__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 130px;
}

.litl-page-new .litl-whitepaper__copy {
  text-align: right;
}

.litl-page-new .litl-whitepaper__title {
  text-align: right;
}

.litl-page-new .litl-whitepaper__text {
  margin-top: 24px;
  font-size: 20px;
  max-width: 620px;
}

.litl-page-new .litl-whitepaper__button {
  margin-top: 30px;
}

.litl-page-new .litl-whitepaper__art {
  position: relative;
  isolation: isolate;
  width: 410px;
  aspect-ratio: 410 / 460;
}

.litl-page-new .litl-whitepaper__art::before {
  content: "";
  position: absolute;
  inset: -100px -145px;
  z-index: -1;
  background: url("../images/pdf_hatter.png") center / 100% auto no-repeat;
  pointer-events: none;
}

.litl-page-new .litl-whitepaper__page {
  position: absolute;
  width: 70%;
  top: 6%;
  left: 10%;
  transform: rotate(-3deg) scaleX(0.85);
  transform-origin: center center;
  z-index: 2;
}

.litl-page-new .litl-whitepaper__page--2 {
  top: 10%;
  left: 25%;
  transform: scaleX(0.85);
  transform-origin: center center;
  z-index: 1;
}

.litl-page-new .litl-whitepaper__page img {
  width: 100%;
  height: auto;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

/* Variable-width gallery: fixed image height, original image proportions. */

.litl-page-new .litl-gallery {
  padding-top: 95px;
  padding-bottom: 170px;
}

.litl-page-new .litl-gallery__intro {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 5px;
  font-size: 20px;
}

.litl-page-new .litl-gallery__partner {
  width: auto;
  height: 32px;
}

.litl-page-new .litl-gallery__partner-name {
  font-size: 26px;
}

.litl-page-new .litl-gallery__viewport {
  position: relative;
  margin-top: 60px;
}

/* =========================
   CAROUSEL TRACK
   ========================= */

.litl-page-new .litl-gallery__track {
  display: flex;
  align-items: flex-start;
  height: auto;
  min-height: 0;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.litl-page-new .litl-gallery__track::-webkit-scrollbar {
  display: none;
}

.litl-page-new .litl-gallery__track.is-dragging {
  cursor: grabbing;
}

/*
 * Infinite loop reposition közben
 * semmilyen smooth animáció ne fusson.
 */

.litl-page-new .litl-gallery__track.is-jumping {
  scroll-behavior: auto !important;
}

/* =========================
   SLIDES
   ========================= */

.litl-page-new .litl-gallery__slide {
  position: relative;
  flex: 0 0 20%;
  width: 20%;
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.litl-page-new .litl-gallery__slide img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* =========================
   OLDALSÓ GRADIENTEK
   ========================= */

.litl-page-new .litl-gallery__viewport::before,
.litl-page-new .litl-gallery__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 180px;
  z-index: 1;
  pointer-events: none;
}

.litl-page-new .litl-gallery__viewport::before {
  left: 0;
  background: linear-gradient(to right, rgba(15, 10, 38, 0.78), transparent);
}

.litl-page-new .litl-gallery__viewport::after {
  right: 0;
  background: linear-gradient(to left, rgba(15, 10, 38, 0.78), transparent);
}

/* =========================
   NYILAK
   ========================= */

.litl-page-new .litl-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;

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

  height: 80px;
  padding: 0 25px;

  border: 0;
  background: transparent;

  transform: translateY(-50%);
  cursor: pointer;
}

.litl-page-new .litl-gallery__arrow--prev {
  left: 15px;
}

.litl-page-new .litl-gallery__arrow--next {
  right: 15px;
}

.litl-page-new .litl-gallery__arrow img {
  width: 28px;
  height: 72px;
}

/* "+" expand badge on gallery slides (click a slide to open the image). */
.litl-page-new .litl-gallery__plus {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 24px;
  height: 24px;
  background: url("../images/company-plus.png") center / contain no-repeat;
  pointer-events: none;
}

/* Lightbox — full image on slide click. */
.litl-page-new .litl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(10, 7, 26, 0.92);
}

.litl-page-new .litl-lightbox.is-open {
  display: flex;
}

.litl-page-new .litl-lightbox__image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.litl-page-new .litl-lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.litl-page-new .litl-lightbox__close::before,
.litl-page-new .litl-lightbox__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 2px;
  background: #fff;
}

.litl-page-new .litl-lightbox__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.litl-page-new .litl-lightbox__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

body.litl-lightbox-open {
  overflow: hidden;
}

.litl-page-new .litl-gallery__arrow[hidden] {
  display: none;
}

/* =========================
   ACCESSIBILITY
   ========================= */

.litl-page-new
  :is(a, .litl-page-new button, .litl-page-new [tabindex="0"]):focus-visible {
  outline: 2px solid var(--litl-accent);
  outline-offset: 4px;
}
