/*!
Theme Name: Zakra
Author: the zakra team
Version: 6.5.2
*/
/* Step 6 Generated Site */
:root {
  --bg-dark: #ffffff;
  --bg-dark-2: #f7f7f8;
  --bg-card-dark: #ffffff;
  --border-dark: #e5e7eb;
  --accent: #06b6d4;
  --accent-hover: #0891b2;
  --accent-light: #cffafe;
  --accent-text: #155e75;
  --on-accent: #0d1117;
  --text-white: #1a1a1a;
  --text-muted: #6b7280;
  --text-dark: #0d1117;
  --text-body: #374151;
  --bg-light: #ffffff;
  --bg-section: #f6f8fa;
  --bg-card: #f8fafc;
  --border: #d0d7de;
  --border-light: #d0d7de;
  --shadow: 0 1px 4px rgba(0,0,0,0.14), 0 8px 24px rgba(0,0,0,0.1);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.09);
  --radius-btn: 14px;
  --radius-card: 16px;
  --radius-badge: 12px;
  --radius-toc: 16px;
  --size-hero-pad: 52px 0 42px;
  --size-card-pad: 20px;
  --size-section-gap: 26px;
  --size-h2-size: 25px;
  --size-body: 16px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; background: var(--bg-light); color: var(--text-body); line-height: 1.8; }
a { color: inherit; text-decoration: none; }

/* Header */
header { position: sticky; top: 0; z-index: 100; background: var(--bg-dark); padding: 0 20px; }
header .ct-header-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 60px; }
header.ct-scrolled { backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--border-dark); }
.ct-logo { font-size: 20px; font-weight: 700; color: var(--text-white); display: inline-flex; align-items: center; }
.ct-logo-img { height: 44px; width: auto; max-width: 200px; object-fit: contain; display: block; }
/* Э8: блок перелинковки (Related Reviews) */
.related-reviews { max-width: 900px; margin: 40px auto; padding: 24px 20px; border-top: 1px solid var(--border-light); }
.related-title { font-size: 22px; font-weight: 800; color: var(--text-dark); margin: 0 0 16px; }
.related-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.related-item a { display: block; padding: 12px 16px; border: 1px solid var(--border-light); border-radius: var(--radius-card); color: var(--text-dark); text-decoration: none; font-weight: 600; font-size: 15px; transition: border-color .ct-2s, background .ct-2s; }
.related-item a:hover { border-color: var(--accent); background: var(--bg-light); }
.ct-logo span { color: var(--accent); }
nav { display: flex; gap: 28px; align-items: center; }
nav a { color: var(--text-muted); font-size: 14px; font-weight: 500; will-change: opacity; transition: opacity 0.ct-2s; }
nav a:hover { color: var(--text-white); }
.ct-burger { display: none; background: none; border: none; color: var(--text-white); font-size: 22px; cursor: pointer; }

/* Многоуровневое верхнее меню (Олег 2026-06-21, nav-menu) */
nav .ct-nav-menu { list-style:none; margin:0; padding:0; display:flex; gap:6px; align-items:center; }
nav .ct-nav-menu > li { position:relative; }
nav .ct-nav-menu > li > a, nav .ct-nav-menu > li > .ct-nav-label {
  display:inline-flex; align-items:center; gap:4px; padding:8px 12px; border-radius: var(--radius-card);
  color:var(--text-muted); font-size:14px; font-weight:600; cursor:pointer; white-space:nowrap;
  transition:color .ct-15s, background .ct-15s; }
