/* Tema Termoformare: precizie industrială în tonuri slate și amber. */
body[data-theme="termoformare"] {
  --bg: #f4f5f7; --surface: #fafbfc; --surface-2: #e8ecf0;
  --border: #c4ccd5; --border-strong: #8d9aaa;
  --text: #202b39; --text-2: #435163; --text-3: #526172;
  --accent: #c96209; --accent-hover: #a34d05; --accent-soft: rgba(201,98,9,.12);
  --on-accent: #171b20; --band: #263142; --band-2: #313e50; --on-band: #f1f3f5;
  --radius: 6px; --brand-accent-light: #f59b38; --brand-accent-dark: #c96209;
  font-family: "Segoe UI", Arial, sans-serif;
}
body[data-theme="termoformare"] h1,
body[data-theme="termoformare"] h2,
body[data-theme="termoformare"] h3,
body[data-theme="termoformare"] h4 { font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif; letter-spacing: -.02em; }
body[data-theme="termoformare"] a { color: #914405; }
body[data-theme="termoformare"] a:hover { color: #793900; }
body[data-theme="termoformare"] .site-brand {
  background: repeating-linear-gradient(90deg, transparent 0 47px, rgba(211,223,235,.045) 47px 48px), linear-gradient(115deg, #1b2531, #354456 58%, #202b39);
  color: #f1f3f5;
}
body[data-theme="termoformare"] .site-brand-spec { background: linear-gradient(90deg, #713400, #c96209 35%, #f5aa4e 67%, #8d4207); }
body[data-theme="termoformare"] .brand-name { color: #f5aa4e; text-shadow: none; }
body[data-theme="termoformare"] .site-head { background: #263142; border-color: #526174; box-shadow: 0 4px 14px rgba(25,35,47,.18); }
body[data-theme="termoformare"] .site-nav a { color: #edf1f5; border-radius: 6px; }
body[data-theme="termoformare"] .site-nav a:hover,
body[data-theme="termoformare"] .site-nav a.on { color: #f8f5ef; background: #435164; }
body[data-theme="termoformare"] .site-nav a.on::after { background: #f59b38; }
body[data-theme="termoformare"] .site-head .soc a:hover { background: #f59b38; border-color: #f59b38; color: #171b20; }
body[data-theme="termoformare"] section.ph {
  background: linear-gradient(90deg, rgba(38,49,66,.045) 1px, transparent 1px), linear-gradient(0deg, rgba(38,49,66,.045) 1px, transparent 1px), radial-gradient(ellipse at 85% 20%, rgba(201,98,9,.14), transparent 50%), linear-gradient(135deg, #edf0f3, #f7f8f9 55%, #e2e8ed);
  background-size: 36px 36px, 36px 36px, auto, auto;
}
body[data-theme="termoformare"] section.ph::before { background-color: rgba(38,49,66,.08); }
body[data-theme="termoformare"] section.ph::after { background: radial-gradient(ellipse at 24% 48%, rgba(244,245,247,.85), transparent 72%); }
body[data-theme="termoformare"] .ph-eyebrow,
body[data-theme="termoformare"] .ph-w,
body[data-theme="termoformare"] .ph-bife .ico,
body[data-theme="termoformare"] .latest-cat,
body[data-theme="termoformare"] .cat-grup-all { color: #914405; }
body[data-theme="termoformare"] .btn { border-radius: 6px; color: var(--on-accent); }
body[data-theme="termoformare"] .btn:hover { color: #fafbfc; }
body[data-theme="termoformare"] .btn-ghost,
body[data-theme="termoformare"] .btn-clar { color: var(--text); }
body[data-theme="termoformare"] .card,
body[data-theme="termoformare"] .cat-hcard,
body[data-theme="termoformare"] .latest-card { border-radius: 6px; border-color: var(--border-strong); box-shadow: 0 3px 0 rgba(38,49,66,.08); }
body[data-theme="termoformare"] .card:hover,
body[data-theme="termoformare"] .cat-hcard:hover,
body[data-theme="termoformare"] .latest-card:hover { border-color: var(--accent); box-shadow: 0 8px 20px rgba(38,49,66,.16); }
body[data-theme="termoformare"] .cat-hcard:hover .cat-hcard-n { color: #914405; }
body[data-theme="termoformare"] .latest-sec { background: linear-gradient(110deg, var(--surface-2), var(--bg)); border-color: var(--border-strong); }
body[data-theme="termoformare"] section.pd { background: var(--surface-2); border-color: var(--border-strong); }
body[data-theme="termoformare"] .pd-c { border-radius: 6px; border-color: var(--border-strong); border-top: 3px solid var(--accent); }
body[data-theme="termoformare"] .site-foot { background: #263142; color: #f1f3f5; border-top: 4px solid #c96209; }
body[data-theme="termoformare"] .site-foot h4,
body[data-theme="termoformare"] .site-foot a:hover { color: #f5aa4e; }
body[data-theme="termoformare"] .site-foot a { color: #f1f3f5; opacity: 1; }
@media (prefers-color-scheme: dark) {
  body[data-theme="termoformare"] {
    --bg: #13161b; --surface: #202731; --surface-2: #29333e;
    --border: #536172; --border-strong: #79899a;
    --text: #eef1f4; --text-2: #c4ced8; --text-3: #b4c0cc;
    --accent: #f59b38; --accent-hover: #ffb65e; --accent-soft: rgba(245,155,56,.16);
    --on-accent: #171b20; --band: #1d2631; --band-2: #303d4d; --on-band: #f1f3f5;
    --brand-accent-light: #ffb65e; --brand-accent-dark: #c96209;
  }
  body[data-theme="termoformare"] a,
  body[data-theme="termoformare"] .ph-eyebrow,
  body[data-theme="termoformare"] .ph-w,
  body[data-theme="termoformare"] .ph-bife .ico,
  body[data-theme="termoformare"] .latest-cat,
  body[data-theme="termoformare"] .cat-grup-all,
  body[data-theme="termoformare"] .cat-hcard:hover .cat-hcard-n { color: #f5a44b; }
  body[data-theme="termoformare"] a:hover { color: #ffc17a; }
  body[data-theme="termoformare"] section.ph {
    background: linear-gradient(90deg, rgba(203,217,230,.045) 1px, transparent 1px), linear-gradient(0deg, rgba(203,217,230,.045) 1px, transparent 1px), radial-gradient(ellipse at 85% 20%, rgba(245,155,56,.14), transparent 50%), linear-gradient(135deg, #171c23, #26313e 55%, #171c23);
    background-size: 36px 36px, 36px 36px, auto, auto;
  }
  body[data-theme="termoformare"] section.ph::before { background-color: rgba(224,232,240,.09); }
  body[data-theme="termoformare"] section.ph::after { background: radial-gradient(ellipse at 24% 48%, rgba(23,28,35,.8), transparent 72%); }
  body[data-theme="termoformare"] .site-nav a { color: #edf1f5; }
  body[data-theme="termoformare"] .btn, body[data-theme="termoformare"] .btn:hover { color: var(--on-accent); }
  body[data-theme="termoformare"] .btn-ghost,
  body[data-theme="termoformare"] .btn-clar { color: var(--text); }
  body[data-theme="termoformare"] .site-foot a { color: #f1f3f5; }
  body[data-theme="termoformare"] .site-foot a:hover { color: #ffc17a; }
}
