/* CryptoInsider: navigation overlays the homepage image. */
.site-crypto.home .site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  background: transparent;
}
.site-crypto.home .header-inner { min-height: 96px; background: transparent; border-bottom: 1px solid #ffffff24; }
.site-crypto .brand { overflow: visible; }
.site-crypto .brand img {
  display: block;
  width: 250px;
  height: auto;
  aspect-ratio: 3 / 1;
  max-height: none;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.site-crypto.home .crypto-hero.home-hero { min-height: max(760px, 100svh); }
.site-crypto.home .home-hero .crypto-hero-copy { padding-block: 176px 96px; }
.site-crypto.home .crypto-hero.home-hero::after {
  background: linear-gradient(180deg, rgba(12,22,25,.5), transparent 24%), linear-gradient(90deg, rgba(12,22,25,.92), rgba(12,22,25,.7) 34%, rgba(12,22,25,.08) 74%);
}

/* Dronegamble: a racing journal, with flat surfaces and technical typography. */
.site-racing {
  --paper: #f3f2eb;
  --ink: #18362c;
  --muted: #53605a;
  --line: #d2d7ce;
  --accent: #b94315;
  --display: 'IBM Plex Sans', Arial, sans-serif;
  --body: 'Source Sans 3', Arial, sans-serif;
  --race-dark: #142f26;
  --race-orange: #f17b3f;
  background: var(--paper);
}
.site-racing h1, .site-racing h2, .site-racing h3 { font-weight: 700; }
.site-racing .site-header { position: relative; top: 0; left: auto; right: auto; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-racing .header-inner { width: calc(100% - 80px); min-height: 88px; padding: 0; border-radius: 0; box-shadow: none; background: transparent; }
.site-racing .brand img.brand-logo-image { width: 250px; max-height: none; }
.site-racing .desktop-nav { font-size: 15px; gap: 30px; }
.site-racing .button { border-radius: 2px; font-weight: 600; }
.site-racing .mobile-nav { left: 0; right: 0; top: 100%; border-radius: 0; background: var(--paper); }
.site-racing .photo-hero.inner-hero { min-height: 430px; }
.site-racing .inner-hero .hero-inner { padding-block: 80px; }
.site-racing .page-heading { padding-top: 64px; }
.site-racing .story-card, .site-racing .article-wrap, .site-racing .race-timeline > section > div { border-radius: 0; }
.site-racing .race-timeline img { border-radius: 0; }
.site-racing .site-footer { background: var(--paper); border-top: 4px solid var(--race-orange); padding-top: 0; }
.site-racing .footer-top { gap: 48px; }
.site-racing .faq-list { background: transparent; padding: 0; }
.site-racing .faq-list summary { padding-block: 24px; }

.race-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: max(720px, calc(100svh - 89px));
  background: var(--race-dark);
  color: #f6f6ec;
  overflow: hidden;
}
.race-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 56px 40px max(40px, calc((100vw - 1280px) / 2));
}
.race-kicker { font-family: 'IBM Plex Sans', Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .13em; line-height: 1.6; margin: 0 0 22px; }
.race-hero .race-kicker { color: #ffab78; }
.race-hero h1 { max-width: 650px; font-size: clamp(56px, 5.6vw, 96px); letter-spacing: -.055em; line-height: .99; margin: 0 0 30px; text-wrap: balance; }
.race-deck { font-size: 20px; line-height: 1.55; max-width: 380px; color: #d9e2d8; margin: 0 0 32px; }
.race-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.site-racing .race-actions .button { background: var(--race-orange); color: #102c23; min-height: 52px; }
.site-racing .race-actions .button:hover { background: #ff9b66; }
.race-actions .text-link { color: #f6f6ec; font-size: 15px; }
.race-quicklinks { display: flex; flex-wrap: wrap; gap: 24px; border-top: 1px solid #ffffff2c; margin-top: 56px; padding-top: 22px; width: 100%; max-width: 460px; font-size: 14px; }
.race-quicklinks a { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; }
.race-quicklinks span { color: #ffab78; font-size: 11px; font-variant-numeric: tabular-nums; }
.race-hero-media { position: relative; min-width: 0; overflow: hidden; border-bottom: 8px solid var(--race-orange); }
.race-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 67% center; }
.racing-home { padding-top: clamp(72px, 8vw, 120px); }
.racing-home > section { margin-bottom: clamp(72px, 8vw, 120px); }
.racing-home .section-heading h2, .race-section-intro h2 { font-size: clamp(34px, 3.3vw, 50px); letter-spacing: -.045em; line-height: 1.06; }
.racing-home .section-heading .race-kicker { color: var(--accent); margin-bottom: 14px; }
.race-guide-section { display: grid; grid-template-columns: .8fr 1.5fr; gap: 80px; }
.race-section-intro { align-self: start; }
.race-section-intro > p:not(.race-kicker) { max-width: 290px; color: var(--muted); line-height: 1.65; font-size: 18px; margin-block: 24px; }
.race-section-intro > .race-kicker { color: var(--accent); }
.race-path { display: grid; grid-template-columns: 24px 140px minmax(0,1fr) 24px; align-items: center; gap: 24px; padding-block: 20px; border-top: 1px solid var(--line); }
.race-path:last-child { border-bottom: 1px solid var(--line); }
.race-path-number { color: var(--accent); font-family: 'IBM Plex Sans', Arial, sans-serif; font-size: 12px; }
.race-path img { width: 140px; height: 94px; object-fit: cover; }
.race-path h3 { font-size: 24px; letter-spacing: -.025em; margin-bottom: 8px; }
.race-path p { color: var(--muted); font-size: 16px; line-height: 1.5; margin: 0; }
.race-path > span:last-child { font-size: 24px; transition: transform 200ms ease; }
.race-checklist { padding-top: 48px; border-top: 1px solid var(--line); }
.race-checkpoints { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); }
.race-checkpoints li { position: relative; padding: 0 20px 0 0; }
.race-checkpoints li::before { content: ''; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--line); z-index: 0; }
.race-checkpoints li:last-child::before { right: 80%; }
.race-checkpoints span { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #b3bdb3; background: var(--paper); position: relative; font-family: 'IBM Plex Sans', Arial, sans-serif; font-size: 14px; color: var(--accent); border-radius: 50%; }
.race-checkpoints h3 { font-size: 21px; letter-spacing: -.02em; margin-top: 22px; }
.race-formats { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.race-formats article:nth-child(2) { margin-top: 68px; }
.race-formats article > a { display: block; }
.race-formats img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; }
.race-formats article > a > div { position: relative; padding: 26px 56px 0 0; }
.race-formats .race-kicker { color: var(--accent); font-size: 10px; }
.race-formats h3 { font-size: 40px; line-height: 1.1; letter-spacing: -.04em; margin: 10px 0 14px; }
.race-formats p { font-size: 18px; color: var(--muted); max-width: 370px; }
.race-format-arrow { position: absolute; right: 0; top: 22px; font-size: 32px; }
.race-stories { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 32px 48px; }
.site-racing .race-stories .story-card, .site-racing .race-recent .story-card { background: transparent; overflow: visible; }
.race-stories .story-card:first-child { grid-row: span 2; border-right: 1px solid var(--line); padding-right: 48px; }
.race-stories .story-card:first-child img { aspect-ratio: 1.6; }
.site-racing .race-stories .card-copy, .site-racing .race-recent .card-copy { padding: 22px 0 0; }
.site-racing .race-stories .story-card:first-child h3 { font-size: 34px; letter-spacing: -.04em; }
.race-stories .story-card:not(:first-child) { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: start; }
.race-stories .story-card:not(:first-child) img { aspect-ratio: 1; object-fit: cover; }
.site-racing .race-stories .story-card:not(:first-child) .card-copy { padding: 0; }
.site-racing .race-stories .story-card:not(:first-child) h3 { font-size: 23px; line-height: 1.2; letter-spacing: -.02em; }
.race-recent { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; }
.race-recent img { aspect-ratio: 1.7; }
.site-racing .race-recent .story-card h3 { font-size: 26px; letter-spacing: -.025em; }
.racing-home .faq-section { border-top: 1px solid var(--line); padding-top: 48px; }
.racing-home .faq-section > h2 { font-size: 36px; letter-spacing: -.035em; }
@media(hover:hover) and (pointer:fine) {
  .race-path:hover h3, .race-formats a:hover h3 { color: var(--accent); }
  .race-path:hover > span:last-child { transform: translateX(5px); }
}
@media(prefers-reduced-motion:no-preference) {
  .race-hero-copy > :not(.race-quicklinks) { animation: hero-copy-in 700ms var(--motion-ease) both; }
  .race-hero-media img { animation: hero-image-in 1500ms var(--motion-ease) both; }
}
@media(max-width:1150px) {
  .race-hero-copy { padding-inline: 32px; }
  .race-hero h1 { font-size: 64px; }
  .race-guide-section { gap: 40px; grid-template-columns: .8fr 1.4fr; }
  .race-path { grid-template-columns: 20px 110px minmax(0,1fr) 20px; gap: 18px; }
  .race-path img { width: 110px; height: 86px; }
  .race-stories { gap: 28px; }
  .race-stories .story-card:first-child { padding-right: 28px; }
  .race-stories .story-card:not(:first-child) { grid-template-columns: 105px 1fr; gap: 20px; }
}
@media(max-width:800px) {
  .site-racing .header-inner { width: calc(100% - 48px); }
  .race-hero { grid-template-columns: 1fr; min-height: 0; }
  .race-hero-media { grid-row: 1; min-height: clamp(300px, 46vw, 420px); border-bottom-width: 5px; }
  .race-hero-media img { object-position: 65% 55%; }
  .race-hero-copy { padding: 40px 24px 32px; }
  .race-hero h1 { font-size: clamp(48px, 7.5vw, 66px); max-width: 650px; line-height: 1; }
  .race-deck { max-width: 520px; }
  .race-quicklinks { max-width: none; margin-top: 32px; gap: 32px; }
  .race-guide-section { grid-template-columns: 1fr; gap: 36px; }
  .race-section-intro h2 br { display: none; }
  .race-section-intro > p:not(.race-kicker) { max-width: 460px; }
  .race-path { grid-template-columns: 20px 140px minmax(0,1fr) 20px; }
  .race-path img { width: 140px; height: 94px; }
  .race-checkpoints h3 { font-size: 18px; }
  .race-formats { gap: 24px; }
  .race-formats article:nth-child(2) { margin-top: 40px; }
  .race-formats h3 { font-size: 32px; }
  .race-stories { grid-template-columns: 1fr; }
  .race-stories .story-card:first-child { grid-row: auto; padding: 0 0 30px; border-right: 0; border-bottom: 1px solid var(--line); }
  .race-stories .story-card:not(:first-child) { grid-template-columns: 180px 1fr; gap: 24px; }
}
@media(max-width:600px) {
  .site-crypto.home .header-inner { min-height: 80px; }
  .site-crypto .site-header .brand img { width: 220px; height: auto; }
  .site-crypto.home .crypto-hero.home-hero { min-height: max(760px, 100svh); }
  .site-crypto.home .home-hero .crypto-hero-copy { padding-block: 300px 64px; }
  .site-crypto.home .crypto-hero.home-hero::after { background: linear-gradient(180deg, rgba(12,22,25,.45), transparent 25%), linear-gradient(0deg, rgba(12,22,25,.98), rgba(12,22,25,.85) 40%, rgba(12,22,25,.24) 85%); }
  .site-racing .header-inner { width: calc(100% - 40px); min-height: 76px; gap: 8px; }
  .site-racing .site-header .brand img.brand-logo-image { width: min(230px,calc(100vw - 135px)); max-height: none; }
  .site-racing .mobile-nav { left: 0; right: 0; top: 100%; }
  .site-racing .page-heading { padding-top: 40px; }
  .site-racing .photo-hero.inner-hero { min-height: 0; }
  .site-racing .inner-hero .hero-inner { padding-block: 315px 40px; }
  .race-hero-media { min-height: clamp(250px, 74vw, 390px); }
  .race-hero-copy { padding: 32px 20px; }
  .race-hero h1 { font-size: clamp(42px, 11.2vw, 62px); margin-bottom: 22px; }
  .race-hero .race-kicker { font-size: 10px; margin-bottom: 20px; }
  .race-deck { font-size: 18px; margin-bottom: 24px; }
  .race-actions { gap: 16px 22px; }
  .race-actions .button { padding-inline: 22px; }
  .race-actions .text-link { min-height: 44px; }
  .race-quicklinks { gap: 26px; margin-top: 28px; padding-top: 18px; }
  .racing-home { padding-top: 64px; }
  .racing-home > section { margin-bottom: 64px; }
  .racing-home .section-heading h2, .race-section-intro h2 { font-size: 34px; }
  .race-guide-section { gap: 28px; }
  .race-path { grid-template-columns: 92px minmax(0,1fr) 16px; gap: 16px; padding-block: 20px; }
  .race-path-number { display: none; }
  .race-path img { width: 92px; height: 98px; }
  .race-path h3 { font-size: 22px; }
  .race-path p { font-size: 15px; line-height: 1.4; }
  .race-checklist { padding-top: 32px; }
  .race-checkpoints { grid-template-columns: 1fr; margin-top: 24px; gap: 0; }
  .race-checkpoints li { display: flex; gap: 22px; align-items: center; padding: 12px 0; }
  .race-checkpoints li::before { top: 30px; bottom: -20px; left: 23px; right: auto; width: 1px; height: auto; }
  .race-checkpoints li:last-child::before { display: none; }
  .race-checkpoints span { flex-shrink: 0; }
  .race-checkpoints h3 { font-size: 23px; margin: 0; }
  .race-formats { grid-template-columns: 1fr; gap: 36px; }
  .race-formats article:nth-child(2) { margin-top: 0; }
  .race-formats h3 { font-size: 34px; }
  .race-formats p { font-size: 17px; }
  .race-stories .story-card:not(:first-child) { grid-template-columns: 100px minmax(0,1fr); gap: 20px; }
  .site-racing .race-stories .story-card:first-child h3 { font-size: 30px; }
  .site-racing .race-stories .story-card:not(:first-child) h3 { font-size: 22px; }
  .race-stories .story-card:not(:first-child) p:not(.eyebrow) { font-size: 15px; }
  .race-recent { grid-template-columns: 1fr; gap: 36px; }
  .racing-home .faq-section { padding-top: 32px; }
  .racing-home .faq-section > h2 { font-size: 32px; }
  .site-racing .footer-top { gap: 24px; }
}
@media print {
  .race-hero { display: block; min-height: 0; background: #fff; color: #111; }
  .race-hero-copy { padding: 0; }
  .race-hero-media, .race-quicklinks { display: none; }
  .site-crypto.home .crypto-hero.home-hero { min-height: 0; }
  .site-crypto.home .home-hero .crypto-hero-copy { padding: 0; }
}
