:root {
  --paper: #f5f1e8;
  --card: #fffdf8;
  --ink: #1c2422;
  --soft: #5f6b67;
  --rule: #ddd6c6;
  --green: #1f4d43;
  --green-ink: #f5f1e8;
  --gold: #b9811a;
  --sans: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', sans-serif;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141a18;
    --card: #1b2321;
    --ink: #e9e5da;
    --soft: #9aa6a1;
    --rule: #2c3734;
    --green: #173a33;
    --green-ink: #e9e5da;
    --gold: #f3c969;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; }

/* Antet centrat */
.masthead { text-align: center; padding: 28px 16px 0; border-bottom: 1px solid var(--rule); }
.brand { font-family: var(--serif); font-size: 2.3rem; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.brand b { color: var(--gold); font-weight: 400; font-style: italic; }
.motto { margin: 2px 0 18px; color: var(--soft); font-size: 0.95rem; }
.masthead nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px; }
.masthead nav a { padding: 10px 0; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none; border-bottom: 3px solid transparent; }
.masthead nav a:hover { border-bottom-color: var(--gold); }

main { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

.pill { display: inline-block; border: 1px solid currentColor; border-radius: 99px; padding: 2px 12px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none; color: var(--gold); }
.byline { color: var(--soft); font-size: 0.85rem; margin: 0; }

/* Articolul principal de pe prima pagină */
.lead { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center; margin: 40px 0 8px; padding: 28px; background: var(--green); color: var(--green-ink); border-radius: 14px; }
.lead .thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; height: auto; border-radius: 8px; }
.lead .pill { color: #f3c969; }
.lead h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.15; margin: 14px 0 12px; }
.lead h1 a { text-decoration: none; }
.lead p { margin: 0 0 20px; opacity: 0.88; }
.more { display: inline-block; background: #f3c969; color: #1c2422; font-weight: 700; font-size: 0.9rem; text-decoration: none; padding: 10px 20px; border-radius: 99px; }

/* Rafturi (secțiuni pe teme) */
.shelf { margin: 56px 0 0; }
.shelf.solo { margin-top: 40px; }
.shelf > header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 8px; }
.shelf h1, .shelf h2 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.2; margin: 0; }
.shelf h1 { font-size: clamp(2rem, 5vw, 2.8rem); flex-basis: 100%; }
.shelf h2 a { text-decoration: none; }
.shelf > header p { margin: 0; color: var(--soft); font-size: 0.95rem; }
.rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.row .thumb img { display: block; width: 150px; height: 112px; object-fit: cover; border-radius: 6px; }
.row h3 { font-family: var(--serif); font-weight: 400; font-size: 1.22rem; line-height: 1.25; margin: 0 0 6px; }
.row h3 a { text-decoration: none; }
.row h3 a:hover { color: var(--gold); }
.row p { margin: 0 0 8px; font-size: 0.9rem; color: var(--soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row p.byline { margin: 0; display: block; }

/* Articol */
.entry { max-width: 700px; margin: 0 auto; padding-top: 48px; }
.entry > header { text-align: center; margin-bottom: 28px; }
.entry h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5.2vw, 3rem); line-height: 1.12; letter-spacing: -0.01em; margin: 16px 0 14px; }
.entry.plain > header { text-align: left; }
.entry.plain h1 { margin-top: 0; }
.entry figure { margin: 0 0 32px; }
.entry figure img { display: block; width: 100%; height: auto; border-radius: 10px; }
.entry figcaption { font-size: 0.8rem; color: var(--soft); margin-top: 8px; text-align: center; }
.entry figcaption a, .text a, .fix a { color: var(--gold); }
.text { font-size: 1.1rem; line-height: 1.75; }
.text p { margin: 0 0 22px; }
.text > p.intro { font-family: var(--serif); font-size: 1.32rem; line-height: 1.55; }
.text h2 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.25; margin: 44px 0 14px; }
.text h2::before { content: ''; display: block; width: 44px; height: 3px; background: var(--gold); margin-bottom: 14px; }
.text h3 { font-size: 1.1rem; margin: 28px 0 8px; }
.text ul, .text ol { margin: 0 0 22px; padding-left: 24px; }
.text li { margin-bottom: 8px; }
.text blockquote { margin: 0 0 22px; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1.2rem; font-style: italic; }
.sources { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 0.92rem; color: var(--soft); }
.sources h2 { font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink); margin: 0 0 10px; }
.sources ul { margin: 0; padding-left: 20px; }
.fix { font-size: 0.88rem; color: var(--soft); margin-top: 24px; }

/* Subsol */
.colophon { margin-top: 80px; background: var(--green); color: var(--green-ink); padding: 44px 16px 24px; font-size: 0.92rem; }
.colophon .inner { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.colophon .brand { color: var(--green-ink); font-size: 1.8rem; }
.colophon .brand b { color: #f3c969; }
.colophon p { margin: 8px 0 0; opacity: 0.85; max-width: 46ch; }
.colophon nav { display: grid; gap: 8px; align-content: start; }
.colophon nav a { text-decoration: none; }
.colophon nav a:hover { text-decoration: underline; }
.colophon .legal { max-width: 1040px; margin: 36px auto 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.82rem; opacity: 0.75; }

@media (max-width: 760px) {
  .lead { grid-template-columns: 1fr; gap: 20px; padding: 18px; margin-top: 24px; }
  .rows { grid-template-columns: 1fr; }
  .row { grid-template-columns: 104px 1fr; gap: 14px; }
  .row .thumb img { width: 104px; height: 78px; }
  .colophon .inner { grid-template-columns: 1fr; gap: 24px; }
}

/* 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; }
