/*--------------------------------------------------------------
  Blog — стили в дизайн-системе лендинга /sale.
  Используются только переменные темы из style.css (--primary,
  --secondary, --ternary, --accent, --web-wash, --border), поэтому
  тёмная и светлая темы работают автоматически.
--------------------------------------------------------------*/

:root {
  /* Деликатная граница как у карточек на /sale, а не яркий --border (#eaeaea) */
  --cs-blog-border: rgba(255, 255, 255, 0.08);
}
body.light-theme {
  --cs-blog-border: rgba(0, 0, 0, 0.08);
}

.cs_blog_page {
  padding-top: 160px;
}
@media (max-width: 991px) {
  .cs_blog_page {
    padding-top: 120px;
  }
}

/* Хлебные крошки */
.cs_breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--secondary);
}
.cs_breadcrumb a {
  color: var(--secondary);
  transition: color 0.3s ease;
}
.cs_breadcrumb a:hover {
  color: var(--accent);
}
.cs_breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 10px;
  opacity: 0.5;
}
.cs_breadcrumb .cs_breadcrumb_current {
  color: var(--primary);
}

/*--------------------------------------------------------------
  Шапка блога
--------------------------------------------------------------*/
.cs_blog_intro {
  /*max-width: 760px;*/
}
.cs_blog_intro .cs_section_subtitle {
  display: inline-block;
  color: var(--accent);
  margin-bottom: 16px;
}

/* Фильтр по категориям */
.cs_blog_filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 50px;
  padding: 0;
  list-style: none;
}
.cs_blog_chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--cs-blog-border);
  background: transparent;
  color: var(--secondary);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--primary-font);
  text-decoration: none;
}
.cs_blog_chip:hover {
  border-color: var(--accent);
  color: var(--primary);
}
.cs_blog_chip.cs_active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d0d0d;
}
body.light-theme .cs_blog_chip.cs_active {
  color: #ffffff;
}

/*--------------------------------------------------------------
  Сетка карточек
--------------------------------------------------------------*/
.cs_blog_grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: row dense;
  gap: 30px;
}
/* Размеры плиток бенто (по ширине в 6-колоночной сетке) */
.cs_blog_card {
  grid-column: span 2;
}
.cs_blog_card_wide {
  grid-column: span 3;
}
.cs_blog_card_big {
  grid-column: span 4;
}

