/* ==========================================================================
   ДамСовет — дизайн-система редизайна (ds-*)
   Источник правды по внешнему виду: design/mockups/*.html и design/screenshots/*.png
   Подключать после fonts/fonts.css. Все классы с префиксом ds-, чтобы не конфликтовать с темой Reboot.
   ========================================================================== */

/* ---------- 1. Токены ---------- */
:root {
  /* шрифты */
  --ds-font-text: 'Onest', 'Segoe UI', Arial, sans-serif;
  --ds-font-display: 'Unbounded', 'Arial Black', Arial, sans-serif;

  /* цвета: фон и поверхности */
  --ds-bg: #F3F2EE;            /* фон страницы, тёплый светло-серый */
  --ds-surface: #FFFFFF;       /* карточки, панели, шапка */
  --ds-surface-2: #FAFAF8;     /* ячейки характеристик, поля формы */

  /* цвета: текст */
  --ds-ink: #15141A;           /* заголовки, основной тёмный */
  --ds-text: #2E2C35;          /* текст статьи */
  --ds-text-2: #45424D;        /* второстепенный текст */
  --ds-muted: #5C5966;         /* подписи, мета (контраст 6:1 на --ds-bg) */

  /* линии */
  --ds-line: #E2E0DA;          /* рамки карточек */
  --ds-line-soft: #ECEAE5;     /* разделители внутри карточек */

  /* акценты */
  --ds-accent: #4D3BFE;        /* фирменный фиолетовый (оставлен от старого сайта) */
  --ds-on-accent: #FFFFFF;
  --ds-highlight: #D8F34E;     /* лайм: ярлыки рубрик на тёмном, выделение цены */

  /* тёмные блоки */
  --ds-dark: #15141A;
  --ds-dark-line: #2B2933;
  --ds-dark-border: #3A3842;
  --ds-on-dark: #FFFFFF;
  --ds-on-dark-muted: #B9B6C3;
  --ds-on-dark-faint: #8E8A99;

  /* мягкие подложки иконок рубрик */
  --ds-tint-lime: #E8F5B5;
  --ds-tint-violet: #E3DFFF;
  --ds-tint-sky: #D9E8F7;
  --ds-tint-peach: #FBE2D2;
  --ds-tint-mint: #D5F0E2;
  --ds-tint-sand: #EFE7D6;

  /* скругления */
  --ds-r-xs: 10px;
  --ds-r-sm: 12px;
  --ds-r-md: 18px;
  --ds-r-lg: 22px;
  --ds-r-xl: 28px;
  --ds-r-pill: 999px;

  /* сетка */
  --ds-container: 1280px;
  --ds-gutter: 32px;
  --ds-gap: 24px;

  /* тени */
  --ds-shadow-search: 0 10px 30px -18px rgba(21, 20, 26, 0.35);
  --ds-shadow-feature: 0 30px 60px -30px rgba(21, 20, 26, 0.6);
}

@media (max-width: 767px) {
  :root { --ds-gutter: 16px; --ds-gap: 16px; }
}