nav .ct-nav-menu > li > a:hover, nav .ct-nav-menu > li:hover > .ct-nav-label,
nav .ct-nav-menu > li:hover > a { color:var(--text-white); background:rgba(255,255,255,.06); }
.ct-nav-caret { font-size:11px; opacity:.6; transform:rotate(90deg); display:inline-block; }
.ct-nav-sub .ct-nav-caret { transform:none; margin-left:auto; padding-left:8px; }
nav .ct-nav-sub { list-style:none; margin:0; padding:6px; position:absolute; top:100%; left:0;
  min-width:230px; background:var(--bg-dark,#16181d); border:1px solid var(--border-dark,rgba(255,255,255,.12));
  border-radius:10px; box-shadow:0 10px 28px rgba(0,0,0,.45); display:none; z-index:200; }
nav .ct-nav-sub .ct-nav-sub { z-index:210; }
nav .ct-nav-has-sub:hover > .ct-nav-sub { display:block; }
nav .ct-nav-sub li { position:relative; }
nav .ct-nav-sub li > a, nav .ct-nav-sub li > .ct-nav-label {
  display:flex; align-items:center; padding:8px 12px; border-radius: var(--radius-btn); color:var(--text-muted);
  font-size:14px; font-weight:500; white-space:nowrap; transition:color .ct-15s, background .ct-15s; }
nav .ct-nav-sub li > .ct-nav-label { font-weight:700; color:var(--text-white); opacity:.85; cursor:default; }
nav .ct-nav-sub li > a:hover { color:var(--text-white); background:var(--accent,#6c5ce7); }
/* Flyout 2-го уровня — ВЛЕВО, примыкает вплотную к родительской панели. */
nav .ct-nav-sub .ct-nav-sub { top:-7px; right:calc(100% + 6px); left:auto; }
nav .ct-nav-sub .ct-nav-caret { transform:rotate(180deg); }
nav .ct-nav-sub .ct-nav-has-sub:hover > .ct-nav-sub { display:block; }
/* анти-обрезка: самый правый топ-пункт раскрывает dropdown 1-го уровня влево. */
nav .ct-nav-menu > li:last-child > .ct-nav-sub { left:auto; right:0; }
@media (max-width:860px) {
  nav .ct-nav-menu { flex-direction:column; align-items:stretch; gap:2px; width:100%; }
  nav .ct-nav-menu > li > a, nav .ct-nav-menu > li > .ct-nav-label { padding:12px 14px; }
  nav .ct-nav-sub { position:static; display:block; min-width:0; box-shadow:none; border:none;
    background:transparent; padding:0 0 0 16px; }
  .ct-nav-caret { display:none; }
  nav .ct-nav-sub .ct-nav-sub { left:0; }
}

/* Hero */
.ct-hero { background: var(--bg-dark); color: var(--text-white); padding: 40px 20px 24px; contain: layout; }
.ct-hero-inner { max-width: 900px; margin: 0 auto; }
/* Byline (автор + дата под H1, Олег 2026-06-20 по референсу): лёгкий author-box */
.ct-byline { display: inline-flex; align-items: center; gap: 12px; margin: 18px 0 24px; padding: 10px 16px 10px 10px; background: var(--bg-card-dark); border: 1px solid var(--border-dark); border-radius: 10px; }
.ct-byline .ct-avatar-sm, .ct-byline .ct-avatar-md, .ct-byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ct-byline-meta { display: flex; flex-direction: column; gap: 3px; }
.ct-byline-row { font-size: 14px; line-height: 1.3; }
.ct-byline-lbl { font-weight: 700; color: var(--text-white); }
.ct-byline-author { color: var(--accent); font-weight: 600; text-decoration: underline; }
.ct-byline-date { color: var(--accent); font-weight: 600; }
.ct-hero h1 { font-size: 42px; font-weight: 900; line-height: 1.1; max-width: 700px; margin-bottom: 20px; }
.ct-hero-sub { font-size: 18px; color: var(--text-muted); line-height: 1.7; max-width: 620px; margin: 0 auto 32px; text-align: center; }
.ct-hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 32px; }
.ct-stat-card { border: 1px solid var(--border-dark); border-radius: 10px; padding: 16px 20px; background: rgba(255,255,255,0.04); }
.ct-stat-num { font-size: 28px; font-weight: 800; color: var(--text-white); }
.ct-stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }
.ct-cta-btn { display: inline-block; background: var(--accent); will-change: transform, opacity; color: white; font-weight: 600; font-size: 15px; padding: 13px 28px; border-radius: var(--radius-btn); border: none; cursor: pointer; transition: all 0.ct-2s; box-shadow: 0 4px 12px rgba(34,197,94,0.35); margin-bottom: 24px; }
.ct-cta-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
/* hero-rating со звёздами убран (Олег 2026-06-20: рейтинга-звёзд не должно быть) */
.ct-author-badge { display: inline-flex; align-items: center; gap: 12px; background: var(--bg-card-dark); border: 1px solid var(--border-dark); border-radius: 50px; padding: 8px 16px 8px 8px; text-decoration: none; transition: opacity .ct-15s; }
.ct-author-badge:hover { border-color: var(--accent); }
.ct-avatar-sm { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: white; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.ct-author-badge .ct-author-name { font-weight: 600; font-size: 14px; color: var(--text-white); }
.ct-author-badge .ct-author-title { font-size: 12px; color: var(--text-muted); }

/* Content */
.ct-content-wrap { max-width: 900px; margin: 0 auto; padding: 0 20px 80px; }
.ct-content-section { padding-top: 56px; border-top: 1px solid var(--border-light); margin-top: 48px; }
.ct-content-section:first-child { border-top: none; margin-top: 0; }
.ct-content-section h2 { font-size: 28px; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; }
.ct-section-img { width: 100%; height: 340px; object-fit: cover; border-radius: 10px; margin-bottom: 24px; display: block; }
.ct-content-section p { font-size: 17px; line-height: 1.8; color: var(--text-body); margin-bottom: 16px; }
.ct-content-section h3 { font-size: 20px; font-weight: 600; color: var(--text-dark); margin: 28px 0 12px; }

/* Tables */
.ct-table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--border-light); margin-bottom: 24px; }
.ct-table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ct-table-wrap thead tr { background: var(--bg-dark); color: var(--text-white); }
.ct-table-wrap thead th { padding: 12px 16px; font-weight: 600; text-align: left; }
.ct-table-wrap tbody tr:nth-child(even) { background: var(--bg-section); }
.ct-table-wrap tbody tr:hover { background: #e8f4fd; }
.ct-table-wrap tbody td { padding: 11px 16px; border-bottom: 1px solid var(--border-light); }
.ct-table-wrap tbody td:first-child { font-weight: 600; }

/* Lists */
.ct-content-section ul, .ct-content-section ol { padding-left: 0; list-style: none; margin-bottom: 20px; }
.ct-content-section ul li, .ct-content-section ol li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 16px; line-height: 1.6; }
/* Олег 2026-06-20 (п.12): SVG-галочка вместо эмодзи/символа ✓ */
.ct-content-section ul li::before { content: ""; width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; background-color: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.ct-5 8.ct-5l3 3 6-7'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.ct-5 8.ct-5l3 3 6-7'/%3E%3C/svg%3E") center/contain no-repeat; }
/* Li с strong-термином: карточный стиль */
.ct-content-section ul li.glossary-term { display: block; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.ct-content-section ul li.glossary-term::before { display: none; }
.ct-content-section ul li.glossary-term .glossary-term-name { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--text-dark); margin-bottom: 4px; }
.ct-content-section ul li.glossary-term .glossary-term-name::before { content: ""; display: inline-block; width: 14px; height: 14px; background-color: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.ct-5 8.ct-5l3 3 6-7'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.ct-5 8.ct-5l3 3 6-7'/%3E%3C/svg%3E") center/contain no-repeat; }
.ct-content-section ul li.glossary-term .glossary-term-desc { font-size: 15px; color: var(--text-body); line-height: 1.6; }
/* Pros/Cons блок (generic) */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.proscons-pros, .proscons-cons { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; }
.proscons-pros { border-left: 3px solid #22c55e; } .proscons-cons { border-left: 3px solid #ef4444; }
.proscons-title { font-size: 15px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .4px; }
.proscons-pros .proscons-title { color: #16a34a; } .proscons-cons .proscons-title { color: #dc2626; }
.proscons-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 900; flex-shrink: 0; }
.proscons-pros .proscons-icon { background: #dcfce7; color: #16a34a; } .proscons-cons .proscons-icon { background: #fee2e2; color: #dc2626; }
.proscons ul { margin: 0; padding: 0; list-style: none; }
.proscons li { position: relative; margin: 0 0 9px; padding-left: 22px; font-size: 14px; line-height: 1.55; color: var(--text-body); }
.proscons li::before { display: none; }
.proscons li::after { position: absolute; left: 0; top: 0; font-weight: 900; font-size: 13px; }
.proscons-pros li::after { content: "\2714"; color: #16a34a; } .proscons-cons li::after { content: "\2716"; color: #dc2626; }
@media (max-width: 680px) { .proscons { grid-template-columns: 1fr; } }
/* Платёжные плашки (generic) — монограмма-чип */
.payment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin: 22px 0; }
.payment-method { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; align-items: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; transition: border-color .ct-15s, transform .ct-15s; }
.payment-method:hover { border-color: var(--accent); transform: translateY(-2px); }
.payment-method-logo { grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 33px; border-radius: var(--radius-btn); overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.payment-method-logo svg { width: 100%; height: 100%; display: block; }
.payment-method-name { font-size: 14.5px; font-weight: 800; color: var(--text-dark); }
.payment-method-desc { grid-column: 2; font-size: 12.5px; color: var(--text-body); line-height: 1.ct-5; }
@media (max-width: 520px) { .payment-grid { grid-template-columns: 1fr 1fr; } .payment-method-logo { width: 46px; height: 29px; } }
/* Info-карточки (generic) */
.info-list { display: flex; flex-direction: column; gap: 10px; margin: 22px 0; }
.info-list-item { background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 10px; padding: 14px 16px 14px 18px; }
.info-list-label { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 5px; }
.info-list-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.info-list-desc { font-size: 14px; color: var(--text-body); line-height: 1.6; }
.ct-content-section ol { counter-reset: ol-counter; }
.ct-content-section ol li { counter-increment: ol-counter; }
.ct-content-section ol li::before { content: counter(ol-counter); background: var(--accent); color: white; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }

/* FAQ */
.ct-faq-item { margin-bottom: 12px; }
.ct-faq-question { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--bg-section); border-radius: var(--radius-card); cursor: pointer; font-weight: 600; font-size: 16px; border-left: 3px solid var(--accent); border: 1px solid var(--border-light); border-left: 3px solid var(--accent); }
.ct-faq-icon { color: var(--accent); transition: transform 0.ct-2s; }
.ct-faq-answer { padding: 0 20px 16px; border-left: 3px solid var(--accent); margin-top: -4px; background: var(--bg-section); border-radius: 0 0 8px 8px; display: none; }
.ct-faq-item.ct-open .ct-faq-answer { display: block; }
.ct-faq-item.ct-open .ct-faq-icon { transform: rotate(180deg); }

/* Author box */
.ct-author-box { background: var(--accent-light); border-left: 4px solid var(--accent); border-radius: 10px; padding: 24px; margin: 48px 0; }
.ct-author-box-inner { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.ct-avatar-lg { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: white; font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ct-author-box .ct-author-name { font-weight: 700; font-size: 17px; color: var(--text-dark); }
.ct-author-box .ct-author-role { font-size: 13px; color: var(--text-muted); }
.ct-author-box p { font-size: 15px; color: var(--text-body); margin-bottom: 12px; }
.ct-author-expertise { list-style: none; padding: 0; margin-bottom: 16px; }
.ct-author-expertise li { font-size: 14px; color: var(--accent-text); padding: 3px 0; }
.ct-author-expertise li::before { content: ""; display:inline-block; width:13px; height:13px; margin-right:6px; background-color: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.ct-5 8.ct-5l3 3 6-7'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.ct-5 8.ct-5l3 3 6-7'/%3E%3C/svg%3E") center/contain no-repeat; }
.ct-author-box a { color: var(--accent); font-weight: 600; font-size: 14px; }

/* Reviewers */
.ct-reviewers { max-width: 900px; margin: 0 auto; padding: 48px 20px; }
.ct-reviewers h2 { font-size: 22px; font-weight: 700; margin-bottom: 24px; color: var(--text-dark); }
.ct-reviewers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ct-reviewer-card { background: white; border: 1px solid var(--border-light); border-radius: 10px; padding: 20px; box-shadow: var(--shadow-card); }
.ct-reviewer-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.ct-avatar-md { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-dark); color: white; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.ct-reviewer-name { font-weight: 700; font-size: 15px; }
.ct-reviewer-role { font-size: 13px; color: var(--text-muted); }
.ct-reviewer-stars { color: #f59e0b; margin-bottom: 4px; }
.ct-reviewer-date { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.ct-reviewer-quote { font-style: italic; font-size: 14px; color: var(--text-body); line-height: 1.6; border-left: 2px solid var(--accent-light); padding-left: 12px; }

/* Footer */
footer { background: var(--bg-dark); color: var(--text-muted); padding: 40px 20px 24px; }
.ct-footer-inner { max-width: 1100px; margin: 0 auto; }
.ct-footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
/* Редизайн футера (Олег 2026-06-21): логотип ПО ЦЕНТРУ, колонки центрированы */
.ct-footer-top-center { justify-content: center; padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--border-dark); }
.ct-footer-logo-c { display: inline-flex; }
.ct-footer-logo-c img { max-height: 38px; width: auto; }
.ct-footer-links-section { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; text-align: center; margin-bottom: 28px; }
.ct-footer-links-col { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ct-footer-rg-badges { justify-content: center; }
.ct-footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.ct-footer-nav a { color: var(--text-muted); font-size: 13px; transition: opacity 0.ct-2s; }
.ct-footer-nav a:hover { color: var(--text-white); }
.ct-footer-links-section { display: flex; gap: 40px; flex-wrap: wrap; border-top: 1px solid var(--border-dark); padding-top: 20px; margin-bottom: 20px; }
.ct-footer-links-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #64748b; margin-bottom: 10px; }
.ct-footer-links-col a { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; transition: opacity .ct-2s; }
.ct-footer-links-col a:hover { color: var(--text-white); }
.ct-footer-rg-badges { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.ct-footer-rg-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.05); border: 1px solid var(--border-dark); border-radius: var(--radius-btn); padding: 5px 10px; font-size: 11px; color: var(--text-muted); text-decoration: none; transition: opacity .ct-15s; }
.ct-footer-rg-badge:hover { border-color: #64748b; color: var(--text-white); }
.ct-footer-rg-badge .ct-rg-icon { font-size: 14px; }
.ct-footer-age { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: #ef4444; border-radius: 50%; font-size: 10px; font-weight: 800; color: #fff; flex-shrink: 0; }
.ct-footer-bottom { border-top: 1px solid var(--border-dark); padding-top: 16px; text-align: center; }
.ct-footer-copy { font-size: 12px; margin-bottom: 6px; }
.ct-footer-disclaimer { font-size: 11px; max-width: 700px; margin: 0 auto; line-height: 1.6; color: #475569; }

/* Author page */
.ct-author-hero { background: var(--bg-dark); color: var(--text-white); padding: 64px 20px; text-align: center; }
.ct-avatar-xl { width: 96px; height: 96px; border-radius: 50%; background: var(--accent); color: white; font-size: 36px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.ct-author-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.ct-author-hero .ct-role { font-size: 18px; color: var(--text-muted); margin-bottom: 16px; }
.ct-author-hero .ct-bio { font-size: 16px; color: var(--text-muted); max-width: 560px; margin: 0 auto 32px; line-height: 1.7; }
.ct-author-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 600px; margin: 0 auto; }
.ct-expertise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 900px; margin: 48px auto; padding: 0 20px; }
.ct-expertise-card { background: white; border: 1px solid var(--border-light); border-radius: 10px; padding: 20px; }
.ct-expertise-icon { font-size: 32px; margin-bottom: 10px; }
.ct-expertise-title { font-weight: 700; font-size: 16px; color: var(--text-dark); margin-bottom: 6px; }
.ct-expertise-desc { font-size: 14px; color: var(--text-muted); line-height: 1.ct-5; }
.ct-methodology { background: var(--bg-section); padding: 48px 20px; }
.ct-methodology-inner { max-width: 900px; margin: 0 auto; }
.ct-methodology h2 { font-size: 24px; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; }
.ct-methodology p { font-size: 16px; color: var(--text-body); line-height: 1.8; margin-bottom: 16px; }
.ct-recent-articles { max-width: 900px; margin: 0 auto; padding: 48px 20px; }
.ct-recent-articles h2 { font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 24px; }
.ct-articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ct-article-card { background: white; border: 1px solid var(--border-light); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-card); }
.ct-article-img { width: 100%; height: 140px; object-fit: cover; }
.ct-article-body { padding: 16px; }
.ct-article-title { font-weight: 600; font-size: 15px; color: var(--text-dark); margin-bottom: 8px; line-height: 1.4; }
.ct-article-date { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.ct-article-link { color: var(--accent); font-size: 13px; font-weight: 600; }

/* TOC */
.ct-toc-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; max-width: 860px; margin: 0 auto 16px; overflow: hidden; contain: layout; min-height: 54px; }
.ct-toc-toggle { width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: none; border: none; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--text-dark); text-align: left; }
.ct-toc-toggle:hover { background: rgba(0,0,0,.03); }
.ct-toc-toggle-icon { font-size: 16px; color: var(--accent); }
.ct-toc-arrow { margin-left: auto; font-size: 12px; color: var(--text-muted); transition: transform .25s; }
.ct-toc-block.ct-open .ct-toc-arrow { transform: rotate(180deg); }
.ct-toc-list { display: none; padding: 0 20px 16px; border-top: 1px solid var(--border); }
.ct-toc-block.ct-open .ct-toc-list { display: block; }
.ct-toc-link { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: 14px; color: var(--text-body); border-bottom: 1px solid var(--border); transition: opacity .ct-2s; }
.ct-toc-link:last-child { border-bottom: none; }
.ct-toc-link:hover { color: var(--accent); }
.ct-toc-num { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Responsive */
@media (max-width: 768px) {
  /* МОБИЛЬНОЕ МЕНЮ (Олег 2026-06-21): бургер справа + панель выезжает СПРАВА. */
  .ct-burger, [class*="burger"] { display: block !important; margin-left: auto; font-size: 30px; }
  .ct-logo-img, [class*="logo"] img { height: 60px !important; max-width: 240px; }
  nav { display: none; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: 78%; max-width: 320px; background: var(--bg-dark); padding: 72px 20px 24px; z-index: 999; box-shadow: -8px 0 32px rgba(0,0,0,.ct-5); overflow-y: auto; }
  nav.ct-open, nav[class*="open"] { display: flex; }
  nav .ct-nav-menu, nav [class*="nav-menu"] { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  nav .ct-nav-menu > li > a, nav .ct-nav-menu > li > .ct-nav-label,
  nav [class*="nav-menu"] > li > a, nav [class*="nav-menu"] > li > [class*="nav-label"] { font-size: 16px; padding: 13px 14px; }
  .ct-hero { padding: 24px 16px 16px; }
  .ct-hero h1 { font-size: 26px; font-weight: 900; line-height: 1.15; max-width: 100%; margin-bottom: 12px; letter-spacing: -0.3px; contain: layout; }
  .ct-hero-sub { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
  .ct-hero-rating { font-size: 13px; margin-bottom: 16px; }
  .ct-author-badge { padding: 6px 12px; }
  .ct-cta-btn { font-size: 15px; padding: 12px 20px; }
  .ct-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .ct-reviewers-grid { grid-template-columns: 1fr; }
  .ct-expertise-grid { grid-template-columns: 1fr; }
  .ct-articles-grid { grid-template-columns: 1fr; }
  .ct-author-stats { grid-template-columns: 1fr; }
  .ct-footer-top { flex-direction: column; }
}
@media (max-width: 480px) {
  .ct-hero h1 { font-size: 26px; font-weight: 900; line-height: 1.2; }
}