/* Крупные плитки — горизонтальная компоновка: обложка слева, текст справа */
@media (min-width: 768px) {
  .cs_blog_card.cs_blog_card_wide,
  .cs_blog_card.cs_blog_card_big {
    flex-direction: row;
  }
  .cs_blog_card.cs_blog_card_wide > .cs_blog_cover,
  .cs_blog_card.cs_blog_card_big > .cs_blog_cover {
    aspect-ratio: auto;
    width: 44%;
    flex-shrink: 0;
  }
  .cs_blog_card.cs_blog_card_big .cs_blog_card_title {
    font-size: 26px;
  }
  .cs_blog_card.cs_blog_card_big > .cs_blog_card_body,
  .cs_blog_card.cs_blog_card_wide > .cs_blog_card_body {
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .cs_blog_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .cs_blog_card {
    grid-column: span 1;
  }
  .cs_blog_card_wide,
  .cs_blog_card_big {
    grid-column: span 2;
  }
}
@media (max-width: 575px) {
  .cs_blog_grid {
    grid-template-columns: 1fr;
  }
  .cs_blog_card,
  .cs_blog_card_wide,
  .cs_blog_card_big {
    grid-column: span 1;
  }
}

.cs_blog_card {
  display: flex;
  flex-direction: column;
  background: var(--ternary);
  border: 1px solid var(--cs-blog-border);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.cs_blog_card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}
.cs_blog_card.cs_hidden {
  display: none;
}

/* Обложка-градиент с иконкой категории */
.cs_blog_cover {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cs_blog_cover i {
  font-size: 56px;
  color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.25));
  position: relative;
  z-index: 1;
}
.cs_blog_cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.18), transparent 55%);
}
.cs_blog_cat_badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(13, 13, 13, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Палитра обложек по категориям */
.cs_cat_hosting  { background: linear-gradient(135deg, #1f8a52, #0c6b3a); }
.cs_cat_domains  { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.cs_cat_ssl      { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.cs_cat_seo      { background: linear-gradient(135deg, #ea580c, #9a3412); }
.cs_cat_landing  { background: linear-gradient(135deg, #db2777, #831843); }
.cs_cat_ecommerce{ background: linear-gradient(135deg, #0891b2, #155e75); }
.cs_cat_vps      { background: linear-gradient(135deg, #475569, #1e293b); }
.cs_cat_dev      { background: linear-gradient(135deg, #ca8a04, #854d0e); }

.cs_blog_card_body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px;
  gap: 14px;
}
.cs_blog_meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--secondary);
}
.cs_blog_meta i {
  color: var(--accent);
  margin-right: 6px;
}
.cs_blog_card_title {
  font-size: 22px;
  line-height: 1.32;
  margin: 0;
  color: var(--primary);
  font-weight: 600;
}
.cs_blog_card_title a {
  color: inherit;
  transition: color 0.3s ease;
}
.cs_blog_card_title a:hover {
  color: var(--accent);
}
.cs_blog_card_excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--secondary);
}
.cs_blog_readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}
.cs_blog_readmore i {
  transition: transform 0.3s ease;
}
.cs_blog_card:hover .cs_blog_readmore i {
  transform: translateX(5px);
}

/*--------------------------------------------------------------
  Флагманская карточка
--------------------------------------------------------------*/
.cs_blog_featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: var(--ternary);
  border: 1px solid var(--cs-blog-border);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 50px;
  transition: border-color 0.35s ease;
}
.cs_blog_featured:hover {
  border-color: var(--accent);
}
.cs_blog_featured .cs_blog_cover {
  aspect-ratio: auto;
  min-height: 340px;
}
.cs_blog_featured .cs_blog_cover i {
  font-size: 84px;
}
.cs_blog_featured_body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.cs_blog_featured_label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 16px;
  border-radius: 50px;
  background: var(--accent);
  color: #0d0d0d;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
body.light-theme .cs_blog_featured_label {
  color: #fff;
}
.cs_blog_featured_title {
  font-size: 38px;
  line-height: 1.2;
  margin: 0;
  color: var(--primary);
  font-weight: 600;
}
.cs_blog_featured_title a {
  color: inherit;
}
.cs_blog_featured_title a:hover {
  color: var(--accent);
}
@media (max-width: 991px) {
  .cs_blog_featured {
    grid-template-columns: 1fr;
  }
  .cs_blog_featured .cs_blog_cover {
    min-height: 220px;
  }
  .cs_blog_featured_body {
    padding: 32px;
  }
  .cs_blog_featured_title {
    font-size: 28px;
  }
}

.cs_blog_empty {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--secondary);
  font-size: 18px;
}

/*--------------------------------------------------------------
  Страница статьи
--------------------------------------------------------------*/
.cs_article_head {
  /*max-width: 820px;*/
}
.cs_article_cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: var(--accent);
  color: #0d0d0d;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}
body.light-theme .cs_article_cat {
  color: #fff;
}
.cs_article_title {
  font-size: 52px;
  line-height: 1.12;
  margin: 0 0 24px;
  color: var(--primary);
  font-weight: 600;
}
@media (max-width: 767px) {
  .cs_article_title {
    font-size: 34px;
  }
}
.cs_article_meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  color: var(--secondary);
}
.cs_article_meta i {
  color: var(--accent);
  margin-right: 7px;
}

.cs_article_cover {
  border-radius: 15px;
  min-height: 320px;
  margin: 44px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cs_article_cover i {
  font-size: 96px;
  color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.3));
}
@media (max-width: 767px) {
  .cs_article_cover {
    min-height: 200px;
  }
  .cs_article_cover i {
    font-size: 64px;
  }
}

/* Сетка статьи: оглавление + тело */
.cs_article_layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 991px) {
  .cs_article_layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.cs_article_toc {
  position: sticky;
  top: 120px;
  border: 1px solid var(--cs-blog-border);
  border-radius: 15px;
  padding: 24px;
  background: var(--ternary);
}
.cs_article_toc_title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin: 0 0 16px;
}
.cs_article_toc ol {
  list-style: none;
  counter-reset: toc;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cs_article_toc li {
  counter-increment: toc;
}
.cs_article_toc a {
  display: flex;
  gap: 10px;
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.4;
  transition: color 0.3s ease;
}
.cs_article_toc a::before {
  content: counter(toc);
  color: var(--accent);
  font-weight: 700;
}
.cs_article_toc a:hover {
  color: var(--primary);
}
@media (max-width: 991px) {
  .cs_article_toc {
    position: static;
  }
}
.cs_article_layout.cs_no_toc {
  display: block;
}
.cs_article_layout.cs_no_toc .cs_article_body {
  margin: 0 auto;
}

/*--------------------------------------------------------------
  Типографика тела статьи
--------------------------------------------------------------*/
.cs_article_body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--secondary);
  max-width: 760px;
}
.cs_article_body > *:first-child {
  margin-top: 0;
}
.cs_article_body p {
  margin: 0 0 24px;
}
.cs_article_body h2 {
  font-size: 32px;
  line-height: 1.25;
  color: var(--primary);
  margin: 48px 0 20px;
  font-weight: 600;
  scroll-margin-top: 110px;
}
.cs_article_body h3 {
  font-size: 23px;
  color: var(--primary);
  margin: 36px 0 16px;
  font-weight: 600;
  scroll-margin-top: 110px;
}
.cs_article_body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cs_article_body ul,
.cs_article_body ol {
  margin: 0 0 24px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cs_article_body ul li {
  position: relative;
  padding-left: 30px;
}
.cs_article_body ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent);
  font-size: 14px;
}
.cs_article_body ol {
  counter-reset: li;
}
.cs_article_body ol li {
  position: relative;
  padding-left: 38px;
  counter-increment: li;
}
.cs_article_body ol li::before {
  content: counter(li);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #0d0d0d;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.light-theme .cs_article_body ol li::before {
  color: #fff;
}
.cs_article_body blockquote {
  margin: 32px 0;
  padding: 22px 28px;
  border-left: 3px solid var(--accent);
  background: var(--gray);
  border-radius: 0 12px 12px 0;
  color: var(--primary);
  font-size: 20px;
  line-height: 1.6;
}
.cs_article_body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 28px;
  font-size: 16px;
}
.cs_article_body th,
.cs_article_body td {
  border: 1px solid var(--cs-blog-border);
  padding: 14px 18px;
  text-align: left;
}
.cs_article_body th {
  background: var(--gray);
  color: var(--primary);
  font-weight: 600;
}

/* Информационный callout */
.cs_callout {
  display: flex;
  gap: 16px;
  margin: 32px 0;
  padding: 22px 26px;
  border: 1px solid var(--accent);
  border-radius: 14px;
  background: var(--gray);
}
.cs_callout i {
  color: var(--accent);
  font-size: 22px;
  margin-top: 2px;
}
.cs_callout p {
  margin: 0 !important;
  color: var(--primary);
  font-size: 16px;
  line-height: 1.6;
}

/* Inline-CTA на money-страницу */
.cs_article_cta {
  margin: 48px 0;
  padding: 40px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(105, 229, 132, 0.14), rgba(105, 229, 132, 0.04));
  border: 1px solid var(--accent);
  text-align: center;
}
.cs_article_cta h3 {
  font-size: 26px;
  color: var(--primary);
  margin: 0 0 12px;
  font-weight: 600;
}
.cs_article_cta p {
  margin: 0 0 26px;
  color: var(--secondary);
}

