/* Страницы справочника автомобилей (марка, модель, поколение) */
.cn-vehicle { margin-bottom: 30px; }
.cn-vehicle__logo img { max-height: 96px; width: auto; margin-bottom: 12px; }
.cn-vehicle__title { margin-bottom: 14px; }
.cn-vehicle__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 18px; }
.cn-vehicle__facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; opacity: .65; }
.cn-vehicle__facts dd { margin: 2px 0 0; font-weight: 600; }
.cn-vehicle__image { margin: 0 0 18px; }
.cn-vehicle__image img { width: 100%; height: auto; border-radius: 4px; }

.cn-specs { margin: 0 0 34px; }
.cn-specs h2, .cn-children h2, .cn-news-heading { font-size: 22px; margin: 0 0 14px; }
.cn-specs h3 { font-size: 17px; margin: 22px 0 10px; }
.cn-specs__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cn-specs__table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.cn-specs__table th, .cn-specs__table td { padding: 7px 10px; border: 0; border-bottom: 1px solid rgba(0, 0, 0, .09); text-align: left; vertical-align: top; }
.cn-specs__table thead th { font-weight: 700; font-size: 14px; border-bottom: 2px solid rgba(0, 0, 0, .2); white-space: nowrap; }
.cn-specs__table tbody th { font-size: 13px; font-weight: 400; opacity: .7; width: 30%; }
.cn-specs__table tbody tr:nth-child(even) { background: rgba(0, 0, 0, .025); }
.cn-specs__dims { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 20px; margin: 0; }
.cn-specs__dims dt { font-size: 12px; opacity: .65; }
.cn-specs__dims dd { margin: 2px 0 0; font-weight: 600; }
.cn-specs__notes { font-size: 13px; opacity: .7; margin-top: 14px; }

.cn-children { margin: 0 0 34px; }
.cn-children__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cn-children__item a { display: block; color: inherit; text-decoration: none; }
.cn-children__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: rgba(0, 0, 0, .05); margin-bottom: 6px; }
.cn-children__img img { width: 100%; height: 100%; object-fit: cover; }
.cn-children__name { display: block; font-weight: 600; line-height: 1.3; }
.cn-children__count { display: block; font-size: 12px; opacity: .65; }

.s-dark .cn-specs__table th, .s-dark .cn-specs__table td { border-color: rgba(255, 255, 255, .12); }
.s-dark .cn-specs__table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .04); }
.s-dark .cn-children__img { background: rgba(255, 255, 255, .06); }

@media (max-width: 540px) {
    .cn-specs__table { font-size: 13px; }
    .cn-specs__table th, .cn-specs__table td { padding: 6px 7px; }
    .cn-specs__table tbody th { width: auto; min-width: 96px; }
    .cn-vehicle__facts { gap: 8px 18px; }
}

/* «Все авто»: каталог марок */
.cn-catalog__intro { margin: 0 0 22px; opacity: .75; }
.cn-catalog { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.cn-catalog__item a { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 8px; border: 1px solid rgba(0, 0, 0, .08); border-radius: 6px; color: inherit; text-decoration: none; height: 100%; }
.cn-catalog__item a:hover { border-color: rgba(0, 0, 0, .25); }
.cn-catalog__logo { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.cn-catalog__logo img { max-width: 64px; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.cn-catalog__letter { width: 56px; height: 56px; border-radius: 50%; background: rgba(0, 0, 0, .06); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; }
.cn-catalog__name { font-weight: 600; line-height: 1.25; }
.cn-catalog__count { font-size: 12px; opacity: .6; margin-top: 2px; }
.s-dark .cn-catalog__item a { border-color: rgba(255, 255, 255, .12); }
.s-dark .cn-catalog__letter { background: rgba(255, 255, 255, .08); }
