/* ==========================================================================
   Routes + Aircraft CMS (enqueued only on routes/aircraft singles and hubs)
   Colors follow the theme: navy #0D243F, blue #1D4F89 / #154A89
   ========================================================================== */

/* ---------- Routes hub ---------- */
.routes-hub-intro {
  padding: 60px 0 10px;
  text-align: center;
}
.routes-hub-intro .info {
  max-width: 860px;
  margin: 0 auto;
}
.routes-hub-intro .title-border h2:before {
  left: 30%;
  right: 30%;
}
/* Reuse the destinations dropdown styles (scoped to .domestic-destinations-page in main.css) */
.routes-hub-page .route-facts {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.routes-hub-page .route-facts li {
  margin: 0 0 6px;
  color: #0D243F;
}
.routes-hub-page .info .btn {
  margin-top: 10px;
}

/* ---------- Shared detail sections (route + aircraft singles) ---------- */
.oaj-route-details {
  padding: 30px 0 50px;
}
.oaj-route-details h2 {
  font-size: 30px;
  color: #0D243F;
  margin-bottom: 22px;
}
@media (max-width: 768px) {
  .oaj-route-details h2 {
    font-size: 24px;
  }
}
.oaj-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 50px;
}
.oaj-facts.oaj-facts-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}
@media (max-width: 1024px) {
  .oaj-facts, .oaj-facts.oaj-facts-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .oaj-facts, .oaj-facts.oaj-facts-6 {
    grid-template-columns: 1fr;
  }
}
.oaj-fact {
  background: #fff;
  border: 1px solid rgba(29, 79, 137, 0.12);
  border-top: 4px solid #1D4F89;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(13, 36, 63, 0.06);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.oaj-fact-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7a8c;
}
.oaj-fact-value {
  font-size: 20px;
  line-height: 1.3;
  color: #0D243F;
}
.oaj-note {
  font-size: 14px;
  color: #6b7a8c;
  margin: 12px 0 40px;
}

.oaj-airports {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}
@media (max-width: 768px) {
  .oaj-airports {
    grid-template-columns: 1fr;
  }
}
.oaj-airport-col {
  background: #F4F7FB;
  border-radius: 25px;
  padding: 28px 32px;
}
.oaj-airport-col h2 {
  font-size: 24px;
  margin-bottom: 14px;
}
.oaj-airport-col ul, .oaj-models ul, .oaj-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.oaj-airport-col li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid rgba(29, 79, 137, 0.1);
  color: #0D243F;
}
.oaj-airport-col li:last-child {
  border-bottom: 0;
}
.oaj-airport-col li:before {
  content: "\f072"; /* FontAwesome plane */
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 8px;
  color: #1D4F89;
}

.oaj-price-table {
  margin-bottom: 10px;
}
.oaj-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(13, 36, 63, 0.06);
}
.oaj-price-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  background: #fff;
}
.oaj-price-table th {
  background: linear-gradient(265.81deg, #154A89 5.55%, #4D6889 96.69%);
  color: #fff;
  text-align: left;
  font-weight: normal;
  padding: 16px 22px;
}
.oaj-price-table td {
  padding: 16px 22px;
  border-bottom: 1px solid rgba(29, 79, 137, 0.1);
  color: #0D243F;
}
.oaj-price-table tbody tr:nth-child(even) td {
  background: #F4F7FB;
}
.oaj-price-table td a {
  color: #1D4F89;
  text-decoration: underline;
}

.oaj-faqs {
  margin-bottom: 50px;
}
.oaj-faq {
  border: 1px solid rgba(29, 79, 137, 0.15);
  border-radius: 18px;
  margin-bottom: 12px;
  background: #fff;
}
.oaj-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 24px;
  position: relative;
  font-size: 18px;
  color: #0D243F;
}
.oaj-faq summary::-webkit-details-marker {
  display: none;
}
.oaj-faq summary:after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  color: #1D4F89;
}
.oaj-faq[open] summary:after {
  content: "\2212";
}
.oaj-faq-answer {
  padding: 0 24px 18px;
  color: #434343;
}

.oaj-models, .oaj-related {
  margin-bottom: 40px;
}
.oaj-models ul, .oaj-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.oaj-models li, .oaj-related li {
  margin: 0;
}
.oaj-models li, .oaj-related li a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid rgba(29, 79, 137, 0.3);
  color: #0D243F;
  text-decoration: none;
  transition: all 0.3s ease;
}
.oaj-related li a:hover, .oaj-related li a:focus {
  background: #1D4F89;
  border-color: #1D4F89;
  color: #fff;
}

/* ---------- Aircraft hub: tab link + card grid ---------- */
.aircraft-page .aircraft-tab-link {
  margin-top: 20px;
}
.aircraft-grid-block {
  padding: 30px 0 80px;
}
.aircraft-grid-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}
.aircraft-grid-title h2 {
  color: #0D243F;
}
.aircraft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 1024px) {
  .aircraft-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .aircraft-grid {
    grid-template-columns: 1fr;
  }
}
.aircraft-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(13, 36, 63, 0.08);
  text-decoration: none !important;
  color: #0D243F;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.aircraft-card:hover, .aircraft-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(13, 36, 63, 0.16);
}
.aircraft-card-img {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #0D243F;
  overflow: hidden;
}
.aircraft-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
  transition: transform 0.5s ease;
}
.aircraft-card:hover .aircraft-card-img img {
  transform: scale(1.04);
}
.aircraft-card-type {
  position: absolute;
  left: 16px;
  top: 16px;
  background: rgba(13, 36, 63, 0.85);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 50px;
}
.aircraft-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 24px 24px;
  flex: 1;
}
.aircraft-card-title {
  font-size: 24px;
  line-height: 1.2;
}
.aircraft-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.aircraft-card-specs span {
  background: #F4F7FB;
  border-radius: 12px;
  padding: 6px 10px;
  font-size: 14px;
}
.aircraft-card-specs em {
  font-style: normal;
  color: #6b7a8c;
  margin-right: 5px;
}
.aircraft-card-summary {
  font-size: 15px;
  color: #434343;
  line-height: 1.5;
}
.aircraft-card-cta {
  margin-top: auto;
  color: #1D4F89;
  font-size: 16px;
}
.aircraft-card-cta i {
  margin-left: 4px;
  transition: margin 0.3s ease;
}
.aircraft-card:hover .aircraft-card-cta i {
  margin-left: 10px;
}