/* ---------- 2. База ---------- */
body.ds {
  margin: 0;
  background: var(--ds-bg);
  color: var(--ds-ink);
  font-family: var(--ds-font-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.ds a { color: inherit; text-decoration: none; }
.ds img { max-width: 100%; height: auto; }
.ds-container { max-width: var(--ds-container); margin: 0 auto; padding: 0 var(--ds-gutter); box-sizing: border-box; }
.ds-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ds :focus-visible { outline: 3px solid var(--ds-accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- 3. Кнопки, ярлыки, чипы ---------- */
.ds-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: var(--ds-r-sm); border: 0;
  font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.ds-btn--primary { background: var(--ds-accent); color: var(--ds-on-accent); min-height: 52px; padding: 0 24px; border-radius: 13px; font-size: 16px; }
.ds-btn--dark { background: var(--ds-dark); color: var(--ds-on-dark); }
.ds-btn--outline { background: transparent; color: var(--ds-ink); border: 1px solid var(--ds-ink); min-height: 52px; padding: 0 28px; border-radius: 14px; }
.ds-btn--icon { width: 44px; padding: 0; background: var(--ds-surface); color: var(--ds-ink); border: 1px solid var(--ds-line); }

.ds-badge {                     /* ярлык рубрики на тёмном / в статье */
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: var(--ds-r-pill);
  background: var(--ds-highlight); color: var(--ds-ink); font-size: 13px; font-weight: 700; line-height: 1.2;
}
.ds-chip {                      /* светлый чип-ссылка */
  display: inline-flex; align-items: center; padding: 8px 13px; border-radius: var(--ds-r-pill);
  background: var(--ds-surface); border: 1px solid var(--ds-line); font-size: 14px; font-weight: 500;
}
.ds-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 4. Шапка ---------- */
.ds-header { background: var(--ds-surface); border-bottom: 1px solid var(--ds-line); }
.ds-header__inner { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.ds-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ds-logo__mark {
  width: 34px; height: 34px; border-radius: var(--ds-r-xs); background: var(--ds-accent); color: var(--ds-on-accent);
  display: flex; align-items: center; justify-content: center; font-family: var(--ds-font-display); font-weight: 700; font-size: 16px;
}
.ds-logo__text { font-family: var(--ds-font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.ds-header__nav { display: flex; gap: 2px; overflow-x: auto; flex: 1 1 auto; min-width: 0; }
.ds-header__link { padding: 11px 14px; border-radius: var(--ds-r-pill); font-size: 15px; font-weight: 500; white-space: nowrap; }
.ds-header__link:hover, .ds-header__link.is-active { background: var(--ds-bg); }
.ds-header__link.is-active { font-weight: 600; }
@media (max-width: 767px) {
  .ds-header__inner { min-height: 64px; gap: 12px; }
  .ds-header__nav { display: none; }
  .ds-logo__mark { width: 30px; height: 30px; border-radius: 9px; font-size: 14px; }
  .ds-logo__text { font-size: 18px; }
  .ds-header .ds-btn__label { display: none; }   /* кнопка «Рубрики» становится иконкой */
  .ds-header__actions { margin-left: auto; display: flex; gap: 8px; }
}

/* ---------- 5. Секции и заголовки ---------- */
.ds-section { padding-bottom: 72px; }
.ds-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.ds-section__title { margin: 0; font-family: var(--ds-font-display); font-weight: 600; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; }
.ds-section__note { font-size: 14px; color: var(--ds-muted); }
@media (max-width: 767px) {
  .ds-section { padding-bottom: 32px; }
  .ds-section__title { font-size: 22px; }
  .ds-section__head { margin-bottom: 14px; }
}

/* ---------- 6. Главная: первый экран ---------- */
.ds-hero { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 56px; align-items: center; }
.ds-hero__main { display: flex; flex-direction: column; gap: 28px; }
.ds-hero__title { margin: 0; font-family: var(--ds-font-display); font-weight: 700; font-size: clamp(32px, 4.4vw, 62px); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.ds-hero__title em { font-style: normal; color: var(--ds-accent); }
@media (max-width: 767px) { .ds-hero { padding-top: 28px; padding-bottom: 24px; gap: 24px; } .ds-hero__main { gap: 16px; } }

.ds-search {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; max-width: 580px;
  background: var(--ds-surface); border: 1px solid var(--ds-line); border-radius: var(--ds-r-md); box-shadow: var(--ds-shadow-search);
}
.ds-search__input { flex: 1 1 260px; min-width: 0; height: 52px; padding: 0 14px; border: 0; outline: none; background: transparent; font: inherit; font-size: 16px; color: var(--ds-ink); }
@media (max-width: 767px) {
  .ds-search { flex-wrap: nowrap; padding: 6px; border-radius: 16px; box-shadow: none; }
  .ds-search__input { height: 44px; padding: 0 10px; }
  .ds-search .ds-btn--primary { width: 44px; min-height: 44px; padding: 0; }
  .ds-search .ds-btn__label { display: none; }
}

/* Главная запись (свежая) — тёмная карточка */
.ds-feature { display: flex; flex-direction: column; background: var(--ds-dark); color: var(--ds-on-dark); border-radius: 30px; overflow: hidden; box-shadow: var(--ds-shadow-feature); }
.ds-feature__img { display: block; width: 100%; aspect-ratio: 730 / 411; object-fit: cover; }
.ds-feature__body { padding: 26px 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.ds-feature__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ds-feature__views { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ds-on-dark-muted); }
.ds-feature__title { margin: 0; font-family: var(--ds-font-display); font-weight: 600; font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; }
@media (max-width: 767px) {
  .ds-feature { border-radius: 24px; box-shadow: none; }
  .ds-feature__body { padding: 20px; gap: 12px; }
  .ds-feature__title { font-family: var(--ds-font-text); font-size: 19px; line-height: 1.35; }
}

/* ---------- 7. Рубрики ---------- */
.ds-rubrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(224px, 100%), 1fr)); gap: 12px; }
.ds-rubric { display: flex; align-items: flex-start; gap: 14px; padding: 16px; background: var(--ds-surface); border: 1px solid var(--ds-line); border-radius: var(--ds-r-md); }
.ds-rubric__icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--ds-r-sm); background: var(--ds-tint, var(--ds-tint-sky)); display: flex; align-items: center; justify-content: center; }
.ds-rubric__icon svg { width: 22px; height: 22px; stroke: var(--ds-ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ds-rubric__name { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.ds-rubric__subs { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--ds-muted); }
@media (max-width: 767px) {   /* на телефоне — горизонтальная лента */
  .ds-rubrics { display: flex; overflow-x: auto; margin: 0 calc(var(--ds-gutter) * -1); padding: 0 var(--ds-gutter); gap: 10px; }
  .ds-rubric { flex: 0 0 136px; height: 96px; box-sizing: border-box; padding: 14px; flex-direction: column; justify-content: space-between; gap: 0; }
  .ds-rubric__icon { width: 34px; height: 34px; border-radius: var(--ds-r-xs); }
  .ds-rubric__icon svg { width: 18px; height: 18px; }
  .ds-rubric__name { font-size: 14px; line-height: 1.2; }
  .ds-rubric__subs { display: none; }
}

/* ---------- 8. Карточка записи (главная, архивы, похожие) ---------- */
.ds-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: var(--ds-gap); }
.ds-card { display: flex; flex-direction: column; background: var(--ds-surface); border: 1px solid var(--ds-line); border-radius: var(--ds-r-lg); overflow: hidden; }
.ds-card__media { position: relative; display: block; background: var(--ds-line-soft); }
.ds-card__img { display: block; width: 100%; aspect-ratio: 335 / 220; object-fit: cover; }
.ds-card__badge { position: absolute; left: 12px; top: 12px; padding: 6px 11px; border-radius: var(--ds-r-pill); background: var(--ds-surface); font-size: 13px; font-weight: 600; line-height: 1.2; max-width: calc(100% - 24px); }
.ds-card__body { padding: 18px; display: flex; flex-direction: column; gap: 14px; flex: 1 1 auto; }
.ds-card__title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; }
.ds-card__meta { margin-top: auto; font-size: 14px; color: var(--ds-muted); }
.ds-card:hover .ds-card__title { color: var(--ds-accent); }
.ds-more { display: flex; justify-content: center; margin-top: 28px; }
@media (max-width: 767px) { .ds-card__body { padding: 16px; gap: 12px; } }

/* ---------- 9. Панели: «Популярное», блок рубрики ---------- */
.ds-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: var(--ds-gap); align-items: start; padding-bottom: 96px; }
.ds-panel { background: var(--ds-surface); border: 1px solid var(--ds-line); border-radius: 30px; padding: 32px; }
.ds-panel--dark { background: var(--ds-dark); color: var(--ds-on-dark); border-color: var(--ds-dark); }
.ds-panel__title { margin: 0 0 12px; font-family: var(--ds-font-display); font-weight: 600; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; }
.ds-panel--dark .ds-panel__title { font-size: 24px; }
@media (max-width: 767px) { .ds-panel { padding: 22px; border-radius: 24px; } .ds-panel__title { font-size: 22px; } .ds-duo { padding-bottom: 32px; } }

.ds-rank-list { list-style: none; margin: 0; padding: 0; }
.ds-rank-list__item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--ds-line-soft); }
.ds-rank-list__num { font-family: var(--ds-font-display); font-weight: 700; font-size: 28px; line-height: 1.1; letter-spacing: -0.04em; color: var(--ds-accent); }
.ds-rank-list__title { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; }
.ds-rank-list__meta { display: block; margin-top: 5px; font-size: 13px; color: var(--ds-muted); }
@media (max-width: 767px) { .ds-rank-list__item { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 14px 0; } .ds-rank-list__num { font-size: 24px; } .ds-rank-list__title { font-size: 15px; } }

