@font-face {
  font-family: 'TRADEL Flight Serif';
  src: url('/fonts/tradel-hero/playfair-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}
/* The shared header measures itself. Reserve its space inside the photograph. */
#flexible-return-flights {
  --tradel-bleed-top: 0px;
  --ff-ink: #172c20;
  --ff-muted: #4a5a4e;
  --ff-green: #244e31;
  --ff-cream: #fbf6ee;
  --ff-paper: #fffdf8;
  --ff-line: #ded9cc;
  --ff-gap: clamp(64px, 7vw, 104px);
  background: #faf4eb;
  color: var(--ff-ink);
  font: 16px/1.5 'Source Sans 3', system-ui, sans-serif;
}
/* One accent per tool, reused wherever that tool appears. */
#flexible-return-flights .ff-tool-routes { --ff-accent: #2f6a4f; --ff-art-bg: #eaf0e6; --ff-art-land: #dbe5d3; }
#flexible-return-flights .ff-tool-dates { --ff-accent: #a05a17; --ff-art-bg: #f6ede0; --ff-art-land: #eddcc4; }
#flexible-return-flights .ff-tool-fares { --ff-accent: #2f5f80; --ff-art-bg: #e9eff3; --ff-art-land: #d6e2ea; }
#flexible-return-flights :is(h1,h2,h3) {
  color: var(--ff-ink);
  font-family: 'TRADEL Flight Serif', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin: 0;
}
#flexible-return-flights h2 { font-size: clamp(28px, 2.6vw, 40px); }
#flexible-return-flights h3 { font-size: clamp(20px, 1.5vw, 24px); }
#flexible-return-flights p { margin: 0; }
#flexible-return-flights a:focus-visible,
#flexible-return-flights .ff-compare:focus-visible { outline: 3px solid #a4510e; outline-offset: 3px; }
.ff-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.td-compact-header:has(#flexible-return-flights) > .main-header {
  background: rgba(251,247,239,.78);
}

