/* Статті довідника. Кольори — змінні з style.css */
.short {
  margin: 1.6em 0 2.2em; padding: 22px 26px; border-radius: var(--radius, 12px);
  background: var(--sage-soft); border: 0;
}
.short-title { margin: 0 0 .5em; font-weight: 600; color: var(--sage-ink); }
.short ul { margin: 0; padding-left: 1.2em; }
.short li + li { margin-top: .35em; }

.cards-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.cards-list li { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius, 12px); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.cards-list li:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.cards-list li + li { margin-top: 0; }
.cards-list a { font-weight: 600; }
.cards-list p { margin: .2em 0 0; color: var(--muted); font-size: .95rem; }

.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style-position: outside; }
.faq summary::marker { color: var(--peach-line); }
.faq details p { margin: .6em 0 0; }

.related ul, .sources ul { padding-left: 1.2em; }
.sources { font-size: .92rem; color: var(--muted); }
.sources h2 { font-size: 1.15rem; }
.disclaimer { margin-top: 2.5em; padding-top: 1em; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }

.figure { margin: 1.5em 0; }
.figure svg { display: block; width: 100%; height: auto; }
.figure figcaption { margin-top: .5em; font-size: .9rem; color: var(--muted); }

.cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
  margin: 2em 0; padding: 18px 24px; border-radius: var(--radius, 12px); background: var(--blue-soft);
}
.cta p { margin: 0; }
.cta a { font-weight: 600; }

/* Короткі відповіді (/vidpovidi/): відповідь крупно на першому екрані */
.verdict { margin: 1.2em 0 2em; padding: 20px 24px; border-radius: var(--radius, 12px); border-left: 6px solid; }
.verdict p { margin: 0; }
.verdict-word { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.verdict-text { margin-top: .4em !important; font-size: 1.15rem; line-height: 1.5; }
.verdict-good { background: var(--sage-soft); border-color: var(--sage-ink); }
.verdict-good .verdict-word { color: var(--sage-ink); }
.verdict-bad { background: var(--blush); border-color: var(--peach-ink); }
.verdict-bad .verdict-word { color: var(--peach-ink); }
.verdict-maybe { background: var(--butter); border-color: var(--sand-ink); }
.verdict-maybe .verdict-word { color: var(--sand-ink); }
.basis { margin: 2em 0; padding: 16px 22px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm, 10px); }
.basis h2 { margin-top: 0; font-size: 1.1rem; }
.basis ul { margin: 0; padding-left: 1.2em; }

/* Технічні схеми — лінії й підписи кольором тексту, щоб читалися в обох темах */
.scheme svg { max-width: 40rem; margin: 0 auto; }
.scheme text { fill: var(--text); font: 17px/1.2 system-ui, sans-serif; }
.scheme .s-muted { fill: var(--muted); }
.scheme .s-line { stroke: var(--text); fill: none; stroke-width: 2; }
.scheme .s-thin { stroke: var(--muted); fill: none; stroke-width: 1.2; stroke-dasharray: 4 3; }
.scheme .s-ground { fill: var(--sand-soft); stroke: none; }
.scheme .s-house { fill: var(--surface); stroke: var(--text); stroke-width: 2; }
.scheme .s-cable { stroke: var(--peach-ink); fill: none; stroke-width: 3; }
.scheme .s-pe { stroke: var(--sage-ink); fill: none; stroke-width: 3; }
.scheme .s-metal { fill: var(--sheath); stroke: none; }
.scheme .s-bad { stroke: var(--peach-ink); stroke-width: 2.5; fill: none; }
