/* =====================================================================
   Beyond Journey - the FAQ page (bjfq-), an add-on to css/bj-legal.css
   ---------------------------------------------------------------------
   /faq was the last page still drawn by the template: a breadcrumb banner
   over a placeholder picture, an accordion from css/style.css with every
   word of every question capitalised, and two closing blocks with square
   navy buttons. Rebuilt 2026-10-01 in the legal pages' language, which is
   About's and Contact's: the same hero, canvas, cards and pill buttons
   come from css/bj-legal.css (the page wraps itself in .bjlg), and this
   file adds only what a policy page does not have - the list of
   questions, the card that takes a question, and the closing invitation.

   The questions are <details>, so they open without script, are found by
   the browser's find-in-page, and the `name` they share closes the last
   one when another opens.
   ===================================================================== */

/* no "at a glance" cards hang over this hero's edge, so it ends sooner */
.bjlg.bjfq .bjlg-hero { padding-bottom: 60px; }

/* the questions lead; the card that takes one more sits beside them and,
   on a narrow screen, after them - where "if your question is not above"
   is true */
.bjfq .bjlg-layout { grid-template-columns: minmax(0, 1fr) 300px; }

.bjfq-list { display: grid; gap: 10px; }
.bjfq-item {
  border-radius: 14px; background: var(--bjlg-surface);
  border: 1px solid var(--bjlg-line);
  transition: border-color .2s var(--bjlg-ease), box-shadow .2s var(--bjlg-ease);
}
.bjfq-item:hover { border-color: #d9d8d2; }
.bjfq-item[open] { border-color: rgba(245, 118, 26, .5); box-shadow: var(--bjlg-shadow); }
.bjfq-item > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 500; line-height: 1.45; color: var(--bjlg-ink);
}
.bjfq-item > summary::-webkit-details-marker { display: none; }
.bjfq-item > summary::marker { content: ""; }
.bjfq-item > summary:focus-visible { outline: 3px solid rgba(245, 118, 26, .45); outline-offset: 2px; border-radius: 14px; }
/* plus, drawn from two bars; the upright one lies down when the answer opens */
.bjfq-item__mark {
  position: relative; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--bjlg-orange-50); border: 1px solid rgba(245, 118, 26, .28);
  transition: background-color .2s var(--bjlg-ease), border-color .2s var(--bjlg-ease);
}
.bjfq-item__mark::before, .bjfq-item__mark::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; border-radius: 2px;
  background: var(--bjlg-orange); transform: translate(-50%, -50%);
  transition: transform .25s var(--bjlg-ease), background-color .2s;
}
.bjfq-item__mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.bjfq-item[open] .bjfq-item__mark { background: var(--bjlg-orange); border-color: var(--bjlg-orange); }
.bjfq-item[open] .bjfq-item__mark::before, .bjfq-item[open] .bjfq-item__mark::after { background: #fff; }
.bjfq-item[open] .bjfq-item__mark::after { transform: translate(-50%, -50%) rotate(0deg); }
.bjfq-item__a { padding: 0 62px 20px 20px; }
.bjfq .bjfq-item__a p { font-size: 14px; line-height: 1.8; color: var(--bjlg-body); }
.bjfq .bjfq-item__a a { color: var(--bjlg-orange-600); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.bjfq .bjfq-item__a a:hover { color: var(--bjlg-ink); }

/* the card that takes a question - the navy help card of the other FAQ
   sections (holiday, flights), with the page's one real enquiry path */
.bjfq-ask {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 24px 22px; border-radius: var(--bjlg-r);
  background: linear-gradient(140deg, #111c35 0%, var(--bjlg-navy) 45%, var(--bjlg-navy-2) 100%);
  color: rgba(255, 255, 255, .8);
}
.bjfq-ask::after {
  content: ""; position: absolute; right: -90px; top: -90px; width: 240px; height: 240px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(245, 118, 26, .34), rgba(245, 118, 26, 0) 70%);
}
.bjfq-ask__ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-size: 16px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #ffb27a;
}
.bjfq-ask__ico > svg, .bjfq-ask__ico > i { width: 1em; height: 1em; }
.bjfq .bjfq-ask h2 { margin-top: 14px; font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: #fff; }
.bjfq .bjfq-ask p { margin-top: 8px; font-size: 13px; line-height: 1.7; }
.bjfq .bjfq-ask p a { color: #fff; font-weight: 500; white-space: nowrap; }
.bjfq .bjfq-ask p a:hover { color: #ffb27a; }
.bjfq .bjfq-ask .bjlg-btn { margin-top: 18px; min-height: 42px; padding: 0 20px; font-size: 13px; }

/* the closing invitation, on the canvas under the questions */
.bjfq .bjfq-more {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 28px;
  margin-top: 8px; padding: 26px 28px; border-radius: var(--bjlg-r);
  background: var(--bjlg-surface); border: 1px solid var(--bjlg-line);
}
.bjfq-more__kicker { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--bjlg-orange-600); }
.bjfq .bjfq-more h2 { margin-top: 6px; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.bjfq .bjfq-more p { margin-top: 6px; max-width: 560px; font-size: 13.5px; line-height: 1.7; color: var(--bjlg-body); }
.bjfq .bjfq-more .bjlg-btn { min-height: 44px; font-size: 13px; white-space: nowrap; }

@media (max-width: 1199px) {
  .bjfq .bjlg-layout { grid-template-columns: minmax(0, 1fr) 272px; }
}
@media (max-width: 991px) {
  .bjfq .bjlg-layout { grid-template-columns: 1fr; }
  .bjlg.bjfq .bjlg-hero { padding-bottom: 52px; }
}
@media (max-width: 767px) {
  .bjlg.bjfq .bjlg-hero { padding-bottom: 44px; }
  .bjfq-item > summary { padding: 15px 16px; font-size: 14px; gap: 12px; }
  .bjfq-item__a { padding: 0 16px 16px; }
  .bjfq .bjfq-item__a p { font-size: 13.5px; line-height: 1.75; }
  /* phone buttons are as wide as their label, centred in their card
     (the owner's rule, 2026-09-26) */
  .bjfq-ask { text-align: center; padding: 22px 18px; }
  .bjfq-ask__ico { margin: 0 auto; }
  .bjfq .bjfq-more { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .bjfq-item, .bjfq-item__mark, .bjfq-item__mark::before, .bjfq-item__mark::after { transition: none; }
}
@media print {
  .bjfq-ask, .bjfq-more { display: none !important; }
}
