/* /blog/oshibki-nedostavki-smtp — native в виде Tilda-статьи блога
   (T050 обложка, T120 H2, T004 текст, T612 таблицы, T220 плашки, T265 поддержка, T396 кнопки).
   Сетка и размеры — из бандла Tilda проекта 3242728, брейкпоинты 1200 / 960 / 640 / 480. */

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300&family=Unbounded:wght@300&display=swap");

body.so-page-blog-oshibki-nedostavki .so3-header {
  background: rgba(34, 34, 59, 0.92);
  backdrop-filter: blur(16px);
}

.sotb {
  --sotb-heading: #060d58;
  --sotb-link: #7c44f5;
  --sotb-line: #e0e0e0;
  --sotb-col: 760px;
  --sotb-cover-col: 960px;
  --sotb-bleed: 60px;
  --sotb-text-size: 20px;
  --sotb-text-lh: 1.55;
  --sotb-name-size: 20px;
  --sotb-cell-size: 14px;
  color: #000;
  font-family: "Roboto", Arial, sans-serif;
}

.sotb a {
  color: var(--sotb-link);
  text-decoration: none;
}

.sotb a:hover {
  text-decoration: underline;
}

.sotb-col {
  width: min(var(--sotb-col), calc(100% - 40px));
  margin-inline: auto;
}

/* —— T050: обложка —— */

.sotb-cover {
  padding: 120px 0 90px;
  background: #22223b;
  color: #fff;
  text-align: center;
}

.sotb-cover__col {
  width: min(var(--sotb-cover-col), calc(100% - 40px));
  margin-inline: auto;
}

.sotb .sotb-cover__uptitle {
  display: block;
  padding: 9px 0 93px;
  color: #fff;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.sotb .sotb-cover__uptitle:hover {
  text-decoration: none;
  opacity: 0.8;
}

.sotb-cover__title {
  margin: 0;
  color: #fff;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 82px;
  font-weight: 700;
  line-height: 1.17;
}

.sotb-cover__descr {
  margin: 0;
  padding: 50px 0 9px;
  color: #fff;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 26px;
  font-weight: 300;
  line-height: 1.45;
}

/* —— Оглавление (в Tilda не было, оставлено из native) —— */

.sotb-toc {
  position: sticky;
  top: 80px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sotb-line);
}

.sotb-toc__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  padding: 14px 0;
}

