/**
 * Theme Name: sportnieuws
 * Version: 1.0
 */

 /* dm-serif-display-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/dm-serif-display-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-sans-3-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/source-sans-3-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-sans-3-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/source-sans-3-v19-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-sans-3-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/source-sans-3-v19-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-sans-3-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/source-sans-3-v19-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-sans-3-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/source-sans-3-v19-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-sans-3-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/source-sans-3-v19-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jetbrains-mono-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/jetbrains-mono-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* jetbrains-mono-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/jetbrains-mono-v24-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ========================================
   1. CSS Variables & Reset
   ======================================== */
:root {
  /* Palette — editorial sports / dark navy + warm gold accent */
  --color-bg: #f8f7f4;
  --color-surface: #efeeea;
  --color-text: #1a1d25;
  --color-text-secondary: #5c6170;
  --color-heading: #0e1118;
  --color-accent: #c9a84c;
  --color-accent-muted: rgba(201,168,76,0.12);
  --color-accent-hover: #b8932f;
  --color-border: #d4d2cc;
  --color-border-light: #e6e5e0;
  --color-success: #3a7d5c;
  --color-danger: #b04040;
  --color-hero-bg: #0e1118;
  --color-hero-text: #f0efe9;
  --color-hero-accent: #c9a84c;
  --color-footer-bg: #111319;
  --color-footer-text: #a0a3ab;
  --color-footer-heading: #e8e7e2;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Sizes */
  --text-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-small: 0.85rem;
  --text-xs: 0.75rem;
  --text-h1: clamp(2.4rem, 1.8rem + 3vw, 4.2rem);
  --text-h2: clamp(1.5rem, 1.2rem + 1.5vw, 2.2rem);
  --text-h3: clamp(1.15rem, 1rem + 0.75vw, 1.5rem);

  /* Layout */
  --content-width: 1100px;
  --section-gap: clamp(3rem, 2.5rem + 2.5vw, 5rem);
  --component-radius: 6px;
  --component-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #111319;
    --color-surface: #1a1d25;
    --color-text: #d8d7d2;
    --color-text-secondary: #8e919a;
    --color-heading: #f0efe9;
    --color-border: #2e3140;
    --color-border-light: #252836;
    --color-hero-bg: #080a10;
    --color-hero-text: #f0efe9;
    --color-footer-bg: #080a10;
    --color-footer-text: #7a7e88;
    --color-footer-heading: #d8d7d2;
    --component-shadow: 0 1px 4px rgba(0,0,0,0.2), 0 4px 16px rgba(0,0,0,0.15);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.72;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent-hover);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent);
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ========================================
   2. General Typography
   ======================================== */
p {
  text-align: left;
  margin-bottom: 1.15em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-heading);
  line-height: 1.2;
  text-align: left;
}

h2 {
  font-size: var(--text-h2);
  margin-top: 0;
  margin-bottom: 0.75em;
  scroll-margin-top: 2rem;
}

h3 {
  font-size: var(--text-h3);
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  scroll-margin-top: 2rem;
}

ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1.15em;
  text-align: left;
}

li {
  margin-bottom: 0.4em;
  text-align: left;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.2em;
  margin: 1.5em 0;
  color: var(--color-text-secondary);
  font-style: italic;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.92em;
}

th, td {
  padding: 0.7em 0.9em;
  text-align: left;
  border-bottom: 1px solid var(--color-border-light);
}

th {
  font-weight: 600;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
  border-bottom: 2px solid var(--color-border);
}


figure img {
  display: block;
  max-width: 100%;
  height: auto;
}

figcaption {
  text-align: center;
  font-size: var(--text-small);
  color: var(--color-text-secondary);
  margin-top: 0.6em;
}

hr {
  border: none;
  border-top: 1px solid var(--color-border-light);

}

/* ========================================
   3. Layout — Sections
   ======================================== */
main {
  width: 100%;
}

