/* ============================================
   1. CSS VARIABLES & RESET
   ============================================ */
:root {
  /* Colors - Light Theme */
  --color-primary: #1B4D3E;
  --color-primary-dark: #0D2818;
  --color-accent: #C5A572;
  --color-text: #3E4C59;
  --color-text-secondary: #5A6978;
  --color-bg: #F8F7F4;
  --color-surface: #FFFFFF;
  --color-alert: #E85A4F;
  --color-border: #E0DDD8;
  --color-success: #2E7D4A;
  --color-danger: #C53030;
  
  /* Typography */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --h1: clamp(2rem, 5vw, 3rem);
  --h2: clamp(1.5rem, 4vw, 2.25rem);
  --h3: clamp(1.25rem, 3vw, 1.5rem);
  --body: clamp(1rem, 2vw, 1.125rem);
  --small: 0.875rem;
  --lh-heading: 1.2;
  --lh-body: 1.6;
  
  /* Layout */
  --content-width: 800px;
  --section-gap: clamp(3rem, 6vw, 5rem);
  --component-padding: clamp(1.25rem, 3vw, 2rem);

    /* --- AUTO-FORCED DARK THEME --- */
    --color-primary: #4A8B7A;
    --color-primary-dark: #1B4D3E;
    --color-accent: #D4B896;
    --color-text: #E8E6E3;
    --color-text-secondary: #A8A5A0;
    --color-bg: #1A1918;
    --color-surface: #252422;
    --color-border: #3A3836;
}

/* Dark Theme */


*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   2. GENERAL TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--lh-heading);
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
}

h2 {
  font-size: var(--h2);
  margin-bottom: 1rem;
  scroll-margin-top: 2rem;
}

h3 {
  font-size: var(--h3);
  margin-bottom: 0.75rem;
  scroll-margin-top: 2rem;
}

p {
  margin-bottom: 1rem;
  text-align: left;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent);
}

a:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

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

li {
  margin-bottom: 0.5rem;
  text-align: left;
}

blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--color-text-secondary);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: var(--small);
}

