/* Four-elements directory and aircraft finance detail. */
.packages-main, .aircraft-main {
  --ink: #102941;
  --muted: #465d6e;
  --red: #bd2136;
  color: var(--ink);
}
.packages-main :focus-visible, .aircraft-main :focus-visible {
  outline: 3px solid #cf243a;
  outline-offset: 4px;
}
.packages-head.page-hero, .air-hero.detail-hero {
  position: relative;
  background: #102942;
  color: white;
  padding: 0;
}
.packages-head.page-hero::before, .packages-head.page-hero::after,
.air-hero.detail-hero::before, .air-hero.detail-hero::after { display: none; }
.packages-head > .container { padding-block: 28px 39px; }
.pkg-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .81rem; line-height: 1.4; color: #d0deea; }
.pkg-crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pkg-crumbs > [aria-hidden] { color: #95afc2; }
.packages-head h1, .air-hero h1 {
  color: white; margin: 22px 0 9px; max-width: none;
  font: 700 clamp(2.6rem,5.3vw,5rem)/1.03 Arial,Helvetica,sans-serif;
  letter-spacing: -.05em;
}
.packages-head .container > p, .air-hero .container > p {
  color: #e1eaf0; max-width: 62ch; font-size: clamp(1.05rem,1.5vw,1.22rem); line-height: 1.55; margin: 0;
}
.package-grid {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr));
  align-items: stretch; gap: clamp(12px,1.6vw,24px);
  padding-block: clamp(32px,3.8vw,58px) clamp(46px,5vw,78px);
}
.element-card {
  position: relative; background: #fff; border: 1px solid #d5dfe7;
  min-width: 0; display: flex; flex-direction: column; box-shadow: 0 4px 12px #0d2b4210;
  --element: #897550;
}
.element-card.air { --element: #5a87ad; }
.element-card.water { --element: #267981; }
.element-card.fire { --element: #b45d2c; }
.element-card .element-media {
  margin: 0; position: relative; overflow: hidden;
  border-bottom: 4px solid var(--element); background: var(--element);
}
.element-media img { display: block; width: 100%; aspect-ratio: 3/2; height: auto; object-fit: cover; }
.element-media::after { content: ""; position: absolute; inset: 25% 0 0; background: linear-gradient(0deg,#07192bc9,transparent); }
.element-label {
  position: absolute; z-index: 1; left: clamp(14px,1.4vw,22px); bottom: 10px;
  color: #fff; font: italic 400 clamp(2.05rem,3.15vw,3.55rem)/1.05 Georgia, "Times New Roman", serif;
  text-shadow: 0 1px 8px #06182766;
}
.element-copy { padding: clamp(16px,1.45vw,24px); flex: 1; }
.element-copy h2 { margin: 0 0 14px; font-size: clamp(1.22rem,1.6vw,1.55rem); line-height: 1.18; letter-spacing: -.035em; font-weight: 700; }
.element-choice { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: var(--ink); }
.element-choice::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.element-choice:focus-visible { outline: 0; }
.element-choice:focus-visible::after { outline: 3px solid #ba1b32; outline-offset: 3px; }
.element-choice .pkg-arrow { font-size: 1.13rem; color: #aa2035; font-weight: 400; }
.element-card:hover h2 a { color: #a51d31; }
.element-copy ul { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .96rem; line-height: 1.5; }
.element-copy li { display: flex; gap: 9px; align-items: baseline; margin: 5px 0; }
.element-copy li::before { content: ""; flex: none; width: 5px; height: 5px; background: var(--element); border-radius: 50%; align-self: flex-start; margin-top: .58em; }
.element-secondary { position: relative; z-index: 3; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #8c9ca7; }
.element-secondary:hover { color: var(--red); }
.air-hero .air-hero-inner {
  padding-block: 30px 36px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  column-gap: clamp(25px,5vw,76px); align-content: center;
}
.air-hero-inner > :not(.air-cover) { grid-column: 1; }
.air-hero .pkg-crumbs { align-self: end; }
.air-hero h1 { align-self: end; margin-top: 24px; }
.air-hero .air-cover {
  grid-column: 2; grid-row: 1 / span 4; overflow: hidden; border-left: 4px solid #698cac;
  min-height: 225px; align-self: stretch; position: relative; background: #537a9d;
}
.air-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; }
.air-actions { display: flex; align-items: center; gap: 16px 23px; flex-wrap: wrap; margin-top: 22px; }
.air-text-link { color: white; font-size: .94rem; text-decoration: underline; text-underline-offset: 4px; font-weight: 650; }
.aircraft-main .air-section { padding-block: clamp(38px,4.5vw,65px); }
.aircraft-main .air-section h2 { font-size: clamp(1.85rem,3vw,2.75rem); line-height: 1.13; letter-spacing: -.043em; margin: 0; color: var(--ink); }
.air-structures { margin-top: 25px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); column-gap: clamp(16px,2.4vw,36px); row-gap: 24px; }
.air-structures article { border-top: 2px solid #c5d4df; padding-top: 14px; }
.air-structures h3 { margin: 0 0 8px; color: var(--ink); font-size: 1.18rem; line-height: 1.3; letter-spacing: -.02em; }
.air-structures p, .air-market p, .air-brief p, .air-brief li { font-size: 1rem; line-height: 1.59; color: var(--muted); }
.air-structures p { margin: 0; }
.air-market { background: #eff4f7; scroll-margin-top: 15px; }
.air-market .market-caption { margin: 11px 0 24px; max-width: 80ch; }
.air-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .96rem; line-height: 1.55; }
.air-table th, .air-table td { border-bottom: 1px solid #c5d2dc; padding: 15px 18px; vertical-align: top; }
.air-table thead th { background: #12304c; color: #fff; font-weight: 700; font-size: .91rem; }
.air-table tbody tr { background: #fff; }
.air-table tbody th { width: 22%; }
.air-table td:nth-child(2) { width: 29%; }
.air-table .mobile-col { display: none; }
.air-brief > .container { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(22px,7vw,95px); }
.air-brief p { margin: 12px 0 0; }
.air-brief ul { margin: 0; padding-left: 1.2rem; }
.air-brief li { margin-bottom: 8px; }
.air-brief li::marker { color: var(--red); }
.air-brief .air-text-link { color: var(--ink); }
.skip-pkg { position: absolute; left: 12px; top: -200px; z-index: 30; padding: 10px 15px; background: #fff; color: #12304c; }
.skip-pkg:focus { top: 12px; }
@media (max-width:1050px) {
  .package-grid, .air-structures { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .element-media img { aspect-ratio: 2.15/1; }
  .element-label { font-size: 2.6rem; }
}
@media (max-width:720px) {
  .air-hero .air-hero-inner { display: block; padding-block: 24px; }
  .air-hero .air-cover { margin-top: 22px; width: 100%; height: auto; min-height: 0; aspect-ratio: 2.35/1; }
  .air-brief > .container { grid-template-columns: 1fr; gap: 16px; }
  .air-table, .air-table tbody, .air-table tr, .air-table td, .air-table tbody th { display: block; width: 100%; }
  .air-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .air-table tbody tr { padding: 15px; margin-bottom: 12px; border: 1px solid #cbd8e3; }
  .air-table tbody th, .air-table tbody td { padding: 0; border: 0; width: 100%; }
  .air-table tbody th { font-size: 1.08rem; }
  .air-table .mobile-col { display: block; margin: 8px 0 1px; color: #405b71; font-weight: 700; font-size: .83rem; }
}
@media (max-width:520px) {
  .package-grid, .air-structures { grid-template-columns: 1fr; }
  .package-grid { gap: 19px; }
  .packages-head > .container { padding-block: 23px 29px; }
  .element-copy { padding: 15px 17px; }
  .element-copy h2 { font-size: 1.45rem; }
}
