/* Main flights directory only. The other route directories retain their own UI. */
.facf-explorer {
  --fx-ink: #081e30;
  --fx-muted: #586d6c;
  --fx-line: #dce2dc;
  --fx-sage: #e9eee7;
  --fx-gold: #f7ba55;
  border-top: 1px solid var(--fx-line);
  padding-block: 64px 72px;
  color: var(--fx-ink);
  scroll-margin-top: 100px;
}
.facf-explorer *, .facf-explorer *::before, .facf-explorer *::after { box-sizing: border-box; }
.facf-explorer [hidden] { display: none !important; }
.facf-explorer button, .facf-explorer input, .facf-explorer select { font: inherit; }
.facf-explorer button { cursor: pointer; }
.facf-explorer button:disabled { cursor: default; }
.facf-explorer .fx-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 36px; }
.facf-explorer .fx-eyebrow { margin: 0 0 18px; color: var(--fx-muted); font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.facf-explorer .fx-heading h2 { margin: 0; font-family: Quaria, Georgia, serif; font-size: clamp(38px, 4.2vw, 57px); font-weight: 400; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.facf-explorer .fx-intro { max-width: 330px; justify-self: end; padding-bottom: 3px; }
.facf-explorer .fx-intro p { margin: 0 0 12px; color: var(--fx-muted); font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.facf-explorer .fx-total { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 500; }
.facf-explorer .fx-total::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #b47e2e; }
.facf-explorer .fx-market-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-bottom: 22px; }
.facf-explorer .fx-control-caption { color: var(--fx-muted); font-size: 12px; }
.facf-explorer .fx-markets { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 4px; background: var(--fx-sage); border-radius: 7px; }
.facf-explorer .fx-market { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 9px 17px; border: 0; border-radius: 4px; background: transparent; color: var(--fx-ink); font-size: 13px; transition: color .18s ease, background .18s ease; }
.facf-explorer .fx-market span { font-size: 11px; opacity: .65; font-variant-numeric: tabular-nums; }
.facf-explorer .fx-market:hover { background: #dce5dc; }
.facf-explorer .fx-market[aria-pressed="true"] { color: #fffdf7; background: var(--fx-ink); }
.facf-explorer .fx-collections { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 24px; }
.facf-explorer .fx-collection { display: flex; align-items: center; gap: 9px; min-height: 58px; padding: 14px 13px; border: 1px solid var(--fx-line); border-radius: 4px; background: #fffefa; color: var(--fx-ink); font-size: 13px; text-align: left; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.facf-explorer .fx-collection > svg { flex: 0 0 21px; width: 21px; height: 21px; }
.facf-explorer .fx-collection-label { white-space: nowrap; }
.facf-explorer .fx-collection-count { margin-left: auto; color: var(--fx-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.facf-explorer .fx-collection:hover { background: #f0f3ec; border-color: #a7b7ab; }
.facf-explorer .fx-collection[aria-pressed="true"] { background: #fdf0d6; border-color: #dfbd7c; box-shadow: inset 0 -2px #bd8a36; }
.facf-explorer .fx-tools { display: grid; grid-template-columns: 1fr 1.2fr .72fr; gap: 16px; padding: 22px 24px; background: var(--fx-sage); border-radius: 5px; }
.facf-explorer .fx-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; color: var(--fx-muted); font-size: 11px; }
.facf-explorer .fx-field > span:first-child { line-height: 1.4; }
.facf-explorer .fx-field input, .facf-explorer .fx-field select { width: 100%; min-width: 0; min-height: 47px; padding: 11px 13px; border: 1px solid #ccd6cd; border-radius: 3px; background: #fffefa; color: var(--fx-ink); font-size: 13px; }
.facf-explorer .fx-field select { padding-right: 26px; text-overflow: ellipsis; }
.facf-explorer .fx-search-input { position: relative; display: block; }
.facf-explorer .fx-search-input svg { position: absolute; top: 15px; left: 12px; width: 17px; height: 17px; pointer-events: none; color: #788982; }
.facf-explorer .fx-search-input input { padding-left: 38px; }
.facf-explorer .fx-field input::placeholder { color: #71827c; opacity: 1; }
.facf-explorer .fx-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 32px 0 13px; }
.facf-explorer .fx-results-heading h3 { margin: 0 0 6px; font-family: Quaria, Georgia, serif; font-size: 30px; line-height: 1.15; letter-spacing: -.025em; font-weight: 400; }
.facf-explorer #route-collection-description { margin: 0; color: var(--fx-muted); font-size: 13px; line-height: 1.5; }
.facf-explorer .fx-reset { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; padding: 10px 0; border: 0; border-bottom: 1px solid #a4b2a7; background: transparent; color: var(--fx-ink); font-size: 12px; }
.facf-explorer .fx-reset span { font-size: 18px; font-weight: 400; }
.facf-explorer .fx-reset:hover { border-color: var(--fx-ink); }
.facf-explorer .fx-status { margin: 0 0 15px; color: var(--fx-muted); font-size: 11px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.facf-explorer .fx-results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.facf-explorer .fx-route { display: flex; flex-direction: column; min-width: 0; min-height: 180px; padding: 17px 18px 15px; border: 1px solid var(--fx-line); border-radius: 4px; background: #fffefa; color: var(--fx-ink); text-decoration: none; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.facf-explorer .fx-route-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.facf-explorer .fx-route-market { color: var(--fx-muted); font-size: 10px; letter-spacing: .02em; }
.facf-explorer .fx-route-arrow { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #dce2d7; border-radius: 50%; font-size: 15px; transition: background .2s ease, border-color .2s ease; }
.facf-explorer .fx-route-label { display: block; margin-bottom: 19px; color: var(--fx-muted); font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.facf-explorer .fx-route-destination { display: block; margin-top: 5px; color: var(--fx-ink); font-family: Quaria, Georgia, serif; font-size: 28px; font-weight: 400; line-height: 1.12; letter-spacing: -.025em; overflow-wrap: anywhere; }
.facf-explorer .fx-route-footer { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid #e6e9e2; color: var(--fx-muted); font-size: 10px; line-height: 1.4; }
.facf-explorer .fx-route-country { overflow-wrap: anywhere; }
.facf-explorer .fx-route-type { color: #79877e; font-size: 9px; }
.facf-explorer .fx-route:hover { background: #f1f4eb; border-color: #a9bba7; transform: translateY(-2px); }
.facf-explorer .fx-route:hover .fx-route-arrow { background: var(--fx-gold); border-color: var(--fx-gold); }
.facf-explorer .fx-route:hover .fx-route-destination, .facf-explorer .fx-route:focus-visible .fx-route-destination { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.facf-explorer .fx-pagination { display: flex; flex-direction: column; align-items: center; padding-top: 34px; text-align: center; }
.facf-explorer #route-progress { margin: 0 0 11px; color: var(--fx-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.facf-explorer .fx-progress-track { width: min(220px, 65%); height: 3px; margin-bottom: 21px; overflow: hidden; background: #dfe6dc; border-radius: 2px; }
.facf-explorer #route-progress-fill { display: block; height: 100%; min-width: 4px; background: #a9782d; transition: width .2s ease; }
.facf-explorer .fx-more { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 52px; padding: 14px 25px; border: 1px solid var(--fx-gold); border-radius: 30px; background: var(--fx-gold); color: var(--fx-ink); font-size: 13px; font-weight: 500; transition: background .18s ease, transform .18s ease; }
.facf-explorer .fx-more:hover { background: #edac40; border-color: #edac40; }
.facf-explorer .fx-more:active { transform: translateY(1px); }
.facf-explorer .fx-end { max-width: 44ch; margin: 5px 0 0; color: var(--fx-muted); font-size: 13px; line-height: 1.6; }
.facf-explorer .fx-note { margin: 24px 0 0; color: var(--fx-muted); font-size: 11px; line-height: 1.6; text-align: center; }
.facf-explorer .fx-note a { color: var(--fx-ink); text-underline-offset: 3px; }
.facf-explorer .fx-empty { grid-column: 1 / -1; padding: 44px 24px; background: var(--fx-sage); text-align: center; color: var(--fx-muted); font-size: 15px; line-height: 1.6; }
.facf-explorer :is(button, a, input, select):focus-visible { outline: 3px solid #b47e2e; outline-offset: 4px; }
@media (max-width: 1179px) {
  .facf-explorer .fx-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facf-explorer .fx-collection { gap: 7px; padding-inline: 10px; font-size: 12px; }
  .facf-explorer .fx-collection > svg { width: 18px; height: 18px; flex-basis: 18px; }
}
@media (max-width: 900px) {
  .facf-explorer .fx-collections { display: flex; overflow-x: auto; padding: 3px 3px 9px; margin-inline: -3px; scrollbar-width: thin; scrollbar-color: #b5c2b6 transparent; }
  .facf-explorer .fx-collection { flex: 0 0 auto; min-width: 150px; gap: 10px; padding: 13px; font-size: 13px; }
  .facf-explorer .fx-heading { gap: 24px; }
  .facf-explorer .fx-tools { grid-template-columns: 1fr 1fr; }
  .facf-explorer .fx-sort { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-end; gap: 14px; }
  .facf-explorer .fx-sort select { width: auto; max-width: 65%; }
  .facf-explorer .fx-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .facf-explorer { padding-block: 44px 52px; scroll-margin-top: 82px; }
  .facf-explorer .fx-heading { grid-template-columns: 1fr; gap: 19px; margin-bottom: 26px; }
  .facf-explorer .fx-eyebrow { margin-bottom: 14px; }
  .facf-explorer .fx-heading h2 { font-size: 40px; max-width: 11ch; }
  .facf-explorer .fx-intro { max-width: none; justify-self: start; }
  .facf-explorer .fx-intro p { font-size: 14px; line-height: 1.6; }
  .facf-explorer .fx-total { font-size: 11px; }
  .facf-explorer .fx-market-bar { display: block; margin-bottom: 15px; }
  .facf-explorer .fx-control-caption { display: block; margin-bottom: 9px; font-size: 11px; }
  .facf-explorer .fx-markets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
  .facf-explorer .fx-market { gap: 0; padding: 10px 6px; min-height: 44px; font-size: 12px; }
  .facf-explorer .fx-market span { display: none; }
  .facf-explorer .fx-collections { margin-bottom: 15px; }
  .facf-explorer .fx-collection { min-height: 50px; min-width: 144px; }
  .facf-explorer .fx-tools { grid-template-columns: 1fr; gap: 15px; padding: 18px; }
  .facf-explorer .fx-field input, .facf-explorer .fx-field select { font-size: 14px; min-height: 48px; }
  .facf-explorer .fx-sort { justify-content: space-between; gap: 8px; }
  .facf-explorer .fx-sort select { max-width: 65%; font-size: 12px; }
  .facf-explorer .fx-results-heading { align-items: start; gap: 12px; margin-top: 28px; }
  .facf-explorer .fx-results-heading h3 { font-size: 28px; }
  .facf-explorer #route-collection-description { max-width: 29ch; font-size: 12px; }
  .facf-explorer .fx-reset { gap: 5px; font-size: 11px; white-space: nowrap; padding-top: 5px; }
  .facf-explorer .fx-results { grid-template-columns: 1fr; gap: 10px; }
  .facf-explorer .fx-route { min-height: 166px; padding: 16px 18px; }
  .facf-explorer .fx-route-top { margin-bottom: 10px; }
  .facf-explorer .fx-route-label { margin-bottom: 15px; font-size: 13px; }
  .facf-explorer .fx-route-destination { font-size: 29px; }
  .facf-explorer .fx-route-footer { font-size: 11px; }
  .facf-explorer .fx-route-type { font-size: 10px; }
  .facf-explorer .fx-pagination { padding-top: 28px; }
  .facf-explorer .fx-more { width: 100%; max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .facf-explorer *, .facf-explorer *::before, .facf-explorer *::after { transition: none !important; }
  .facf-explorer .fx-route:hover { transform: none; }
}
