/* ============================================================
   Bet Football Hub — style.css
   Bento Grid · Cormorant Garamond · #1f1f1f / #f5f5f5 / #fff
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,500;0,700;1,300;1,500&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

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

html {
  font-size: 18px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  color: #1f1f1f;
  background: #ffffff;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', 'Cinzel', Georgia, serif;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 500; }

a { color: #1f1f1f; text-decoration: underline; }
a:hover { opacity: 0.7; }

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

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

hr { border: none; }

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

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

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

/* Brand logo centered on desktop */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f1f1f;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}

.brand-name { letter-spacing: 0.03em; }

/* Primary nav — split left/right pill group */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: space-between;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list dt { display: contents; }

.nav-list dd {
  margin: 0;
  padding: 0;
}

.nav-list dd a {
  display: flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  font-family: 'Crimson Pro', serif;
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  color: #1f1f1f;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  min-height: 44px;
}

.nav-list dd a:hover {
  background: #f5f5f5;
  color: #1f1f1f;
  opacity: 1;
}

/* CTA buttons in header */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  font-family: 'Crimson Pro', serif;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  min-height: 44px;
  white-space: nowrap;
  cursor: pointer;
}

.cta-signup {
  background: #1f1f1f;
  color: #ffffff;
  border: 2px solid #1f1f1f;
}

.cta-signup:hover {
  background: #3a3a3a;
  border-color: #3a3a3a;
  color: #ffffff;
  opacity: 1;
}

.cta-login {
  background: transparent;
  color: #1f1f1f;
  border: 2px solid #1f1f1f;
}

.cta-login:hover {
  background: #1f1f1f;
  color: #ffffff;
  opacity: 1;
}

/* Menu toggle — mobile only */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  order: -1;
}

.toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #1f1f1f;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero Section (home) ── */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f5f5f5;
  padding: 2rem 1rem;
}

.hero-collage {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 0;
  overflow: hidden;
  margin: 0;
}

.hero-img {
  object-fit: cover;
  height: 100%;
  flex: 1;
  opacity: 0.18;
}

.hero-img-1 {
  transform: translateY(-3%);
}

.hero-img-2 {
  transform: translateY(3%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 740px;
  padding: 2rem;
}

.hero-h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f1f1f;
}

.hero-sub {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 1.75rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.75rem;
  background: #1f1f1f;
  color: #ffffff;
  font-family: 'Crimson Pro', serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s;
  min-height: 44px;
}

.btn-primary:hover {
  background: #3a3a3a;
  color: #ffffff;
  opacity: 1;
}

/* ── Bento Grid ── */
.bento-section {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  align-items: start;
}

.bento-grid {
  margin-top: 3rem;
}

.section-title {
  margin-bottom: 1.5rem;
}

.bento-grid-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}

.bento-card {
  background: #ffffff;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

.bento-card.bento-wide {
  grid-column: span 2;
}

.bento-card.bento-tall {
  grid-row: span 2;
}

.card-inner {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0.4rem;
}

.card-eyebrow {
  font-family: 'Crimson Pro', serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0;
}

.card-inner h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 0;
}

.card-desc {
  font-size: 0.9rem;
  color: #555;
  flex: 1;
  margin-bottom: 0;
}

.card-date {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 0;
}

.card-link {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: #1f1f1f;
  border-top: 1px solid #f0f0f0;
  padding-top: 0.5rem;
}

.card-link:hover { opacity: 0.6; }

.bento-related {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px;
}

/* ── Content layout (shared inner pages) ── */
.content-section,
.faq-section,
.article-section,
.inner-section {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  align-items: start;
}

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

/* ── Sidebar ── */
.sidebar {
  position: sticky;
  top: 80px;
  background: #f5f5f5;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  padding: 1.25rem;
  min-width: 0;
}

.sidebar-inner { display: flex; flex-direction: column; gap: 0.75rem; }

.sidebar-heading {
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.4rem;
  margin-bottom: 0.25rem;
}

.sidebar-subheading {
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.sidebar-links li a {
  display: block;
  padding: 0.35rem 0.5rem;
  font-size: 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  color: #1f1f1f;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: background 0.15s;
}

.sidebar-links li a:hover {
  background: #e8e8e8;
  opacity: 1;
}

.sidebar-stage {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0;
}

.quick-facts {
  font-size: 0.85rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.75rem;
  margin: 0;
}

.quick-facts dt {
  font-weight: 600;
  color: #666;
}

.quick-facts dd {
  margin: 0;
  color: #1f1f1f;
}

/* ── Inner page hero ── */
.inner-hero, .faq-hero, .article-header {
  margin-bottom: 1.5rem;
}

.inner-h1, .faq-h1, .article-h1 {
  margin-bottom: 0.5rem;
}

.faq-eyebrow, .article-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 0.5rem;
}

/* ── Byline ── */
.byline {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.byline-author {
  font-weight: 600;
  color: #1f1f1f;
}

/* ── Ornament rule ── */
.ornament-rule {
  border-top: 1px solid #e0e0e0;
  margin: 1.5rem 0;
  width: 100%;
  display: block;
}

figure.faq-divider,
figure.article-divider {
  margin: 0;
}

/* ── Prose ── */
.prose {
  max-width: 72ch;
  font-size: 1rem;
  line-height: 1.75;
}

.prose h2 { margin-top: 2rem; margin-bottom: 0.75rem; }
.prose h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }

.prose a {
  color: #1f1f1f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover { opacity: 0.65; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.prose th, .prose td {
  border: 1px solid #ddd;
  padding: 0.6rem 0.8rem;
  text-align: left;
}

.prose th {
  background: #f5f5f5;
  font-weight: 600;
}

.prose blockquote {
  border-left: 3px solid #1f1f1f;
  padding-left: 1rem;
  color: #555;
  font-style: italic;
  margin: 1rem 0;
}

/* ── Stage label ── */
.stage-label {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
  background: #f5f5f5;
  border: 1px solid #ddd;
  color: #555;
}

/* ── Inline CTA block ── */
.inline-cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  border-radius: 10px;
}

.inline-cta h2 {
  font-size: 1.3rem;
  margin: 0;
}

.inline-cta p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

/* ── Ranking list ── */
.ranking-section {
  margin-bottom: 2rem;
}

.ranking-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ranking-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: #f5f5f5;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
}

.rank-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  width: 1.75rem;
  text-align: center;
  flex-shrink: 0;
  color: #888;
}

.rank-name { font-weight: 500; }

/* ── Related article ── */
.related-section {
  margin-top: 3rem;
}

.related-section h2 {
  margin-bottom: 1rem;
}

/* ── Article hero image ── */
.article-hero-figure {
  margin-bottom: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
}

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

/* ── Author article (about) ── */
.author-section {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
  background: #f5f5f5;
}

.author-figure { margin: 0; flex-shrink: 0; }

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #1f1f1f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
}

.author-bio { display: flex; flex-direction: column; gap: 0.4rem; }

.author-bio h2 {
  font-size: 1.4rem;
  margin: 0;
}

.author-credentials {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
  margin-bottom: 0;
}

.author-bio-text {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 0;
}

/* ── Footer ── */
.site-footer {
  margin-top: auto;
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem;
  flex-wrap: wrap;
}

.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-address a {
  font-size: 0.85rem;
  color: #666;
  text-decoration: none;
}

.footer-address a:hover { text-decoration: underline; opacity: 1; }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.footer-nav-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

.footer-nav-dl dt {
  margin: 0;
  padding: 0;
}

.footer-nav-dl dt a {
  font-size: 0.85rem;
  text-decoration: none;
  color: #555;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-nav-dl dt a:hover { color: #1f1f1f; text-decoration: underline; opacity: 1; }

.footer-nav-dl dd { display: none; }

.footer-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  justify-content: flex-end;
}

.footer-trust li a {
  font-size: 0.82rem;
  color: #888;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-trust li a:hover { color: #1f1f1f; text-decoration: underline; opacity: 1; }

.footer-bottom {
  border-top: 1px solid #e0e0e0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rg-notice {
  font-size: 0.78rem;
  color: #999;
  margin: 0;
  line-height: 1.4;
}

.footer-copy {
  font-size: 0.78rem;
  color: #bbb;
  margin: 0;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.stagger-list .bento-card:nth-child(1) { transition-delay: 0s; }
.stagger-list .bento-card:nth-child(2) { transition-delay: 0.07s; }
.stagger-list .bento-card:nth-child(3) { transition-delay: 0.14s; }
.stagger-list .bento-card:nth-child(4) { transition-delay: 0.21s; }
.stagger-list .bento-card:nth-child(5) { transition-delay: 0.28s; }
.stagger-list .bento-card:nth-child(6) { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .bento-card {
    transition: none;
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .bento-grid-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card.bento-wide {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  /* Header: brand + toggle + CTAs only visible; nav collapsed */
  .menu-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    z-index: 190;
    overflow-y: auto;
    max-height: calc(100vh - 64px);
    display: none;
  }

  .primary-nav.nav-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav-list dd a {
    padding: 0.6rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
  }

  .brand-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .header-inner {
    justify-content: space-between;
  }

  .header-ctas {
    gap: 0.3rem;
  }

  .cta {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    min-height: 44px;
  }

  /* Layout: single column */
  .bento-section,
  .content-section,
  .faq-section,
  .article-section,
  .inner-section {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
    gap: 1.25rem;
  }

  .sidebar {
    position: static;
    order: 2;
  }

  .content-main {
    order: 1;
  }

  .bento-grid-inner {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-card.bento-tall {
    grid-row: span 1;
  }

  .bento-related {
    grid-template-columns: 1fr;
  }

  /* Hero */
  .hero-section {
    min-height: 60vh;
    padding: 1.5rem 1rem;
  }

  .hero-h1 {
    font-size: 1.9rem;
  }

  /* Author article */
  .author-section {
    flex-direction: column;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1rem;
  }

  .footer-nav {
    align-items: flex-start;
  }

  .footer-nav-dl,
  .footer-trust {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 480px) {
  html { font-size: 17px; }

  .hero-h1 { font-size: 1.6rem; }

  .card-inner { padding: 1rem; }
}

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