/* nasveti.css — skupni slog za statične članke /nasveti/. Brand: DM Sans, teal #0D9488. */
:root {
  --teal: #0D9488;
  --teal-dark: #0B7A71;
  --ink: #1A1A1A;
  --muted: #6B7280;
  --muted-2: #9CA3AF;
  --line: #E5E7EB;
  --bg: #F5F5F2;
  --tealwash: #F0FDFA;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  max-width: 820px; margin: 0 auto; padding: 0 20px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.site-header img { height: 40px; width: auto; }
.site-header .cta-top {
  font-size: 14px; font-weight: 600; color: var(--teal);
  text-decoration: none; padding: 8px 14px; border-radius: 10px;
  border: 1px solid var(--teal);
}
.site-header .cta-top:hover { background: var(--tealwash); }

/* ── Layout ── */
main { max-width: 720px; margin: 0 auto; padding: 0 20px 64px; }

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 13px; color: var(--muted-2);
  padding: 20px 0 4px; display: flex; gap: 8px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { color: var(--line); }

/* ── Article head ── */
h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  line-height: 1.18; font-weight: 700;
  margin: 16px 0 12px; letter-spacing: -0.01em;
}
.meta-line { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.meta-line strong { color: var(--ink); font-weight: 600; }

/* ── Answer block (GEO TL;DR) ── */
.answer {
  background: var(--tealwash);
  border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 0 0 32px;
  font-size: 17px;
}
.answer .label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 6px;
}
.answer p { margin: 0; }

/* ── Body typography ── */
.body h2 {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  line-height: 1.25; font-weight: 700;
  margin: 40px 0 14px; letter-spacing: -0.01em;
}
.body h3 {
  font-size: 1.15rem; font-weight: 700; margin: 28px 0 10px;
}
.body p { margin: 0 0 16px; }
.body ul, .body ol { margin: 0 0 20px; padding-left: 24px; }
.body li { margin-bottom: 8px; }
.body strong { font-weight: 700; }
.body a { text-decoration: underline; text-underline-offset: 2px; }

/* Steps (numbered process) */
.steps { list-style: none; padding: 0; counter-reset: step; margin: 0 0 24px; }
.steps li {
  position: relative; padding: 4px 0 4px 46px; margin-bottom: 16px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 2px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--teal); color: #fff;
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 24px; -webkit-overflow-scrolling: touch; }
table {
  width: 100%; border-collapse: collapse; font-size: 15px;
  background: #fff; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line);
}
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: #F9FAFB; font-weight: 700; font-size: 13px; color: var(--muted); }
tr:last-child td { border-bottom: none; }

/* Callout note */
.note {
  background: #FFFBEB; border-left: 4px solid #F59E0B;
  border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 0 0 24px;
  font-size: 15px;
}

/* ── FAQ ── */
.faq { margin: 44px 0 0; }
.faq h2 { margin-bottom: 18px; }
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 20px; margin-bottom: 12px;
}
.faq-item h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.faq-item p { margin: 0; font-size: 15px; color: #374151; }

/* ── Author box ── */
.author {
  display: flex; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 20px; margin: 44px 0 0;
}
.author .avatar {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
}
.author .name { font-weight: 700; font-size: 16px; }
.author .role { font-size: 14px; color: var(--muted); margin: 2px 0 6px; }
.author .contact { font-size: 14px; }
.author .contact a { text-decoration: none; font-weight: 600; }

/* ── CTA ── */
.cta {
  margin: 40px 0 0; padding: 28px 24px; text-align: center;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: 16px; color: #fff;
}
.cta h2 { color: #fff; font-size: 1.4rem; margin: 0 0 8px; }
.cta p { color: rgba(255,255,255,0.9); margin: 0 0 18px; font-size: 15px; }
.cta a {
  display: inline-block; background: #fff; color: var(--teal-dark);
  font-weight: 700; text-decoration: none; padding: 14px 32px; border-radius: 12px;
}
.cta a:hover { background: #F0FDFA; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--line); background: var(--bg);
  font-size: 13px; color: var(--muted-2);
}
.site-footer .inner {
  max-width: 720px; margin: 0 auto; padding: 24px 20px;
  display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: center;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.site-footer .sep { color: var(--line); }

/* ── Hub (article index) ── */
.hub-intro { padding: 24px 0 8px; }
.hub-intro p { color: var(--muted); font-size: 17px; margin-top: 8px; }
.card-list { display: grid; gap: 14px; margin: 24px 0 0; }
.card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 22px; text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: var(--teal); box-shadow: 0 2px 10px rgba(13,148,136,0.10); }
.card h2 { font-size: 1.15rem; font-weight: 700; margin: 0 0 6px; }
.card p { font-size: 15px; color: var(--muted); margin: 0; }
.card .date { font-size: 13px; color: var(--muted-2); margin-top: 10px; }