/* Hero */
.ff-hero { position: relative; isolation: isolate; min-height: clamp(380px, 30vw, 520px); display: grid; align-items: center; }
.ff-hero picture, .ff-hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ff-hero picture { z-index: -1; }
.ff-hero picture img { object-fit: cover; object-position: 50% 19%; }
.ff-intro {
  width: min(100% - 40px, 1250px);
  margin: auto;
  padding: calc(var(--tradel-public-header-height, 73px) + 28px) 0 120px;
  display: grid;
  grid-template-columns: 49% minmax(0, 1fr);
  align-items: center;
  gap: 2%;
  padding-left: min(15vw, 220px);
  box-sizing: border-box;
}
#flexible-return-flights h1 { font-size: clamp(32px, 2.9vw, 48px); line-height: 1.05; }
.ff-intro .ff-kicker { padding: 0 0 12px; font-size: clamp(15px, 1.1vw, 18px); font-weight: 700; letter-spacing: .02em; color: #325b39; }
.ff-journey { width: min(100%, 454px); position: relative; color: #325b39; align-self: center; }
.ff-journey svg { display: block; width: 100%; }
.ff-journey span {
  position: absolute;
  top: 86%;
  transform: translateX(-50%);
  padding: 2px 12px;
  border-radius: 99px;
  color: #142b1c;
  background: #e5e5cc;
  font-weight: 700;
}
.ff-journey span:first-of-type { left: 4.3%; }
.ff-journey span:last-of-type { left: 95%; }

.ff-wrap { width: min(88%, 1240px); margin: auto; padding-bottom: var(--ff-gap); }
.ff-wrap > section + section { margin-top: var(--ff-gap); }
.ff-head { max-width: 760px; margin-bottom: 28px; }
.ff-head > p { padding-top: 10px; color: var(--ff-muted); font-size: 1.08rem; }

/* Tool choices */
/* Direct answer: overlaps the photo and links to every part of the guide. */
.ff-answer {
  position: relative;
  margin-top: -64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas: 'text steps' 'jump jump';
  gap: 28px clamp(32px, 4vw, 64px);
  padding: clamp(28px, 3.4vw, 48px) clamp(24px, 4vw, 56px);
  background: var(--ff-paper);
  border: 1px solid var(--ff-line);
  border-top: 6px solid var(--ff-green);
  border-radius: 24px;
  box-shadow: 0 10px 32px #57422524;
}
.ff-answer-text { grid-area: text; display: grid; gap: 14px; align-content: start; }
.ff-eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #a05a17; }
.ff-answer h2 { font-size: clamp(26px, 2.3vw, 36px) !important; }
.ff-answer-text p { font-size: 1.08rem; line-height: 1.6; color: var(--ff-muted); }
.ff-steps { grid-area: steps; margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; align-content: start; }
.ff-steps li {
  position: relative;
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; align-items: center;
  padding: 12px 16px;
  border-radius: 14px; background: var(--ff-cream); border: 1px solid var(--ff-line);
}
.ff-steps li + li::before {
  content: ''; position: absolute; left: 35px; top: -11px; height: 10px; border-left: 2px dashed var(--ff-green); opacity: .5;
}
.ff-step-no {
  grid-row: span 2;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; box-sizing: border-box;
  border-radius: 50%; text-align: center;
  background: var(--ff-green); color: #fff;
  font: 700 1.05rem/1 'Source Sans 3', system-ui, sans-serif;
}
.ff-step-text { font-weight: 700; line-height: 1.3; }
#flexible-return-flights .ff-steps a {
  justify-self: start; font-size: .86rem; font-weight: 650;
  color: var(--ff-green); text-decoration: none;
}
#flexible-return-flights .ff-steps a:hover,
#flexible-return-flights .ff-steps a:focus-visible { text-decoration: none; }
.ff-jump { grid-area: jump; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-top: 20px; border-top: 1px solid var(--ff-line); }
.ff-jump::before { content: attr(data-label); margin-right: 6px; font-size: .85rem; color: var(--ff-muted); }
.ff-jump a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border-radius: 99px; border: 1px solid var(--ff-line); background: var(--ff-cream);
  color: var(--ff-green); font-weight: 650; text-decoration: none;
}
.ff-jump a:hover { background: #ecebdc; }
#flexible-return-flights [id$='-heading'], #ff-choice, #ff-examples, #ff-cost { scroll-margin-top: calc(var(--tradel-public-header-height, 73px) + 20px); }

/* Ticket types */
.ff-ticket-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ff-ticket {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px;
  background: var(--ff-paper);
  border: 1px solid var(--ff-line);
  border-radius: 18px;
}
.ff-ticket > p { color: var(--ff-muted); }
.ff-ticket-top { display: grid; gap: 10px; }
.ff-meter { display: inline-flex; align-items: center; gap: 4px; font-size: .82rem; font-weight: 700; color: var(--ff-green); }
.ff-meter i { width: 22px; height: 8px; border-radius: 4px; background: #e2e1d2; }
.ff-meter i.on { background: var(--ff-green); }
.ff-meter span { margin-left: 8px; }
.ff-tickets .ff-compare th[scope='col'] { white-space: nowrap; }

.ff-decisions {
  position: relative;
  padding: clamp(24px, 3vw, 44px);
  background: var(--ff-cream);
  border: 1px solid var(--ff-line);
  border-radius: 24px;
  box-shadow: 0 8px 28px #57422520;
}
.ff-decisions .ff-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 40px; max-width: none; align-items: end; }
.ff-decisions .ff-head > p { grid-column: 1; }
.ff-modes { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.ff-modes li { display: flex; align-items: center; gap: 12px; }
.ff-modes b {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ff-green); color: #fff; font-size: 13px;
}
.ff-mode-seq, .ff-mode-one { flex: 0 0 104px; }
.ff-mode-seq { display: inline-flex; align-items: center; width: 104px; }
.ff-mode-seq i { flex: 1; border-top: 2px dashed var(--ff-green); }
.ff-mode-one { display: inline-flex; justify-content: center; width: 104px; }
.ff-mode-one b { background: transparent; color: var(--ff-green); box-shadow: inset 0 0 0 2px var(--ff-green); }

.ff-choices { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; counter-reset: none; }
.ff-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ff-paper);
  border: 1px solid var(--ff-line);
  border-top: 5px solid var(--ff-accent);
  border-radius: 18px;
  overflow: hidden;
}
/* Sequence connector between neighbouring cards. */
.ff-choice + .ff-choice::before {
  content: '';
  position: absolute;
  top: 118px;
  left: -40px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ff-cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13m-5-5 5 5-5 5' fill='none' stroke='%23244e31' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
  border: 1px solid var(--ff-line);
  z-index: 1;
}
.ff-choice + .ff-choice { overflow: visible; }
.ff-choice + .ff-choice .ff-shot { border-radius: 13px 13px 0 0; overflow: hidden; }
.ff-shot { position: relative; margin: 0; padding-top: 48px; background: var(--ff-art-bg); color: var(--ff-accent); }
.ff-art { display: block; width: 100%; height: auto; aspect-ratio: 400 / 220; object-fit: cover; object-position: center; }
.ff-tag {
  position: absolute; left: 12px; top: 12px;
  padding: 4px 11px; border-radius: 99px;
  background: rgba(255,255,255,.92); color: var(--ff-ink);
  font-size: .82rem; box-shadow: 0 1px 4px #0000001a;
}
.ff-tag strong { color: var(--ff-accent); }
.ff-choice-body { flex: 1; padding: 22px 24px 8px; display: flex; flex-direction: column; gap: 10px; }
.ff-step {
  align-self: flex-start;
  padding: 3px 11px; border-radius: 99px;
  background: var(--ff-accent); color: #fff;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
}
.ff-choice-body > p { color: var(--ff-muted); }
.ff-choice-body > .ff-note {
  margin-top: auto !important; padding-top: 12px; border-top: 1px dashed var(--ff-line);
  font-size: .88rem; color: #6b5a3e;
}
.ff-aff { margin-left: 2px; font-size: .75em; font-weight: 800; }
.ff-fit { margin: 6px 0 0; display: grid; gap: 8px; font-size: .92rem; }
.ff-fit div { display: grid; grid-template-columns: 72px 1fr; gap: 8px; }
.ff-fit dt { font-weight: 700; }
.ff-fit dd { margin: 0; color: var(--ff-muted); }
.ff-fit div + div dt { color: #8a4a12; }

/* The CTA is the card's footer: tool, domain and new-tab cue in one bar. */
.ff-button {
  position: relative;
  margin: 18px 16px 16px;
  display: grid;
  gap: 2px;
  min-height: 56px;
  padding: 12px 52px 12px 18px;
  border-radius: 12px;
  background: var(--ff-accent);
  color: #fff;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ff-button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px #17251c33; }
.ff-button-label { font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.ff-button-meta { font-size: .82rem; font-weight: 600; opacity: .88; }
.ff-domain { font-weight: 400; }
.ff-domain::before { content: '· '; }
.ff-button-meta svg {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; padding: 8px; box-sizing: border-box;
  border-radius: 8px; background: rgba(255,255,255,.18);
}
.ff-handoff { margin-top: 22px !important; color: var(--ff-muted); font-size: .92rem; text-align: center; }

/* Scenarios */
.ff-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.ff-example {
  display: grid; grid-template-columns: 38% 1fr;
  background: var(--ff-paper);
  border: 1px solid var(--ff-line);
  border-left: 5px solid var(--ff-accent);
  border-radius: 18px;
  overflow: hidden;
}
.ff-example > img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.ff-example.ff-tool-routes > img { object-position: 26% center; }
.ff-photo-credits { margin: 9px 0 0 !important; font-size: .75rem; color: var(--ff-muted); line-height: 1.45; }
.ff-photo-credits a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ff-example-body { padding: 24px 26px 18px; display: flex; flex-direction: column; gap: 10px; }
.ff-label { color: var(--ff-accent, var(--ff-green)); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ff-question { font: 600 italic 1.12rem/1.35 'TRADEL Flight Serif', Georgia, serif; color: var(--ff-ink); }
.ff-example-body > p:not(.ff-question) { color: var(--ff-muted); }
.ff-stops { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }
.ff-stops span { padding: 2px 10px; border-radius: 99px; background: #ecebdc; font-size: .85rem; font-weight: 650; }
.ff-stops span + span::before { content: '→'; margin-right: 6px; color: var(--ff-accent); font-weight: 700; }
.ff-example-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ff-line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.ff-start { font-size: .9rem; color: var(--ff-muted); }
.ff-start b { display: inline-grid; place-items: center; width: 22px; height: 22px; margin: 0 4px; border-radius: 50%; background: var(--ff-accent); color: #fff; font-size: 12px; }
.ff-example a, .ff-case-link, .ff-more a { color: var(--ff-green); font-weight: 650; text-underline-offset: 3px; }
.ff-example a { display: inline-flex; align-items: center; min-height: 44px; }

.ff-compare { margin-top: 32px; overflow-x: auto; border: 1px solid var(--ff-line); border-radius: 16px; background: var(--ff-paper); }
.ff-compare table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.ff-compare caption { caption-side: top; text-align: left; padding: 16px 20px 6px; font: 700 1.1rem 'TRADEL Flight Serif', Georgia, serif; }
.ff-compare th, .ff-compare td { padding: 11px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--ff-line); }
.ff-compare thead th { border-top: 0; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ff-muted); }
.ff-compare tbody th { width: 24%; font-weight: 700; }
.ff-scenarios .ff-compare tbody tr:last-child td { font-weight: 700; color: var(--ff-green); }

/* Worked examples */
.ff-head .ff-note-flag {
  display: inline-block; margin-top: 12px; padding: 5px 12px; border-radius: 8px;
  background: #f3e6cf; color: #6b3f10; font-size: .9rem;
}
.ff-case {
  display: grid;
  grid-template-columns: minmax(240px, 30%) minmax(0, 1fr);
  grid-template-areas: 'head head' 'facts text';
  gap: 20px 48px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--ff-paper);
  border: 1px solid var(--ff-line);
  border-radius: 20px;
  scroll-margin-top: calc(var(--tradel-public-header-height, 73px) + 16px);
}
.ff-case + .ff-case { margin-top: 28px; }
.ff-case-head { grid-area: head; display: grid; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--ff-line); }
.ff-facts { grid-area: facts; margin: 0; display: grid; gap: 14px; align-content: start; }
.ff-facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ff-muted); }
.ff-facts dd { margin: 2px 0 0; font-weight: 600; }
.ff-code { display: inline-block; padding: 0 7px; border-radius: 6px; background: #e4e6d5; font: 700 .85rem/1.6 ui-monospace, Menlo, Consolas, monospace; }
.ff-case-text { grid-area: text; display: grid; gap: 14px; align-content: start; max-width: 72ch; }
.ff-case-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; justify-self: start; }

