:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --text: #1f1d1a;
  --muted: #6b655c;
  --line: #e4dfd5;
  --accent: #b4451f;
  --accent-soft: #f6e7df;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171614;
    --surface: #201f1c;
    --text: #ece8e1;
    --muted: #a39c90;
    --line: #34312c;
    --accent: #f08a5d;
    --accent-soft: #35241c;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Antet */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.logo span { color: var(--text); }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-header nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.site-header nav a:hover { color: var(--accent); }

/* Prima pagină */
.hero { padding: 56px 0 24px; max-width: 760px; }
.hero.small { padding-top: 40px; }
.hero h1 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin: 0 0 16px; }
.hero p { font-size: 1.15rem; color: var(--muted); margin: 0; }
.section-title { font-family: var(--serif); font-size: 1.5rem; margin: 48px 0 20px; padding-bottom: 8px; border-bottom: 2px solid var(--text); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; margin: 24px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 6px; padding: 20px; display: flex; flex-direction: column; }
.card h3 { font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; margin: 10px 0 8px; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { margin: 0 0 12px; font-size: 0.95rem; color: var(--muted); }
.card .meta { margin: auto 0 0; }

.tag { display: inline-block; align-self: flex-start; background: var(--accent-soft); color: var(--accent); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; padding: 3px 9px; border-radius: 3px; }
.meta { font-size: 0.85rem; color: var(--muted); }

.cat-list { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px 20px; }
.cat-list a { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; text-decoration: none; }
.cat-list span { font-size: 0.95rem; color: var(--muted); }

/* Articol */
.post { max-width: 720px; margin: 0 auto; padding-top: 40px; }
.post header h1 { font-family: var(--serif); font-size: clamp(1.9rem, 5vw, 2.7rem); line-height: 1.18; margin: 14px 0 14px; }
.post.page header h1 { margin-top: 0; }
.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 12px; }
.post header { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 28px; }
.content { font-family: var(--serif); font-size: 1.13rem; line-height: 1.75; }
.content h2 { font-size: 1.5rem; line-height: 1.3; margin: 40px 0 12px; }
.content h3 { font-size: 1.2rem; margin: 28px 0 8px; }
.content p { margin: 0 0 20px; }
.content ul, .content ol { margin: 0 0 20px; padding-left: 24px; }
.content li { margin-bottom: 8px; }
.facts { font-family: var(--sans); font-size: 0.98rem; line-height: 1.55; background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 4px; padding: 18px 20px; margin: 0 0 28px; }
.facts strong:first-child { display: block; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.8rem; color: var(--accent); }
.facts ul { margin: 0; padding-left: 20px; }
.facts li { margin-bottom: 4px; }
.further { margin-top: 40px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; font-size: 0.95rem; }
.further h2 { font-family: var(--serif); font-size: 1.15rem; margin: 0 0 10px; }
.further ul { margin: 0; padding-left: 20px; }
.correction { font-size: 0.9rem; color: var(--muted); margin-top: 24px; }

/* Subsol */
.site-footer { margin-top: 72px; border-top: 1px solid var(--line); background: var(--surface); padding: 32px 0; font-size: 0.92rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 12px 0; }
.site-footer p { margin: 0; }
.copyright { color: var(--muted); }

/* Imagini */
.card { overflow: hidden; }
.thumb { display: block; margin: -20px -20px 16px; }
.thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; height: auto; }
.cover { margin: 0 0 28px; }
.cover img { display: block; width: 100%; height: auto; border-radius: 6px; }
.cover figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 8px; line-height: 1.45; }

/* Reclame */
.ad { margin: 32px 0; text-align: center; clear: both; }
.ad > span { display: block; font-family: system-ui, sans-serif; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.55; margin-bottom: 6px; }
