/* MLB Best Bet Today — Flat 2D Pixel-Art Style
   Palette: #1B2A4A (navy), #F5C518 (arcade yellow), #E8F0FE (ink/light)
   Typography: Press Start 2P (headings), VT323 (body)
*/

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #E8F0FE;
  color: #1B2A4A;
  font-family: 'VT323', 'Courier New', monospace;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #1B2A4A;
  text-decoration: underline;
}

a:hover, a:focus {
  color: #F5C518;
  background-color: #1B2A4A;
  text-decoration: none;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Press Start 2P', monospace;
  line-height: 1.3;
  color: #1B2A4A;
}

h1 { font-size: clamp(1.1rem, 3vw, 1.6rem); margin-bottom: 0.75rem; }
h2 { font-size: clamp(0.9rem, 2.2vw, 1.2rem); margin-bottom: 0.5rem; }
h3 { font-size: clamp(0.8rem, 1.8vw, 1rem); margin-bottom: 0.4rem; }

p { margin-bottom: 1rem; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }

/* ============================================================
   ANNOUNCE STRIP
   ============================================================ */
.announce-strip {
  background-color: #F5C518;
  color: #1B2A4A;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  text-align: center;
  padding: 6px 12px;
  letter-spacing: 0.04em;
  border-bottom: 2px solid #1B2A4A;
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: #1B2A4A;
  border-bottom: 3px solid #F5C518;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;
  gap: 12px;
}

/* Brand */
.brand-center {
  flex: 0 0 auto;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #F5C518;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-link:hover, .brand-link:focus {
  color: #1B2A4A;
  background-color: #F5C518;
}

.brand-logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-text {
  max-width: 160px;
}

/* Desktop nav */
.header-nav {
  flex: 1 1 auto;
  overflow: hidden;
}

