/* Spaceflight Firsts · /moon-landing/ section styles (loaded only on this section) */
:root { --ml-went: #2f6f9f; --ml-faked: #a5503b; --ml-both: #8a94a6; }

.ml-hero { background: var(--navy-deep); }
.ml-hero-fig { margin: 0 auto; padding-top: 18px; padding-bottom: 6px; }
.ml-hero-fig img { display: block; width: 100%; border-radius: 8px; }
.ml-hero-fig figcaption { color: rgba(255,255,255,.6); font-size: .75rem; text-align: right; padding: 4px 2px 0; }

.ml-byline { color: var(--ink-soft); font-size: .95rem; margin: 0 0 1.4em; }
.ml-block { padding-top: 8px; padding-bottom: 24px; }
.ml-intro { max-width: 46em; }
.ml-note { color: var(--ink-soft); font-size: .85rem; margin: .4em 0 1em; }

/* The short answer */
.ml-answer { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px 26px; max-width: 52em; border-left: 6px solid var(--orange); }
.ml-answer p { margin: 0 0 .7em; }
.ml-answer-q { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .78rem; color: var(--orange); }
.ml-answer-a { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.ml-answer-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 1em 0 0 !important; }
.ml-answer .btn { background: var(--orange); }
.ml-answer .btn:hover { background: var(--orange-dark); }
.ml-answer .btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.ml-answer .btn--ghost:hover { background: #fff; color: var(--navy); }

.ml-stats { list-style: none; padding: 0; margin: 22px 0 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; max-width: 52em; }
.ml-stats li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.ml-stats strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.ml-stats span { font-size: .85rem; color: var(--ink-soft); }

/* Controls and tabs */
.ml-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 14px 0 18px; }
.ml-switch { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; cursor: pointer; }
.ml-switch input { width: 18px; height: 18px; accent-color: var(--orange); }
.ml-textbtn { background: none; border: 0; padding: 0; font: inherit; font-size: .95rem; color: var(--navy-2); text-decoration: underline; text-decoration-color: rgba(255,107,26,.6); text-underline-offset: 3px; cursor: pointer; }
.ml-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--line); margin-bottom: 18px; position: sticky; top: 0; z-index: 5; background: var(--paper); }
.ml-tab { flex: 1; font: inherit; font-weight: 800; font-size: 1rem; padding: 14px 12px; border: 0; background: transparent; color: var(--ink-soft); cursor: pointer; border-bottom: 4px solid transparent; margin-bottom: -2px; }
.ml-tab span { display: inline-block; min-width: 1.6em; padding: 0 .45em; margin-left: .3em; border-radius: 999px; background: var(--line); color: var(--ink); font-size: .8rem; }
.ml-tab--went[aria-selected="true"] { color: var(--ml-went); border-bottom-color: var(--ml-went); }
.ml-tab--faked[aria-selected="true"] { color: var(--ml-faked); border-bottom-color: var(--ml-faked); }
.ml-panel-lede { font-size: 1.05rem; color: var(--ink-soft); max-width: 46em; }
.ml-index { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; counter-reset: mli; }
.ml-index li { counter-increment: mli; }
.ml-index a { display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--navy); }
.ml-index a::before { content: counter(mli) ". "; color: var(--ink-soft); }
.ml-index a:hover { border-color: var(--orange); }
.ml-next { margin: 26px 0 6px; }