/* ---------- Destination pages: single airport box, list in columns ---------- */
.oaj-airports.oaj-airports-single {
  grid-template-columns: 1fr;
}
.oaj-airports-single ul {
  columns: 2;
  column-gap: 40px;
}
.oaj-airports-single li {
  break-inside: avoid;
}
@media (max-width: 768px) {
  .oaj-airports-single ul {
    columns: 1;
  }
}

/* ---------- Breadcrumbs (all pages except home) ---------- */
.oaj-breadcrumbs {
  background: #F4F7FB;
  border-bottom: 1px solid rgba(29, 79, 137, 0.1);
  font-size: 14px;
  line-height: 1.5;
  color: #6b7a8c;
  padding: 14px 0;
}
.oaj-breadcrumbs a {
  color: #1D4F89;
  text-decoration: none;
}
.oaj-breadcrumbs a:hover, .oaj-breadcrumbs a:focus {
  text-decoration: underline;
}
.oaj-breadcrumbs .breadcrumb_last {
  color: #0D243F;
}

/* Hero -> breadcrumb bar: no gap. The hero's bottom margin (50px, 30px on phones)
   moves below the breadcrumb bar instead. */
#top:has(+ .oaj-breadcrumbs) {
  margin-bottom: 0;
}
#top + .oaj-breadcrumbs {
  margin-bottom: 50px;
}
@media (max-width: 480px) {
  #top + .oaj-breadcrumbs {
    margin-bottom: 30px;
  }
}

/* ---------- Destinations hub ---------- */
.oaj-facts.oaj-facts-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1024px) {
  .oaj-facts.oaj-facts-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .oaj-facts.oaj-facts-4 {
    grid-template-columns: 1fr;
  }
}
.dest-hub-section {
  padding: 30px 0 40px;
  border-top: 1px solid rgba(29, 79, 137, 0.1);
}
.dest-hub-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 32px;
}
.dest-hub-head p {
  color: #434343;
}
.aircraft-grid.dest-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 1024px) {
  .aircraft-grid.dest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .aircraft-grid.dest-grid {
    grid-template-columns: 1fr;
  }
}
.dest-card .aircraft-card-title {
  font-size: 21px;
}
.dest-hub-all {
  margin: 34px 0 0;
}
.dest-hub-all h3 {
  font-size: 20px;
  color: #0D243F;
  margin-bottom: 14px;
}
.dest-hub-all ul {
  gap: 10px;
}
.dest-hub-all li a {
  padding: 8px 16px;
  font-size: 15px;
}
.dest-hub-button {
  text-align: center;
  margin: 26px 0 0;
}
.dest-hub-why {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 1024px) {
  .dest-hub-why {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .dest-hub-why {
    grid-template-columns: 1fr;
  }
}
.dest-hub-why .oaj-fact p {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: #434343;
}
.dest-hub .oaj-faqs {
  border-top: 1px solid rgba(29, 79, 137, 0.1);
  padding-top: 30px;
}

/* ---------- Inner-page header (header.php .header-new): logo always centered ----------
   Desktop nav shows above 1220px (main.css .mobile_hide breakpoint). Three-column grid:
   left menu | logo | right menu + phone. Item spacing scales with the viewport so
   neither side wraps. */
@media (min-width: 1221px) {
  /* Every visible gap is the same: between menu items AND between each menu and the logo.
     Logo stays centered; each menu grows outward from the logo.
     --oaj-nav-gap is sized so the (wider) left menu nearly reaches the left edge:
     ~24px at 1240px, ~41px at 1440px, ~64px at 1600px, 100px max (1920px+). */
  .header-new {
    --oaj-nav-gap: clamp(24px, calc(14.5vw - 168px), 100px);
  }
  .header-new > .wrap.flex {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: var(--oaj-nav-gap);
  }
  .header-new #logo {
    justify-self: center;
  }
  .header-new > .wrap > .main_nav {
    justify-self: end;
  }
  .header-new .header-right-group {
    justify-self: start;
    position: relative;
  }
  .header-new .main_nav .level_a {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: var(--oaj-nav-gap);
  }
  .header-new .main_nav .level_a > li,
  .header-new .main_nav .level_a > li:last-child {
    margin-right: 0;
  }
  /* dropdown chevrons are drawn 20px outside their item: reserve that space so
     the visible gap after a chevron equals the other gaps */
  .header-new .main_nav .level_a > li.menu-item-has-children {
    margin-right: 20px;
  }
  /* phone: small line under the right-hand menu, right-aligned with Contact Us */
  .header-new .header-phone {
    position: absolute;
    right: 0;
    top: calc(100% + 14px);
  }
  .header-new.header-before .header-phone {
    top: calc(100% + 8px);
  }
}
@media (min-width: 1221px) and (max-width: 1360px) {
  .header-new .main_nav .level_a > li > a {
    font-size: 16px;
  }
}
/* Phone link styling (small text + icon) */
.header-new .header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.header-new .header-phone i {
  font-size: 14px;
}
.header-new .header-phone:hover, .header-new .header-phone:focus {
  color: #fff;
  text-decoration: underline;
}