.header-nav > p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.header-nav > p > a {
  color: #E8F0FE;
  text-decoration: none;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  padding: 6px 8px;
  border: 1px solid transparent;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.header-nav > p > a:hover,
.header-nav > p > a:focus {
  color: #1B2A4A;
  background-color: #F5C518;
  border-color: #F5C518;
}

/* CTAs */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  padding: 10px 12px;
  min-height: 44px;
  text-decoration: none;
  border: 2px solid #F5C518;
  transition: background-color 150ms ease, color 150ms ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.cta-signup {
  background-color: #F5C518;
  color: #1B2A4A;
}

.cta-signup:hover, .cta-signup:focus {
  background-color: #1B2A4A;
  color: #F5C518;
  border-color: #F5C518;
}

.cta-login {
  background-color: transparent;
  color: #F5C518;
}

.cta-login:hover, .cta-login:focus {
  background-color: #F5C518;
  color: #1B2A4A;
}

/* Menu toggle (mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid #F5C518;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #F5C518;
  transition: transform 150ms ease, opacity 150ms ease;
}

/* ============================================================
   FULL-SCREEN NAV OVERLAY
   ============================================================ */
.full-screen-nav {
  position: fixed;
  inset: 0;
  z-index: 500;
  background-color: #1B2A4A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.full-screen-nav.is-open {
  opacity: 1;
  pointer-events: all;
}

.full-screen-nav nav > p {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.full-screen-nav nav > p > a {
  color: #E8F0FE;
  text-decoration: none;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.75rem;
  padding: 14px 24px;
  border: 1px solid transparent;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color 150ms ease, background-color 150ms ease;
  text-align: center;
}

.full-screen-nav nav > p > a:hover,
.full-screen-nav nav > p > a:focus {
  color: #1B2A4A;
  background-color: #F5C518;
}

.nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 2px solid #F5C518;
  color: #F5C518;
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'VT323', monospace;
  transition: background-color 150ms ease, color 150ms ease;
}

.nav-close:hover, .nav-close:focus {
  background-color: #F5C518;
  color: #1B2A4A;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  margin-bottom: 1rem;
}

.breadcrumb p {
  font-size: 0.85rem;
  color: #1B2A4A;
  opacity: 0.7;
  margin-bottom: 0;
}

.breadcrumb a {
  color: #1B2A4A;
}

/* ============================================================
   HERO SECTION (home)
   ============================================================ */
.hero-section {
  background-color: #1B2A4A;
  min-height: 70vh;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #F5C518;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dot-matrix-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #F5C518 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.18;
  pointer-events: none;
}

.hero-copy {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  background-color: #1B2A4A;
}

.hero-copy h1 {
  color: #F5C518;
  margin-bottom: 1rem;
}

.hero-copy .subtitle {
  color: #E8F0FE;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.eyebrow {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  color: #F5C518;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #F5C518;
  color: #1B2A4A;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  padding: 14px 24px;
  text-decoration: none;
  border: 2px solid #F5C518;
  align-self: flex-end;
  min-height: 44px;
  transition: background-color 150ms ease, color 150ms ease;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #1B2A4A;
  color: #F5C518;
}

/* ============================================================
   PAGE HEADER SECTIONS
   ============================================================ */
.category-header-section,
.article-header-section,
.inner-header-section,
.tag-header-section {
  background-color: #1B2A4A;
  color: #E8F0FE;
  padding: 40px 24px 32px;
  border-bottom: 3px solid #F5C518;
}

.category-header-section h1,
.article-header-section h1,
.inner-header-section h1,
.tag-header-section h1 {
  color: #F5C518;
  max-width: 800px;
}

.category-lead,
.article-desc,
.tag-lead {
  color: #E8F0FE;
  max-width: 720px;
  font-size: 1.1rem;
}

/* ============================================================
   BYLINE & ARTICLE META
   ============================================================ */
.byline {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  color: #F5C518;
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.article-meta-row {
  margin-bottom: 0.5rem;
}

.stage-label {
  display: inline-block;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.45rem;
  padding: 4px 8px;
  border: 1px solid #F5C518;
  color: #F5C518;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-awareness { border-color: #64B5F6; color: #64B5F6; }
.stage-consideration { border-color: #F5C518; color: #F5C518; }
.stage-decision { border-color: #A5D6A7; color: #A5D6A7; }

.article-hero-wrap {
  margin-top: 1.5rem;
  border: 2px solid #F5C518;
}

.article-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* ============================================================
   CONTENT LAYOUT (content + aside)
   ============================================================ */
.content-section {
  padding: 40px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.home-content-section {
  background-color: #E8F0FE;
}

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

.main-content-col {
  min-width: 0;
}

/* ============================================================
   PAGE BODY TYPOGRAPHY
   ============================================================ */
.page-body {
  max-width: 72ch;
}

.page-body h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.page-body h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.page-body p {
  line-height: 1.7;
}

.page-body a {
  color: #1B2A4A;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-body a:hover {
  color: #1B2A4A;
  background-color: #F5C518;
}

.page-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.page-body th {
  background-color: #1B2A4A;
  color: #F5C518;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  padding: 10px 12px;
  text-align: left;
  border: 1px solid #1B2A4A;
}

.page-body td {
  padding: 8px 12px;
  border: 1px solid #1B2A4A;
  background-color: #fff;
}

.page-body tr:nth-child(even) td {
  background-color: #E8F0FE;
}

.page-body blockquote {
  border-left: 4px solid #F5C518;
  padding-left: 16px;
  margin: 1.5rem 0;
  font-style: italic;
  color: #1B2A4A;
  opacity: 0.85;
}

.subtitle {
  font-size: 1rem;
  color: #1B2A4A;
  opacity: 0.75;
  font-family: 'VT323', monospace;
  line-height: 1.5;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-block {
  border: 2px solid #1B2A4A;
  padding: 20px;
  margin-bottom: 24px;
  background-color: #fff;
  border-radius: 4px;
}

.sidebar-block h2 {
  font-size: 0.65rem;
  margin-bottom: 6px;
  color: #1B2A4A;
}

.sidebar-block .subtitle {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  border-top: 1px solid #E8F0FE;
  margin: 0;
}

.sidebar-list a {
  display: block;
  padding: 8px 4px;
  font-size: 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #1B2A4A;
  transition: color 150ms ease, background-color 150ms ease;
}

.sidebar-list a:hover, .sidebar-list a:focus {
  color: #1B2A4A;
  background-color: #F5C518;
  padding-left: 8px;
}

/* ============================================================
   HOME CHILD CARDS
   ============================================================ */
.child-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.card {
  border: 2px solid #1B2A4A;
  border-radius: 28px;
  padding: 20px 24px;
  background-color: #fff;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.card:hover {
  border-color: #F5C518;
  background-color: #FFFDE7;
}

.card h3 {
  font-size: 0.7rem;
  margin-bottom: 0.6rem;
}

.card h3 a {
  color: #1B2A4A;
  text-decoration: none;
}

.card h3 a:hover {
  color: #F5C518;
  background-color: #1B2A4A;
}

.card p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.card-date {
  font-size: 0.85rem;
  opacity: 0.6;
}

.read-more {
  display: inline-flex;
  align-items: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  color: #1B2A4A;
  text-decoration: none;
  border-bottom: 2px solid #F5C518;
  padding-bottom: 2px;
  min-height: 44px;
  transition: color 150ms ease;
}

.read-more:hover {
  color: #F5C518;
  background-color: #1B2A4A;
  border-bottom-color: #1B2A4A;
}

/* ============================================================
   CATEGORY / TAG CHILD LIST (dl > dt > a + dd)
   ============================================================ */
.child-list-wrapper {
  margin-top: 2rem;
}

.child-list-wrapper h2 {
  margin-bottom: 0.4rem;
}

.child-dl {
  margin: 1rem 0;
}

.child-dl dt {
  border-left: 4px solid #F5C518;
  padding-left: 12px;
  margin-bottom: 4px;
  margin-top: 1.25rem;
}

.child-dl dt:first-of-type {
  margin-top: 0;
}

.child-dl dt a {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.65rem;
  color: #1B2A4A;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 150ms ease, background-color 150ms ease;
}

.child-dl dt a:hover, .child-dl dt a:focus {
  color: #F5C518;
  background-color: #1B2A4A;
  padding: 2px 6px;
}

.child-dl dd {
  padding-left: 16px;
  margin-bottom: 0.5rem;
}

.child-desc {
  font-size: 1rem;
  color: #1B2A4A;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.child-date {
  font-size: 0.85rem;
  color: #1B2A4A;
  opacity: 0.55;
  margin-bottom: 0;
}

/* ============================================================
   ABOUT / AUTHOR SECTION
   ============================================================ */
.author-section {
  margin-top: 2.5rem;
  border-top: 3px solid #F5C518;
  padding-top: 1.5rem;
}

.author-card {
  border: 2px solid #1B2A4A;
  padding: 24px;
  background-color: #fff;
  border-radius: 4px;
  margin-top: 1rem;
}

.author-name {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.8rem;
  color: #1B2A4A;
  margin-bottom: 0.5rem;
}

.author-credentials {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  color: #F5C518;
  background-color: #1B2A4A;
  display: inline-block;
  padding: 4px 8px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.author-bio {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1B2A4A;
  margin-bottom: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: #1B2A4A;
  border-top: 3px solid #F5C518;
  padding: 20px 16px;
  text-align: center;
}

.site-footer p,
.site-footer small {
  display: block;
  margin-bottom: 8px;
}

.footer-links {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  color: #E8F0FE;
  letter-spacing: 0.04em;
}

.footer-links a {
  color: #F5C518;
  text-decoration: none;
  transition: color 150ms ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 4px;
}

.footer-links a:hover, .footer-links a:focus {
  color: #1B2A4A;
  background-color: #F5C518;
}

.rg-notice {
  font-family: 'VT323', monospace;
  font-size: 1rem;
  color: #E8F0FE;
  opacity: 0.75;
  max-width: 600px;
  margin: 0 auto 8px;
}

.copyright {
  font-family: 'VT323', monospace;
  font-size: 0.9rem;
  color: #E8F0FE;
  opacity: 0.5;
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 300ms ease, transform 300ms ease;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   MOBILE: ≤768px
   ============================================================ */
@media (max-width: 768px) {
  /* Hide desktop nav links */
  .header-nav {
    display: none;
  }

  /* Show menu toggle */
  .menu-toggle {
    display: flex;
  }

  /* Header layout on mobile */
  .header-inner {
    height: auto;
    min-height: 60px;
    padding: 8px 12px;
    flex-wrap: nowrap;
  }

  .brand-text {
    font-size: 0.5rem;
    max-width: 120px;
  }

  .header-ctas {
    gap: 6px;
  }

  .cta {
    font-size: 0.45rem;
    padding: 8px 8px;
    min-height: 44px;
  }

  /* Hero stacked */
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 200px;
  }

  .hero-copy {
    padding: 28px 20px;
    text-align: left;
  }

  .hero-copy .subtitle {
    font-size: 1rem;
  }

  .btn-primary {
    align-self: flex-start;
  }

  /* Content / aside stacked */
  .content-with-aside {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sidebar {
    position: static;
  }

  .content-section {
    padding: 24px 16px;
  }

  .category-header-section,
  .article-header-section,
  .inner-header-section,
  .tag-header-section {
    padding: 24px 16px 20px;
  }

  /* Child cards single column */
  .child-cards {
    grid-template-columns: 1fr;
  }

  /* Footer text size */
  .footer-links {
    font-size: 0.45rem;
    line-height: 1.8;
  }

  h1 { font-size: clamp(0.9rem, 5vw, 1.2rem); }
  h2 { font-size: clamp(0.75rem, 4vw, 1rem); }
}

/* ============================================================
   VERY SMALL: 375px safety
   ============================================================ */
@media (max-width: 400px) {
  .brand-text {
    font-size: 0.42rem;
    max-width: 90px;
  }

  .cta {
    font-size: 0.4rem;
    padding: 8px 6px;
  }

  body {
    font-size: 17px;
  }
}

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