/* MLB Parlay Picks Today — Nature Distilled × Bold Esports */
/* Palette: #172623 ink · #5cc6b0 teal · #d4c4a8 sand */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500;600;700&family=Russo+One&display=swap');

/* ── Reset & Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:      #172623;
  --teal:     #5cc6b0;
  --sand:     #d4c4a8;
  --teal-dk:  #3aa892;
  --teal-lt:  #a8e8db;
  --sand-dk:  #b8a888;
  --sand-lt:  #ede6d8;
  --bark:     #6b4f35;
  --moss:     #3d5c3a;
  --soil:     #2e2016;
  --cream:    #faf7f2;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 4px 24px rgba(23,38,35,0.10);
  --shadow-card: 0 2px 12px rgba(23,38,35,0.08);
  --nav-h: 64px;
  --font-head: 'Russo One', 'Arial Black', sans-serif;
  --font-body: 'Chakra Petch', 'Segoe UI', system-ui, sans-serif;
  --max-reading: 740px;
  --max-site: 1200px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--cream);
  color: var(--ink);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Screen-reader only ──────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Typography ──────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.25rem, 2.5vw, 1.9rem); margin-top: 2rem; }
h3 { font-size: clamp(1.05rem, 2vw, 1.4rem); margin-top: 1.5rem; }
h4 { font-size: 1rem; margin-top: 1rem; }

p { margin: 0.9rem 0; }
a { color: var(--teal-dk); text-decoration: underline; }
a:hover { color: var(--teal); }

strong { font-weight: 700; }
em { font-style: italic; }

/* body copy links underlined */
.page-body a { text-decoration: underline; color: var(--teal-dk); }
.page-body a:hover { color: var(--teal); }

/* HR decoration */
hr {
  border: none;
  border-top: 2px solid var(--teal);
  margin: 0.5rem 0 1.25rem;
  opacity: 0.55;
  border-radius: 2px;
}

/* ── Site wrap ───────────────────────────────────────── */
.site-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Bottom Nav ──────────────────────────────────────── */
.bottomnav-spacer { height: var(--nav-h); }

.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--ink);
  border-top: 2px solid var(--teal);
  box-shadow: 0 -4px 24px rgba(23,38,35,0.22);
}

.bottom-nav-inner {
  max-width: var(--max-site);
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 0.5rem;
  padding: 0 1rem;
}

.brand-logo {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.75rem;
}
.brand-logo img { width: 32px; height: 32px; border-radius: 6px; }
.brand-text {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--teal);
  letter-spacing: 0.03em;
  white-space: nowrap;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nav ordered list */
.nav-list {
  display: flex;
  list-style: none;
  gap: 0;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list > li > a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sand);
  text-decoration: none;
  padding: 0 0.6rem;
  height: var(--nav-h);
  line-height: var(--nav-h);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  min-height: 44px;
}
.nav-list > li > a:hover,
.nav-list > li > a[aria-current="page"] {
  color: var(--teal);
  background: rgba(92,198,176,0.08);
}