.container {
  max-width: var(--content-width);
 margin: 0 auto;
  padding: 0 15px;

}

/* ========================================
   4. Components
   ======================================== */

/* --- info-box --- */
.info-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--component-radius);
  padding: 1.25em 1.4em;
  margin: 1.8em 0;
  box-shadow: var(--component-shadow);
}

.info-box p {
  text-align: left;
  margin-bottom: 0.5em;
  color: var(--color-text);
}

.info-box p:last-child {
  margin-bottom: 0;
}

.info-box strong {
  color: var(--color-heading);
}

/* --- odds-example --- */
.odds-example {
  background: var(--color-hero-bg);
  color: var(--color-hero-text);
  border-radius: var(--component-radius);
  padding: 1.5em 1.6em;
  margin: 1.8em 0;
  box-shadow: var(--component-shadow);
  text-align: center;
}

.odds-example p {
  text-align: center;
  color: var(--color-hero-text);
  margin-bottom: 0.6em;
}

.odds-example p:last-child {
  margin-bottom: 0;
}

.odds-example strong {
  color: var(--color-hero-accent);
}

@media (prefers-color-scheme: dark) {
  .odds-example {
    background: #080a10;
    color: #f0efe9;
  }
  .odds-example p {
    color: #f0efe9;
  }
  .odds-example strong {
    color: var(--color-accent);
  }
}

/* --- callout / callout-warning --- */
.callout,
.callout-warning {
  border-left: 4px solid var(--color-accent);
  padding: 1.1em 1.3em;
  margin: 1.8em 0;
  background: var(--color-accent-muted);
  border-radius: 0 var(--component-radius) var(--component-radius) 0;
}

.callout p,
.callout-warning p {
  text-align: left;
  color: var(--color-text);
  margin-bottom: 0.5em;
}

.callout p:last-child,
.callout-warning p:last-child {
  margin-bottom: 0;
}

.callout strong,
.callout-warning strong {
  color: var(--color-heading);
}

/* --- card-grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2em;
  margin: 1.8em 0;
}

.card-grid > * {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--component-radius);
  padding: 1.2em;
  box-shadow: var(--component-shadow);
}

.card-grid p {
  text-align: left;
  color: var(--color-text);
  margin-bottom: 0.4em;
}

.card-grid strong {
  color: var(--color-heading);
}

/* --- comparison --- */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 1.8em 0;
  border: 1px solid var(--color-border-light);
  border-radius: var(--component-radius);
  overflow: hidden;
  box-shadow: var(--component-shadow);
}

.comparison > div {
  padding: 1.2em 1.4em;
  background: var(--color-surface);
}

.comparison > div:first-child {
  border-right: 1px solid var(--color-border-light);
}

.comparison p {
  text-align: left;
  color: var(--color-text);
  margin-bottom: 0.5em;
}

.comparison strong {
  color: var(--color-heading);
}

/* --- tldr --- */
.tldr {
  background: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--component-radius) var(--component-radius) 0;
  padding: 1.6em 1.8em;
  margin: 1.8em 0;
}

.tldr h2 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  margin-bottom: 0.8em;
  color: var(--color-heading);
}

.tldr ul {
  text-align: left;
  margin-bottom: 0;
}

.tldr li {
  text-align: left;
  color: var(--color-text);
  margin-bottom: 0.6em;
}

.tldr li:last-child {
  margin-bottom: 0;
}

/* --- key-takeaway --- */
.key-takeaway {
  border-top: 2px solid var(--color-accent);
  padding-top: 1em;
  margin: 2em 0;
}

.key-takeaway p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-heading);
  text-align: left;
  margin-bottom: 0;
}

/* --- fun-fact --- */
.fun-fact {
  position: relative;
  padding-left: 1.4em;
  margin: 1.5em 0;
}

.fun-fact::before {
  content: '\2014';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.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: 1em 0;
}

