.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);
  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;
}

@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;
  }
}

/* ============================================
   1. CSS VARIABLES & RESET
   ============================================ */
:root {
  --font-display: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --color-accent: #2D7A4F;
  --color-accent-hover: #1E5A38;
  --color-text: #1A1A1A;
  --color-body: #333333;
  --color-secondary: #777777;
  --color-bg: #FAFAF8;
  --color-surface: #F2F2F0;
  --color-border: #E0E0DE;
  --color-danger: #C75050;
  --color-success: #2D7A4F;

  --content-width: 860px;
  --component-width: 960px;
  --section-gap: 80px;

  --h1-size: clamp(2.4rem, 5vw, 3rem);
  --h2-size: clamp(1.6rem, 3vw, 2rem);
  --h3-size: clamp(1.15rem, 2vw, 1.375rem);
  --body-size: 18px;
  --caption-size: 14px;
  --label-size: 12px;
  --mono-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-body);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-hover);
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================
   2. GENERAL TYPOGRAPHY
   ============================================ */
h1 {
  font-family: var(--font-display);
  font-size: var(--h1-size);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.1;
}

h2 {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text);
  line-height: 1.2;
  text-align: left;
  scroll-margin-top: 2rem;
}

h3 {
  font-family: var(--font-body);
  font-size: var(--h3-size);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
  text-align: left;
  scroll-margin-top: 2rem;
}

p {
  text-align: left;
  margin-bottom: 1.5em;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

li {
  text-align: left;
  margin-bottom: 0.5em;
}

strong {
  font-weight: 500;
  color: var(--color-text);
}

em {
  font-style: italic;
}

blockquote {
  text-align: left;
  border-left: 3px solid var(--color-border);
  padding-left: 1.5em;
  margin: 1.5em 0;
  color: var(--color-secondary);
  font-style: italic;
}

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2em 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  font-size: 15px;
}

th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
}

th {
  font-weight: 500;
  color: var(--color-text);
  background-color: var(--color-surface);
}

tr:nth-child(even) td {
  background-color: #F8F8F6;
}

figure {
  margin: 2em auto;
  max-width: 100%;
}

figcaption {
  font-size: var(--caption-size);
  color: var(--color-secondary);
  letter-spacing: 0.02em;
  margin-top: 0.75em;
  text-align: center;
}

/* ============================================
   3. LAYOUT — SECTIONS
   ============================================ */
header {
  padding: 0;
  margin: 0;
}

main {
  width: 100%;
  margin-bottom: 2rem !important;
}

#from-the-traps-forward {
  margin-bottom: 0 !important;
}

[data-content] {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
  margin-bottom: var(--section-gap);
}

[data-content] h2 {
  margin-bottom: 1em;
}

[data-content] h3 {
  margin-bottom: 0.75em;
}

[data-content] figure {
  max-width: var(--component-width);
}

/* ============================================
   4. COMPONENTS
   ============================================ */