/* Блок автора (E-E-A-T) */
.cs_article_author {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 48px 0;
  padding: 28px;
  border: 1px solid var(--cs-blog-border);
  border-radius: 15px;
  background: var(--ternary);
}
.cs_article_author_logo {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  font-family: var(--primary-font);
}
.cs_article_author_name {
  color: var(--primary);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
}
.cs_article_author_desc {
  margin: 0;
  font-size: 15px;
  color: var(--secondary);
}

/* Похожие статьи */
.cs_related_title {
  font-size: 34px;
  color: var(--primary);
  margin: 0 0 36px;
  font-weight: 600;
}

/* Пагинация */
.cs_blog_pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 60px;
}
.cs_blog_page_num,
.cs_blog_page_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--cs-blog-border);
  color: var(--secondary);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}
.cs_blog_page_num:hover,
.cs_blog_page_btn:hover {
  border-color: var(--accent);
  color: var(--primary);
}
.cs_blog_page_num.cs_active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d0d0d;
}
body.light-theme .cs_blog_page_num.cs_active {
  color: #ffffff;
}
.cs_blog_page_btn.cs_disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Контент Editor.js: изображения, врезки, таблицы, код */
.cs_article_figure,
.cs_article_embed {
  margin: 32px 0;
}
.cs_article_figure img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}
.cs_article_figure figcaption,
.cs_article_embed figcaption {
  margin-top: 12px;
  font-size: 15px;
  color: var(--secondary);
  text-align: center;
}
.cs_article_embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
}
.cs_article_hr {
  border: 0;
  height: 1px;
  background: var(--cs-blog-border);
  margin: 40px 0;
}
.cs_article_quote {
  margin: 32px 0;
}
.cs_article_quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 15px;
  color: var(--accent);
}
.cs_article_code {
  background: var(--web-wash);
  border: 1px solid var(--cs-blog-border);
  border-radius: 14px;
  padding: 20px 24px;
  overflow-x: auto;
  margin: 28px 0;
}
.cs_article_code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  color: var(--primary);
  white-space: pre;
}
.cs_article_table_wrap {
  overflow-x: auto;
  margin: 28px 0;
}
.cs_article_warning {
  border-left: 3px solid var(--accent);
  background: var(--web-wash);
  border-radius: 0 14px 14px 0;
  padding: 18px 24px;
  margin: 28px 0;
}
.cs_article_warning_title {
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 6px;
}
.cs_article_checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.cs_article_check {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: var(--secondary);
}
.cs_article_check::before {
  content: "\f0c8";
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
  position: absolute;
  left: 0;
  color: var(--secondary);
}
.cs_article_check.cs_checked::before {
  content: "\f14a";
  font-weight: 900;
  color: var(--accent);
}

