/* Fantasy Cricket 24 — Journal
   Brand palette: Charcoal #1A1A1A + Editorial Red #C9302C
   Built 2026-07-05 - LAYOUT_009 MINIMAL AUTHORITY BLOG (different from 17 previous sites)
   Style: Serif typography, lots of whitespace, newspaper-like
*/

:root {
  --primary: #1A1A1A;
  --accent: #C9302C;
  --highlight: #D4A574;
  --bg: #FAFAFA;
  --text: #1A1A1A;
  --muted: #6B6B6B;
  --surface: #FFFFFF;
  --surface-2: #F5F5F5;
  --border: #EAEAEA;
  --primary-dark: #000000;
  --primary-active: #333333;
  --text-dark: #1A1A1A;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.04);
  --radius: 0px;
  --radius-lg: 0px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Georgia, 'Times New Roman', 'Source Serif Pro', serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; font-size: 16px; }
a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 700; margin-bottom: 16px; color: var(--text); line-height: 1.05; letter-spacing: -2px; font-family: Georgia, serif; }
h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 700; margin-bottom: 16px; margin-top: 32px; color: var(--text); line-height: 1.2; font-family: Georgia, serif; letter-spacing: -1px; }
h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text); line-height: 1.3; font-family: Georgia, serif; }
p { margin-bottom: 14px; line-height: 1.7; color: var(--text); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: absolute !important; left: 0 !important; top: 0 !important; background: var(--primary) !important; color: #fff !important; padding: 12px 20px !important; z-index: 9999; }

.topbar { background: var(--primary); color: #fff; padding: 8px 0; font-size: 12px; border-bottom: 1px solid #333; font-family: -apple-system, BlinkMacSystemFont, sans-serif; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar .promo { color: #fff !important; display: flex; align-items: center; gap: 8px; font-weight: 400; font-style: italic; }
.topbar .badge { background: var(--accent); color: #fff !important; padding: 2px 8px; border-radius: 0; font-size: 11px; font-weight: 700; font-style: normal; }
.topbar .social { display: flex; gap: 10px; }
.topbar .social a { color: #fff; padding: 2px 8px; border: 1px solid #444; border-radius: 0; font-size: 11px; text-decoration: none; }

header.site { background: #fff; color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,0.12); padding: 14px 0; position: fixed; top: 0; left: 0; right: 0; z-index: 100; border-bottom: 2px solid #C9302C; }
header.site .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); font-size: 22px; text-decoration: none; font-family: Georgia, serif; }
.logo .mark { background: var(--primary); color: #fff; padding: 6px 10px; border-radius: 0; font-size: 14px; font-weight: 700; font-family: -apple-system, sans-serif; letter-spacing: 1px; }
.logo .cs { color: var(--accent); font-style: italic; font-weight: 400; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-family: -apple-system, sans-serif; margin-left: 4px; }
nav.main { display: flex; gap: 16px; flex: 1; justify-content: center; flex-wrap: wrap; }
nav.main a { color: var(--text); padding: 6px 4px; font-weight: 600; font-size: 13px; border-bottom: 1px solid transparent; text-decoration: none; font-family: -apple-system, sans-serif; text-transform: uppercase; letter-spacing: 1px; }
nav.main a:hover, nav.main a.active { color: var(--accent); border-bottom-color: var(--accent); }

.btn { display: inline-block; padding: 12px 24px; border-radius: 0; font-weight: 700; text-decoration: none; font-size: 13px; cursor: pointer; transition: all 0.2s; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, sans-serif; border: 1px solid; }
.btn-primary { background: var(--primary); color: #fff !important; border-color: var(--primary); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-outline { border-color: var(--text); color: var(--text) !important; background: transparent; font-weight: 600; }
.btn-outline:hover { background: var(--text); color: #fff !important; }

.breadcrumb { background: var(--surface-2); padding: 12px 0; font-size: 13px; border-bottom: 1px solid var(--border); font-family: -apple-system, sans-serif; }
.breadcrumb .container { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--muted); }
.breadcrumb a { color: var(--text) !important; text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep, .breadcrumb span:last-child { color: var(--text) !important; font-weight: 600; }

.hero { background: var(--bg); color: var(--text); padding: 80px 0; }
.hero h1, .hero h2, .hero h3 { color: var(--text); }
.hero .lede { font-size: 18px; color: var(--muted); max-width: 780px; line-height: 1.55; font-style: italic; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

section { padding: 48px 0; }

.longform { font-size: 18px; line-height: 1.75; color: var(--text); font-family: Georgia, serif; }
.longform h2 { margin-top: 48px; color: var(--text); font-weight: 700; font-family: Georgia, serif; letter-spacing: -0.5px; }
.longform p { margin-bottom: 20px; color: #444; }
.longform img { margin: 32px 0; border-radius: 0; border: 1px solid var(--border); }
.longform figcaption { font-family: Georgia, serif; font-style: italic; }

.inline-cta { color: var(--text); padding: 40px; border-radius: 0; text-align: center; margin: 40px 0; box-shadow: none; background: var(--surface); border: 2px solid var(--text); }
.inline-cta h3 { color: var(--text); font-size: 24px; margin-bottom: 12px; font-style: italic; font-weight: 700; }
.inline-cta p { color: var(--muted); margin-bottom: 20px; font-style: italic; }
.inline-cta .cta-pair { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.disclaimer { background: var(--surface); color: var(--muted); border-left: 4px solid var(--text); padding: 12px 18px; font-size: 12px; margin: 0; text-align: center; font-style: italic; }

.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--primary); padding: 12px 16px; z-index: 90; box-shadow: 0 -2px 8px rgba(0,0,0,0.2); gap: 10px; justify-content: center; border-top: 1px solid var(--accent); }
@media (max-width: 1023px) {
  .sticky-cta { display: flex !important; }
  body.has-sticky { padding-bottom: 80px; }
  .sticky-cta .btn { flex: 1; max-width: 200px; }
}

footer { background: var(--primary); color: rgba(255,255,255,0.75); padding: 56px 0 24px; margin-top: 0; border-top: 1px solid #333; font-family: -apple-system, sans-serif; }
footer .container { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { footer .container { grid-template-columns: 1fr 1fr; } }
footer .footer-brand p { color: rgba(255,255,255,0.65); font-size: 13px; line-height: 1.7; margin: 12px 0 18px; font-style: italic; }
footer .logo { color: #fff; }
footer .footer-heading { color: #fff; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 8px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 13px; }
footer ul li a:hover { color: var(--highlight); text-decoration: underline; }
footer .legal-bar { grid-column: 1 / -1; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 12px; color: rgba(255,255,255,0.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* === HAMBURGER === */
.hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--text);
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
  border-radius: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  margin: 5px auto;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

@media (max-width: 768px) {
  .hamburger { display: block !important; }
  header.site .container > .btn { display: none !important; }
  nav.main {
    display: none !important;
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    background: #fff !important;
    flex-direction: column !important;
    padding: 16px !important;
    gap: 0 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 100 !important;
    overflow-y: auto;
    max-height: calc(100vh - 64px);
    white-space: normal !important;
    align-items: stretch !important;
    border-bottom: 1px solid var(--text);
  }
  nav.main.open { display: flex !important; }
  nav.main a {
    padding: 14px 12px !important;
    border-bottom: 1px solid var(--border) !important;
    font-size: 14px !important;
    width: 100% !important;
    text-align: left !important;
    white-space: normal !important;
  }
  nav.main a:last-child { border-bottom: 0 !important; }
  body.menu-open { overflow: hidden !important; position: fixed !important; width: 100% !important; height: 100% !important; top: 0 !important; left: 0 !important; }


/* === STICKY CTA BAR (2 buttons under header) === */
.cta-bar {
  position: fixed !important;
  top: 67px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99 !important;
  background: #1A1A1A;
  border-bottom: 2px solid #C9302C;
  padding: 0;
  display: block;
  width: 100%;
}
.cta-bar .container {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}
.cta-bar a {
  flex: 1 1 50%;
  text-align: center;
  padding: 14px 16px;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  border-right: 1px solid #333;
  transition: all 0.2s ease;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cta-bar a:last-child { border-right: 0; }
.cta-bar a:hover { background: #333; }
.cta-bar a.primary-cta {
  background: #C9302C;
  color: #fff !important;
}
.cta-bar a.primary-cta:hover { background: #a52520; }
.cta-bar a.secondary-cta {
  background: #D4A574;
  color: #1A1A1A !important;
}
.cta-bar a.secondary-cta:hover { background: #b8915f; }

@media (max-width: 768px) {
  .cta-bar { top: 60px; }
  .cta-bar a { font-size: 11px; padding: 12px 8px; letter-spacing: 0.5px; }
}

@media (max-width: 480px) {
  .cta-bar a { padding: 10px 6px; font-size: 10px; }
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
  body, html { overflow-x: hidden !important; max-width: 100vw !important; }
  body { font-size: 15px; }
  section { padding: 40px 0 !important; }
  .container { padding: 0 16px !important; }
  h1 { font-size: 30px !important; line-height: 1.1 !important; }
  h2 { font-size: 22px !important; }
  p { font-size: 14px !important; }
  [style*="grid-template-columns:repeat(5"] { grid-template-columns: 1fr !important; gap: 12px !important; }
  [style*="grid-template-columns:repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
  [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns:repeat(2"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; gap: 20px !important; }
  [style*="grid-template-columns:2fr 1fr"] { grid-template-columns: 1fr !important; gap: 20px !important; }
  [style*="grid-template-columns:80px 100px 1fr"] { grid-template-columns: 1fr !important; gap: 8px !important; }
  header.site { padding: 12px 0 !important; }
  .logo { font-size: 16px !important; }
  .topbar { font-size: 11px !important; }
  .topbar .social { display: none !important; }
  .breadcrumb { padding: 8px 0 !important; font-size: 11px !important; }
  .inline-cta { padding: 26px 18px !important; }
  footer .container { grid-template-columns: 1fr !important; gap: 24px !important; }
  .footer-brand { grid-column: 1 / -1 !important; }
  form { flex-direction: column !important; }
  form input, form button { width: 100% !important; }
  [style*="font-size:48px"] { font-size: 32px !important; }
  [style*="font-size:36px"] { font-size: 24px !important; }
  [style*="font-size:64px"] { font-size: 36px !important; }
}

/* ===== FOOTER ALWAYS AT BOTTOM ===== */
html, body { min-height: 100vh; }
body { display: block; margin: 0; padding: 0; padding-top: 140px; min-height: 100vh; }
/* Make sticky elements stay outside flex flow */
/* sticky elements handled individually above */
body > main { min-height: calc(100vh - 200px); }
body > section { flex-shrink: 0; }
body > .topbar, body > header.site, body > .breadcrumb, body > .disclaimer { flex-shrink: 0; }
body > footer { flex-shrink: 0; margin-top: auto; }
body > .sticky-cta { order: 100; position: fixed !important; }
