@charset "UTF-8";
/* Адаптивность */
@media (max-width: 900px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
  .swiper {
    padding: 20px 25px 30px 25px;
  }
  .picture-image {
    height: 200px;
  }
}
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }
  .section-header p {
    font-size: 0.5rem;
  }
  .swiper {
    padding: 40px 40px 60px 40px;
  }
  .picture-image {
    height: 300px;
    padding: 12px;
  }
  .picture-info {
    padding: 10px 5px 5px 5px;
  }
  .picture-description {
    font-size: 20px;
    color: #bbb;
    margin-bottom: 8px;
  }
  .picture-button {
    padding: 7px 18px;
    font-size: 0.8rem;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
}
@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.5rem;
  }
  .swiper {
    padding: 30px 35px 50px 35px;
  }
  .picture-image {
    height: 280px;
    padding: 10px;
  }
}
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-size: 1.1rem;
  font-family: Times, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #ffffcc;
}

.wrapper {
  width: 100%;
  max-width: 1400px; /* Твоя максимальная ширина */
  margin: 0 auto; /* Центрируем сам wrapper, а не его детей */
  padding: 0 15px;
  box-sizing: border-box;
  flex: 1; /* Прижимает футер вниз, если контента мало */
}

* {
  box-sizing: border-box;
}

main.site-main {
  width: 100%;
  flex: 1; /* Растягивает main, толкая footer вниз */
}

/* ГЛАВНОЕ ПРАВИЛО: main не должен управлять направлением секций.
   Это делает .page-article */
main.site-main {
  width: 100%;
  /* Заставляем main занимать всё свободное место внутри wrapper */
  flex: 1;
}