.glossary-term dt {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.glossary-term dd {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
}

/* --- dos-donts --- */
.dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 1.8em 0;
  border: 1px solid var(--color-border-light);
  border-radius: var(--component-radius);
  overflow: hidden;
  box-shadow: var(--component-shadow);
}

.dos-donts .do-col {
  padding: 1.2em 1.4em;
  background: var(--color-surface);
  border-right: 1px solid var(--color-border-light);
}

.dos-donts .dont-col {
  padding: 1.2em 1.4em;
  background: var(--color-surface);
}

.dos-donts .do-col h4 {
  color: var(--color-success);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8em;
}

.dos-donts .dont-col h4 {
  color: var(--color-danger);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8em;
}

.dos-donts ul {
  text-align: left;
  padding-left: 1.2em;
  margin-bottom: 0;
}

.dos-donts li {
  text-align: left;
  color: var(--color-text);
  margin-bottom: 0.4em;
}

/* --- pre-bet-checklist --- */
.pre-bet-checklist {
  margin: 1.8em 0;
}

.pre-bet-checklist h4 {
  font-family: var(--font-display);
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-hover);
  margin-bottom: 0.8em;
}

.pre-bet-checklist ul {
  border-left: 2px solid var(--color-border);
  padding-left: 1.6em;
  list-style: none;
  text-align: left;
}

.pre-bet-checklist li {
  position: relative;
  text-align: left;
  color: var(--color-text);
  margin-bottom: 0.6em;
}

.pre-bet-checklist li::before {
  content: '\2610';
  position: absolute;
  left: -1.5em;
  color: var(--color-accent);
  background: var(--color-bg);
  padding: 0 2px;
}

/* --- at-a-glance --- */
.at-a-glance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 1.8em 0;
  border: 1px solid var(--color-border-light);
  border-radius: var(--component-radius);
  overflow: hidden;
  box-shadow: var(--component-shadow);
}

.at-a-glance > div {
  padding: 1.2em 1em;
  text-align: center;
  background: var(--color-surface);
}

.at-a-glance > div:not(:last-child) {
  border-right: 1px solid var(--color-border-light);
}

.at-a-glance p {
  text-align: center;
  color: var(--color-text);
  margin-bottom: 0.3em;
}

.at-a-glance strong {
  font-family: var(--font-display);
  font-size: 1.3em;
  color: var(--color-heading);
  display: block;
  margin-bottom: 0.2em;
}

/* --- worked-example --- */
.worked-example {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--component-radius);
  padding: 1.6em 1.8em;
  margin: 1.8em 0;
  box-shadow: var(--component-shadow);
}

.worked-example p {
  text-align: left;
  color: var(--color-text);
  margin-bottom: 0.8em;
}

.worked-example .step {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.worked-example .result {
  font-weight: 700;
  font-size: 1.1em;
  color: var(--color-accent-hover);
}

.worked-example hr {
  border-top-color: var(--color-border-light);
  margin: 1em 0;
}

/* --- section-bridge --- */
.section-bridge {
  text-align: center;
  margin: 2em 0;
  position: relative;
  padding: 0.5em 2em;
}

.section-bridge::before,
.section-bridge::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 2em;
  height: 1px;
  background: var(--color-border);
}

.section-bridge::before {
  left: 0;
}

.section-bridge::after {
  right: 0;
}

.section-bridge p {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-accent-hover);
  text-align: center;
  margin-bottom: 0;
}

/* --- author-bio --- */
.author-bio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--color-border-light);
  padding-top: 1rem;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  font-style: italic;
}

/* --- match-card / step-card (from content.html) --- */
.match-card,
.step-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--component-radius);
  padding: 1.25em 1.4em;
  margin: 1.2em 0;
  box-shadow: var(--component-shadow);
}

.match-card p,
.step-card p {
  text-align: left;
  color: var(--color-text);
  margin-bottom: 0.5em;
}

.match-card p:last-child,
.step-card p:last-child {
  margin-bottom: 0;
}

.match-card strong,
.step-card strong {
  color: var(--color-heading);
}