.ds-mini { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--ds-dark-line); }
.ds-mini__img { display: block; width: 104px; height: 68px; border-radius: var(--ds-r-sm); object-fit: cover; }
.ds-mini__title { display: block; font-size: 16px; font-weight: 600; }
.ds-mini__meta { display: block; margin-top: 4px; font-size: 13px; color: var(--ds-on-dark-muted); }

/* ---------- 10. Подвал ---------- */
.ds-footer { background: var(--ds-dark); color: var(--ds-on-dark); }
.ds-footer__inner { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; }
.ds-footer__top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.ds-footer__brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }
.ds-footer__tagline { font-size: 15px; color: var(--ds-on-dark-muted); }
.ds-footer__nav { flex: 2 1 480px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px 32px; font-size: 15px; }
.ds-footer__bottom { padding-top: 24px; border-top: 1px solid var(--ds-dark-line); font-size: 14px; color: var(--ds-on-dark-faint); }
@media (max-width: 767px) { .ds-footer__inner { padding-top: 28px; padding-bottom: 28px; gap: 20px; } .ds-footer__nav { display: none; } }

/* ---------- 11. Запись: шапка статьи ---------- */
.ds-post-head { padding-top: 28px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 24px; }
.ds-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ds-muted); }
.ds-breadcrumbs a:last-child, .ds-breadcrumbs .is-current { color: var(--ds-ink); font-weight: 600; }
.ds-post-title { margin: 0; max-width: 1120px; font-family: var(--ds-font-display); font-weight: 700; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.ds-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 14px; color: var(--ds-muted); }
.ds-post-meta__item { display: flex; flex-direction: column; gap: 2px; }
.ds-post-meta__value { font-size: 15px; font-weight: 600; color: var(--ds-ink); }
.ds-post-meta__author { display: flex; align-items: center; gap: 10px; }
.ds-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ds-tint-violet); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; overflow: hidden; }
.ds-avatar img { width: 100%; height: 100%; object-fit: cover; }

