/**
 * Theme Name: sportnieuws
 * Version: 1.0
 */


/* ========================================
   1. CSS Variables & Reset
   ======================================== */
:root {
  --bg-page: #ffffff;
  --bg-header: #ffffff;
  --bg-footer: #1a1a1a;
  --text-primary: #1a1a1a;
  --text-secondary: #6b7280;
  --accent: #19b259;
  --accent-dark: #0d7a3a;
  --muted: #d1d5db;
  --bg-card: #f7f8fa;
  --text-footer: #a0a0a0;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --content-width: 1100px;
  --section-gap: 4.5rem;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
  --danger: #dc2626;
  --success: #16a34a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  interpolate-size: allow-keywords;
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ========================================
   2. General Typography
   ======================================== */
h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  color: var(--text-primary);
}

h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.2;
  color: var(--text-primary);
  text-align: left;
  scroll-margin-top: 2rem;
  margin: 1.5rem auto;
}

h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  line-height: 1.2;
  color: var(--text-primary);
  text-align: left;
  scroll-margin-top: 2rem;
}

p {
  text-align: left;
  margin-bottom: 1.25em;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 700;
}

blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--text-secondary);
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25em;
  text-align: left;
}

li {
  margin-bottom: 0.4em;
  text-align: left;
}

figure {
  margin: 1.5em auto;
}

figure img {
  display: block;
  max-width: 100%;
  height: auto;
}

figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

hr {
  border: none;
  border-top: 1px solid var(--muted);
  margin: 2rem 0;
}

/* ========================================
   3. Layout - Sections
   ======================================== */
main {
  width: 100%;
}

.container {
  max-width: var(--content-width);
margin: 0 auto;
  padding: 0 15px;
  margin-top: var(--section-gap);
}



[data-content] h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* ========================================
   4. Components
   ======================================== */

/* --- info-box --- */
.info-box {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.75rem 0;
  box-shadow: var(--shadow-sm);
}

.info-box p {
  text-align: left;
  color: var(--text-primary);
  margin-bottom: 0.75em;
  font-size: 1rem;
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* --- callout --- */
.callout {
  background: rgba(25, 178, 89, 0.08);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.75rem 0;
}

.callout p {
  text-align: left;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75em;
}

.callout p:last-child {
  margin-bottom: 0;
}

/* --- key-takeaway --- */
.key-takeaway {
  border-top: 2px solid var(--accent);
  padding-top: 1rem;
  margin: 2rem 0;
}

.key-takeaway p {
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-primary);
}

/* --- fun-fact --- */
.fun-fact {
  position: relative;
  padding-left: 1.5rem;
  margin: 1.75rem 0;
}

.fun-fact::before {
  content: "\2014";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.fun-fact p {
  text-align: left;
  font-style: italic;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* --- glossary-term --- */
.glossary-term {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.glossary-term p {
  text-align: left;
  margin-bottom: 0;
  font-size: 1rem;
}

.glossary-term strong {
  font-family: var(--font-mono);
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- odds-example --- */
.odds-example {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin: 1.75rem 0;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-body);
  font-size: 1rem;
}

.odds-example p {
  text-align: left;
  color: var(--text-primary);
  margin-bottom: 0.75em;
  line-height: 1.7;
}

.odds-example p:last-child {
  margin-bottom: 0;
}

.odds-example strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-primary);
}

/* --- comparison --- */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.75rem 0;
}

