/*
Theme Name: Site Builder Generated Theme
Description: Сгенерирована плагином Site Builder. Шапка: particle-wave, футер: blueprint-grid, стиль: sage-forest.
Version: 1.2.4
Author: Site Builder Plugin
Requires at least: 6.0
Requires PHP: 8.0
*/

/* ===== Reset & base layout ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--sb-font-body, "Segoe UI", system-ui, -apple-system, sans-serif);
    font-size: var(--sb-font-size, 16px);
    line-height: var(--sb-line-height, 1.6);
    color: var(--sb-color-text, #222);
    background: var(--sb-color-bg, #fff);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sb-color-link, #2271b1); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Site wrapper ===== */
.sb-site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.sb-site-content {
    flex: 1;
    padding: 32px 20px;
    max-width: var(--sb-content-max-width, 920px);
    width: 100%;
    margin: 0 auto;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--sb-font-heading, var(--sb-font-body, sans-serif));
    line-height: 1.3;
    margin: 1.4em 0 0.6em;
}
h1 { font-size: 2.2em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.3em; }

/* ===== Content elements ===== */
.sb-content figure { margin: 24px 0; }
.sb-content figure img { border-radius: 4px; }
.sb-content figcaption {
    font-size: 0.9em;
    color: var(--sb-color-muted, #666);
    text-align: center;
    margin-top: 6px;
}
.sb-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.sb-content th, .sb-content td {
    padding: 8px 12px;
    border: 1px solid var(--sb-color-border, #e2e8f0);
    text-align: left;
}
.sb-content th {
    background: var(--sb-color-bg-alt, #f8f9fa);
    font-weight: 600;
}
.sb-content blockquote {
    border-left: 4px solid var(--sb-color-accent, #2271b1);
    margin: 20px 0;
    padding: 12px 20px;
    background: var(--sb-color-bg-alt, #f8f9fa);
    color: var(--sb-color-muted, #555);
}
.sb-content code {
    background: var(--sb-color-bg-alt, #f0f0f1);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}
.sb-content pre {
    background: var(--sb-color-bg-alt, #f0f0f1);
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
}

/* ===== Variant-specific styles (header, footer, color scheme) injected below ===== */

:root {
    --sb-color-bg:              #f8faf6;    /* soft botanical white */
    --sb-color-bg-alt:          #edf2e9;    /* pale sage */
    --sb-color-text:            #1e2923;    /* forest black */
    --sb-color-muted:           #69766e;    /* muted sage gray */
    --sb-color-link:            #34745a;    /* botanical green */
    --sb-color-link-hover:      #255642;    /* deep forest */
    --sb-color-border:          #d8e1d7;    /* sage border */
    --sb-color-accent:          #234c3a;    /* forest green */

    --sb-font-body:             -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;
    --sb-font-heading:          -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;
    --sb-font-size:             16px;
    --sb-line-height:           1.6;
    --sb-content-max-width:     920px;
}

body.sb-site {
    background: var(--sb-color-bg);
    color: var(--sb-color-text);
    font-family: var(--sb-font-body);
    font-size: var(--sb-font-size);
    line-height: var(--sb-line-height);
}
body.sb-site h1, body.sb-site h2, body.sb-site h3, body.sb-site h4 {
    font-family: var(--sb-font-heading);
    color: var(--sb-color-text);
    font-weight: 700;
    letter-spacing: -0.015em;
}
body.sb-site a {
    color: var(--sb-color-link);
    text-decoration: underline;
    text-decoration-color: rgba(2, 132, 199, 0.35);
    text-underline-offset: 3px;
    transition: color 0.15s, text-decoration-color 0.15s;
}
body.sb-site a:hover {
    color: var(--sb-color-link-hover);
    text-decoration-color: currentColor;
}
body.sb-site strong { color: var(--sb-color-accent); }
body.sb-site blockquote {
    border-left: 4px solid var(--sb-color-accent);
    padding: 12px 22px;
    background: var(--sb-color-bg-alt);
    border-radius: 0 6px 6px 0;
    color: var(--sb-color-text);
}
body.sb-site code {
    background: var(--sb-color-bg-alt);
    color: var(--sb-color-link-hover);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: ui-monospace, 'SF Mono', Monaco, monospace;
}


/* ===== Header variant: particle-wave ===== */
/* templates/theme/headers/particle-wave.css */

.sb-header-particle-wave {
    position: relative;
    z-index: 1000;
    background: var(--sb-color-bg, #fff);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.sb-header-particle-wave.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.sb-header-particle-wave a {
    text-decoration: none;
}

.sb-header-particle-wave a::after {
    display: none !important;
    content: none !important;
}

/* Particle canvas background */
.sb-header-particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.sb-header-particle-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    z-index: 1;
}

/* Brand */
.sb-header-particle-brand {
    flex-shrink: 0;
    z-index: 2;
}

.sb-header-particle-brand a {
    display: flex;
    align-items: center;
    color: var(--sb-color-text, #111);
    font-size: 24px;
    font-weight: 900;
    font-family: var(--sb-font-heading, sans-serif);
    letter-spacing: -0.02em;
    transition: transform 0.3s ease;
    position: relative;
}

.sb-header-particle-brand a:hover {
    transform: scale(1.05);
}

.sb-header-particle-brand img {
    max-height: 40px;
    width: auto;
    display: block;
}

/* Navigation */
.sb-header-particle-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.sb-header-particle-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sb-particle-item {
    margin: 0;
    position: relative;
}

/* Menu items */
.sb-particle-link,
.sb-particle-pill {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sb-particle-link::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.sb-particle-link:hover::before,
.sb-particle-item.current-menu-item .sb-particle-link::before {
    opacity: 1;
}

.sb-particle-link-text {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color 0.3s ease;
    z-index: 1;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.sb-particle-link:hover,
.sb-particle-pill:hover {
    transform: translateY(-2px);
    border-color: var(--sb-color-link, #2563eb);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.sb-particle-item.current-menu-item .sb-particle-link {
    border-color: var(--sb-color-link, #2563eb);
}

/* Dropdown pill */
.sb-particle-pill {
    padding: 0;
    gap: 4px;
}

.sb-particle-pill-link {
    color: var(--sb-color-text, #111);
    font-size: 15px;
    font-weight: 600;
    padding: 0 16px;
    transition: color 0.3s ease;
    z-index: 1;
}

.sb-particle-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--sb-color-text, #111);
    transition: color 0.3s ease;
    z-index: 1;
}

.sb-particle-pill:hover .sb-particle-pill-link,
.sb-particle-pill:hover .sb-particle-trigger,
.sb-particle-item.sb-dropdown-open .sb-particle-pill-link,
.sb-particle-item.sb-dropdown-open .sb-particle-trigger {
    color: #fff;
}

.sb-particle-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--sb-color-link, #2563eb);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    border-radius: 22px;
}

.sb-particle-pill:hover::before,
.sb-particle-item.sb-dropdown-open .sb-particle-pill::before {
    opacity: 1;
}

.sb-particle-caret {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.sb-particle-item.sb-dropdown-open .sb-particle-caret {
    transform: rotate(180deg);
}

/* Dropdown */
.sb-particle-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--sb-color-link, #2563eb);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%) translateY(-10px);
    z-index: 999;
}

.sb-particle-item.sb-dropdown-open .sb-particle-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.sb-particle-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
    max-height: 450px;
    overflow-y: auto;
}

.sb-particle-dropdown-grid::-webkit-scrollbar {
    width: 6px;
}

.sb-particle-dropdown-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.sb-particle-dropdown-grid::-webkit-scrollbar-thumb {
    background: var(--sb-color-link, #2563eb);
    border-radius: 10px;
}

.sb-particle-dropdown a {
    color: var(--sb-color-text, #111);
    padding: 10px 14px;
    display: block;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s ease;
    opacity: 0;
    animation: sb-particle-fade-in 0.3s ease forwards;
}

@keyframes sb-particle-fade-in {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sb-particle-dropdown a:nth-child(1) { animation-delay: 0.05s; }
.sb-particle-dropdown a:nth-child(2) { animation-delay: 0.08s; }
.sb-particle-dropdown a:nth-child(3) { animation-delay: 0.11s; }
.sb-particle-dropdown a:nth-child(4) { animation-delay: 0.14s; }
.sb-particle-dropdown a:nth-child(5) { animation-delay: 0.17s; }

.sb-particle-dropdown a:hover {
    background: var(--sb-color-link, #2563eb);
    color: #fff;
    transform: translateX(4px);
}

/* View All button */
.sb-particle-view-all {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px !important;
    background: var(--sb-color-link, #2563eb) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    grid-column: 1 / -1;
    margin-top: 4px;
}

.sb-particle-view-all:hover {
    background: var(--sb-color-link-hover, #1d4ed8) !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.sb-particle-view-all svg {
    flex-shrink: 0;
}

.sb-particle-view-all span {
    font-size: 14px;
    letter-spacing: 0.02em;
}

/* Mobile toggle */
.sb-header-particle-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid var(--sb-color-link, #2563eb);
    border-radius: 12px;
    cursor: pointer;
    padding: 8px;
    z-index: 100;
    transition: all 0.3s ease;
}

.sb-header-particle-toggle:hover,
.sb-header-particle-toggle[aria-expanded="true"] {
    background: var(--sb-color-link, #2563eb);
}

.sb-header-particle-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #d0dcdd;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.sb-header-particle-toggle:hover span,
.sb-header-particle-toggle[aria-expanded="true"] span {
    background: #fff;
}

.sb-header-particle-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.sb-header-particle-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.sb-header-particle-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
@media (max-width: 968px) {
    .sb-header-particle-inner {
        padding: 12px 20px;
    }

    .sb-header-particle-toggle {
        display: flex;
    }

    .sb-header-particle-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-top: 2px solid var(--sb-color-link, #2563eb);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    .sb-header-particle-nav.is-open {
        display: block;
    }

    .sb-header-particle-menu {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 8px;
    }

    .sb-particle-link,
    .sb-particle-pill {
        width: 100%;
        border-radius: 12px;
        justify-content: space-between;
    }

    .sb-particle-dropdown {
        position: static;
        transform: none;
        margin-top: 8px;
        display: none;
        border-radius: 12px;
        background: rgba(240, 245, 255, 0.95);
    }

    .sb-particle-item.sb-dropdown-open .sb-particle-dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .sb-particle-dropdown-grid {
        grid-template-columns: 1fr;
        max-height: 400px;
    }

    .sb-particle-view-all {
        margin-top: 8px !important;
        font-size: 15px !important;
        padding: 14px 18px !important;
    }

    .sb-particle-dropdown a {
        animation: none;
        opacity: 1;
        padding: 12px 16px;
    }
}

@media (max-width: 640px) {
    .sb-header-particle-brand a {
        font-size: 20px;
    }

    .sb-header-particle-brand img {
        max-height: 32px;
    }

    .sb-particle-dropdown-grid {
        grid-template-columns: 1fr;
    }

    .sb-particle-link-text {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sb-header-particle-wave,
    .sb-particle-link,
    .sb-particle-pill,
    .sb-particle-dropdown,
    .sb-particle-dropdown a {
        transition: none !important;
        animation: none !important;
    }
    
    .sb-particle-dropdown a {
        opacity: 1 !important;
    }
}

.sb-header-particle-brand h1 {
    margin: 0!important;
}

body.sb-site h1 {
   margin: 0!important;
}

/* ===== Footer variant: blueprint-grid ===== */
/* Общий контейнер */
.sb-footer-blueprint {
  background-color: var(--sb-color-border);
  border-top: 1px solid var(--sb-color-border);
  font-family: var(--sb-font-body);
  font-size: var(--sb-font-size);
  line-height: var(--sb-line-height);
  color: var(--sb-color-text);
  width: 100%;
}

.sb-footer-blueprint *,
.sb-footer-blueprint *::before,
.sb-footer-blueprint *::after {
  box-sizing: border-box;
}

/* Сетка с имитацией рамок 1px */
.sb-footer-bp-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 1px;
  background-color: var(--sb-color-border);
}

.sb-footer-bp-cell {
  background-color: var(--sb-color-bg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

/* Лейблы ячеек (МОНО) */
.sb-bp-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sb-color-muted);
  margin-bottom: 14px;
  display: block;
}

/* Имя и описание */
.sb-bp-name {
  font-family: var(--sb-font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sb-color-text);
  text-decoration: none;
  margin-bottom: 8px;
  display: inline-block;
}

.sb-bp-desc {
  font-size: 0.85rem;
  color: var(--sb-color-muted);
  margin: 0;
  line-height: 1.5;
}

/* Меню и списки */
.sb-bp-menu,
.sb-bp-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sb-bp-menu li,
.sb-bp-list li {
  margin-bottom: 8px;
}

.sb-bp-menu a,
.sb-bp-list a {
  color: var(--sb-color-link);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sb-bp-menu a:hover,
.sb-bp-list a:hover {
  color: var(--sb-color-accent);
}

/* Чертёжный баннер */
.sb-footer-bp-hero {
  position: relative;
  background-color: var(--sb-color-bg);
  border-top: 1px solid var(--sb-color-border);
  padding: 24px 16px;
  text-align: center;
  overflow: hidden;
}

.sb-bp-svg-text {
  width: 100%;
  max-height: 110px;
  display: block;
}

.sb-bp-svg-text text {
  font-family: var(--sb-font-body);
  font-size: 90px;
  font-weight: 900;
  fill: none;
  stroke: var(--sb-color-text);
  stroke-width: 1.2px;
  stroke-dasharray: 6 2;
  letter-spacing: 3px;
}

/* Крестики по углам */
.sb-bp-cross {
  position: absolute;
  font-size: 11px;
  line-height: 1;
  color: var(--sb-color-muted);
}
.sb-bp-cross.top-left {
  top: 6px;
  left: 8px;
}
.sb-bp-cross.top-right {
  top: 6px;
  right: 8px;
}
.sb-bp-cross.bottom-left {
  bottom: 6px;
  left: 8px;
}
.sb-bp-cross.bottom-right {
  bottom: 6px;
  right: 8px;
}

/* Копирайт */
.sb-footer-bp-bottom {
  background-color: var(--sb-color-bg-alt);
  border-top: 1px solid var(--sb-color-border);
  padding: 12px 20px;
  font-size: 0.75rem;
  color: var(--sb-color-muted);
}

.custom-logo-link {
  max-width: none;
}

.custom-logo {
  max-width: 100px;
  height: auto;
}

/* Разворачиваем логотип в первой колонке */
.sb-bp-brand .custom-logo,
.sb-bp-brand img {
  width: auto;
  max-width: 220px; /* Перекрывает глобальный max-width */
  height: auto;
  max-height: 75px;
  display: block;
}

/* Адаптив */
@media (max-width: 768px) {
  .sb-footer-bp-grid {
    grid-template-columns: 1fr;
  }
  .sb-bp-svg-text text {
    font-size: 60px;
  }
}


.wrap.faq {
  max-width: 850px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #222;
}


.wrap.faq h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #111;
  letter-spacing: -0.02em;
}


.wrap.faq details {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}


.wrap.faq details:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}


.wrap.faq details[open] {
  background: #fafafa;
  border-color: #3b82f6; 
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
}


.wrap.faq summary {
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.4;
  cursor: pointer;
  list-style: none; 
  position: relative;
  padding-right: 2.5rem;
  user-select: none;
  color: #1f2937;
  transition: color 0.2s ease;
}


.wrap.faq summary::-webkit-details-marker {
  display: none;
}


.wrap.faq details:not([open]) summary:hover {
  color: #3b82f6;
}


.wrap.faq summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  background-color: #f3f4f6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://w3.org' fill='none' viewBox='0 0 24 24' stroke='%234b5563' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-size: 1.1rem;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  transition: all 0.25s ease;
}

.wrap.faq details:not([open]):hover summary::after {
  background-color: #e0f2fe;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://w3.org' fill='none' viewBox='0 0 24 24' stroke='%233b82f6' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
}


.wrap.faq details[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
  background-color: #3b82f6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://w3.org' fill='none' viewBox='0 0 24 24' stroke='%23ffffff' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
}

/* Текст ответа */
.wrap.faq p {
  margin-top: 1rem;
  margin-bottom: 0;
  line-height: 1.65;
  color: #4b5563;
  font-size: 1rem;
  animation: slideDown 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}


@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Контейнер для блоков фактов */
.facts {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  max-width: 850px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Адаптивная двухколоночная сетка для десктопов */
@media (min-width: 640px) {
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Стилизация каждой колонки (списка dl) */
.facts dl {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  row-gap: 1rem;
  column-gap: 1.5rem;
}

/* Название факта (термин dt) */
.facts dt {
  font-weight: 500;
  color: #6b7280; 
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}


.facts dd {
  font-weight: 600;
  color: #1f2937; 
  font-size: 0.95rem;
  margin: 0;
  text-align: right; 
  word-break: break-word;
}


.facts dt:not(:first-of-type),
.facts dd:not(:first-of-type) {
  border-top: 1px dashed #f3f4f6;
  padding-top: 1rem;
}