.ds-post-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: var(--ds-gap); align-items: stretch; margin-top: 8px; }
.ds-cover { border-radius: var(--ds-r-xl); overflow: hidden; background: var(--ds-surface); border: 1px solid var(--ds-line); display: flex; align-items: center; }
.ds-cover img { display: block; width: 100%; height: auto; object-fit: cover; }
.ds-toc { background: var(--ds-surface); border: 1px solid var(--ds-line); border-radius: var(--ds-r-xl); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.ds-toc__intro { margin: 0 12px; font-size: 18px; line-height: 1.55; color: var(--ds-text); }
.ds-toc__nav { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--ds-line-soft); counter-reset: ds-toc; }
.ds-toc__label { padding: 0 12px 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ds-muted); }
.ds-toc__link { display: flex; gap: 12px; padding: 10px 12px; border-radius: var(--ds-r-sm); font-size: 15px; font-weight: 500; }
.ds-toc__link::before { counter-increment: ds-toc; content: counter(ds-toc); width: 18px; flex-shrink: 0; font-weight: 700; color: var(--ds-accent); }
.ds-toc__link:hover { background: var(--ds-bg); }

/* ---------- 12. Запись: таблица «Характеристики всех моделей» ---------- */
.ds-compare { padding-bottom: 64px; }
.ds-compare__scroll { overflow-x: auto; background: var(--ds-surface); border: 1px solid var(--ds-line); border-radius: 24px; }
.ds-compare table { width: 100%; min-width: 960px; border-collapse: collapse; font-size: 15px; }
.ds-compare th { padding: 18px 12px; text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ds-muted); }
.ds-compare td { padding: 16px 12px; border-top: 1px solid var(--ds-line-soft); white-space: nowrap; }
.ds-compare th:first-child, .ds-compare td:first-child { padding-left: 20px; }
.ds-compare th:last-child, .ds-compare td:last-child { padding-right: 20px; text-align: right; }
.ds-compare td:first-child { font-family: var(--ds-font-display); font-weight: 700; font-size: 16px; }
.ds-compare td:nth-child(2) { font-weight: 600; white-space: normal; }
.ds-compare td:last-child { font-weight: 600; }
@media (max-width: 767px) { .ds-compare { padding-bottom: 32px; } }