/* --- cta-banner (from content.html) --- */
.cta-banner {
  background: var(--color-accent-muted);
  border: 1px solid var(--color-accent);
  border-radius: var(--component-radius);
  padding: 1.1em 1.3em;
  margin: 1.8em 0;
  text-align: center;
}

.cta-banner p {
  text-align: center;
  color: var(--color-text);
  margin-bottom: 0;
  font-weight: 600;
}

/* ========================================
   5. Hero Section
   ======================================== */
[data-content="hero"] {
 
margin: 2rem 0;
  background: var(--color-hero-bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Hero subtle diagonal-line pattern */
[data-content="hero"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 18px,
    rgba(201,168,76,0.04) 18px,
    rgba(201,168,76,0.04) 19px
  );
  pointer-events: none;
  z-index: 0;
}

/* Hero glow */
[data-content="hero"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 55%, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
 
}

.hero-rubric {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-hero-accent);
  margin-bottom: 1.2em;
  position: relative;
  z-index: 1;
}

[data-content="hero"] h1 {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  color: var(--color-hero-text);
  line-height: 1.1;
  margin: 0 auto 0.6em;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
  color: var(--color-hero-accent);
  letter-spacing: 0.04em;
  margin-bottom: 1.5em;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2em;
  flex-wrap: wrap;
  font-size: var(--text-small);
  color: rgba(240,239,233,0.6);
  margin-bottom: 2em;
  position: relative;
  z-index: 1;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}

[data-content="hero"] figure {
  margin: 0 auto;
  max-width: var(--content-width);
  position: relative;
  z-index: 1;
}

[data-content="hero"] figure img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--component-radius);
}

.hero-cta {
  display: inline-block;
  margin-top: 1.8em;
  padding: 0.7em 2em;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-hero-bg);
  background: var(--color-hero-accent);
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  position: relative;
  z-index: 1;
}

.hero-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  color: var(--color-hero-bg);
}

.hero-cta:focus-visible {
  outline: 2px solid var(--color-hero-text);
  outline-offset: 3px;
}

/* ========================================
   6. Header
   ======================================== */


.site-logo img {
  height: 36px;
  width: auto;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 0.8em;
  font-size: var(--text-xs);
  color: rgba(240,239,233,0.5);
}

.header-badge {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-trust {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-hero-accent);
  opacity: 0.8;
}

/* ========================================
   7. TOC — Grid 2 columns
   ======================================== */
[data-content="toc"] {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--component-radius);
  padding: 1.6em 1.8em;
  box-shadow: var(--component-shadow);
}

.toc-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-secondary);
  margin-bottom: 1em;
  text-align: left;
}

.toc-list {
  column-count: 2;
  column-gap: 2em;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.toc-list > li {
  break-inside: avoid;
  margin-bottom: 0.8em;
}

.toc-list > li > a {
  font-family: var(--font-body);
  font-size: 0.95em;
  font-weight: 600;
  color: var(--color-heading);
  text-decoration: none;
  transition: color 0.2s ease;
}

.toc-list > li > a:hover {
  color: var(--color-accent);
}

.toc-sublist {
  list-style: none;
  padding-left: 1em;
  margin-top: 0.3em;
  margin-bottom: 0;
}

.toc-sublist li {
  margin-bottom: 0.3em;
}

.toc-sublist a {
  font-size: 0.85em;
  font-weight: 400;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.toc-sublist a:hover {
  color: var(--color-accent);
}

/* ========================================
   8. FAQ Accordion
   ======================================== */
details {
  border-bottom: 1px solid var(--color-border-light);
  interpolate-size: allow-keywords;
}

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1em;
  color: var(--color-heading);
  list-style: none;
  transition: color 0.2s ease;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 1.3em;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1em;
}

details[open] summary::after {
  content: '\2212';
  transform: rotate(180deg);
}

summary:hover {
  color: var(--color-accent-hover);
}

summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

::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;
}

