/* Fantasy Cricket 365 — Magazine
   Brand palette: Forest Green #1B5E20 + Bright Orange #FF6F00
   Built 2026-07-05 - LAYOUT_001 HERO HERO MAGAZINE GRID (different from 19 previous sites)
   Style: Magazine-style 2-column hero + editorial
*/

:root {
  --primary: #1B5E20;
  --accent: #FF6F00;
  --highlight: #FFC107;
  --bg: #FFFFFF;
  --text: #0D2E0D;
  --muted: #6B6B6B;
  --surface: #F5F5F5;
  --surface-2: #FAFAFA;
  --border: #E0E0E0;
  --primary-dark: #0D2E0D;
  --primary-active: #2E7D32;
  --text-dark: #0D2E0D;
  --shadow: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.05);
  --radius: 8px;
  --radius-lg: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--highlight); }
img { max-width: 100%; height: auto; display: block; }

h1 { font-size: clamp(34px, 5vw, 64px); font-weight: 900; margin-bottom: 16px; color: var(--text); line-height: 1.05; letter-spacing: -2px; }
h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 900; margin-bottom: 16px; margin-top: 32px; color: var(--text); line-height: 1.15; letter-spacing: -1px; text-transform: uppercase; }
h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; color: var(--text); line-height: 1.3; }
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(--accent) !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: 2px solid var(--highlight); font-family: -apple-system, sans-serif; position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; z-index: 101 !important; }
.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: 500; }
.topbar .badge { background: var(--highlight); color: var(--primary) !important; padding: 2px 8px; border-radius: 3px; font-size: 11px; font-weight: 900; }
.topbar .social { display: flex; gap: 10px; }
.topbar .social a { color: #fff; padding: 2px 8px; border: 1px solid rgba(255,255,255,0.3); border-radius: 3px; 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 !important; top: 32px !important; left: 0 !important; right: 0 !important; z-index: 100 !important; border-bottom: 3px solid var(--accent); }
header.site .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--text); font-size: 22px; text-decoration: none; font-family: 'Inter', sans-serif; }
.logo .mark { background: var(--primary); color: #fff; padding: 6px 10px; border-radius: 4px; font-size: 16px; font-weight: 900; }
.logo .cs { color: var(--accent); font-style: normal; font-weight: 800; 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: 700; font-size: 13px; border-bottom: 2px solid transparent; text-decoration: none; font-family: -apple-system, sans-serif; text-transform: uppercase; }
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: 4px; font-weight: 800; text-decoration: none; font-size: 14px; cursor: pointer; transition: all 0.2s; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, sans-serif; }
.btn-primary { background: var(--accent); color: #fff !important; font-weight: 900; }
.btn-primary:hover { background: #FF8F00; transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--text); color: var(--text) !important; background: transparent; font-weight: 700; }
.btn-outline:hover { background: var(--text); color: #fff !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: #0D2E0D;
  border-bottom: 2px solid #FF6F00;
  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: 800; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-family: -apple-system, sans-serif; border-right: 1px solid #333; transition: all 0.2s; 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: #FF6F00; color: #fff !important; }
.cta-bar a.primary-cta:hover { background: #FF8F00; }
.cta-bar a.secondary-cta { background: #FFC107; color: #0D2E0D !important; }
.cta-bar a.secondary-cta:hover { background: #FFD54F; }

.breadcrumb { background: var(--surface-2); padding: 12px 0; font-size: 13px; border-bottom: 1px solid var(--border); font-family: -apple-system, sans-serif; margin-top: 104px; }
.breadcrumb .container { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--muted); }
.breadcrumb a { color: var(--accent) !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: 700; }

.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; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

section { padding: 48px 0; }

.longform { font-size: 17px; line-height: 1.75; color: var(--text); }
.longform h2 { margin-top: 40px; color: var(--primary); font-weight: 800; text-transform: uppercase; }
.longform p { margin-bottom: 18px; color: #444; }
.longform img { margin: 24px 0; border-radius: 8px; }

.inline-cta { color: #fff; padding: 40px; border-radius: 8px; text-align: center; margin: 40px 0; box-shadow: var(--shadow); background: var(--primary); }
.inline-cta h3 { color: #fff; font-size: 24px; margin-bottom: 12px; font-weight: 900; }
.inline-cta p { color: rgba(255,255,255,0.95); margin-bottom: 20px; }
.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(--accent); padding: 12px 18px; font-size: 12px; margin: 0; text-align: center; }

.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: 2px 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.85); padding: 56px 0 24px; margin-top: 0; border-top: 4px solid var(--accent); 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.75); font-size: 13px; line-height: 1.7; margin: 12px 0 18px; }
footer .logo { color: #fff; }
footer .footer-heading { color: var(--highlight); font-weight: 900; 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: 2px solid var(--text); cursor: pointer; padding: 8px; width: 44px; height: 44px; position: relative; z-index: 110; border-radius: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; 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: 130px !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.15); z-index: 100 !important; overflow-y: auto; max-height: calc(100vh - 130px); white-space: normal !important; align-items: stretch !important; border-bottom: 2px solid var(--accent); }
  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; }
}

/* === 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: 12px !important; }
  [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; gap: 14px !important; }
  [style*="grid-template-columns:repeat(2"] { grid-template-columns: 1fr !important; gap: 14px !important; }
  [style*="grid-template-columns:2fr 1fr"] { grid-template-columns: 1fr !important; gap: 20px !important; }
  [style*="grid-template-columns:1fr auto 1fr"] { grid-template-columns: 1fr !important; text-align: center !important; gap: 16px !important; }
  header.site { padding: 10px 0 !important; top: 32px !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; margin-top: 96px !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; }
  .cta-bar { top: 60px !important; }
  .cta-bar a { font-size: 11px; padding: 12px 8px; letter-spacing: 0.5px; }
}

/* ===== FOOTER ALWAYS AT BOTTOM ===== */
html, body { min-height: 100vh; }
body { display: block; margin: 0; padding: 0; padding-top: 104px; min-height: 100vh; }
body > main { min-height: calc(100vh - 200px); }

/* News article editorial layer */
.news-article-shell { background: #f7f4ed; padding: 54px 0 78px; color: #16251b; }
.news-article-shell .article-width { max-width: 920px; }
.news-article-shell .article-kicker { margin: 0 0 14px; color: #b74e16; font: 800 12px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.news-article-shell h1 { max-width: 820px; margin: 0 0 18px; color: #123b25; font-size: clamp(34px, 5vw, 62px); letter-spacing: -2px; line-height: 1.03; }
.news-article-shell .article-dek { max-width: 760px; margin: 0 0 18px; color: #465449; font: 400 clamp(18px, 2.2vw, 23px)/1.55 Georgia, serif; }
.news-article-shell .article-byline { margin: 0 0 34px; color: #6d766d; font: 700 12px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: .5px; }
.news-article-shell figure { margin: 0 0 42px; }
.news-article-shell figure img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 16px; box-shadow: 0 14px 34px rgba(19, 44, 28, .14); }
.news-article-shell figcaption { margin: 10px 4px 0; color: #69756b; font: 600 12px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.news-article-shell .article-prose { max-width: 760px; margin: 0 auto; }
.news-article-shell .article-prose p { margin: 0 0 22px; color: #26382b; font: 400 18px/1.78 Georgia, "Times New Roman", serif; }
.news-article-shell .article-prose h2 { margin: 52px 0 16px; color: #155631; font: 900 clamp(25px, 3vw, 35px)/1.14 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -1px; text-transform: none; }
.news-article-shell .article-prose ol { margin: 10px 0 26px 25px; padding: 0; color: #26382b; font: 400 18px/1.75 Georgia, "Times New Roman", serif; }
.news-article-shell .article-prose li { margin: 0 0 13px; padding-left: 5px; }
.news-article-shell .article-prose a { color: #a73f0e; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.news-article-shell .article-update-note { margin-top: 38px !important; padding: 20px 22px; border-left: 4px solid #e06b25; background: #fffaf0; color: #4a524b !important; font: 400 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important; }
.prediction-feature { padding: 24px 0 0; background: #fff; }
.prediction-feature-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px; border: 1px solid #d8e1d5; border-left: 5px solid #ff6f00; border-radius: 14px; background: #f7fbf5; box-shadow: 0 8px 22px rgba(13, 46, 13, .08); }
.prediction-feature-card h2 { margin: 4px 0 10px; color: #123b25; font-size: clamp(23px, 3vw, 34px); text-transform: none; }
.prediction-feature-card p { max-width: 680px; margin: 0; color: #465449; }
.prediction-feature-card .eyebrow { color: #b74e16; font: 800 11px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 1.7px; text-transform: uppercase; }
.prediction-feature-card .btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 768px) {
  .news-article-shell { padding: 38px 0 60px; }
  .news-article-shell .article-width { padding: 0 18px !important; }
  .news-article-shell h1 { font-size: 34px !important; letter-spacing: -1.2px; }
  .news-article-shell .article-dek { font-size: 18px; }
  .news-article-shell .article-prose p, .news-article-shell .article-prose ol { font-size: 17px; line-height: 1.72; }
  .news-article-shell .article-prose h2 { margin-top: 40px; font-size: 26px !important; }
  .news-article-shell figure { margin-bottom: 30px; }
  .prediction-feature-card { display: block; padding: 22px 18px; }
  .prediction-feature-card .btn { display: inline-flex; margin-top: 20px; }
}
.prediction-feature-link { display: block; margin-top: 16px; color: #155631; font: 800 14px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-decoration: underline; text-underline-offset: 3px; }
