/* STELS: таблицы в статьях блога и новостях — 02.12.2026.
   Разметка: <div class="table-responsive st-cmp-wrap"><table class="table st-cmp">…</table></div>
   Светлая и тёмная тема: body.theme-dark и авто-тема (prefers-color-scheme + body.theme-default), как в aspro-look 1.4.
   Подключение: /include/header_include/head_custom.php. Исходник: OneDrive BitrixSt/site-custom/st-article/. */
.st-cmp-wrap{
  --st-t-line:#dde3ea; --st-t-head:#257de3; --st-t-head-c:#fff; --st-t-zebra:#f5f8fc; --st-t-hover:#eaf2fd; --st-t-first:#222228;
  overflow-x:auto; -webkit-overflow-scrolling:touch; margin:18px 0 26px;
  border:1px solid var(--st-t-line); border-radius:10px;
}
body.theme-dark .st-cmp-wrap{--st-t-line:#3a3a3a; --st-t-head:#1f5fae; --st-t-zebra:#232323; --st-t-hover:#2a3240; --st-t-first:#f2f2f4}
@media (prefers-color-scheme:dark){
  body.theme-default .st-cmp-wrap{--st-t-line:#3a3a3a; --st-t-head:#1f5fae; --st-t-zebra:#232323; --st-t-hover:#2a3240; --st-t-first:#f2f2f4}
}
.st-cmp-wrap table.st-cmp{width:100%; margin:0; border:0; border-collapse:collapse; background:transparent; font-size:15px; line-height:1.4}
.st-cmp-wrap table.st-cmp > thead > tr > th,
.st-cmp-wrap table.st-cmp > thead > tr > td,
.st-cmp-wrap table.st-cmp > tbody > tr > th,
.st-cmp-wrap table.st-cmp > tbody > tr > td,
.st-cmp-wrap table.st-cmp > tr > td{
  border:0; border-bottom:1px solid var(--st-t-line); padding:11px 14px; vertical-align:top; text-align:left; background:transparent;
}
.st-cmp-wrap table.st-cmp > thead > tr > th,
.st-cmp-wrap table.st-cmp > thead > tr > td{background:var(--st-t-head); color:var(--st-t-head-c); font-weight:600; font-size:14px; letter-spacing:.01em}
.st-cmp-wrap table.st-cmp > tbody > tr:nth-child(even) > td{background:var(--st-t-zebra)}
.st-cmp-wrap table.st-cmp > tbody > tr:hover > td{background:var(--st-t-hover)}
.st-cmp-wrap table.st-cmp > tbody > tr:last-child > td{border-bottom:0}
.st-cmp-wrap table.st-cmp > tbody > tr > td:first-child{font-weight:500; color:var(--st-t-first)}
.st-cmp-wrap table.st-cmp a{text-decoration:underline; text-underline-offset:2px}
@media (max-width:600px){
  .st-cmp-wrap table.st-cmp{font-size:14px}
  .st-cmp-wrap table.st-cmp > thead > tr > th, .st-cmp-wrap table.st-cmp > thead > tr > td, .st-cmp-wrap table.st-cmp > tbody > tr > td{padding:9px 10px}
}