/* --- info-box --- */
.info-box {
  background: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  padding: 24px 28px;
  margin: 2em 0;
  max-width: var(--component-width);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.info-box p {
  text-align: left;
  font-size: 16px;
  color: var(--color-body);
  margin-bottom: 0.75em;
}

.info-box p:last-child {
  margin-bottom: 0;
}

.info-box .label {
  display: block;
  font-size: var(--label-size);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

/* --- odds-example --- */
.odds-example {
  background: #1A1A1A;
  color: #FAFAF8;
  padding: 32px;
  margin: 2em 0;
  max-width: var(--component-width);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.odds-example .label {
  display: block;
  font-size: var(--label-size);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.odds-example p {
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--mono-size);
  color: #FAFAF8;
  margin-bottom: 0.6em;
  line-height: 1.6;
}

.odds-example p:last-child {
  margin-bottom: 0;
}

.odds-example strong {
  color: var(--color-accent);
  font-weight: 500;
}

/* --- callout --- */
.callout {
  background: transparent;
  border: 2px solid var(--color-border);
  padding: 20px 24px;
  margin: 2em 0;
  max-width: var(--component-width);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.callout .label {
  display: block;
  font-size: var(--label-size);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.callout p {
  text-align: left;
  font-size: 16px;
  font-style: italic;
  color: var(--color-body);
  margin-bottom: 0.75em;
}

.callout p:last-child {
  margin-bottom: 0;
}

/* --- card-grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 2em 0;
  max-width: var(--component-width);
}

.card-grid > div {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card-grid > div:hover {
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.card-grid > div p {
  text-align: left;
  font-size: 15px;
  color: #555555;
  margin-bottom: 0.5em;
}

.card-grid > div p:first-child {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
}

.card-grid > div p:last-child {
  margin-bottom: 0;
}

/* --- comparison --- */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 2em 0;
  max-width: var(--component-width);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.comparison > div {
  padding: 16px;
}

.comparison > div:first-child {
  border-top: 4px solid var(--color-accent);
  background: var(--color-bg);
}

.comparison > div:last-child {
  border-top: 4px solid var(--color-border);
  background: #F8F8F6;
}

.comparison > div p {
  text-align: left;
  font-size: 15px;
  color: var(--color-body);
  margin-bottom: 0.5em;
}

.comparison > div p:first-child {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75em;
}

.comparison > div p:last-child {
  margin-bottom: 0;
}

/* --- key-takeaway --- */
.key-takeaway {
  margin: 2em 0;
  padding: 0;
  max-width: var(--component-width);
}

.key-takeaway::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-text);
  margin-bottom: 12px;
}

.key-takeaway p {
  text-align: left;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
}

/* --- fun-fact --- */
.fun-fact {
  position: relative;
  padding-left: 24px;
  margin: 1.5em 0;
  max-width: var(--component-width);
}

.fun-fact::before {
  content: '\2014';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.fun-fact p {
  text-align: left;
  font-style: italic;
  color: var(--color-secondary);
  font-size: 16px;
}

/* --- glossary-term --- */
.glossary-term {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0.5em 0;
  max-width: var(--component-width);
}

.glossary-term p {
  text-align: left;
  font-size: 16px;
  color: var(--color-secondary);
  margin-bottom: 0;
}

.glossary-term strong {
  font-family: var(--font-mono);
  font-size: var(--mono-size);
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
  font-weight: 400;
}

/* --- dos-donts --- */
.dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 2em 0;
  max-width: var(--component-width);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.dos-donts > div {
  padding: 20px 24px;
}

.dos-donts > div:first-child {
  border-top: 4px solid var(--color-success);
  background: var(--color-bg);
}

.dos-donts > div:last-child {
  border-top: 4px solid var(--color-danger);
  background: var(--color-bg);
}

.dos-donts > div p {
  text-align: left;
  font-size: 15px;
  color: var(--color-body);
  margin-bottom: 0.5em;
}

.dos-donts > div p:first-child {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75em;
}

.dos-donts ul {
  list-style: none;
  padding-left: 0;
}

.dos-donts li {
  text-align: left;
  font-size: 15px;
  color: var(--color-body);
  margin-bottom: 0.5em;
  padding-left: 1.25em;
  position: relative;
}

.dos-donts > div:first-child li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

.dos-donts > div:last-child li::before {
  content: '\2717';
  position: absolute;
  left: 0;
  color: var(--color-danger);
  font-weight: 700;
}

/* --- pre-bet-checklist --- */
.pre-bet-checklist {
  margin: 2em 0;
  max-width: var(--component-width);
}

.pre-bet-checklist > p:first-child {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: left;
}

.pre-bet-checklist ul {
  list-style: none;
  padding-left: 40px;
  border-left: 2px solid var(--color-border);
  margin-bottom: 0;
}

.pre-bet-checklist li {
  text-align: left;
  position: relative;
  font-size: 16px;
  color: var(--color-body);
  margin-bottom: 12px;
  padding-left: 0;
}

.pre-bet-checklist li::before {
  content: '\2610';
  position: absolute;
  left: -32px;
  color: var(--color-accent);
  font-size: 16px;
  background: var(--color-bg);
  padding: 0 4px;
}

/* --- at-a-glance --- */
.at-a-glance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 2em 0;
  max-width: var(--component-width);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.at-a-glance > div {
  padding: 16px;
  border-right: 1px solid var(--color-border);
}

.at-a-glance > div:last-child {
  border-right: none;
}

.at-a-glance > div p:first-child {
  font-size: var(--label-size);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 6px;
  text-align: center;
}

.at-a-glance > div p {
  text-align: center;
  font-size: 16px;
  color: var(--color-body);
  margin-bottom: 0;
}

/* --- worked-example --- */
.worked-example {
  background: var(--color-surface);
  padding: 32px;
  margin: 2em 0;
  max-width: var(--component-width);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.worked-example .label {
  display: block;
  font-size: var(--label-size);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.worked-example p {
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--mono-size);
  color: var(--color-body);
  margin-bottom: 0.75em;
}

.worked-example p:last-child {
  margin-bottom: 0;
}

.worked-example hr {
  border: none;
  border-top: 1px dashed var(--color-border);
  margin: 1em 0;
}

.worked-example .result {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-accent);
}

/* --- section-bridge --- */
.section-bridge {
  text-align: center;
  margin: 2em 0;
  font-style: italic;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.02em;
}

.section-bridge::before,
.section-bridge::after {
  content: '\2014\2014';
  margin: 0 0.75em;
  color: var(--color-border);
}

/* ============================================
   5. HERO SECTION
   ============================================ */
[data-content="hero"] {
  max-width: 100%;
  padding: 80px 1.5rem 60px;
  text-align: center;
  margin-bottom: var(--section-gap);
  background: var(--color-bg);
}

[data-content="hero"] .rubric {
  display: inline-block;
  font-size: var(--label-size);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

[data-content="hero"] h1 {
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

[data-content="hero"] .subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--color-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 24px;
  text-align: center;
}

[data-content="hero"] .hero-divider {
  width: 60px;
  border: none;
  border-top: 2px solid var(--color-accent);
  margin: 0 auto 24px;
}

[data-content="hero"] .meta-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  font-size: var(--caption-size);
  color: var(--color-secondary);
}

[data-content="hero"] .badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border: 1px solid var(--color-border);
  color: var(--color-secondary);
}

[data-content="hero"] figure {
  max-width: var(--component-width);
  margin: 0 auto;
}

[data-content="hero"] img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

[data-content="hero"] figcaption {
  margin-top: 12px;
}

/* ============================================
   5b. TOC SECTION
   ============================================ */
[data-content="toc"] {
  max-width: var(--content-width);
  margin-bottom: var(--section-gap);
}

[data-content="toc"] .toc-title {
  font-family: var(--font-display);
  font-size: var(--label-size);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-secondary);
  margin-bottom: 20px;
}

[data-content="toc"] nav {
  column-count: 2;
  column-gap: 40px;
}

[data-content="toc"] nav > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

[data-content="toc"] nav > ul > li {
  break-inside: avoid;
  margin-bottom: 16px;
}

[data-content="toc"] nav a {
  text-decoration: none;
  color: var(--color-body);
  transition: color 0.2s ease;
}

[data-content="toc"] nav a:hover {
  color: var(--color-accent);
}

[data-content="toc"] nav > ul > li > a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

[data-content="toc"] nav ul ul {
  list-style: none;
  padding-left: 16px;
  margin: 6px 0 0 0;
}

[data-content="toc"] nav ul ul li {
  margin-bottom: 4px;
}

[data-content="toc"] nav ul ul a {
  font-size: 14px;
  color: var(--color-secondary);
}

[data-content="toc"] nav ul ul a:hover {
  color: var(--color-accent);
}

/* ============================================
   6. FAQ ACCORDION
   ============================================ */
[data-content="faq"] details {
  border-bottom: 1px solid var(--color-border);
  interpolate-size: allow-keywords;
}

[data-content="faq"] summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: var(--h3-size);
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  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: 24px;
  font-weight: 400;
  color: var(--color-secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

[data-content="faq"] details[open] summary::after {
  content: '\2212';
}

[data-content="faq"] summary:hover {
  color: var(--color-accent);
}

[data-content="faq"] summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Modern ::details-content animation */
[data-content="faq"] ::details-content {
  transition: opacity 0.3s ease, block-size 0.3s ease, content-visibility 0.3s ease allow-discrete;
  opacity: 0;
  block-size: 0;
  overflow: hidden;
}

[data-content="faq"] details[open]::details-content {
  opacity: 1;
  block-size: auto;
}

[data-content="faq"] details div {
  padding-bottom: 20px;
}

[data-content="faq"] details div p {
  text-align: left;
  font-size: 16px;
  color: var(--color-body);
  line-height: 1.7;
}

/* 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; }
    to { opacity: 1; }
  }
}

/* ============================================
   7. FOOTER
   ============================================ */
footer {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-secondary);
}

/* ============================================
   8. DARK THEME
   ============================================ */
@media (prefers-color-scheme: dark) {
  :root {
    --color-text: #E8E8E6;
    --color-body: #CCCCCC;
    --color-secondary: #888888;
    --color-bg: #121212;
    --color-surface: #1E1E1E;
    --color-border: #333333;
    --color-accent: #4CAF73;
    --color-accent-hover: #66C98A;
  }

  body {
    background-color: var(--color-bg);
    color: var(--color-body);
  }

  th {
    background-color: var(--color-surface);
  }

  tr:nth-child(even) td {
    background-color: #1A1A1A;
  }

  .card-grid > div {
    background: var(--color-surface);
    border-color: var(--color-border);
  }

  .comparison > div:first-child {
    background: var(--color-surface);
  }

  .comparison > div:last-child {
    background: #1A1A1A;
  }

  .dos-donts > div:first-child,
  .dos-donts > div:last-child {
    background: var(--color-surface);
  }

  .pre-bet-checklist li::before {
    background: var(--color-bg);
  }

  /* odds-example stays dark in both themes */
  .odds-example {
    background: #0D0D0D;
    color: #FAFAF8;
  }

  .odds-example p {
    color: #FAFAF8;
  }

  .odds-example strong {
    color: var(--color-accent);
  }

  [data-content="hero"] .badge {
    border-color: var(--color-border);
    color: var(--color-secondary);
  }
}

/* ============================================
   9. RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-gap: 48px;
  }

  [data-content] {
    padding: 0 1rem;
  }

  [data-content="hero"] {
    padding: 48px 1rem 40px;
  }

  [data-content="toc"] nav {
    column-count: 1;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .comparison {
    grid-template-columns: 1fr;
  }

  .comparison > div:last-child {
    border-top: 2px solid var(--color-border);
  }

  .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;
  }

  .glossary-term {
    flex-direction: column;
    gap: 4px;
  }

  .odds-example {
    padding: 20px;
  }

  .worked-example {
    padding: 20px;
  }
}

.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;
}

main {
  overflow-x: hidden !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;
}

.articles-page-title {
  margin-bottom: 1rem;
}

main {
  min-height: 60vh;
}

footer h3,
footer li {
  text-align: center;
}

footer ul {
  list-style: none;
}

.articles-page-title {
  text-align: center;
}

/* images-styles.css — Image styles for UK Dog Racing Betting pillar page */

/* Hero image */
.hero-image {
  width: 100%;
  max-width: 960px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Article images within figure */
.article-image {
  margin: 2.5rem auto;
  max-width: 960px;
  text-align: center;
}

.article-image img {
  width: 100%;
  max-width: 960px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.article-image img:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.article-image figcaption {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #777777;
  letter-spacing: 0.02em;
  margin-top: 0.75rem;
  text-align: center;
  line-height: 1.5;
}

/* Dark theme adjustments */
@media (prefers-color-scheme: dark) {
  .article-image img {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .article-image img:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  }

  .article-image figcaption {
    color: #888888;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .article-image {
    margin: 1.5rem auto;
  }

  .article-image img {
    border-radius: 0;
  }
}

/* ============================================
   FOOTER EXTENDED
   ============================================ */

.site-footer {
  max-width: var(--component-width);
  margin: 0 auto;
  padding: 48px 1.5rem 32px;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 32px;
}

.site-footer h3 {
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: 14px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  font-size: 14px;
  color: var(--color-secondary);
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 6px;
}

.footer-menu a {
  text-decoration: none;
  font-size: 14px;
  color: var(--color-secondary);
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: var(--color-accent);
}

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: var(--color-secondary);
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
    .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-copy {
    margin-top: 16px;
  }
}

.sitemap-main h1 {
  text-align: center;
}