/* lucht.css — sky-vision showcase. Kop/structuur = Davis-format (STANDARD-FORMAT.md);
   glas-kaarten (.lucht-card) komen uit het gedeelde css/format.css. Alleen page-specifiek hier. */

/* Embed-frame: exact de Davis/zon-referentie (20px boven, 24px zijkanten). */
.lucht-embed { padding-top: 20px; padding-left: 24px; padding-right: 24px; min-width: 0; }

/* ── Kop: basis in /css/format.css; hier alleen align-items, marge en kleur. ── */
.lucht-headbar { align-items: center; margin: 0 0 16px; }
.lucht-hero-title { color: #e7ecf3; }
.lucht-hero-title .hl { color: #22d3ee; }
.lucht-head-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.82rem; color: #8a93a8; margin-top: 4px; }
.lucht-sep { color: #4a5366; }
.lucht-embed .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,0.6); flex: none; }
.lucht-embed .dot.is-off { background: #6b7280; box-shadow: none; }
.lucht-head-right { display: flex; align-items: center; gap: 12px; }
.lucht-locale { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; background: rgba(255,255,255,0.03); }
.lucht-locale-icon { font-size: 1.15rem; }
.lucht-locale-place { font-size: 0.8rem; color: #cbd5e1; font-weight: 600; }
.lucht-locale-coords { font-size: 0.72rem; color: #8a93a8; }

/* ── Layout ── */
.lucht-main { display: flex; flex-direction: column; gap: 14px; }
.lucht-main.is-stale { opacity: 0.82; }
.lucht-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.lucht-card-title { font-size: 1.02rem; color: #e7ecf3; display: flex; align-items: center; gap: 8px; margin: 0; }
.lucht-ico { opacity: 0.9; }

/* ── 1. Luchtband ── */
.lucht-band { padding: 0; overflow: hidden; }
.lucht-band-wrap { position: relative; width: 100%; height: 230px; background: linear-gradient(180deg, #0d1117, #161b22); }
.lucht-band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lucht-band-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #6b7280; font-size: 0.85rem; }
.lucht-band-label { position: absolute; left: 12px; bottom: 10px; font-size: 0.74rem; color: #cbd5e1;
  background: rgba(13,17,23,0.6); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 3px 9px; backdrop-filter: blur(6px); }

/* ── 2. Oordeel ── */
.lucht-verdict-main { display: flex; align-items: center; gap: 16px; }
.lucht-verdict-icon { font-size: 3rem; line-height: 1; flex: none; }
.lucht-verdict-body { flex: 1; min-width: 0; }
.lucht-verdict-type { font-size: 1.5rem; font-weight: 600; color: #e7ecf3; margin-bottom: 8px; }
.lucht-conf-label { font-size: 0.74rem; color: #8a93a8; margin-bottom: 4px; display: flex; gap: 6px; align-items: baseline; }
.lucht-conf-label #vConfPct { color: #22d3ee; font-variant-numeric: tabular-nums; font-weight: 600; }
.lucht-conf-bar { height: 8px; border-radius: 5px; background: rgba(255,255,255,0.08); overflow: hidden; }
.lucht-conf-fill { display: block; height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, #38bdf8, #22d3ee); transition: width 0.4s ease; }
.lucht-reason { margin: 14px 0 0; padding: 10px 14px; border-left: 3px solid #22d3ee; background: rgba(34,211,238,0.06); border-radius: 0 8px 8px 0; }
.lucht-reason-l { font-size: 0.74rem; color: #8a93a8; display: block; margin-bottom: 2px; }
.lucht-reason-t { color: #cbd5e1; font-style: italic; }
.lucht-ai-badge { display: flex; align-items: center; gap: 9px; margin-top: 14px; padding: 9px 13px;
  border: 1px solid rgba(34,211,238,0.28); border-radius: 10px; background: rgba(34,211,238,0.07); }
.lucht-ai-ico { font-size: 1.15rem; flex: none; }
.lucht-ai-txt { font-size: 0.84rem; color: #cbd5e1; }
.lucht-ai-model { color: #22d3ee; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lucht-verdict-bg { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 0.82rem; color: #8a93a8; }
.lucht-bg-thumb { width: 54px; height: 34px; object-fit: cover; border-radius: 6px; border: 1px solid rgba(255,255,255,0.12); flex: none; }
.lucht-darknote { margin-top: 12px; font-size: 0.82rem; color: #8a93a8; }

/* ── 3. Zon-correctie ── */
.lucht-correction { border-left: 3px solid rgba(56,189,248,0.5); }
.lucht-correction-body { margin: 0; color: #cbd5e1; font-size: 0.9rem; line-height: 1.5; }

/* ── 4. Bronnen ── */
.lucht-sources-intro { margin: 0 0 12px; color: #8a93a8; font-size: 0.85rem; }
.lucht-sources-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.lucht-src { padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); text-align: center; }
.lucht-src-ico { font-size: 1.4rem; margin-bottom: 6px; }
.lucht-src-name { font-size: 0.72rem; color: #cbd5e1; font-weight: 600; margin-bottom: 4px; }
.lucht-src-val { font-size: 0.86rem; color: #22d3ee; font-variant-numeric: tabular-nums; margin-bottom: 4px; min-height: 1.2em; }
.lucht-src-desc { font-size: 0.68rem; color: #6b7280; line-height: 1.3; }

/* ── 5. Tijdlijn ── */
.lucht-timeline-intro { margin: 0 0 12px; color: #8a93a8; font-size: 0.85rem; }
.lucht-timeline-wrap { position: relative; }
.lucht-timeline-track { position: relative; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.04); overflow: hidden; cursor: crosshair; }
.lucht-tl-blk { position: absolute; top: 0; bottom: 0; min-width: 2px; }
.lucht-timeline-empty { color: #6b7280; font-size: 0.85rem; padding: 6px 0; }
/* Directe hover-tooltip (kleuren via JS .style — CSP-veilig), zweeft boven de balk. */
.lucht-tl-tip { position: absolute; top: 0; transform: translate(-50%, calc(-100% - 8px)); display: flex; align-items: center; gap: 7px;
  background: rgba(13,17,23,0.96); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 5px 10px;
  font-size: 0.76rem; color: #cbd5e1; pointer-events: none; white-space: nowrap; z-index: 6; }
.lucht-tl-tip .tip-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.lucht-tl-tip .tip-hr { color: #e7ecf3; font-variant-numeric: tabular-nums; font-weight: 600; }
.lucht-tl-tip .tip-cf { color: #22d3ee; font-variant-numeric: tabular-nums; }

/* ── 6. Uitleg ── */
.lucht-about-body { margin: 0 0 10px; color: #cbd5e1; font-size: 0.9rem; line-height: 1.55; }
.lucht-about-privacy { margin: 0; color: #8a93a8; font-size: 0.82rem; line-height: 1.5; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 10px; }

/* ── Responsive (verplichte drie breakpoints) ── */
@media (max-width: 980px) {
  .lucht-sources-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .lucht-embed { padding-left: 0; padding-right: 0; }
  .lucht-hero-title { font-size: 1.35rem; }
  .lucht-headbar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .lucht-head-right { width: 100%; }
  .lucht-locale { width: 100%; }
  .lucht-verdict-icon { font-size: 2.4rem; }
  .lucht-verdict-type { font-size: 1.25rem; }
  .lucht-sources-grid { grid-template-columns: repeat(2, 1fr); }
  .lucht-band-wrap { height: 175px; }
}
@media (max-width: 420px) {
  .lucht-sources-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .lucht-verdict-main { gap: 12px; }
  .lucht-band-wrap { height: 140px; }
}
