/* airline-styles.css — RouteLinq airline pages */
/* Loaded via head slot — static file, no Astro scoping */

/* ── VARIABLES ── */
:root {
  --rl-slate:      #1E293B;
  --rl-slate-dark: #0F172A;
  --rl-slate-mid:  #334155;
  --rl-gray:       #64748B;
  --rl-gray-light: #94A3B8;
  --rl-border:     #E2E8F0;
  --rl-bg:         #F8FAFC;
  --rl-white:      #FFFFFF;
  --rl-coral:      #E85D3A;
  --rl-coral-hov:  #CC4D2D;
  --rl-green-pos:  #16a34a;
  --rl-amber-warn: #d97706;
  --rl-red-neg:    #dc2626;
}

/* ── AIRLINE COLOR OVERRIDE ── */
/* Each page sets --airline via a style tag in the head */

/* ── BREADCRUMB ── */
.al-bc {
  background: var(--rl-white);
  border-bottom: 1px solid var(--rl-border);
  padding: 8px 0;
}
.al-bc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--rl-gray);
}
.al-bc-inner a {
  color: var(--rl-coral);
  text-decoration: none;
  font-weight: 600;
}

/* ── HERO ── */
.al-hero {
  background: linear-gradient(135deg, var(--rl-slate) 0%, #2D3F5A 60%, #1a2d46 100%);
  color: #F8FAFC;
  padding: 3rem 0 5rem;
  overflow: hidden;
  position: relative;
}
.al-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,.03) 0%, transparent 70%);
  pointer-events: none;
}
.al-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.al-hero-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.al-logo-wrap {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  overflow: hidden;
  padding: 6px;
}
.al-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.al-logo-fb {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--airline, var(--rl-coral));
  display: none;
}
.al-hero-info h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: .5rem;
  letter-spacing: -1px;
}
.al-htags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .5rem;
}
.al-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: .2rem .65rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
}
.al-tag-lt {
  background: rgba(248,250,252,.15);
  color: #F8FAFC;
  border: 1px solid rgba(248,250,252,.25);
}
.al-tag-coral {
  background: var(--rl-coral);
  color: #fff;
}
.al-hero-stats {
  display: flex;
  gap: 3rem;
}
.al-hs-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.al-hs-lbl {
  font-size: .8rem;
  opacity: .75;
  margin-top: 2px;
}

/* ── BTS STRIP ── */
.al-bts-strip {
  background: var(--rl-white);
  border-bottom: 1px solid var(--rl-border);
  position: relative;
  margin-top: -2rem;
  z-index: 10;
}
.al-bts-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.al-bts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--rl-border);
}
.al-bc2 {
  padding: 1.2rem 1rem;
  border-right: 1px solid var(--rl-border);
  background: var(--rl-white);
}
.al-bc2:last-child { border-right: none; }
.al-bc2-lbl {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--rl-gray-light);
  margin-bottom: 4px;
}
.al-bc2-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rl-slate);
}
.al-bc2-val.good { color: var(--rl-green-pos); }
.al-bc2-val.warn { color: var(--rl-coral); }
.al-bc2-sub {
  font-size: .68rem;
  color: var(--rl-gray-light);
  margin-top: 2px;
}

/* ── MAIN CONTAINER ── */
.al-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 24px 6rem;
}

/* ── TYPOGRAPHY ── */
.al-main h2 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--rl-slate);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -.3px;
}
.al-sec-sub {
  color: var(--rl-gray);
  font-size: .88rem;
  margin-top: -.5rem;
  margin-bottom: 1.25rem;
}

/* ── SPINNER ── */
.al-spin-wrap {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1.5rem;
  color: var(--rl-gray);
  font-size: .9rem;
}
.al-spin {
  width: 18px;
  height: 18px;
  border: 2px solid var(--rl-border);
  border-top-color: var(--rl-slate);
  border-radius: 50%;
  animation: al-spin .7s linear infinite;
}
@keyframes al-spin { to { transform: rotate(360deg); } }
@keyframes al-fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ── PROSE ── */
.al-prose {
  background: var(--rl-white);
  border: 1px solid var(--rl-border);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  border-left: 3px solid var(--rl-coral);
}
.al-prose h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--rl-slate);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.al-prose p {
  color: #475569;
  font-size: .92rem;
  line-height: 1.85;
  margin-bottom: .75rem;
}
.al-prose p:last-child { margin-bottom: 0; }

