/*
Theme Name: AITools Guide v3
Theme URI: https://freewww.su
Author: AI Editorial Team
Description: Тема для сайта об ИИ-инструментах. Тёмная шапка, светлый контент, адаптивная вёрстка.
Version: 1.0
License: GNU General Public License v2
Text Domain: aitools-guide
*/

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f4f4f8; color: #1a1a2e; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --dark: #0f0f1a;
  --dark2: #1a1a2e;
  --accent: #7c6fff;
  --accent2: #43e97b;
  --text: #1a1a2e;
  --muted: #6b6b9a;
  --border: #e8e8f0;
  --card-bg: #ffffff;
  --page-bg: #f4f4f8;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  background: var(--dark);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 20px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; font-weight: 700; }
.site-logo .accent { color: var(--accent); }
.site-logo .logo-icon { font-size: 22px; }
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  color: #9090b0; font-size: 13px; padding: 6px 12px;
  border-radius: 6px; transition: all .15s;
}
.main-nav a:hover, .main-nav a.current { color: #fff; background: rgba(255,255,255,.08); }
.header-search { display: flex; align-items: center; gap: 8px; }
.search-input {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: #fff; padding: 6px 12px; border-radius: 20px; font-size: 12px; width: 160px;
}
.search-input::placeholder { color: #6060a0; }
.search-input:focus { outline: none; border-color: var(--accent); }
.burger { display: none; flex-direction: column; gap: 4px; cursor: pointer; padding: 8px; }
.burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }

/* ── Hero ────────────────────────────────────────────────────── */
.site-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1a0a3a 50%, #0a1a3a 100%);
  padding: 48px 20px 40px; text-align: center;
}
.hero-tag {
  display: inline-block; background: rgba(124,111,255,.2); color: var(--accent);
  font-size: 11px; font-weight: 600; padding: 4px 14px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px;
}
.hero-title { color: #fff; font-size: 32px; font-weight: 800; line-height: 1.25; margin-bottom: 14px; }
.hero-title .accent { color: var(--accent); }
.hero-sub { color: #8080a0; font-size: 15px; max-width: 520px; margin: 0 auto 24px; }
.hero-stats {
  display: flex; justify-content: center; gap: 32px;
  flex-wrap: wrap;
}
.hstat { text-align: center; }
.hstat-v { color: #fff; font-size: 24px; font-weight: 800; }
.hstat-l { color: #6060a0; font-size: 11px; margin-top: 2px; }

/* ── Layout ──────────────────────────────────────────────────── */
.site-main { max-width: 1200px; margin: 0 auto; padding: 32px 20px; display: grid; grid-template-columns: 1fr 300px; gap: 28px; }
.content-area { min-width: 0; }
.sidebar { min-width: 0; }

/* ── Section title ───────────────────────────────────────────── */
.section-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted);
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

/* ── Article cards ───────────────────────────────────────────── */
.posts-grid { display: flex; flex-direction: column; gap: 14px; }
.post-card {
  background: var(--card-bg); border: 0.5px solid var(--border);
  border-radius: 12px; padding: 20px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: block;
}
.post-card:hover {
  border-color: var(--accent); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,111,255,.1);
}
.post-card.featured { background: var(--dark); border-color: rgba(124,111,255,.3); }
.post-card.featured .post-title { color: #fff; }
.post-card.featured .post-excerpt { color: #7070a0; }
.post-card.featured .post-meta { color: #5050a0; }
.featured-label {
  display: inline-block; background: rgba(124,111,255,.2); color: #9090d0;
  font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 6px;
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em;
}
.post-cat {
  display: inline-block; font-size: 10px; font-weight: 600; padding: 3px 9px;
  border-radius: 6px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px;
}
.cat-review { background: #eeedfe; color: #534ab7; }
.cat-guide { background: #e1f5ee; color: #0f6e56; }
.cat-top { background: #faeeda; color: #854f0b; }
.cat-compare { background: #fbeaf0; color: #993556; }
.cat-news { background: #e6f1fb; color: #185fa5; }
.post-title { font-size: 16px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; color: var(--text); }
.post-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--muted); }
.post-read-more {
  margin-left: auto; background: #f0f0fa; color: var(--accent);
  padding: 4px 12px; border-radius: 12px; font-size: 11px; font-weight: 600;
}
.post-card:hover .post-read-more { background: var(--accent); color: #fff; }
.post-card.featured:hover .post-read-more { background: var(--accent); color: #fff; }

/* Одиночная статья */
.entry-header { margin-bottom: 28px; }
.entry-title { font-size: 28px; font-weight: 800; line-height: 1.3; margin-bottom: 12px; color: var(--text); }
.entry-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.entry-content { font-size: 15px; line-height: 1.8; color: var(--text); }
.entry-content h2 { font-size: 20px; font-weight: 700; margin: 28px 0 12px; color: var(--text); }
.entry-content h3 { font-size: 17px; font-weight: 700; margin: 20px 0 10px; }
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { padding-left: 20px; margin-bottom: 16px; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 6px; }
.entry-content strong { font-weight: 700; }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content blockquote {
  border-left: 3px solid var(--accent); padding: 12px 20px;
  background: #f8f8ff; border-radius: 0 8px 8px 0; margin: 20px 0;
  font-style: italic; color: var(--muted);
}

/* ── Sidebar ──────────────────────────────────────────────────── */
.sidebar-widget {
  background: var(--card-bg); border: 0.5px solid var(--border);
  border-radius: 12px; padding: 18px; margin-bottom: 20px;
}
.widget-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted);
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-link {
  background: #f0f0fa; color: var(--accent);
  font-size: 11px; padding: 4px 11px; border-radius: 14px;
  transition: all .15s;
}
.tag-link:hover { background: var(--accent); color: #fff; }
.popular-list { display: flex; flex-direction: column; }
.popular-item { display: flex; gap: 10px; padding: 9px 0; border-bottom: 0.5px solid var(--border); }
.popular-item:last-child { border-bottom: none; }
.pop-num { font-size: 20px; font-weight: 800; color: #e8e8f0; min-width: 22px; line-height: 1; }
.pop-title { font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 2px; }
.pop-views { font-size: 10px; color: var(--muted); }

/* ── РЕКЛАМА FREE_WWW ────────────────────────────────────────── */
.ad-freewww {
  background: linear-gradient(135deg, #0a0a1a 0%, #1a0a3a 50%, #0a1a3a 100%);
  border: 1px solid rgba(124,111,255,.35);
  border-radius: 14px; padding: 20px; margin-bottom: 20px;
  position: relative; overflow: hidden;
}
.ad-freewww::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 130px; height: 130px;
  background: radial-gradient(circle, rgba(124,111,255,.25) 0%, transparent 70%);
  pointer-events: none;
}
.ad-freewww::after {
  content: ''; position: absolute; bottom: -30px; left: -30px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(67,233,123,.18) 0%, transparent 70%);
  pointer-events: none;
}
.ad-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ad-logo { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .02em; }
.ad-logo .ap { color: #7c6fff; }
.ad-status {
  background: rgba(67,233,123,.12); border: 1px solid rgba(67,233,123,.25);
  color: #43e97b; font-size: 9px; font-weight: 600; padding: 3px 8px;
  border-radius: 20px; text-transform: uppercase; letter-spacing: .06em;
  display: flex; align-items: center; gap: 4px;
}
.ad-status::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: #43e97b; animation: adpulse 2s infinite;
}
@keyframes adpulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.ad-headline { color: #fff; font-size: 15px; font-weight: 800; line-height: 1.35; margin-bottom: 7px; }
.ad-headline .ah { color: #7c6fff; }
.ad-sub { color: #7070a0; font-size: 11px; line-height: 1.55; margin-bottom: 14px; }
.ad-features { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.ad-feat { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #b0b0c8; }
.feat-ic {
  width: 20px; height: 20px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0;
}
.ad-btn-main {
  display: block; text-align: center;
  background: linear-gradient(135deg, #7c6fff, #5a4adf);
  color: #fff; padding: 10px 16px; border-radius: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  margin-bottom: 8px; transition: opacity .15s;
}
.ad-btn-main:hover { opacity: .88; }
.ad-btn-tg {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: rgba(41,182,246,.1); border: 1px solid rgba(41,182,246,.25);
  color: #29b6f6; padding: 9px 16px; border-radius: 9px;
  font-size: 11px; font-weight: 600; transition: all .15s;
}
.ad-btn-tg:hover { background: rgba(41,182,246,.2); }
.ad-globe { position: absolute; top: 10px; right: 10px; font-size: 52px; opacity: .05; line-height: 1; pointer-events: none; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { background: var(--dark); margin-top: 48px; padding: 32px 20px 20px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.footer-logo { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.footer-desc { color: #5050a0; font-size: 12px; line-height: 1.7; }
.footer-heading { color: #fff; font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-links a { color: #5050a0; font-size: 12px; transition: color .15s; }
.footer-links a:hover { color: #9090d0; }
.footer-bottom {
  border-top: 1px solid #1e1e30; padding-top: 18px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-copy { color: #3a3a60; font-size: 11px; }
.footer-ai { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #3a3a60; }
.ai-pulse { width: 6px; height: 6px; border-radius: 50%; background: #43e97b; animation: adpulse 2s infinite; }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.page-numbers {
  display: flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px; border-radius: 8px;
  background: var(--card-bg); border: 0.5px solid var(--border);
  font-size: 13px; color: var(--text); transition: all .15s; white-space: nowrap;
}
.page-numbers.current, .page-numbers:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-main { grid-template-columns: 1fr; }
  .header-inner { padding: 0 16px; }
  .main-nav, .header-search { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--dark); padding: 12px 16px; gap: 4px; }
  .burger { display: flex; }
  .hero-title { font-size: 22px; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .entry-title { font-size: 20px; }
  .site-hero { padding: 32px 16px 28px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 19px; }
  .post-title { font-size: 15px; }
  .header-inner { height: 52px; }
}

/* ── Подписка ────────────────────────────────────────────────── */
.subscribe-widget {
  background: var(--dark);
  border: 1px solid rgba(124,111,255,.3);
  border-radius: 14px; padding: 20px; margin-bottom: 20px;
}
.sub-title { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.sub-desc { color: #6b6b9a; font-size: 11px; line-height: 1.6; margin-bottom: 14px; }
.sub-form { display: flex; flex-direction: column; gap: 8px; }
.sub-input {
  width: 100%; padding: 9px 12px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06); color: #fff;
  font-size: 12px; font-family: inherit;
}
.sub-input::placeholder { color: #5050a0; }
.sub-input:focus { outline: none; border-color: var(--accent); }
.sub-btn {
  width: 100%; padding: 9px; border-radius: 8px;
  background: linear-gradient(135deg, #7c6fff, #5a4adf);
  color: #fff; border: none; font-size: 12px;
  font-weight: 700; cursor: pointer; transition: opacity .15s;
}
.sub-btn:hover { opacity: .88; }
.sub-success {
  background: rgba(67,233,123,.1); border: 1px solid rgba(67,233,123,.2);
  color: #43e97b; padding: 10px; border-radius: 8px;
  font-size: 12px; text-align: center; display: none;
}

/* ── Политика — ссылки в подвале ────────────────────────────── */
.footer-legal {
  border-top: 1px solid #1a1a30; padding-top: 14px; margin-top: 14px;
  display: flex; gap: 16px; flex-wrap: wrap;
}
.footer-legal a { color: #3a3a60; font-size: 11px; transition: color .15s; }
.footer-legal a:hover { color: #7070a0; }

/* ── Фикс шрифта в сайдбаре ─────────────────────────────────── */
.sidebar .widget, .sidebar .widget_search,
.sidebar .widget_recent_entries, .sidebar .widget_recent_comments,
.sidebar .widget_archive, .sidebar .widget_categories {
  display: none !important;
}

/* ═══════════════════════════════════════════
   БЛОКИ СТАТЬИ v3
═══════════════════════════════════════════ */

/* Обложка статьи */
.entry-cover {
  background: linear-gradient(135deg, #0f0f1a 0%, #1a0a3a 50%, #0a1a3a 100%);
  min-height: 200px; display: flex; align-items: center; justify-content: center;
  padding: 32px 24px; text-align: center; margin-bottom: 24px;
  border-radius: 12px; position: relative; overflow: hidden;
}
.entry-cover img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .35;
}
.entry-cover-inner { position: relative; z-index: 1; }
.entry-cover-cat {
  display: inline-block; background: rgba(124,111,255,.2); color: #9090d0;
  font-size: 10px; font-weight: 600; padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px;
}
.entry-cover-title { color: #fff; font-size: 22px; font-weight: 800; line-height: 1.3; max-width: 600px; }

/* Мета + рейтинг */
.entry-meta-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 0.5px solid var(--border);
}
.entry-rating { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.entry-stars { color: #f9ca24; font-size: 14px; }
.entry-score { font-weight: 700; color: var(--text); font-size: 13px; }

/* Содержание */
.entry-toc {
  background: #f8f8ff; border: 0.5px solid #e0e0f4;
  border-radius: 10px; padding: 16px 18px; margin-bottom: 24px;
}
.entry-toc-title {
  font-size: 11px; font-weight: 700; color: #534ab7;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px;
}
.entry-toc ol { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; }
.entry-toc li { display: flex; align-items: center; gap: 8px; }
.entry-toc-num {
  width: 18px; height: 18px; background: #eeedfe; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #534ab7; flex-shrink: 0;
}
.entry-toc a { font-size: 12px; color: #534ab7; text-decoration: none; }
.entry-toc a:hover { text-decoration: underline; }

/* H2 с акцентом */
.entry-content h2 {
  font-size: 18px; font-weight: 700; margin: 28px 0 12px;
  padding-left: 12px; border-left: 3px solid var(--accent);
  color: var(--text);
}
.entry-content h3 { font-size: 15px; font-weight: 700; margin: 20px 0 8px; }

/* Таблица цен */
.price-table-wrap { overflow-x: auto; margin: 12px 0 20px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.price-table th {
  background: var(--dark); color: #fff; padding: 10px 14px;
  text-align: left; font-size: 11px; font-weight: 600;
}
.price-table td { padding: 9px 14px; border-bottom: 0.5px solid var(--border); color: var(--muted); }
.price-table tr:nth-child(even) td { background: #fafafa; }
.price-table tr.best td { background: #f0f0ff; font-weight: 700; color: var(--text); }
.price-table tr.best td:first-child::after { content: ' ⭐'; }

/* Плюсы/минусы */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 12px 0 20px; }
.pros-block { background: #f0fdf4; border: 0.5px solid #86efac; border-radius: 10px; padding: 14px; }
.cons-block { background: #fff1f2; border: 0.5px solid #fda4af; border-radius: 10px; padding: 14px; }
.pc-head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.pros-block .pc-head { color: #15803d; }
.cons-block .pc-head { color: #be123c; }
.pc-item { display: flex; align-items: flex-start; gap: 7px; font-size: 12px; color: var(--text); margin-bottom: 6px; line-height: 1.5; }
.pc-icon { width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pros-block .pc-icon { background: #86efac; color: #15803d; }
.cons-block .pc-icon { background: #fda4af; color: #be123c; }

/* Вердикт */
.verdict-block {
  background: linear-gradient(135deg, #0f0f1a, #1a0a3a);
  border-radius: 12px; padding: 20px; margin: 20px 0;
  display: flex; align-items: center; gap: 18px;
}
.verdict-score { text-align: center; flex-shrink: 0; }
.verdict-num { color: #fff; font-size: 32px; font-weight: 800; line-height: 1; }
.verdict-max { color: #4040a0; font-size: 12px; }
.verdict-stars { color: #f9ca24; font-size: 16px; margin-top: 4px; }
.verdict-text { color: #8080b0; font-size: 13px; line-height: 1.7; }
.verdict-text strong { color: #fff; }

/* FAQ */
.faq-block { margin: 24px 0; }
.faq-block h2 { font-size: 16px; }
.faq-item { border: 0.5px solid var(--border); border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.faq-question {
  padding: 12px 16px; font-size: 13px; font-weight: 600; color: var(--text);
  background: #fafafa; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; user-select: none;
}
.faq-question:hover { background: #f0f0fa; }
.faq-arrow { color: var(--accent); font-size: 16px; transition: transform .2s; }
.faq-answer {
  padding: 12px 16px; font-size: 13px; color: var(--muted);
  line-height: 1.65; border-top: 0.5px solid var(--border);
  display: none;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-item.open .faq-answer { display: block; }

/* Комментарии */
.comments-section { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.comments-title { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: var(--text); }
.comment-item { display: flex; gap: 12px; margin-bottom: 20px; }
.comment-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.comment-body { flex: 1; }
.comment-meta { display: flex; gap: 10px; align-items: baseline; margin-bottom: 5px; }
.comment-author { font-size: 13px; font-weight: 600; color: var(--text); }
.comment-date { font-size: 11px; color: var(--muted); }
.comment-text { font-size: 13px; color: var(--muted); line-height: 1.6; }
.comment-form-wrap { background: #f8f8ff; border-radius: 10px; padding: 18px; margin-top: 20px; }
.comment-form-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.comment-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.cf-input {
  width: 100%; padding: 8px 12px; border: 0.5px solid var(--border);
  border-radius: 7px; font-size: 13px; background: #fff; color: var(--text); font-family: inherit;
}
.cf-input:focus { outline: none; border-color: var(--accent); }
.cf-textarea { width: 100%; padding: 10px 12px; border: 0.5px solid var(--border); border-radius: 7px; font-size: 13px; background: #fff; color: var(--text); font-family: inherit; resize: vertical; min-height: 90px; margin-bottom: 10px; }
.cf-textarea:focus { outline: none; border-color: var(--accent); }
.cf-submit { background: var(--accent); color: #fff; border: none; padding: 9px 20px; border-radius: 7px; font-size: 13px; font-weight: 600; cursor: pointer; transition: opacity .15s; }
.cf-submit:hover { opacity: .85; }
.cf-note { font-size: 11px; color: var(--muted); margin-top: 8px; }

/* Похожие статьи */
.related-posts { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.related-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.related-card {
  background: var(--card-bg); border: 0.5px solid var(--border);
  border-radius: 9px; padding: 12px; display: block; transition: border-color .15s;
}
.related-card:hover { border-color: var(--accent); }
.related-card .post-cat { font-size: 9px; margin-bottom: 6px; }
.related-card-title { font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.4; }

/* Мобильная адаптация блоков */
@media (max-width: 600px) {
  .pros-cons { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .comment-form-grid { grid-template-columns: 1fr; }
  .entry-cover-title { font-size: 17px; }
  .verdict-block { flex-direction: column; text-align: center; }
}

/* Rejected cards — кликабельный блок */
.rej-post-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  cursor: pointer;
}
.rej-post-card:hover {
  border-color: #ff4757;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,71,87,.15);
}
.rej-post-card:hover .rej-read-link {
  color: #ff4757;
  text-decoration: underline;
}
.rej-post-card:hover .rej-card-title {
  color: #ff4757;
}
