/* Styles for the per-minister pages (ministri/*.html). Same tokens as index.html. */
:root{
  --bg:#eef1f4; --surface:#fbfcfd; --ink:#18212b; --muted:#5b6673; --line:#d3d9e0;
  --accent:#1d4f7c; --accent-soft:#dbe6f1; --press:#a3541a;
  --psd:#c8322b; --pnl:#d9a400; --ind:#56708a; --other:#7b6aa8;
  --f-display:"Literata", Georgia, "Times New Roman", serif;
  --f-body:"Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:"IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark){:root{
  --bg:#11161c; --surface:#18202a; --ink:#e4e9ef; --muted:#97a3b0; --line:#2b3642;
  --accent:#7fb0e0; --accent-soft:#1f3245; --press:#e39a5f;
  --psd:#e0544c; --pnl:#e8bb2c; --ind:#8aa3bd; --other:#a796d6; color-scheme:dark}}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--f-body);font-size:16px;line-height:1.55;
  padding:20px max(16px,env(safe-area-inset-right,0px)) 40px max(16px,env(safe-area-inset-left,0px))}
a{color:var(--accent)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.crumbs{max-width:760px;margin:0 auto 12px;font-size:.85rem;color:var(--muted)}
.crumbs a{text-decoration:none}
.fisa,.alti{max-width:760px;margin:0 auto;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:24px clamp(16px,4vw,32px)}
.alti{margin-top:16px}
.top{display:flex;gap:18px;align-items:center;margin-bottom:18px}
.av{flex:none;width:96px;height:96px;border-radius:50%;object-fit:cover;border:3px solid var(--ind)}
.av.psd{border-color:var(--psd)} .av.other{border-color:var(--other)}
.ini{display:grid;place-items:center;color:#fff;background:var(--ind);font-family:var(--f-mono);font-size:1.6rem}
.ini.psd{background:var(--psd)}
h1{font-family:var(--f-display);font-size:clamp(1.6rem,4vw,2.2rem);line-height:1.15;margin:0;text-wrap:balance}
.role{color:var(--muted);margin:4px 0 6px}
.pill{display:inline-block;font-family:var(--f-mono);font-size:.75rem;padding:2px 9px;border-radius:99px;color:#fff;background:var(--ind)}
.pill.psd{background:var(--psd)} .pill.other{background:var(--other)}
.rezumat{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;margin:0 0 10px;padding:14px 16px;background:var(--accent-soft);border-radius:8px}
.rezumat dt{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);padding-top:3px}
.rezumat dd{margin:0}
.harta-link{margin:0 0 6px;font-size:.92rem}
h2{font-size:.78rem;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);margin:26px 0 8px;font-weight:600}
.cv,.conn,.surse{margin:0;padding-left:20px;display:grid;gap:6px}
.act{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.act li{border-left:2px solid var(--line);padding:2px 0 2px 14px}
.am{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:3px}
.ad{font-family:var(--f-mono);font-size:.75rem;color:var(--muted)}
.ac{font-size:.68rem;text-transform:uppercase;letter-spacing:.07em;padding:1px 7px;border-radius:99px;border:1px solid currentColor;font-weight:600}
.c-lege{color:var(--accent)} .c-scandal{color:var(--press)} .c-partid{color:var(--other)} .c-decizie,.c-pozitie,.c-functie{color:var(--muted)}
.act p{margin:0}
.leg{display:grid;gap:3px;margin:6px 0 4px;padding:6px 10px;background:var(--accent-soft);border-radius:6px}
.leg a{font-weight:600;font-size:.88rem;text-decoration:none}
.sursa{font-family:var(--f-mono);font-size:.75rem;text-decoration:none}
.conn span{color:var(--muted)} .conn em{color:var(--press);font-style:normal;font-family:var(--f-mono);font-size:.72rem}
.surse{font-size:.88rem;word-break:break-word}
.credit,.actualizat{font-size:.78rem;color:var(--muted);margin:18px 0 0}
.alti ul{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px 16px}
.alti li{font-size:.9rem;line-height:1.35}
.alti li span{display:block;color:var(--muted);font-size:.78rem}
.alti a{text-decoration:none;font-weight:600}
@media (max-width:480px){.top{flex-direction:column;align-items:flex-start}}
.site-footer{max-width:760px;margin:20px auto 0;display:flex;flex-wrap:wrap;gap:6px 18px;justify-content:space-between;font-size:.8rem;color:var(--muted)}
.site-footer a{text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.despre p{margin:0 0 10px;max-width:65ch}
.despre .lead{font-size:1.05rem;margin-top:12px}
