/*
Theme Name: Site Builder Generated Theme
Description: Сгенерирована плагином Site Builder. Шапка: newspaper-masthead, футер: cta-band, стиль: warm-earth.
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;
}
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 ===== */

/* Warm Earth — тёплые земляные тона: кремовый, коричневый, терракотовый */
:root {
    --sb-color-bg:              #fdf8f3;    /* warm cream */
    --sb-color-bg-alt:          #f5ede2;    /* darker cream */
    --sb-color-text:            #3f2e1f;    /* deep espresso brown */
    --sb-color-muted:           #857055;    /* muted wood */
    --sb-color-link:            #c65d3d;    /* terracotta */
    --sb-color-link-hover:      #a04829;    /* deeper terracotta */
    --sb-color-border:          #e5d9c9;    /* soft sand */
    --sb-color-accent:          #6b8c5e;    /* moss green */

    --sb-font-body:             'Charter', 'Georgia', 'Times New Roman', serif;
    --sb-font-heading:          'Merriweather', 'Charter', 'Georgia', serif;
    --sb-font-size:             17px;
    --sb-line-height:           1.75;
    --sb-content-max-width:     880px;
}

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);
    letter-spacing: -0.005em;
    font-weight: 700;
}
body.sb-site h1 { line-height: 1.2; }
body.sb-site h2 {
    margin-top: 2em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid var(--sb-color-border);
}

body.sb-site a {
    color: var(--sb-color-link);
    text-decoration: underline;
    text-decoration-color: rgba(198, 93, 61, 0.4);
    text-decoration-thickness: 1px;
    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;
    text-decoration-thickness: 2px;
}

body.sb-site strong { color: var(--sb-color-accent); }
body.sb-site em     { color: var(--sb-color-muted); }
body.sb-site blockquote {
    border-left: 4px solid var(--sb-color-link);
    padding: 12px 22px;
    background: var(--sb-color-bg-alt);
    border-radius: 0 6px 6px 0;
    color: var(--sb-color-text);
    font-style: italic;
}
body.sb-site code {
    background: var(--sb-color-bg-alt);
    color: var(--sb-color-link);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: ui-monospace, 'SF Mono', Monaco, monospace;
    font-size: 0.9em;
}


/* ===== Header variant: newspaper-masthead ===== */
/* templates/theme/headers/newspaper-masthead.css */

.sb-header-newspaper-masthead {
    position: relative;
    z-index: 1000;
    background: var(--sb-color-bg, #fff);
}

.sb-header-newspaper-masthead a {
    text-decoration: none;
}

.sb-header-newspaper-masthead a::after {
    display: none !important;
    content: none !important;
}

.sb-header-newspaper-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px 0;
}

/* Top utility row: date / edition markers flanking the masthead */
.sb-newspaper-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--sb-font-body, sans-serif);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sb-color-muted, #6b7280);
    padding-bottom: 10px;
}

.sb-newspaper-top-row span {
    white-space: nowrap;
}