/* Argument cards */
.arg { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 14px; margin: 0 0 18px; border-top: 5px solid var(--ml-went); scroll-margin-top: 70px; }
.arg[data-side="faked"] { border-top-color: var(--ml-faked); }
.arg.is-target { box-shadow: 0 0 0 3px rgba(255,107,26,.45); }
.arg-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.arg-head h3 { flex: 1; font-size: 1.2rem; font-weight: 800; color: var(--navy); padding-top: 3px; }
.arg-num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--ml-went); }
.arg[data-side="faked"] .arg-num { background: var(--ml-faked); }
.arg-link { flex: none; font: inherit; font-size: .78rem; font-weight: 600; color: var(--ink-soft); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; cursor: pointer; }
.arg-link:hover { border-color: var(--orange); color: var(--navy); }
.arg-row { padding: 10px 0 2px; }
.arg-row p { margin: 0 0 .5em; }
.arg-tag { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 800; color: var(--ink-soft); margin-bottom: .2em !important; }
.arg-reply { border-top: 1px dashed var(--line); margin-top: 6px; }
.arg-lands { background: #fff7f1; border-left: 4px solid var(--orange); border-radius: 0 8px 8px 0; padding: 10px 14px 4px; margin: 6px 0 4px; }
.arg-lands .arg-tag { color: var(--orange-dark); }
.arg-lands p:last-child { font-weight: 600; color: var(--navy); }
.reveal { display: none; font: inherit; font-weight: 700; font-size: .95rem; margin: 8px 0 4px; padding: 9px 18px; border-radius: 999px; border: 2px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; }
.reveal:hover { background: var(--navy); color: #fff; }
.ml-judging .arg:not(.is-open) .arg-reply { display: none; }
.ml-judging .arg:not(.is-open) .reveal { display: inline-block; }

/* Clips */
.arg-watch, .src-clips { margin-top: 8px; }
.arg-watch summary, .src-clips summary { cursor: pointer; font-weight: 700; font-size: .95rem; color: var(--navy-2); padding: 6px 0; }
.count { display: inline-block; font-size: .75rem; font-weight: 700; background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft); border-radius: 999px; padding: 0 8px; margin-left: 4px; }
.clips { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.clips li { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper); }
.clip { flex: 1; display: flex; gap: 10px; align-items: center; text-align: left; font: inherit; border: 0; background: transparent; padding: 8px 10px; cursor: pointer; color: var(--ink); }
.clip:hover { background: #fff; }
.clips .clip.sff-yt-play { position: static; inset: auto; display: flex; box-sizing: border-box; }
.clips .clip.sff-yt-play:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.clip-play { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: .7rem; padding-left: 2px; }
.clip-text { display: flex; flex-direction: column; line-height: 1.3; }
.clip-label { font-weight: 600; font-size: .9rem; }
.clip-label::first-letter { text-transform: uppercase; }
.clip-meta { font-size: .78rem; color: var(--ink-soft); }
.clip-yt { flex: none; display: flex; align-items: center; padding: 0 10px; font-size: .72rem; font-weight: 700; text-decoration: none; color: var(--ink-soft); border-left: 1px solid var(--line); }
.clip-yt:hover { color: var(--orange-dark); background: #fff; }

/* Verdict */
.ml-verdict-band { background: var(--navy); color: #fff; padding: 18px 0 26px; margin: 26px 0; }
.ml-verdict-band h2, .ml-verdict-band h3 { color: #fff; }
.ml-verdict-lede { font-size: 1.15rem; max-width: 46em; }
.ml-verdict-lede strong { color: var(--orange); font-size: 1.3rem; }
.ml-verdict-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 18px 0; }
.ml-vcard { background: var(--navy-2); border-radius: var(--radius); padding: 16px 18px; border-top: 4px solid var(--orange); }
.ml-vcard h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 8px; }
.ml-vcard p { margin: 0; font-size: .95rem; color: rgba(255,255,255,.88); }
.ml-fair { max-width: 52em; }
.ml-fair p { color: rgba(255,255,255,.9); }

/* Videos list */
.ml-split { display: flex; height: 22px; border-radius: 999px; overflow: hidden; max-width: 52em; margin: 14px 0 8px; }
.split-seg { min-width: 4px; }
.seg-pro, .fill-pro, .dot-pro { background: var(--ml-went); }
.seg-both, .fill-both, .dot-both { background: var(--ml-both); }
.seg-hoax, .fill-hoax, .dot-hoax { background: var(--ml-faked); }
.ml-legend { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .9rem; }
.dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.ml-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.ml-filter { font: inherit; font-size: .88rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--navy); cursor: pointer; }
.ml-filter.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.ml-sources { list-style: none; padding: 0; margin: 0; }
.src { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px 10px; margin-bottom: 10px; }
.src-top { display: flex; gap: 14px; align-items: baseline; justify-content: space-between; }
.src-name { font-weight: 700; color: var(--navy); }
.src-name a { color: var(--navy); }
.src-meta { display: block; font-weight: 400; font-size: .82rem; color: var(--ink-soft); }
.src-views { flex: none; font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.bar { height: 8px; background: var(--paper); border-radius: 999px; margin: 8px 0 6px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; }
.src-take { margin: 4px 0 2px; font-size: .95rem; }
.src-none { margin: 4px 0; font-size: .85rem; color: var(--ink-soft); }

/* Related and method */
.ml-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.ml-related h3 { margin: 0 0 8px; font-weight: 800; }
.ml-related ul { margin: 0 0 14px; padding-left: 1.1em; }
.ml-related li { margin-bottom: 4px; }
.ml-memory { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); padding: 16px 18px; }
.ml-method p { max-width: 46em; }
.ml-caveat, .ml-disclosure { font-size: .95rem; }
.ml-disclosure { color: var(--ink-soft); }
.ml-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.ml-share-msg { font-size: .9rem; color: var(--ink-soft); }

/* Player */
.ml-player { width: min(920px, 94vw); padding: 0; border: 0; border-radius: 12px; background: var(--navy-deep); color: #fff; }
.ml-player::backdrop { background: rgba(7,19,40,.78); }
.ml-player-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.ml-player-title { flex: 1; margin: 0; font-weight: 700; font-size: .95rem; }
.ml-player-close { font: inherit; font-size: 1.1rem; background: none; border: 0; color: #fff; cursor: pointer; padding: 4px 8px; }
.ml-player-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.ml-player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ml-player-foot { margin: 0; padding: 8px 14px 12px; font-size: .82rem; color: rgba(255,255,255,.7); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ml-player-foot a { color: var(--orange); font-weight: 700; }

@media (max-width: 640px) {
  .ml-tab { font-size: .88rem; padding: 12px 6px; }
  .arg { padding: 16px 14px 10px; }
  .arg-link { display: none; }
  .clips { grid-template-columns: 1fr; }
}
@media print {
  .ml-controls, .ml-tabs, .reveal, .ml-filters, .ml-share, .arg-link { display: none !important; }
  .ml-panel[hidden] { display: block !important; }
  .arg-reply { display: block !important; }
}
.ml-sources-list { margin: 10px 0 6px; max-width: 52em; }
.ml-sources-list summary { cursor: pointer; font-weight: 700; color: var(--navy-2); padding: 6px 0; }
.ml-sources-list ol { margin: 6px 0 0; padding-left: 1.4em; font-size: .92rem; }
.ml-sources-list li { margin-bottom: 4px; }
.ml-quiz-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; max-width: 52em; background: #fff; border: 1px solid #dfe4ec; border-left: 6px solid var(--navy); border-radius: var(--radius); padding: 16px 22px; margin: 0 0 18px; box-shadow: 0 2px 10px rgba(11,29,58,.06); }
.ml-quiz-card > div { flex: 1 1 320px; }
.ml-quiz-card p { margin: 0 0 .3em; }
.ml-quiz-card > p { margin: 0; }
.ml-quiz-q { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .74rem; color: var(--orange); }
.ml-quiz-h { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.ml-quiz-line { margin-top: 1em; }
.ml-photo { margin: 6px 0 20px; max-width: 640px; }
.ml-photo img { display: block; width: 100%; height: auto; border-radius: 8px; }
.ml-photo figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: 6px; line-height: 1.45; }
.ml-credit { white-space: nowrap; }
.arg-fig { float: right; width: 38%; max-width: 340px; margin: 2px 0 12px 20px; }
.arg-fig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: #0b1d3a; }
.arg-fig figcaption { font-size: .78rem; line-height: 1.4; color: var(--ink-soft); margin-top: 5px; }
.arg-credit { white-space: nowrap; }
.arg::after { content: ""; display: block; clear: both; }
@media (max-width: 700px) { .arg-fig { float: none; width: 100%; max-width: none; margin: 4px 0 12px; } }
