/* ============================================================================
   CSM Unirea — typography.css
   Clase de heading dedicate (.h1–.h6) + utilitare text. Funcţioneaza pe ambele
   teme (culorile vin din variabile). Font display sportiv (Oswald) pentru
   titluri, font de sistem pentru corp.
   ========================================================================== */

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Heading-uri: clase dedicate, NU se stilizeaza <h1>..<h6> global ──────── */
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0;
}
.h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: .005em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.h4 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.h5 { font-size: 1.15rem; }
.h6 { font-size: .95rem; letter-spacing: .12em; }

/* Titlu cu accent pe ultimul cuvant / fragment (display mare -> pragul 3:1 e ok) */
.accent-text { color: var(--accent-strong); }
:root[data-theme="dark"] .accent-text { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .accent-text { color: var(--accent); } }

/* Eyebrow — mic label deasupra titlurilor */
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent-text);
  display: inline-block;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-2);
  line-height: 1.7;
}

p { margin: 0 0 1em; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

.muted { color: var(--text-3); }
.text-center { text-align: center; }
.balance { text-wrap: balance; }