/* Double rule above masthead */
.sb-header-newspaper-masthead::before,
.sb-newspaper-rule-top {
    content: '';
    display: block;
    height: 4px;
    border-top: 2px solid var(--sb-color-text, #111);
    border-bottom: 1px solid var(--sb-color-text, #111);
}

/* Masthead brand block */
.sb-header-newspaper-brand {
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 20px;
    padding: 18px 0;
    position: relative;
}

.sb-header-newspaper-brand a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sb-color-text, #111);
    font-family: var(--sb-font-heading, Georgia, serif);
    font-size: 52px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1;
}

.sb-header-newspaper-brand img {
    max-height: 70px;
    width: auto;
    display: block;
}

/* Double rule below masthead */
.sb-newspaper-rule-bottom {
    height: 4px;
    border-top: 1px solid var(--sb-color-text, #111);
    border-bottom: 2px solid var(--sb-color-text, #111);
    margin-bottom: 0;
}

/* Nav strip with vertical dividers */
.sb-header-newspaper-nav-row {
    align-items: center;
    padding: 4px 0;
    position: relative;
}

.sb-header-newspaper-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.sb-newspaper-item {
    margin: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.sb-newspaper-item:not(:first-child)::before {
    content: '|';
    color: var(--sb-color-border, #ccc);
    margin: 0 4px;
    font-weight: 300;
}

.sb-newspaper-link,
.sb-newspaper-pill-link {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: var(--sb-color-text, #111);
    font-family: var(--sb-font-body, sans-serif);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.2s ease;
}

.sb-newspaper-link:hover,
.sb-newspaper-pill-link:hover {
    color: var(--sb-color-link, #a41e1e);
}

.sb-newspaper-item.current-menu-item .sb-newspaper-link,
.sb-newspaper-item.current-menu-item .sb-newspaper-pill-link {
    color: var(--sb-color-link, #a41e1e);
}

.sb-newspaper-pill {
    display: flex;
    align-items: center;
    position: relative;
}

.sb-newspaper-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--sb-color-muted, #6b7280);
    padding: 4px;
    margin-left: -2px;
    transition: color 0.2s ease;
}

.sb-newspaper-trigger:hover {
    color: var(--sb-color-link, #a41e1e);
}

.sb-newspaper-caret {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.sb-newspaper-item.sb-dropdown-open .sb-newspaper-caret {
    transform: rotate(180deg);
}

/* Dropdown styled like a boxed classified-ads column */
.sb-newspaper-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    transform: translateY(-6px);
    max-width: 560px;
    background: var(--sb-color-bg, #fff);
    border: 2px solid var(--sb-color-text, #111);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 999;
}

.sb-newspaper-item.sb-dropdown-open .sb-newspaper-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sb-newspaper-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 2px;
    max-height: 400px;
    overflow-y: auto;
}

.sb-newspaper-dropdown-grid::-webkit-scrollbar {
    width: 6px;
}

.sb-newspaper-dropdown-grid::-webkit-scrollbar-track {
    background: var(--sb-color-bg-alt, #f2f2f2);
}

.sb-newspaper-dropdown-grid::-webkit-scrollbar-thumb {
    background: var(--sb-color-text, #111);
}

.sb-newspaper-dropdown a {
    color: var(--sb-color-text, #111);
    padding: 9px 12px;
    display: block;
    font-family: var(--sb-font-body, sans-serif);
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px dotted var(--sb-color-border, #ccc);
    transition: color 0.15s ease;
}

.sb-newspaper-dropdown a:hover {
    color: var(--sb-color-link, #a41e1e);
}

/* View All button */
.sb-newspaper-view-all {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px !important;
    background: var(--sb-color-link, #a41e1e) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    grid-column: 1 / -1;
    margin-top: 4px;
    font-family: var(--sb-font-body, sans-serif) !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sb-newspaper-view-all:hover {
    background: var(--sb-color-link-hover, #8a1717) !important;
    transform: scale(1.02) !important;
}

.sb-newspaper-view-all svg {
    flex-shrink: 0;
}

/* Mobile toggle */
.sb-header-newspaper-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: none;
    border: 2px solid var(--sb-color-text, #111);
    cursor: pointer;
    color: var(--sb-color-text, #111);
    font-family: var(--sb-font-heading, Georgia, serif);
    font-size: 20px;
    flex-shrink: 0;
}

.sb-header-newspaper-toggle {
    display: none;
}

@media (max-width: 900px) {
    .sb-header-newspaper-inner {
        padding: 18px 20px 0;
    }

    .sb-header-newspaper-toggle {
        display: block;
    }

    .sb-header-newspaper-brand {
        padding: 18px 0;
        justify-content: space-between;
    }

    .sb-header-newspaper-brand a {
        font-size: 36px;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
    }

    .sb-header-newspaper-brand img {
        max-height: 48px;
    }

    .sb-header-newspaper-nav-row {
        justify-content: flex-start;
        padding: 10px 0;
    }

    .sb-header-newspaper-menu {
        display: none;
    }

    .sb-header-newspaper-menu.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .sb-newspaper-item {
        display: block;
        position: relative;
        border-bottom: 1px dotted var(--sb-color-border, #ccc);
    }

    .sb-newspaper-item:not(:first-child)::before {
        content: none;
    }

    .sb-newspaper-link,
    .sb-newspaper-pill-link {
        padding: 12px 4px;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
    }

    .sb-newspaper-pill {
        justify-content: space-between;
    }

    .sb-newspaper-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        transform: none;
        border: 1px solid var(--sb-color-border, #ccc);
        border-top: none;
        background: var(--sb-color-bg, #fff);
        padding: 0 8px 8px;
        display: none;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
        z-index: 1001;
    }

    .sb-newspaper-item.sb-dropdown-open .sb-newspaper-dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .sb-newspaper-dropdown-grid {
        grid-template-columns: 1fr;
        max-height: 60vh;
    }

    .sb-newspaper-dropdown a {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
    }
}

@media (max-width: 600px) {
    .sb-header-newspaper-inner {
        padding: 18px 20px 0;
    }

    .sb-header-newspaper-brand a {
        font-size: 28px;
    }

    .sb-header-newspaper-brand img {
        max-height: 40px;
    }

    .sb-newspaper-top-row {
        font-size: 10px;
        padding-bottom: 8px;
    }

    .sb-newspaper-top-row span:nth-child(2) {
        display: none;
    }

    .sb-header-newspaper-toggle {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sb-newspaper-link,
    .sb-newspaper-pill-link,
    .sb-newspaper-dropdown,
    .sb-newspaper-trigger,
    .sb-newspaper-caret {
        transition: none !important;
    }
}

.sb-header-newspaper-brand h1 {
    margin: 0 !important;
}

body.sb-site h1 {
    padding-bottom: 0;
}

/* ===== Footer variant: cta-band ===== */
/* cta-band — акцентная призывная полоса сверху + 3 колонки ссылок */
.sb-footer-cta {
    background: var(--sb-color-bg-alt, #f8f9fa);
    border-top: 1px solid var(--sb-color-border, #e5e7eb);
    padding: 40px 20px 24px;
    color: var(--sb-color-text, #111);
    margin-top: 48px;
}
.sb-footer-cta-inner {
    max-width: var(--sb-content-max-width, 920px);
    margin: 0 auto;
}
/* CTA band */
.sb-footer-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--sb-color-link, #2563eb);
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 40px;
}
.sb-footer-cta-title {
    margin: 0 0 4px;
    color: #fff;
    font-size: 1.4em;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.sb-footer-cta-desc {
    margin: 0;
    color: #fff;
    opacity: 0.9;
    font-size: 0.95em;
    line-height: 1.5;
}
.sb-footer-cta-btn {
    flex-shrink: 0;
    display: inline-block;
    padding: 12px 28px;
    background: var(--sb-color-bg, #fff);
    color: var(--sb-color-link, #2563eb);
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95em;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
.sb-footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
/* Columns */
.sb-footer-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}
.sb-footer-cta-col { font-size: 0.9em; }
.sb-footer-cta-heading {
    margin: 0 0 14px;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sb-color-muted, #6b7280);
    font-weight: 700;
}
.sb-footer-cta-list, .sb-footer-cta .sb-menu {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 8px;
}
.sb-footer-cta-list a, .sb-footer-cta .sb-menu a {
    color: var(--sb-color-text);
    text-decoration: none;
    transition: color 0.15s;
}
.sb-footer-cta-list a:hover, .sb-footer-cta .sb-menu a:hover {
    color: var(--sb-color-link);
    text-decoration: underline;
}
.sb-footer-cta-copyright {
    padding-top: 20px;
    border-top: 1px solid var(--sb-color-border, #e5e7eb);
    color: var(--sb-color-muted, #6b7280);
    font-size: 0.85em;
    text-align: center;
}
.sb-regulators-item {
	list-style: none;
}

@media (max-width: 800px) {
    .sb-footer-cta-band {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 24px;
    }
    .sb-footer-cta-grid { grid-template-columns: 1fr; gap: 28px; }
}

:root {
  --bg: #f3f1eb;
  --paper: #fffdf8;
  --ink: #17202a;
  --muted: #5f6b73;
  --line: #d8d5cd;
  --accent: #1f4d45;
  --accent-soft: #e6efec;
  --warm: #8b5e34;
  --max: 1180px;
}

.faq, details {
  display: grid;
  gap: 12px;
  margin: 10px;
}

.faq details, details {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px 18px;
  border-radius: 8px
}

.faq summary {
  font-weight: 800;
  cursor: pointer
}

.faq p {
  margin-bottom: 0
}