/* === Chronivra UI tune (safe) === */
:root { --muted:#666; --border:#e6e6e6; --card:#fafafa; }
html{scroll-behavior:smooth}
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Inter,Arial,"Noto Sans","Helvetica Neue",sans-serif;font-size:18px;line-height:1.65;color:#111;background:#fff}
h1{font-size:clamp(28px,4vw,36px);line-height:1.2;margin:1.2em 0 .6em}
h2{font-size:clamp(22px,3vw,28px);line-height:1.3;margin:1.1em 0 .6em}
h3{margin:1em 0 .5em}
p{margin:.75em 0}
ul,ol{padding-left:1.3em;margin:.8em 0 1.2em}
blockquote{border-left:3px solid #ddd;padding-left:1rem;color:#444;margin:1.2em 0;font-style:italic}
.entry-meta,.posted-on,.byline{color:var(--muted);font-size:.95em}

img,figure{max-width:100%;height:auto;border-radius:6px}
.post-thumbnail img{object-fit:cover}

a.more-link,.read-more a{
  display:inline-block;padding:.5rem .9rem;border:1px solid var(--border);
  border-radius:10px;text-decoration:none
}
a.more-link:hover,.read-more a:hover{background:#fff}

/* Ограничиваем ширину ТОЛЬКО внутреннего контента записи/страницы */
.entry-content{max-width:72ch;margin-inline:auto;padding-inline:1rem}

/* Комментарии — лёгкий тюнинг формы */
#commentform textarea,
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform input[type="number"]{
  width:100%;padding:.6rem .7rem;border:1px solid #d7d7d7;border-radius:8px
}
#commentform .form-submit input[type="submit"]{padding:.6rem 1rem;border-radius:8px}
.comment-form-captcha label{display:block;margin-bottom:.4rem;font-weight:600}
.comment-form-captcha input[type="number"]{max-width:9rem}
/* === /Chronivra UI === */

/* === Site background (Chronivra) === */
:root{
  --chr-bg: url('/wp-content/uploads/brand/chronivra-bg.webp');
}
body::before{
  content:"";
  position:fixed; inset:0;
  z-index:-1;
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(255,255,255,.85), rgba(255,255,255,.92) 40%, rgba(255,255,255,.98) 70%),
    var(--chr-bg) center / cover no-repeat;
  opacity:.22;
  filter: grayscale(18%) sepia(8%);
  pointer-events:none;
}
/* тёмная тема чуть темнее (на будущее) */
@media (prefers-color-scheme: dark){
  body::before{
    opacity:.18;
    filter: grayscale(22%) sepia(14%) brightness(.9);
  }
}
/* === /Site background === */
