/*
Theme Name: ThemeVSS Prosto
Theme URI: http://prosto.dev
Description: Warm expert medical media theme for Просто о простатите
Author: Prosto Editorial
Version: 1.0.0
Text Domain: themevss
*/

:root {
  --bg: #F7F4EF;
  --surface: #FFFFFF;
  --text: #1C1917;
  --muted: #57534E;
  --accent: #2F6F5E;
  --accent-soft: #E6F0EC;
  --border: #E7E2DA;
  --warn: #9A3412;
  --radius: 10px;
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--accent); }
.site-header, .site-footer, .site-main {
  max-width: 72rem;
  margin-inline: auto;
  padding: 1rem 1.25rem;
}
.site-brand {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.hero {
  padding: 3rem 0 4rem;
  background:
    radial-gradient(ellipse at 20% 0%, var(--accent-soft), transparent 55%),
    var(--bg);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  max-width: 18ch;
}
.hero p { color: var(--muted); max-width: 40rem; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
}
.page-cover img { width: 100%; height: auto; border-radius: var(--radius); }
.disclaimer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 2rem;
  padding-top: 1rem;
}
.lang-switcher { display: flex; gap: 0.75rem; list-style: none; padding: 0; }
.lang-switcher a { color: var(--muted); text-decoration: none; }
.lang-switcher [aria-current="true"] { color: var(--accent); font-weight: 600; }
.entry-content :is(ul, ol) { padding-left: 1.25rem; }
.callout-warn {
  border-left: 4px solid var(--warn);
  background: #fff7ed;
  padding: 0.75rem 1rem;
}
.post-card {
  display: grid;
  grid-template-columns: minmax(0, 220px) 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.post-card__thumb img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
  background: var(--accent-soft);
}
.post-card__body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}
.post-card__body h2 a {
  color: var(--text);
  text-decoration: none;
}
@media (max-width: 640px) {
  .post-card { grid-template-columns: 1fr; }
}
