.page,
.page-inner {
  padding: 60px 0;
}

@media (max-width: 575px) {
  .page,
  .page-inner {
    padding: 40px 0;
  }
}

.page .page__title {
  position: relative;
  padding-bottom: 12px;
}

.page .page__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    var(--lab-color-primary, #080d6b),
    var(--lab-color-muted, #e13855)
  );
}
/* ============================================================
   ТИПОГРАФИКА ВНУТРИ .page 
   ============================================================ */

.page__top {
  margin: 0 auto 40px auto;
}

.page p a {
  color: #e13855;
}

.page ol ul {
  display: block;
  margin: 12px 0;
}

/* Заголовки */
.page h1,
.page__content h2,
.page__content h3 {
  position: relative;
  margin: 0 0 16px 0;
  color: var(--lab-color-primary);
  line-height: 1.25;
  font-weight: 700;
  padding-bottom: 15px;
  margin-bottom: 35px;
}
.page__content h2::after,
.page__content h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    var(--lab-color-primary, #080d6b),
    var(--lab-color-muted, #e13855)
  );
}
.page h1 {
  font-size: 32px;
}
.page__content h2 {
  font-size: 28px;
}
.page__content h3 {
  font-size: 22px;
  font-weight: 600;
}

/* Абзацы */
.page__content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--lab-text-dark);
  margin: 0 0 14px 0;
}

.page p:last-child {
  margin-bottom: 0;
}

/* Списки — по центру блока, но текст внутри выровнен влево */
.page ul,
.page ol {
  display: inline-block;
  text-align: left;
  margin: 0 0 18px 0;
  padding-left: 22px;
  list-style-position: outside;
}

.page ul {
  list-style: disc;
}
.page ol {
  list-style: decimal;
}

.page li {
  margin: 0 0 8px 0;
  font-size: 15px;
  line-height: 1.6;
}

.page ul li::marker {
  color: var(--lab-color-accent);
}
.page ol li::marker {
  color: var(--lab-color-accent);
  font-weight: 600;
}

/* Изображения */ /*
.page img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 0 auto 16px;
  display: block;
}*/

/* Адаптив */
@media (min-width: 992px) {
  .page h1 {
    font-size: 38px;
  }
  .page h2 {
    font-size: 32px;
    margin-top: 36px;
  }
  .page h2:first-child {
    margin-top: 0;
  }
}

@media (max-width: 575px) {
  .page {
    margin-bottom: 28px;
  }
  .page h1 {
    font-size: 26px;
  }
  .page h2 {
    font-size: 22px;
  }
  .page h3 {
    font-size: 18px;
  }
  .page p,
  .page li {
    font-size: 15px;
  }
}
/* ============================================================
   ТАБЛИЦА
   ============================================================ */

.page__content table,
.page table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.55;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(8, 13, 107, 0.05);
}

.page__content th,
.page th {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
  border: 0;
}

.page__content tbody td,
.page tbody td {
  padding: 12px 16px;
  color: var(--lab-text-dark, #1e293b);
  vertical-align: top;
}

.page__content tbody tr,
.page tbody tr {
  border-bottom: 1px solid var(--lab-border, #e2e8f0);
}

.page__content tbody tr:last-child,
.page tbody tr:last-child {
  border-bottom: 0;
}

.page__content tbody tr:nth-child(even),
.page tbody tbody tr:nth-child(even) {
  background: #f8fafc;
}

.page__content tfoot td,
.page tfoot td {
  padding: 12px 16px;
  background: #f4f6fa;
  font-weight: 600;
  color: var(--lab-color-primary, #080d6b);
  border-top: 2px solid var(--lab-color-muted, #e13855);
}
@media (max-width: 768px) {
  .page__content table,
  .page table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
  }
  .page__content thead th,
  .page thead th,
  .page__content tbody td,
  .page tbody td {
    padding: 10px 12px;
    font-size: 14px;
  }
}