/* Прогресс чтения */
.cs_reading_progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Кнопки «Поделиться» */
.cs_article_share {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 40px 0;
  padding-top: 28px;
  border-top: 1px solid var(--cs-blog-border);
}
.cs_article_share_label {
  color: var(--secondary);
  font-weight: 500;
}
.cs_article_share_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--cs-blog-border);
  background: transparent;
  color: var(--secondary);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.cs_article_share_btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.cs_article_share_btn.cs_copied {
  border-color: var(--accent);
  color: var(--accent);
}

/* Навигация пред/след статья */
.cs_article_nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
}
.cs_article_nav_link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--cs-blog-border);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.cs_article_nav_link:hover {
  border-color: var(--accent);
}
.cs_article_nav_link.cs_next {
  text-align: right;
  align-items: flex-end;
}
.cs_article_nav_dir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--accent);
}
.cs_article_nav_title {
  color: var(--primary);
  font-weight: 600;
  font-size: 17px;
}
@media (max-width: 575px) {
  .cs_article_nav {
    grid-template-columns: 1fr;
  }
}

/* 404 блога */
.cs_blog_404 {
  text-align: center;
  padding: 60px 0;
  max-width: 560px;
  margin: 0 auto;
}
.cs_blog_404_code {
  font-size: 110px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  margin: 0 0 10px;
}
.cs_blog_404_actions {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Теги статьи */
.cs_article_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 8px;
}
.cs_article_tag {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--cs-blog-border);
  color: var(--secondary);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.cs_article_tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Автор статьи (карточка) */
.cs_article_author {
  text-decoration: none;
}
.cs_article_author_logo {
  overflow: hidden;
}
.cs_article_author_logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.cs_article_author_role {
  color: var(--secondary);
  font-weight: 400;
}

/* Страница автора */
.cs_author_hero {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.cs_author_avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--accent);
  color: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}
.cs_author_avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs_author_role {
  margin: 6px 0 12px;
  font-weight: 500;
}

/* Поиск по блогу */
.cs_blog_search {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cs_blog_search input {
  flex: 1;
  min-width: 240px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--cs-blog-border);
  background: var(--web-wash);
  color: var(--primary);
  font-size: 16px;
}
.cs_blog_search input:focus {
  outline: none;
  border-color: var(--accent);
}

/* Skip-link (доступность) */
.cs_skip_link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--accent);
  color: #0d0d0d;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}
.cs_skip_link:focus {
  left: 0;
}

/* FAQ-аккордеон */
.cs_faq_list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cs_faq_item {
  border: 1px solid var(--cs-blog-border);
  border-radius: 14px;
  padding: 0 24px;
  background: var(--web-wash);
}
.cs_faq_q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 600;
  color: var(--primary);
  font-size: 18px;
}
.cs_faq_q::-webkit-details-marker {
  display: none;
}
.cs_faq_q i {
  color: var(--accent);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.cs_faq_item[open] .cs_faq_q i {
  transform: rotate(180deg);
}
.cs_faq_a {
  padding: 0 0 22px;
  color: var(--secondary);
  line-height: 1.7;
}
