:root {
  --wb-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.container { max-width: 930px; margin-left: auto; margin-right: auto; }

/* ================================================================
   BREADCRUMB
================================================================ */
.wb-bc {
  font-size: 12.5px;
  color: #999;
  font-family: var(--wb-font);
  padding: 12px 0 0;
}
.wb-bc a { color: #468AFD; text-decoration: none; }
.wb-bc a:hover { text-decoration: underline; }
.wb-bc span { color: #999; }

/* ================================================================
   HERO
================================================================ */
.wb-hero {
  background: #fff;
  padding: 8px 0 20px;
  border-bottom: 1px solid #e4e6ed;
  margin-bottom: 24px;
}
.wb-hero h1 {
  font-size: 25px;
  font-weight: 700;
  color: #181818;
  margin: 0 0 8px 0;
  font-family: var(--wb-font);
  line-height: 1.3;
}
.wb-hero p {
  font-size: 16px;
  color: #2a2e38;
  margin: 0;
  font-family: var(--wb-font);
  line-height: 1.6;
}

/* ================================================================
   LAYOUT
================================================================ */
.wb-cat-layout {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 26px;
  align-items: start;
  margin-bottom: 32px;
  font-family: var(--wb-font);
}

.wb-cat-section-hd {
  font-size: 17px;
  font-weight: 700;
  color: #181818;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding-bottom: 10px;
  border-bottom: 2px solid #193b56;
  margin: 0 0 16px;
  font-family: var(--wb-font);
}

/* ================================================================
   SERVICE CARDS (простые, без ранжирования)
================================================================ */
.wb-svc {
  display: block;
  border: 1px solid #e4e6ed;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  margin-bottom: 14px;
  padding: 18px 20px 16px;
  font-family: var(--wb-font);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.wb-svc:hover {
  border-color: #468AFD;
  box-shadow: 0 4px 14px rgba(70, 138, 253, 0.12);
  transform: translateY(-2px);
}
.wb-svc-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}
.wb-svc-logo {
  height: 40px;
  min-width: 40px;
  max-width: 132px;
  padding: 0 10px;
  border-radius: 7px;
  background: #eef3ff;
  color: #468AFD;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.wb-svc-logo img { max-width: 100%; max-height: 28px; width: auto; object-fit: contain; display: block; }
.wb-svc-head { flex: 1; min-width: 0; }
.wb-svc-name {
  font-size: 18px;
  font-weight: 700;
  color: #181818;
  margin: 0 0 3px;
  line-height: 1.3;
  transition: color 0.15s;
}
.wb-svc:hover .wb-svc-name { color: #468AFD; }
.wb-svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 5px;
}
.wb-svc-tag {
  font-size: 11px;
  font-weight: 600;
  color: #555a66;
  background: #f1f3f8;
  border-radius: 4px;
  padding: 3px 8px;
  white-space: nowrap;
}
.wb-svc-price {
  flex-shrink: 0;
  text-align: right;
  font-family: var(--wb-font);
}
.wb-svc-price-val {
  font-size: 15px;
  font-weight: 700;
  color: #193b56;
  white-space: nowrap;
}
.wb-svc-price-lbl {
  font-size: 10.5px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.wb-svc-desc {
  font-size: 15px;
  color: #2a2e38;
  line-height: 1.6;
  margin: 0 0 13px;
}
/* Опциональный слот «ключевая метрика». Если не заполнен — удалить блок целиком. */
.wb-svc-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #14663f;
  background: #e7f4ec;
  border-radius: 5px;
  padding: 5px 11px;
  margin: 0 0 13px;
  line-height: 1.4;
}
.wb-svc-metric svg { flex-shrink: 0; }
.wb-svc-pros {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
  margin-bottom: 14px;
}
.wb-svc-pro, .wb-svc-con {
  font-size: 13.5px;
  line-height: 1.45;
  color: #2a2e38;
  display: flex;
  gap: 7px;
  align-items: flex-start;
}
.wb-svc-pro svg { color: #1a7a36; flex-shrink: 0; margin-top: 2px; }
.wb-svc-con svg { color: #c0392b; flex-shrink: 0; margin-top: 2px; }
/* Вердикт аналитика — короткая редакторская фраза. Поле контент-менеджера. */
.wb-svc-verdict {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  background: #f6f8fc;
  border-left: 3px solid #468AFD;
  border-radius: 0 6px 6px 0;
  padding: 10px 13px;
  margin: 0 0 14px;
}
.wb-svc-verdict-icon { color: #468AFD; flex-shrink: 0; margin-top: 1px; }
.wb-svc-verdict-body { font-size: 13.5px; line-height: 1.5; color: #2a2e38; }
.wb-svc-verdict-body em { font-style: italic; }
.wb-svc-verdict-author {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  font-style: normal;
  color: #888;
  margin-top: 3px;
}
.wb-svc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #eef0f4;
  padding-top: 12px;
}
.wb-svc-best {
  font-size: 13px;
  color: #555a66;
}
.wb-svc-best strong { color: #181818; }
.wb-svc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: #468AFD;
  white-space: nowrap;
}
.wb-svc-link svg { transition: transform 0.15s ease; }
.wb-svc:hover .wb-svc-link svg { transform: translateX(3px); }

/* ================================================================
   SIDEBAR
================================================================ */
.wb-cat-side { font-family: var(--wb-font); }
.wb-side-block { margin-bottom: 24px; }
.wb-side-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #777;
  margin-bottom: 10px;
  padding-bottom: 7px;
  border-bottom: 2px solid #193b56;
  font-family: var(--wb-font);
}
.wb-topics-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 2px solid #193b56;
  text-align: left;
  cursor: default;
}
.wb-topics-chevron {
  flex-shrink: 0;
  color: #468AFD;
  display: none;
  transition: transform 0.25s ease;
}
.wb-topics-list { display: block; }
.wb-topics-list-inner { display: block; }
.wb-side-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border: 1px solid #e4e6ed;
  border-radius: 6px;
  background: #fff;
  text-decoration: none;
  margin-bottom: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: #2a2e38;
  font-family: var(--wb-font);
  transition: border-color 0.15s, background-color 0.15s;
}
.wb-side-cat:hover { border-color: #468AFD; background: #f8f9ff; color: #468AFD; }
.wb-side-cat--all { background: #193b56; border-color: #193b56; color: #fff; }
.wb-side-cat--all:hover { background: #214c6e; border-color: #214c6e; color: #fff; }
.wb-side-cat--active { border-color: #468AFD; background: #f8f9ff; color: #468AFD; }

/* ================================================================
   SEO TEXT (collapsible)
================================================================ */
/*
.wb-seo {
  border: 1px solid #e4e6ed;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 22px;
  font-family: var(--wb-font);
  padding: 16px 20px 14px;
}
*/
.wb-seomy { border: 1px solid #e4e6ed; border-radius: 8px; background: #fff; margin-bottom: 22px; font-family: var(--wb-font); padding: 16px 20px 14px; }
.wb-seo-title {
  font-size: 17px;
  font-weight: 700;
  color: #181818;
  margin: 0 0 12px;
  font-family: var(--wb-font);
}
/*
.wb-seo-clip {
  position: relative;
  overflow: hidden;
  max-height: 272px;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
*/
.wb-seo-clipmy { position: relative; overflow: hidden; max-height: 272px; transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.wb-seo-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 88%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
/* .wb-seo.is-open .wb-seo-clip { max-height: 2400px; } 
.wb-seo.is-open .wb-seo-fade { opacity: 0; }*/
.wb-seomy.is-open .wb-seo-clipmy { max-height: 2400px; }
.wb-seomy.is-open .wb-seo-fade { opacity: 0; }
.wb-seo-inner { font-size: 16px; line-height: 1.7; color: #2a2e38; }
.wb-seo-inner > :first-child { margin-top: 0; }
.wb-seo-inner > :last-child { margin-bottom: 0; }
.wb-seo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 9px 18px;
  border: 1.5px solid #193b56;
  border-radius: 6px;
  background: #fff;
  color: #193b56;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--wb-font);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.wb-seo-toggle:hover { background: #193b56; color: #fff; }
.wb-seo-chevron { flex-shrink: 0; transition: transform 0.25s ease; }
.wb-seo.is-open .wb-seo-chevron { transform: rotate(180deg); }
.wb-seo-inner h3 { font-size: 16px; font-weight: 700; color: #181818; margin: 20px 0 8px; }
.wb-seo-inner p { margin: 0 0 12px; }
.wb-seo-inner ul { margin: 0 0 12px; padding-left: 20px; }
.wb-seo-inner li { margin-bottom: 6px; }
.wb-seo-inner strong { color: #181818; }

/* ================================================================
   FAQ (accordion)
================================================================ */
.wb-faq { margin: 0 0 40px; counter-reset: faq; font-family: var(--wb-font); }
.wb-faq-title {
  font-size: 19px;
  font-weight: 700;
  color: #181818;
  margin: 0 0 16px;
  font-family: var(--wb-font);
}
.wb-faq-item {
  border: 1px solid #e4e6ed;
  border-radius: 8px;
  margin-bottom: 8px;
  background: #fff;
  overflow: hidden;
  counter-increment: faq;
}
.wb-faq-item[open] { border-color: #c4c8d2; }
.wb-faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background-color 0.15s ease;
}
.wb-faq-item > summary::-webkit-details-marker { display: none; }
.wb-faq-item > summary::marker { display: none; }
.wb-faq-item > summary:hover { background: #f5f5fb; }
.wb-faq-item > summary::before {
  content: counter(faq, decimal-leading-zero) " /";
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: #7a8090;
  letter-spacing: 0.5px;
  min-width: 36px;
  margin-right: 6px;
  transition: color 0.2s ease;
}
.wb-faq-item[open] > summary::before { color: #468AFD; }
.wb-faq-q {
  font-size: 15.5px;
  font-weight: 600;
  color: #181818;
  margin: 0;
  flex: 1;
  line-height: 1.4;
  font-family: var(--wb-font);
}
.wb-faq-item > summary::after {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-size: 100% 2px, 2px 100%;
  background-position: center;
  background-repeat: no-repeat;
  color: #7a8090;
  transition: transform 0.25s ease, color 0.2s ease;
}
.wb-faq-item[open] > summary::after { transform: rotate(45deg); color: #468AFD; }
.wb-faq-a {
  color: #2a2e38;
  font-size: 15px;
  line-height: 1.65;
  overflow: hidden;
  height: 0;
  transition: height 0.28s ease;
  box-sizing: border-box;
}
.wb-faq-item[open] > .wb-faq-a { height: auto; }
.wb-faq-a p { margin: 0; padding: 0 18px 16px; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 900px) {
  .wb-cat-layout { grid-template-columns: 1fr; gap: 28px; }
  .wb-hero h1 { font-size: 23px; }
  .wb-cat-side { order: -1; }
  .wb-cat-main { order: 0; }
  .wb-side-block.wb-topics { margin-bottom: 0; }
  .wb-topics-head { cursor: pointer; margin-bottom: 0; }
  .wb-topics-chevron { display: block; }
  .wb-topics.is-open .wb-topics-chevron { transform: rotate(180deg); }
  .wb-topics-list {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .wb-topics.is-open .wb-topics-list { grid-template-rows: 1fr; }
  .wb-topics-list-inner { min-height: 0; overflow: hidden; padding-top: 10px; }
}
@media (max-width: 640px) {
  .wb-hero { padding: 6px 0 16px; margin-bottom: 18px; }
  .wb-hero h1 { font-size: 20px; line-height: 1.3; }
  .wb-hero p { font-size: 15px; }
  .wb-cat-section-hd { font-size: 14.5px; }
  .wb-svc { padding: 14px 14px 13px; margin-bottom: 11px; }
  .wb-svc-top { gap: 11px; margin-bottom: 10px; align-items: center; }
  .wb-svc-logo { height: 34px; max-width: 110px; padding: 0 8px; font-size: 15px; }
  .wb-svc-logo img { max-height: 24px; }
  .wb-svc-name { font-size: 15.5px; }
  .wb-svc-tags { display: none; }
  .wb-svc-desc { font-size: 14px; line-height: 1.5; margin: 0 0 10px; }
  .wb-svc-metric { font-size: 12px; padding: 4px 9px; margin: 0 0 10px; }
  .wb-svc-pros { grid-template-columns: 1fr 1fr; gap: 5px 12px; margin-bottom: 11px; }
  .wb-svc-verdict { padding: 8px 11px; margin: 0 0 11px; }
  .wb-svc-verdict-body { font-size: 12.5px; }
  .wb-svc-pro, .wb-svc-con { font-size: 12px; gap: 5px; }
  .wb-svc-foot { gap: 8px; padding-top: 10px; }
  .wb-svc-best { font-size: 12px; }
  .wb-svc-price-val { font-size: 14px; }
  .wb-seo-title { font-size: 16px; }
  .wb-seo-inner { font-size: 15px; }
/*.wb-seo-clip { max-height: 255px; } */
  .wb-seo-clipmy { max-height: 255px; }
  .wb-faq-title { font-size: 17px; }
  .wb-faq-q { font-size: 14.5px; }
  .wb-faq-item > summary { padding: 12px 14px; }
  .wb-faq-a { font-size: 14.5px; }
  .wb-faq-a p { padding: 0 14px 14px; }
}
@media (max-width: 380px) {
  .wb-svc-pros { grid-template-columns: 1fr; gap: 4px; }
  .wb-svc-foot { flex-direction: column; align-items: flex-start; gap: 7px; }
  .wb-svc-tags { gap: 5px; }
}