.um-header *,
.um-header *::before,
.um-header *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  text-decoration: none;
  list-style: none;
}

.um-header {
  --um-primary-color: #333;
  --um-bg-color: #fff;
  --um-hover-color: inherit;
  --um-border-color: #ddd;
  --um-transition: 0.3s ease;
  --um-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

  all: initial;
  font-family: inherit;
  display: block;
  position: relative;
  background-color: var(--um-bg-color);
  color: var(--um-primary-color);
}

.um-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  padding: 1rem;
  gap: 1rem;
}

.um-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  font-weight: bold;
}

.um-logo__image {
  display: block;
  max-width: 60px;
  height: auto;
}

.um-logo__text {
  font-size: 1.25rem;
}

.um-logo-text {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
  font-size: 1.25rem;
}

.um-burger {
  --um-burger-width: 30px;
  --um-burger-height: 24px;

  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: var(--um-burger-width);
  height: var(--um-burger-height);
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.um-burger__line {
  width: 100%;
  height: 3px;
  background-color: currentColor;
  border-radius: 1px;
  transition:
    transform var(--um-transition),
    opacity var(--um-transition);
}

.um-burger[aria-expanded='true'] .um-burger__line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.um-burger[aria-expanded='true'] .um-burger__line:nth-child(2) {
  opacity: 0;
}

.um-burger[aria-expanded='true'] .um-burger__line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.um-navigation {
  position: relative;
  z-index: 1000;
}

.um-menu {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}

.um-menu-item {
  position: relative;
}

.um-menu-item__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.um-menu-link {
  display: block;
  padding: 0.75rem 1rem;
  color: inherit;
  text-decoration: none !important;
  flex: 1;
  transition: color var(--um-transition);
  border-radius: 4px;
}

a.um-menu-link:hover {
  color: var(--um-hover-color);
  background-color: rgba(0, 0, 0, 0.03);
}

.um-menu-item--current > .um-menu-item__inner > .um-menu-link {
  color: var(--um-hover-color);
  font-weight: 600;
}

.um-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  border-radius: 4px;
  flex-shrink: 0;
  transition: background-color var(--um-transition);
}

.um-menu-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.um-menu-toggle__icon {
  transition: transform var(--um-transition);
}

.um-menu-toggle[aria-expanded='true'] .um-menu-toggle__icon {
  transform: rotate(180deg);
}

.um-sub-menu {
  display: none;
  min-width: 200px;
  padding: 0.5rem 0;
  background-color: var(--um-bg-color);
  box-shadow: var(--um-shadow);
  border: 1px solid var(--um-border-color);
  border-radius: 6px;
}

.um-sub-menu--depth-0 {
  position: static;
}

.um-sub-menu--depth-1 {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
}

.um-sub-menu--depth-2 {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 0.5rem;
}

.um-sub-menu.active {
  display: block;
}

.um-sub-menu .um-menu-link {
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
}

@media (max-width: 1023px) {
  .um-burger {
    display: flex;
  }

  .um-navigation {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--um-bg-color);
    transition: left var(--um-transition);
    overflow-y: auto;
    padding: 5rem 1rem 2rem;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .um-navigation.active {
    left: 0;
  }

  .um-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .um-overlay.active {
    display: block;
  }

  .um-sub-menu--depth-1,
  .um-sub-menu--depth-2 {
    position: static;
    margin-left: 1rem;
    margin-top: 0.5rem;
    box-shadow: none;
    border: none;
    border-left: 1px solid var(--um-border-color);
  }
}

@media (min-width: 1024px) {
  .um-container {
    flex-wrap: nowrap;
  }

  .um-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .um-menu-toggle {
    display: none;
  }

  .um-menu-item--has-children:hover > .um-sub-menu {
    display: block;
  }

  .um-menu-item:last-child .um-sub-menu--depth-1,
  .um-menu-item:nth-last-child(2) .um-sub-menu--depth-1 {
    left: auto;
    right: 0;
  }
}

.um-menu-toggle:focus-visible,
.um-menu-link:focus-visible,
.um-burger:focus-visible {
  outline: 2px solid var(--um-hover-color);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .um-header * {
    transition: none !important;
    animation: none !important;
  }
}

.um-header.um-theme-dark {
  --um-primary-color: inherit;
  --um-bg-color: inherit;
  --um-hover-color: inherit;
  --um-border-color: inherit;
}

