/* =============================================================
   SEO Schema Blocks — BET-250
   HowTo + DefinedTerm shortcode styles
   ============================================================= */

/* ─── HowTo ─────────────────────────────────────────────────── */

.seo-howto {
  margin: 24px 0;
}

.seo-howto__step {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 24px;
}

/* Вертикальная линия между шагами */
.seo-howto__step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--color-border, #d9eafa);
}

/* Номер шага */
.seo-howto__step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary, #00c659);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Тело шага */
.seo-howto__step-body {
  flex: 1;
  min-width: 0;
  padding-top: 6px;
}

.seo-howto__step-name {
  margin: 0 0 6px;
  font-size: var(--font-size-lg, 14px);
  font-weight: var(--font-weight-bold, bold);
  color: var(--color-text, #262f56);
  line-height: var(--line-height-tight, 1.26);
}

.seo-howto__step-text {
  font-size: var(--font-size-base, 13px);
  color: var(--color-text-meta, #4f5676);
  line-height: var(--line-height-normal, 1.5);
  margin: 0;
}

.seo-howto__step-text p {
  margin: 0 0 8px;
}

.seo-howto__step-text p:last-child {
  margin-bottom: 0;
}

.seo-howto__step-img {
  display: block;
  margin-top: 12px;
  max-width: 100%;
  border-radius: var(--radius-md, 8px);
  border: 1px solid var(--color-border, #d9eafa);
}

/* ─── DefinedTerm ────────────────────────────────────────────── */

.seo-defined-term {
  margin: 24px 0;
  border: 1px solid var(--color-border, #d9eafa);
  border-left: 4px solid var(--color-primary, #00c659);
  border-radius: var(--radius-md, 8px);
  background: var(--color-bg-light, #fcfeff);
  overflow: hidden;
}

.seo-defined-term__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 10px;
  border-bottom: 1px solid var(--color-border, #d9eafa);
}

/* Иконка «книга/определение» через псевдоэлемент */
.seo-defined-term__icon::before {
  font-family: 'Betru', sans-serif;
  content: '\e900'; /* замените на нужный глиф из шрифта Betru, если есть */
  font-size: 18px;
  color: var(--color-primary, #00c659);
  display: block;
  line-height: 1;
}

.seo-defined-term__term {
  font-size: var(--font-size-3xl, 18px);
  font-weight: var(--font-weight-bold, bold);
  color: var(--color-text, #262f56);
  line-height: var(--line-height-tight, 1.26);
}

.seo-defined-term__body {
  padding: 14px 20px 16px;
  font-size: var(--font-size-base, 13px);
  color: var(--color-text-meta, #4f5676);
  line-height: var(--line-height-normal, 1.5);
}

.seo-defined-term__body p {
  margin: 0 0 10px;
}

.seo-defined-term__body p:last-child {
  margin-bottom: 0;
}

/* ─── Адаптив ────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .seo-howto__step {
    gap: 12px;
  }

  .seo-howto__step-num {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 13px;
  }

  .seo-howto__step:not(:last-child)::before {
    left: 15px;
    top: 34px;
  }

  .seo-howto__step-body {
    padding-top: 4px;
  }

  .seo-defined-term__header {
    padding: 12px 15px 10px;
  }

  .seo-defined-term__body {
    padding: 12px 15px 14px;
  }
}
