/* Guides-Startseite /spotting-guides (templates/news/guides.html, web/guides_hub.py), Entwurf design/spotting-guides/ Kopf D,
   von Marco 21.11.2026 freigegeben. Farben aus landing_x.css/chrome_x.css (--ps-*), Farbton je Bereich über --h. */
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap; src: url("/static/fonts/barlow-semi-condensed-700-latin.woff2") format("woff2"); }
.lx .gh { --hf: "Barlow Semi Condensed", var(--font); display: grid; gap: 40px; padding: 28px 0 64px; min-width: 0; }
.lx .gh, .lx .gh [style*="--h"] { --tint: oklch(var(--t-l) var(--t-c) var(--h, 190)); --ink: oklch(var(--i-l) var(--i-c) var(--h, 190)); }
.lx .gh :is(h1, h2) { font-family: var(--hf); font-weight: 700; letter-spacing: 0; line-height: 1.05; }
.lx .gh h2 { font-size: clamp(24px, 2.4vw, 30px); }
.lx .gh-iata { font-size: .72em; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.lx .gh svg { flex: none; }

/* Kopf: Bild über die volle Breite, links Titel/Suche/Zahlen, rechts Latest guides */
.lx .gh-hero { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); padding: 24px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; min-height: 490px; background: #17223d; }   /* 490 px wie im Entwurf, sonst schneidet das Bild oben die A380 ab */
.lx .gh-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.lx .gh-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 14 26 / .55), rgb(10 14 26 / .15) 50%, rgb(10 14 26 / 0)); }
.lx .gh-hero > :not(.gh-bg) { position: relative; z-index: 1; }
.lx .gh-hero-tx { display: flex; flex-direction: column; gap: 16px; padding: 52px 8px 28px; color: #fff; }
.lx .gh-hero h1 { font-size: clamp(44px, 5.2vw, 66px); color: #fff; }
.lx .gh-hero-tx p { font-size: 18px; color: rgb(255 255 255 / .86); max-width: 46ch; }
.lx .gh-search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: 10px; max-width: 520px;
  background: rgb(255 255 255 / .26); border: 1px solid rgb(255 255 255 / .55); }
.lx .gh-search svg { width: 20px; height: 20px; color: rgb(255 255 255 / .85); }
.lx .gh-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 16px var(--font); color: #fff; outline: none; }
.lx .gh-search input::placeholder { color: rgb(255 255 255 / .9); }
.lx .gh-stats { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: auto; padding-top: 24px; color: rgb(255 255 255 / .8); font-size: 15px; }
.lx .gh-stats b { color: #fff; font-size: 22px; font-weight: 800; margin-right: 4px; }
.lx .gh-cred { position: absolute !important; left: 24px; bottom: 10px; color: rgb(255 255 255 / .7); font-size: 12px; }
.lx .gh-latest { display: grid; gap: 6px; align-content: start; padding: 14px; border-radius: 14px; background: color-mix(in oklab, var(--card) 88%, transparent); }
.lx .gh-lh { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 6px; }
.lx .gh-lh b { font-size: 17px; }
.lx .gh-lh a, .lx .gh-more { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: 14px; }
.lx .gh-lh svg, .lx .gh-more svg { width: 15px; height: 15px; }
.lx .gh-li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; padding: 6px; border-radius: 10px; }
.lx .gh-li:hover { background: color-mix(in oklab, var(--tint) 25%, var(--card)); }
.lx .gh-li-m { position: relative; display: block; height: 72px; border-radius: 8px; overflow: hidden; background: color-mix(in oklab, var(--tint) 45%, var(--card)); }
.lx .gh-li-m > :is(img, svg) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lx .gh-li-t { display: grid; gap: 4px; justify-items: start; }
.lx .gh-li-t b { font-size: 16px; line-height: 1.25; }
.lx .gh-li-t small { color: var(--muted); font-size: 13px; }

/* Most viewed airports, live */
.lx .gh-band { display: grid; gap: 16px; padding: 24px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); margin-top: -18px; }
.lx .gh-band-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.lx .gh-band-h h2 { font-size: 24px; }
.lx .gh-band-h p { color: var(--muted); }
.lx .gh-band-h .gh-more { margin-left: auto; }
.lx .gh-live { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 7px; border-radius: 4px; background: oklch(0.86 0.12 150);
  color: oklch(0.3 0.09 150); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.lx .gh-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lx .gh-nows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lx .gh-now { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border-radius: 10px;
  background: color-mix(in oklab, var(--tint) 30%, var(--card)); border: 1px solid transparent; }
.lx .gh-now:hover { border-color: var(--ink); }
.lx .gh-now-rw { display: block; background: var(--card); border-radius: 8px; }
.lx .gh-now-tx { display: grid; gap: 1px; min-width: 0; }
.lx .gh-now-tx b { font-size: 15px; }
.lx .gh-now-d { display: flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: 14px; }
.lx .gh-now-d svg { width: 16px; height: 16px; }
.lx .gh-now-r { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.lx .gh-rw { display: block; width: 100%; height: auto; }
.lx .gh-rw .rw { stroke: var(--ink); stroke-width: 5; }
.lx .gh-now .gh-rw .rw { stroke: var(--ps-faint); }
.lx .gh-now .gh-rw .rw.on { stroke: var(--ink); }

/* Abschnitte */
.lx .gh-sec { display: grid; gap: 18px; min-width: 0; scroll-margin-top: 80px; }
.lx .gh-sh h2 { display: flex; align-items: center; gap: 12px; }
.lx .gh-sh h2 i { width: 14px; height: 14px; border-radius: 3px; background: var(--ink); }
.lx .gh-sh p { color: var(--muted); margin-top: 6px; max-width: 64ch; }
.lx .gh-apgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.lx .gh-ap { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.lx .gh-ap:hover { border-color: var(--ink); }
.lx .gh-ap-rw { display: block; background: color-mix(in oklab, var(--tint) 45%, var(--card)); padding: 4px 10px 0; }
.lx .gh-ap-tx { display: grid; gap: 3px; padding: 12px 16px 14px; align-content: start; }
.lx .gh-ap-tx b { font-size: 16px; }
.lx .gh-ap-f { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.lx .gh-ap-s { color: var(--muted); font-size: 13px; }
.lx .gh-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.lx .gh-az { columns: 4 200px; column-gap: 24px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.lx .gh-az-c { break-inside: avoid; margin-bottom: 18px; }
.lx .gh-az-c h3 { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.lx .gh-az-c ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.lx .gh-az-c a { font-size: 15px; }
.lx .gh-az-c a:hover { color: var(--ink); }
.lx .gh-az-c a span { font-size: 12px; font-weight: 700; color: var(--muted); margin-left: 2px; }
.lx .gh-none { color: var(--muted); }
.lx .gh-how { display: grid; gap: 14px; }
.lx .gh-how h2 { font-size: 24px; }
.lx .gh-how-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lx .gh-how-g > div { padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.lx .gh-how-g p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.lx .gh .lic { color: var(--muted); font-size: 13px; }
.lx .gh [hidden] { display: none !important; }

@media (max-width: 900px) {
  .lx .gh { gap: 32px; padding-top: 16px; }
  .lx .gh-hero { grid-template-columns: 1fr; padding: 16px; min-height: 0; }
  .lx .gh-hero::after { background: rgb(10 14 26 / .35); }
  .lx .gh-hero-tx { padding: 8px 4px 24px; }
  .lx .gh-hero-tx p { font-size: 16px; }
  .lx .gh-cred { position: static !important; font-size: 11px; }   /* Handy: Nachweis unter dem Kasten statt über dem Titel */
  .lx .gh-ap:nth-child(n+9) { display: none; }   /* Handy: 8 Plätze, alle weiteren in der A–Z-Liste */
  .lx .gh-li { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
  .lx .gh-li-m { height: 60px; }
  .lx .gh-band { padding: 16px; margin-top: -12px; }
  .lx .gh-band-h .gh-more { margin-left: 0; }
  .lx .gh-nows { grid-template-columns: 1fr; }
  .lx .gh-apgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lx .gh-ap-rw svg { max-height: 100px; }
  .lx .gh-ap-tx { padding: 10px 12px 12px; }
  .lx .gh-how-g { grid-template-columns: 1fr; }
  .lx .gh-az { padding: 16px; columns: 2; }
}

/* Farbvariante A „neutral“ (Marco 21.11.2026, statt Türkis überall): helle Flächen wie die übrigen Kästen, Akzent Planescope-Blau */
.lx .gh, .lx .gh [style*="--h"] { --h: 250 !important; }
.lx .gh-now { background: var(--card); border: 1px solid var(--line); }
.lx .gh-now-rw, .lx .gh-ap-rw { background: var(--soft); }

/* Guide-Beiträge (/guides/<slug>) im Design der Guides-Seite: Überschriften in Barlow (Marco 21.11.2026) */
.lx.gh-post .nx :is(h1, h2) { font-family: "Barlow Semi Condensed", var(--font); font-weight: 700; letter-spacing: 0; }