.comparison > div {
  background: var(--bg-card);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.comparison > div p {
  text-align: left;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.75em;
}

.comparison > div p:last-child {
  margin-bottom: 0;
}

.comparison > div > p:first-child {
  font-family: var(--font-heading);
  font-size: 1rem;
  border-bottom: 1px solid var(--muted);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

/* --- at-a-glance --- */
.at-a-glance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 2rem 0;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  overflow: hidden;
}

.at-a-glance > div {
  padding: 1.25rem;
  text-align: center;
  border-right: 1px solid var(--muted);
}

.at-a-glance > div:last-child {
  border-right: none;
}

.at-a-glance > div p {
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 0;
}

.at-a-glance > div p:first-child {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 0.35rem;
}

.at-a-glance > div p:last-child {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* --- pre-bet-checklist --- */
.pre-bet-checklist {
  margin: 2rem 0;
}

.pre-bet-checklist > p:first-child {
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}

.pre-bet-checklist ul {
  list-style: none;
  padding-left: 2rem;
  border-left: 2px solid var(--muted);
}

.pre-bet-checklist li {
  position: relative;
  padding: 0.4rem 0;
  font-size: 1rem;
  text-align: left;
  color: var(--text-primary);
}

.pre-bet-checklist li::before {
  content: "\2610";
  position: absolute;
  left: -1.75rem;
  color: var(--accent);
  font-size: 1.1rem;
  background: var(--bg-page);
  padding: 0 2px;
}

/* --- section-bridge --- */
.section-bridge {
  text-align: center;
  margin: 2.5rem 0;
  padding: 0.5rem 0;
}

.section-bridge::before,
.section-bridge::after {
  content: "\00B7\00A0\00B7\00A0\00B7";
  color: var(--muted);
  font-size: 1.25rem;
  letter-spacing: 0.2em;
}

.section-bridge::before {
  display: block;
  margin-bottom: 0.75rem;
}

.section-bridge::after {
  display: block;
  margin-top: 0.75rem;
}

.section-bridge p {
  text-align: center;
  font-style: italic;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* --- card-grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.75rem 0;
}

.card-grid > div {
  background: var(--bg-card);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.card-grid > div p {
  text-align: left;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0;
}

/* --- dos-donts --- */
.dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.75rem 0;
}

.dos-donts > div:first-child {
  border-top: 3px solid var(--success);
  padding-top: 1rem;
}

.dos-donts > div:last-child {
  border-top: 3px solid var(--danger);
  padding-top: 1rem;
}

.dos-donts > div > p:first-child {
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.dos-donts > div:first-child > p:first-child {
  color: var(--success);
}

.dos-donts > div:last-child > p:first-child {
  color: var(--danger);
}

.dos-donts ul {
  padding-left: 1.25rem;
}

.dos-donts li {
  text-align: left;
  color: var(--text-primary);
  font-size: 1rem;
}

/* --- worked-example --- */
.worked-example {
  background: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--radius);
  margin: 1.75rem 0;
  box-shadow: var(--shadow-md);
}

.worked-example p {
  text-align: left;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.75em;
}

.worked-example p:last-child {
  margin-bottom: 0;
}

.worked-example strong {
  font-family: var(--font-mono);
}

.worked-example hr {
  border-top: 1px dashed var(--muted);
  margin: 1rem 0;
}

/* --- tldr --- */
.tldr {
  background: var(--bg-card);
  border-left: 4px solid var(--accent-dark);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem auto;
}

.tldr h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 1rem;
  text-align: left;
}

.tldr ul {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.tldr li {
  text-align: left;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.6em;
  line-height: 1.6;
}

.tldr li:last-child {
  margin-bottom: 0;
}

/* --- author-bio --- */
.author-bio {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid var(--muted);
  padding-top: 1rem;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* ========================================
   5. Header
   ======================================== */
.site-header {
  background: var(--bg-header);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--muted);
}

.site-logo img {
  height: 36px;
  width: auto;
}

.site-logo {
  text-decoration: none;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.header-trust {
  color: var(--text-secondary);
}

.header-date time {
  color: var(--text-secondary);
}

/* ========================================
   6. Hero Section
   ======================================== */
[data-content="hero"] {
  max-width: 100%;
 
  text-align: center;
  margin-top: 0;
}

[data-content="hero"] > * {
  position: relative;
  z-index: 1;
}

[data-content="hero"] .hero-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  margin-bottom: 1.25rem;
}

[data-content="hero"] h1 {
  max-width: var(--content-width);
  margin: 0 auto 1.25rem;
  text-align: center;
}

[data-content="hero"] .hero-byline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  text-align: center;
}

[data-content="hero"] figure {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

[data-content="hero"] .hero-image {
  width: 100%;
  height: auto;
  display: block;
}

[data-content="hero"] .hero-cta {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bg-page);
  background: var(--accent-dark);
  padding: 0.7rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

[data-content="hero"] .hero-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

[data-content="hero"] .hero-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ========================================
   7. TOC
   ======================================== */
[data-content="toc"] {
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  background: var(--bg-page);
}

[data-content="toc"] .toc-heading {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  text-align: left;
}

[data-content="toc"] .toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 2;
  column-gap: 2rem;
}

[data-content="toc"] .toc-list > li {
  break-inside: avoid;
  margin-bottom: 0.9rem;
}

[data-content="toc"] .toc-list > li > a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

[data-content="toc"] .toc-list > li > a:hover {
  color: var(--accent);
}

[data-content="toc"] .toc-sublist {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.35rem;
  margin-bottom: 0;
}

[data-content="toc"] .toc-sublist li {
  margin-bottom: 0.3rem;
}

[data-content="toc"] .toc-sublist a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

[data-content="toc"] .toc-sublist a:hover {
  color: var(--accent);
}

/* ========================================
   8. FAQ Accordion
   ======================================== */
[data-content="faq"] details {
  border-bottom: 1px solid var(--muted);
}

[data-content="faq"] details:first-of-type {
  border-top: 1px solid var(--muted);
}

[data-content="faq"] summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  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: 1.3rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

[data-content="faq"] details[open] summary::after {
  content: "\2212";
}

[data-content="faq"] summary:hover {
  color: var(--accent-dark);
}

[data-content="faq"] summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 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;
  content-visibility: hidden;
}

