/*
Theme Name: Vyhod Minimal
Description: Fast, dependency-free theme for «Всё поправимо».
Version: 1.0.0
Text Domain: vyhod-minimal
*/

:root {
  --page: #f6f4ef;
  --paper: #fff;
  --ink: #202522;
  --muted: #66706a;
  --line: #dfe3df;
  --accent: #1d6b4f;
  --width: 760px;
}

* { box-sizing: border-box; }
html { font-size: 18px; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}
a { color: var(--accent); text-underline-offset: .16em; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; height: auto; border-radius: 12px; }
.site-header, .site-footer { padding: 28px 20px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-brand, .site-footer-inner, main { width: min(100%, var(--width)); margin-inline: auto; }
.site-title { margin: 0; font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.2; }
.site-title a { color: var(--ink); text-decoration: none; }
.site-description { margin: .35rem 0 0; color: var(--muted); font-size: .94rem; }
main { padding: 42px 20px 64px; }
.post-card, .single-post {
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 7px 24px rgba(31, 43, 36, .045);
}
.post-card + .post-card { margin-top: 26px; }
.entry-title { margin: 0 0 .6rem; font-size: clamp(1.45rem, 5vw, 2.25rem); line-height: 1.18; }
.entry-title a { color: var(--ink); text-decoration: none; }
.entry-meta { margin: 0 0 1.5rem; color: var(--muted); font-size: .88rem; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content p { margin: 0 0 1.15rem; }
.telegram-post-figure { margin: 0 0 1.7rem; }
.telegram-source-separator { margin: 2.2rem 0 1.3rem; border: 0; border-top: 1px solid var(--line); }
.telegram-source { color: var(--muted); font-size: .9rem; }
.read-more { margin: 1.35rem 0 0; }
.pagination { margin-top: 32px; display: flex; gap: 16px; justify-content: space-between; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
@media (max-width: 560px) {
  html { font-size: 16px; }
  main { padding-top: 24px; }
  .post-card, .single-post { padding: 22px; border-radius: 12px; }
}

