/* Foaia de stil a hub-ului de ghiduri.
   Un fișier static partajat, nu CSS inline pe 20 de pagini: se cache-uiește o
   dată în loc să multiplice aceiași kiloocteți de fiecare pagină generată.
   Blocul de header/footer e copiat din public/index.html — la orice schimbare
   de brand acolo, sincronizează și aici. */

:root {
  --ink: #1a1a1a;
  --brand: #FF8C00;
  --brand-dark: #e07d00;
  --brand-ink: #b45f00;
  --brand-tint: #fff4e5;
  --brand-tint-border: #ffd9a8;
  --seal: #c0281e;
  --bg: #f6f5f2;
  --ok: #1e8e3e;
  --err: #d93025;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Roboto', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

/* --- Header (identic cu index.html) --- */
.site-header {
  font-size: 16px;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.header-nav { display: flex; gap: 22px; font-size: 0.82rem; }
.header-nav a { color: #444; text-decoration: none; font-weight: 500; transition: color 0.15s; }
.header-nav a:hover { color: var(--ink); }
@media (max-width: 700px) {
  .header-nav { display: none; }
  .header-inner { justify-content: center; }
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-family: 'Archivo', 'Roboto', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.4px;
}
.logo-name .logo-pill {
  color: #fff;
  background: var(--brand);
  display: inline-block;
  font-size: 0.88em;
  line-height: 1.2;
  padding: 0 7px 1px;
  margin-left: 6px;
  border-radius: 7px;
  vertical-align: 1px;
}
.logo-mark { width: 1.75rem; height: 1.75rem; flex-shrink: 0; display: block; }

/* --- Ghiduri --- */
.ghid-wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 24px 18px 64px; }
.ghid-breadcrumb { font-size: 13px; color: #6b6b6b; margin-bottom: 12px; }
.ghid-breadcrumb a { color: #6b6b6b; }
.ghid-wrap h1 {
  font-family: 'Archivo', 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: -0.4px;
}
.ghid-byline {
  font-size: 13px;
  color: #6b6b6b;
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.ghid-lead { font-size: 1.08rem; line-height: 1.65; color: #333; margin-bottom: 22px; }
.ghid-hero { margin: 0 0 24px; }
.ghid-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
}
.ghid-wrap h2 {
  font-family: 'Archivo', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  margin: 34px 0 12px;
  color: var(--ink);
}
.ghid-wrap h3 { font-weight: 700; font-size: 1.08rem; margin: 22px 0 8px; color: var(--ink); }
.ghid-wrap p, .ghid-wrap li { line-height: 1.7; color: #333; }
.ghid-wrap a { color: var(--brand-ink); }
.ghid-wrap table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.95rem; }
.ghid-wrap th, .ghid-wrap td { border: 1px solid #e6e6e6; padding: 8px 10px; text-align: left; }
.ghid-wrap th { background: #fafafa; font-weight: 700; }
.ghid-tabel-wrap { overflow-x: auto; }

.ghid-cta {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  background: var(--brand-tint);
  border: 1px solid var(--brand-tint-border);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 28px 0;
}
.ghid-cta-text strong { display: block; font-weight: 800; color: var(--ink); }
.ghid-cta-text span { font-size: 0.92rem; color: #6b6b6b; }
.ghid-cta-btn {
  background: var(--brand); color: #fff; font-weight: 700; text-decoration: none;
  padding: 11px 20px; border-radius: 8px; white-space: nowrap;
}
.ghid-cta-btn:hover { background: var(--brand-dark); }

.ghid-autor { border-top: 1px solid #e6e6e6; margin-top: 36px; padding-top: 16px; font-size: 0.92rem; color: #555; }
.ghid-autor-nota { color: #6b6b6b; font-size: 0.86rem; }
.ghid-citeste { margin-top: 28px; }
.ghid-citeste h2 { font-size: 1.1rem; }
.ghid-faq h3 { margin-top: 20px; }

.ghid-index-list { list-style: none; padding: 0; }
.ghid-index-list li { border-bottom: 1px solid #e6e6e6; padding: 14px 0; }
.ghid-index-list a { font-weight: 700; color: var(--ink); text-decoration: none; }
.ghid-index-list a:hover { color: var(--brand-ink); }
.ghid-index-list p { margin: 4px 0 0; color: #6b6b6b; font-size: 0.92rem; }

@media (max-width: 600px) {
  .ghid-wrap h1 { font-size: 1.55rem; }
  .ghid-wrap h2 { font-size: 1.2rem; }
  .ghid-cta { flex-direction: column; align-items: stretch; }
  .ghid-cta-btn { text-align: center; }
}