[data-content="faq"] details[open] ::details-content {
  opacity: 1;
  block-size: auto;
  content-visibility: visible;
}

@supports not selector(::details-content) {
  [data-content="faq"] details[open] > *:not(summary) {
    animation: faqFadeIn 0.3s ease forwards;
  }
  @keyframes faqFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

[data-content="faq"] details > div {
  padding-bottom: 1.15rem;
}

[data-content="faq"] details > div p {
  text-align: left;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.7;
}

/* ========================================
   9. Back to Top
   ======================================== */
.back-to-top {
  display: block;
  max-width: var(--content-width);
  margin: var(--section-gap) auto 0;
  padding: 0 1.25rem;
  text-align: center;
}

.back-to-top a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-to-top a:hover {
  color: var(--accent);
}

/* ========================================
   10. Footer
   ======================================== */
.site-footer {
  background: var(--bg-footer);
  color: var(--text-footer);
  margin-top: var(--section-gap);
  padding: 3rem 1.25rem 1.5rem;
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d1d5db;
  margin-bottom: 0.75rem;
}

.footer-col p {
  text-align: left;
  color: var(--text-footer);
  font-size: 0.78rem;
  margin-bottom: 0.5em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.4em;
  text-align: left;
}

.footer-col a {
  color: var(--text-footer);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 960px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.75rem;
  color: #777;
}

.footer-logo img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

/* ========================================
   11. Article Image
   ======================================== */
.article-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
}

.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;
}

/* ========================================
   12. Media Queries
   ======================================== */
@media (max-width: 768px) {
  :root {
    --section-gap: 3rem;
  }



  .comparison {
    grid-template-columns: 1fr;
  }

  .at-a-glance {
    grid-template-columns: 1fr;
  }

  .at-a-glance > div {
    border-right: none;
    border-bottom: 1px solid var(--muted);
  }

  .at-a-glance > div:last-child {
    border-bottom: none;
  }

  .dos-donts {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .glossary-term {
    flex-direction: column;
    gap: 0.25rem;
  }

  [data-content="toc"] {
    padding: 1.25rem 1rem;
  }

  [data-content="toc"] .toc-list {
    column-count: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .header-meta {
    font-size: 0.65rem;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-meta {
    width: 100%;
    justify-content: flex-start;
  }
}
/* ========================================
   Article Images Styles
   ======================================== */

figure.article-figure {
  margin: 2rem 0;
  padding: 0;
}

figure.article-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius, 6px);
  box-shadow: var(--shadow-md, 0 2px 8px rgba(0,0,0,0.08));
}

figure.article-figure figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary, #6b7280);
  margin-top: 0.625rem;
  line-height: 1.5;
}

figure.hero-figure {
  margin: 1.5rem 0 0;
  padding: 0;
}

figure.hero-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius, 6px);
}

@media (max-width: 768px) {
  figure.article-figure {
    margin: 1.5rem 0;
  }

  figure.article-figure img {
    border-radius: 4px;
  }
}


/*  */

img {
  width: 100%;
  object-fit: cover;
  max-height: 700px;
}

.wp-block-image img {
  margin-bottom: 2rem;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 3rem;
  list-style: none;
  font-size: 1.1rem;
}

.container-casa {
  margin-top: 7rem;
}

.container-casa p {
  max-width: 800px;
  text-align: center;
  margin: 2rem auto;
}