/* ── HUBS ── */
.al-hubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: .75rem;
  margin-bottom: 2rem;
}
.al-hub-card {
  background: var(--rl-white);
  border: 1px solid var(--rl-border);
  border-radius: 8px;
  padding: 1rem;
  transition: all .2s;
}
.al-hub-card:hover {
  border-color: var(--rl-slate);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(30,41,59,.08);
}
.al-hub-card.primary {
  border-color: #CBD5E1;
  background: #F1F5F9;
}
.al-primary-badge {
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--rl-slate);
  background: rgba(30,41,59,.08);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: .4rem;
}
.al-hub-iata {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rl-slate);
  line-height: 1;
}
.al-hub-city {
  font-size: .72rem;
  color: var(--rl-gray);
  margin-top: .15rem;
  line-height: 1.3;
}

/* ── SEARCH CTA ── */
.al-search-cta {
  background: var(--rl-white);
  border: 1px solid var(--rl-border);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.al-cta-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--rl-slate);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .2rem;
}
.al-cta-text p { color: var(--rl-gray); font-size: .85rem; }
.al-cta-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.al-cta-in {
  background: var(--rl-bg);
  border: 1px solid var(--rl-border);
  border-radius: 6px;
  padding: .6rem .9rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--rl-slate);
  width: 72px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .15s;
}
.al-cta-in:focus { border-color: var(--rl-slate); }
.al-cta-arr { color: var(--rl-coral); font-weight: 700; font-size: 1.1rem; }
.al-btn-go {
  background: var(--rl-coral);
  color: #fff;
  border: none;
  padding: .65rem 1.25rem;
  font-size: .88rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all .2s;
  white-space: nowrap;
}
.al-btn-go:hover { background: var(--rl-coral-hov); }