details[open]::details-content {
  opacity: 1;
  block-size: auto;
}

details > div {
  padding-bottom: 1em;
}

details > div p {
  text-align: left;
  color: var(--color-text);
}

/* Fallback for older browsers */
@supports not selector(::details-content) {
  @keyframes faq-fade-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
  }
  details[open] > *:not(summary) {
    animation: faq-fade-in 0.3s ease forwards;
  }
}

/* ========================================
   9. Footer
   ======================================== */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: var(--section-gap);
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-grid {
  
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-footer-heading);
  margin: 0 0 0.8em;
}

.footer-col p {
  text-align: left;
  color: var(--color-footer-text);
  margin-bottom: 0.6em;
}

.footer-col a {
  color: var(--color-footer-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--color-hero-accent);
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-col li {
  margin-bottom: 0.4em;
  text-align: left;
  color: var(--color-footer-text);
}

.footer-bottom {
  max-width: 960px;
  margin: 2em auto 0;
  padding-top: 1.2em;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.72rem;
  color: rgba(160,163,171,0.6);
}

.footer-bottom p {
  text-align: center;
  color: rgba(160,163,171,0.6);
}

/* ========================================
   10. Responsive
   ======================================== */
@media (max-width: 768px) {
 

  .toc-list {
    column-count: 1;
  }

  .card-grid,
  .dos-donts,
  .comparison {
    grid-template-columns: 1fr;
  }

  .dos-donts .do-col {
    border-right: none;
    border-bottom: 1px solid var(--color-border-light);
  }

  .comparison > div:first-child {
    border-right: none;
    border-bottom: 1px solid var(--color-border-light);
  }

  .at-a-glance {
    grid-template-columns: 1fr;
  }

  .at-a-glance > div:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--color-border-light);
  }

  .glossary-term {
    flex-direction: column;
    gap: 4px;
  }




  .hero-meta {
    flex-direction: column;
    gap: 0.5em;
  }

 

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    width: 100%;
    text-align: center;
  }
}

/* ========================================
   11. Utilities & Print
   ======================================== */
.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;
}

@media print {
  [data-content="hero"] {
    background: #fff;
    color: #000;
  }
  .site-footer,
  .hero-cta {
    display: none;
  }
}
/* ========================================
   Images — Responsive, accessible, performant
   ======================================== */

/* Base figure styling inside content sections */
[data-content] figure {
  margin: 2em 0;
  padding: 0;
}

[data-content] figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--component-radius);
  box-shadow: var(--component-shadow);
}

[data-content] figure figcaption {
  text-align: center;
  font-size: var(--text-small);
  color: var(--color-text-secondary);
  margin-top: 0.75em;
  line-height: 1.5;
  font-style: italic;
}

/* Hero image — full width, no border-radius on mobile */
[data-content="hero"] figure {
  margin: 1.5em auto 0;
  max-width: var(--content-width);
}

