* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --c-primary: #3d4a3d;
  --c-secondary: #5a6a5a;
  --c-accent: #d8c98e;
  --c-bg: #faf7f2;
  --c-card: #ffffff;
  --c-border: #ebe5db;
  --c-text: #2d2d2d;
  --c-muted: #8a8a8a;
  --c-footer: #2a2f28;
}
body {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 740px; margin: 0 auto; padding: 0 20px; }
header.site {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  padding: 26px 0;
  text-align: center;
}
header.site h1 {
  font-size: 1.9em;
  color: var(--c-primary);
  letter-spacing: 1px;
  margin-bottom: 4px;
}
header.site h1 a { color: inherit; text-decoration: none; }
header.site .tagline {
  color: var(--c-secondary);
  font-style: italic;
  font-size: 0.92em;
}
nav.site {
  background: var(--c-primary);
  padding: 11px 0;
  text-align: center;
  position: relative;
}
nav.site a {
  color: var(--c-bg);
  text-decoration: none;
  margin: 0 12px;
  font-size: 0.88em;
  letter-spacing: 0.5px;
}
nav.site a:hover { color: var(--c-accent); }
nav.site .search {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
nav.site .search input {
  padding: 4px 10px;
  border: none;
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.85em;
  width: 160px;
}
main { padding: 36px 0; }
.layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
}
.layout-single { max-width: 740px; margin: 0 auto; }
article.card {
  background: var(--c-card);
  padding: 28px 30px;
  margin-bottom: 26px;
  border: 1px solid var(--c-border);
  border-radius: 4px;
}
article.card h2 {
  color: var(--c-primary);
  margin-bottom: 6px;
  font-size: 1.45em;
}
article.card h2 a { color: inherit; text-decoration: none; }
article.card h2 a:hover { text-decoration: underline; }
article.card .meta {
  color: var(--c-muted);
  font-size: 0.83em;
  margin-bottom: 14px;
  font-style: italic;
}
article.card p { margin-bottom: 12px; }
article.card h3 {
  color: var(--c-secondary);
  margin: 18px 0 10px;
  font-size: 1.08em;
}
article.card ul, article.card ol { margin: 8px 0 12px 24px; }
article.card li { margin-bottom: 5px; }
.read-more {
  display: inline-block;
  margin-top: 6px;
  color: var(--c-primary);
  text-decoration: none;
  border-bottom: 1px dotted var(--c-primary);
  padding-bottom: 2px;
  font-size: 0.88em;
}
.hero-img {
  width: 100%;
  height: 280px;
  margin: 0 0 18px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img svg { width: 100%; height: 100%; display: block; }
.tags { margin: 16px 0; }
.tags a {
  display: inline-block;
  background: #f0ece3;
  color: var(--c-secondary);
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 0.78em;
  text-decoration: none;
  margin: 2px 4px 2px 0;
}
.tags a:hover { background: var(--c-accent); color: var(--c-primary); }
.share {
  margin: 18px 0;
  padding: 14px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  font-size: 0.88em;
  color: var(--c-muted);
}
.share a {
  color: var(--c-primary);
  text-decoration: none;
  margin: 0 8px;
  font-weight: bold;
}
.author-box {
  background: #f7f3ec;
  padding: 18px;
  margin: 22px 0;
  border-radius: 4px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.author-box .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent), var(--c-secondary));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6em;
  font-weight: bold;
  font-family: serif;
}
.author-box .info h4 {
  color: var(--c-primary);
  margin-bottom: 4px;
  font-size: 1em;
}
.author-box .info p {
  font-size: 0.9em;
  color: var(--c-secondary);
  line-height: 1.5;
  margin: 0;
}
.related {
  margin: 26px 0;
}
.related h3 {
  color: var(--c-primary);
  border-bottom: 2px solid var(--c-accent);
  padding-bottom: 6px;
  margin-bottom: 14px;
  display: inline-block;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.related-card {
  background: #fff;
  padding: 14px;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  text-decoration: none;
  color: var(--c-primary);
}
.related-card:hover { background: #f7f3ec; }
.related-card .rc-meta { font-size: 0.78em; color: var(--c-muted); }
.related-card h4 { font-size: 0.95em; margin: 4px 0; }
.comments {
  background: #fff;
  padding: 22px 26px;
  margin: 22px 0;
  border: 1px solid var(--c-border);
  border-radius: 4px;
}
.comments h3 {
  color: var(--c-primary);
  margin-bottom: 14px;
  font-size: 1.15em;
}
.comment {
  padding: 14px 0;
  border-bottom: 1px dotted var(--c-border);
}
.comment:last-of-type { border: none; }
.comment .c-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.comment .c-name {
  font-weight: bold;
  color: var(--c-primary);
  font-size: 0.95em;
}
.comment .c-date {
  color: var(--c-muted);
  font-size: 0.8em;
}
.comment p { font-size: 0.93em; margin-bottom: 4px; }
.comment .reply {
  color: var(--c-secondary);
  font-size: 0.82em;
  text-decoration: none;
}
.comment-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--c-border);
}
.comment-form input, .comment-form textarea {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 8px;
  border: 1px solid var(--c-border);
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.92em;
}
.comment-form button {
  background: var(--c-primary);
  color: #fff;
  border: none;
  padding: 8px 22px;
  border-radius: 3px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92em;
}
.newsletter {
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff;
  padding: 26px;
  margin: 26px 0;
  border-radius: 4px;
  text-align: center;
}
.newsletter h3 { margin-bottom: 8px; color: var(--c-accent); }
.newsletter p { font-size: 0.92em; margin-bottom: 14px; }
.newsletter form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; }
.newsletter input {
  flex: 1;
  padding: 9px 12px;
  border: none;
  border-radius: 3px;
  font-family: inherit;
}
.newsletter button {
  background: var(--c-accent);
  color: var(--c-primary);
  border: none;
  padding: 9px 22px;
  border-radius: 3px;
  cursor: pointer;
  font-family: inherit;
  font-weight: bold;
}
aside.sidebar {
  align-self: start;
}
.widget {
  background: #fff;
  padding: 20px;
  margin-bottom: 22px;
  border: 1px solid var(--c-border);
  border-radius: 4px;
}
.widget h3 {
  color: var(--c-primary);
  margin-bottom: 12px;
  border-bottom: 2px solid var(--c-accent);
  padding-bottom: 5px;
  font-size: 1.05em;
  display: inline-block;
}
.widget ul { list-style: none; }
.widget ul li {
  padding: 6px 0;
  border-bottom: 1px dotted var(--c-border);
  font-size: 0.9em;
}
.widget ul li:last-child { border: none; }
.widget a { color: var(--c-secondary); text-decoration: none; }
.widget a:hover { color: var(--c-primary); text-decoration: underline; }
.breadcrumb {
  font-size: 0.85em;
  color: var(--c-muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--c-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-primary); }
footer.site {
  background: var(--c-footer);
  color: #b8c0b0;
  padding: 30px 20px 22px;
  text-align: center;
  margin-top: 36px;
  font-size: 0.86em;
}
footer.site .social { margin: 12px 0; }
footer.site .social a {
  color: var(--c-accent);
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
}
footer.site .legal { font-size: 0.82em; opacity: 0.8; margin-top: 8px; }
footer.site .legal a { color: var(--c-accent); text-decoration: none; margin: 0 6px; }
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--c-footer);
  color: #fff;
  padding: 14px 22px;
  font-size: 0.86em;
  text-align: center;
  z-index: 100;
}
.cookie-banner button {
  background: var(--c-accent);
  color: var(--c-primary);
  border: none;
  padding: 6px 16px;
  margin-left: 14px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
}
@media (max-width: 800px) {
  .layout { grid-template-columns: 1fr; }
  nav.site .search { display: none; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  header.site h1 { font-size: 1.5em; }
  article.card { padding: 20px; }
  nav.site a { display: inline-block; margin: 4px 6px; font-size: 0.82em; }
  .hero-img { height: 200px; }
  .newsletter form { flex-direction: column; }
}