.um-header.um-theme-minimal {
  --um-bg-color: transparent;
  --um-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.um-hide {
  display: none !important;
}

.um-show {
  display: block !important;
}

.um-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.header-meta time {
  margin: auto;
  font-size: 1rem;
}

.header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: inherit;
}

.header-meta span {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-meta svg {
  width: 30px;
}
.articles-main {
  padding: 20px 0;
}

.articles-breadcrumbs {
  margin-bottom: 20px;
}

.articles-header {
  text-align: center;
  margin-bottom: 40px;
}

.articles-page-title {
  font-size: 2.5rem;
  margin: 0;
  color: #333;
}

.articles-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.articles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
}

.article-item {
  flex: 1 1 calc(50% - 30px);
  min-width: 300px;
  box-sizing: border-box;
}

.article-card {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card__image-link {
  display: block;
  text-decoration: none;
}

.article-card__image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.article-card__img {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-card__img {
  transform: scale(1.05);
}

.article-card__image--placeholder {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-icon {
  font-size: 60px;
  opacity: 0.7;
}

.article-card__content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__header {
  margin-bottom: 15px;
}

.article-card__title {
  margin: 0 0 10px 0;
  font-size: 1.4rem;
  line-height: 1.3;
}

.article-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-card__title a:hover {
  color: inherit;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #666;
}

.article-meta__separator {
  color: #999;
  font-size: 0.9em;
}

.article-meta__date,
.article-meta__author,
.article-meta__category,
.article-meta__time {
  display: inline-flex;
  align-items: center;
}

.article-card__excerpt {
  flex: 1;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #555;
}

.article-card__footer {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.article-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.article-card__read-more:hover {
  gap: 10px;
}

.read-more-arrow {
  transition: transform 0.3s ease;
}

.article-card__read-more:hover .read-more-arrow {
  transform: translateX(3px);
}

.articles-pagination {
  margin-top: 40px;
}

.articles-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 5px;
}

.articles-pagination li {
  margin: 0;
}

.articles-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 15px;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  transition: all 0.3s ease;
}

.articles-pagination .current {
  background: inherit;
  color: inherit;
  border-color: inherit;
}

.articles-pagination a.page-numbers:hover {
  background: inherit;
  border-color: inherit;
  color: inherit;
}

.articles-empty {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  text-align: center;
}

.articles-empty__content {
  max-width: 500px;
}

.articles-empty__title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 15px;
}

.articles-empty__text {
  color: #666;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.articles-empty__link {
  display: inline-block;
  padding: 12px 30px;
  background: #0073aa;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.articles-empty__link:hover {
  background: #005a87;
}

h1 {
  text-align: center;
}

@media (max-width: 992px) {
  .article-item {
    flex: 1 1 calc(50% - 30px);
  }

  .articles-page-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .articles-grid {
    gap: 20px;
  }

  .article-item {
    flex: 1 1 100%;
  }

  .article-card__content {
    padding: 20px;
  }

  .article-card__image {
    height: 180px;
  }

  .articles-page-title {
    font-size: 1.8rem;
  }

  .article-meta {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .articles-container {
    padding: 0 15px;
  }

  .article-card__image {
    height: 160px;
  }

  .article-card__title {
    font-size: 1.2rem;
  }

  .articles-pagination .page-numbers {
    min-width: 35px;
    height: 35px;
    padding: 0 10px;
    font-size: 0.9rem;
  }
}

main {
  overflow-x: hidden !important;
}

    /* ========================================
       1. CSS Variables & Reset
    ======================================== */
    :root {
      /* Typography */
      --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
      --font-body: 'Inter', system-ui, sans-serif;
      --font-mono: 'JetBrains Mono', 'Courier New', monospace;
      
      /* Type Scale */
      --font-h1: clamp(1.7rem, 3.5vw + 1rem, 3.2rem);
      --font-h2: clamp(1.5rem, 3vw + 0.5rem, 2.25rem);
      --font-h3: clamp(1.125rem, 2vw + 0.25rem, 1.5rem);
      --font-body-size: clamp(1rem, 1vw + 0.5rem, 1.125rem);
      --font-small: 0.875rem;
      
      /* Colors - Light Theme */
      --color-bg: #FAFAFA;
      --color-surface: #FFFFFF;
      --color-text: #1A1A1A;
      --color-text-secondary: #4A4A4A;
      --color-accent: #2E7D32;
      --color-accent-hover: #1B5E20;
      --color-warning: #F57C00;
      --color-danger: #C62828;
      --color-success: #2E7D32;
      --color-border: #E0E0E0;
      --color-info-bg: #E8F5E9;
      --color-warning-bg: #FFF3E0;
      --color-danger-bg: #FFEBEE;
      
      /* Layout */
      --content-width: 920px;
      --section-gap: clamp(3rem, 6vw, 5rem);
      --sidebar-width: 240px;
      
      /* Shadows */
      --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
      --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    }
    
    @media (prefers-color-scheme: dark) {
      :root {
        --color-bg: #121212;
        --color-surface: #1E1E1E;
        --color-text: #E8E8E8;
        --color-text-secondary: #A0A0A0;
        --color-border: #333333;
        --color-info-bg: #1B3D1F;
        --color-warning-bg: #3D2A0F;
        --color-danger-bg: #3D1515;
      }
    }
    
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    
    html {
      scroll-behavior: smooth;
    }
    
    body {
      font-family: var(--font-body);
      font-size: var(--font-body-size);
      line-height: 1.7;
      color: var(--color-text);
      background-color: var(--color-bg);
    }
    
    /* ========================================
       2. General Typography
    ======================================== */
    h1 {
      font-family: var(--font-display);
      font-size: var(--font-h1);
      line-height: 1.1;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      word-break: break-word;
    }

    .hero-subtitle {
      text-align: center;
    }
    
    h2 {
      font-family: var(--font-display);
      font-size: var(--font-h2);
      line-height: 1.2;
      letter-spacing: 0.01em;
      margin-bottom: 1.5rem;
      text-align: left;
      scroll-margin-top: 2rem;
    }
    
    h3 {
      font-family: var(--font-body);
      font-size: var(--font-h3);
      font-weight: 600;
      line-height: 1.3;
      margin-bottom: 1rem;
      text-align: left;
      scroll-margin-top: 2rem;
    }
    
    p {
      margin-bottom: 1.25rem;
      text-align: left;
    }
    
    a {
      color: var(--color-accent);
      text-decoration: underline;
      text-underline-offset: 2px;
      transition: color 0.2s ease;
    }
    
    a:hover {
      color: var(--color-accent-hover);
    }
    
    a:focus {
      outline: 2px solid var(--color-accent);
      outline-offset: 2px;
    }
    
    strong {
      font-weight: 600;
    }
    
    ul, ol {
      margin-bottom: 1.25rem;
      padding-left: 1.5rem;
      text-align: left;
    }
    
    li {
      margin-bottom: 0.5rem;
    }
    
    blockquote {
      border-left: 3px solid var(--color-accent);
      padding-left: 1.5rem;
      margin: 1.5rem 0;
      font-style: italic;
      color: var(--color-text-secondary);
      text-align: left;
    }
    
    table {
      width: 100%;
      border-collapse: collapse;
      margin: 1.5rem 0;
      text-align: left;
    }
    
    th, td {
      padding: 0.75rem 1rem;
      border-bottom: 1px solid var(--color-border);
      text-align: left;
    }
    
    th {
      font-weight: 600;
      background-color: var(--color-surface);
    }
    
    figure {
      margin: 2rem 0;
    }
    
    figcaption {
      font-size: var(--font-small);
      color: var(--color-text-secondary);
      text-align: center;
      margin-top: 0.75rem;
    }
    
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    
    /* ========================================
       3. Layout - Main Grid with Sidebar TOC
    ======================================== */
    header {
      display: contents;
    }
    
    main {
      display: block;
      padding: 0 1rem;
    }
    
    [data-content] {
      max-width: var(--content-width);
      margin-left: auto;
      margin-right: auto;
    }
    
    [data-content="hero"] {
      width: 100vw;
      padding: 4rem 1.5rem;
      background: var(--color-bg);
      text-align: center;
    }
    
    [data-content="toc"] {
      grid-column: 1;
      grid-row: 2 / span 50;
      position: sticky;
      top: 2rem;
      max-height: calc(100vh - 4rem);
      overflow-y: auto;
      padding: 1.5rem 0;
      padding-right: 1.5rem;
      scrollbar-width: thin;
      scrollbar-color: var(--color-border) transparent;
    }

    [data-content="toc"] {
        position: static;
        max-height: none;
        overflow-y: visible;
        padding: 1.5rem;
        margin-bottom: 1rem;
        background: var(--color-surface);
        border-radius: 8px;
        border: 1px solid var(--color-border);
      }
    
    footer {
      grid-column: 2;
      max-width: var(--content-width);
      margin-top: var(--section-gap);
      padding: 2rem 0;
      border-top: 1px solid var(--color-border);
      font-size: 0.8125rem;
      color: var(--color-text-secondary);
    }
    
    /* ========================================
       4. Components
    ======================================== */
    
    /* --- Info Box --- */
    .info-box {
      background: var(--color-info-bg);
      border-left: 4px solid var(--color-accent);
      padding: 1.5rem;
      margin: 2rem 0;
      border-radius: 0 8px 8px 0;
    }
    
    .info-box p {
      margin-bottom: 0;
      text-align: left;
      color: var(--color-text);
    }
    
    .info-box p:not(:last-child) {
      margin-bottom: 0.75rem;
    }
    
    /* --- Odds Example --- */
    .odds-example {
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: 8px;
      padding: 1.5rem;
      margin: 2rem 0;
      box-shadow: var(--shadow-sm);
    }
    
    .odds-example p:first-child {
      font-family: var(--font-body);
      font-weight: 600;
      margin-bottom: 1rem;
      padding-bottom: 0.75rem;
      border-bottom: 2px solid var(--color-accent);
      text-align: left;
      color: var(--color-text);
    }
    
    .odds-example table {
      margin: 0;
    }
    
    .odds-example th,
    .odds-example td {
      color: var(--color-text);
      background: transparent;
    }
    
    .odds-example td:nth-child(2) {
      font-family: var(--font-mono);
      font-weight: 600;
      color: var(--color-accent);
    }
    
    .odds-example > p:last-child {
      margin-top: 1rem;
      margin-bottom: 0;
      font-size: var(--font-small);
      color: var(--color-text-secondary);
      text-align: center;
    }
    
    /* --- Callout --- */
    .callout {
      background: var(--color-warning-bg);
      border-left: 4px solid var(--color-warning);
      padding: 1.25rem 1.5rem;
      margin: 2rem 0;
      border-radius: 0 8px 8px 0;
    }
    
    .callout p {
      margin-bottom: 0;
      text-align: left;
      color: var(--color-text);
    }
    
    .callout--warning {
      background: var(--color-danger-bg);
      border-color: var(--color-danger);
    }
    
    /* --- Card Grid --- */
    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1.5rem;
      margin: 2rem 0;
    }
    
    .card-grid > div {
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: 8px;
      padding: 1.5rem;
      box-shadow: var(--shadow-sm);
      transition: box-shadow 0.2s ease, transform 0.2s ease;
    }
    
    .card-grid > div:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
    }
    
    .card-grid p {
      text-align: left;
      color: var(--color-text);
    }
    
    .card-grid p:first-child {
      font-family: var(--font-display);
      font-size: 1.25rem;
      letter-spacing: 0.02em;
      color: var(--color-accent);
      margin-bottom: 0.75rem;
    }
    
    .card-grid p:last-child {
      margin-bottom: 0;
      font-size: var(--font-small);
      color: var(--color-text-secondary);
    }
    
    /* --- Comparison --- */
    .comparison {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      margin: 2rem 0;
    }
    
    .comparison > div {
      padding: 1.5rem;
      border-radius: 8px;
    }
    
    .comparison > div:first-child {
      background: var(--color-info-bg);
      border-top: 3px solid var(--color-success);
    }
    
    .comparison > div:last-child {
      background: var(--color-danger-bg);
      border-top: 3px solid var(--color-danger);
    }
    
    .comparison p {
      text-align: left;
      color: var(--color-text);
    }
    
    .comparison p:first-child {
      font-weight: 600;
      margin-bottom: 1rem;
    }
    
    .comparison ul {
      margin-bottom: 0;
    }
    
    .comparison li {
      color: var(--color-text);
    }
    
    /* --- Key Takeaway --- */
    .key-takeaway {
      border-top: 2px solid var(--color-accent);
      padding-top: 1.5rem;
      margin: 2rem 0;
    }
    
    .key-takeaway p {
      font-family: var(--font-display);
      font-size: clamp(1.25rem, 2vw + 0.5rem, 1.5rem);
      font-weight: 400;
      line-height: 1.4;
      letter-spacing: 0.01em;
      text-align: left;
      color: var(--color-text);
      margin-bottom: 0;
    }
    
    /* --- Fun Fact --- */
    .fun-fact {
      position: relative;
      padding-left: 1.5rem;
      margin: 1.5rem 0;
    }
    
    .fun-fact::before {
      content: '\2014';
      position: absolute;
      left: 0;
      color: var(--color-accent);
      font-weight: 600;
    }
    
    .fun-fact p {
      font-style: italic;
      color: var(--color-text-secondary);
      margin-bottom: 0;
      text-align: left;
    }
    
    /* --- Glossary Term --- */
    .glossary-term {
      margin: 1.5rem 0;
    }
    
    .glossary-term p {
      text-align: left;
      color: var(--color-text);
      margin-bottom: 0;
    }
    
    .glossary-term strong {
      font-family: var(--font-mono);
      color: var(--color-accent);
      text-decoration: underline;
      text-decoration-color: var(--color-accent);
      text-decoration-thickness: 2px;
      text-underline-offset: 3px;
    }
    
    /* --- Dos and Donts --- */
    .dos-donts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      margin: 2rem 0;
    }
    
    .dos-donts > div {
      padding: 1.5rem;
      border-radius: 8px;
    }
    
    .dos-donts > div:first-child {
      background: var(--color-info-bg);
    }
    
    .dos-donts > div:last-child {
      background: var(--color-danger-bg);
    }
    
    .dos-donts p {
      text-align: left;
      color: var(--color-text);
    }
    
    .dos-donts p:first-child {
      font-weight: 600;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    
    .dos-donts > div:first-child p:first-child::before {
      content: '\2713';
      color: var(--color-success);
      font-weight: 700;
    }
    
    .dos-donts > div:last-child p:first-child::before {
      content: '\2717';
      color: var(--color-danger);
      font-weight: 700;
    }
    
    .dos-donts ul {
      margin-bottom: 0;
    }
    
    .dos-donts li {
      color: var(--color-text);
    }
    
    /* --- Pre-bet Checklist --- */
    .pre-bet-checklist {
      margin: 2rem 0;
      padding-left: 1.5rem;
      border-left: 2px solid var(--color-border);
    }
    
    .pre-bet-checklist p:first-child {
      font-family: var(--font-display);
      font-size: 0.875rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-accent);
      margin-bottom: 1rem;
      text-align: left;
    }
    
    .pre-bet-checklist ul {
      list-style: none;
      padding-left: 0;
      margin-bottom: 0;
    }
    
    .pre-bet-checklist li {
      position: relative;
      padding-left: 2rem;
      margin-bottom: 0.75rem;
      color: var(--color-text);
    }
    
    .pre-bet-checklist li::before {
      content: '\2610';
      position: absolute;
      left: 0;
      color: var(--color-accent);
      font-size: 1.25rem;
      line-height: 1;
      background: var(--color-bg);
      padding-right: 0.25rem;
    }
    
    /* --- At a Glance --- */
    .at-a-glance {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 0;
      margin: 2rem 0;
      border: 1px solid var(--color-border);
      border-radius: 8px;
      overflow: hidden;
    }
    
    .at-a-glance > div {
      padding: 1.5rem;
      border-right: 1px solid var(--color-border);
      background: var(--color-surface);
    }
    
    .at-a-glance > div:last-child {
      border-right: none;
    }
    
    .at-a-glance p {
      text-align: center;
      color: var(--color-text);
    }
    
    .at-a-glance p:first-child {
      font-family: var(--font-display);
      font-size: 1.5rem;
      color: var(--color-accent);
      margin-bottom: 0.5rem;
    }
    
    .at-a-glance p:last-child {
      font-size: var(--font-small);
      color: var(--color-text-secondary);
      margin-bottom: 0;
    }
    
    /* --- Worked Example --- */
    .worked-example {
      background: var(--color-surface);
      padding: 2rem;
      margin: 2rem 0;
      border-radius: 8px;
      box-shadow: var(--shadow-sm);
    }
    
    .worked-example p {
      text-align: left;
      color: var(--color-text);
    }
    
    .worked-example p:first-child {
      font-weight: 600;
      margin-bottom: 1.5rem;
      padding-bottom: 0.75rem;
      border-bottom: 1px solid var(--color-border);
    }
    
    .worked-example code {
      font-family: var(--font-mono);
      background: var(--color-bg);
      padding: 0.125rem 0.375rem;
      border-radius: 3px;
      font-size: 0.9em;
    }
    
    .worked-example hr {
      border: none;
      border-top: 1px dashed var(--color-border);
      margin: 1rem 0;
    }
    
    .worked-example p:last-child {
      margin-bottom: 0;
      font-weight: 600;
      color: var(--color-accent);
    }
    
    /* --- Section Bridge --- */
    .section-bridge {
      text-align: center;
      padding: 2rem 0;
      margin: 2rem 0;
      border-top: 1px solid var(--color-border);
      border-bottom: 1px solid var(--color-border);
    }
    
    .section-bridge p {
      font-style: italic;
      color: var(--color-text-secondary);
      font-size: 1.125rem;
      margin-bottom: 0;
      text-align: center;
    }
    
    .section-bridge::before,
    .section-bridge::after {
      content: '\2014';
      margin: 0 1rem;
      color: var(--color-accent);
    }
    
    /* ========================================
       5. Hero Section
    ======================================== */
    [data-content="hero"] .hero-label {
      font-family: var(--font-body);
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--color-accent);
      margin-bottom: 1rem;
      display: block;
    }
    
    [data-content="hero"] h1 {
      margin-bottom: 1.5rem;
      color: var(--color-text);
    }
    
    [data-content="hero"] .hero-subtitle {
      font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
      color: var(--color-text-secondary);
      max-width: 600px;
      margin: 0 auto 2rem;
      line-height: 1.6;
    }
    
    [data-content="hero"] .hero-divider {
      width: 80px;
      height: 3px;
      background: var(--color-accent);
      margin: 0 auto 2rem;
      border: none;
    }
    
    [data-content="hero"] .hero-meta {
      font-size: var(--font-small);
      color: var(--color-text-secondary);
      margin-bottom: 2.5rem;
    }
    
    [data-content="hero"] .hero-meta time {
      display: block;
      margin-bottom: 0.5rem;
    }
    
    [data-content="hero"] .hero-badge {
      display: inline-block;
      background: var(--color-info-bg);
      color: var(--color-accent);
      padding: 0.25rem 0.75rem;
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.05em;
    }
    
    [data-content="hero"] figure {
      max-width: 900px;
      margin: 0 auto;
    }
    
    [data-content="hero"] .hero-image {
      width: 100%;
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      box-shadow: var(--shadow-md);
    }
    
    [data-content="hero"] figcaption {
      margin-top: 1rem;
    }
    
    /* ========================================
       6. TOC Styles
    ======================================== */
    [data-content="toc"] nav {
      font-size: var(--font-small);
    }
    
    [data-content="toc"] .toc-title {
      font-family: var(--font-display);
      font-size: 0.875rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-text-secondary);
      margin-bottom: 1.5rem;
      padding-bottom: 0.75rem;
      border-bottom: 2px solid var(--color-accent);
    }
    
    [data-content="toc"] ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    [data-content="toc"] > nav > ul > li {
      margin-bottom: 1rem;
    }
    
    [data-content="toc"] a {
      color: var(--color-text);
      text-decoration: none;
      display: block;
      padding: 0.25rem 0;
      transition: color 0.2s ease;
    }
    
    [data-content="toc"] a:hover {
      color: var(--color-accent);
    }
    
    [data-content="toc"] > nav > ul > li > a {
      font-weight: 500;
    }
    
    [data-content="toc"] ul ul {
      margin-top: 0.5rem;
      padding-left: 1rem;
      border-left: 1px solid var(--color-border);
    }
    
    [data-content="toc"] ul ul a {
      font-size: 0.8125rem;
      color: var(--color-text-secondary);
      font-weight: 400;
    }
    
    [data-content="toc"] ul ul a:hover {
      color: var(--color-accent);
    }
    
    /* ========================================
       7. FAQ Accordion
    ======================================== */
    [data-content="faq"] {
      margin-bottom: 2rem;
    }

    [data-content="faq"] details {
      border-bottom: 1px solid var(--color-border);
      interpolate-size: allow-keywords;
    }
    
    [data-content="faq"] details:first-of-type {
      border-top: 1px solid var(--color-border);
    }
    
    [data-content="faq"] summary {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.25rem 0;
      cursor: pointer;
      font-weight: 500;
      list-style: none;
      color: var(--color-text);
      transition: color 0.2s ease;
    }
    
    [data-content="faq"] summary::-webkit-details-marker {
      display: none;
    }
    
    [data-content="faq"] summary::after {
      content: '+';
      font-size: 1.5rem;
      font-weight: 300;
      color: var(--color-accent);
      transition: transform 0.3s ease;
      flex-shrink: 0;
      margin-left: 1rem;
    }
    
    [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;
    }
    
    [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;
    }
    
    [data-content="faq"] details > div {
      padding-bottom: 1.25rem;
    }
    
    [data-content="faq"] details > div p {
      color: var(--color-text-secondary);
      text-align: left;
    }
    
    [data-content="faq"] details > div p:last-child {
      margin-bottom: 0;
    }
    
    /* Fallback for older browsers */
    @supports not selector(::details-content) {
      [data-content="faq"] details[open] > *:not(summary) {
        animation: faq-fade-in 0.3s ease forwards;
      }
      
      @keyframes faq-fade-in {
        from {
          opacity: 0;
          transform: translateY(-8px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
    }
    
    /* ========================================
       8. Article Images
    ======================================== */
    .article-image {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
      border-radius: 4px;
    }
    
    /* ========================================
       9. Media Queries
    ======================================== */
    @media (max-width: 900px) {
      
      [data-content="hero"] {
        width: calc(100% + 2rem);
        padding: 3rem 1rem;
      }
      
      [data-content] {
        max-width: 100%;
        padding-top: 2rem;
      }
      
      footer {
        max-width: 100%;
        margin-top: 3rem;
      }
      
      .comparison,
      .dos-donts {
        grid-template-columns: 1fr;
      }
      
      .at-a-glance {
        grid-template-columns: 1fr;
      }
      
      .at-a-glance > div {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
      }
      
      .at-a-glance > div:last-child {
        border-bottom: none;
      }
    }
    
    @media (max-width: 600px) {
      :root {
        --section-gap: 2.5rem;
      }
      
      [data-content="hero"] h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
      }
      
      .card-grid {
        grid-template-columns: 1fr;
      }
    }

.um-sub-menu {
  position: absolute !important;
  top: 38px !important;
}

.um-sub-menu .um-menu-item {
  background: var(--color-bg) !important;
}

.um-burger[aria-expanded='true'] .um-burger__line:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg) !important;
}