/* CTA buttons */
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  min-height: 44px;
  padding: 0 0.85rem;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  letter-spacing: 0.04em;
}
.cta-signup {
  background: var(--teal);
  color: var(--ink);
  border: 2px solid var(--teal);
}
.cta-signup:hover {
  background: var(--teal-dk);
  border-color: var(--teal-dk);
  color: #fff;
  text-decoration: none;
}
.cta-login {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.cta-login:hover {
  background: var(--teal);
  color: var(--ink);
  text-decoration: none;
}

/* Nav search */
.nav-search {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-search form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(92,198,176,0.3);
  overflow: hidden;
}
.nav-search input[type="search"] {
  background: transparent;
  border: none;
  outline: none;
  color: var(--sand-lt);
  font-family: var(--font-body);
  font-size: 0.8rem;
  padding: 0 0.5rem;
  height: 36px;
  width: 120px;
}
.nav-search input::placeholder { color: rgba(212,196,168,0.5); }
.nav-search button {
  background: transparent;
  border: none;
  color: var(--teal);
  cursor: pointer;
  padding: 0 0.5rem;
  height: 36px;
  font-size: 1rem;
  min-width: 36px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-search button:hover { color: var(--teal-lt); }

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--teal);
  color: var(--teal);
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Hero Section (Home) ─────────────────────────────── */
.hero-section {
  min-height: 45vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 3.5rem 2rem 2.5rem;
  max-width: var(--max-site);
  margin: 0 auto;
  position: relative;
}

.hero-collage {
  position: relative;
  height: 340px;
}
.hero-img {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.hero-img-1 {
  width: 72%;
  height: 76%;
  top: 0; left: 0;
  z-index: 1;
}
.hero-img-2 {
  width: 62%;
  height: 62%;
  bottom: 0; right: 0;
  z-index: 2;
  border: 4px solid var(--cream);
}

.hero-badge {
  position: absolute;
  z-index: 3;
  background: var(--teal);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 0.4rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  box-shadow: 0 2px 12px rgba(23,38,35,0.18);
}
.hero-badge span { font-size: 0.7rem; font-weight: 500; opacity: 0.8; }
.hero-badge strong { font-family: var(--font-head); font-size: 1rem; }
.hero-badge-1 { top: 20%; right: 8%; }
.hero-badge-2 { bottom: 10%; left: 5%; background: var(--sand); }

.hero-copy {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--teal-dk);
  text-transform: uppercase;
  margin: 0;
}
.hero-copy h1 {
  margin: 0;
  color: var(--ink);
}
.hero-sub {
  font-size: 1rem;
  color: var(--bark);
  margin: 0;
  max-width: 420px;
  line-height: 1.6;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  min-height: 48px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.04em;
}
.btn-primary:hover {
  background: var(--teal-dk);
  color: #fff;
  text-decoration: none;
}
.btn-sm { font-size: 0.82rem; padding: 0.5rem 1rem; min-height: 40px; }

/* ── Main layout: content + aside ───────────────────── */
.main-home,
.main-article,
.main-inner {
  flex: 1;
  width: 100%;
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.content-with-aside {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Aside to the LEFT of content */
.sidebar {
  order: -1;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.sidebar-inner {
  background: var(--sand-lt);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--teal);
}
.sidebar-heading {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dk);
  margin: 0 0 0.25rem;
}
.sidebar-nav {
  list-style: decimal inside;
  padding: 0;
  margin: 0;
}
.sidebar-nav li { margin: 0.4rem 0; }
.sidebar-nav a {
  font-size: 0.82rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.4;
  display: block;
  padding: 0.25rem 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.sidebar-nav a:hover { color: var(--teal-dk); text-decoration: underline; }

.sidebar-cta-block {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sand-dk);
  text-align: center;
}
.sidebar-cta-label {
  font-size: 0.78rem;
  color: var(--bark);
  margin-bottom: 0.5rem;
}

.main-column { min-width: 0; }

/* ── Page body copy ─────────────────────────────────── */
.page-body {
  max-width: var(--max-reading);
}
.page-body h2 { margin-top: 2.25rem; }
.page-body h2 + hr { margin-bottom: 1rem; }
.page-body ul, .page-body ol {
  padding-left: 1.5rem;
  margin: 0.8rem 0;
}
.page-body li { margin: 0.4rem 0; }
.page-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  font-size: 0.9rem;
}
.page-body th {
  background: var(--ink);
  color: var(--teal);
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-family: var(--font-head);
  font-size: 0.82rem;
}
.page-body td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--sand);
}
.page-body tr:nth-child(even) td { background: var(--sand-lt); }
.page-body blockquote {
  border-left: 4px solid var(--teal);
  margin: 1.2rem 0;
  padding: 0.75rem 1.25rem;
  background: var(--sand-lt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--bark);
}

/* ── Byline ─────────────────────────────────────────── */
.byline {
  font-size: 0.85rem;
  color: var(--bark);
  margin: 0.6rem 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.byline-author {
  font-weight: 700;
  color: var(--ink);
}
.byline time { color: var(--teal-dk); }

/* Stage label */
.stage-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}
.stage-awareness { background: var(--sand); color: var(--bark); }
.stage-consideration { background: var(--teal-lt); color: var(--ink); }
.stage-decision { background: var(--teal); color: var(--ink); }

/* ── Article header ─────────────────────────────────── */
.article-header-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--sand);
  margin-bottom: 2rem;
}
.article-header-inner { min-width: 0; }
.article-hero-wrap {
  width: 260px;
  flex-shrink: 0;
}
.article-hero-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

/* Inner pages (about, privacy) */
.inner-header-section {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--sand);
  margin-bottom: 2rem;
}

/* ── Child links row ─────────────────────────────────── */
.child-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}
.child-block {
  flex: 1 1 220px;
  background: var(--sand);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease-out, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.child-block strong {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.3;
}
.child-block span {
  font-size: 0.8rem;
  color: var(--bark);
  line-height: 1.5;
}
.child-block:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

/* ── Articles article / Grid ─────────────────────────── */
.articles-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--sand);
}
.articles-section > h2 { margin-top: 0; }

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.card {
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease-out, box-shadow 0.2s;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}
.article-card { background: var(--sand); }
.card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dk);
}
.card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--ink);
}
.card p {
  font-size: 0.85rem;
  color: var(--bark);
  margin: 0;
  flex: 1;
}
.card-date {
  font-size: 0.75rem;
  color: var(--teal-dk);
  font-weight: 500;
}