.sotb-toc a {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

/* —— T120 + T004: заголовки и текст —— */

.sotb-section {
  scroll-margin-top: 130px;
}

.sotb-h2 {
  margin: 0;
  padding: 94px 0 14px;
  color: var(--sotb-heading);
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.17;
}

.sotb-text {
  padding: 8px 0 36px;
  font-size: var(--sotb-text-size);
  font-weight: 300;
  line-height: var(--sotb-text-lh);
}

.sotb-text--tight {
  padding-bottom: 6px;
}

.sotb-text p {
  margin: 0 0 calc(var(--sotb-text-lh) * 1em);
}

.sotb-text ol,
.sotb-text ul {
  margin: 0 0 calc(var(--sotb-text-lh) * 1em + 10px);
}

.sotb-text ol {
  padding-left: 22px;
}

.sotb-text ul {
  padding-left: 20px;
}

.sotb-text li {
  margin: 0;
}

.sotb-text > :last-child {
  margin-bottom: 0;
}

.sotb strong {
  font-weight: 700;
}

.sotb-text code {
  padding: 0.05em 0.35em;
  border-radius: 4px;
  background: #f1eefb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  font-weight: 400;
}

.sotb-h3 {
  margin: 0;
  font-size: var(--sotb-text-size);
  font-weight: 700;
  line-height: var(--sotb-text-lh);
}

.sotb-text p + .sotb-h3 {
  margin-top: calc(var(--sotb-text-lh) * 1em);
}

/* —— T612: таблицы —— */

.sotb-table {
  padding: 15px 0;
}

.sotb-table__scroll {
  overflow-x: auto;
}

.sotb-table__grid {
  width: 100%;
  min-width: 600px;
  border: 1px solid var(--sotb-line);
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.sotb-table__grid th,
.sotb-table__grid td {
  padding: 15px 20px;
  border-left: 1px solid var(--sotb-line);
  border-bottom: 1px solid var(--sotb-line);
  text-align: left;
  vertical-align: middle;
  overflow-wrap: break-word;
}

.sotb-table__grid th:first-child,
.sotb-table__grid td:first-child {
  border-left: 0;
}

.sotb-table__grid tbody tr:last-child td {
  border-bottom: 0;
}

.sotb-table__grid th {
  color: var(--sotb-heading);
  font-family: "Unbounded", Arial, sans-serif;
  font-size: var(--sotb-name-size);
  font-weight: 600;
  line-height: 1.35;
}

.sotb-table__grid td {
  font-family: "Unbounded", Arial, sans-serif;
  font-size: var(--sotb-cell-size);
  font-weight: 300;
  line-height: 1.55;
}

.sotb-table__grid--center th:not(:first-child),
.sotb-table__grid--center td:not(:first-child) {
  text-align: center;
}

.sotb-table__grid--center {
  min-width: 720px;
}

.sotb-table__grid--center th {
  font-size: 16px;
}

.sotb-table__grid--center .sotb-table__lead {
  width: 120px;
}

.sotb-table__grid--center .sotb-table__code {
  width: 90px;
}

.sotb-table__grid--links .sotb-table__lead {
  width: 360px;
}

/* —— T220: серые плашки —— */

.sotb-callout {
  margin: 30px calc(-1 * var(--sotb-bleed));
  padding: var(--sotb-bleed);
  background: #f5f5f5;
}

.sotb-callout__title {
  margin: -8px 0 0;
  padding-bottom: 35px;
  color: var(--sotb-heading);
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.17;
}

.sotb-callout .sotb-text {
  padding: 0;
}

/* —— T265: поддержка —— */

.sotb-support {
  position: relative;
  margin: 90px 0 120px;
  padding: 30px 20px 28px 55px;
  background: #ebebeb;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
}

.sotb-support p {
  margin: 0;
}

.sotb-support__icon {
  position: absolute;
  top: 27px;
  left: 20px;
}

/* —— T396: кнопки —— */

.sotb-cta {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 39px 20px 75px;
}

.sotb .sotb-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 356px;
  height: 67px;
  border-radius: 60px;
  background: linear-gradient(90deg, #c55de0 0%, #7f56f6 100%);
  color: #fff;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease-in-out;
}

.sotb .sotb-cta__btn:hover {
  background: #453c9e;
  text-decoration: none;
}

@media (max-width: 1200px) {
  .sotb {
    --sotb-col: 620px;
    --sotb-cover-col: 780px;
    --sotb-bleed: 40px;
    --sotb-text-size: 18px;
    --sotb-name-size: 18px;
  }

  .sotb-cover__title {
    font-size: 78px;
  }

  .sotb-cover__descr {
    font-size: 22px;
  }

  .sotb-cta {
    gap: 12px;
    padding: 38px 20px 39px;
  }

  .sotb .sotb-cta__btn {
    height: 64px;
  }
}

@media (max-width: 960px) {
  .sotb {
    --sotb-col: 600px;
    --sotb-cover-col: 600px;
  }

  .sotb-toc {
    position: static;
  }

  .sotb-cta {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 22px 20px 25px;
  }

  .sotb .sotb-cta__btn {
    width: 350px;
    height: 72px;
  }
}

@media (max-width: 700px) {
  .sotb {
    --sotb-bleed: 20px;
  }
}

@media (max-width: 650px) {
  .sotb-support {
    margin-inline: -20px;
    padding: 20px 20px 16px 50px;
  }

  .sotb-support__icon {
    top: 16px;
    transform: scale(0.8);
  }
}

@media (max-width: 640px) {
  .sotb {
    --sotb-text-size: 16px;
    --sotb-text-lh: 1.45;
    --sotb-name-size: 16px;
    --sotb-cell-size: 12px;
  }

  .sotb-cover {
    padding-top: 90px;
  }

  .sotb .sotb-cover__uptitle {
    font-size: 10px;
  }

  .sotb-cover__title {
    font-size: 36px;
  }

  .sotb-cover__descr {
    font-size: 20px;
  }

  .sotb .sotb-cta__btn {
    width: 302px;
    height: 59px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .sotb-cover__title {
    font-size: 30px;
  }

  .sotb .sotb-cta__btn {
    width: min(302px, 100%);
    height: 56px;
  }
}
