/* Lab in the Loop — desktop only. Body copy inherits style.css. */
.litl-page {
    --litl-accent: #33c7cc;
    --litl-background: #0f0a26;
}
.litl-page .litl-content {
    margin-inline: calc(16.6666667% - 15px);
}
.litl-page .litl-heading {
    margin: 0;
    font-family: "Pharma", sans-serif;
    font-size: 50px;
    font-weight: 400;
    line-height: 1.05;
    color: var(--litl-accent);
    text-align: center;
    text-transform: uppercase;
}
.litl-page .litl-button,
.litl-page .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 .litl-button:hover,
.litl-page .hero__button:hover {
    background-color: #279093;
   
}

/* Hero: existing shared hero fields and markup. */
.litl-page .hero {
display: flex;
    align-items: center;

    height: 700px;
    padding-top: 35px
}
.litl-page .hero__media,
.litl-page .hero__background,
.litl-page .hero__video {
    height: 100%;
}
.litl-page .hero > .container {
    height: auto;
}
.litl-page .hero__content {
    width: 560px;
    margin-left: auto;
    margin-right: calc(16.6666667% - 15px);
    padding: 45px 40px 55px;
    border-radius: 10px;
    background: rgba(15, 10, 38, .7);
      backdrop-filter: blur(10px);
}
.litl-page .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 .hero__text {
    margin: 0;
    font-size: 20px;
    line-height: 1.5
}
.litl-page .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 .litl-intro {
    padding: 150px 0 55px 0;
 
}
.litl-page .litl-intro .litl-content {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
}
.litl-page .litl-intro__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 75px;
    width: 100%;
}
.litl-page .litl-intro__statement {
    justify-self: start;
    width: 530px;
    max-width: 100%;
    margin: 0;
    font-size: 30px;
    font-style: italic;
    line-height: 1.45;
    color: var(--litl-accent);
    text-align: left;
}
.litl-page .litl-intro__text {
    justify-self: end;
    font-size: 20px;
    width: 100%;
    text-align: right;
    line-height: 1.6
}
/* video blokk */
.litl-page .litl-film {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: 95px 50px;
}

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

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

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

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

.litl-page .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 .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 .litl-film__frame {
    position: relative;
    aspect-ratio: 3 / 2.2;
    overflow: hidden;
    border-radius: 8px;
    background: var(--litl-background);
}

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

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

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

.litl-page .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, .65);
    backdrop-filter: blur(6px);
    pointer-events: none;
}

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

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


/* Five statistics. */
.litl-page .litl-statistics {
    padding-block: 90px 95px;
}
.litl-page .litl-statistics__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.litl-page .litl-stat {
    padding-inline: 30px;
    text-align: center;
}
.litl-page .litl-stat + .litl-stat {
    border-left: 1px solid #1c485c;
}
.litl-page .litl-stat__value {
    margin-bottom: 30px;
    font-family: "Pharma", sans-serif;
    font-size: 70px;
    line-height: 1;
    color: var(--litl-accent);
}
.litl-page .litl-stat__label {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}
/* Capabilities: image/icon fields are edited in ACF. */
.litl-page .litl-capabilities {
    padding-block: 80px 85px;
}
.litl-page .litl-capabilities__list {
    display: grid;
    gap: 22px;
    width: 840px;
    margin: 90px auto 0;
}
.litl-page .litl-capability {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: start;
    gap: 40px;
    padding: 40px 40px;
    border-radius: 10px;
    background: #191833;
    border:1px solid #33C7CC
}
.litl-capability__icon {
    position: relative;
}
.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 .litl-capability__icon img {
    width: 140px;
    height: auto;
    position: relative;
    z-index: 1
}
.litl-page .litl-capability__category {
    margin-bottom: 28px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}
.litl-page .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-capability__text ul {
    position: relative;
    padding: 0;
    margin: 0
}
.litl-capability__text ul li {
    color: #33C7CC;
    font-weight: 700;
    padding-left: 30px;
    position: relative;
    line-height: 1.8
}
.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-capability__text ul {
    list-style: none;
    padding-top: 7px
}


/* Whitepaper pages are saved image attachments; no PDF renderer runs on the frontend. */
.litl-page .litl-whitepaper {
    padding: 90px 0 90px 0;
    display: none!important
}
.litl-page .litl-whitepaper__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 130px;
}
.litl-page .litl-whitepaper__copy {
    text-align: right;
}
.litl-page .litl-whitepaper__title {
    text-align: right;
}
.litl-page .litl-whitepaper__text {
    margin-top: 24px;
    font-size: 20px;
    max-width: 620px
}
.litl-page .litl-whitepaper__button {
    margin-top: 30px;
}
.litl-page .litl-whitepaper__art {
    position: relative;
    isolation: isolate;
    width: 410px;
    aspect-ratio: 410 / 460;
}
.litl-page .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 .litl-whitepaper__page {
    position: absolute;
    width: 70%;
    top: 6%;
    left: 10%;
    transform: rotate(-3deg) scaleX(.85);
    transform-origin: center center;
    z-index: 2;
}
.litl-page .litl-whitepaper__page--2 {
    top: 10%;
    left: 25%;
    transform: scaleX(.85);
    transform-origin: center center;
    z-index: 1;
}
.litl-page .litl-whitepaper__page img {
    width: 100%;
    height: auto;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}
/* Variable-width gallery: fixed image height, original image proportions. */
.litl-page .litl-gallery {
    padding-top: 95px;
}

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

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

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

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


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

.litl-page .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 .litl-gallery__track::-webkit-scrollbar {
    display: none;
}

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

/*
 * Infinite loop reposition közben
 * semmilyen smooth animáció ne fusson.
 */
.litl-page .litl-gallery__track.is-jumping {
    scroll-behavior: auto !important;
}


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

.litl-page .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 .litl-gallery__viewport::before,
.litl-page .litl-gallery__viewport::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 180px;
    z-index: 1;
    pointer-events: none;
}

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

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


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

.litl-page .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 .litl-gallery__arrow--prev {
    left: 15px;
    display: none!important
}

.litl-page .litl-gallery__arrow--next {
    right: 15px;
    display: none!important
}

.litl-page .litl-gallery__arrow img {
    width: 32px;
    height: 64px;
}

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


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

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