/* ==========================================================================
   WorldFlyer overrides — loaded after the compiled Tailwind build (style.css).
   1) Tighter vertical rhythm (sections were 80px top + 80px bottom = 160px gaps)
   2) Typography for rich HTML post content from the admin editor
   3) Site popup (admin-managed)
   ========================================================================== */

/* ── 1. Spacing: sections ─────────────────────────────────────────────── */
main section.py-14, main .py-14.bg-mist, #main section.py-14 { padding-top: 2.25rem; padding-bottom: 2.25rem; }
main section.py-16, #main section.py-16 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
main section.py-12, #main section.py-12 { padding-top: 2rem; padding-bottom: 2rem; }
main section.pb-16, #main section.pb-16 { padding-bottom: 2.5rem; }
main section.pb-14, #main section.pb-14 { padding-bottom: 2.25rem; }

@media (min-width: 40rem) {
  main section.sm\:py-20, main .sm\:py-20.bg-mist, #main section.sm\:py-20 { padding-top: 3rem; padding-bottom: 3rem; }
  main section.sm\:py-16, #main section.sm\:py-16 { padding-top: 2.75rem; padding-bottom: 2.75rem; }
  main section.sm\:py-12, #main section.sm\:py-12 { padding-top: 2.25rem; padding-bottom: 2.25rem; }
  main section.sm\:pb-20, #main section.sm\:pb-20 { padding-bottom: 3rem; }
}
@media (min-width: 64rem) {
  main section.sm\:py-20, main .sm\:py-20.bg-mist, #main section.sm\:py-20 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}

/* Headings → grid gaps inside sections */
main .title + .mt-10, main .title + .mt-8, main .title + p + .mt-10 { margin-top: 1.5rem; }
main h2.mt-12, main h2.mt-14 { margin-top: 2.25rem; }
main div.mt-12, main div.mt-14 { margin-top: 2rem; }
main .sm\:mt-10 { margin-top: 1.5rem; }
@media (min-width: 40rem) { main .sm\:mt-10 { margin-top: 2rem; } }

/* Detail-page heroes were 420px tall */
main section.min-h-\[420px\], main section.min-h-\[420px\] > .container { min-height: 340px; }
main section.min-h-\[420px\] > .container.py-12 { padding-top: 2.25rem; padding-bottom: 2.25rem; }


/* Page hero (listing pages) + inner containers carrying their own padding */
main section > .container.py-14 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
main .container.py-12, main .container.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
@media (min-width: 40rem) {
  main section > .container.sm\:py-20 { padding-top: 3.25rem; padding-bottom: 3.25rem; }
  main .container.sm\:py-16 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  main .container.sm\:py-12 { padding-top: 2rem; padding-bottom: 2rem; }
  main section.container.sm\:py-20 { padding-top: 3rem; padding-bottom: 3rem; }
}
@media (min-width: 64rem) {
  main section > .container.lg\:py-24 { padding-top: 3.75rem; padding-bottom: 3.75rem; }
  footer .lg\:py-16 { padding-top: 3rem; padding-bottom: 3rem; }
}

/* Footer spacing */
footer .py-16 { padding-top: 2.75rem; padding-bottom: 2.75rem; }
footer .py-14 { padding-top: 2.5rem; padding-bottom: 2.5rem; }

/* ── 2. Rich content (post descriptions from Summernote) ──────────────── */
.rich-content { color: #475569; line-height: 1.8; font-size: 1rem; overflow-wrap: anywhere; }
.rich-content > * + * { margin-top: 1rem; }
.rich-content h2, .rich-content h3, .rich-content h4, .rich-content h5, .rich-content h6 {
  color: #0c1838; font-weight: 800; line-height: 1.3; margin-top: 1.75rem;
}
.rich-content h2 { font-size: 1.5rem; }
.rich-content h3 { font-size: 1.25rem; }
.rich-content h4 { font-size: 1.1rem; }
.rich-content > :first-child { margin-top: 0; }
.rich-content strong, .rich-content b { color: #0f172a; font-weight: 700; }
.rich-content a { color: #d0222d; text-decoration: underline; text-underline-offset: 2px; }
.rich-content a:hover { color: #9f1820; }
.rich-content ul { list-style: disc; padding-left: 1.35rem; }
.rich-content ol { list-style: decimal; padding-left: 1.35rem; }
.rich-content li { margin-top: .35rem; }
.rich-content li::marker { color: #d0222d; }
.rich-content blockquote { border-left: 4px solid #d0222d; background: #fff5f5; padding: .85rem 1.1rem; border-radius: 0 .75rem .75rem 0; font-style: italic; }
.rich-content img { max-width: 100%; height: auto; border-radius: .9rem; }
.rich-content hr { border: 0; border-top: 1px solid #e2e8f0; margin: 1.75rem 0; }
.rich-content table { width: 100%; border-collapse: collapse; font-size: .925rem; display: block; overflow-x: auto; }
.rich-content th, .rich-content td { border: 1px solid #e2e8f0; padding: .6rem .8rem; text-align: left; }
.rich-content th { background: #f8fafc; color: #0c1838; font-weight: 700; }
.rich-content p:empty { display: none; }

/* ── 3. Site popup ────────────────────────────────────────────────────── */
.wf-popup { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.wf-popup[hidden] { display: none; }
.wf-popup__backdrop { position: absolute; inset: 0; background: rgba(12, 24, 56, .62); backdrop-filter: blur(3px); }
.wf-popup__dialog {
  position: relative; width: 100%; max-height: 92dvh; overflow-y: auto; background: #fff; color: #334155;
  border-radius: 1.25rem; box-shadow: 0 30px 70px rgba(12, 24, 56, .35); animation: wfPopIn .28s cubic-bezier(.2,.9,.3,1.2);
}
.wf-popup__dialog.is-split { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .wf-popup__dialog.is-split { grid-template-columns: 1fr 1.2fr; } }
.wf-popup__media { position: relative; min-height: 180px; background: #0c1838 center/cover no-repeat; }
@media (min-width: 640px) { .wf-popup__dialog.is-split .wf-popup__media { min-height: 100%; } }
.wf-popup__body { padding: 1.75rem 1.5rem 1.5rem; }
@media (min-width: 640px) { .wf-popup__body { padding: 2rem; } }
.wf-popup__close {
  position: absolute; top: .75rem; right: .75rem; z-index: 2; width: 2.25rem; height: 2.25rem; border-radius: 999px;
  background: rgba(255,255,255,.95); color: #0f172a; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15); font-size: 1.25rem; line-height: 1; cursor: pointer; border: 0;
}
.wf-popup__badge { display: inline-flex; align-items: center; gap: .35rem; background: #fdecee; color: #d0222d; border-radius: 999px; padding: .25rem .75rem; font-size: .75rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.wf-popup__title { margin-top: .75rem; font-size: 1.6rem; line-height: 1.2; font-weight: 800; color: #0c1838; }
.wf-popup__content { margin-top: .75rem; font-size: .95rem; line-height: 1.7; }
.wf-popup__code { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; border: 2px dashed rgba(208,34,45,.4); background: #fff5f5; border-radius: 1rem; padding: .65rem 1rem; }
.wf-popup__code b { font-size: 1.15rem; letter-spacing: .15em; color: #d0222d; }
.wf-popup__actions { margin-top: 1.25rem; display: grid; gap: .6rem; }
@media (min-width: 640px) { .wf-popup__actions.has-2 { grid-template-columns: 1fr 1fr; } }
.wf-popup__dismiss { margin-top: .85rem; width: 100%; background: none; border: 0; font-size: .8rem; color: #94a3b8; cursor: pointer; }
.wf-popup__dismiss:hover { color: #475569; }
.wf-popup--bottom-left, .wf-popup--bottom-right { inset: auto; bottom: 1rem; left: 1rem; right: 1rem; padding: 0; }
@media (min-width: 640px) {
  .wf-popup--bottom-left { left: 1.25rem; right: auto; }
  .wf-popup--bottom-right { right: 1.25rem; left: auto; }
}
.wf-popup--bottom-left .wf-popup__backdrop, .wf-popup--bottom-right .wf-popup__backdrop { display: none; }
.wf-popup--top-bar { inset: 0 0 auto 0; padding: 0; }
.wf-popup--top-bar .wf-popup__backdrop { display: none; }
.wf-popup--top-bar .wf-popup__dialog { border-radius: 0 0 1rem 1rem; max-width: none !important; }
@keyframes wfPopIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wf-popup__dialog { animation: none; } }

/* Flight route landing hero: leave room for the overlapping search widget */
.wf-flight-hero { padding-bottom: 8rem; }
@media (min-width: 40rem) { .wf-flight-hero { padding-bottom: 9rem; } }

/* Popup polish */
.wf-popup__dialog { --wf-accent: #d0222d; border-top: 5px solid var(--wf-accent); }
.wf-popup--top-bar .wf-popup__dialog { border-top: 0; border-bottom: 4px solid var(--wf-accent); }
.wf-popup__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,24,56,.75), rgba(12,24,56,0) 60%); }
.wf-popup__trust { position: absolute; left: .9rem; bottom: .9rem; z-index: 1; background: rgba(255,255,255,.94); color: #0c1838; font-size: .72rem; font-weight: 700; padding: .35rem .7rem; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.wf-popup__badge { background: color-mix(in srgb, var(--wf-accent) 12%, #fff) !important; color: var(--wf-accent) !important; }
.wf-popup__badge::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--wf-accent); animation: wfPulse 1.6s ease-in-out infinite; }
.wf-popup__title { font-size: clamp(1.35rem, 2.6vw, 1.75rem); letter-spacing: -.01em; }
.wf-popup__code { border-color: color-mix(in srgb, var(--wf-accent) 45%, #fff) !important; background: color-mix(in srgb, var(--wf-accent) 6%, #fff); }
.wf-popup__code-label { display: flex; flex-direction: column; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #64748b; }
.wf-popup__code-label b { font-size: 1.35rem; letter-spacing: .18em; color: var(--wf-accent); text-transform: uppercase; }
.wf-popup__actions .btn { border-radius: 999px; font-weight: 700; }
.wf-popup__actions .btn-primary { box-shadow: 0 10px 24px color-mix(in srgb, var(--wf-accent) 35%, transparent); }
.wf-popup--bottom-left .wf-popup__media, .wf-popup--bottom-right .wf-popup__media { min-height: 130px; }
.wf-popup--bottom-left .wf-popup__body, .wf-popup--bottom-right .wf-popup__body { padding: 1.25rem; }
.wf-popup--bottom-left .wf-popup__title, .wf-popup--bottom-right .wf-popup__title { font-size: 1.2rem; }
@keyframes wfPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
/* Keep slide-in popups clear of the floating WhatsApp button */
.wf-popup--bottom-left, .wf-popup--bottom-right { bottom: 5.25rem; }
#remove-promo-x:hover { color: #dc2626; }

/* ── Sticky announcement bar + header stacked under it ── */
#top-announcement-bar { position: sticky; top: 0; z-index: 60; }
#site-header { top: var(--wf-bar-h, 0px); }
/* Header height, mobile-menu offset, scroll padding and sticky sidebar offsets: see "Slimmer header" below */

/* Phones: keep the pinned bar to one short line (badge + code + link); full message from 640px */
@media (max-width: 639.98px) {
  #top-announcement-bar .wf-bar-msg { display: none; }
  #top-announcement-bar > .container { flex-wrap: nowrap; padding-top: .4rem; padding-bottom: .4rem; }
}

/* Legal pages: match the original policy styling */
.legal-content { font-size: 1rem; line-height: 1.75rem; }
.legal-content h3 { font-size: 1.125rem; margin-top: 1.25rem; padding-top: .25rem; }
.legal-content ul, .legal-content ol { display: grid; gap: .6rem; }

/* ══ CTA banner ("Ready to start your journey?") ══ */
.wf-cta-wrap { padding-top: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 64rem) { .wf-cta-wrap { padding-top: 3.5rem; padding-bottom: 4rem; } }
.wf-cta { position: relative; isolation: isolate; overflow: hidden; border-radius: 1.75rem; color: #fff;
  background: linear-gradient(135deg, #0c1838 0%, #13246b 48%, #1d3bb3 100%);
  box-shadow: 0 30px 60px -20px rgba(12, 24, 56, .45); }
.wf-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px; }
.wf-cta__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.wf-cta__glow--a { width: 22rem; height: 22rem; left: -8rem; top: -9rem; background: rgba(96, 165, 250, .35); }
.wf-cta__glow--b { width: 26rem; height: 26rem; right: -8rem; bottom: -12rem; background: rgba(208, 34, 45, .45); }
.wf-cta__grid { display: grid; gap: 2rem; padding: 1.75rem; align-items: center; }
@media (min-width: 40rem) { .wf-cta__grid { padding: 2.5rem; } }
@media (min-width: 64rem) { .wf-cta__grid { grid-template-columns: 1.15fr .85fr; gap: 3rem; padding: 3.25rem 3.5rem; } }

.wf-cta__eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; }
.wf-cta__dot { width: .5rem; height: .5rem; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.25); }
.wf-cta__title { margin-top: 1.1rem; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.wf-cta__accent { background: linear-gradient(90deg, #fda4af, #fb7185 60%, #f97316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wf-cta__text { margin-top: 1rem; max-width: 34rem; font-size: 1.05rem; line-height: 1.75; color: rgba(255,255,255,.82); }

.wf-cta__actions { margin-top: 1.75rem; display: grid; gap: .65rem; }
@media (min-width: 40rem) { .wf-cta__actions { display: flex; flex-wrap: wrap; } }
.wf-cta__btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .8rem 1.35rem;
  border-radius: 999px; font-weight: 700; font-size: .95rem; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.wf-cta__btn:hover { transform: translateY(-1px); }
.wf-cta__btn--primary { background: #d0222d; color: #fff; box-shadow: 0 12px 24px -8px rgba(208,34,45,.7); }
.wf-cta__btn--primary:hover { background: #b51c26; }
.wf-cta__btn--light { background: #fff; color: #0c1838; }
.wf-cta__btn--light svg { color: #2563eb; }
.wf-cta__btn--light:hover { box-shadow: 0 10px 22px -10px rgba(255,255,255,.6); }
.wf-cta__btn--whatsapp { background: rgba(37,211,102,.14); color: #86efac; border: 1px solid rgba(37,211,102,.45); }
.wf-cta__btn--whatsapp:hover { background: #25d366; color: #fff; }

.wf-cta__trust { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .wf-cta__trust { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wf-cta__trust li { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.wf-cta__trust b { display: block; font-size: .85rem; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-cta__trust small { display: block; font-size: .72rem; color: rgba(255,255,255,.6); }
.wf-cta__trust-icon { flex: 0 0 auto; width: 2.1rem; height: 2.1rem; border-radius: .7rem; display: flex; align-items: center; justify-content: center; }
.wf-cta__trust-icon--green { background: rgba(52,211,153,.15); color: #6ee7b7; }
.wf-cta__trust-icon--blue { background: rgba(96,165,250,.18); color: #93c5fd; }
.wf-cta__trust-icon--rose { background: rgba(251,113,133,.18); color: #fda4af; }

.wf-cta__visual { position: relative; }
.wf-cta__photo { position: relative; overflow: hidden; border-radius: 1.4rem; aspect-ratio: 16 / 10;
  box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 25px 50px -15px rgba(0,0,0,.5); }
@media (min-width: 64rem) { .wf-cta__photo { aspect-ratio: 4 / 4.4; } }
.wf-cta__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.wf-cta:hover .wf-cta__photo img { transform: scale(1.04); }
.wf-cta__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,24,56,.85) 0%, rgba(12,24,56,.15) 45%, rgba(12,24,56,0) 70%); }
.wf-cta__since { position: absolute; z-index: 1; top: .9rem; left: .9rem; display: flex; flex-direction: column; padding: .55rem .85rem;
  border-radius: .9rem; background: rgba(255,255,255,.95); color: #475569; font-size: .7rem; line-height: 1.3; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.wf-cta__since b { color: #0c1838; font-size: 1.05rem; font-weight: 800; }
.wf-cta__person { position: absolute; z-index: 1; left: .9rem; right: .9rem; bottom: .9rem; display: flex; align-items: center; gap: .75rem;
  padding: .8rem .9rem; border-radius: 1rem; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; transition: background-color .15s ease; }
.wf-cta__person:hover { background: rgba(255,255,255,.24); }
.wf-cta__person b { display: block; font-size: .9rem; }
.wf-cta__person small { display: block; font-size: .75rem; color: rgba(255,255,255,.75); }
.wf-cta__person-icon { flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #d0222d; box-shadow: 0 0 0 4px rgba(208,34,45,.3); }
.wf-cta__person-arrow { margin-left: auto; opacity: .8; }
@media (prefers-reduced-motion: reduce) { .wf-cta__btn, .wf-cta__photo img { transition: none; } }
@media (max-width: 39.98rem) {
  .wf-cta__grid { gap: 1.5rem; padding: 1.5rem 1.25rem; }
  .wf-cta__text { font-size: 1rem; }
  .wf-cta__trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-top: 1.5rem; padding-top: 1.25rem; }
  .wf-cta__trust li { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .wf-cta__trust small { display: none; }
  .wf-cta__trust b { font-size: .72rem; white-space: normal; line-height: 1.3; }
  .wf-cta__photo { aspect-ratio: 16 / 11; }
}
@media (max-width: 39.98rem) { .wf-cta__visual { display: none; } }

/* ══ Deals & Promotions cards — readable text on any photo ══ */
.wf-deal { display: block; color: #fff; text-decoration: none; }
.wf-deal__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.wf-deal:hover .wf-deal__img { transform: scale(1.05); }
.wf-deal__shade { position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(to top, rgba(8,14,34,.96) 0%, rgba(8,14,34,.78) 32%, rgba(8,14,34,.25) 62%, rgba(8,14,34,.15) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.wf-deal__top { position: absolute; z-index: 1; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 1rem; }
.wf-deal__badge { padding: .28rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(12,24,56,.55);
  border: 1px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wf-deal__discount { padding: .3rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  background: #d0222d; box-shadow: 0 6px 14px rgba(208,34,45,.45); white-space: nowrap; }
.wf-deal__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 1rem 1.1rem 1.05rem; }
.wf-deal__title { font-size: 1.15rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; text-shadow: 0 2px 8px rgba(0,0,0,.45);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s ease; }
.wf-deal:hover .wf-deal__title { color: #fcd34d; }
.wf-deal__sub { margin-top: .25rem; font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.85); text-shadow: 0 1px 4px rgba(0,0,0,.5);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-deal__foot { margin-top: .75rem; padding-top: .7rem; border-top: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.wf-deal__price { display: flex; align-items: baseline; gap: .4rem; min-width: 0; }
.wf-deal__price small { font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.wf-deal__price b { font-size: 1.5rem; font-weight: 900; line-height: 1; }
.wf-deal__price s { font-size: .8rem; color: rgba(255,255,255,.6); text-decoration: line-through; }
.wf-deal__special { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: #6ee7b7; }
.wf-deal__special i { width: .45rem; height: .45rem; border-radius: 50%; background: #34d399; }
.wf-deal__cta { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .3rem; padding: .45rem .9rem; border-radius: 999px;
  background: #fff; color: #0c1838; font-size: .78rem; font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,.25); transition: background-color .2s ease; }
.wf-deal:hover .wf-deal__cta { background: #fcd34d; }
@media (min-width: 640px) { .wf-deal__top { padding: 1.15rem 1.25rem; } .wf-deal__body { padding: 1.15rem 1.25rem 1.2rem; } .wf-deal__title { font-size: 1.3rem; } }
@media (prefers-reduced-motion: reduce) { .wf-deal__img { transition: none; } }

/* ══ Google reviews slider ══ */
.wf-reviews { background: #f4f7fb; padding: 3rem 0; }
@media (min-width: 64rem) { .wf-reviews { padding: 4rem 0; } }
.wf-reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; }
.wf-reviews__head-right { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.wf-reviews__summary { display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; border-radius: 1rem; background: #fff; border: 1px solid #e5eaf2; box-shadow: 0 4px 14px rgba(12,24,56,.05); }
.wf-reviews__score { display: flex; align-items: center; gap: .45rem; }
.wf-reviews__score b { font-size: 1.35rem; font-weight: 800; color: #0c1838; line-height: 1; }
.wf-reviews__summary p { margin-top: .15rem; font-size: .75rem; color: #64748b; }
.wf-stars { display: inline-flex; gap: 1px; font-size: 1rem; line-height: 1; letter-spacing: 0; }
.wf-stars span { color: #d6dbe4; }
.wf-stars span.is-on { color: #fbbf24; }
.wf-reviews__nav { display: flex; gap: .5rem; }
.wf-reviews__arrow { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #dbe2ea; color: #334155; box-shadow: 0 2px 6px rgba(12,24,56,.06); transition: all .15s ease; cursor: pointer; }
.wf-reviews__arrow:hover:not(:disabled) { border-color: #2563eb; color: #2563eb; }
.wf-reviews__arrow:disabled { opacity: .35; cursor: default; }

.wf-reviews__track { margin-top: 1.75rem; display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-left: 2px; padding: .25rem .1rem 1rem; scrollbar-width: none; -ms-overflow-style: none; outline: none; }
.wf-reviews__track::-webkit-scrollbar { display: none; }
.wf-review { scroll-snap-align: start; flex: 0 0 86%; display: flex; flex-direction: column; padding: 1.4rem; border-radius: 1.25rem;
  background: #fff; border: 1px solid #e5eaf2; box-shadow: 0 8px 24px -12px rgba(12,24,56,.15); transition: transform .2s ease, box-shadow .2s ease; }
@media (min-width: 40rem) { .wf-review { flex-basis: calc((100% - 1.25rem) / 2); } }
@media (min-width: 64rem) { .wf-review { flex-basis: calc((100% - 2.5rem) / 3); } }
.wf-review:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -14px rgba(12,24,56,.25); }
.wf-review__top { display: flex; align-items: center; justify-content: space-between; }
.wf-review__top .wf-stars { font-size: 1.1rem; }
.wf-review__text { margin-top: .9rem; flex: 1 1 auto; font-size: .92rem; line-height: 1.65; color: #475569; position: relative; }
.wf-review__text::before { content: "\201C"; position: absolute; left: -.2rem; top: -1.1rem; font-size: 2.6rem; line-height: 1; color: #e2e8f0; font-family: Georgia, serif; z-index: 0; }
.wf-review__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.wf-review__text.is-open { display: block; -webkit-line-clamp: unset; }
.wf-review__more { align-self: flex-start; margin-top: .35rem; padding: 0; border: 0; background: none; font-size: .8rem; font-weight: 700; color: #2563eb; cursor: pointer; }
.wf-review__author { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid #eef2f7; display: flex; align-items: center; gap: .7rem; }
.wf-review__author img, .wf-review__initial { width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.wf-review__initial { display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.wf-review__author b { display: block; font-size: .9rem; color: #0c1838; }
.wf-review__author small { display: block; font-size: .75rem; color: #94a3b8; }
.wf-reviews__cta { margin-top: 1.25rem; text-align: center; }

/* Footer social icons */
.wf-social { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.wf-social a { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: #cbd5e1; border: 1px solid rgba(255,255,255,.12); transition: all .15s ease; }
.wf-social a:hover { background: #d0222d; border-color: #d0222d; color: #fff; transform: translateY(-2px); }

/* ══ Flight results filter panel ══ */
.wf-filters { align-self: start; background: #fff; border: 1px solid #e2e8f0; border-radius: 1.25rem; padding: 1.25rem; box-shadow: 0 6px 20px -12px rgba(12,24,56,.18); }
@media (min-width: 64rem) { .wf-filters { position: sticky; top: calc(var(--wf-bar-h, 0px) + 6rem); max-height: calc(100vh - var(--wf-bar-h, 0px) - 7rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; } }
.wf-filters__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: .75rem; border-bottom: 2px solid #2563eb; }
.wf-filters__head h2 { font-size: 1.05rem; font-weight: 800; color: #0c1838; }
.wf-filters__reset-link { border: 0; background: none; padding: 0; font-size: .78rem; font-weight: 700; color: #2563eb; cursor: pointer; }
.wf-filters__reset-link:hover { text-decoration: underline; }
.wf-filter { padding: 1rem 0; border-bottom: 1px solid #eef2f7; }
.wf-filter h3 { font-size: .85rem; font-weight: 700; color: #0c1838; margin-bottom: .6rem; }
.wf-filter__row { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.wf-filter__row h3 { margin: 0; }
.wf-filter__value { margin-top: .5rem; font-size: .78rem; font-weight: 600; color: #475569; }
.wf-filter__hint { margin-top: .5rem; font-size: .72rem; color: #94a3b8; line-height: 1.5; }
.wf-filter__scroll { max-height: 15rem; overflow-y: auto; padding-right: .25rem; scrollbar-width: thin; }

.wf-check { display: flex; align-items: center; gap: .6rem; padding: .32rem 0; font-size: .84rem; color: #334155; cursor: pointer; }
.wf-check input { width: 1rem; height: 1rem; accent-color: #2563eb; flex: 0 0 auto; cursor: pointer; }
.wf-check span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-check em { font-style: normal; font-size: .72rem; font-weight: 600; color: #94a3b8; }
.wf-check.is-empty { opacity: .45; cursor: default; }
.wf-check--airline img { width: 1.4rem; height: 1.4rem; object-fit: contain; border: 1px solid #e2e8f0; border-radius: .35rem; background: #fff; padding: 1px; }
.wf-check:hover:not(.is-empty) span { color: #0c1838; }

.wf-range-inputs { display: flex; align-items: center; gap: .5rem; }
.wf-range-inputs label { position: relative; flex: 1 1 0; min-width: 0; }
.wf-range-inputs input { width: 100%; height: 2.6rem; border: 1px solid #dbe2ea; border-radius: .7rem; padding: 0 .6rem; font-size: .88rem; font-weight: 600; color: #0c1838; background: #fff; }
.wf-range-inputs input[type="number"] { padding-left: 1.4rem; -moz-appearance: textfield; }
.wf-range-inputs input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.wf-range-inputs__cur { position: absolute; left: .6rem; top: 50%; transform: translateY(-50%); font-size: .85rem; color: #94a3b8; pointer-events: none; }
.wf-range-inputs__to { font-size: .78rem; color: #94a3b8; }

/* Dual-handle price slider */
.wf-dual { position: relative; height: 1.75rem; margin-top: .75rem; }
.wf-dual__track { position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 999px; background: #dbeafe; }
.wf-dual__fill { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: #2563eb; }
.wf-dual input[type="range"] { position: absolute; left: 0; width: 100%; top: 0; height: 1.75rem; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.wf-dual input[type="range"]::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #2563eb; border: 3px solid #fff; box-shadow: 0 1px 6px rgba(12,24,56,.35); cursor: grab; }
.wf-dual input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #2563eb; border: 3px solid #fff; box-shadow: 0 1px 6px rgba(12,24,56,.35); cursor: grab; }
.wf-dual input[type="range"]::-webkit-slider-runnable-track { background: none; }

/* Single slider (connection time) */
.wf-single { width: 100%; accent-color: #2563eb; height: 1.5rem; cursor: pointer; }

.wf-filters__reset { margin-top: 1rem; width: 100%; height: 2.8rem; border: 0; border-radius: 999px; background: #2563eb; color: #fff; font-weight: 700; font-size: .9rem; cursor: pointer; transition: background-color .15s ease; }
.wf-filters__reset:hover { background: #1d4ed8; }
.wf-nomatch { padding: 1.75rem; border-radius: 1.25rem; background: #fff; border: 1px dashed #cbd5e1; text-align: center; color: #475569; font-size: .9rem; }
.wf-nomatch .wf-filters__reset { max-width: 16rem; }
@media (min-width: 64rem) { #flight-results-view { grid-template-columns: 300px minmax(0, 1fr); } }

/* ══ "Searching flights" overlay ══ */
.wf-searching { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem;
  background: radial-gradient(circle at 20% 15%, rgba(37,99,235,.35), transparent 45%), radial-gradient(circle at 85% 90%, rgba(208,34,45,.35), transparent 45%), rgba(8, 14, 34, .92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: wfFadeIn .25s ease; }
.wf-searching[hidden] { display: none; }
html.wf-searching-open { overflow: hidden; }
.wf-searching__card { width: 100%; max-width: 30rem; text-align: center; color: #fff; padding: 2rem 1.5rem; border-radius: 1.75rem;
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 30px 80px rgba(0,0,0,.45); animation: wfPopIn .35s cubic-bezier(.2,.9,.3,1.2); }
.wf-searching__route { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: .75rem; }
.wf-searching__place { display: flex; flex-direction: column; align-items: flex-start; min-width: 4.5rem; }
.wf-searching__place--to { align-items: flex-end; }
.wf-searching__place b { font-size: 1.9rem; font-weight: 900; letter-spacing: .02em; line-height: 1; }
.wf-searching__place span { margin-top: .3rem; font-size: .78rem; color: rgba(255,255,255,.7); max-width: 7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-searching__path { position: relative; height: 3.5rem; color: rgba(255,255,255,.45); }
.wf-searching__path svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wf-searching__plane { position: absolute; left: 0; top: 0; color: #fff; filter: drop-shadow(0 0 8px rgba(96,165,250,.9));
  offset-path: path('M4 52 Q100 -18 196 52'); offset-rotate: auto; animation: wfFly 2.4s cubic-bezier(.45,.05,.55,.95) infinite; }
.wf-searching__plane svg { transform: rotate(45deg); }
.wf-searching__dot { position: absolute; bottom: 0; width: .6rem; height: .6rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.2); }
.wf-searching__dot--a { left: -2px; } .wf-searching__dot--b { right: -2px; background: #fb7185; box-shadow: 0 0 0 4px rgba(251,113,133,.25); animation: wfPing 1.6s ease-out infinite; }
.wf-searching__dates { margin-top: 1.25rem; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.75); min-height: 1.2em; }
.wf-searching__title { margin-top: .9rem; font-size: 1.35rem; font-weight: 800; }
.wf-searching__msg { margin-top: .35rem; font-size: .92rem; color: #93c5fd; min-height: 1.4em; animation: wfMsg 1.8s ease-in-out infinite; }
.wf-searching__bar { position: relative; margin: 1.4rem auto 0; height: 6px; max-width: 18rem; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.wf-searching__bar span { position: absolute; top: 0; bottom: 0; width: 40%; border-radius: 999px; background: linear-gradient(90deg, #60a5fa, #fb7185); animation: wfBar 1.4s ease-in-out infinite; }
.wf-searching__trust { margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1rem; font-size: .75rem; color: rgba(255,255,255,.7); }
.wf-searching__trust li { display: inline-flex; align-items: center; gap: .35rem; }
.wf-searching__trust svg { color: #6ee7b7; }
@keyframes wfFly { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes wfBar { 0% { left: -40%; } 100% { left: 100%; } }
@keyframes wfPing { 0% { box-shadow: 0 0 0 0 rgba(251,113,133,.6); } 100% { box-shadow: 0 0 0 12px rgba(251,113,133,0); } }
@keyframes wfMsg { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
@keyframes wfFadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wf-searching__plane, .wf-searching__bar span, .wf-searching__dot--b, .wf-searching__msg { animation: none; } .wf-searching__plane { offset-distance: 50%; } }
.wf-searching__plane { width: 1.6rem; height: 1.6rem; margin: -0.8rem 0 0 -0.8rem; }
.wf-searching__plane svg { width: 1.6rem; height: 1.6rem; display: block; fill: rgba(255,255,255,.15); }
.wf-searching__trust svg { width: 1rem; height: 1rem; }

/* reCAPTCHA */
.wf-recaptcha { margin-top: 1rem; min-height: 78px; }
.wf-recaptcha > div { max-width: 100%; }
@media (max-width: 360px) { .wf-recaptcha { transform: scale(.88); transform-origin: 0 0; } }
.wf-recaptcha-note { margin-top: .75rem; font-size: .7rem; color: #94a3b8; text-align: center; }
.wf-recaptcha-note a { text-decoration: underline; }
/* v3: Google's floating badge is replaced by the notice above (allowed by Google's terms) */
.grecaptcha-badge { visibility: hidden; }

/* ── Slimmer header (Nov 2026): logo + menu bar 56px (was 72px mobile / 80px desktop) ── */
#site-header > .container-full { height: 56px; }
#site-header > .container-full > a:first-child img { height: 36px; }
#site-header nav[aria-label="Main"] a { padding-top: 6px; padding-bottom: 6px; }
#site-header > .container-full .btn { padding-top: 7px !important; padding-bottom: 7px !important; font-size: 14px; }
#site-header > .container-full a[href^="tel:"] > span,
#site-header > .container-full a[aria-label^="Call"],
#mobile-toggle-btn { width: 36px; height: 36px; }
#mobile-toggle-btn svg { width: 20px; height: 20px; }
#mobile-menu { top: calc(var(--wf-bar-h, 0px) + 56px); }
html { scroll-padding-top: calc(var(--wf-bar-h, 0px) + 72px); }
/* Sticky sidebars sat 6rem below the old 80px header; keep the same small gap under the 56px one */
@media (min-width: 64rem) { aside.lg\:sticky.lg\:top-24 { top: calc(var(--wf-bar-h, 0px) + 4.5rem); } }
.sticky.top-24 { top: calc(var(--wf-bar-h, 0px) + 4.5rem); }
.sticky.top-28 { top: calc(var(--wf-bar-h, 0px) + 5.5rem); }

/* ── Glass search box (Nov 2026): frosted, see-through card so the hero photo shows behind it ── */
section[aria-label="Search flights"] > div.rounded-3xl {
  background: rgba(rgb(255 255 255 / 86%));
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 20px 60px rgba(12, 24, 56, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
section[aria-label="Search flights"] > div.rounded-3xl nav a { background: rgba(255, 255, 255, 0.55); }
/* Homepage: run the hero photo further down so most of the glass box sits on it */
#hero-slider .container.pb-28 { padding-bottom: 11rem; }
#search.hero-overlap { margin-top: -9.5rem; }
@media (min-width: 640px) {
  #hero-slider .container.pb-28 { padding-bottom: 13rem; }
  #search.hero-overlap { margin-top: -11.5rem; }
}
@media (min-width: 1024px) {
  #hero-slider .container.pb-28 { padding-bottom: 15rem; }
  #search.hero-overlap { margin-top: -13.5rem; }
}

/* ── Secure payment badge on checkout ── */
.wf-secure-pay { border: 1px solid #a7f3d0; }
.wf-secure-pay__title, .wf-secure-pay__sub { color: #047857; }
.wf-secure-pay__sub { margin-top: 2px; }
.wf-secure-pay__list > li + li { margin-top: 4px; }
