/* Серверные SEO-страницы /auto/… (smart-search/agents/seo_page.html): лот по VIN, хаб марка/модель,
   «не найдено», «продано». Вид А/Б/В — токены --sk-* из css/skins/{a,b,c}.css, только под html[data-skin].
   Карточки машин в хабе — общая js/lot-card (css/lot-card.css), тут только сетка. */

html[data-skin] .seo-main { padding: 24px 0 48px; }
html[data-skin] .seo-main > .container { max-width: var(--sk-wrap); margin: 0 auto; padding: 0 var(--sk-gut); box-sizing: border-box; }
html[data-skin] .seo-lot,
html[data-skin] .seo-hub,
html[data-skin] .seo-empty { max-width: 960px; color: var(--sk-ink); font-family: var(--sk-font); }
html[data-skin] .seo-main h1 { font: 600 clamp(22px, 3vw, 30px)/1.25 var(--sk-font); margin: 0 0 8px; color: var(--sk-ink); overflow-wrap: anywhere; }
html[data-skin] .seo-main h2 { font: 600 18px/1.3 var(--sk-font); margin: 0 0 10px; color: var(--sk-ink); }
html[data-skin] .seo-main a { color: var(--sk-ink); }
html[data-skin] .seo-main p { line-height: 1.55; }

/* ---------- Лот по VIN ---------- */
html[data-skin] .seo-lead { color: var(--sk-muted); margin: 0 0 20px; overflow-wrap: anywhere; }
html[data-skin] .seo-lead--sold { color: var(--sk-ink); font-weight: 600; }
html[data-skin] .seo-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
html[data-skin] .seo-photo { margin: 0; border-radius: var(--sk-r, 10px); overflow: hidden; background: var(--sk-soft); }
html[data-skin] .seo-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
html[data-skin] .seo-facts { list-style: none; padding: 0; margin: 0 0 18px; }
html[data-skin] .seo-facts li { padding: 8px 0; border-bottom: 1px solid var(--sk-line); overflow-wrap: anywhere; }
html[data-skin] .seo-facts strong { display: inline-block; min-width: 7.5rem; color: var(--sk-muted); font-weight: 500; }
html[data-skin] .seo-actions,
html[data-skin] .seo-hub-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0; }
html[data-skin] .seo-actions a,
html[data-skin] .seo-hub-actions a {
  display: inline-block; padding: 11px 18px; border-radius: var(--sk-login-r, 999px); text-decoration: none;
  font-weight: 600; background: var(--sk-accent); color: #fff; border: 1px solid var(--sk-accent);
}
html[data-skin] .seo-actions a.secondary,
html[data-skin] .seo-hub-actions a.secondary { background: transparent; color: var(--sk-ink); border-color: var(--sk-line); }
html[data-skin] .seo-note { margin-top: 28px; color: var(--sk-muted); font-size: 15px; }
html[data-skin] .seo-about,
html[data-skin] .seo-extras { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--sk-line); }
html[data-skin] .seo-about p { margin: 0 0 12px; }
html[data-skin] .seo-extras ul { padding-left: 1.1rem; }
html[data-skin] .seo-extras li { margin: 4px 0; overflow-wrap: anywhere; }

/* ---------- Хаб марка/модель ---------- */
html[data-skin] .seo-hub { max-width: none; }
html[data-skin] .seo-kicker { color: var(--sk-muted); font-size: 13px; margin: 0 0 6px; }
html[data-skin] .seo-hub-lead { color: var(--sk-muted); margin: 0 0 18px; }
html[data-skin] .seo-hub-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
html[data-skin] .seo-hub-item a {
  display: flex; gap: 14px; align-items: center; text-decoration: none; color: inherit;
  border: 1px solid var(--sk-line); border-radius: var(--sk-r, 10px); padding: 10px; background: #fff;
}
html[data-skin] .seo-hub-item img { width: 120px; height: 90px; flex-shrink: 0; object-fit: cover; border-radius: 8px; background: var(--sk-soft); }
html[data-skin] .seo-hub-item__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
html[data-skin] .seo-hub-item code { font-size: 13px; color: var(--sk-muted); overflow-wrap: anywhere; }
/* Карточки сайта (js/seo-lot-cards.js) вместо списка ссылок */
html[data-skin] .seo-hub-list.is-cards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
html[data-skin] .seo-hub-list.is-cards > li { min-width: 0; }

/* ---------- Подвал ---------- */
html[data-skin] .seo-footer { padding: 24px 0; text-align: center; background: var(--sk-soft); color: var(--sk-muted); font-size: 14px; border-top: 1px solid var(--sk-line); }
html[data-skin] .seo-footer .container { display: block; }
html[data-skin] .seo-footer p { margin: 0; line-height: 1.6; }
html[data-skin] .seo-footer a { color: var(--sk-ink); }
html[data-skin="b"] .seo-footer { background: var(--sk-hd-bg); color: rgba(255, 255, 255, .65); border: 0; }
html[data-skin="b"] .seo-footer a { color: #fff; }
html[data-skin="c"] .seo-footer { background: #fff; font-size: 12.5px; }

@media (max-width: 720px) {
  html[data-skin] .seo-main { padding: 16px 0 32px; }
  html[data-skin] .seo-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  html[data-skin] .seo-facts strong { min-width: 6.5rem; }
  html[data-skin] .seo-hub-list.is-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
