/* Page 8187 geometry, using the current project's existing theme tokens and fonts. */
.flight-page { padding-top: 80px; color: var(--foreground); }
.flight-page *, .flight-page *::before, .flight-page *::after { box-sizing: border-box; }
.flight-page .flight-container { width: 100%; max-width: 1140px; margin-inline: auto; }
.flight-page .flight-section-heading { margin: 0; font-size: 35px; line-height: 1.2; font-weight: 400; text-align: center; }
.flight-page .flight-button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border: 2px solid var(--accent); border-radius: 3px; background: var(--accent); color: var(--accent-foreground); font-size: 15px; line-height: 1; font-weight: 600; text-align: center; text-decoration: none; transition: background-color .3s, color .3s, border-color .3s; }
.flight-page .flight-button--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.flight-page .flight-mobile-hero { display: none; }
.flight-page .flight-hero { position: relative; background: var(--secondary); }
.flight-page .flight-hero__viewport { max-width: 1140px; margin-inline: auto; overflow: hidden; touch-action: pan-y; }
.flight-page .flight-hero__track { display: flex; transition: transform 500ms ease; }
.flight-page .flight-hero__track.is-resetting { transition: none; }
.flight-page .flight-hero__slide { flex: 0 0 100%; min-width: 0; height: 400px; position: relative; display: flex; align-items: center; padding: 50px; }
.flight-page .flight-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mask-size: contain; mask-position: center; mask-repeat: no-repeat; -webkit-mask-size: contain; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; pointer-events: none; user-select: none; }
.flight-page .flight-hero__content { position: relative; width: 50%; z-index: 1; }
.flight-page .flight-hero__content h1, .flight-page .flight-hero__content h2 { margin: 0 0 30px; color: var(--primary); font-size: 30px; line-height: 1.2; font-weight: 400; letter-spacing: 0; }
.flight-page .flight-hero__content p { margin: 0 0 30px; font-size: 17px; line-height: 1.4; color: var(--foreground); }
.flight-page .flight-hero__content .flight-button { border-color: var(--primary); color: var(--primary); background: transparent; }
/* Match Elementor fadeInDown: enter from one full text-block height after the slide arrives. */
.flight-page .flight-hero__slide.is-active .flight-hero__content { animation: flight-hero-fade-down 1.25s both; }
.flight-page .flight-hero.is-transitioning .flight-hero__content { visibility: hidden; animation: none; }
@keyframes flight-hero-fade-down { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
.flight-page .flight-hero__arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 48px; padding: 8px; transform: translateY(-50%); border: 0; background: transparent; color: var(--primary); cursor: pointer; }
.flight-page .flight-hero__arrow--prev { left: max(0px, calc((100% - 1240px) / 2)); }
.flight-page .flight-hero__arrow--next { right: max(0px, calc((100% - 1240px) / 2)); }
.flight-page .flight-hero__arrow svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.flight-page .flight-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.flight-page .flight-intro { margin-top: 40px; padding: 10px; text-align: center; }
.flight-page .flight-divider { width: 21%; margin: 15px auto; border-top: 3px solid var(--primary); }
.flight-page .flight-intro > p { margin: 0 0 20px; font-size: 16px; line-height: 22px; }
.flight-page .flight-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 10px; }
.flight-page .flight-feature { display: flex; flex-direction: column; justify-content: space-around; gap: 20px; min-width: 0; margin: 5px; padding: 20px; border: 1px solid var(--border); border-radius: 20px; }
.flight-page .flight-feature > svg { flex-shrink: 0; width: auto; height: 50px; align-self: flex-start; max-width: 58px; fill: var(--primary); }
.flight-page .flight-feature h3 { margin: 0 5px 0 0; font-size: 24px; font-weight: 400; line-height: 28px; }
.flight-page .flight-feature p { margin: 0; font-size: 16px; font-weight: 400; line-height: 22px; }
.flight-page .flight-reveal-pending { opacity: 0; }
.flight-page .flight-reveal-in { animation: flight-fade-down .8s both; }
.flight-page .flight-reveal-in[data-flight-reveal="tada"] { animation-name: flight-tada; }
@keyframes flight-fade-down { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes flight-tada { 0%, 100% { transform: scale(1); } 20% { transform: scale(.95) rotate(-2deg); } 40%, 80% { transform: scale(1.02) rotate(2deg); } 60% { transform: scale(1.02) rotate(-2deg); } }
@media (max-width: 1024px) {
  .flight-page .flight-container { max-width: 1024px; }
  .flight-page .flight-feature p, .flight-page .flight-intro > p { font-size: 12px; line-height: 1.4; }
}
@media (max-width: 767px) {
  .flight-page .flight-container { max-width: 767px; }
  .flight-page .flight-hero { display: none; }
  .flight-page .flight-mobile-hero { position: relative; display: flex; align-items: center; min-height: 516px; background: var(--ink); }
  .flight-page .flight-mobile-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .flight-page .flight-mobile-hero::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: .63; }
  .flight-page .flight-mobile-hero__content { position: relative; z-index: 1; width: 100%; padding: 30px 20px 30px 50px; color: var(--ink-foreground); }
  .flight-page .flight-mobile-hero h1 { margin: 0 0 20px; font-size: 45px; line-height: 1; font-weight: 600; color: var(--accent); }
  .flight-page .flight-mobile-hero p { margin: 0 0 20px; font-size: 20px; line-height: 1.4; }
  .flight-page .flight-section-heading { font-size: 28px; line-height: 1.1; }
  .flight-page .flight-features { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .flight-page .flight-hero__track, .flight-page .flight-button { transition: none; }
  .flight-page .flight-reveal-pending { opacity: 1; }
  .flight-page .flight-reveal-in, .flight-page .flight-hero__slide.is-active .flight-hero__content { animation: none; }
}
/* Flight-specific sections retain the original section geometry and use the current palette. */
.flight-page { overflow-wrap: break-word; }
.flight-page .flight-intro .flight-section-heading { color: var(--foreground); }
.flight-page .flight-types-heading .flight-section-heading { color: var(--primary); }
.flight-page .flight-partners { overflow: hidden; background: var(--secondary); }
.flight-page .flight-partners h2 { margin: 0; text-align: center; font-size: 16px; font-weight: 400; line-height: 1.2; }
.flight-page .flight-partners__viewport { width: 100%; overflow: hidden; }
.flight-page .flight-partners__track { display: flex; width: max-content; }
.flight-page .flight-partners__track.is-looping { animation: flight-partner-scroll 56s linear infinite; }
.flight-page .flight-partners__logos { display: flex; flex: 0 0 auto; gap: 25px; margin: 0; padding: 0 25px 0 0; list-style: none; }
.flight-page .flight-partners__logos li { flex: 0 0 auto; width: calc((100vw - 175px) / 8); padding: 5px; filter: drop-shadow(-1px 6px 3px rgb(50 50 0 / 30%)); }
.flight-page .flight-partners__logos img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.flight-page .flight-legacy-benefits[hidden] { display: none; }
.flight-page .flight-types-heading { margin-top: 40px; padding: 10px; }
.flight-page .flight-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 10px; }
.flight-page .flight-type { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; margin: 5px; padding: 20px; border-radius: 20px; background: var(--secondary); }
.flight-page .flight-type__copy { margin-bottom: 10px; }
.flight-page .flight-type h3 { margin: 0 0 20px; font-size: 25px; line-height: 1; letter-spacing: 0; }
.flight-page .flight-type p { margin: 0 0 20px; font-size: 14px; line-height: 16px; }
.flight-page .flight-type img { display: block; width: 100%; height: auto; border-radius: 20px; }
.flight-page .flight-final { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 589px; gap: 20px; margin-block: 40px; padding: 10px; }
@keyframes flight-partner-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 1024px) {
  .flight-page .flight-type p { font-size: 12px; line-height: 1.4; }
}
@media (max-width: 767px) {
  /* The WordPress partner band is hidden on mobile, including its logo carousel. */
  .flight-page .flight-partners { display: none; }
  .flight-page .flight-types { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .flight-page .flight-partners__track.is-looping { animation: none; }
}

.flight-page .flight-booking-cta { padding: 10px; text-align: center; }
.flight-page .flight-booking-cta p { margin: 20px 0 0; font-size: 10px; line-height: 25px; }
@media (max-width: 1024px) {
  .flight-page .flight-booking-cta p { font-size: 12px; line-height: 1.4; }
}

/* Match each original Elementor button radius; preserve the main theme palette. */
.flight-page .flight-hero__content .flight-button { border-radius: 20px; }
.flight-page .flight-booking-cta .flight-button { border-radius: 20px; }
.flight-page .flight-final .flight-button:first-child { border-radius: 5px; background: transparent; color: var(--primary); border-color: var(--primary); }