/* ── Author profile (about page) ─────────────────────── */
.author-profile {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--sand-lt);
  border-radius: var(--radius-md);
  border-left: 5px solid var(--teal);
  box-shadow: var(--shadow-card);
}
.author-profile h2 { margin-top: 0; }
.author-profile-inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-top: 1rem;
}
.author-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 0.2rem;
}
.author-credentials {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-dk);
  margin: 0 0 0.75rem;
  letter-spacing: 0.04em;
}
.author-bio {
  font-size: 0.95rem;
  color: var(--bark);
  line-height: 1.65;
  margin: 0;
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--sand);
  padding: 3rem 2rem 1rem;
  margin-top: auto;
  /* leave room for fixed bottom nav */
  padding-bottom: calc(var(--nav-h) + 1.5rem);
}

.footer-brand {
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(92,198,176,0.2);
  padding-bottom: 1.25rem;
}
.footer-wordmark {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  color: var(--teal);
  letter-spacing: 0.02em;
  line-height: 1;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col dt {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.footer-col dd {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  line-height: 1.5;
}
.footer-col dd a {
  color: var(--sand);
  text-decoration: none;
}
.footer-col dd a:hover {
  color: var(--teal-lt);
  text-decoration: underline;
}
.author-footer-name {
  font-weight: 700;
  color: var(--teal-lt) !important;
  font-size: 0.88rem !important;
}
.author-footer-cred {
  font-style: italic;
  color: var(--sand-dk) !important;
  font-size: 0.78rem !important;
}

/* Responsible gambling notice */
.footer-rg {
  background: rgba(92,198,176,0.08);
  border: 1px solid rgba(92,198,176,0.25);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}
.footer-rg p {
  font-size: 0.78rem;
  color: var(--sand-dk);
  line-height: 1.55;
  margin: 0;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(212,196,168,0.55);
  border-top: 1px solid rgba(92,198,176,0.12);
  padding-top: 1rem;
}
.footer-trust-links a {
  color: rgba(212,196,168,0.65);
  text-decoration: none;
  margin: 0 0.25rem;
}
.footer-trust-links a:hover {
  color: var(--teal-lt);
  text-decoration: underline;
}

/* ── Scroll reveal (vanilla JS partner) ─────────────── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.reveal.reveal-hidden {
  opacity: 0;
  transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .card, .child-block { transition: none !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ──────────────────────────────────────── */

/* Tablet: ~900px */
@media (max-width: 960px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .hero-section { grid-template-columns: 1fr; min-height: auto; padding: 2rem 1rem 1.5rem; }
  .hero-collage { height: 220px; order: -1; }
  .hero-copy { text-align: left; align-items: flex-start; }
  .article-header-section { grid-template-columns: 1fr; }
  .article-hero-wrap { width: 100%; }
  .content-with-aside { grid-template-columns: 180px 1fr; gap: 1.5rem; }
}

/* Mobile: 375-767px */
@media (max-width: 767px) {
  :root { --nav-h: 56px; }

  .nav-list { display: none; }
  .nav-search { display: none; }
  .nav-toggle { display: flex; }

  .nav-list.nav-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: var(--nav-h);
    left: 0; right: 0;
    background: var(--ink);
    border-top: 2px solid var(--teal);
    max-height: 60vh;
    overflow-y: auto;
    z-index: 199;
  }
  .nav-list.nav-open li { border-bottom: 1px solid rgba(92,198,176,0.1); }
  .nav-list.nav-open li a {
    height: auto;
    line-height: 1.4;
    padding: 0.9rem 1.25rem;
    min-height: 48px;
  }

  .bottom-nav-inner { padding: 0 0.75rem; gap: 0.3rem; }
  .brand-text { font-size: 0.72rem; max-width: 90px; }
  .cta { font-size: 0.72rem; padding: 0 0.6rem; min-height: 44px; }

  .hero-section { padding: 1.5rem 1rem; gap: 1rem; }
  .hero-collage { height: 180px; }
  .hero-copy h1 { font-size: 1.55rem; }
  .hero-sub { font-size: 0.9rem; }

  .content-with-aside {
    grid-template-columns: 1fr;
  }
  .sidebar {
    order: 0; /* sidebar below on mobile */
    position: static;
  }

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .footer-wordmark { font-size: 1.4rem; }

  .article-grid { grid-template-columns: 1fr; }

  .main-home,
  .main-article,
  .main-inner { padding: 1.25rem 1rem 2rem; }

  .child-links-row { gap: 0.75rem; }
  .child-block { flex-basis: 100%; }

  .author-profile-inner { flex-direction: column; }

  .footer-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
  .nav-cta-group { gap: 0.25rem; }
  .hero-collage { display: none; }
}

/* ── Texture overlay (subtle grain via SVG data-uri) ─── */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  border-radius: inherit;
}

/* ── Utility ─────────────────────────────────────────── */
img { max-width: 100%; height: auto; display: block; }
.content-article { width: 100%; }
.body-section { width: 100%; }

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}