/* Casino 9. Editorial white ground with the logo's navy and orange.
   Layout and whitespace after hodinkee.com, condensed display type after robbreport.com
   (DESIGN-BRIEF.md). System fonts only. Phone first; wider rules at the bottom. */
:root {
  --ink: #002e3b;
  --ink-soft: #3d5862;
  --muted: #6b7f86;
  --orange: #ff4400;
  --orange-deep: #d63a00;
  --paper: #ffffff;
  --mist: #f4f6f6;
  --rule: #e3e8e9;
  --night: #011f28;
  --display: "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--text); }
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--orange-deep); }
.wrap { padding: 0 16px; margin: 0 auto; width: 100%; max-width: 1280px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }

/* Masthead: centred logo over a thin rule. */
.masthead { text-align: center; padding: 18px 16px 10px; }
.logo img { display: block; width: 168px; margin: 0 auto; }
.tagline { margin: 6px 0 0; color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* Section bar: one scrolling row on phones, centred on desktop. */
.sections { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); position: relative; }
.sections ul { display: flex; gap: 4px; margin: 0; padding: 0 12px; list-style: none; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 24px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 24px), transparent 100%); }
.sections ul::-webkit-scrollbar { display: none; }
.sections a { display: block; white-space: nowrap; padding: 13px 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft); }
.sections a:hover, .sections a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--orange); }

/* Type. */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: .005em; color: var(--ink); }
h1 { font-size: clamp(34px, 9vw, 60px); margin: 0 0 14px; }
.kicker { margin: 0 0 8px; color: var(--orange-deep); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.lede { margin: 0; color: var(--ink-soft); font-size: 19px; line-height: 1.55; }

/* Home hero. */
.hero { background: var(--mist); border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; gap: 20px; padding-top: 32px; padding-bottom: 32px; }
.hero-chip { width: 170px; justify-self: center; }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 18px; border-radius: 2px; font-weight: 700; font-size: 15px; text-align: center; text-decoration: none; }
.btn-solid { background: var(--orange); color: #fff; }
.btn-solid:hover { background: var(--orange-deep); color: #fff; }
.btn-line { border: 2px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

/* Article pages. */
.crumbs { padding: 16px 0 0; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs .sep { margin: 0 8px; }
.title-block { padding: 14px 0 22px; border-bottom: 1px solid var(--rule); }
.page-grid { display: grid; gap: 28px; padding-top: 24px; padding-bottom: 40px; }
.prose { min-width: 0; }
.prose h2 { font-size: clamp(26px, 6vw, 36px); margin: 36px 0 12px; }
.prose h3 { font-size: clamp(21px, 5vw, 26px); margin: 30px 0 10px; }
.prose h4 { font-size: 19px; margin: 24px 0 8px; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin: 0 0 6px; }
.prose figure { margin: 0 0 20px; }
.prose figure img { display: block; max-width: 320px; width: 100%; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--rule); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--mist); }
.side { display: grid; gap: 16px; align-content: start; }
.side-box { border-top: 3px solid var(--ink); padding: 14px 0 4px; }
.side-title { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.side-box ul, .side-box ol { list-style: none; margin: 0; padding: 0; }
.side-box li { padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.4; }
.side-box a { text-decoration: none; }
.side-box a:hover { text-decoration: underline; }
.toc li.d3 { padding-left: 14px; font-size: 14px; }

/* News strip. */
.news { border-top: 1px solid var(--rule); padding: 36px 0 40px; }
.news h2 { font-size: clamp(28px, 7vw, 40px); margin: 0 0 18px; }
.news-grid { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.news-grid a { display: grid; gap: 6px; padding: 16px; height: 100%; border: 1px solid var(--rule); text-decoration: none; }
.news-grid a:hover { border-color: var(--ink); }
.news-date { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); }
.news-title { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.2; }

/* Games band. */
.games { background: var(--mist); border-top: 1px solid var(--rule); padding: 34px 0 38px; }
.games h2 { font-size: clamp(26px, 7vw, 38px); margin: 0 0 18px; }
.game-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.game-grid a { display: grid; justify-items: center; gap: 8px; padding: 14px 6px; background: #fff; border: 1px solid var(--rule); text-align: center; text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.25; }
.game-grid a:hover, .game-grid a[aria-current="page"] { border-color: var(--orange); }
.game-grid img, .game-grid svg { width: 48px; height: 48px; }

/* Footer. */
.foot { background: var(--night); color: #c9d6da; padding: 34px 0 28px; }
.foot a { color: #fff; }
.foot-mark { margin: 0 0 14px; font-family: var(--display); font-size: 28px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.foot-mark b { color: var(--orange); }
.foot-links { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
.legal { margin: 0 0 8px; font-size: 13px; line-height: 1.55; }

@media (min-width: 640px) {
  .game-grid { grid-template-columns: repeat(4, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .wrap { padding: 0 40px; }
  .masthead { padding: 26px 16px 14px; }
  .logo img { width: 230px; }
  .sections ul { justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .hero-grid { grid-template-columns: 1.5fr 1fr; align-items: center; gap: 48px; padding-top: 52px; padding-bottom: 52px; }
  .hero-chip { width: 300px; }
  .cta-row { display: flex; gap: 12px; }
  .page-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 36px; }
  .side { position: sticky; top: 16px; }
  .news-grid { grid-template-columns: repeat(3, 1fr); }
  .game-grid { grid-template-columns: repeat(6, 1fr); }
}
