/* Тема magazine — журнальный стиль, крупная типографика */
:root {
  --bg: #faf9f7;
  --card: #fff;
  --text: #1c1917;
  --text-muted: #57534e;
  --link: #b45309;
  --link-hover: #92400e;
  --border: #e7e5e4;
  --radius: 4px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background: var(--card);
  border-bottom: 2px solid var(--text);
  padding: 1rem 0;
}

.header-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-name:hover { color: var(--link); }

nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

nav a:hover { color: var(--text); }
nav a.nav-cta {
  color: var(--link);
  font-weight: 600;
}
nav a.nav-cta:hover { color: var(--link-hover); }

.site-main {
  flex: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  width: 100%;
}

.page-home {
  padding-bottom: 2rem;
}

.page-title {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.article-title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.intro {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 42em;
  line-height: 1.65;
}

.intro p { margin: 0 0 0.75rem; }

.articles-section {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.section-title {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.articles-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem 2rem;
}

.articles-list a {
  color: var(--link);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.4;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}

.articles-list a:hover {
  color: var(--link-hover);
  border-bottom-color: var(--border);
}

.article {
  padding: 0 0 2rem;
}

.article-hero-wrap {
  margin: 0 0 1.5rem;
}

.article-hero {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.breadcrumb a { color: var(--link); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.article-body { margin-top: 1.25rem; }

.content p {
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.8;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.content p:last-child { margin-bottom: 0; }
.content h3 { font-family: var(--serif); margin: 1.75rem 0 0.75rem; font-size: 1.2rem; font-weight: 700; color: var(--text); }
.content h3:first-child { margin-top: 0; }

.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  margin-top: auto;
  padding: 1.25rem 0;
}

.footer-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-link {
  color: var(--link);
  text-decoration: none;
  margin-right: 1.5rem;
}

.footer-link:hover { text-decoration: underline; }
.footer-copy { color: var(--text-muted); }
