/* Subiecte BAC (public archive): the landing's look over the prebuilt Tailwind subset in subiecte_bac.css.
   Paper ground, ink text, the site's green for actions, Literata for titles, Schibsted Grotesk for the rest
   (faces from landing/fonts.css). Scoped to body.subiecte-bac main, so the shared public header keeps its own style.
   Only custom sb-arch-* classes are added to the template: no new Tailwind classes, so no rebuild is needed. */
body.subiecte-bac {
  --arch-ink: #17231b;
  --arch-ink-soft: #526157;
  --arch-paper: #f7f1e4;
  --arch-card: #fffaf0;
  --arch-line: rgba(23, 35, 27, .14);
  --arch-green: #183d2d;
  --arch-green-2: #21583f;
  --arch-green-3: #0f2a1e;
  --arch-gold: #f1c875;
  --arch-tint: rgba(24, 61, 45, .07);
  background: var(--arch-paper);
  color: var(--arch-ink);
  font-family: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
body.subiecte-bac main .text-slate-950,
body.subiecte-bac main .text-slate-900,
body.subiecte-bac main .text-slate-800,
body.subiecte-bac main .text-slate-700 { color: var(--arch-ink); }
body.subiecte-bac main .text-slate-600,
body.subiecte-bac main .text-slate-500 { color: var(--arch-ink-soft); }
body.subiecte-bac main a.hover\:text-blue-700:hover { color: var(--arch-green-2); }

.subiecte-bac .sb-arch-title { font-family: "Literata", Georgia, serif; font-weight: 600; font-size: clamp(34px, 5vw, 52px); line-height: 1.06; letter-spacing: -.02em; }
.subiecte-bac .sb-arch-card__title,
.subiecte-bac .sb-arch-paper { font-family: "Literata", Georgia, serif; font-weight: 600; letter-spacing: -.01em; }
.subiecte-bac main h3 { font-weight: 700; }

.subiecte-bac .sb-arch-card,
.subiecte-bac .sb-arch-list { border-color: var(--arch-line); background: var(--arch-card); box-shadow: 0 12px 34px rgba(31, 34, 27, .06); }
.subiecte-bac .sb-arch-list > :not([hidden]) ~ :not([hidden]) { border-color: var(--arch-line); }
.subiecte-bac .sb-arch-card { border-radius: 22px; }

/* Years: a quiet green tint; the newest one in gold, the open one in green. */
.subiecte-bac .sb-arch-year { background: var(--arch-tint); color: var(--arch-green); box-shadow: none; transition: background .18s ease, color .18s ease; }
.subiecte-bac .sb-arch-year:hover { background: rgba(24, 61, 45, .13); color: var(--arch-green); }
.subiecte-bac .sb-arch-year.is-newest { background: rgba(241, 200, 117, .45); color: #5b3a0e; }
.subiecte-bac .sb-arch-year.is-newest:hover { background: rgba(241, 200, 117, .7); }
.subiecte-bac .sb-arch-year.is-current,
.subiecte-bac .sb-arch-year.is-current:hover { background: var(--arch-green); color: #fff; }
.subiecte-bac .sb-arch-soon { margin-top: 12px; color: var(--arch-ink-soft); font-size: 14px; line-height: 1.5; }

/* PDF buttons: the paper (subiect) in green, the rubric (barem) on the green tint. */
.subiecte-bac .sb-arch-pdf { background: var(--arch-tint); color: var(--arch-ink); border-radius: 999px; }
.subiecte-bac .sb-arch-pdf:hover { background: rgba(24, 61, 45, .13); }
.subiecte-bac .sb-arch-pdf.is-main { background: var(--arch-green); color: #fff; }
.subiecte-bac .sb-arch-pdf.is-main:hover { background: var(--arch-green-2); }

.subiecte-bac .sb-arch-cta { background: var(--arch-green-3); color: #fffaf0; }
.subiecte-bac .sb-arch-cta .text-slate-300 { color: rgba(255, 250, 240, .76); }
.subiecte-bac .sb-arch-cta__title { font-family: "Literata", Georgia, serif; font-weight: 600; letter-spacing: -.01em; }
.subiecte-bac .sb-arch-cta__btn { background: var(--arch-gold); color: var(--arch-green-3); border-radius: 999px; }
.subiecte-bac .sb-arch-cta__btn:hover { background: #f6d58f; }

.subiecte-bac main a:focus-visible { outline: 3px solid rgba(33, 88, 63, .45); outline-offset: 2px; }