.um-navigation.active {
  background: var(--color-bg) !important;
}

.um-menu-link {
  padding: 0.75rem 0.7rem !important;
}

h1 {
  color: var(--color-text) !important;
  margin-bottom: 1rem;
}

header {
  max-width: 1380px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

footer {
  max-width: 1380px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.sitemap-main {
  max-width: 1380px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.breadcrumbs {
  margin-bottom: 1rem;
}

.breadcrumbs span {
  font-size: 1rem;
}

/* ========================================
   Footer
======================================== */

.site-footer {
  grid-column: 2;
  max-width: var(--content-width);
  margin-top: var(--section-gap);
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  font-size: var(--font-small);
  color: var(--color-text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.site-footer h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.4rem;
}

.footer-menu a {
  text-decoration: none;
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: var(--color-accent);
}

.footer-copy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

footer h3,
footer li {
    text-align: center;
}

footer ul {
    list-style: none;
}

/* ========================================
   Images Styles for Pillar Article
   ======================================== */

/* Hero Image */
.hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Article Images */
.article-image {
  margin: 2.5rem 0;
  text-align: center;
}

.article-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.article-image img:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.article-image figcaption {
  font-size: 0.875rem;
  color: #4A4A4A;
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
  line-height: 1.5;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  .hero-image {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  }
  
  .article-image img {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  }
  
  .article-image img:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  }
  
  .article-image figcaption {
    color: #A0A0A0;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .article-image {
    margin: 2rem 0;
  }
  
  .article-image img {
    border-radius: 4px;
  }
  
  .article-image figcaption {
    font-size: 0.8125rem;
    padding: 0 1rem;
  }
}

.article-image {
  overflow: hidden;
}

main {
  min-height: 60vh;
}

.odds-example {
    width: 100%;
    overflow-x: auto;
}

.odds-example table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
}

.odds-example th,
.odds-example td {
    padding: 10px;
    text-align: left;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .odds-example table {
        min-width: 420px;
    }
}

.articles-page-title {
  margin-bottom: 1rem;
}