/*
Theme Name: LufthansaWebNew
Author: LufthansaWebNew project
Description: Offline conversion of lufthansa-intouch.jobs.cz, with local assets and editable WordPress pages.
Version: 1.9.13
Requires at least: 6.3
Requires PHP: 8.0
Text Domain: lufthansawebnew
*/
html{scroll-behavior:smooth}.lhn-notice{padding:24px;border:1px solid currentColor;border-radius:8px;text-align:center}.lhn-job{padding:24px;margin:16px 0;background:#fff;color:#05164d;border-radius:8px}.lhn-job h3{margin-top:0}.lhn-content{padding-block:60px;min-height:50vh}.hero__swiper .swiper-slide{display:none}.hero__swiper .swiper-slide:first-child{display:block}.hero__swiper .swiper-wrapper{display:block}.perks__swiper .swiper-wrapper{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.perks__swiper .swiper-slide{flex:0 0 100%;scroll-snap-align:start}.lhn-slide-controls{display:flex;gap:8px;justify-content:center;margin:16px}.lhn-slide-controls button{border:1px solid #05164d;background:white;color:#05164d;border-radius:50%;width:34px;height:34px;cursor:pointer}.lhn-slide-controls button[aria-pressed=true]{background:#ffad00}.lhn-lightbox{border:0;padding:16px;max-width:94vw;max-height:94vh;background:#fff}.lhn-lightbox::backdrop{background:#000b}.lhn-lightbox img{max-width:85vw;max-height:78vh;object-fit:contain}.lhn-lightbox button{display:block;margin-left:auto;padding:8px 16px}.m-nav__link[aria-current=page]{color:#ffad00}body.admin-bar .header{top:32px}@media(max-width:782px){body.admin-bar .header{top:46px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.hero__swiper{pointer-events:auto}.perks__slider .swiper-wrapper{display:block}.perks__slider .swiper-slide{display:none}.perks__slider .swiper-slide:first-child{display:block}.swiper-button-next,.swiper-button-prev{cursor:pointer}

/* Automatic homepage banner: crossfade with a gentle photo zoom. */
.hero__swiper .swiper-wrapper {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.hero__swiper .swiper-slide {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 1.4s ease-in-out;
}
.hero__swiper:not(.lhn-hero-autoplay) .swiper-slide:first-child,
.hero__swiper.lhn-hero-autoplay .swiper-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.hero__swiper picture {
  display: block;
  height: 100%;
}
.hero__swiper .swiper-slide img {
  transform: scale(1);
  transform-origin: 70% 50%;
  transition: transform 7s linear;
}
.hero__swiper.lhn-hero-autoplay .swiper-slide.is-active img {
  transform: scale(1.035);
}
.values__img[src$="placeholder.svg"] {
  opacity: 1;
}
/* Keep the complete artwork below the header at notebook/desktop widths. */
.hero--ai .hero__bg,
.hero--ai .hero__bg-inner {
  background: #f2f2f2;
}
.hero__swiper--ai .swiper-slide img,
.hero__swiper--ai.lhn-hero-autoplay .swiper-slide.is-active img {
  transform: none;
}
@media (min-width: 768px) {
  .hero--ai .hero__bg {
    top: var(--header-height);
  }
  .hero__swiper--ai .swiper-slide img {
    object-fit: contain;
    object-position: right bottom;
  }
}
@media (max-width: 767px) {
  .hero__swiper--ai picture { overflow: hidden; }
  :where(.hero:not(.hero--portrait)) .hero__swiper--ai .swiper-slide img,
  :where(.hero:not(.hero--portrait)) .hero__swiper--ai.lhn-hero-autoplay .swiper-slide.is-active img {
    transform: scale(1.45);
    transform-origin: 100% 35%;
  }
}
/* Leave breathing room below the heading when home-based cards reveal text. */
.homebased__item-description {
  padding-top: 8rem;
}

/* Team and contact photographs: keep the full artwork below navigation. */
.hero--about-ai .hero__bg,
.hero--about-ai .hero__bg-inner,
.hero--contact-ai .hero__bg,
.hero--contact-ai .hero__bg-inner {
  background: #f2f2f2;
}
.hero--about-ai .hero__bg picture,
.hero--contact-ai .hero__bg picture {
  display: block;
  height: 100%;
}
@media (min-width: 768px) {
  .hero--about-ai .hero__bg,
  .hero--contact-ai .hero__bg {
    top: var(--header-height);
  }
  .hero--about-ai .hero__bg img,
  .hero--contact-ai .hero__bg img {
    object-fit: contain;
    object-position: right bottom;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .hero--about-ai .hero__bg picture,
  .hero--contact-ai .hero__bg picture {
    width: 85%;
    margin-left: auto;
  }
  .hero--about-ai .hero__promo,
  .hero--contact-ai .hero__promo {
    max-width: 54%;
  }
}
@media (max-width: 767px) {
  .hero--about-ai .hero__bg img,
  .hero--contact-ai .hero__bg img {
    object-position: right center;
    transform: scale(1.55);
    transform-origin: 100% 20%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__swiper .swiper-slide,
  .hero__swiper .swiper-slide img {
    transition: none;
  }
  .hero__swiper.lhn-hero-autoplay .swiper-slide.is-active img {
    transform: none;
  }
}

/* Keep the tour teaser legible and preserve its wide photograph on mobile. */
.explore__bg, .explore__bg img { display: block; width: 100%; }
.explore__bg img { height: auto; }
.explore__content {
  justify-content: center;
  padding: 1.6rem;
  gap: 2.4rem;
  background: linear-gradient(180deg, rgba(5,22,77,.42), rgba(5,22,77,.45) 60%, rgba(5,22,77,.08));
  text-shadow: 0 2px 12px #0006;
}
.explore__title { margin: 0; font-size: clamp(2.6rem, 3vw, 4rem); }
@media (max-width: 575px) {
  .explore__content { gap: 1.2rem; }
  .explore__btn { width: 5.6rem; height: 5.6rem; font-size: 5.6rem; }
}
/* Blend the supplied photographs into the hero instead of framing a second panel. */
.hero--portrait .hero__bg,
.hero--portrait .hero__bg-inner { background: transparent; }
.hero--portrait .hero__bg picture { width: 100%; margin: 0; }
.hero--portrait .hero__bg img { object-fit: cover; transform: none; }
.hero--about-ai.hero--portrait .hero__bg img { object-position: center 72%; }
.hero--contact-ai.hero--portrait .hero__bg img { object-position: center 48%; }
.hero--ai.hero--portrait .hero__bg img { object-position: center 36%; }
@media (min-width: 768px) {
  .hero--portrait .hero__inner { max-width: 54%; }
  .hero--portrait .hero__promo { max-width: none; }
  .hero--portrait .hero__bg-inner {
    width: 64%;
    margin-left: auto;
    /* Fade both edges into the page, including beyond the 1440px artwork. */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 36%, #000 78%, rgba(0,0,0,.96) 82%, rgba(0,0,0,.75) 88%, rgba(0,0,0,.3) 95%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 36%, #000 78%, rgba(0,0,0,.96) 82%, rgba(0,0,0,.75) 88%, rgba(0,0,0,.3) 95%, transparent);
  }
}
@media (max-width: 767px) {
  .hero--portrait .hero__inner { padding-bottom: 1.6rem; }
  .hero--portrait .hero__bg-wrapper { height: clamp(44rem, 135vw, 64rem); }
  .hero--portrait .hero__bg-inner {
    width: 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 94%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 94%, transparent);
  }
}
/* Keep the full scene visible; limit the soft blend to the photograph's outer edges. */
@media (min-width: 768px) {
  .hero--ai.hero--portrait .hero__bg-inner,
  .hero--about-ai.hero--portrait .hero__bg-inner {
    width: auto;
    max-width: 64%;
    aspect-ratio: 1122 / 1402;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 96%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 7%, #000 96%, transparent);
  }
}
@media (min-width: 1200px) {
  .hero--ai.hero--portrait .hero__bg-inner { margin-right: clamp(0px, 6vw, 90px); }
  .hero--about-ai.hero--portrait .hero__bg-inner { margin-right: clamp(0px, 3vw, 48px); }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .hero--about-ai.hero--portrait .hero__bg-inner {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 46%;
    max-width: 46%;
    height: auto;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 97%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 7%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 97%, transparent);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
}
@media (max-width: 767px) {
  .hero--ai.hero--portrait .hero__bg-wrapper,
  .hero--about-ai.hero--portrait .hero__bg-wrapper {
    /* An explicit height also reserves the full image area in the parent hero. */
    height: calc(100vw * 1402 / 1122);
    aspect-ratio: auto;
  }
  .hero--ai.hero--portrait .hero__bg-inner,
  .hero--about-ai.hero--portrait .hero__bg-inner {
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 98%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 98%, transparent);
  }
}
.hero--ai.hero--portrait .hero__bg img,
.hero--about-ai.hero--portrait .hero__bg img { object-fit: contain; object-position: center; }

/* Show each supplied banner in full, using its set's shared image proportions. */
.hero--landscape.hero--portrait { --lhn-banner-width: 1672; --lhn-banner-height: 941; }
.hero--ai.hero--landscape { --lhn-banner-width: 3508; --lhn-banner-height: 2480; }
.hero--landscape.hero--portrait .hero__bg { container-type: size; }
.hero--landscape.hero--portrait .hero__bg picture { width: 100%; margin: 0; }
.hero--landscape.hero--portrait .hero__bg img { object-fit: contain; object-position: center; transform: none; }
@media (min-width: 1200px) {
  .hero--about-ai.hero--landscape {
    /* End the section with the complete photo, as on Stay in Touch.
       126.72rem is 88% of the shared 144rem artwork limit. */
    height: calc(var(--header-height) + min(88vw, 126.72rem) * var(--lhn-banner-height) / var(--lhn-banner-width));
    min-height: 0;
  }
  .hero--landscape.hero--portrait .hero__bg-inner {
    position: absolute;
    top: 0;
    right: 0;
    transform: none;
    width: 88%;
    width: min(88%, calc(100cqh * var(--lhn-banner-width) / var(--lhn-banner-height)));
    max-width: none;
    height: auto;
    aspect-ratio: var(--lhn-banner-width) / var(--lhn-banner-height);
    margin: 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 30%, #000 96%, transparent), linear-gradient(to bottom, #000 98%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 30%, #000 96%, transparent), linear-gradient(to bottom, #000 98%, transparent);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
  .hero--about-ai.hero--landscape .hero__bg-inner {
    width: 88%;
    /* Soften photo detail behind the copy; keep the desk, person and lower scene clear. */
    -webkit-mask-image: linear-gradient(to right, transparent 16%, rgba(0,0,0,.12) 27%, #000 48%, #000 96%, transparent), radial-gradient(ellipse 40% 45% at 20% 32%, rgba(0,0,0,.22) 68%, rgba(0,0,0,.45) 80%, #000 100%);
    mask-image: linear-gradient(to right, transparent 16%, rgba(0,0,0,.12) 27%, #000 48%, #000 96%, transparent), radial-gradient(ellipse 40% 45% at 20% 32%, rgba(0,0,0,.22) 68%, rgba(0,0,0,.45) 80%, #000 100%);
  }
}
@media (max-width: 1199px) {
  .hero--landscape.hero--portrait .hero__inner { max-width: none; padding-bottom: 1.6rem; }
  .hero--landscape.hero--portrait .hero__promo { max-width: none; }
  .hero--landscape.hero--portrait .hero__bg-wrapper {
    display: block;
    position: relative;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    height: calc(100vw * var(--lhn-banner-height) / var(--lhn-banner-width));
    aspect-ratio: auto;
  }
  .hero--landscape.hero--portrait .hero__bg { inset: 0; }
  .hero--landscape.hero--portrait .hero__bg-inner {
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(to bottom, #000 98%, transparent);
    mask-image: linear-gradient(to bottom, #000 98%, transparent);
    -webkit-mask-composite: source-over;
    mask-composite: add;
  }
  .hero--about-ai.hero--landscape .hero__bg-inner {
    -webkit-mask-image: none;
    mask-image: none;
  }
}
@media (max-width: 767px) {
  .hero--about-ai.hero--landscape .hero__bg-inner {
    /* Match Stay in Touch's short mobile bottom blend. */
    -webkit-mask-image: linear-gradient(to bottom, #000 94%, transparent);
    mask-image: linear-gradient(to bottom, #000 94%, transparent);
  }
}
