body {
  padding-top: 100px; /* замените на высоту вашей шапки */
}

/* ===== БЛОК "ЧИТАТЬ ДАЛЕЕ" ===== */
.text-toggle-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: "Golos-UI-2", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2d2d2d;
  font-size: 16px;
  line-height: 1.25;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Стили для текстового контента */
.text-toggle-content {
  margin-bottom: 0;
}

/* Стили для абзацев - без отступов между параграфами */
.text-toggle-content p {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.25;
  color: #2d2d2d;
  font-family: "Golos-UI-2", -apple-system, BlinkMacSystemFont, sans-serif;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Стили для пустых параграфов (отбивки) */
.text-toggle-content p:empty {
  margin: 0;
  padding: 0;
  height: 1em; /* Высота равна межстрочному интервалу */
  min-height: 1em;
  line-height: 1em;
  content: "";
  display: block;
}

/* Убираем любые отступы между соседними параграфами */
.text-toggle-content p + p {
  margin-top: 0;
}

/* Стили для жирного текста */
.text-toggle-content strong, 
.text-toggle-content b {
  font-weight: 700;
  font-family: "Golos-UI-2", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Стили для списков */
.text-toggle-content ul, 
.text-toggle-content ol {
  margin: 0 0 0 0;
  padding-left: 30px;
}

.text-toggle-content li {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  color: #2d2d2d;
  font-family: "Golos-UI-2", -apple-system, BlinkMacSystemFont, sans-serif;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Стили для ссылок */
.text-toggle-content a {
  color: #247C84 !important;
  text-decoration: none;
  font-weight: 700;
  font-family: "Golos-UI-2", -apple-system, BlinkMacSystemFont, sans-serif;
  transition: color 0.2s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.text-toggle-content a:hover {
  color: #245656 !important;
  text-decoration: none;
}

/* ===== АНИМАЦИЯ ===== */
.hidden-part {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease-in-out;
  margin: 0;
  visibility: hidden;
}

.hidden-part.visible {
  grid-template-rows: 1fr;
  visibility: visible;
}

.hidden-part > div {
  overflow: hidden;
  min-height: 0;
}

/* Стили для кнопки */
.toggle-button {
  display: inline-block;
  background-color: transparent;
  color: #8a8a8a !important;
  border: none;
  padding: 0;
  font-size: 16px;
  font-family: "Golos-UI-2", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.25;
  cursor: pointer;
  transition: color 0.2s ease;
  text-align: left;
  margin: 10px 0 5px 0;
  border-bottom: 1px solid #8a8a8a; /* Добавляем нижнее подчеркивание */
  padding-bottom: 1px;
}

.toggle-button:hover {
  background-color: transparent;
  color: #245656 !important;
  border-bottom-color: #245656;
}

.button-bottom-container {
  text-align: left;
  margin-top: 10px;
  margin-bottom: 0;
}

.toggle-button:focus {
  outline: none;
}



/* --- Фиксированная колонка меню --- */
#rec1945215781  {
  position: fixed !important;
  left: 25px !important;
  top: 120px !important;
  width: 330px !important;
  z-index: 900 !important;
}

#rec1945215781 .t396__artboard {
  position: relative !important; /* Изменяем на relative */
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 1 !important; /* Ниже, чем родительский контейнер */
}

.side-menu {
  background: #ffffff;
  border-radius: 10px;
  border: 2px solid #247C84;
  padding: 8px; /* Увеличили внутренний отступ */
  width: 100%;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  box-sizing: border-box;
  font-family: 'Golos-UI-2', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 1px; /* Увеличили с 6px до 12px */
}

/* --- Общий стиль пунктов --- */
.menu-item {
  text-decoration: none;
  color: #2d2d2d !important;
  transition: 0.25s;
  border-radius: 6px;
  display: block;
  padding: 8px 12px; /* Фиксированные отступы для всех пунктов */
  margin: 0;
  line-height: 1.4; /* Добавили внутренние отступы */
}



/* --- Раздел (H2) --- */
.menu-item.h2 {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px;
}

/* --- Подраздел (H3) --- */
.menu-item.h3 {
  font-size: 14px;
  padding-left: 30px; /* Увеличили отступ слева */
  padding-top: 6px;
  padding-bottom: 6px;
  font-weight: 400;
}

/* --- Hover --- */
.menu-item:hover {
  color: #245656 !important;
}

/* --- Активный пункт --- */
.menu-item.active {
  background: #247C84;
  color: #ffffff !important;
}