/* «Довідник власника» (src/ev.js): the /ev/ index and a topic page — an article with a side card to ask the consultant. */
.ev-head__up { margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.ev-head__up a { color: var(--muted); text-decoration: none; }
.ev-head__up a:hover { color: var(--graphite); }
.ev-head__cta { margin-top: 24px; }

.ev { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: 96px; }
.ev__text { padding-bottom: 0; line-height: 1.6; }
.ev__text h3 { margin: 24px 0 6px; font-size: 17px; line-height: 1.35; }
.ev__text ul, .ev__text ol { margin: 12px 0; padding-left: 22px; }
.ev__text ul { list-style: disc; }
.ev__text ol { list-style: decimal; }
.ev__text li::marker { color: var(--muted); }
.ev__text li + li { margin-top: 6px; }
.ev__text p + ul, .ev__text p + ol, .ev__text ul + p, .ev__text ol + p { margin-top: 12px; }
.ev__text a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ev__text a:hover { color: var(--muted); }
.ev__text code { padding: 1px 6px; border-radius: 6px; background: var(--mist); font-size: 0.92em; }
.ev-unsure { padding: 1px 7px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); font-size: 12px; font-weight: 600; white-space: nowrap; }
.ev__text blockquote { margin: 16px 0; padding: 2px 0 2px 16px; border-left: 3px solid var(--line); color: var(--muted); }
.ev-table { margin: 16px 0; overflow-x: auto; }
.ev-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.ev-table th, .ev-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ev-table th { background: var(--mist); font-weight: 600; }

.ev__side { position: sticky; top: 104px; display: grid; gap: 28px; }
.ev-ask { padding: 24px; }
.ev-ask h2 { font-size: 19px; }
.ev-ask p { margin: 8px 0 18px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.ev-ask .btn { width: 100%; }
.ev-ask .btn + .btn { margin-top: 8px; }
.ev-more h2 { margin-bottom: 10px; font-size: 15px; }
.ev-more ul { display: grid; gap: 8px; padding: 0; list-style: none; }
.ev-more a { color: var(--graphite); font-size: 15px; text-decoration: none; }
.ev-more a:hover { text-decoration: underline; text-underline-offset: 3px; }

.ev-index { display: grid; gap: 48px; padding-bottom: 96px; }
.ev-group h2 { margin-bottom: 16px; font-size: 22px; }
.ev-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; padding: 0; list-style: none; }
.ev-cards a { display: grid; align-content: start; gap: 8px; height: 100%; padding: 20px 22px; border-radius: var(--r-md); background: var(--mist); color: var(--graphite); text-decoration: none; transition: background 0.2s; }
.ev-cards a:hover { background: var(--mist-2); }
.ev-cards b { font-size: 17px; line-height: 1.3; }
.ev-cards span { color: var(--muted); font-size: 14px; line-height: 1.5; }

@media (max-width: 1000px) {
  .ev { grid-template-columns: minmax(0, 1fr); }
  .ev__side { position: static; }
}
