/* =========================================================
   Havalimanı listesi (/havalimanlari) — airports.css
   Gerçek <table>: masaüstünde sıralanabilir başlıklar; telefonda her satır
   kart olur, sütun başlıkları data-l etiketiyle değerin önüne düşer.
   ========================================================= */
.aptable-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.aptable { width: 100%; border-collapse: collapse; font-size: 14px; }
.aptable th {
  text-align: left; padding: 10px 16px; background: var(--bg); border-bottom: 1px solid var(--line);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-400); white-space: nowrap;
}
.aptable th a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.aptable th a i { font-size: 13px; opacity: .55; }
.aptable th a:hover { color: var(--ink-900); }
.aptable th.is-sorted a { color: var(--ink-900); }
.aptable th.is-sorted a i { opacity: 1; color: var(--accent); }
.aptable th.r, .aptable td.r { text-align: right; }
.aptable td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-700); vertical-align: middle; font-variant-numeric: tabular-nums; }
.aptable tbody tr:last-child td { border-bottom: 0; }
.aptable tbody tr { cursor: pointer; transition: background .15s var(--ease); }
.aptable tbody tr:hover { background: #fbfbfe; }
.aptable__code a {
  display: inline-grid; place-items: center; width: 52px; height: 34px; border-radius: 9px; text-decoration: none;
  font: 700 12.5px 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em;
  background: var(--bg); color: var(--ink-500); border: 1px solid var(--line-strong);
}
.is-reviewed .aptable__code a { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.aptable__name a { font-size: 15px; font-weight: 700; color: var(--ink-900); text-decoration: none; }
.aptable__name a:hover { color: var(--accent); }
.aptable__sub { display: none; }
.aptable__city { color: var(--ink-600); white-space: nowrap; }
.aptable__city img, .aptable__sub img { width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; }
.aptable__score b { font: 800 15px 'Manrope', sans-serif; color: var(--ink-900); }
.aptable__stars { display: inline-flex; color: var(--gold); font-size: 12px; margin-left: 4px; }
.aptable__chip { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink-500); white-space: nowrap; }
.aptable td small { color: var(--ink-400); font-size: 11.5px; }
.aptable .dash { color: var(--ink-300); }

/* ---------- Telefon: satır → kart ---------- */
@media (max-width: 760px) {
  .aptable-wrap { background: transparent; border: 0; border-radius: 0; overflow: visible; }
  .aptable, .aptable tbody { display: block; }
  .aptable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .aptable tbody tr {
    position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
    padding: 12px 14px 12px 80px; margin-bottom: 10px; min-height: 62px;
  }
  .aptable tbody tr.is-reviewed { border-color: var(--line-strong); }
  .aptable td { display: block; padding: 0; border: 0; }
  .aptable td.aptable__code { position: absolute; left: 14px; top: 13px; }
  .aptable td.aptable__name { flex: 1 0 100%; }
  .aptable__name a { font-size: 14.5px; line-height: 1.25; }
  .aptable__sub { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-400); font-size: 12px; margin-top: 2px; }
  .aptable td.aptable__city { display: none; }
  .aptable td.r { text-align: left; display: inline-flex; align-items: baseline; gap: 5px; font-size: 12.5px; color: var(--ink-600); }
  .aptable td.r::before { content: attr(data-l); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-400); }
  .aptable__score b { font-size: 14px; }
  .aptable__stars { font-size: 11px; }
}