[data-content="hero"] figure img {
  border-radius: var(--component-radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* Content images — constrained to content width */
[data-content]:not([data-content="hero"]) figure img {
  max-width: 100%;
  border-radius: var(--component-radius);
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  [data-content] figure img {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  }

  [data-content="hero"] figure img {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  [data-content] figure {
    margin: 1.5em 0;
  }

  [data-content="hero"] figure img {
    border-radius: 0;
  }

  [data-content] figure figcaption {
    padding: 0 0.5em;
    font-size: 0.8rem;
  }
}

/* Print styles */
@media print {
  [data-content] figure img {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ============= */

.dynamic-scroll-wrapper {
  margin-bottom: 1.5rem;
}
.site-titlecontainer-casa {
  /* max-width: 882px;
  margin: 2.5rem auto; */
  text-align: center;
}

.matches h2 {
  text-align: center;
  padding: 2rem;
  justify-content: center;
  display: flex;
  width: fit-content;
  margin: 0 auto 2rem;
}

.logo-wrapper svg {
  width: 40px;
  height: auto;
  display: block;
}

/*  */

img {
  width: 100%;
  object-fit: cover;
  max-height: 700px;
}
/* .content {
  margin-top: 3rem;
} */

.wp-block-image img {
  margin-bottom: 2rem;
}

.footer-menu {
  column-gap: 3rem;
  list-style: none;
  font-size: 1.1rem;
  gap: 1.5rem;
}

/* menu */

.burger-logo {
  margin: 0;
  padding: 0;
}

/* Контейнер */
.logo-wrapper {
  flex-wrap: nowrap !important;
  display: flex !important;
  align-items: center !important;

  text-decoration: none;
}

.main-logo-img {
  max-height: 45px;
  width: auto;
  flex-shrink: 0;
}

.logo-text {
  white-space: nowrap;
  font-size: clamp(1rem, 2vw + 0.5rem, 1.3rem);
  font-weight: 700;

}

.logo-wrapper {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  column-gap: 0.5rem !important;
}

.main-menu {
  gap: 1.2rem;
  display: flex;
}

.menu-item__inner {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.menu-toggle.active .icon-chevron {
  transform: rotate(180deg);
}

.menu-item-has-children > .sub-menu {
  display: none;
}

.menu-item-has-children > .sub-menu.active {
  display: block;
}

.sub-menu {
  display: none;
  min-width: 220px;
  width: 100%;
}

.has-overlay {
  overflow: hidden;
}

.main-navigation.active {
  position: relative;
  color: inherit;
  background-color: inherit;
  left: 0;
  top: 3.5rem;
  height: 100vh;
  z-index: 9;
}

.main-navigation ul {
  margin: 0;
  padding: 0;
}

.menu-link {
  color: inherit;
  font-size: 0.9rem;
}

.menu-item-has-children:last-child .sub-menu,
.menu-item-has-children:nth-last-child(2) .sub-menu {
  right: 0;
  left: auto;
  padding: 0.9rem;
}

.sub-menu--level-2 {
  right: 100% !important;
  top: 0 !important;
  left: auto !important;
}
.sub-menu .sub-menu--level-2 li {
  margin-bottom: 0.9rem;
}

.main-menu li {
  position: relative;
  cursor: pointer;
  list-style-type: none;
  margin: 0;
}
.main-menu li.active {
  color: green;

  font-weight: 600;
  border-bottom: 1px solid green;
  width: fit-content;
}

.burger-line {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: absolute;
  left: 0;
}

.burger-line:nth-child(1) {
  top: 0;
}

.burger-line:nth-child(2) {
  top: 48%;
  transform: translateY(-50%);
}

.burger-line:nth-child(3) {
  bottom: 2px;
}

.js-burger {
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: absolute;
  z-index: 1003;
  background: none;
  border: none;
  padding: 0.5rem;
  right: 2rem;
  top: 1.5rem;
}

.js-burger.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 7px);
}

.js-burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.js-burger.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -8px);
}

.main-navigation::after {
  display: block;
  content: "";
  position: relative;
  width: 100%;
  height: 5rem;
}

.main-navigation::after {
  display: block;
  content: "";
  position: relative;
  width: 100%;
  height: 5rem;
}
.main-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 1.4rem;
  row-gap: 1rem;
  margin: 0;
  padding: 0;
}
.burger-logo {
  white-space: nowrap;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
}

.burger-logo a {
  font-size: clamp(0.5rem, 1.1rem + 1.1vw, 1.5rem) !important;

  z-index: 2;
  color: #fff;
  text-decoration: none;
}
.burger-logo a:hover {
  color: #fff !important;
}

/* end menu */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background:var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    transform var(--transition);
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: var(--c-primary);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-accent);
  color: white;
  border-radius: var(--radius);
  z-index: 200;
}

.skip-link:focus {
  top: var(--space-md);
}

.sitemap-content {
  margin: 30px 0;
}