/* ---------- 13. Запись: карточки товаров ---------- */
.ds-products { max-width: 1024px; margin: 0 auto; padding: 0 var(--ds-gutter) 72px; box-sizing: border-box; display: flex; flex-direction: column; gap: 28px; }
.ds-product { background: var(--ds-surface); border: 1px solid var(--ds-line); border-radius: var(--ds-r-xl); padding: 32px; display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 24px; }
.ds-product__head { display: flex; align-items: flex-start; gap: 20px; }
.ds-product__rank { flex-shrink: 0; font-family: var(--ds-font-display); font-weight: 700; font-size: 56px; line-height: 0.9; letter-spacing: -0.05em; color: var(--ds-accent); }
.ds-product__name { margin: 0; font-family: var(--ds-font-display); font-weight: 600; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; }
.ds-product__sku { display: block; margin-top: 8px; font-size: 14px; color: var(--ds-muted); }
.ds-product__body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; align-items: stretch; }
.ds-product__media { min-height: 240px; border-radius: 20px; background: var(--ds-surface); border: 1px solid var(--ds-line-soft); overflow: hidden; display: flex; align-items: center; justify-content: center; margin: 0; }
.ds-product__media img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: contain; }
.ds-product__text { display: flex; flex-direction: column; gap: 14px; max-width: 780px; }
.ds-product__text p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ds-text); }
@media (max-width: 767px) {
  .ds-products { gap: 16px; padding-bottom: 32px; }
  .ds-product { padding: 20px; border-radius: 22px; gap: 18px; }
  .ds-product__rank { font-size: 40px; }
  .ds-product__name { font-size: 21px; }
  .ds-product__head { gap: 14px; }
  .ds-product__media { min-height: 0; }
  .ds-product__text p { font-size: 16px; }
}

/* список характеристик: <dl class="ds-specs"> из <ul> «Ключ: значение» */
.ds-specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--ds-line-soft); border: 1px solid var(--ds-line-soft); border-radius: 20px; overflow: hidden; }
.ds-specs__item { background: var(--ds-surface-2); padding: 13px 16px; display: flex; flex-direction: column; gap: 3px; }
.ds-specs__item dt { font-size: 13px; color: var(--ds-muted); }
.ds-specs__item dd { margin: 0; font-size: 16px; font-weight: 600; }
.ds-specs__item--price { grid-column: 1 / -1; background: var(--ds-dark); color: var(--ds-on-dark); }
.ds-specs__item--price dt { color: var(--ds-on-dark-muted); }
.ds-specs__item:nth-child(odd):last-child:not(.ds-specs__item--price) { grid-column: 1 / -1; }

/* ---------- 14. Обычная типографика контента (записи, которые не рейтинги) ---------- */
.ds-entry { max-width: 780px; margin: 0 auto; font-size: 17px; line-height: 1.65; color: var(--ds-text); }
.ds-entry p { margin: 0 0 16px; }
.ds-entry h2 { margin: 40px 0 16px; font-family: var(--ds-font-display); font-weight: 600; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ds-ink); }
.ds-entry h3 { margin: 28px 0 12px; font-size: 20px; font-weight: 700; color: var(--ds-ink); }
.ds-entry ul, .ds-entry ol { margin: 0 0 16px; padding-left: 22px; }
.ds-entry li { margin-bottom: 6px; }
.ds-entry figure { margin: 24px 0; }
.ds-entry img { border-radius: var(--ds-r-md); }
.ds-entry a { color: var(--ds-accent); text-decoration: underline; text-underline-offset: 3px; }
.ds-entry blockquote { margin: 24px 0; padding: 18px 22px; background: var(--ds-surface); border-radius: var(--ds-r-md); }
.ds-entry table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ds-entry th, .ds-entry td { padding: 10px 12px; border-top: 1px solid var(--ds-line-soft); text-align: left; }

/* ---------- 15. Комментарии ---------- */
.ds-comments { background: var(--ds-surface); border: 1px solid var(--ds-line); border-radius: var(--ds-r-xl); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.ds-comments__title { margin: 0; font-family: var(--ds-font-display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }
.ds-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.ds-field input, .ds-field textarea { min-height: 48px; padding: 0 14px; border: 1px solid var(--ds-line); border-radius: var(--ds-r-sm); background: var(--ds-surface-2); font: inherit; font-size: 16px; font-weight: 400; box-sizing: border-box; }
.ds-field textarea { padding: 12px 14px; resize: vertical; }
.ds-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
@media (max-width: 767px) { .ds-comments { padding: 20px; border-radius: 22px; } }