thead {
  background-color: var(--color-primary);
  color: var(--color-surface);
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

tbody tr:nth-child(even) {
  background-color: var(--color-surface);
}

tbody tr:hover {
  background-color: rgba(197, 165, 114, 0.08);
}

figure {
  margin: 1.5rem 0;
  max-width: 100%;
}

figcaption {
  font-size: var(--small);
  color: var(--color-text-secondary);
  text-align: center;
  margin-top: 0.5rem;
}

/* ============================================
   3. LAYOUT - DATA-CONTENT SECTIONS
   ============================================ */
main {
  width: 100%;
}

[data-content] {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
  margin-bottom: var(--section-gap);
}

[data-content] img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   4. COMPONENTS
   ============================================ */

/* --- Info Box --- */
.info-box {
  background-color: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  padding: var(--component-padding);
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.info-box p {
  margin-bottom: 0.5rem;
  text-align: left;
  color: var(--color-text);
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* --- Odds Example --- */
.odds-example {
  background-color: var(--color-primary);
  color: var(--color-surface);
  padding: var(--component-padding);
  margin: 1.5rem 0;
  text-align: center;
  box-shadow: 0 4px 12px rgba(27, 77, 62, 0.15);
}

.odds-example p {
  text-align: center;
  color: var(--color-surface);
  margin-bottom: 0.5rem;
}

.odds-example p:last-child {
  margin-bottom: 0;
}

.odds-example strong {
  color: var(--color-accent);
}

@media (prefers-color-scheme: dark) {
  .odds-example {
    background-color: #1B4D3E;
    color: #F8F7F4;
  }
  .odds-example p {
    color: #F8F7F4;
  }
  .odds-example strong {
    color: #D4B896;
  }
}

/* --- Callout --- */
.callout {
  position: relative;
  background-color: rgba(197, 165, 114, 0.08);
  border-left: 4px solid var(--color-alert);
  padding: var(--component-padding);
  padding-left: calc(var(--component-padding) + 0.5rem);
  margin: 1.5rem 0;
}

.callout p {
  text-align: left;
  color: var(--color-text);
  margin-bottom: 0;
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.card-grid > div {
  background-color: var(--color-surface);
  padding: var(--component-padding);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--color-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-grid > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.card-grid p {
  text-align: left;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.card-grid p:last-child {
  margin-bottom: 0;
}

.card-grid strong {
  color: var(--color-primary);
}

/* --- Comparison --- */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.comparison > div {
  background-color: var(--color-surface);
  padding: var(--component-padding);
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.comparison p {
  text-align: left;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.comparison p:last-child {
  margin-bottom: 0;
}

.comparison strong {
  display: block;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-size: 1.1em;
}

@media (max-width: 600px) {
  .comparison {
    grid-template-columns: 1fr;
  }
}

/* --- TL;DR --- */
.tldr[data-content] {
  background-color: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  padding: var(--component-padding);
  margin-top: 0;
  margin-bottom: var(--section-gap);
}

.tldr h2 {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.tldr ul {
  margin-bottom: 0;
}

.tldr li {
  text-align: left;
  color: var(--color-text);
}

/* --- Key Takeaway --- */
.key-takeaway {
  border-top: 2px solid var(--color-accent);
  padding-top: 1rem;
  margin: 2rem 0;
}

.key-takeaway p {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-primary);
  text-align: left;
  margin-bottom: 0;
}

/* --- Fun Fact --- */
.fun-fact {
  position: relative;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}

.fun-fact::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 600;
}

.fun-fact p {
  font-style: italic;
  color: var(--color-text-secondary);
  text-align: left;
  margin-bottom: 0;
}

/* --- Glossary Term --- */
.glossary-term {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 1rem 0;
}

.glossary-term strong {
  font-family: monospace;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.glossary-term span {
  color: var(--color-text-secondary);
}

@media (max-width: 480px) {
  .glossary-term {
    flex-direction: column;
    gap: 4px;
  }
}

/* --- Do's and Don'ts --- */
.dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.dos-donts > div {
  padding: var(--component-padding);
}

.dos-donts > div:first-child {
  border-left: 4px solid var(--color-success);
  background-color: rgba(46, 125, 74, 0.05);
}

.dos-donts > div:last-child {
  border-left: 4px solid var(--color-danger);
  background-color: rgba(197, 48, 48, 0.05);
}

.dos-donts strong {
  display: block;
  margin-bottom: 0.75rem;
}

.dos-donts > div:first-child strong {
  color: var(--color-success);
}

.dos-donts > div:last-child strong {
  color: var(--color-danger);
}

.dos-donts ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.dos-donts li {
  text-align: left;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.dos-donts li:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .dos-donts {
    grid-template-columns: 1fr;
  }
}

/* --- Pre-Bet Checklist --- */
.pre-bet-checklist {
  margin: 1.5rem 0;
}

.pre-bet-checklist strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--small);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.pre-bet-checklist ul {
  position: relative;
  border-left: 2px solid var(--color-border);
  padding-left: 1.5rem;
  margin: 0;
  list-style: none;
}

.pre-bet-checklist li {
  position: relative;
  margin-bottom: 0.75rem;
  text-align: left;
  color: var(--color-text);
}

.pre-bet-checklist li::before {
  content: '\2610';
  position: absolute;
  left: -1.75rem;
  color: var(--color-accent);
  background-color: var(--color-bg);
  padding: 0 2px;
}

.pre-bet-checklist li:last-child {
  margin-bottom: 0;
}

/* --- At a Glance --- */
.at-a-glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 1.5rem 0;
}

.at-a-glance > div {
  padding: var(--component-padding);
  border-right: 1px solid var(--color-border);
  text-align: center;
}

.at-a-glance > div:last-child {
  border-right: none;
}

.at-a-glance p {
  text-align: center;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.at-a-glance p:first-child {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--color-primary);
}

.at-a-glance p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .at-a-glance {
    grid-template-columns: 1fr 1fr;
  }
  .at-a-glance > div {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
  .at-a-glance > div:nth-child(odd) {
    border-right: 1px solid var(--color-border);
  }
  .at-a-glance > div:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

/* --- Worked Example --- */
.worked-example {
  background-color: var(--color-surface);
  padding: calc(var(--component-padding) * 1.25);
  margin: 1.5rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--color-border);
}

.worked-example p {
  text-align: left;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.worked-example p:first-child {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.worked-example p:last-child {
  font-family: monospace;
  background-color: rgba(197, 165, 114, 0.1);
  padding: 0.75rem 1rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0;
}

/* --- Section Bridge --- */
.section-bridge {
  text-align: center;
  margin: 2.5rem 0;
  color: var(--color-accent);
  font-style: italic;
  font-size: 1.05em;
}

.section-bridge::before,
.section-bridge::after {
  content: '—';
  display: inline-block;
  margin: 0 0.75rem;
  opacity: 0.6;
}

/* ============================================
   5. HERO SECTION
   ============================================ */
[data-content="hero"] {
  max-width: none;
  padding: 0;
  margin-bottom: 0;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

[data-content="hero"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(197, 165, 114, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) 1.5rem clamp(2.5rem, 6vw, 4rem);
  position: relative;
  z-index: 1;
}

[data-content="hero"] h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--color-accent);
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.02em;
}

[data-content="hero"] figure {
  margin: 2rem auto 0;
  max-width: 100%;
}

[data-content="hero"] .hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

[data-content="hero"] figcaption {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.75rem;
}

/* ============================================
   6. HEADER
   ============================================ */
header {
  background-color: var(--color-bg);
}

.header-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.date-badge {
  display: inline-flex;
  align-items: center;
  font-size: var(--small);
  color: var(--color-text-secondary);
  background-color: var(--color-surface);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--color-border);
}

.trust-marker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
}

/* ============================================
   7. TOC - Horizontal Strip
   ============================================ */
[data-content="toc"] {
  max-width: none;
  padding: 0;
  margin-bottom: var(--section-gap);
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.toc-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.toc-inner::-webkit-scrollbar {
  height: 4px;
}

.toc-inner::-webkit-scrollbar-thumb {
  background-color: var(--color-border);
  border-radius: 2px;
}

.toc-inner a {
  white-space: nowrap;
  font-size: var(--small);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.toc-inner a:hover,
.toc-inner a:focus {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
}

/* ============================================
   8. FAQ ACCORDION
   ============================================ */
[data-content="faq"] details {
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
}

[data-content="faq"] details:last-of-type {
  border-bottom: none;
}

[data-content="faq"] summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 500;
  color: var(--color-primary);
  list-style: none;
  transition: color 0.2s ease;
}

[data-content="faq"] summary::-webkit-details-marker {
  display: none;
}

[data-content="faq"] summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

[data-content="faq"] details[open] summary::after {
  transform: rotate(45deg);
}

[data-content="faq"] summary:hover {
  color: var(--color-accent);
}

[data-content="faq"] summary:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Modern CSS accordion animation */
[data-content="faq"] details {
  interpolate-size: allow-keywords;
}

[data-content="faq"] details::details-content {
  opacity: 0;
  block-size: 0;
  overflow: hidden;
  transition: 
    opacity 0.3s ease,
    block-size 0.3s ease,
    content-visibility 0.3s ease allow-discrete;
}

[data-content="faq"] details[open]::details-content {
  opacity: 1;
  block-size: auto;
}

/* Fallback for browsers without ::details-content support */
@supports not selector(::details-content) {
  [data-content="faq"] details[open] > div {
    animation: fadeIn 0.3s ease forwards;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

[data-content="faq"] details > div {
  padding-bottom: 1rem;
}

[data-content="faq"] details > div p {
  text-align: left;
  color: var(--color-text);
  margin-bottom: 0;
}


/* ============================================
   10. MEDIA QUERIES
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-gap: clamp(2rem, 5vw, 3rem);
    --component-padding: clamp(1rem, 3vw, 1.5rem);
  }
  
  [data-content] {
    padding: 0 1rem;
  }
  
  .hero-inner {
    padding: clamp(2rem, 6vw, 3rem) 1rem clamp(1.5rem, 4vw, 2.5rem);
  }
  
  .header-inner {
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 480px) {
  table {
    font-size: 0.8125rem;
  }
  
  th, td {
    padding: 0.5rem 0.75rem;
  }
  
  .toc-inner {
    gap: 1rem;
    padding: 0.5rem 1rem;
  }
}

/* =========================================
   UNIVERSAL DESKTOP & MOBILE MENU + LOGO
   ========================================= */

/* Header Base */
.site-header {
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border, #333);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-navigation-bar {
    max-width: 950px; /* Optimized width to keep menu centered but separated */
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Pushes logo left and burger/menu right */
}

/* --- LOGO FIXES --- */
.site-logo img {
    max-height: 55px; /* Optimal height for most logos */
    width: auto !important; /* Prevents squishing */
    display: block;
    transition: transform 0.2s ease;
}

.site-logo img:hover {
    transform: scale(1.02);
}

/* --- DESKTOP MENU --- */
.site-nav--desktop {
    display: none; /* Hidden on mobile by default */
}

@media (min-width: 769px) {
    .site-nav--desktop {
        display: block;
    }
    .mobile-controls {
        display: none; /* Hide burger on desktop */
    }
    
    .menu-desktop {
        display: flex;
        gap: 30px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .menu-desktop a {
        text-decoration: none;
        color: var(--color-text);
        font-family: var(--font-body, sans-serif);
        font-weight: 500;
        font-size: 16px;
        transition: color 0.2s ease;
    }
    
    .menu-desktop a:hover {
        color: var(--color-accent);
    }
}

/* --- MOBILE BURGER BUTTON --- */
.burger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
    z-index: 1000;
}

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

/* Burger Animation to X */
.burger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.burger.is-active span:nth-child(2) {
    opacity: 0;
}
.burger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- MOBILE MENU SLIDER --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen */
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-bg);
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    padding: 60px 30px;
}

.mobile-menu.is-open {
    right: 0; /* Slide in */
}

.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 36px;
    line-height: 1;
    color: var(--color-text);
    cursor: pointer;
    transition: color 0.2s ease;
}

.mobile-menu__close:hover {
    color: var(--color-accent);
}

.menu-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.menu-mobile a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 20px;
    font-family: var(--font-display, sans-serif);
    font-weight: 600;
    display: block;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.menu-mobile a:hover {
    color: var(--color-accent);
    padding-left: 10px; /* Nice slide effect on hover */
}

/* --- OVERLAY --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px); /* Beautiful blur effect */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    z-index: 998;
}

.mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* =========================================
   4-COLUMN FOOTER (Best Odds Theme)
   ========================================= */
.site-footer-4col {
    background-color: #0f1115; /* Modern dark background */
    color: #d1d5db;
    padding: 70px 20px 30px;
    margin-top: 80px;
    font-family: var(--font-body, sans-serif);
    border-top: 3px solid #3b82f6; /* Blue accent border */
}

.footer-4col-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-4col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .footer-4col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-4col-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

/* Blue Titles */
.widget-title {
    color: #3b82f6; /* Blue accent color */
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.widget-list li {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    color: #d1d5db;
    line-height: 1.5;
}

.widget-list a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.widget-list a:hover {
    color: #3b82f6;
}

/* Blue bullets */
.bullet-list li {
    position: relative;
    padding-left: 18px;
}

.bullet-list li::before {
    content: '•';
    color: #3b82f6; /* Blue bullet color */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.clean-list li {
    padding-left: 0;
    padding-bottom: 0.8rem;
}

.clean-list li::before {
    display: none;
}

.footer-4col-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-4col-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: #9ca3af;
    text-align: center;
}

.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #3b82f6;
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background-color: #2563eb;
    transform: translateY(-5px);
}