/* ── SIDEBAR PANELS ── */
.al-sidebar-only {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.al-sidebar-only .al-panel { flex: 1; min-width: 240px; }
.al-panel {
  background: var(--rl-white);
  border: 1px solid var(--rl-border);
  border-radius: 10px;
  overflow: hidden;
}
.al-panel-head {
  padding: .9rem 1.25rem;
  border-bottom: 1px solid var(--rl-border);
  background: var(--rl-bg);
  font-family: 'Space Grotesk', sans-serif;
  color: var(--rl-slate);
  font-size: .95rem;
  font-weight: 700;
}
.al-prow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .65rem 1.25rem;
  border-bottom: 1px solid var(--rl-border);
  font-size: .82rem;
}
.al-prow:last-child { border-bottom: none; }
.al-pl { color: var(--rl-gray); }
.al-pv { font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
.al-pv.good { color: var(--rl-green-pos); }
.al-pv.warn { color: var(--rl-coral); }
.al-fleet-item { padding: .65rem 1.25rem; border-bottom: 1px solid var(--rl-border); }
.al-fleet-item:last-child { border-bottom: none; }
.al-fleet-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: .8rem;
}
.al-ft { color: var(--rl-gray); }
.al-fp { font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
.al-fbar { height: 4px; background: #eee; border-radius: 2px; overflow: hidden; }
.al-fbar-fill { height: 100%; border-radius: 2px; background: var(--rl-slate); opacity: .6; }

/* ── FLEET UTILIZATION ── */
.al-util-section { margin-bottom: 2rem; }
.al-util-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.al-kpi-card {
  background: var(--rl-white);
  border: 1px solid var(--rl-border);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
}
.al-kpi-lbl {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--rl-gray-light);
  margin-bottom: .35rem;
}
.al-kpi-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rl-slate);
  line-height: 1;
}
.al-kpi-sub {
  font-size: .72rem;
  color: var(--rl-gray);
  margin-top: .2rem;
}
.al-aircraft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.al-ac-card {
  background: var(--rl-white);
  border: 1px solid var(--rl-border);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  transition: all .2s;
  animation: al-fadeUp .35s ease both;
}
.al-ac-card:hover {
  border-color: var(--rl-slate);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(30,41,59,.06);
}
.al-ac-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: .75rem;
}
.al-ac-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--rl-slate);
  line-height: 1.2;
}
.al-ac-family { font-size: .7rem; color: var(--rl-gray); margin-top: .15rem; }
.al-ac-badge {
  font-size: .68rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 20px;
  white-space: nowrap;
}
.badge-narrow { background: #e0f2fe; color: #0369a1; }
.badge-wide   { background: #ede9fe; color: #6d28d9; }
.badge-regional { background: #fef3c7; color: #b45309; }
.badge-turbo  { background: #fce7f3; color: #9d174d; }
.al-ac-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem .75rem;
  margin-bottom: .75rem;
}
.al-ac-stat-lbl {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--rl-gray-light);
  font-weight: 600;
}
.al-ac-stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  color: var(--rl-slate);
}
.al-ac-lf-wrap { margin-top: .25rem; }
.al-ac-lf-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  font-size: .75rem;
}
.al-ac-lf-label { color: var(--rl-gray); }
.al-ac-lf-pct { font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
.al-ac-lf-bar-bg { height: 6px; background: #eee; border-radius: 3px; overflow: hidden; }
.al-ac-lf-bar { height: 100%; border-radius: 3px; transition: width .8s ease; }

/* ── EFF TABLE ── */
.al-eff-table {
  background: var(--rl-white);
  border: 1px solid var(--rl-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.al-eff-thead {
  display: grid;
  padding: .6rem 1.25rem;
  background: var(--rl-bg);
  border-bottom: 1px solid var(--rl-border);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--rl-gray-light);
}
.al-eff-row {
  display: grid;
  padding: .8rem 1.25rem;
  align-items: center;
  border-bottom: 1px solid var(--rl-border);
  font-size: .85rem;
  transition: background .12s;
  animation: al-fadeUp .35s ease both;
}
.al-eff-row:last-child { border-bottom: none; }
.al-eff-row:hover { background: var(--rl-bg); }
.al-eff-ac {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--rl-slate);
}
.al-eff-ac small {
  font-weight: 400;
  color: var(--rl-gray);
  font-size: .72rem;
  display: block;
  margin-top: 1px;
  font-family: 'Inter', sans-serif;
}
.al-lf-pill {
  display: inline-block;
  padding: .15rem .5rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
}
.lf-high { background: #dcfce7; color: #166534; }
.lf-mid  { background: #fef9c3; color: #854d0e; }
.lf-low  { background: #fee2e2; color: #991b1b; }

/* ── TOP ROUTES ── */
.al-tr-section { margin-bottom: 2rem; }
.al-tr-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.al-tr-tab-btn {
  padding: .5rem 1.25rem;
  font-size: .85rem;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid var(--rl-border);
  background: var(--rl-white);
  color: var(--rl-gray);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all .2s;
}
.al-tr-tab-btn.active {
  background: var(--rl-slate);
  border-color: var(--rl-slate);
  color: #fff;
}
.al-tr-tab-btn:hover:not(.active) {
  border-color: var(--rl-slate);
  color: var(--rl-slate);
}
.al-tr-table {
  background: var(--rl-white);
  border: 1px solid var(--rl-border);
  border-radius: 10px;
  overflow: hidden;
}
.al-tr-thead {
  display: grid;
  grid-template-columns: 28px 1fr 1fr 100px 80px 80px;
  padding: .6rem 1.25rem;
  background: var(--rl-bg);
  border-bottom: 1px solid var(--rl-border);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--rl-gray-light);
}
.al-tr-row {
  display: grid;
  grid-template-columns: 28px 1fr 1fr 100px 80px 80px;
  padding: .85rem 1.25rem;
  align-items: center;
  border-bottom: 1px solid var(--rl-border);
  transition: background .12s;
  animation: al-fadeUp .35s ease both;
}
.al-tr-row:last-child { border-bottom: none; }
.al-tr-row:hover { background: var(--rl-bg); }
.al-tr-rank { font-size: .72rem; color: var(--rl-gray-light); font-weight: 700; }
.al-tr-ap {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rl-slate);
  line-height: 1;
}
.al-tr-city { font-size: .7rem; color: var(--rl-gray); margin-top: 2px; }
.al-tr-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--rl-slate);
}
.al-tr-bar-bg { height: 4px; background: #eee; border-radius: 2px; overflow: hidden; margin-top: 3px; }
.al-tr-bar-fill { height: 100%; border-radius: 2px; background: var(--rl-coral); }

/* ── MONTHLY CHART ── */
.al-chart-card {
  background: var(--rl-white);
  border: 1px solid var(--rl-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.al-chart-head {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--rl-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.al-chart-head h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--rl-slate);
  font-size: 1rem;
  font-weight: 700;
}
.al-chart-src { font-size: .72rem; color: var(--rl-gray-light); }
.al-chart-body { padding: 1.25rem 1.5rem 1rem; }
.al-bar-group {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 140px;
}
.al-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.al-bar-wrap { width: 100%; flex: 1; display: flex; align-items: flex-end; }
.al-bar-fill {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: var(--rl-slate);
  opacity: .65;
  transition: opacity .2s;
  min-height: 4px;
}
.al-bar-fill:hover { opacity: 1; }
.al-bar-lbl { font-size: .62rem; color: var(--rl-gray-light); font-weight: 600; }

/* ── GALLERY ── */
.al-gallery-section { margin-top: 3rem; margin-bottom: 2.5rem; }
.al-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .6rem;
  margin-top: 1.25rem;
}
.al-gallery-item {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #eee;
  border: 1px solid var(--rl-border);
}
.al-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s, opacity .2s;
}
.al-gallery-item:hover img { transform: scale(1.05); }
.al-gallery-item.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  background: var(--rl-white);
}
.al-gallery-item.placeholder::after {
  content: 'No image';
  font-size: .72rem;
  color: var(--rl-gray-light);
}
.al-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.al-lightbox.open { display: flex; }
.al-lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: 8px; object-fit: contain; }
.al-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
}
.al-lightbox-prev, .al-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(255,255,255,.1);
  border: none;
  padding: .5rem .9rem;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  transition: background .2s;
}
.al-lightbox-prev { left: 1.5rem; }
.al-lightbox-next { right: 1.5rem; }
.al-lightbox-prev:hover, .al-lightbox-next:hover { background: rgba(255,255,255,.2); }
.al-lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  font-size: .82rem;
}

