/* ===== ТЕХНО·ДОМ — СТАТЬИ ===== */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

:root {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --text: #1F2937;
  --text-soft: #6B7280;
  --text-mid: #4B5563;
  --border: #E5E7EB;
  --accent: #1E40AF;
  --accent-light: #EFF6FF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.10);
}

/* ===== HEADER ===== */
.post-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.post-header-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
  transition: opacity 0.2s;
}
.back-link:hover { opacity: 0.7; }
.back-link svg { width: 18px; height: 18px; }
.post-mini-logo {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 500;
}

/* ===== ARTICLE ===== */
.post-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.post-cat {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

h1.post-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.post-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-mid);
  margin-bottom: 24px;
  font-weight: 500;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.post-meta-dot { color: var(--border); }

.post-content { font-size: 17px; line-height: 1.75; }
.post-content > p { margin-bottom: 18px; color: var(--text-mid); }
.post-content > p strong { color: var(--text); font-weight: 700; }
.post-content > h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.25;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.post-content > h2:first-child { margin-top: 0; }
.post-content > h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 12px;
}
.post-content > ul {
  margin: 16px 0 24px;
  padding-left: 24px;
}
.post-content > ul li {
  margin-bottom: 8px;
  color: var(--text-mid);
}
.post-content > ul li::marker { color: var(--accent); }

/* ===== PRODUCT CARD (horizontal) ===== */
.post-product {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.post-product:hover { box-shadow: var(--shadow-md); }

.post-product-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  background: #F3F4F6;
}