.sitemap-section {
  margin-bottom: 40px;
  padding: 20px;
  border-radius: 8px;
}

.sitemap-section h2 {
  color: inherit;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.sitemap-section h3 {
  color: #555;
  margin: 15px 0 10px 0;
}

.sitemap-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 1.5rem 0 2rem;
  gap: 0.8rem;
}
.breadcrumbs-content {
  display: contents;
}
@media (max-width: 1024px) {
  .sitemap-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (max-width: 768px) {
  .sitemap-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.sitemap-list li {
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

.sitemap-list li:before {
  content: "›";
  position: absolute;
  left: 0;
  color: #007cba;
}

.sitemap-list a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

.sitemap-list a:hover {
  color: #007cba;
}

.category-group {
  margin-bottom: 20px;
}

.tags-cloud {
  line-height: 2;
}

.tag {
  display: inline-block;
  background: #e9e9e9;
  padding: 5px 10px;
  margin: 3px;
  border-radius: 3px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: all 0.3s;
}

.tag:hover {
  background: #007cba;
  color: white;
}

.toc {
  background: rgba(230, 57, 70, 0.1) !important;
  padding: var(--spacing-md) !important;
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-sm);
  border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .sitemap-section {
    padding: 15px;
  }

  .tag {
    font-size: 12px;
    padding: 3px 8px;
  }

  .main {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.main-navigation {
  transition: transform 0.3s ease;
}


.home .container-casa {
    padding:  2rem 0 ;
    text-align: center;
   
    margin: auto;
  }
/* Responsive */
@media (min-width: 1100px) {
  .container-casa {
    padding: 0 0 2rem ;
    text-align: center;
   
    margin: auto;
  }
  .menu-toggle {
    padding: 3px;
  }

  .main-navigation {
    overflow: visible;
    justify-content: end;
    display: flex;
  }

  .header-nav {
    background: linear-gradient(
      135deg,
      var(--color-primary-dark) 0%,
      var(--color-primary) 100%
    );
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    margin: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem 2rem;
  justify-content: space-between;
    transition: all 0.4s ease;
  }

  .header-nav.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 9999;

    animation: slideDown 0.4s ease-out forwards;
    border-radius: 0;

    background: var(--color-accent);
  }

  @keyframes slideDown {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .header-nav a {
    display: flex;
    text-transform: capitalize;

    text-decoration: none;
    transition: color var(--transition);
    font-size: 1.1rem;
    flex-wrap: wrap;
    
    align-items: center;
    column-gap: 1.4rem;
    row-gap: 1rem;
    margin: 0;
    padding: 0 3px;

    z-index: 1000;

    margin-bottom: 0;
  }

  .sub-menu {
    display: none;
    min-width: 280px;
    max-width: 320px;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 8;
    background: var(--c-surface);
  }

  .sub-menu a {
    color: #fff;
  }
  .header > .container {
    flex-wrap: nowrap;
  }

  .main-navigation::after {
    display: none;
  }

  .menu-item-has-children:hover > .sub-menu {
    display: block;
  }

  .icon-chevron {
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
  }

  .js-burger {
    display: none;
  }

  .wp-block-image {
    margin: 2rem 0;
  }
}

@media (max-width: 1100px) {
  .site-titlecontainer-casa {
    margin-top: 3rem;
  }
  [data-content="hero"] h1 {
    
    margin: 2rem auto 0.6em;
   
}
.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 2rem;
    gap: 0.5rem;
}
  .main-navigation {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--color-primary-dark);
    z-index: 1000;
    overflow-y: auto;
  }

  .main-navigation.active {
    left: 0;
  }
  .wide-image-container {
    margin-left: calc(-2 * var(--space-xl));
    margin-right: calc(-2 * var(--space-xl));
    border-radius: var(--img-radius);
  }

  .header-inner {
    margin-top: 5rem;
  }
  .burger-logo {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    top: 1rem;
    z-index: 2;
    position: absolute;
  }
  .burger-logo a {
    color: #ffffff !important;
  }
  .container-casa {
    padding: 3rem 1rem 1.5rem;
  }

  .main-navigation ul {
    display: block;
  }

  .site-branding nav {
    border-radius: var(--radius);

    margin-bottom: calc(var(--gap) * 1.5);
    box-shadow: none;
    border: none;
  }

  .header-nav {
    display: flex;
    padding: 0 30px;
  }
  .main-menu li {
    text-align: left;
    margin-top: 21px;
  }
  .sub-menu li {
    margin-top: 0 !important;
    padding: 0.2rem 1rem;
  }
  .main-menu li.active {
    border-bottom: none;
  }
  .header-nav a {
    font-size: 1.2rem;
  }

  .menu-item-has-children > .sub-menu.active {
    margin-left: 0.8rem;
  }
}

header p {
  font-size: var(--font-md);
  max-width: 800px;
  text-align: center;
  margin: auto;
}
.toc-wrap {
  padding: 1rem;
}

.back-to-top {
  bottom: 1rem;
  right: 1rem;
  width: 45px;
  height: 45px;
}

/* articulos */
.articulos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 32px;
  padding-top: 30px;

  max-width: var(--max-width);
  margin: 0 auto;
}

.articulos-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 0;
}