/* --- 1. menu --- */
.header-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
 
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 100px;
  background:var(--bg-card);
  min-height: 4rem;
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.burger-logo {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  text-decoration: none;
}

.main-logo-img {
max-width: 228px;
}

.logo-text {
  color:var(--text-primary);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.burger-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
}

.burger-btn span,
.burger-btn span::before,
.burger-btn span::after {
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  position: absolute;
  transition: all 0.3s ease-in-out;
}

.burger-btn span::before {
  top: -8px;
}
.burger-btn span::after {
  top: 8px;
}

.js-burger.active span {
  background-color: transparent !important;
}
.js-burger.active span::before {
  transform: translateY(8px) rotate(45deg);
}
.js-burger.active span::after {
  transform: translateY(-8px) rotate(-45deg);
}

.main-navigation {
  position: fixed;

  top: -100%;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  max-height: 100vh;
  background: var(--bg-card);
  z-index: 9999;

  transition:
    top 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.5s;
  padding: 80px 20px 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  visibility: hidden;
  display: block;
  overflow-y: auto;
}

.main-navigation.active {
  top: 0;
  visibility: visible;
}

.main-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.main-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 500;
  transition: color 0.2s;
}

.main-menu a:hover {
  color: #f1e253;
}

body.has-overlay {
  overflow: hidden;
}

.btn-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  border: none;
  background: none;
  cursor: pointer;
  line-height: 1;
  color: #fff;
}

.menu-item-has-children > a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

.menu-item-has-children > a::after {
  content: "▼";
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.menu-item-has-children.is-open > a::after {
  transform: rotate(180deg);
  color: #3b9eff;
}

.sub-menu {
  list-style: none !important;
  padding-left: 20px !important;
  margin: 0 !important;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100vh;
}

.sub-menu li {
  padding: 10px 0;
}

.sub-menu a {
  font-size: 1rem !important;

  font-weight: 400 !important;
}

.menu-item-has-children > a {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.menu-item-has-children:hover > .sub-menu {
  max-height: 1000px !important;
  visibility: visible;
  opacity: 1;
}

.main-menu li.current-menu-item > a,
.main-menu li.current_page_item > a,
.main-menu li.current-post-ancestor > a,
.main-menu li.current-menu-ancestor > a,
.main-menu li.current-page-ancestor > a {
  color: #f1e253 !important;
  font-weight: 700 !important;
}

.main-menu li.menu-item-has-children.is-open > a {
  color: #f1e253 !important;
}

.main-menu li.active > a {
  color: #f1e253 !important;
  font-weight: 700 !important;
}

.main-navigation.active .main-menu .current-menu-item > a {
  color: #f1e253 !important;
}

/* end menu */

.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;
  margin: 0 0 3rem ;
  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;
  }
  .header-top {
    padding: 0 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;
  }
}

@media (max-width: 1100px) {
  .site-titlecontainer-casa {
    margin-top: 3rem;
  }
  .container-casa {
  margin-top: 3rem;
}
.breadcrumbs {
    margin: 2rem 0 0;
    
}
  .wide-image-container {
    margin-left: calc(-2 * var(--space-xl));
    margin-right: calc(-2 * var(--space-xl));
    border-radius: var(--img-radius);
  }

  .site-branding nav {
    background: none;
    border-radius: var(--radius);

    margin-bottom: calc(var(--gap) * 1.5);
    box-shadow: none;
    border: none;
  }
}

header p {
  font-size: var(--font-md);
}
.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;
}

footer p{
  color: #ccc;
}
.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 30px;

    margin-top: 2.5rem;
}
.sitemap-grid{
  padding: 2rem 0;
  margin: 3rem 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}



.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}


.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-logo {
 
    font-size: 20px;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    font-size: 13px;
    color: #888;
    text-align: center;
}

.safety-icons {
    display: flex;
    gap: 15px;
   
    font-weight: bold;
}

/* Адаптивность */
@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: 62px;
    border-radius: 10px;
    
    
}
.footer-grid{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.footer-about p{
  font-size: 14px;
}
.footer-logo-text {

    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    color: #0073aa; 
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.footer-disclaimer p{
  text-align: center;
  margin: 1.5rem 0;
}

/* Контейнер для скролла */
.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;
}

.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;
}

/* Добавляет маленькую стрелочку после внешних ссылок */
a[target="_blank"]::after {
    content: " ↗";
    font-size: 0.75em;
    vertical-align: super;
}
