/* learn-tofly.com citation typography (preview, 2026-11-12).
   Photo captions, credits, source lines and reference notes.
   Desktop 12px, phones 11px; muted cream on the dark cockpit background.
   IBM Plex Mono (labels and credits; body type is Barlow). */
:root{
  --cite:#d8d0bc;
  --cite-link:#ffd98a;
}

/* Photo captions and credits. Leave plain YouTube "Watch on YouTube"
   figcaptions alone; style the ones that are actually credits (.mut). */
figure:not(.yt-clip) figcaption,
figure.yt-clip figcaption.mut,
small.credit,
.ph .credit,
.badge-note .src,
.cite-block p,
.cite-block li{
  font-family:'IBM Plex Mono',ui-monospace,monospace !important;
  font-size:12px !important;
  font-weight:500 !important;
  line-height:1.45 !important;
  letter-spacing:.02em !important;
  color:var(--cite) !important;
}

figure:not(.yt-clip) figcaption a,
figure.yt-clip figcaption.mut a,
small.credit a,
.ph .credit a,
.badge-note a.src,
.cite-block a{
  font-family:inherit !important;
  font-size:inherit !important;
  color:var(--cite-link) !important;
  text-decoration:underline;
  text-underline-offset:2px;
}


/* Wrapper only; do not inherit the page's section padding or top border. */
.cite-block{
  padding:0;
  margin:0;
  border:none;
  background:transparent;
}

/* Keep the Source/Sources heading at normal heading size; only the notes shrink. */
.cite-block h2{
  /* unchanged on purpose */
}

@media (max-width:600px){
  figure:not(.yt-clip) figcaption,
  figure.yt-clip figcaption.mut,
  small.credit,
  .ph .credit,
  .badge-note .src,
  .cite-block p,
  .cite-block li{
    font-size:11px !important;
  }
}