.post-product-body { display: flex; flex-direction: column; }
.post-product-body h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.post-product-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.post-product-stats .stars { color: #F59E0B; font-weight: 700; }
.post-product-stats .sep { color: var(--border); }
.post-product-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.post-product-price .badge {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  background: #FEE2E2;
  color: #DC2626;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  vertical-align: middle;
}
.post-product-body p {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 12px;
}
.post-product-body h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-top: 12px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.post-product-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.post-product-body ul li {
  font-size: 14px;
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
  line-height: 1.5;
}
.post-product-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.post-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  margin-top: auto;
  transition: background 0.2s;
  align-self: flex-start;
}
.post-btn:hover { background: #1E3A8A; }
.post-btn svg { width: 16px; height: 16px; }

/* ===== CONCLUSION ===== */
.post-conclusion {
  margin-top: 48px;
  padding: 32px;
  background: linear-gradient(135deg, var(--accent-light) 0%, #F0F9FF 100%);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
}
.post-conclusion h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 12px;
}
.post-conclusion p { color: var(--text-mid); font-size: 16px; }
.post-conclusion strong { color: var(--text); }

/* ===== OTHER ARTICLES ===== */
.post-footer-cta {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.post-footer-cta p {
  color: var(--text-soft);
  margin-bottom: 16px;
  font-size: 15px;
}
.post-footer-cta a {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 10px;
  font-size: 16px;
  transition: background 0.2s;
}
.post-footer-cta a:hover { background: #1E3A8A; }

/* ===== RESPONSIVE ===== */
@media (max-width: 720px) {
  .post-main { padding: 32px 16px 60px; }
  h1.post-title { font-size: 30px; }
  .post-lead { font-size: 17px; }
  .post-content { font-size: 16px; }
  .post-content > h2 { font-size: 22px; }
  .post-product {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }
  .post-product-img {
    max-width: 240px;
    margin: 0 auto;
  }
  .post-product-body h2 { font-size: 20px; }
  .post-product-price { font-size: 24px; }
  .post-conclusion { padding: 24px; }
  .post-fits { grid-template-columns: 1fr; gap: 12px; }
  .post-compare-wrap { overflow-x: auto; }
  .post-faq details summary { font-size: 16px; padding: 14px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ===== БЛОК "ПОЧЕМУ ИМЕННО ЭТОТ" ===== */
.post-why {
  margin: 20px 0 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
}
.post-why-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 6px;
  margin-bottom: 8px;
}
.post-why p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.65;
}

/* ===== БЛОК "КОМУ ПОДОЙДЁТ" ===== */
.post-fits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}
.post-fits-col {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
}
.post-fits-col h5 {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-fits-col h5::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.post-fits-yes { background: #F0FDF4; border-color: #BBF7D0; }
.post-fits-yes h5 { color: #166534; }
.post-fits-yes h5::before { background: #16A34A; }
.post-fits-no { background: #FEF2F2; border-color: #FECACA; }
.post-fits-no h5 { color: #991B1B; }
.post-fits-no h5::before { background: #DC2626; }
.post-fits-col p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}

/* ===== ПЛЮСЫ / МИНУСЫ ===== */
.post-pros, .post-cons {
  margin: 14px 0;
  padding: 14px 18px;
  border-radius: 10px;
  background: #FAFAFA;
  border: 1px solid #EFEFEF;
}
.post-pros h4, .post-cons h4 {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}
.post-pros h4::before { content: '✓ '; color: #16A34A; font-weight: 800; }
.post-cons h4::before { content: '✗ '; color: #DC2626; font-weight: 800; }
.post-pros ul, .post-cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.post-pros li, .post-cons li {
  font-size: 14.5px;
  line-height: 1.55;
  padding: 4px 0 4px 18px;
  position: relative;
}
.post-pros li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: #16A34A;
  font-weight: 800;
}
.post-cons li::before {
  content: '−';
  position: absolute;
  left: 0;
  color: #DC2626;
  font-weight: 800;
}

/* ===== КЛЮЧЕВЫЕ ХАРАКТЕРИСТИКИ ===== */
.post-specs {
  margin: 16px 0;
  padding: 14px 18px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 10px;
}
.post-specs h4 {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #92400E;
}
.post-specs dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
.post-specs-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  font-size: 14px;
  padding: 3px 0;
  border-bottom: 1px dashed #FCD34D;
}
.post-specs-row:last-child { border-bottom: none; }
.post-specs dt { color: #78350F; font-weight: 500; }
.post-specs dd { color: var(--text); font-weight: 600; margin: 0; }

/* ===== СРАВНИТЕЛЬНАЯ ТАБЛИЦА ===== */
.post-compare {
  margin: 36px 0 24px;
}
.post-compare h2 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.post-compare-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  background: #fff;
}
.post-compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.post-compare thead {
  background: var(--accent);
  color: #fff;
}
.post-compare th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  letter-spacing: 0.01em;
}
.post-compare tbody tr {
  border-bottom: 1px solid #F3F4F6;
  transition: background 0.15s;
}
.post-compare tbody tr:hover { background: #F9FAFB; }
.post-compare tbody tr:last-child { border-bottom: none; }
.post-compare th:first-child,
.post-compare td:first-child {
  font-weight: 600;
  background: #F9FAFB;
  color: var(--text);
}
.post-compare td {
  padding: 12px 16px;
  color: var(--muted);
}
.post-compare tbody th { font-weight: 600; }

/* ===== FAQ ===== */
.post-faq {
  margin: 40px 0 24px;
}
.post-faq h2 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.post-faq details {
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s;
}
.post-faq details[open] {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}
.post-faq details summary {
  padding: 18px 22px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Fraunces', serif;
  transition: background 0.15s;
}
.post-faq details summary::-webkit-details-marker { display: none; }
.post-faq details summary::after {
  content: '+';
  font-size: 24px;
  color: var(--accent);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s;
  font-family: 'Manrope', sans-serif;
}
.post-faq details[open] summary::after {
  transform: rotate(45deg);
}
.post-faq details summary:hover { background: #F9FAFB; }
.post-faq details p {
  padding: 0 22px 18px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

/* ===== ПРЕВЬЮ-ФОРМАТ (короткие шеринг-статьи) ===== */
.post-preview { font-size: 17px; line-height: 1.7; }
.post-excerpt { font-size: 16px; color: var(--text-mid); font-style: italic; }
.post-hero-img {
  margin: 28px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.post-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.post-hero-img figcaption {
  padding: 12px 18px;
  font-size: 14px;
  color: var(--text-soft);
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-weight: 500;
}
.post-quick {
  list-style: none;
  padding: 0;
  margin: 16px 0 28px;
  display: grid;
  gap: 8px;
}
.post-quick li {
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--text);
}
.post-quick strong { color: var(--text); }
.quick-old {
  color: var(--text-soft);
  text-decoration: line-through;
  font-size: 14px;
  margin-left: 6px;
}
.post-cta-block {
  font-size: 17px;
  color: var(--text-mid);
  margin: 32px 0 16px;
  text-align: center;
}
.post-big-cta {
  display: block;
  text-align: center;
  padding: 20px 28px;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 18px;
  border-radius: var(--radius);
  text-decoration: none;
  margin: 0 auto 24px;
  max-width: 480px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.post-big-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ===== RESPONSIVE для превью ===== */
@media (max-width: 720px) {
  .post-big-cta { font-size: 16px; padding: 16px 20px; }
}