/* Cost formula */
.ff-total { padding: clamp(28px, 3.5vw, 48px); border-radius: 22px; background: #e9ecdc; }
.ff-sum { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; }
.ff-sum li { position: relative; padding: 10px 16px; border-radius: 12px; background: var(--ff-paper); border: 1px solid var(--ff-line); font-weight: 600; }
.ff-sum li + li { margin-left: 30px; }
.ff-sum li + li::before { content: '+'; position: absolute; left: -21px; top: 50%; transform: translateY(-50%); color: var(--ff-green); font-weight: 800; font-size: 1.2rem; }
.ff-sum .ff-sum-total { background: var(--ff-green); border-color: var(--ff-green); color: #fff; }
.ff-sum .ff-sum-total::before { content: '='; color: var(--ff-green); }
.ff-total-note { margin-top: 24px !important; max-width: 72ch; color: var(--ff-muted); }

/* Checklist */
.ff-checks h2 { margin-bottom: 24px !important; }
.ff-checks ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ff-checks li {
  position: relative; display: grid; gap: 6px; align-content: start;
  padding: 22px 20px 20px 20px;
  background: var(--ff-paper); border: 1px solid var(--ff-line); border-radius: 16px;
}
.ff-checks li::before {
  content: '✓'; display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 6px;
  border-radius: 50%; background: var(--ff-green); color: #fff; font: bold 14px/1 sans-serif;
}
.ff-checks strong { font-size: 1.05rem; }
.ff-checks span { color: var(--ff-muted); font-size: .95rem; }

/* One-way tickets and entry rules */
.ff-onward {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr); gap: 32px 56px; align-items: start;
  padding: clamp(28px, 3.5vw, 48px);
  border-radius: 22px; background: #f3e6cf;
}
.ff-onward-text { display: grid; gap: 14px; }
.ff-onward-text h2 { margin-bottom: 4px !important; }
.ff-onward-text p { max-width: 68ch; color: #3f3320; }
.ff-onward-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ff-onward-links a, .ff-onward-note {
  display: grid; gap: 2px; padding: 14px 18px; border-radius: 14px;
  background: var(--ff-paper); border: 1px solid #e4d3b3; color: var(--ff-ink); text-decoration: none;
}
.ff-onward-links a:hover { border-color: #a05a17; }
.ff-onward-links a strong::after { content: ' ↗'; color: #a05a17; }
.ff-onward-links span:not(.ff-sr) { color: var(--ff-muted); font-size: .9rem; }

/* FAQ */
.ff-faq h2 { margin-bottom: 20px !important; }
.ff-faq details { border-top: 1px solid var(--ff-line); }
.ff-faq details:last-of-type { border-bottom: 1px solid var(--ff-line); }
.ff-faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 20px 48px 20px 0; font-weight: 700; font-size: 1.08rem;
}
.ff-faq summary::-webkit-details-marker { display: none; }
.ff-faq summary::after {
  content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  background: #ecebdc; color: var(--ff-green); font-size: 1.2rem; font-weight: 700;
}
.ff-faq details[open] summary::after { content: '−'; }
.ff-faq summary:focus-visible { outline: 3px solid #a4510e; outline-offset: 3px; }
.ff-faq details p { max-width: 74ch; padding: 0 0 22px; color: var(--ff-muted); }
.ff-faq details a { color: var(--ff-green); font-weight: 650; }

.ff-faq summary h3 { display: inline; font: inherit; letter-spacing: normal; }
.ff-end { margin-top: var(--ff-gap); padding-top: 24px; border-top: 1px solid var(--ff-line); display: grid; gap: 18px; }
.ff-disclosure { max-width: 90ch; padding: 14px 18px; border-radius: 12px; background: #f3efe4; color: var(--ff-muted); font-size: .9rem; }
.ff-disclosure strong { color: var(--ff-ink); }
.ff-more { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.ff-more a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.ff-more a:last-child { margin-left: auto; }

/* Fit the seated traveller into the shallow desktop panorama. The same cached
   photo supplies the distant landscape on the right. */
@media (min-width: 761px) {
  .ff-hero picture { background: url('/images/flexible-flights/flexible-flights-hero-desktop.webp') center 40% / cover; }
  .ff-hero picture img {
    width: max(58%, 650px);
    object-position: left top;
    mask-image: linear-gradient(to right, #000 62%, transparent 100%);
  }
}
@media (max-width: 1100px) {
  .ff-wrap { width: 93%; }
  .ff-intro { grid-template-columns: 55% 1fr; padding-left: 21%; padding-right: 4%; }
  .ff-choices { gap: 36px; }
  .ff-choice + .ff-choice::before { left: -34px; width: 32px; height: 32px; top: 92px; }
  .ff-choice-body { padding: 18px 18px 6px; }
  .ff-checks ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ff-pair { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  body.td-compact-header:has(#flexible-return-flights) > .site-header-flow-spacer { height: 0; }
  .ff-intro { padding-top: calc(var(--tradel-public-header-height, 118px) + 20px); }
}
@media (max-width: 860px) {
  .ff-ticket-grid, .ff-onward { grid-template-columns: 1fr; }
  .ff-answer { grid-template-columns: 1fr; grid-template-areas: 'text' 'steps' 'jump'; }
  .ff-decisions .ff-head { grid-template-columns: 1fr; }
  .ff-modes { grid-column: 1; grid-row: auto; margin-top: 14px; }
  .ff-choices { grid-template-columns: 1fr; gap: 40px; }
  .ff-choice + .ff-choice::before { top: -38px; left: calc(50% - 18px); width: 36px; height: 36px; transform: rotate(90deg); }
  .ff-case { grid-template-columns: 1fr; grid-template-areas: 'head' 'facts' 'text'; }
  .ff-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ff-answer { margin-top: -40px; padding: 22px 18px; border-radius: 18px; }
  .ff-answer-text p { font-size: 1rem; }
  .ff-jump::before { flex-basis: 100%; }
  .ff-example { grid-template-columns: 1fr; }
  .ff-example > img { min-height: 0; aspect-ratio: 16 / 7; }
  .ff-sum { display: grid; gap: 8px; }
  .ff-sum li + li { margin-left: 0; padding-left: 40px; }
  .ff-sum li + li::before { left: 16px; }
  .ff-more a:last-child { margin-left: 0; }
}
@media (max-width: 600px) {
  .ff-hero { min-height: 0; }
  .ff-hero picture img { object-position: 50% 0; }
  .ff-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent 12%, #fbf3e5ab 43%, #fbf3e5f5 78%); }
  .ff-intro { width: 100%; display: block; padding: calc(var(--tradel-public-header-height, 118px) + 24px) 14px 84px 39%; }
  #flexible-return-flights h1 { font-size: clamp(26px, 6.8vw, 36px); }
  .ff-intro p { font-size: 15px; line-height: 1.25; }
  .ff-journey { width: 88%; max-width: 260px; margin: 2px auto 0; }
  .ff-journey span { font-size: 11px; padding: 1px 6px; }
  .ff-wrap { width: calc(100% - 32px); }
  .ff-decisions { padding: 20px 14px; border-radius: 18px; }
  .ff-facts { grid-template-columns: 1fr; }
  .ff-checks ul { grid-template-columns: 1fr; }
  .ff-example-body { padding: 20px 18px 14px; }
}
