
/* Imported */
:root {
  --bg: #f3f1eb;
  --paper: #fffdf8;
  --ink: #17202b;
  --muted: #626975;
  --line: #d9d4c8;
  --accent: #173f5f;
  --accent-soft: #e5edf2;
  --warm: #8a5a35;
  --radius: 20px;
  --shadow: 0 20px 45px rgba(23, 32, 43, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.7; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { display: block; width: 100%; height: auto; border-radius: 16px; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(243,241,235,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-header nav a { text-decoration: none; font-size: .95rem; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; padding: 72px 0 56px; }
.eyebrow, .section-kicker { text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .76rem; color: var(--warm); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 6vw, 5.4rem); margin: 10px 0 24px; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); margin: 8px 0 22px; }
h3 { font-size: 1.25rem; margin-top: 0; }
.lede { font-size: 1.12rem; color: #2f3945; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-block; padding: 12px 18px; border-radius: 999px; background: var(--accent); color: white; text-decoration: none; font-weight: 700; }
.button.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.hero-figure, .browser-shot { margin: 0; padding: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
figcaption { color: var(--muted); font-size: .85rem; padding: 10px 4px 2px; }
main > section { padding: 54px 0; }
.verdict-grid, .split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: start; }
.scorecard, .callout { background: var(--accent-soft); border: 1px solid #c9d9e2; border-radius: var(--radius); padding: 26px; }
.scorecard dl { margin: 0; }
.scorecard dl div { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(23,63,95,.16); }
.scorecard dl div:last-child { border-bottom: 0; }
.scorecard dt { color: var(--muted); }
.scorecard dd { margin: 0; font-weight: 800; text-align: right; }
.cards { display: grid; gap: 18px; margin: 24px 0; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.highlight { display: grid; grid-template-columns: 1.4fr .6fr; gap: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding-left: 36px; padding-right: 36px; }
.two-col, .pros-cons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.key-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.key-points div { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.key-points strong, .key-points span { display: block; }
.key-points span { color: var(--muted); margin-top: 5px; }
.trust blockquote { margin: 28px 0; padding: 22px 26px; border-left: 4px solid var(--warm); background: var(--paper); }
.pros-cons article { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.pros-cons li { margin-bottom: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin: 12px 0; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 800; }
.sources { border-top: 1px solid var(--line); }
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); padding: 34px 0 48px; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; }
.footer-grid nav { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
@media (max-width: 860px) {
  .site-header { position: static; }
  .header-inner, .footer-grid { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .hero, .verdict-grid, .split, .highlight, .two-col, .pros-cons { grid-template-columns: 1fr; }
  .cards.three, .cards.two, .key-points { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; }
  .highlight { padding-left: 24px; padding-right: 24px; }
}
/* === БРОНЕБОЙНЫЙ ФИКС ШИРИНЫ ДЛЯ МОБИЛОК === */
html, body { 
    max-width: 100vw !important; 
    overflow-x: hidden !important; 
}

@media (max-width: 768px) {
    /* 1. Снимаем все жесткие ограничения по ширине */
    * {
        max-width: 100vw !important;
        min-width: 0 !important; /* Главный секрет: разрешаем блокам сжиматься! */
        box-sizing: border-box !important;
    }
    
    /* 2. Заставляем все обертки занимать ровно 100% экрана, а не больше */
    body, #page, .site, main, article, section, .content-main, .article-wrapper {
        width: 100% !important;
    }

    /* 3. Добавляем аккуратные отступы, чтобы текст не лип к рамке телефона */
    main {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* 4. Жесткий перенос любых длинных слов, чтобы они не распирали блоки */
    p, h1, h2, h3, h4, h5, h6, a, span, li, b, strong {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        white-space: normal !important;
    }
}
/* ========================================== */

.site-header { background-color: #ffffff !important; border-bottom: 1px solid rgba(0,0,0,0.06) !important; box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important; position: sticky; top: 0; z-index: 100; }
.top-navigation-bar { width: 100%; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; }
.site-logo { min-width: 180px; margin: 0; }
.site-logo img { max-height: 50px !important; max-width: none !important; width: auto !important; display: block; transition: transform 0.2s ease; }
.site-logo img:hover { transform: scale(1.02); }

/* Force Burger Menu on all devices, hide old nav completely and hide broken showcase */
.site-nav--desktop, #mobile-menu, .mobile-menu, .mobile-menu-overlay, .mobile-menu__close, .child-pages-showcase { display: none !important; }
.burger { display: flex; flex-direction: column; gap: 6px; background: transparent; border: none; cursor: pointer; padding: 5px; z-index: 1000; margin-left: auto; margin-right: 100px; }
@media (max-width: 768px) { .burger { margin-right: 10px !important; } }
.burger span { display: block; width: 28px; height: 3px; background-color: var(--color-text, #111827) !important; border-radius: 2px; }

/* Accordion Sidebar */
.cam-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 999998; opacity: 0; visibility: hidden; transition: opacity 0.3s; }
.cam-overlay.is-active { opacity: 1; visibility: visible; }
.cam-sidebar { position: fixed; top: 0; right: -100%; width: 100%; max-width: 450px; height: 100vh; background: #fff; z-index: 999999; overflow-y: auto; transition: right 0.3s ease; box-shadow: -5px 0 25px rgba(0,0,0,0.1); }
.cam-sidebar.is-open { right: 0; }
.cam-header { display: flex; justify-content: space-between; align-items: center; padding: 25px 20px; border-bottom: 1px solid #f0f0f0; }
.cam-header-title { font-size: 22px; font-weight: 800; color: #111; }
.cam-close { background: none; border: none; font-size: 34px; line-height: 1; cursor: pointer; color: #666; }
.cam-nav { list-style: none; margin: 0; padding: 0; }
.cam-item { border-bottom: 1px solid #f0f0f0; }
.cam-item-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; cursor: pointer; transition: background 0.2s; }
.cam-item-header:hover { background: #f9f9f9; }
.cam-item-header a { font-size: 16px; font-weight: 700; color: #111; text-decoration: none; flex: 1; display: block; }
.cam-toggle { background: none; border: none; cursor: pointer; padding: 5px 10px; display: flex; align-items: center; justify-content: center; }
.cam-toggle svg { width: 14px; height: 8px; transition: transform 0.3s ease; }
.cam-toggle.is-open svg { transform: rotate(180deg); }
.cam-children { list-style: none; margin: 0; padding: 0; display: none; background: #fafafa; border-top: 1px solid #f0f0f0; }
.cam-children.is-open { display: block; }
.cam-child-item a { display: flex; padding: 15px 20px; text-decoration: none; color: #333; border-bottom: 1px solid #eee; gap: 15px; align-items: center; transition: background 0.2s; }
.cam-child-item a:hover { background: #f0f0f0; }
.cam-child-item img { width: 70px; height: 45px; object-fit: cover; border-radius: 6px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.cam-child-text strong { display: block; font-size: 14px; margin-bottom: 4px; color: #111; line-height: 1.3; }
.cam-child-text span { display: block; font-size: 13px; color: #666; line-height: 1.4; }

main > *:not([data-content="hero"]):not(.cl-header):not(header):not(.cl-hero), main article > *:not([data-content="hero"]):not(.cl-header):not(header):not(.cl-hero) { max-width: var(--content-max-width, 1180px) !important; margin-left: auto !important; margin-right: auto !important; padding-left: 20px !important; padding-right: 20px !important; box-sizing: border-box !important; }
main iframe, main article iframe { max-width: 100% !important; margin-left: auto !important; margin-right: auto !important; transform: none !important; width: 100% !important; }
main h1 { font-size: clamp(2rem, 4vw, 3.5rem) !important; font-weight: 800; margin-top: 30px; margin-bottom: 20px; line-height: 1.2; }
.cl-hero img, .content-article img, img.article-image, img.wp-post-image { max-width: 100%; width: 100%; height: auto !important; object-fit: cover; border-radius: 8px; display: block; margin: 0 auto; }
@media (max-width: 768px) {
    section table, table { display: block !important; width: 100% !important; max-width: 100vw !important; min-width: 0 !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; }
    table th, table td { min-width: 150px !important; word-wrap: break-word !important; }
}

/* ВОЗВРАТ СТИЛЕЙ КАРТЫ САЙТА */
.sitemap-main { max-width: 900px; margin: 0 auto; padding: 40px 24px; }
.sitemap-title { margin: 0 0 10px; text-align: center; font-size: 32px; font-weight: 800; }
.sitemap-subtitle { margin: 0 0 30px; text-align: center; opacity: 0.75; font-size: 16px; }
.sitemap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.sitemap-link { display: block; padding: 14px 18px; border: 1px solid rgba(0,0,0,0.1); border-radius: 8px; text-decoration: none; color: #111; font-weight: 600; transition: all 0.2s ease; background: #fff; }
.sitemap-link:hover { border-color: rgba(0,0,0,0.3); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

/* ВОЗВРАТ СТИЛЕЙ ФУТЕРА */
.site-footer { padding: 40px 20px; background: #f8f9fa; border-top: 1px solid #eaeaea; margin-top: 60px; text-align: center; }
.footer-menu-list { list-style: none !important; padding: 0 !important; margin: 0 auto 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.footer-menu-list li { margin: 0; padding: 0; }
.footer-menu-list a { text-decoration: none; color: #555; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.footer-menu-list a:hover { color: #000; text-decoration: underline; }
/* ================================================= */
/* КАСТОМНАЯ СЕТКА ДОЧЕРНИХ СТРАНИЦ (MD-GRID) */
/* ================================================= */
.md-child-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    max-width: 1100px !important;
    margin: 40px auto !important;
    padding: 0 20px !important;
}

@media (max-width: 768px) {
    .md-child-grid { grid-template-columns: 1fr !important; }
}

.md-child-card {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    text-decoration: none !important;
    overflow: hidden !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
}

.md-child-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12) !important;
}

.md-child-card-img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    background: #f0f0f0 !important;
}

.md-child-card-content {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.md-child-card-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.3 !important;
}

.md-child-card-excerpt {
    font-size: 14px !important;
    color: #4B5563 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}