.articulos-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.articulos-card__image-link img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.articulos-card:hover .articulos-card__image-link img {
  transform: scale(1.08);
}

.articulos-card__content {
  padding: 0 17px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.articulos-card__title {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 1.6rem;
}
.articulos-card__title a {
  text-decoration: none;
}

.articulos-card__excerpt {
  margin-top: auto;

  margin-bottom: 0;
  color: #6e6e73;
  font-size: 0.95rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.articulos-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1d1d1f;
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.3s;
}

.articulos-card__link svg {
  transition: transform 0.3s;
}

.articulos-card__link:hover {
  color: #0073aa;
  gap: 12px;
}

.articulos-card__image-link {
  display: block;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
  height: 170px;
}

.articulos-card__image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.articulos-card:hover .articulos-card__image-link img {
  transform: scale(1.08);
}

.articulos-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.load-more-wrapper {
  text-align: center;
  margin: 40px 0;
}

.btn-load-more {
  background-color: #0073aa;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.btn-load-more:hover {
  background-color: #005177;
}

@media (max-width: 559px) {
  .articulos-grid {
    gap: 17px;
  }
  .articulos-card__image-link {
    height: 17rem;
  }
}

@media (max-width: 768px) {
  .sitemap-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 5px;
    list-style: none;
    padding: 0;
  }
}

#site-navigation a,
.menu-item a {
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

.sitemap-grid{
  margin: 2.5rem auto;
}



.footer-inner{
  max-width: 1300px;
  margin: 2rem auto 0;
}

.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 30px;
    font-family: 'Source Serif 4', serif; 
    margin-top: 2.5rem;
}



.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}


.footer-links a {
    
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-logo {
  
    font-size: 24px;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 30px 15px 0;
    font-size: 13px;
    color: #888;
    margin: auto;
    max-width: 1200px;
    text-align: center;
}

.safety-icons {
    display: flex;
    gap: 15px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: bold;
    flex-direction: column;
}
.separator, .current{
  color: #fff;
}
/* Адаптивность */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo-container img {
   
    height: auto;
    display: block;
    margin-bottom: 20px;
    max-width: 50px;
    border-radius: 50%;
    
}

.footer-logo-text {

    font-weight: 700;
    text-decoration: none;
  
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Контейнер для скролла */
.table-container {
    width: 100%;
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    margin: 20px 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}
section,
h2[id], 
h3[id], 
[data-content] {
    scroll-margin-top: 80px;
}
/* Добавляет маленькую стрелочку после внешних ссылок */
a[target="_blank"]::after {
    content: " ↗";
    font-size: 0.75em;
    vertical-align: super;
}
.entry-content{
  margin-top: 2rem;
}