.main h1 {
  font-size: 23px;
}
a {
  color: black;
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
}
.font-xs { font-size: var(--font-size-small); }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-500 { font-weight: 500; }
.text-600 { font-weight: 600; }
.color-primary { color: var(--color-primary); }
.color-gray { color: var(--color-gray); }

/* Spacing utilities */
.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

.ps-0 { padding-left: 0 !important; }
.ps-1 { padding-left: 0.25rem !important; }
.ps-2 { padding-left: 0.5rem !important; }
.ps-3 { padding-left: 1rem !important; }
.ps-4 { padding-left: 1.5rem !important; }
.ps-5 { padding-left: 3rem !important; }

.pe-0 { padding-right: 0 !important; }
.pe-1 { padding-right: 0.25rem !important; }
.pe-2 { padding-right: 0.5rem !important; }
.pe-3 { padding-right: 1rem !important; }
.pe-4 { padding-right: 1.5rem !important; }
.pe-5 { padding-right: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.ms-0 { margin-left: 0 !important; }
.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-5 { margin-left: 3rem !important; }

.me-0 { margin-right: 0 !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.me-5 { margin-right: 3rem !important; }

/* Responsive breakpoints */
@media (min-width: 576px) {
  .pt-sm-0 { padding-top: 0 !important; }
  .pt-sm-1 { padding-top: 0.25rem !important; }
  .pt-sm-2 { padding-top: 0.5rem !important; }
  .pt-sm-3 { padding-top: 1rem !important; }
  .pt-sm-4 { padding-top: 1.5rem !important; }
  .pt-sm-5 { padding-top: 3rem !important; }
}
@media (min-width: 768px) {
  .pt-md-0 { padding-top: 0 !important; }
  .pt-md-1 { padding-top: 0.25rem !important; }
  .pt-md-2 { padding-top: 0.5rem !important; }
  .pt-md-3 { padding-top: 1rem !important; }
  .pt-md-4 { padding-top: 1.5rem !important; }
  .pt-md-5 { padding-top: 3rem !important; }
}
@media (min-width: 992px) {
  .pt-lg-0 { padding-top: 0 !important; }
  .pt-lg-1 { padding-top: 0.25rem !important; }
  .pt-lg-2 { padding-top: 0.5rem !important; }
  .pt-lg-3 { padding-top: 1rem !important; }
  .pt-lg-4 { padding-top: 1.5rem !important; }
  .pt-lg-5 { padding-top: 3rem !important; }
}

@media (min-width: 1200px) {
  .pt-xl-0 { padding-top: 0 !important; }
  .pt-xl-1 { padding-top: 0.25rem !important; }
  .pt-xl-2 { padding-top: 0.5rem !important; }
  .pt-xl-3 { padding-top: 1rem !important; }
  .pt-xl-4 { padding-top: 1.5rem !important; }
  .pt-xl-5 { padding-top: 3rem !important; }
}

@media (min-width: 1400px) {
  .pt-xxl-0 { padding-top: 0 !important; }
  .pt-xxl-1 { padding-top: 0.25rem !important; }
  .pt-xxl-2 { padding-top: 0.5rem !important; }
  .pt-xxl-3 { padding-top: 1rem !important; }
  .pt-xxl-4 { padding-top: 1.5rem !important; }
  .pt-xxl-5 { padding-top: 3rem !important; }
}
/* Заголовки */
.typo h1,
.typo h2,
.typo h3,
.typo h4,
.typo h5,
.typo h6 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}
.typo h1 { font-size: 2em; }
.typo h2 { font-size: 1.75em; }
.typo h3 { font-size: 1.5em; }
.typo h4 { font-size: 1.25em; }
.typo h5 { font-size: 1.1em; }
.typo h6 { font-size: 1em; }

/* Абзацы */
.typo p {
  margin-top: 0;
  margin-bottom: 1em;
}

/* Списки */
.typo ul,
.typo ol {
  margin-top: 0;
  margin-bottom: 1em;
  padding-left: 1.5em;
}

.typo ul {
  list-style: none;
  padding-left: 10px !important;
}

/* Отступы у li */
.typo ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
}

/* Добавляем кастомный маркер через ::before */
.typo ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 0.6em;
  height: 0.6em;
  background-color: var(--color-primary);
  border-radius: 50%;
}

.typo ol {
  list-style-type: decimal;
}

.typo li {
  margin-bottom: 0.25em;
}

.typo li > ul,
.typo li > ol {
  margin-top: 0.25em;
  margin-bottom: 0;
}

/* Вложенные списки */
.typo ul ul,
.typo ol ul {
  list-style-type: circle;
}

.typo ul ul ul,
.typo ol ul ul {
  list-style-type: square;
}

/* Цитаты */
.typo blockquote {
  margin: 0 0 1em;
  padding: 0.5em 1em;
  border-left: 4px solid #ddd;
  background-color: #f9f9f9;
  font-style: italic;
  color: #555;
  display: inline-block;
}

.typo blockquote p:last-child {
  margin-bottom: 0;
}

/* Код */
.typo code {
  padding: 0.2em 0.4em;
  background-color: #f1f1f1;
  border-radius: 3px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.85em;
}

.typo pre {
  margin-bottom: 1em;
  padding: 1em;
  background-color: #f1f1f1;
  border-radius: 4px;
  overflow-x: auto;
  white-space: pre-wrap;
}

.typo pre code {
  padding: 0;
  background: none;
  font-size: inherit;
}

/* Горизонтальная линия */
.typo hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid #eee;
}

/* Ссылки */
.typo a {
  color: black;
  text-decoration: underline;
}
.typo a:hover {
  text-decoration: none;
}
/* Таблицы */
.typo table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
}
.typo th,
.typo td {
  padding: 0.5em 1em;
  border: 1px solid #ddd;
  text-align: left;
}
.typo th {
  background-color: #f7f7f7;
  font-weight: bold;
}
.typo iframe {
  border-radius: var(--border-radius-lg);
}
/* Other */
.t-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #B5B5B533;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md);
}
.t-box a {
  color: inherit;
  text-decoration: underline;
}
.t-box__title {
  font-weight: 600;
  font-size: var(--font-size-md);
  margin-bottom: var(--spacing-lg);
}
.img-fluid {
  width: 100%;
  heightL auto;
}
.img-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}