/* Все секции внутри статьи — строго в столбик */
.page-article {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ГЛАВНОЕ ПРАВИЛО: main не должен управлять направлением секций.
   Это делает .page-article */
main.site-main {
  width: 100%;
}

/* Стили для каждой секции */
.article-section {
  padding: 1.5rem;
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  width: 100%; /* занимает всю доступную ширину родителя */
  box-sizing: border-box;
  white-space: normal; /* гарантия переноса текста */
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.article-section .earth_sphere {
  color: darkred;
}
.article-section .earth_sphere .earth_sphere_title {
  color: green;
  font-size: 14px;
}
.article-section .article-section p,
.article-section .article-section li {
  text-align: justify;
}
.article-section ul li {
  list-style-type: none;
}
.article-section .article-section img { /* Картинки: не больше родителя, по центру */
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.article-section .article-section .summary {
  margin-bottom: 15px;
}
.article-section .table-responsive {
  overflow-x: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

.content-block,
p,
li,
.details-wrapper {
  overflow-wrap: break-word;
  word-break: break-word;
}

details {
  width: 100%;
  box-sizing: border-box;
  margin: 10px 0;
}
details summary {
  cursor: pointer;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  text-align: left;
  overflow: visible;
}
details[open] {
  padding-top: 10px;
}

.article-content {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

a {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Сжимаем hr между блоками */
.section-divider {
  margin: 3px 0; /* Вместо стандартных ~20px */
  height: 1px;
  border: none;
  background-color: #706c6c;
}

/* Убираем верхний отступ у первого элемента внутри контента */
.content-block-tight > *:first-child {
  margin-top: 0;
}

.img-center-wrapper {
  text-align: center;
}

.img-center-wrapper img {
  max-width: 100%;
  width: 650px; /* Максимальная ширина */
  height: auto;
  display: block; /* Блочный */
  margin: 0 auto; /* Центрируем через auto-отступы */
}

.stats-right {
  text-align: right;
}

.stats-right p {
  margin: 4px 0; /* Вертикальный отступ между строками */
  padding: 0;
}

/* Убираем лишний отступ у hr между блоками */
.article-section .stats-right + hr {
  margin-top: 0;
  margin-bottom: 0;
}

@media (min-width: 3200px) {
  .wrapper {
    max-width: 1800px;
  }
  body {
    font-size: 1.3rem;
  }
}
@media (min-width: 1920px) {
  .wrapper {
    max-width: 1600px;
  }
  body {
    font-size: 1.2rem;
  }
}
/* === Адаптив: мобильные === */
@media (max-width: 768px) {
  .wrapper {
    max-width: 750px;
  }
  body {
    font-size: 1.1rem;
    padding-left: 0;
    padding-right: 0;
  }
  body .main-nav .nav-list {
    flex-direction: column; /* Строго в столбик */
  }
  body .main-nav .nav-list > li {
    width: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
  }
  body .main-nav .nav-list a {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  body main .article-section, body .wrapper .article-section {
    text-align: left;
  }
  body main .article-section ol, body .wrapper .article-section ol {
    margin-left: 0px;
    padding-left: 10px;
    text-align: left;
  }
  body main .article-section ul, body .wrapper .article-section ul {
    margin-left: 0px;
    padding-left: 0;
    text-align: left;
  }
  body main .article-section p, body .wrapper .article-section p {
    text-align: left;
  }
  body main .article-section .page-title2_geo, body main .article-section .page-title3_geo, body main .article-section .page-title4_geo, body main .article-section .page-title5_geo, body main .article-section .page-title6_geo, body .wrapper .article-section .page-title2_geo, body .wrapper .article-section .page-title3_geo, body .wrapper .article-section .page-title4_geo, body .wrapper .article-section .page-title5_geo, body .wrapper .article-section .page-title6_geo {
    font-size: 1.2rem;
  }
}
/* === Адаптив: маленькие мобильные === */
@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }
  body .main-header .wrapper .header-top .header-top-left .header-top-3logo .logo-main {
    width: 120px;
  }
  body .main-header .wrapper .header-top .header-top-left .header-top-3logo .logo-main img {
    max-width: 120px;
  }
  body .main-header .wrapper .header-bottom {
    flex-direction: column;
    align-items: center;
    min-height: auto;
  }
  body .main-header .wrapper .header-bottom .header-bottom-left {
    flex: 0 0 auto;
    max-width: 100%;
    text-align: center;
  }
  body .main-header .wrapper .header-bottom .header-bottom-left .promo-name,
  body .main-header .wrapper .header-bottom .header-bottom-left .promo-title span,
  body .main-header .wrapper .header-bottom .header-bottom-left .promo-instr span {
    padding-left: 0;
  }
  body .main-header .wrapper .header-bottom .header-bottom-right .cat-fikus img {
    max-width: 320px;
  }
  body .main-nav .nav-list > li a {
    width: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 1px;
    padding-bottom: 1px;
  }
  body .article-section {
    width: 100%;
    padding: 5px 5px;
    text-align: left;
    font-size: 1rem;
  }
  body .article-section .page-title2_geo, body .article-section .page-title3_geo, body .article-section .page-title4_geo, body .article-section .page-title5_geo, body .article-section .page-title6_geo {
    font-size: 1.1rem;
  }
  body .article-section details {
    text-align: left;
    width: 100%;
    margin: 0px;
    padding: 1px 6px;
  }
  body .article-section details ol li {
    text-decoration: none;
  }
  body .article-section ol {
    padding-left: 20px;
    padding-top: 10px;
  }
  body .article-section ul {
    margin-left: 10px;
    padding-left: 10px;
  }
  body .article-section .features-item {
    max-width: 280px;
    max-height: 140px;
    margin-right: 1px;
    padding-left: 0px;
    margin-left: 0px;
  }
  body .article-section .features-item1 {
    max-width: 260px;
    max-height: 160px;
    margin-right: 1px;
    padding-left: 1px;
    margin-left: 0px;
  }
  body .article-section .features-item1 .features-title1 {
    padding-top: 10px;
  }
  body .features-item {
    max-width: 280px;
    max-height: 160px;
    margin-right: 1px;
    padding-left: 1px;
    margin-left: 0px;
  }
  body .features-item .features-title {
    padding-top: 10px;
  }
}
/* === БАЗОВЫЕ НАСТРОЙКИ === */
.main-header {
  background: linear-gradient(0deg, #ffffcc, #ec690b);
  padding: 20px 0;
  box-sizing: border-box;
}

/* === ГЛАВНЫЙ КОНТЕЙНЕР ШАПКИ === */
.wrapper {
  max-width: 1200px; /* Ограничиваем ширину контента, чтобы на огромных мониторах не разъезжалось */
  margin: 0 auto;
  padding: 0 20px;
}

/* === БЛОК С БРЕНДОМ (Лого + Имя) === */
.header-brand-area {
  margin-bottom: 30px; /* Отступ между названием и меню */
  text-align: left;
}

.header-top-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-main img {
  width: 160px;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
  filter: drop-shadow(1px 1px 1px red);
}

.brand-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-name {
  margin: 0;
  font-size: 60px;
  color: rgba(22, 14, 89, 0.89);
  text-shadow: 2px 2px 0 #e5d4c0, 4px 4px 0 rgba(0, 0, 0, 0.2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site-slogan {
  margin-top: 4px;
  font-size: 18px;
  font-style: italic;
  color: rgba(22, 14, 89, 0.89);
  opacity: 0.8;
}

/* === БЛОК С МЕНЮ === */
.header-menu-area {
  width: 100%;
}

.header-bottom-left .promo-instr span {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

/* === АДАПТИВНОСТЬ === */
/* Планшеты (средние экраны) - оставляем в одну строку, как ты просил */
@media (max-width: 1024px) {
  .wrapper {
    padding: 0 15px;
  }
  .header-brand-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .header-top-left {
    flex-direction: row;
    gap: 15px;
  }
  .header-menu-area {
    width: 100%;
    margin-top: 15px;
  }
}
/* Телефоны (маленькие экраны) - Логотип над именем, меню в 1 колонку */
@media (max-width: 768px) {
  .header-brand-area {
    text-align: center;
  }
  .header-top-left {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .promo-name {
    font-size: 24px;
  }
  .header-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .header-bottom-right {
    margin-top: 20px;
  }
}
.cat-fikus img {
  max-width: 100%;
  height: auto;
  display: block; /* Убирает лишние отступы снизу из‑за строчности */
  -o-object-fit: contain;
     object-fit: contain;
}

.wrapper .main_page {
  width: 100%;
}
.wrapper .main_page .main_page_article {
  width: 1400px;
  display: flex;
  flex-direction: column; /* элементы строго в столбик */
  gap: 1.5rem;
}
.wrapper .main_page .main_page_article .summary_section {
  margin-bottom: 10px;
}
.wrapper .main_page .main_page_article .summary_section p {
  font-size: 20px;
  line-height: 24px;
}
.wrapper .main_page .main_page_article .summary_section .summary {
  font-weight: 700;
  font-size: 44px;
  text-align: left;
  color: rgba(22, 14, 89, 0.89);
  padding-left: 10px;
  text-shadow: 2px 2px 0 #e5d4c0, 3px 3px 0 rgba(0, 0, 0, 0.2);
  margin-left: 5px;
}
.wrapper .main_page .main_page_article .section_continents .continents {
  display: inline-block;
  text-align: left;
  width: 100%;
  margin: 0;
  margin-bottom: 10px;
  border: 2px outset rgb(20, 27, 43);
  border-radius: 15px;
  background-color: #eee8aa;
  box-shadow: 0 3px 3px grey;
}
.wrapper .main_page .main_page_article .section_continents .continents .continents_term {
  display: inline-block;
  vertical-align: top;
  text-align: left;
  width: 240px;
  margin: 0;
  padding-left: 50px;
  padding-top: 10px;
}
.wrapper .main_page .main_page_article .section_continents .continents .continents_term:first-child {
  margin-left: 0;
}
.wrapper .main_page .main_page_article .section_continents .continents .continents_term .term {
  font-style: normal;
  font-weight: bold;
  font-size: 22px;
}
.wrapper .main_page .main_page_article .section_continents .continents .continents_term .definition {
  font-size: 16px;
  line-height: 16px;
  font-style: italic;
  margin-left: 10px;
  margin-top: 8px;
  margin-bottom: 30px;
}
.wrapper .main_page .main_page_article .section_continents .continents .continents_term .definition span {
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
}
.wrapper .main_page .main_page_article .section_continents .continents .continents_term .definition ol {
  margin-top: -3px;
}
.wrapper .main_page .main_page_article .section_continents .continents .continents_term .definition ol li {
  font-size: 18px;
  line-height: 17px;
  font-style: italic;
  margin-top: 5px;
  margin-left: -15px;
}

.planet-layout-wrapper {
  display: flex;
  justify-content: center; /* ГЛАВНОЕ: ставит центр по центру экрана */
  align-items: center; /* Выравнивание по вертикали */
  gap: 40px; /* Расстояние между блоками */
  max-width: 1200px; /* Ограничение ширины */
  margin: 0 auto; /* Центрируем сам контейнер */
  flex-wrap: wrap; /* Разрешаем перенос на мобильных */
}

.planet-col {
  flex: 0 0 auto; /* НЕ РАСТЯГИВАЕМ, НЕ СЖИМАЕМ. Только свой размер. */
  /*МИНИ ИКОНКИ ДЛЯ СПИСКОВ*/
}

.planet-col.text-col {
  min-width: 280px;
  max-width: 350px;
  text-align: left;
  line-height: 1.4;
}

.planet-col.center-graphic {
  /* Фиксируем размер, чтобы круг не менял пропорции */
  width: 350px;
  height: 350px;
  /* Твой старый класс features_item_zemleopisanie внутри */
}
.planet-col.center-graphic .features_item_zemleopisanie {
  display: block;
  width: 100%; /* Растягиваем на всю ширину родителя (350px) */
  height: 100%;
  text-align: left;
  line-height: 16px;
  text-align: left;
  color: rgba(22, 14, 89, 0.89);
  font-size: 22px;
  font-style: italic;
}
.planet-col.center-graphic .features_item_zemleopisanie img {
  width: 100%;
  height: auto;
}
.planet-col.center-graphic .features_item_zemleopisanie:first-child {
  width: 32%;
  padding-top: 40px;
  margin-right: 5px;
}
.planet-col.center-graphic .features_item_zemleopisanie:nth-child(2) {
  margin: 0;
  padding: 0;
}
.planet-col.center-graphic .features_item_zemleopisanie:nth-child(2) :hover {
  background-color: #ffffcc;
}
.planet-col.center-graphic .features_item_zemleopisanie:last-child {
  width: 28%;
  text-align: right;
  margin-left: 5px;
  padding-top: 0;
  padding-right: 15px;
  padding-left: 5px;
  padding-bottom: 20px;
  text-decoration: none;
}
.planet-col.center-graphic .features_item_zemleopisanie:last-child :hover {
  text-decoration: underline;
  color: #ffffcc;
}
.planet-col.center-graphic .features_item_zemleopisanie .features-icon {
  margin-top: 10px;
  width: 100px;
  height: 104px;
  margin-bottom: 3px;
  background-repeat: no-repeat;
  filter: drop-shadow(1px 1px 1px red);
}
.planet-col.center-graphic .features_item_zemleopisanie .features-icon:hover {
  margin-left: -1px;
}
.planet-col.center-graphic .features_item_zemleopisanie .features-title {
  text-transform: uppercase;
  color: darkblue;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}
.planet-col.center-graphic .features_item_zemleopisanie .features-title:hover {
  color: mediumvioletred;
}
.planet-col.center-graphic .features_item_zemleopisanie .features-title2 {
  color: darkblue;
  font-size: 20px;
  list-style-type: none;
}
.planet-col.center-graphic .features_item_zemleopisanie .features-title2:hover {
  color: mediumvioletred;
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu {
  min-width: 300px;
  min-height: 300px;
  margin-right: 0;
  margin-top: -10px;
  margin-bottom: 20px;
  border-radius: 50%;
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul {
  position: relative;
  min-width: 300px;
  min-height: 300px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
  border-radius: 50%;
  overflow: hidden;
  background-color: #4e410e;
  box-shadow: 3px 3px 3px grey, 2px 2px 2px red, 1px 1px 1px black;
  border: 3px solid rgb(20, 27, 43);
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul li {
  position: absolute;
  top: -12px;
  left: -10px;
  width: 162px;
  height: 162px;
  transform-origin: 100% 100%;
  border-radius: 5%;
  overflow: hidden;
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul li:nth-child(1) {
  transform: rotate(0deg) skew(30deg);
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul li:nth-child(2) {
  transform: rotate(60deg) skew(30deg);
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul li:nth-child(3) {
  transform: rotate(120deg) skew(30deg);
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul li:nth-child(4) {
  transform: rotate(180deg) skew(30deg);
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul li:nth-child(5) {
  transform: rotate(240deg) skew(30deg);
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul li:nth-child(6) {
  transform: rotate(300deg) skew(30deg);
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul li a {
  display: block;
  min-width: 130px;
  min-height: 160px;
  margin-top: 50px;
  margin-left: 45px;
  padding-top: 18%;
  padding-right: 20%;
  font-size: 14px;
  font-style: italic;
  font-weight: bold;
  background-position: 50% 35%;
  background-repeat: no-repeat;
  border-radius: 30%;
  transition: background-color 0.3s;
  transform: skew(-30deg) rotate(-60deg);
  color: rgb(237, 229, 77);
  background-position: center !important;
  background-size: 65% auto !important; /* Картинка не больше 65% ширины сектора — гарантированно не упрётся в острый угол */
  /* Если текст всё ещё «улетает» в угол из‑за skew, компенсируем сдвиг */
  /* Если текст всё ещё «улетает» в угол из‑за skew, компенсируем сдвиг */
  margin-top: 22%;
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul li a:hover {
  min-width: 170px;
  background-color: rgb(236, 213, 91);
  color: rgb(20, 27, 43);
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul li:nth-child(2) a:hover {
  background-color: rgb(2, 25, 55);
  color: rgb(36, 180, 226);
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul li {
  background: linear-gradient(45deg, rgb(66, 41, 7), rgb(245, 110, 12));
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul li:nth-child(2) {
  background: linear-gradient(45deg, rgb(29, 152, 141), rgb(245, 110, 12));
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul li:nth-child(1) a {
  background-image: url("/static/images/90_V_mainland_Eurasia.png");
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul li:nth-child(2) a {
  background-image: url("/static/images/90_V_cont_Oceans.png");
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul li:nth-child(3) a {
  background-image: url("/static/images/90_V_cont_Australia.png");
  min-width: 100px;
  margin-top: 50px;
  padding-top: 13%;
  padding-right: 10%;
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul li:nth-child(4) a {
  background-image: url("/static/images/90_V_cont_America.png");
  margin-top: 50px;
  padding-top: 10%;
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul li:nth-child(5) a {
  background-image: url("/static/images/90_V_cont_Antarctica.png");
  width: 100px;
  margin-top: 50px;
  padding-top: 13%;
  padding-right: 10%;
}
.planet-col.center-graphic .features_item_zemleopisanie .circle_menu ul li:nth-child(6) a {
  background-image: url("/static/images/90_V_cont_Africa.png");
  min-width: 100px;
  margin-top: 50px;
  padding-top: 10%;
}

.planet-col.nav-col {
  min-width: 250px;
  max-width: 300px;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.planet-col.nav-col a {
  text-decoration: none;
}
.planet-col.nav-col .features-icon {
  margin-top: 10px;
  width: 100px;
  height: 104px;
  margin-bottom: 3px;
  background-repeat: no-repeat;
  filter: drop-shadow(1px 1px 1px red);
}
.planet-col.nav-col .features-icon:hover {
  margin-left: -1px;
}
.planet-col.nav-col .menu-item-title {
  text-transform: uppercase;
  color: darkblue;
  font-size: 18px;
  font-weight: bold;
}
.planet-col.nav-col .menu-item-title:hover {
  color: mediumvioletred;
}
.planet-col.nav-col .menu-item {
  color: darkblue;
  font-size: 18px;
}
.planet-col.nav-col .menu-item:hover {
  color: rgb(240, 120, 22);
}

@media (max-width: 900px) {
  .planet-layout-wrapper {
    flex-direction: column; /* Блоки друг под другом */
    align-items: center; /* Все по центру */
    text-align: center;
    gap: 20px;
  }
  .planet-col.text-col,
  .planet-col.nav-col {
    width: 100%;
    max-width: 100%;
  }
  .planet-col.center-graphic {
    width: 300px; /* Чуть уменьшаем круг на планшете */
    height: 300px;
  }
}
header {
  background: linear-gradient(0deg, #ffffcc, #ec690b);
}
header .wrapper {
  background: linear-gradient(0deg, #ffffcc, #ec690b);
}
header .header-title {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  gap: 12px;
  padding-top: 20px;
}
header .header-title .page-title-span {
  display: inline-block;
  white-space: normal;
  min-width: 0;
  line-height: 1.2;
  padding-left: 10px;
  font-size: 1.6rem;
}
header .header-title .page-title {
  margin: 0;
  font-size: 62px;
  line-height: 1.2;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
}
@media (max-width: 768px) {
  header .header-title .page-title {
    font-size: 1.4rem;
    line-height: 1.2;
    padding-left: 10px;
  }
  header .header-title .page-title-span {
    font-size: 14px;
  }
  header .page-title-span {
    text-decoration: underline;
  }
}
header .header-top-right {
  width: 100%;
  max-width: 100%;
  white-space: normal;
}
@media (max-width: 600px) {
  header .header-top-right {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }
  header .header-title .page-title {
    font-size: 1.5rem;
    line-height: 1.5;
    padding-left: 10px;
  }
  header .header-title .page-title-span {
    font-size: 20px;
  }
  header .page-title-span {
    text-decoration: underline;
  }
}
@media (max-width: 400px) {
  header .header-top-right {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }
  header .header-title .page-title {
    font-size: 1.5rem;
    line-height: 1.2;
    padding-left: 10px;
  }
  header .header-title .page-title-span {
    font-size: 18px;
    line-height: 1;
  }
  header .page-title-span {
    text-decoration: underline;
  }
}

.features-section {
  border: none; /* Убираем стандартную рамку браузера */
  border-top: 1px solid #333; /* Рисуем свою линию */
  width: 100%; /* Ширина — на всю доступную ширину контейнера */
  margin: 20px 0; /* Отступы сверху и снизу */
}

.div_center {
  text-align: center;
}

.features-icon-top200_49 {
  display: block;
  position: fixed;
  bottom: 60px;
  right: 40px;
  float: right;
  margin-top: 5px;
  margin-bottom: 1px;
  width: 200px;
  height: 50px;
  background-image: url("/static/images/icon-top.svg");
  background-repeat: no-repeat;
}

.features-icon-top200_49:hover {
  background-image: url("/static/images/top_active200_49.png");
}

.imagesLM:focus, .imagesLM:hover {
  transform: scale(1.5);
  z-index: 500;
}

.imagesLM2:focus, .imagesLM2:hover {
  transform: scale(2);
  z-index: 500;
}

.table_of_contents {
  list-style-type: none;
  padding-left: 30px;
}

.imagesLM {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.article-section .li_indent {
  padding-bottom: 8px;
}

.main-nav {
  width: 100%;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  font-size: 18px;
  color: grey;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  text-decoration: underline;
}

.nav-list .section-col {
  width: calc(25% - 20px);
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

/* --- УРОВЕНЬ 1: Крупные тематические блоки --- */
.nav-list .section-title {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 16px;
  color: rgba(22, 14, 89, 0.89);
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

/* --- УРОВЕНЬ 2: Подзаголовки --- */
.nav-list .sub-section-title {
  text-transform: none;
  letter-spacing: normal;
  font-size: 16px;
  color: rgba(22, 14, 89, 0.89);
  font-weight: normal;
  display: block;
  margin-bottom: 12px;
}

/* Базовые ссылки */
.nav-list a {
  font-weight: normal;
  text-transform: none;
  color: rgba(22, 14, 89, 0.89);
  text-decoration: none;
  line-height: 1.3;
  font-size: 16px;
  display: block;
}
.nav-list a:hover {
  color: #d47a0e;
  text-decoration: underline;
}

/* Вложенные списки (подпункты) */
.nav-list ul {
  list-style: none;
  margin: 0;
  padding-left: 12px;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

/* Элементы списка (li) — ЕДИНЫЙ ОТСТУП */
.nav-list li {
  margin: 0;
  padding: 0;
  margin-bottom: 8px;
  line-height: 1.3;
}

/* ИСКЛЮЧЕНИЕ: У последнего элемента в списке отступ снизу не нужен */
.nav-list li:last-child {
  margin-bottom: 0;
}

/* Для вложенных списков: сбрасываем отступ у самого li, 
   так как отступ уже задан родителем или структурой */
.nav-list ul li {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Но чтобы сохранить ритм внутри вложенного списка, 
    мы добавляем отступ только к ссылкам внутри вложенного li, 
    либо оставляем margin-bottom у li, если это не ломает структуру.

    ЛУЧШИЙ ВАРИАНТ для твоей задачи: 
    Отступ задается только у прямых потомков .nav-list > li.
    Вложенные li не имеют margin-bottom, но имеют padding-top у ссылки.
*/
.nav-list > li {
  margin-bottom: 12px;
}

.nav-list ul li {
  margin-bottom: 0;
  padding-top: 4px;
}

.nav-list ul li li {
  padding-top: 2px;
}

.nav-list li.active a {
  color: #7f7f7f;
  font-weight: normal;
  text-decoration: none;
}

.nav-footer {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid #393434;
  padding-top: 10px;
}
.nav-footer a {
  color: #534d4d;
  text-decoration: underline;
  font-size: 18px;
  font-style: italic;
  font-weight: normal;
  text-transform: none;
  white-space: nowrap;
}
.nav-footer a:hover {
  color: #18075a;
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .nav-list .section-col {
    width: calc(33.333% - 20px);
  }
}
@media (max-width: 768px) {
  .nav-list {
    flex-direction: column;
  }
  .nav-list .section-col {
    width: 100%;
    border-bottom: 1px solid #e0ce98;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
  .nav-list .section-title,
  .nav-list .sub-section-title {
    font-size: 18px;
    text-align: left;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 12px;
  }
  .nav-list li {
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
    line-height: 1.4;
  }
  .nav-list ul li {
    margin-bottom: 0;
    padding-top: 4px;
  }
  .nav-list a {
    text-decoration: underline;
    padding: 8px 0;
    border-radius: 0;
    color: #151414;
    display: block;
  }
  .nav-footer {
    margin-top: 20px;
    flex-direction: column;
    gap: 10px;
  }
  .nav-footer a {
    font-size: 16px;
    white-space: normal;
  }
}
.page-title2_geo {
  margin: 0;
  padding-top: 20px;
  padding-bottom: 6px;
  font-style: italic;
  font-size: 1.6rem;
  color: rgba(22, 14, 89, 0.89);
}

.page-title3_geo {
  font-size: 28px;
  margin-top: 10px;
  margin-bottom: 3px;
  color: rgba(22, 14, 89, 0.89);
}

.page-title4_geo {
  font-size: 26px;
  font-style: italic;
  margin-top: 10px;
  margin-bottom: 3px;
  color: rgba(22, 14, 89, 0.89);
}

.page-title5_geo {
  font-size: 24px;
  font-style: italic;
  margin-top: 11px;
  margin-bottom: 10px;
  color: rgba(22, 14, 89, 0.89);
}

.page-title6_geo {
  font-size: 22px;
  font-style: italic;
  color: rgba(22, 14, 89, 0.89);
  margin-bottom: 1px;
}

.page-title {
  font-size: 56px;
  line-height: 60px;
  font-weight: 700;
  padding-top: 10px;
  text-transform: uppercase;
  color: rgba(22, 14, 89, 0.89);
  text-shadow: 2px 2px 0 #e5d4c0, 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.page-title-span {
  font-size: 18px;
  color: rgba(22, 14, 89, 0.89);
  text-decoration: underline;
  padding-top: 0px;
  margin-top: 0;
}

/* Планшеты и крупные телефоны (до 992px) — чуть меньше */
@media (max-width: 992px) {
  .page-title {
    font-size: 42px;
    line-height: 48px;
    padding-top: 8px;
  }
}
/* Обычные мобильные (до 768px) — компактно, но читаемо */
@media (max-width: 768px) {
  .page-title {
    font-size: 28px;
    line-height: 34px;
    padding-top: 6px;
    text-align: center; /* на мобильном часто лучше центрировать заголовок */
  }
}
/* Очень маленькие экраны (до 480px) — ещё компактнее */
@media (max-width: 600px) {
  .article-section {
    font-size: 1rem;
  }
  .article-section .page-title2 {
    margin-top: 0;
    font-size: 1.9rem;
  }
}
.contents_ogl {
  list-style-type: none;
  font-style: italic;
  color: navy;
  text-align: left;
}
.contents_ogl .level2 {
  font-size: 24px;
  margin-left: 20px;
}
.contents_ogl .level3 {
  font-size: 20px;
  margin-left: 60px;
}

.page-title15_center {
  font-size: 22px;
  line-height: 20px;
  font-style: italic;
  font-weight: bold;
  color: navy;
  text-align: center;
}

.enumeration {
  font-size: 28px;
  color: red;
}

/* Очень маленькие экраны (до 480px) — ещё компактнее */
@media (max-width: 480px) {
  .page-title {
    font-size: 20px;
    line-height: 26px;
    padding-top: 4px;
  }
  .page-title-span {
    font-size: 18px;
    color: rgba(22, 14, 89, 0.89);
    text-decoration: underline;
    padding-top: 0px;
    margin-top: 0;
  }
  .page-title2_geo {
    margin-top: 0;
    font-size: 20px;
    font-style: italic;
    margin-bottom: 10px;
    color: rgba(22, 14, 89, 0.89);
  }
  .page-title3_geo {
    margin-top: 0;
    font-size: 18px;
    font-style: italic;
    padding-left: 0px;
    margin-bottom: 6px;
    color: rgba(22, 14, 89, 0.89);
  }
  .page-title4_geo {
    margin-top: 0;
    font-size: 16px;
    line-height: 20px;
    font-style: italic;
    padding-left: 0px;
    margin-bottom: 1px;
    color: rgba(22, 14, 89, 0.89);
  }
  .page-title5_geo {
    margin-top: 0;
    font-size: 14px;
    line-height: 20px;
    font-style: italic;
    margin-bottom: 10px;
    color: rgba(22, 14, 89, 0.89);
  }
  .page-title6_geo {
    margin-top: 0;
    font-size: 20px;
    line-height: 42px;
    margin-bottom: 0;
    color: rgba(22, 14, 89, 0.89);
  }
}
.contents_ogl {
  list-style-type: none;
  font-style: italic;
  color: navy;
  text-align: left;
}
.contents_ogl .level2 {
  font-size: 24px;
  margin-left: 20px;
}
.contents_ogl .level3 {
  font-size: 20px;
  margin-left: 60px;
}

.page-title15_center {
  font-size: 22px;
  line-height: 20px;
  font-style: italic;
  font-weight: bold;
  color: navy;
  text-align: center;
}

.enumeration {
  font-size: 28px;
  color: red;
}

img.img-article-left {
  max-width: 300px;
  height: auto;
  float: left;
  padding: 0 10px 10px 0;
}

img.img-article-left.thumb {
  max-width: 150px;
  height: auto;
}

p.link-read-post {
  text-align: right;
}

p.link-read-post a {
  padding: 10px;
  background: #3F4137;
  color: #fff;
  text-decoration: none;
}

div.article-panel {
  padding: 5px 10px 5px 10px;
  box-sizing: border-box;
  overflow: hidden;
  color: #555;
}

div.article-panel p.first {
  margin: 0;
  float: left;
}

div.article-panel p.last {
  margin: 0;
  float: right;
}

ul.list-articles {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.list-articles li {
  border-bottom: 1px solid #ccc;
}

.clear {
  clear: both;
}

.header {
  display: block;
  width: 720px;
  height: 60px;
}

ul.mainmenu {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 60px;
  color: #fdc073;
  font-size: 20px;
  overflow: hidden;
}

ul.mainmenu li {
  float: left;
  margin: 18px 40px 0 30px;
}

ul.mainmenu li.last {
  float: right;
}

ul.mainmenu li a {
  color: #fdc073;
  text-decoration: none;
}

ul.mainmenu li a:hover {
  color: #232220;
}

.panelitems {
  text-align: center;
}

ul.langitem {
  list-style: none;
  display: inline-block;
  margin: 30px;
  padding: 0;
  max-width: 300px;
}

ul.langitem li {
  margin: 10px 0 0 0;
  width: 100%;
}

ul.langitem li.image {
  margin: 0;
  text-align: center;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

ul.langitem li.descr {
  color: #777;
  height: 170px;
  overflow: hidden;
}

ul.langitem li a {
  color: #fdc073;
  text-decoration: none;
  font-size: 20px;
}

ul.langitem li a:hover {
  color: #FDA83D;
}

div.button {
  background: #3F4137;
  max-width: 200px;
  margin: 0 auto;
  padding: 5px 20px 5px 20px;
  border-radius: 10px;
  font-size: 20px;
}

.left-chapters {
  margin: 0;
  background: #eee;
  border-right: 1px solid #ccc;
  min-height: 100%;
}

.left-chapters ul {
  width: 230px;
  min-height: 100%;
  margin: 0;
  padding: 20px 10px 10px 20px;
  list-style: none;
  font-size: 20px;
}

.left-chapters ul li {
  margin: 30px 0 0 0;
  color: #999;
}

.left-chapters ul li.selected {
  color: #0059b2;
}

.left-chapters ul li a {
  color: #444;
  text-decoration: none;
}

.left-chapters ul li a:hover {
  color: #CC0000;
}

.left-chapters ul li.share {
  margin: 60px 0 0 0;
}

.left-chapters ul li.share p {
  margin: 30px 0 30px 0;
}

.left-chapters ul li.share a {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin: 0 20px 0 0;
}

.content {
  padding: 40px 20px 20px 40px;
  width: 100%;
  box-sizing: border-box;
}

.breadcrumbs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.breadcrumbs li {
  margin-bottom: 4px;
  padding: 1px 8px;
}

.breadcrumbs a {
  text-decoration: none;
  color: #2c3e50;
}

ul.breadcrumbs {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 20px;
}

ul.breadcrumbs li {
  display: inline-block;
}

ul.breadcrumbs li a {
  color: #0059b2;
  text-decoration: none;
  padding-left: 10px;
}

ul.breadcrumbs li a:hover {
  color: #CC0000;
}

ul.breadcrumbs li:after {
  padding: 0 10px 0 10px;
  content: "→";
}

ul.breadcrumbs li.last:after {
  content: "";
}

.breadcrumbs-wrapper {
  display: flex;
  align-items: center;
  gap: 8px; /* Расстояние между элементами (стрелки/слэши) */
}

.breadcrumbs-wrapper ul,
.breadcrumbs-wrapper ul li {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: left;
}

/* Если в include тоже ul — схлопываем отступы */
.breadcrumbs-wrapper ul + ul,
.breadcrumbs-wrapper ul + .breadcrumbs {
  margin-top: 0;
}

/* 2. Выравниваем сам список влево */
.header-bottom .breadcrumbs {
  justify-content: flex-start; /* Если это flex-контейнер */
  text-align: left; /* Если это блочный элемент с текстом */
  margin-left: 0px; /* Сбрасываем любые левые отступы */
  padding-left: 20px; /* Сбрасываем внутренние отступы */
  width: 100%; /* Растягиваем на всю ширину */
}

/* 3. Убираем отступы у элементов списка */
.header-bottom .breadcrumbs li {
  margin-left: 0;
  padding-left: 0;
}

/* 2. Выравниваем сам список влево */
.header-bottom .breadcrumbs2 {
  justify-content: flex-start; /* Если это flex-контейнер */
  text-align: left; /* Если это блочный элемент с текстом */
  margin-left: 0; /* Сбрасываем любые левые отступы */
  padding-left: 20px; /* Сбрасываем внутренние отступы */
  width: 100%; /* Растягиваем на всю ширину */
}

/* 3. Убираем отступы у элементов списка */
.header-bottom .breadcrumbs2 li {
  margin-left: 0;
  padding-left: 0;
}

ul.control {
  margin: 0;
  padding: 60px 0 0 0;
  list-style: none;
  font-size: 18px;
  width: 100%;
}

.breadcrumbs2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.breadcrumbs2 li {
  margin-bottom: 4px;
  padding: 1px 8px;
  font-style: italic;
  font-size: 18px;
}

.breadcrumbs2 a {
  text-decoration: none;
  color: #2c3e50;
}

ul.breadcrumbs2 {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 20px;
}

ul.breadcrumbs2 li {
  display: inline-block;
}

ul.breadcrumbs2 li a {
  color: #0059b2;
  text-decoration: none;
}

ul.breadcrumbs2 li a:hover {
  color: #CC0000;
}

ul.breadcrumbs2 li:after {
  padding: 0 10px 0 10px;
  content: "→";
}

ul.breadcrumbs2 li.last:after {
  content: "";
}

ul.content-table {
  margin: 0;
  padding: 60px 0 0 30px;
  list-style: none;
  font-size: 28px;
}

ul.content-table li {
  margin: 0 0 40px 0;
}

ul.content-table li a {
  color: #BB5715;
  text-decoration: none;
}

ul.content-table li a:hover {
  color: #F0711C;
}

.content-text {
  margin: 60px 0 0 30px;
  color: #000;
  font-size: 20px;
}

.content-text h1 {
  font-size: 32px;
}

ul.lang-list {
  list-style: none;
  margin: 0;
  padding: 14px 0 0 0;
  background: #3F4137;
  width: 100%;
  height: 50px;
  border-top: 1px solid #959A82;
  box-sizing: border-box;
  font-size: 18px;
}

ul.lang-list li {
  display: inline-block;
  margin-left: 40px;
}

ul.lang-list li.selected {
  color: #fdc073;
  border-bottom: 1px solid #fdc073;
}

ul.lang-list li a {
  color: #eee;
  text-decoration: none;
}

ul.lang-list li a:hover {
  color: #fdc073;
}

.topic-subject .topic-line {
  border-bottom: 1px solid #CC0000;
  margin-top: -16px;
}

.topic-subject .topic-text {
  display: inline-block;
  font-size: 28px;
  color: #777;
  padding: 0 10px 0 10px;
  margin-left: 30px;
  background: #fff;
}

.highlight {
  max-width: 350px;
  padding: 0 10px 0 10px;
  margin: 0;
  overflow: auto;
  overflow-y: hidden;
  background: #f0f0f0;
}

.highlight p {
  margin: 0;
}

.highlight .block {
  width: 100%;
  margin: 0;
}

.highlight .block p {
  margin: 0;
}

.form-input {
  width: 300px;
  font-size: 16px;
}

.form-label {
  display: inline-block;
  min-width: 150px;
  vertical-align: top;
  margin-right: 10px;
}

.form-error ul {
  list-style: none;
  padding: 0;
  color: #CC0000;
}

.form-button {
  min-width: 200px;
  font-size: 16px;
}

.list-pages {
  text-align: center;
  margin: 0 0 20px 0;
}

.list-pages ul {
  margin: 20px 0 0 0;
  padding: 0;
  list-style: none;
}

.list-pages ul li {
  display: inline-block;
  margin: 0 20px 0 0;
}

.list-pages a {
  color: #000;
  font-size: 24px;
  text-decoration: none;
}

.list-pages .page-num, .page-num-selected {
  display: inline-block;
  width: 60px;
  height: 44px;
  padding: 16px 0 0 0;
  border: 1px solid #d0d0d0;
  border-radius: 30px;
}

.list-pages .page-num:hover {
  box-shadow: 3px 3px 1px #d0d0d0;
}

.list-pages .page-num-selected {
  border: none;
  color: #000;
  font-size: 20px;
}

.list-pages .page-num-selected:hover {
  box-shadow: none;
}

/* === НИЖНЯЯ ЧАСТЬ (Мотиватор) === */
.header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* Выравниваем фикус и текст по нижнему краю */
  margin-top: 10px;
  padding-bottom: 10px;
}

.packet-three {
  display: grid;
  grid-template-columns: 1fr; /* 1 колонка по умолчанию (мобильные) */
  gap: 20px; /* Расстояние между блоками */
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px; /* Внутренний отступ контейнера */
}
.packet-three .packet-three_one {
  width: 100%;
  max-width: 700px; /* Ограничение ширины карточки */
  margin: 0 auto; /* Центрирование карточки */
  padding: 15px;
  padding-top: 1px;
  padding-bottom: 1px;
  box-sizing: border-box;
  text-align: left;
}
.packet-three .packet-three_one li {
  font-size: 18px;
  color: rgba(22, 14, 89, 0.89);
}

/* Планшеты: 2 колонки */
@media (min-width: 768px) {
  .packet-three {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .packet-three {
    grid-template-columns: repeat(2, 1fr); /* На десктопе оставили 2 колонки — так каждая будет заметно шире */
  }
}
@media (min-width: 1200px) {
  .packet-three {
    grid-template-columns: repeat(3, 1fr); /* На больших экранах — 3 колонки, если 2 слишком широкие */
  }
}
.packet-three_1 {
  display: inline-block;
  text-align: center;
  width: 100%;
  height: auto;
  margin: 5px;
  padding: 5px;
  padding-left: 50px;
}
.packet-three_1 .packet-three_one_1 {
  display: inline-block;
  text-align: left;
  width: 70%;
  height: auto;
  margin: 5px;
  padding: 5px;
  padding-left: 80px;
}
.packet-three_1 .packet-three_one_1 h2 {
  font-size: 26px;
  color: rgba(22, 14, 89, 0.89);
  font-style: italic;
}
.packet-three_1 .packet-three_one_1 li {
  font-size: 18px;
  color: rgba(22, 14, 89, 0.89);
}

.planetosphere {
  padding-left: 10px;
}
.planetosphere h1 {
  font-size: 34px;
  color: rgba(22, 14, 89, 0.89);
}
.planetosphere h1 h2 {
  font-size: 26px;
  color: rgba(22, 14, 89, 0.89);
  font-style: italic;
}
.planetosphere h1 h3 {
  font-size: 24px;
  padding-top: 10px;
  padding-bottom: 0;
  color: rgba(22, 14, 89, 0.89);
  font-style: italic;
  font-weight: bold;
}
.planetosphere h1 p {
  color: rgba(22, 14, 89, 0.89);
}

.conteinerLeftText2 {
  display: inline-block;
  width: 620px;
  vertical-align: top;
  text-align: left;
  margin: 10px;
  padding: 5px;
  font-size: 20px;
}
.conteinerLeftText2 .left-right {
  display: inline-block;
}
.conteinerLeftText2 .left-col {
  width: 400px;
}

details {
  position: relative;
  display: block;
  max-width: 980px;
  padding: 5px 25px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  transition: 0.3s;
  overflow: hidden;
}
details summary {
  text-align: left;
}

summary {
  display: inline;
  font-style: 20px;
  font-style: italic;
  font-weight: bold;
  color: navy;
  padding: 20px;
  margin-bottom: 10px;
  text-decoration: underline;
  text-align: left;
}

.title2_details {
  font-size: 20px;
  font-style: italic;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 3px;
  color: navy;
}

.title3_details {
  font-size: 20px;
  font-style: italic;
  font-weight: bold;
  margin-top: 6px;
  color: navy;
}

.title4_details {
  font-size: 20px;
  font-style: italic;
  font-weight: bold;
  margin-top: 6px;
  color: navy;
}

.title5_details {
  font-size: 18px;
  font-style: italic;
  font-weight: bold;
  margin-top: 6px;
  color: navy;
}

.title6_details {
  font-size: 16px;
  font-style: italic;
  font-weight: bold;
  margin-top: 6px;
  color: navy;
}

/* Стили для текстового поля с кнопкой "Далее" */
.limiter {
  max-height: 70px;
  overflow: hidden;
  position: relative;
}

.limiter .bottom {
  position: absolute; /* Если прыгает - можно попробовать sticky */
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255, 217, 29, 0), rgb(255, 217, 29) 90%);
  width: 100%;
  height: 60px;
  opacity: 1;
  transition: 0.3s;
}

.read-more-checker {
  opacity: 0;
  position: absolute;
}

.read-more-checker:checked ~ .limiter {
  max-height: none;
}

.read-more-checker:checked ~ .limiter .bottom {
  opacity: 0;
  transition: 0.3s;
}

.read-more-checker ~ .read-more-button:before {
  content: "Развернуть »";
}

.read-more-checker:checked ~ .read-more-button:before {
  content: "Свернуть «";
}

.read-more-button {
  cursor: pointer;
  display: inline-block;
  color: #777;
  text-decoration: underline;
}

.continents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 15px;
  margin-top: 20px;
  padding: 0;
}

.oceans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 15px;
  margin-top: 20px;
  padding: 0;
}

.continent-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
}

.ocean-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 15px;
  margin-top: 20px;
  padding: 0;
}

.ocean-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
}

.legend-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  border: 1px solid #ccc; /* замени на свой цвет границы */
  padding: 24px;
  box-sizing: border-box;
  width: 100%;
  gap: 24px;
}
.legend-wrapper .legend-text {
  flex: 1;
  min-width: 0; /* позволяет сжиматься на узких экранах */
}
.legend-wrapper .legend-cards {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-shrink: 0; /* запрещает сжимать блок с карточками */
  align-items: flex-start;
}
.legend-wrapper .legend-cards .features-item {
  width: 295px !important;
  flex: 0 0 295px !important;
  height: 200px !important;
  max-height: 220px !important;
  /* Оставляем flex для структуры, но меняем логику детей */
  display: flex;
  flex-direction: column;
  /* ВАЖНО: убираем overflow: hidden, пока тестируем. 
  Если иконка вылезет за границы — вернём, но сейчас это мешает отладке */
  /* overflow: hidden; */
  background-color: #eee8aa;
  border-radius: 12px;
  box-shadow: 1px 1px 2px 2px grey;
  padding: 15px;
  box-sizing: border-box;
  position: relative; /* Нужно для абсолютного позиционирования иконки */
  color: rgba(22, 14, 89, 0.89);
}
.legend-wrapper .legend-cards .features-icon {
  /* Жёстко фиксируем размеры, чтобы блок не схлопнулся в 0 */
  width: 100px;
  height: 104px;
  /* МАГИЯ: вынимаем иконку из потока Flexbox */
  position: absolute;
  top: 15px;
  left: 15px;
  /* Убираем марджины, они конфликтуют с top/left */
  margin: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  /* Если вдруг иконка всё ещё не видна, добавим явный z-index */
  z-index: 10;
}

/* --- АДАПТИВ: МОБИЛЬНЫЕ И ПЛАНШЕТЫ --- */
@media (max-width: 1023px) {
  .legend-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
    gap: 16px;
  }
  .legend-text {
    text-align: left;
    align-self: stretch;
  }
  .legend-cards {
    flex-direction: column; /* карточки друг под другом */
    align-items: center;
    width: 100%;
    gap: 12px;
  }
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  padding: 10px;
  line-height: 1.1;
  justify-content: flex-start;
  box-sizing: border-box;
}

.features-item {
  /* Жесткая фиксация размеров */
  width: 295px !important;
  flex: 0 0 295px !important;
  height: 180px !important;
  max-height: 220px !important;
  display: flex;
  flex-direction: column;
  /* Распределяем пространство: иконка сверху, текст снизу */
  justify-content: flex;
  align-items: flex-start;
  background-color: #eee8aa;
  border-radius: 12px;
  box-shadow: 1px 1px 2px 2px grey;
  padding: 5px;
  padding-right: 10px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  color: rgba(22, 14, 89, 0.89);
}
.features-item:hover {
  box-shadow: 1px 1px 2px 2px black;
  background-color: rgb(189, 183, 107);
  color: #2f2e2e; /* хаки тёмный]*/
  margin-left: 1px;
}
.features-item a {
  cursor: pointer;
  text-decoration: none;
}
.features-item .features-icon {
  width: 100px;
  height: 104px;
  /* --- ВОТ ЗДЕСЬ МАГИЯ СМЕЩЕНИЯ --- */
  /* Было: margin-top: 10px, margin-left: 10px */
  /* Стало: сдвигаем чуть выше и левее */
  margin-top: 1px;
  margin-left: 7px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.features-item .features-title {
  margin: 0;
  font-size: 15px;
  font-weight: bold;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.3;
  /* Разрешаем перенос строк */
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  width: 100%;
  text-align: right;
  align-self: flex-end;
  max-height: 100%;
  color: rgba(22, 14, 89, 0.89);
}

.features-item1 {
  display: inline-block;
  vertical-align: top;
  background-color: #eee8aa; /* бледно жёлтый*/
  border-radius: 5%;
  box-shadow: 1px 1px 2px 2px grey;
  box-shadow: 1px 1px 2px 2px grey;
  width: 295px;
  height: 200px;
  margin: 5px;
  padding: 5px;
  padding-right: 10px;
  text-align: right;
  font-style: italic;
  color: rgba(22, 14, 89, 0.89);
  text-decoration: none;
}
.features-item1 .main_page_dt {
  font-size: 16px;
}
.features-item1:hover {
  box-shadow: 1px 1px 2px 2px black;
  background-color: rgb(189, 183, 107);
  color: #2f2e2e; /* хаки тёмный]*/
  margin-left: 1px;
}
.features-item1 a {
  cursor: pointer;
  text-decoration: none;
}
.features-item1 .features-icon1 {
  margin-top: 10px;
  margin-bottom: 5px;
  margin-left: 10px;
  width: 100px;
  height: 104px;
  background-repeat: no-repeat;
}
.features-item1 .features-title1 {
  margin-top: 11px;
  margin-bottom: 5px;
  text-transform: uppercase;
  color: rgba(22, 14, 89, 0.89);
  font-size: 16px;
  font-weight: bold;
  text-align: right;
  padding-right: 6px;
}
.features-item1 .features-title1:hover {
  color: rgb(255, 69, 0);
  text-decoration: none;
}
.features-item1 .features-title1 a {
  cursor: pointer;
}

/* --- АДАПТИВ: МОБИЛЬНЫЕ (< 1024px) --- */
@media (max-width: 1023px) {
  .features-item {
    width: 100%;
    max-width: 295px; /* Чтобы не растягивались на широких планшетах */
    height: auto; /* Или оставь 200px, если критично */
    flex: 0 0 auto;
    align-self: center;
  }
  .features-icon {
    height: 100px;
  }
}
/*АЭРОПОРТЫ*/
.features-icon-Vairports {
  background-image: url("/static/images/Vairports.png");
}

.features-icon-Kairports {
  background-image: url("/static/images/Kairports.png");
}

.features-icon-V_hotel {
  background-image: url("/static/images/V_hotel.png");
}

.features-icon-K_hotel {
  background-image: url("/static/images/K_hotel.png");
}

/*ВЕТКЛИНИКИ*/
.features-icon-Kmed {
  background-image: url("/static/images/Kmed.png");
}

/*КОНЦЕРТНЫЕ ЗАЛЫ*/
.features-icon-Vconcert {
  background-image: url("/static/images/Vconcert.png");
}

.features-icon-Kconcert {
  background-image: url("/static/images/Kconcert.png");
}

.features-icon-Vexhibition {
  background-image: url("/static/images/Vexhibition.png");
}

.features-icon-Kexhibition {
  background-image: url("/static/images/Kexhibition.png");
}

/*ДВОРЫ*/
.features-icon-Vbackyard {
  background-image: url("/static/images/Vbackyard.png");
}

.features-icon-Kbackyard {
  background-image: url("/static/images/Kbackyard.png");
}

/*ИКОНКИ БИЗНЕС ЦЕНТРОВ*/
.features-icon-Vbc {
  background-image: url("/static/images/Vbc.png");
}

.features-icon-Kbc {
  background-image: url("/static/images/Kbc.png");
}

/*АВТОВОКЗАЛ*/
.features-icon-VbusI {
  background-image: url("/static/images/VbusI.png");
}

.features-icon-KbusI {
  background-image: url("/static/images/KbusI.png");
}

/*АВТОБУСЫ*/
.features-icon-Vbus {
  background-image: url("/static/images/Vbus.png");
}

.features-icon-Kbus {
  background-image: url("/static/images/Kbus.png");
}

/*МАРШРУТКИ*/
.features-icon-Vmini_bus {
  background-image: url("/static/images/Vmini_bus.png");
}

.features-icon-Kmini_bus {
  background-image: url("/static/images/Kmini_bus.png");
}

/*ТРОЛЛЕЙБУСЫ*/
.features-icon-Vtrolley {
  background-image: url("/static/images/Vtrolley.png");
}

.features-icon-Ktrolley {
  background-image: url("/static/images/Ktrolley.png");
}

/*ТРАМВАИ*/
.features-icon-Vtram {
  background-image: url("/static/images/Vtram.png");
}

.features-icon-Ktram {
  background-image: url("/static/images/Ktram.png");
}

/*ИКОНКИ ТАКСИ*/
.features-icon-Vtaxi {
  background-image: url("/static/images/Vtaxi.png");
}

.features-icon-Ktaxi {
  background-image: url("/static/images/Ktaxi.png");
}

/*ИКОНКИ РЕЧНОЙ ТРАНСПОРТ*/
.features-icon-Vriver_transport {
  background-image: url("/static/images/Vriver_transport.png");
}

.features-icon-Kriver_transport {
  background-image: url("/static/images/Kriver_transport.png");
}

/*ИКОНКИ АРЕНДА АВТОМОБИЛЯ*/
.features-icon-Vrent_a_car {
  background-image: url("/static/images/Vrent_a_car.png");
}

.features-icon-Krent_a_car {
  background-image: url("/static/images/Krent_a_car.png");
}

/*ИКОНКИ АРЕНДА ВЕЛОСИПЕДОВ*/
.features-icon-Vbikes {
  background-image: url("/static/images/Vbikes.png");
}

.features-icon-Kbikes {
  background-image: url("/static/images/Kbikes.png");
}

/*КЛАДБИЩА*/
.features-icon-Vkladbishe {
  background-image: url("/static/images/Vkladbishe.png");
}

.features-icon-Kkladbishe {
  background-image: url("/static/images/Kkladbishe.png");
}

/*ИКОНКУИ МУЗЕЕВ*/
.features-icon-Vmuseums {
  background-image: url("/static/images/Vmuseums.png");
}

.features-icon-Kmuseums {
  background-image: url("/static/images/Kmuseums.png");
}

/*ИКОНКИ ПАМЯТНИКОВ*/
.features-icon-Vmonuments {
  background-image: url("/static/images/Vmonuments.png");
}

.features-icon-Kmonuments {
  background-image: url("/static/images/Kmonuments.png");
}

/*МАГИСТРАЛИ: МОСТЫ, ЭСКАКАДЫ, ПУТЕПРОВОДЫ, ТОННЕЛИ...*/
/*МОСТЫ*/
.features-icon-Vbridges {
  background-image: url("/static/images/Vbridges.png");
}

.features-icon-Kbridges {
  background-image: url("/static/images/Kbridges.png");
}

/*ЭСТАКАДЫ*/
.features-icon-Vestakad {
  background-image: url("/static/images/Vestakad.png");
}

.features-icon-Kestakad {
  background-image: url("/static/images/Kestakad.png");
}

/*ИКОНКИ ВЫЛЕТНЫХ МАГИСТРАЛЕЙ*/
.features-icon-Vmotorways {
  background-image: url("/static/images/Vmotorways.png");
}

.features-icon-Kmotorways {
  background-image: url("/static/images/Kmotorways.png");
}

.features-icon-Vmotorways_radial_artery {
  background-image: url("/static/images/v_motorways_radial_artery.png");
}

.features-icon-mV_motorways_radial_artery {
  background-image: url("/static/images/mV_motorways_radial_artery.png");
}

.features-icon-V_motorways_radial_artery {
  background-image: url("/static/images/V_motorways_radial_artery.png");
}

.features-icon-K_motorways_radial_artery {
  background-image: url("/static/images/K_motorways_radial_artery.png");
}

/*ИКОНКИ ПУТЕПРОВОДОВ*/
.features-icon-Vputeprovod {
  background-image: url("/static/images/Vputeprovod.png");
}

.features-icon-Kputeprovod {
  background-image: url("/static/images/Kputeprovod.png");
}

/*ИКОНКИ ТОННЕЛИ*/
.features-icon-Vtonneli {
  background-image: url("/static/images/Vtonneli.png");
}

.features-icon-Ktonneli {
  background-image: url("/static/images/Ktonneli.png");
}

/*ИКОНКИ ПАРКОВ*/
.features-icon-Vparks {
  background-image: url("/static/images/Vparks.png");
}

.features-icon-Kparks {
  background-image: url("/static/images/Kparks.png");
}

/*ИКОНКИ СПОРТИВНЫХ СООРУЖЕНИЙ*/
.features-icon-Vsports {
  background-image: url("/static/images/Vsports.png");
}

.features-icon-Ksports {
  background-image: url("/static/images/Ksports.png");
}

/*ЖЕЛЕЗНОДОРОЖНЫЕ ВОКЗАЛЫ*/
.features-icon-Vstations {
  background-image: url("/static/images/Vstations.png");
}

.features-icon-Kstations {
  background-image: url("/static/images/Kstations.png");
}

/*УЛИЦЫ*/
.features-icon-Vstreet {
  background-image: url("/static/images/Vstreet.png");
}

.features-icon-Kstreet {
  background-image: url("/static/images/Kstreet.png");
}

.features-icon-Vsquare {
  background-image: url("/static/images/Vsquare.png");
}

.features-icon-Ksquare {
  background-image: url("/static/images/Ksquare.png");
}

/*ХРАМЫ православные*/
.features-icon-V_temples_orthodox {
  background-image: url("/static/images/V_temples_orthodox.png");
}

.features-icon-mV_temples_orthodox {
  background-image: url("/static/images/mV_temples_orthodox.png");
}

/*ХРАМЫ католические*/
.features-icon-V_temples_catholic {
  background-image: url("/static/images/V_temples_catholic.png");
}

.features-icon-mV_temples_catholic {
  background-image: url("/static/images/mV_temples_catholic.png");
}

/*ХРАМЫ протестантские*/
.features-icon-V_temples_protestant {
  background-image: url("/static/images/V_temples_protestant.png");
}

.features-icon-mV_temples_protestant {
  background-image: url("/static/images/mV_temples_protestant.png");
}

/*ХРАМЫ ислам*/
.features-icon-V_temples_islamic {
  background-image: url("/static/images/V_temples_islamic.png");
}

.features-icon-mV_temples_islamic {
  background-image: url("/static/images/mV_temples_islamic.png");
}

/*ХРАМЫ буддийские*/
.features-icon-V_temples_budyski {
  background-image: url("/static/images/V_temples_budyski.png");
}

.features-icon-mV_temples_budyski {
  background-image: url("/static/images/mV_temples_budyski.png");
}

/*ХРАМЫ конфуцианские*/
.features-icon-V_temples_confucian {
  background-image: url("/static/images/V_temples_confucian.png");
}

.features-icon-mV_temples_confucian {
  background-image: url("/static/images/mV_temples_confucian.png");
}

/*ХРАМЫ даосские*/
.features-icon-V_temples_taoist {
  background-image: url("/static/images/V_temples_taoist.png");
}

.features-icon-mV_temples_taoist {
  background-image: url("/static/images/mV_temples_taoist.png");
}

/*ХРАМЫ синтоистские*/
.features-icon-V_temples_shinto {
  background-image: url("/static/images/V_temples_shinto.png");
}

.features-icon-mV_temples_shinto {
  background-image: url("/static/images/mV_temples_shinto.png");
}

/*ХРАМЫ индуистские*/
.features-icon-V_temples_hindui {
  background-image: url("/static/images/V_temples_hindui.png");
}

.features-icon-mV_temples_hindui.png {
  background-image: url("/static/images/mV_temples_hindui.png");
}

/*ХРАМЫ джайнистские*/
.features-icon-V_temples_jainism {
  background-image: url("/static/images/V_temples_Jainism.png");
}

.features-icon-mV_temples_jainism {
  background-image: url("/static/images/mV_temples_Jainism.png");
}

/*ХРАМЫ иудейские*/
.features-icon-V_temples_jewish {
  background-image: url("/static/images/V_temples_jewish.png");
}

.features-icon-mV_temples_jewish {
  background-image: url("/static/images/mV_temples_jewish.png");
}

/*ТЕАТРЫ*/
.features-icon-Vtheatres {
  background-image: url("/static/images/Vtheatres.png");
}

.features-icon-Ktheatres {
  background-image: url("/static/images/Ktheatres.png");
}

/*ИКОНКИ ТОРГОВЫХ ЦЕНТРОВ*/
.features-icon-Vtc {
  background-image: url("/static/images/Vshopping.png");
}

.features-icon-Ktc {
  background-image: url("/static/images/Kshopping.png");
}

/*МИНИ ИКОНКИ ДЛЯ СПИСКОВ*/
.features-item-list-icon {
  margin-top: 0;
  width: 25px;
  height: 25px;
  background-repeat: no-repeat;
}

.features-icon-25_K_Wikipedia {
  background-image: url("/static/images/25_K_Wikipedia.png ");
}

/*МЕТРО ЛИНИИ*/
.features-icon-25_V_sokolnicheskaya {
  background-image: url("/static/images/25_V_metro_sokolnicheskaya.png");
}

.features-icon-25_V_zamoskvoreche {
  background-image: url("/static/images/25_V_metro_zamoskvoreche.png");
}

.features-icon-25_V_metro_lines_arbato-pokrovskaya {
  background-image: url("/static/images/25_V_metro_arbato-pokrovskaya.png");
}

.features-icon-25_V_metro_lines_filevskaya {
  background-image: url("/static/images/25_V_metro_lines_filevskaya.png");
}

.features-icon-25_V_koltsevaya {
  background-image: url("/static/images/25_V_metro_koltsevaya.png");
}

/*КАЛУЖСКО-РИЖСКАЯ ЛИНИЯ*/
.features-icon-25_V_metro_kalujsko-rigskaya {
  background-image: url("/static/images/25_V_metro_kalujsko-rigskaya.png");
}

/*ТАГАНСКО-КРАСНОПРЕСНЕНСКАЯ ЛИНИЯ*/
.features-icon-25_V_metro_tagansko-krasnopresnenskaya {
  background-image: url("/static/images/25_V_metro_tagansko-krasnopresnenskaya.png");
}

/*КАЛИНИНСКАЯ ЛИНИЯ*/
.features-icon-25_V_kalininskaya {
  background-image: url("/static/images/25_V_m_kalininskaya.png");
}

/*СОЛНЦЕВСКАЯ ЛИНИЯ*/
.features-icon-25_V_metro_solncevskaya {
  background-image: url("/static/images/25_V_metro_solncevskaya.png");
}

.features-icon-25_V_metro_serpuhovsko-timiryasevsky {
  background-image: url("/static/images/25_V_metro_serpuhovsko-timiryasevsky.png");
}

/*ЛЮБЛИНСКО-ДМИТРОВСКАЯ ЛИНИЯ*/
.features-icon-25_V_metro_lublinsko-dmitrovsky {
  margin-top: 0;
  width: 25px;
  height: 25px;
  background-image: url("/static/images/25_V_metro_lublinsko-dmitrovsky.png");
  background-repeat: no-repeat;
}

/*БУТОВСКАЯ ЛИНИЯ*/
.features-icon-25_Vbackyard {
  background-image: url("/static/images/25_Vbackyard.png");
}

.features-icon-25_Vbackyard {
  background-image: url("/static/images/25_Vbackyard.png");
}

.features-icon-25_Vbc {
  background-image: url("/static/images/25_Vbc.png");
}

.features-icon-25_V_motorways_radial_artery {
  background-image: url("/static/images/25_v_motorways_radial_artery.png");
}

.features-icon-25_K_motorways_radial_artery {
  background-image: url("/static/images/25_K_motorways_radial_artery.png");
}

.features-icon-25_Vbridges {
  background-image: url("/static/images/25_Vbridges.png");
}

.features-icon-25_Vconcert {
  background-image: url("/static/images/25_Vconcert.png");
}

.features-icon-25_Vestakad {
  background-image: url("/static/images/25_Vestakad.png");
  background-repeat: no-repeat;
}

.features-icon-25_Kestakad {
  background-image: url("/static/images/25_Kestakad.png");
}

.features-icon-25_Vputeprovod {
  background-image: url("/static/images/25_Vputeprovod.png");
}

.features-icon-25_Vtonneli {
  background-image: url("/static/images/25_Vtonneli.png");
}

.features-icon-25_Ktonneli {
  background-image: url("/static/images/25_Ktonneli.png");
}

.features-icon-25_Vexhibition {
  background-image: url("/static/images/25_Vexhibition.png");
}

.features-icon-25_Vhigh {
  background-image: url("/static/images/25_Vhigh.png");
}

.features-icon-25_Vmetro {
  background-image: url("/static/images/25_Vmetro.png");
}

/*МКЖД-МЦК*/
.features-icon-25_V_mcr {
  background-image: url("/static/images/25_V_mcr.png");
}

.features-icon-25_Vmonuments {
  background-image: url("/static/images/25_Vmonuments.png");
}

.features-icon-25_Vmuseums {
  background-image: url("/static/images/25_Vmuseums.png");
}

.features-icon-25_Vparks {
  background-image: url("/static/images/25_Vparks.png");
}

.features-icon-25_Vriver {
  background-image: url("/static/images/25_Vriver.png");
}

.features-icon-25_Vsports {
  background-image: url("/static/images/25_Vsports.png");
}

.features-icon-25_Vstreet {
  background-image: url("/static/images/25_Vstreet.png");
}

.features-icon-25_Kstreet {
  background-image: url("/static/images/25_Kstreet.png");
}

.features-icon-25_Vsquare {
  background-image: url("/static/images/25_Vsquare.png");
}

.features-icon-25_Vstations {
  background-image: url("/static/images/25_Vstations.png");
}

.features-icon-25_Vtc {
  background-image: url("/static/images/25_Vtc.png");
}

.features-icon-25_V_temples_orthodox {
  background-image: url("/static/images/25_V_temples_orthodox.png");
}

.features-icon-25_Vtheatres {
  background-image: url("/static/images/25_Vtheatres.png");
}

.features-icon-25_V_world_country {
  background-image: url("/static/images/25_V_world_country.png");
}

.features-icon-25_K_world_country {
  background-image: url("/static/images/25_K_world_country.png");
}

.features-icon-25_V_world_country_Cyprus {
  background-image: url("/static/images/25_V_world_country_Cyprus.png");
}

.features-icon-25_V_world_country_Italy {
  background-image: url("/static/images/25_V_world_country_Italy.png");
}

.features-icon-25_V_world_country_Montenegro {
  background-image: url("/static/images/25_V_world_country_Montenegro.png");
}

.features-icon-25_V_world_country_Spain {
  background-image: url("/static/images/25_V_world_country_Spain.png");
}

.features-icon-25_V_world_country_Sweden {
  background-image: url("/static/images/25_V_world_country_Sweden.png");
}

.features-icon-25_V_world_country_Turkey {
  background-image: url("/static/images/25_V_world_country_Turkey.png");
}

.features-icon-animals-mV_animals {
  background-image: url("/static/images/mV_animals.png");
}

.features-icon-animals-V_animals {
  background-image: url("/static/images/V_animals.png");
}

/*Классы Тип Хордовые Подтип Черепные:*/
.features-icon-animals-V_fish {
  background-image: url("/static/images/V_animals_classes_fish.png");
}

.features-icon-animals-mV_fish {
  background-image: url("/static/images/mV_animals_classes_fish.png");
}

/*ИКОНКИ ЗЕМНОВОДНЫЕ (АМФИБИИ):*/
.features-icon-animals-V_amphibians {
  background-image: url("/static/images/V_animals_amphibians.png");
}

.features-icon-animals-mV_amphibianss {
  background-image: url("/static/images/mV_animals_amphibians.png");
}

/*ИКОНКИ МЛЕКОПИТАЮЩИЕ*/
.features-icon-animals-mV_mammals {
  background-image: url("/static/images/mV_mammals.png");
}

.features-icon-animals-V_mammals {
  background-image: url("/static/images/V_mammals.png");
}

/*ИКОНКИ ПРЕСМЫКАЮЩИЕСЯ (РЕПТИЛИИ)*/
.features-icon-animals-mV_reptiles {
  background-image: url("/static/images/mV_animals_reptiles.png");
}

.features-icon-animals-V_reptiles {
  background-image: url("/static/images/V_animals_reptiles.png");
}

/*ИКОНКИ ПТИЦЫ*/
.features-icon-animals-V_birds {
  background-image: url("/static/images/V_birds.png");
}

.features-icon-animals-mV_birds {
  background-image: url("/static/images/mV_birds.png");
}

.features-icon-V_biosphera_plants {
  background-image: url("/static/images/V_biosphera_plants.png");
}

.features-icon-mV_biosphera_plants {
  background-image: url("/static/images/mV_biosphera_plants.png");
}

.features-icon-V_biosphera_bacteria {
  background-image: url("/static/images/V_biosphera_bacteria.png");
}

.features-icon-mV_biosphera_bacteria {
  background-image: url("/static/images/mV_biosphera_bacteria.png");
}

.features-icon-V_biosphera_viruses {
  background-image: url("/static/images/V_biosphera_viruses.png");
}

.features-icon-mV_biosphera_viruses {
  background-image: url("/static/images/mV_biosphera_viruses.png");
}

.features-icon-V_biosphera_unicellular {
  background-image: url("/static/images/V_biosphera_unicellular.png");
}

.features-icon-mV_biosphera_unicellular {
  background-image: url("/static/images/mV_biosphera_unicellular.png");
}

.features-icon-V_biosphera_mushrooms {
  background-image: url("/static/images/V_biosphera_mushrooms.png");
}

.features-icon-mV_biosphera_mushrooms {
  background-image: url("/static/images/mV_biosphera_mushrooms.png");
}

.features-icon-V_animals {
  background-image: url("/static/images/V_animals.png");
}

.features-icon-mV_animals {
  background-image: url("/static/images/mV_animals.png");
}

/*ИКОНКИ КОНТАКТОВ*/
.features-icon-Kmail-Market {
  background-image: url("/static/images/Kmail_Market.png");
  background-repeat: no-repeat;
}

.features-icon-Kmail-Admin {
  background-image: url("/static/images/Kmail_Admin.png");
  background-repeat: no-repeat;
}

.features-icon-Kmail {
  background-image: url("/static/images/Kmail.png");
}

.features-icon-VblackSmile {
  background-image: url("/static/images/VblackSmile.png");
  text-align: left;
}

.features-icon-KblackSmile {
  background-image: url("/static/images/KblackSmile.png");
  text-align: left;
}

.features-icon-Kblack {
  background-image: url("/static/images/Kblack.png");
  text-align: left;
  color: #9c0a0a;
}

/*ИКОНКИ ХИТРОСТИ*/
.features-icon-Vadvice {
  background-image: url("/static/images/Vadvice.png");
}

/*ИКОНКИ ЗЕМЛЕОПИСАНИЕ*/
.features-icon-V_earth {
  background-image: url("/static/images/V_earth.png");
}

.features-icon-mV_earth {
  background-image: url("/static/images/mV_earth.png");
}

.features-icon-V_landscape {
  background-image: url("/static/images/V_geo_landscape.png");
}

.features-icon-mV_landscape {
  background-image: url("/static/images/mV_geo_landscape.png");
}

.features-icon-V_earth_atmosphere {
  background-image: url("/static/images/V_earth_atmosphere.png");
}

.features-icon-V_earth_atmosphere_climate {
  background-image: url("/static/images/V_earth_atmosphere_climate.png");
}

.features-icon-V_earth_lithosphere {
  background-image: url("/static/images/V_earth_lithosphere.png");
}

.features-icon-V_humanity {
  background-image: url("/static/images/V_humanity.png");
}

.features-icon-V_earth_hydrosphere {
  background-image: url("/static/images/V_earth_hydrosphere.png");
}

.features-icon-V_earth_hydrosphere_oceans {
  background-image: url("/static/images/V_earth_hydrosphere_oceans.png");
}

.features-icon-V_biosphera {
  background-image: url("/static/images/V_earth_hydrosphere_oceans.png");
}

.features-icon-V_magnetosphere {
  background-image: url("/static/images/V_earth_magnetosphere.png");
}

.features-icon-V_ionosphere {
  background-image: url("/static/images/V_earth_ionosphere.png");
}

.features-icon-V_geosphere_god {
  background-image: url("/static/images/V_earth_god.png");
}

/*ИКОНКИ КОНТИНЕНТЫ*/
.features-icon-V_earth_lithosphere_continents {
  background-image: url("/static/images/V_earth_lithosphere_continents.png");
}

.features-icon-mV_earth_lithosphere_continents {
  background-image: url("/static/images/mV_earth_lithosphere_continents.png");
}

.features-icon-V_earth_lithosphere {
  background-image: url("/static/images/V_earth_lithosphere.png");
}

.features-icon-V_continent_Africa {
  background-image: url("/static/images/V_continent_Africa.png");
}

.features-icon-V_continent_America {
  background-image: url("/static/images/V_continent_America.png");
}

.features-icon-V_continent_AmericaNorth {
  background-image: url("/static/images/V_continent_AmericaNorth.png");
}

.features-icon-V_continent_AmericaSouth {
  background-image: url("/static/images/V_continent_AmericaSouth.png");
}

.features-icon-V_continent_Antarctica {
  background-image: url("/static/images/V_continent_Antarctica.png");
}

.features-icon-V_continent_Australia {
  background-image: url("/static/images/V_continent_Australia.png");
}

.features-icon-V_continent_Eurasia {
  background-image: url("/static/images/V_continent_Eurasia.png");
}

.features-icon-V_continent_Eurasia_Asia {
  background-image: url("/static/images/V_mainland_Asia.png");
}

.features-icon-V_continent_Eurasia_Europe {
  background-image: url("/static/images/V_mainland_Europe.png");
}

/*ИКОНКИ БИОСФЕРА - ЦАРСТВО ЖИВОТНЫХ*/
/*ИКОНКИ Царство Одноклеточные*/
.features-icon-V_animals_unicellular {
  background-image: url("/static/images/V_animals_unicellular.png");
}

.features-icon-mV_animals_unicellular {
  background-image: url("/static/images/mV_animals_unicellular.png");
}

/*ИКОНКИ Царство Многоклеточные*/
.features-icon-V_animals_multicellular {
  background-image: url("/static/images/V_multicellular.png");
}

.features-icon-mV_animals_multicellular {
  background-image: url("/static/images/mV_multicellular.png");
}

/*ИКОНКИ Царство Многоклеточные. Группа Беспозвоночных*/
.features-icon-V_animals_invertebrates {
  background-image: url("/static/images/V_invertebrates.png");
}

.features-icon-mV_animals_invertebrates {
  background-image: url("/static/images/mV_invertebrates.png");
}

/*ИКОНКИ Царство Многоклеточные. Группа Позвоночные - Хордовые*/
.features-icon-V_animals_vertebrates {
  background-image: url("/static/images/V_animals_vertebrates.png");
}

.features-icon-mV_animals_vertebrates {
  background-image: url("/static/images/mV_animals_vertebrates.png");
}

.features-icon-mV_animals_chordates {
  background-image: url("/static/images/mV_animals_chordates.png");
}

.features-icon-V_animals_chordates {
  background-image: url("/static/images/V_animals_chordates.png");
}

.features-icon-V_animals_chordates_wrappers {
  background-image: url("/static/images/V_animals_chordates_wrappers.png");
}

.features-icon-mV_animals_chordates_wrappers {
  background-image: url("/static/images/mV_animals_chordates_wrappers.png");
}

.features-icon-V_animals_chordates_craneless {
  background-image: url("/static/images/V_animals_chordates_craneless.png");
}

.features-icon-mV_animals_chordates_craneless {
  background-image: url("/static/images/mV_animals_chordates_craneless.png");
}

.features-icon-V_animals_chordates_cranial {
  background-image: url("/static/images/V_animals_chordates_cranial.png");
}

.features-icon-mV_animals_chordates_cranial {
  background-image: url("/static/images/mV_animals_chordates_cranial.png");
}

.features-icon-V_geography_integral {
  background-image: url("/static/images/V_geography_integral.png");
}

.features-icon-mV_geography_integral {
  background-image: url("/static/images/mV_geography_integral.png");
}

.V_geography_socio_economic {
  background-image: url("/static/images/V_geography_socio_economic.png");
}

.features-icon-mV_geography_socio_economic {
  background-image: url("/static/images/mV_geography_socio_economic.png");
}

.features-icon-V_geography_social {
  background-image: url("/static/images/V_geography_social.png");
}

.features-icon-mV_geography_social {
  background-image: url("/static/images/mV_geography_social.png");
}

.features-icon-V_geography_economic {
  background-image: url("/static/images/V_geography_economic.png");
}

.features-icon-mV_geography_economic {
  background-image: url("/static/images/mV_geography_economic.png");
}

.features-icon-V_world_country {
  background-image: url("/static/images/V_world_country.png");
}

.features-icon-mV_world_country {
  background-image: url("/static/images/mV_world_country.png");
}

/*ИКОНКИ ДОМАШНИЕ РАСТЕНИЯ: ЛЕЧЕБНЫЕ РАСТЕНИЯ*/
/*ИКОНКИ ИНФОРМАЦИИ ИЗ ИНТЕРНЕТА*/
.features-icon-K_Internet {
  background-image: url("/static/images/K_Internet.png");
}

/*РУВИКИ*/
.features-icon-K_ruwiki {
  background-image: url("/static/images/K_ruwiki.png");
}

/*Большая российская энциклопедия*/
.features-icon-K_bigenc {
  background-image: url("/static/images/K_bigenc.png");
}

/*ОБРАЗОВР*/
.features-icon-K_obrazavr {
  background-image: url("/static/images/K_obrazavr.png");
}

/*АКАДЕМИК*/
.features-icon-K_academic {
  background-image: url("/static/images/K_academic.png");
}

/*АКАДЕМИК РАН ДЕРЕВЯНКО*/
.features-icon-K_derevyanko {
  background-image: url("/static/images/K_derevyanko.png");
}

/*СТАТИСТИКА И ПОКАЗАТЕЛИ*/
.features-icon-K_statistics_and_indicators {
  background-image: url("/static/images/K_statistics_and_indicators.png");
}

/*foxford.RU*/
.features-icon-K_foxford {
  background-image: url("/static/images/K_foxford.png");
}

/*Электронная Москва MOS OPEN RU*/
.features-icon-K_MosOpen_ru {
  background-image: url("/static/images/K_MosOpen_ru.png");
}

/*СОБЯНИН*/
.features-icon_K_sobyanin {
  background-image: url("/static/images/K_sobyanin.png");
}

/*МОЙ РАЙОН*/
/*RG POISK*/
/*ВСЕ УЛИЦЫ МОСКВЫ*/
/*ВСЕ УЛИЦЫ ТОП ГИД*/
.features-icon-K_topgid {
  background-image: url("/static/images/K_topgid.png");
}

/*РАМБЛЕР*/
.features-icon-K_Rambler {
  background-image: url("/static/images/K_Rambler.png");
}

/*travel_ru*/
.features-icon-K_travel_ru {
  background-image: url("/static/images/K_travel_ru.png");
}

/*italy4_mepng*/
.features-icon-K_italy4_mepng {
  background-image: url("/static/images/K_italy4_mepng.png");
}

/*smileplanet*/
.features-icon-K_smileplanet {
  background-image: url("/static/images/K_smileplanet.png");
}

/*ТОНКОСТИ ТУРИЗМА*/
.features-icon-K_tonkosti {
  background-image: url("/static/images/K_tonkosti.png");
}

/*ТУРИСТЕР*/
.features-icon-K_tourister {
  background-image: url("/static/images/K_tourister.png");
}

/*ВОКРУГ СВЕТА*/
.features-icon-K_vokrugsveta {
  background-image: url("/static/images/K_vokrugsveta.png");
}

.features-icon-K_znanierussia {
  background-image: url("/static/images/K_znanierussia.ru.png");
}

/*ОФОРМЛЕНИЕ ЗАГРАНПАСПОРТОВ*/
.features-icon-Vpassport {
  background-image: url("/static/images/Vpassport.png");
}

/*ИКОНКИ ПУТЕШЕСТВИЯ*/
.features-icon-Vtravel {
  background-image: url("/static/images/Vtravel.png");
}

.features-icon-Ktravel {
  background-image: url("/static/images/Ktravel.png");
}

/*ИКОНКИ ПУТЕШЕСТВИЯ: ИТАЛИЯ*/
.features-icon-V_world_country_Italy {
  background-image: url("/static/images/V_world_country_Italy.png");
}

.features-icon-K_world_country_Italy {
  background-image: url("/static/images/K_world_country_Italy.png");
}

/*ИТАЛИЯ ВЕНЕЦИЯ*/
.features-icon-V_Italy_Venezia {
  background-image: url("/static/images/V_Italy_Venezia.png");
}

.features-icon-K_Italy_Venezia {
  background-image: url("/static/images/K_Italy_Venezia.png");
}

/*ИТАЛИЯ ФЛОРЕНЦИЯ*/
.features-icon-V_Italy_Florence {
  background-image: url("/static/images/V_Italy_Florence.png");
}

.features-icon-K_Italy_Florence {
  background-image: url("/static/images/K_Italy_Florence.png");
}

/*ИКОНКИ ПУТЕШЕСТВИЯ:  КИПР*/
.features-icon-V_world_country_Cyprus {
  background-image: url("/static/images/V_world_country_Cyprus.png");
}

.features-icon-K_world_country_Cyprus {
  background-image: url("/static/images/K_world_country_Cyprus.png");
}

/*ИКОНКИ ПУТЕШЕСТВИЯ: ИСПАНИЯ*/
.features-icon-V_world_country_Spain {
  background-image: url("/static/images/V_world_country_Spain.png");
}

.features-icon-K_world_country_Spain {
  background-image: url("/static/images/K_world_country_Spain.png");
}

/*ИКОНКИ ПУТЕШЕСТВИЯ: ИСПАНИЯ БЕНАЛЬМАДЕНА*/
.features-icon-V_Spane_Benaladena {
  background-image: url("/static/images/V_Spane_Benalmadena.png");
}

.features-icon-K_Spane_Benalmadena {
  background-image: url("/static/images/K_Spane_Benalmadena.png");
}

/*ИКОНКИ ПУТЕШЕСТВИЯ: ИСПАНИЯ ГРАНАДА И АЛЬГАМБРА*/
.features-icon-V_Spane_Granada {
  background-image: url("/static/images/V_Spane_Granada.png");
}

.features-icon-K_Spane_Granada {
  background-image: url("/static/images/K_Spane_Granada.png");
}

/*ИКОНКИ ПУТЕШЕСТВИЯ: ИСПАНИЯ МАЛАГА*/
.features-icon-V_Spane_Malaga {
  background-image: url("/static/images/V_Spane_Malaga.png");
}

.features-icon-K_Spane_Malaga {
  background-image: url("/static/images/K_Spane_Malaga.png");
}

/*ИКОНКИ ПУТЕШЕСТВИЯ: ИСПАНИЯ МИХАС*/
.features-icon-V_Spane_Mijas {
  background-image: url("/static/images/V_Spane_Mijas.png");
}

.features-icon-K_Spane_Mijas {
  background-image: url("/static/images/K_Spane_Mijas.png");
}

/*ИКОНКИ ПУТЕШЕСТВИЯ: ИСПАНИЯ СЕВИЛЬЯ*/
.features-icon-V_Spane_Sevilla {
  background-image: url("/static/images/V_Spane_Sevilla.png");
}

.features-icon-K_Spane_Sevilla {
  background-image: url("/static/images/K_Spane_Sevilla.png");
}

/*ИКОНКИ ПУТЕШЕСТВИЯ: ИСПАНИЯ торремолинос*/
.features-icon-V_Spane_Torremolinos {
  background-image: url("/static/images/V_Spane_Torremolinos.png");
}

.features-icon-K_Spane_Torremolinos {
  background-image: url("/static/images/K_Spane_Torremolinos.png");
}

/*ИКОНКИ ПУТЕШЕСТВИЯ:  ТУРЦИЯ*/
.features-icon-V_world_country_Turkey {
  background-image: url("/static/images/V_world_country_Turkey.png");
}

.features-icon-K_world_country_Turkey {
  background-image: url("/static/images/K_world_country_Turkey.png");
}

/*ИКОНКИ ПУТЕШЕСТВИЯ: ЧЕРНОГОРИЯ*/
.features-icon-V_world_country_Montenegro {
  background-image: url("/static/images/V_world_country_Montenegro.png");
}

.features-icon-K_world_country_Montenegro {
  background-image: url("/static/images/K_world_country_Montenegro.png");
}

/*ИКОНКИ ПУТЕШЕСТВИЯ: ЧЕРНОГОРИЯ БУДВА*/
.features-icon-V_Montenegro_Budva {
  background-image: url("/static/images/V_Montenegro_Budva.png");
}

.features-icon-K_Montenegro_Budva {
  background-image: url("/static/images/K_Montenegro_Budva.png");
}

/*ИКОНКИ ПУТЕШЕСТВИЯ: ЧЕРНОГОРИЯ КОТОР*/
.features-icon-V_Montenegro_Kotor {
  background-image: url("/static/images/V_Montenegro_Kotor.png");
}

.features-icon-K_Montenegro_Kotor {
  background-image: url("/static/images/K_Montenegro_Kotor.png");
}

/*ИКОНКИ ПУТЕШЕСТВИЯ: ЧЕРНОГОРИЯ ТИВАТ*/
.features-icon-V_Montenegro_Tivat {
  background-image: url("/static/images/V_Montenegro_Tivat.png");
}

.features-icon-K_Montenegro_Tivat {
  background-image: url("/static/images/K_Montenegro_Tivat.png");
}

/*ИКОНКИ ПУТЕШЕСТВИЯ: ШВЕЦИЯ*/
.features-icon-V_world_country_Sweden {
  background-image: url("/static/images/V_world_country_Sweden.png");
}

.features-icon-K_world_country_Sweden {
  background-image: url("/static/images/K_world_country_Sweden.png");
}

.features-icon-K_Sweden_Stockholm {
  background-image: url("/static/images/K_Sweden_Stockholm.png");
}

.features-icon-V_Sweden_Stockholm {
  background-image: url("/static/images/V_Sweden_Stockholm.png");
}

/*СПИСКИ УЛИЦ, СТАНЦИЙ...*/
/*БЛОК С УЛИЦЕЙ ЦЕЛИКОМ - ДИВ*/
.features-item-list {
  display: inline-block;
  position: relative;
  width: 400px;
  height: 30px;
  left: 150px;
  /*ЛЕВЫЙ ПОДБЛОК С иконкой улиц*/
}
.features-item-list .features-item-list-icon {
  display: inline-block;
  width: 400px;
}
.features-item-list .features-item-list-icon .features-title_ul {
  padding-left: 30px;
  text-align: left;
}

.container-list {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
  padding: 0;
}
.container-list a {
  text-decoration: underline;
}
.container-list a:link {
  text-decoration: underline;
  color: rgba(6, 28, 66, 0.89);
}
.container-list a:visited {
  text-decoration: underline;
  color: rgba(102, 96, 98, 0.58);
}
.container-list a:active {
  text-decoration: underline;
  color: rgb(246, 65, 26);
}
.container-list a:hover {
  text-decoration: underline;
}
.container-list a p {
  padding-left: 5px;
  padding-right: 5px;
}
.container-list a p .underline {
  text-decoration: underline;
}

.table_planetospheres {
  width: 100%;
  height: 100%;
  text-align: right;
  border-collapse: collapse;
}
.table_planetospheres .table_total {
  font-weight: bold;
  text-align: right;
  border-top: 1px solid #000;
}
.table_planetospheres .tr_first {
  font-style: italic;
  font-weight: bold;
  text-align: left;
}
.table_planetospheres .tr_firstM {
  font-style: italic;
  font-weight: bold;
  text-align: right;
  border-top: 1px solid #000;
}
.table_planetospheres .tr_first2 {
  font-style: italic;
  text-align: right;
}
.table_planetospheres .tr_second {
  font-size: 0.75em;
  padding-left: 25px;
}
.table_planetospheres .table_title {
  font-size: 20px;
  font-style: italic;
  font-weight: bold;
  text-align: right;
}
.table_planetospheres .td_right {
  text-align: right;
}

.table_continents_matherland {
  width: 100%;
  height: 100%;
  font-size: 20px;
  border-top: 1px solid grey;
  border-collapse: collapse;
}
.table_continents_matherland .tr_table_title {
  font-size: 20px;
  text-align: right;
  padding: 10px;
  border-bottom: 1px solid grey;
}
.table_continents_matherland .tr_table_title .th_left {
  text-align: left;
  font-size: 20px;
  padding: 10px;
}
.table_continents_matherland .tr_table_title .th_right {
  text-align: right;
  font-size: 20px;
  padding: 10px;
}
.table_continents_matherland .tr_table_title .th_center {
  text-align: center;
  font-size: 20px;
  padding: 10px;
}
.table_continents_matherland .tr_first {
  border-bottom: 1px solid grey;
}
.table_continents_matherland .tr_first .td_left {
  text-align: left;
  font-size: 18px;
  padding: 10px;
  border-top: 1px solid grey;
}
.table_continents_matherland .tr_first .td_right {
  text-align: right;
  padding: 10px;
}
.table_continents_matherland .tr_first .td_middle {
  text-align: center;
  padding: 10px;
}

@media (max-width: 767px) {
  .table_continents_matherland {
    display: block;
    border: none;
  }
  .table_continents_matherland tr {
    display: block;
    margin-bottom: 15px;
    border: 1px solid grey;
    border-radius: 8px;
    padding: 10px;
  }
  .table_continents_matherland th,
  .table_continents_matherland td {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    padding: 5px 0;
  }
  /* Добавляем название показателя перед значением для наглядности */
  .table_continents_matherland .td_left::before,
  .table_continents_matherland .td_middle::before {
    content: attr(data-label); /* Требует изменения HTML, см. ниже */
    font-weight: bold;
    color: #555;
    display: block;
    margin-bottom: 4px;
  }
}
.table_humanity {
  width: 100%;
  height: 100%;
  font-size: 18px;
  border-top: 1px solid grey;
  border-collapse: collapse;
}
.table_humanity .tr_table_title {
  font-size: 20px;
  text-align: right;
  padding-right: 16px;
}
.table_humanity .tr_table_title .th_left {
  font-size: 20px;
  text-align: left;
  padding: 20px;
  border-bottom: 1px solid grey;
}
.table_humanity .tr_table_title .th_right {
  text-align: right;
  font-size: 20px;
  padding: 20px;
  border-bottom: 1px solid grey;
}
.table_humanity .tr_first {
  border-bottom: 1px solid grey;
}
.table_humanity .tr_first .td_left {
  text-align: left;
  font-size: 16px;
  padding: 16px;
  border-top: 1px solid grey;
}
.table_humanity .tr_first .td_right {
  text-align: right;
  padding: 16px;
}
.table_humanity .tr_first .td_middle {
  text-align: center;
  padding: 10px;
}

tab_container {
  margin: 1rem;
  padding: 1.5rem;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  background-color: #fcfde3;
}

.tab {
  display: flex;
  flex-wrap: wrap;
  gap: 0px 1px;
}

.tab > input[type=radio] {
  display: none;
}

.tab-content {
  display: none;
  width: 90%;
  margin-top: 1rem;
}

#tab-btn-1:checked ~ #content-1,
#tab-btn-2:checked ~ #content-2,
#tab-btn-3:checked ~ #content-3,
#tab-btn-4:checked ~ #content-4,
#tab-btn-5:checked ~ #content-5 {
  display: block;
}

.tab > label {
  display: block;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
  text-decoration: none;
  color: navy;
  border: 1px solid rgb(48, 46, 2);
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.tab > label {
  color: navy;
  background-color: rgba(201, 194, 158, 0.9764705882);
}

.tab > input[type=radio]:checked + label {
  cursor: default;
  color: #fff;
  background-color: rgba(72, 15, 15, 0.9764705882);
}

#toc {
  border: 1px solid #ddd;
  border-radius: 16px;
  padding-left: 15px;
  padding-top: 10px;
  padding-bottom: 5px;
  margin-bottom: 10px;
  font-style: italic;
  font-size: 18px;
  line-height: 20px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}
#toc h2 {
  margin-top: 0;
  font-size: 1.1em;
}
#toc ul {
  list-style: none;
  padding-left: 16px;
  margin: 1px 0 0 10px;
}
#toc li {
  margin: 0px;
  padding: 0px;
  line-height: 16px;
}
#toc a {
  text-decoration: none;
  color: #333;
  display: block;
  padding: 5px 0;
}
#toc a:hover {
  color: #835a02;
  text-decoration: underline;
}
#toc li li {
  margin-left: 10px;
}
#toc li li li {
  margin-left: 20px;
}

.footer {
  padding: 20px;
  background-color: #1f2022;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  float: none; /* Критично: убирает обтекание, которое ломает ширину */
  display: block;
  font-size: 16px;
  color: #ffffcc;
}
.footer .footer-burger {
  display: none;
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #ffffcc;
  color: #fff;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  text-align: left;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.footer .footer-burger:hover {
  background: rgba(255, 255, 255, 0.15);
}
.footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 30px;
  width: 100%;
}
.footer .footer-top .footer-menu {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.footer .footer-top .footer-menu .footer-menu-column {
  flex: 1 1 180px;
  text-align: left;
  margin: 0;
  margin-top: 20px;
  width: auto;
}
.footer .footer-top .footer-menu .footer-menu-column ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.footer .footer-top .footer-menu .footer-menu-column .footer-list-sub {
  padding-left: 0px;
  padding-bottom: 10px;
}
.footer .footer-top .footer-menu .footer-menu-column .footer-list-sub li {
  margin-left: 5px;
  font-style: italic;
}
.footer .footer-top .footer-menu .footer-menu-column .footer-logo img {
  width: 127px;
  height: auto;
  max-width: 100%;
  margin-top: 5px;
  border-radius: 100%;
  box-shadow: 1px 1px 2px 0 #ffffcc;
}
.footer .footer-top .footer-menu .footer-menu-column .footer-logo img:hover {
  cursor: pointer;
  transform: rotate(-5deg);
  box-shadow: 1px 1px 2px 0 rgb(237, 125, 125);
  margin-top: -1px;
  margin-left: -1px;
  transition: all 0.6s ease-in-out;
}
.footer .footer-top .footer-menu .footer-menu-column .footer-title {
  display: block;
  color: #ffffcc;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: bold;
}
.footer .footer-top .footer-menu .footer-menu-column .footer-title:hover {
  color: rgb(212, 172, 41);
}
.footer .footer-top .footer-menu .footer-menu-column .footer-list > li {
  margin-left: 0px;
}
.footer .footer-top .footer-menu .footer-menu-column .footer-list a,
.footer .footer-top .footer-menu .footer-menu-column .footer-list-sub a {
  display: block;
  color: #ffffcc;
  line-height: 1.52;
}
.footer .footer-top .footer-menu .footer-menu-column .footer-list a:hover,
.footer .footer-top .footer-menu .footer-menu-column .footer-list-sub a:hover {
  color: rgb(212, 172, 41);
}
.footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-top: 1px solid #333;
  padding-top: 10px;
  gap: 20px;
  vertical-align: middle;
}
.footer .footer-bottom .datatable {
  font-size: 16px;
  color: #aaa;
  text-align: center;
}
.footer .footer-bottom .socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.footer .footer-bottom .social-btn-vk {
  display: inline-flex;
  width: auto;
  padding: 10px 16px;
  background-color: #4a76a8;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  transition: background-color 0.2s, transform 0.2s;
}
.footer .footer-bottom .social-btn-vk:hover {
  background-color: #3b5f85;
  transform: translateY(-1px);
}
.footer .footer-bottom .contacts-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer .footer-bottom .contacts-footer a {
  color: rgba(194, 191, 168, 0.7333333333);
  text-decoration: none;
  font-size: 14px;
  font-style: italic;
  font-weight: normal;
  text-transform: none;
  white-space: nowrap;
}
.footer .footer-bottom .contacts-footer a:hover {
  color: #eedc19;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer {
    padding: 15px;
  }
  .footer .footer-burger {
    display: inline-flex;
  }
  .footer .footer-top {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-bottom: 15px;
  }
  .footer .footer-top.is-open {
    display: flex;
  }
  .footer .footer-menu {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .footer .footer-menu-column {
    width: 100%;
    flex: none;
    text-align: center;
    margin: 0;
    padding: 0;
  }
  .footer .footer-menu-column .footer-title {
    text-align: left;
    margin-bottom: 12px;
  }
  .footer .footer-menu-column ul {
    text-align: left;
  }
  .footer .footer-menu-column .footer-list a,
  .footer .footer-menu-column .footer-list-sub a {
    padding: 6px 12px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
  }
  .footer .footer-menu-column .footer-list-sub {
    padding-left: 0;
  }
  .footer .footer-menu-column .footer-list-sub li {
    margin: 6px 0;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .socials {
    justify-content: center;
  }
}
#to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(203, 145, 44, 0.8);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
#to-top.visible {
  opacity: 1;
  visibility: visible;
}
#to-top:hover {
  background: #ff9100;
  transform: scale(1.1);
}

#to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(203, 145, 44, 0.8);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-size: 20px;
  line-height: 1;
}
#to-top.visible {
  opacity: 1;
  visibility: visible;
}
#to-top:hover {
  background: #ff9100;
  transform: scale(1.1);
}

.saprotroph-table-wrapper {
  overflow-x: auto; /* горизонтальная прокрутка на узких экранах */
  margin: 1.5rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.saprotroph-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px; /* чтобы таблица не сплющивалась слишком сильно */
  font-size: 0.95rem;
  line-height: 1.4;
}

.saprotroph-table th,
.saprotroph-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.saprotroph-table th {
  background-color: #f8f9fa;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 10;
}

.img-cell {
  text-align: center;
  width: 140px;
}

.img-cell img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (max-width: 768px) {
  .saprotroph-table th,
  .saprotroph-table td {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  .img-cell {
    width: 100px;
  }
}
.body_slider {
  background: rgba(72, 15, 15, 0.9764705882);
  padding-left: 10px;
  padding-right: 10px;
}
.body_slider h2,
.body_slider h3,
.body_slider h4,
.body_slider h5,
.body_slider h6 {
  font-size: inherit;
  font-weight: inherit;
}
.body_slider .container_slider {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}
.body_slider .container-header {
  text-align: center;
  margin-bottom: 10px;
  margin-top: -20px;
  color: white;
}
.body_slider .container-header h3 {
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  transition: color 0.3s ease;
}
.body_slider .container-header p {
  font-size: 1.2rem;
  font-size: 18px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.body_slider .swiper {
  box-sizing: border-box;
  width: 90%;
}
.body_slider .picture-card {
  display: flex;
  flex-direction: column;
}
.body_slider .picture-image {
  width: 100%;
  overflow: hidden;
  background: #f5f3d1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #c8d4d5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  padding: 15px;
}
.body_slider .swiper-slide {
  margin-left: 10px;
  margin-right: 10px;
}
.body_slider .swiper-slide:hover .picture-image {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border-color: #b5c5c6;
}
.body_slider .picture-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform 0.3s ease;
  will-change: transform;
}
.body_slider .swiper-slide:hover .picture-image img {
  transform: scale(1.02);
}
.body_slider .picture-info {
  padding: 12px 5px 5px 5px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-height: 100px;
}
.body_slider .picture-description {
  color: #ccc;
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.3;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}
.body_slider .swiper-slide:hover .picture-description {
  color: #e0e0e0;
}
.body_slider .swiper-pagination {
  margin-bottom: 20px;
}
.body_slider .swiper-pagination-bullet {
  background: white;
  opacity: 0.5;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease;
}
.body_slider .swiper-pagination-bullet:hover {
  opacity: 0.8;
}
.body_slider .swiper-pagination-bullet-active {
  opacity: 1;
  background: #f5ef7b;
  transform: scale(1.2);
}
.body_slider .swiper-button-next,
.body_slider .swiper-button-prev {
  color: white;
  background: rgba(205, 187, 187, 0.8);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 1 !important;
}
.body_slider .swiper-button-prev {
  left: 1px;
}
.body_slider .swiper-button-next {
  right: 1px;
}
.body_slider .swiper-button-next:hover,
.body_slider .swiper-button-prev:hover {
  background: #ED7251;
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(237, 114, 81, 0.4);
}
.body_slider .swiper-button-next:active,
.body_slider .swiper-button-prev:active {
  transform: scale(1.05);
}
.body_slider .swiper-button-next:after,
.body_slider .swiper-button-prev:after {
  font-size: 18px;
  transition: transform 0.3s ease;
}
.body_slider .swiper-button-next:hover:after {
  transform: translateX(2px);
}
.body_slider .swiper-button-prev:hover:after {
  transform: translateX(-2px);
}

/* ===== СТИЛИ ВКЛАДОК (Кнопки) ===== */
.fungi-tabs-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 0px;
  overflow-x: auto; /* Если кнопок много, они тоже будут скроллиться */
  scrollbar-width: none; /* Firefox */
}

.fungi-tabs-nav::-webkit-scrollbar {
  display: none; /* Скрываем полосу скролла у кнопок */
}

.fungi-tab-btn {
  padding: 10px 16px;
  border: 1px solid #2e2c2c;
  background: #e8d9bc;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap; /* Текст кнопки не переносится */
  transition: all 0.2s;
}

.fungi-tab-btn:hover {
  background: #816906;
  color: white;
}

.fungi-tab-btn.active {
  background: #c6b087;
  border-color: #4c4c49;
  color: #533706;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ===== СТИЛИ ПАНЕЛЕЙ (Содержимое) ===== */
.fungi-tabs-content {
  width: 100%;
  /* Важно: не задаем здесь overflow, чтобы не ломать JS вкладок */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.fungi-tab-panel {
  display: none; /* По умолчанию все скрыто */
  width: 100%;
  animation: fadeIn 0.3s ease-in-out;
}

/* Активная панель видна */
.fungi-tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== СТИЛИ ТАБЛИЦЫ И СКРОЛЛА (Внутри активной панели) ===== */
.fungi-table-wrapper {
  width: 100%;
  overflow-x: auto; /* ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ */
  -webkit-overflow-scrolling: touch; /* Плавность на iOS */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background: #fff;
  border: 1px solid #e0e0e0;
  margin-bottom: 20px; /* Отступ снизу, чтобы не прилипало к футеру */
}

/* Полоса прокрутки (чтобы было видно, что можно листать) */
.fungi-table-wrapper::-webkit-scrollbar {
  height: 6px;
}

.fungi-table-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.fungi-table-wrapper::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.fungi-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.fungi-table {
  width: 100%;
  min-width: 650px; /* Таблица хочет быть широкой */
  border-collapse: collapse;
  table-layout: fixed;
  background: #f5f1d0;
}

.fungi-table th,
.fungi-table td {
  border: 1px solid #463c09;
  padding: 12px;
  text-align: left;
  vertical-align: top;
  white-space: normal; /* Текст переносится */
  font-size: 14px;
}

.fungi-table th {
  border: 1px solid #2e2c2c;
  background: #c6b087;
  color: #533706;
  position: sticky;
  top: 0;
  z-index: 10;
}

.fungi-img-cell {
  width: 100px;
  text-align: center;
}

.fungi-img-cell img {
  max-width: 80px;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
}

.fungi-eco-section {
  padding-left: 10px;
  padding-right: 10px;
  font-size: 1rem;
}

/* Контейнер-обёртка для картинки */
.img-popup-wrapper {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  /* Важно: у самого wrapper не должно быть overflow: hidden, 
      иначе сдвиг не поможет */
}

/* Обычная картинка */
.img-popup-wrapper img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 6px;
  display: block;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
  position: relative;
}

/* Эффект при наведении */
.img-popup-wrapper:hover img {
  position: absolute;
  top: 50%;
  /* Сдвиг вправо на 30px — спасает от обрезки слева */
  left: calc(50% + 30px);
  transform: translate(-50%, -50%) scale(1.8);
  z-index: 10;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  border: 2px solid #170f0f;
}

/* Отключаем эффект на мобильных устройствах */
@media (max-width: 768px) {
  .img-popup-wrapper:hover img {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    left: auto;
    top: auto;
  }
}/*# sourceMappingURL=style.css.map */