/* ── ARTICLES ── */
.al-articles-section { margin-bottom: 2.5rem; }
.al-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
.al-article-card {
  background: var(--rl-white);
  border: 1px solid var(--rl-border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all .2s;
}
.al-article-card:hover {
  border-color: var(--rl-slate);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(30,41,59,.08);
}
.al-article-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #f0f0f0; }
.al-article-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
  display: flex;
  align-items: center;
  justify-content: center;
}
.al-article-thumb-placeholder span { font-size: 2rem; opacity: .3; }
.al-article-body {
  padding: 1rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.al-article-date {
  font-size: .7rem;
  color: var(--rl-gray-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.al-article-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  color: var(--rl-slate);
  line-height: 1.4;
}
.al-article-excerpt { font-size: .8rem; color: var(--rl-gray); line-height: 1.6; flex: 1; }
.al-article-read { font-size: .78rem; font-weight: 700; color: var(--rl-coral); margin-top: .25rem; }
.al-articles-empty {
  padding: 2rem;
  text-align: center;
  color: var(--rl-gray);
  font-size: .88rem;
  background: var(--rl-white);
  border: 1px solid var(--rl-border);
  border-radius: 8px;
}

/* ── FAQ ── */
.al-faq-section { margin-top: 3rem; margin-bottom: 3rem; }
.al-faq-list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.al-faq-item {
  border: 1px solid var(--rl-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--rl-white);
}
.al-faq-q {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--rl-slate);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background .15s;
}
.al-faq-q:hover { background: var(--rl-bg); }
.al-faq-q svg { flex-shrink: 0; transition: transform .2s; }
.al-faq-item.open .al-faq-q svg { transform: rotate(180deg); }
.al-faq-a {
  display: none;
  padding: 0 1.25rem 1rem;
  font-size: .875rem;
  color: var(--rl-gray);
  line-height: 1.7;
}
.al-faq-item.open .al-faq-a { display: block; }
.al-faq-a strong { color: var(--rl-slate); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .al-hero-stats { display: none; }
  .al-hero-inner { flex-direction: column; align-items: flex-start; }
  .al-bts-grid { grid-template-columns: repeat(2, 1fr); }
  .al-hubs-grid { grid-template-columns: repeat(3, 1fr); }
  .al-search-cta { flex-direction: column; align-items: flex-start; }
  .al-util-kpis { grid-template-columns: repeat(2, 1fr); }
  .al-aircraft-grid { grid-template-columns: 1fr; }
  .al-eff-thead, .al-eff-row { grid-template-columns: 1.8fr 80px !important; }
  .al-eff-row > *:nth-child(2), .al-eff-row > *:nth-child(3), .al-eff-row > *:nth-child(4) { display: none; }
  .al-eff-thead > *:nth-child(2), .al-eff-thead > *:nth-child(3), .al-eff-thead > *:nth-child(4) { display: none; }
  .al-tr-thead, .al-tr-row { grid-template-columns: 22px 1fr 1fr 80px !important; }
  .al-tr-row > *:nth-child(5), .al-tr-row > *:nth-child(6) { display: none; }
  .al-tr-thead > *:nth-child(5), .al-tr-thead > *:nth-child(6) { display: none; }
  .al-gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .al-articles-grid { grid-template-columns: 1fr; }
  .al-sidebar-only { flex-direction: column; }
}
@media (max-width: 480px) {
  .al-hero-info h1 { font-size: 1.8rem; }
  .al-bts-grid { grid-template-columns: 1fr 1fr; }
  .al-hubs-grid { grid-template-columns: repeat(2, 1fr); }
  .al-util-kpis { grid-template-columns: 1fr 1fr; }
  .al-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── ROUTE PROFITABILITY ANALYSIS ── */
.rpa-section { margin-bottom: 2rem; }

/* Verdict card */
.rpa-verdict {
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.rpa-verdict-pos { background: #DCFCE7; border: 1px solid #86EFAC; }
.rpa-verdict-neg { background: #FEE2E2; border: 1px solid #FCA5A5; }
.rpa-verdict-mix { background: #FEF3C7; border: 1px solid #FDE68A; }

.rpa-verdict-main {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}
.rpa-verdict-pos .rpa-verdict-main { color: #166534; }
.rpa-verdict-neg .rpa-verdict-main { color: #991B1B; }
.rpa-verdict-mix .rpa-verdict-main { color: #92400E; }

.rpa-verdict-sub { font-size: 13px; margin-top: 4px; }
.rpa-verdict-pos .rpa-verdict-sub { color: #16a34a; }
.rpa-verdict-neg .rpa-verdict-sub { color: #dc2626; }
.rpa-verdict-mix .rpa-verdict-sub { color: #d97706; }

.rpa-verdict-profit {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  flex-shrink: 0;
}
.rpa-profit-pos { color: #16a34a; }
.rpa-profit-neg { color: #dc2626; }

/* Stats strip */
.rpa-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1px;
  background: #E2E8F0;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}
.rpa-stat {
  background: #fff;
  padding: 14px 16px;
}
.rpa-stat-lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #94A3B8; margin-bottom: 4px; }
.rpa-stat-val { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; color: #1E293B; line-height: 1; }
.rpa-stat-val.pos { color: #16a34a; }
.rpa-stat-val.neg { color: #dc2626; }
.rpa-stat-val.warn { color: #d97706; }
.rpa-stat-sub { font-size: 11px; color: #94A3B8; margin-top: 3px; }

/* Breakdown row */
.rpa-breakdowns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.rpa-breakdown {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
}
.rpa-breakdown-hd {
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 9px 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #1E293B;
}
.rpa-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 12px;
}
.rpa-breakdown-row:last-child { border-bottom: none; }
.rpa-brl { color: #64748B; }
.rpa-brv { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #1E293B; }

/* Route lists */
.rpa-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.rpa-list {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
}
.rpa-list-hd {
  padding: 10px 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid #E2E8F0;
}
.rpa-list-hd-pos { background: #DCFCE7; color: #166534; }
.rpa-list-hd-neg { background: #FEE2E2; color: #991B1B; }

.rpa-route-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 12px;
  cursor: pointer;
  transition: background .1s;
  text-decoration: none;
  color: inherit;
}
.rpa-route-row:last-child { border-bottom: none; }
.rpa-route-row:hover { background: #F8FAFC; }

.rpa-route-pair {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
}
.rpa-route-cities { font-size: 10px; color: #94A3B8; margin-top: 1px; }
.rpa-route-metrics { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.rpa-route-profit { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; }
.rpa-route-status { font-size: 10px; }

/* High dependency + At Risk tables */
.rpa-insights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Badges (reuse from airport analytics) */
.rpa-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  white-space: nowrap;
}
.rpa-thrilled   { background:#DCFCE7;color:#166534; }
.rpa-happy      { background:#D1FAE5;color:#065F46; }
.rpa-precarious { background:#FEF3C7;color:#92400E; }
.rpa-strategic  { background:#FED7AA;color:#9A3412; }
.rpa-unhappy    { background:#FEE2E2;color:#991B1B; }
.rpa-atrisk     { background:#FEE2E2;color:#991B1B; }
.rpa-growing    { background:#DCFCE7;color:#166534; }
.rpa-stable     { background:#F1F5F9;color:#475569; }
.rpa-declining  { background:#FEF3C7;color:#92400E; }

@media (max-width: 768px) {
  .rpa-breakdowns { grid-template-columns: 1fr; }
  .rpa-lists      { grid-template-columns: 1fr; }
  .rpa-insights   { grid-template-columns: 1fr; }
}

/* ── NETWORK INTELLIGENCE ── */
.ni-block { background: #fff; border: 1px solid #E2E8F0; border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.ni-block-hd { background: #1E293B; color: #F8FAFC; padding: 10px 16px; font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; }
.ni-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.ni-col { border-right: 1px solid #E2E8F0; }
.ni-col:last-child { border-right: none; }
.ni-col-hd { padding: 9px 14px; font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; border-bottom: 1px solid #E2E8F0; }
.ni-pos { background: #DCFCE7; color: #166534; }
.ni-neg { background: #FEE2E2; color: #991B1B; }
.ni-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; border-bottom: 1px solid #F1F5F9; font-size: 12px; }
.ni-row:last-child { border-bottom: none; }
.ni-row-right { flex-shrink: 0; }
.ni-airport { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #1E293B; font-size: 13px; }
.ni-badge { display: inline-block; padding: 2px 7px; border-radius: 20px; font-size: 10px; font-weight: 700; white-space: nowrap; font-family: 'Space Grotesk', sans-serif; }
.ni-empty { padding: 12px 14px; font-size: 12px; color: #94A3B8; }
.ni-season-row { padding: 12px 16px; font-size: 13px; color: #1E293B; }
.ni-summaries { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.ni-summary-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 8px; overflow: hidden; }
.ni-summary-hd { background: #F8FAFC; border-bottom: 1px solid #E2E8F0; padding: 9px 14px; font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; color: #1E293B; }
.ni-summary-row { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-bottom: 1px solid #F1F5F9; }
.ni-summary-row:last-child { border-bottom: none; }
.ni-bar-wrap { flex: 1; height: 5px; background: #E2E8F0; border-radius: 3px; overflow: hidden; }
.ni-bar { height: 100%; border-radius: 3px; }
.ni-summary-cnt { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; color: #1E293B; min-width: 28px; text-align: right; }
.ni-three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ni-route-list { background: #fff; border: 1px solid #E2E8F0; border-radius: 8px; overflow: hidden; }
.ni-route-list-hd { background: #F8FAFC; border-bottom: 1px solid #E2E8F0; padding: 9px 14px; font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; color: #1E293B; }
.ni-route-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 14px; border-bottom: 1px solid #F1F5F9; text-decoration: none; color: inherit; transition: background .1s; }
.ni-route-row:last-child { border-bottom: none; }
.ni-route-row:hover { background: #F8FAFC; }
.ni-route-pair { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; color: #1E293B; display: block; }
.ni-route-city { font-size: 10px; color: #94A3B8; display: block; margin-top: 1px; }
@media (max-width: 768px) {
  .ni-two-col { grid-template-columns: 1fr; }
  .ni-summaries { grid-template-columns: 1fr; }
  .ni-three-col { grid-template-columns: 1fr; }
}

/* ── Airline logo images ── */
.al-logo {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #E2E8F0;
  vertical-align: middle;
  flex-shrink: 0;
  display: inline-block;
}
.al-logo.sm { width: 20px; height: 20px; }

/* ── ROUTE MAP (Leaflet) ── */
.rm-wrap { border: 1px solid #E2E8F0; border-radius: 8px; overflow: hidden; }
.rm-loading-wrap { height: 460px; display: flex; align-items: center; justify-content: center; background: #F8FAFC; }
.rm-empty { height: 460px; display: flex; align-items: center; justify-content: center; color: #94A3B8; font-size: 13px; background: #F8FAFC; }
.leaflet-popup-content-wrapper { border-radius: 6px; font-family: 'Inter', sans-serif; font-size: 12px; }
.leaflet-popup-content strong { font-family: 'Space Grotesk', sans-serif; color: #1E293B; }

/* ── Section description text ── */
.ap-section-desc { font-size: 13px; color: #64748B; line-height: 1.65; margin: 6px 0 16px; max-width: 720px; }
