@charset "utf-8";

/* Общие стили и переменные */
:root {
  --primary-color: #2c52a8;
  --primary-light: #3a6bda;
  --secondary-color: #e6f2ff;
  --text-color: #333;
  --text-light: #777;
  --white: #ffffff;
  --gray-light: #f8f8f8;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}


/* Основные стили для слайдера */
#je_thumbslide92 {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.2), 
                0 0 30px rgba(0, 200, 255, 0.1) inset;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
}

/* Контейнер для слайдов */
.ei-slider-large {
    position: relative;
    width: 100%;
    height: 400px; /* Фиксированная высота */
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Стили для каждого слайда */
.ei-slider-large li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(10, 20, 40, 0.7);
    border-radius: 12px;
}

.ei-slider-large li[style*="opacity: 1"] {
    z-index: 10;
}

/* Стили для изображений с разными пропорциями */
.ei-slider-large li img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    margin: 0 !important;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: contain; /* Изменил на contain вместо cover */
}

/* Фон для разных пропорций */
.ei-slider-large li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a2a3a 0%, #0d1a26 100%);
    z-index: -1;
    border-radius: 12px;
}

/* Миниатюры */
.ei-slider-thumbs {
    display: flex !important;
    justify-content: center;
    list-style: none;
    padding: 12px 5px;
    margin: 0;
    background: rgba(10, 25, 47, 0.7);
    border-radius: 0 0 12px 12px;
    max-width: 100% !important;
    flex-wrap: wrap;
    gap: 8px;
}

.ei-slider-thumbs li {
    width: 60px !important;
    height: 40px;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 200, 255, 0.4);
    position: relative;
    flex-shrink: 0;
}

.ei-slider-thumbs li.ei-slider-element {
    box-shadow: 0 0 12px cyan, 0 0 20px rgba(0, 200, 255, 0.6);
    transform: scale(1.08);
}

.ei-slider-thumbs li:hover {
    transform: scale(1.05);
}

.ei-slider-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Адаптивность */
@media (max-width: 992px) {
    .ei-slider-large {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .ei-slider-large {
        height: 300px;
    }
    
    .ei-slider-thumbs li {
        width: 50px !important;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .ei-slider-large {
        height: 250px;
    }
    
    .ei-slider-thumbs {
        padding: 8px 5px;
        gap: 6px;
    }
    
    .ei-slider-thumbs li {
        width: 40px !important;
        height: 30px;
        border-radius: 4px;
    }
    
    #je_thumbslide92 {
        border-radius: 10px;
    }
}
/* Общие стили */
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-color);
  background-color: var(--secondary-color);
  line-height: 1.6;
  font-size: 16px;
}

.body {
  background: var(--secondary-color);
}

.content_block {
  width: 100%;
  max-width: 1400px;
  min-width: 320px;
  background-color: var(--white);
  margin: 0 auto;
  position: relative;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Логотип */
#logo_header {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  transition: var(--transition);
}

#logo_header img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: contain;
}

/* Основное меню */
nav.main-navigation {
  width: 100%;
  max-width: 1300px;
  margin: 20px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

nav.main-navigation ul.nav.menu-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: var(--gray-light);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 8px;
  margin: 0;
  list-style: none;
  overflow: hidden;
}

nav.main-navigation ul.nav.menu-top li {
  margin: 5px;
  padding: 12px 20px;
  text-transform: uppercase;
  font-size: 16px;
  font-family: 'Oswald', sans-serif;
  border-radius: 20px;
  transition: var(--transition);
  background: none;
  color: var(--text-color);
  white-space: nowrap;
  list-style: none;
  position: relative;
}

nav.main-navigation ul.nav.menu-top li:hover {
  background: rgba(0, 0, 0, 0.05);
}

nav.main-navigation ul.nav.menu-top li.current,
nav.main-navigation ul.nav.menu-top li.active,
nav.main-navigation ul.nav.menu-top li.default.current {
  background: var(--primary-color);
  color: var(--white);
}

nav.main-navigation ul.nav.menu-top a {
  color: inherit;
  text-decoration: none;
  display: block;
  font: inherit;
  transition: var(--transition);
}

nav.main-navigation ul.nav.menu-top a:hover {
  color: var(--primary-color);
}

nav.main-navigation ul.nav.menu-top li.current a,
nav.main-navigation ul.nav.menu-top li.active a,
nav.main-navigation ul.nav.menu-top li.default.current a {
  color: var(--white);
}

/* Боковое меню */
.aside-navigation {
  background: var(--white);
  width: 320px;
  float: left;
  margin: 0 30px 40px 0;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  z-index: 10;
  min-height: calc(100vh - 250px);
}

.sidebar-heading {
  margin: 0;
  padding: 20px 25px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white);
  text-transform: uppercase;
  font: bold 18px 'Oswald', sans-serif;
  letter-spacing: 1.2px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  position: relative;
}

.menu-aside {
  margin: 0;
  padding: 0;
  max-height: calc(100vh - 300px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f1f1f1;
}

.menu-aside::-webkit-scrollbar {
  width: 6px;
}

.menu-aside::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.menu-aside::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

.menu-aside::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

.menu-aside li {
  position: relative;
  padding: 16px 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  line-height: 1.4;
}

.menu-aside li:last-child {
  border-bottom: none;
}

.menu-aside li:hover {
  background: rgba(44, 82, 168, 0.05);
  padding-left: 30px;
}


.menu-aside li a {
  color: var(--text-color);
  text-decoration: none;
  display: block;
  transition: var(--transition);
}

.menu-aside li:hover a {
  color: var(--primary-color);
}

.menu-aside li.current,
.menu-aside li.active {
  background: linear-gradient(90deg, rgba(44, 82, 168, 0.1), rgba(44, 82, 168, 0.2));
  border-left: 4px solid var(--primary-color);
}

.menu-aside li.current a,
.menu-aside li.active a {
  color: var(--primary-color);
  font-weight: 600;
}

.menu-aside li.current::before,
.menu-aside li.active::before {
  content: "→";
  position: absolute;
  right: 15px;
  color: var(--primary-color);
  font-weight: bold;
}

/* Контент */
.content_component {
  padding: 30px 20px;
}

.content {
  margin-left: 350px;
  color: var(--text-color);
  font-size: 1.1em;
  padding-right: 20px;
  transition: var(--transition);
}

.pagination li {
  display: inline-block;
  margin: 0 5px;
}

.alert alert-message {
  font-size: 15px;
  color: #ff0a0a;
}

.avPlayerWrapper {
  clear: none;
}

.vision {
  margin: 20px 0 0 20px;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

/* Базовая кнопка (неактивное состояние) */
.vision .module_special_visually #special_visually label {
  /* Цветовая схема */
  color: #1a73e8;
  background-color: #f8f9fa;
  border: 2px solid #dadce0;
  /* Увеличена толщина границы */

  /* Увеличенная типографика */
  font-size: 18px;
  /* Увеличен с 15px */
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1.5;

  /* Увеличенные размеры кнопки */
  padding: 14px 24px;
  /* Увеличено с 10px 20px */
  border-radius: 10px;
  /* Больше скругление */
  min-height: 56px;
  /* Минимальная высота для доступности */

  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);

  /* Иконка глаза */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  /* Увеличен отступ */

  &::before {
    content: "👁";
    font-size: 24px;
    /* Увеличен размер иконки */
  }

  &:hover {
    background-color: #f1f3f4;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
  }

  &:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.2);
    /* Увеличен эффект фокуса */
  }
}

/* Активное состояние */
.vision .module_special_visually #special_visually input:checked+label {
  color: white;
  background-color: #1a73e8;
  border-color: transparent;
  font-size: 19px;
  /* Чуть больше в активном состоянии */
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.15),
    inset 0 3px 3px rgba(0, 0, 0, 0.1);

  transform: translateY(2px);

  &::before {
    content: "✓";
    font-size: 26px;
    filter: brightness(0) invert(1);
  }

  &:hover {
    background-color: #1765cc;
  }
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
  .vision .module_special_visually #special_visually label {
    font-size: 16px;
    padding: 12px 20px;
    min-height: 48px;

    &::before {
      font-size: 22px;
    }
  }
}

/* Футер */
.site-footer {
  background: var(--primary-color);
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  padding: 40px 0 0;
  width: calc(100%-40px);
  /* Уменьшаем ширину на отступы */
  max-width: 1400px;
  margin: 20px auto 0;
  /* Добавляем отступ сверху */
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 12px 12px 0 0;
  /* Закругляем верхние углы */
}

.footer-wrapper {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
  box-sizing: border-box;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  padding: 0 15px;
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
}

.footer-content {
  font-size: 1rem;
  line-height: 1.6;
}

.footer-content p {
  margin: 10px 0;
}

.footer-label {
  display: inline-block;
  min-width: 70px;
  font-weight: 500;
  color: var(--secondary-color);
}

.footer-content a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  padding: 2px 0;
}

.footer-content a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.2rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  text-align: center;
}

.copyright {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Кнопка версии для слабовидящих */
.vision-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.vision-checkbox {
  display: none;
}

.vision-label {
  display: flex;
  align-items: center;
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}

.vision-label:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.vision-text {
  margin-right: 10px;
}

.vision-icon {
  font-size: 1.2rem;
}

/* Текстовые стили */
.edu-text {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 1.2rem;
}

.edu-h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 1.8rem 0 1.2rem;
  line-height: 1.3;
  position: relative;
  padding-bottom: 10px;
}

.edu-h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--primary-color);
}

.edu-h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-light);
  margin: 1.6rem 0 1rem;
  padding-bottom: 0.5rem;
}

.edu-h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-color);
  margin: 1.4rem 0 0.8rem;
}

.edu-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.edu-link:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.edu-img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.edu-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.edu-quote {
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 1.5rem 0;
  background: #f8f9fa;
  font-style: italic;
  color: var(--text-light);
  border-radius: 0 8px 8px 0;
}

.edu-highlight {
  background-color: #f1f8fe;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  color: var(--text-color);
}

.edu-btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.edu-btn:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.edu-card {
  border-radius: 12px;
  border: 1px solid #eaecef;
  padding: 1.8rem;
  margin: 1.5rem 0;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.edu-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.edu-list {
  padding-left: 1.8rem;
  margin-bottom: 1.5rem;
}

.edu-list li {
  margin-bottom: 0.8rem;
  position: relative;
  line-height: 1.6;
  padding-left: 1.2rem;
}

.edu-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-color);
}

/* Адаптивность */
@media (max-width: 1200px) {
  .aside-navigation {
    width: 280px;
  }

  .content {
    margin-left: 310px;
  }
}

@media (max-width: 992px) {
  .footer-section {
    flex: 0 0 calc(50% - 30px);
  }

  .aside-navigation {
    width: 100%;
    float: none;
    margin: 0 0 30px 0;
    min-height: auto;
    max-height: none;
  }

  .content {
    margin-left: 0;
    min-height: auto;
  }

  .menu-aside {
    max-height: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .menu-aside li {
    flex: 1 1 45%;
    min-width: 250px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin: 5px;
    border-radius: 8px;
  }

  .vision-label {
    font-size: 0.9rem;
    padding: 10px 15px;
  }

  .edu-h1 {
    font-size: 2rem;
  }

  .edu-h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .footer-section {
    flex: 0 0 100%;
    text-align: center;
  }

  .footer-title {
    justify-content: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-icons {
    justify-content: center;
  }

  nav.main-navigation ul.nav.menu-top li {
    padding: 10px 15px;
    font-size: 14px;
  }

  .edu-h1 {
    font-size: 1.8rem;
  }

  .edu-h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 576px) {
  .menu-aside li {
    flex: 1 1 100%;
    font-size: 14px;
    padding: 14px 20px;
  }

  .sidebar-heading {
    font-size: 16px;
    padding: 16px 20px;
  }

  .vision-text {
    display: none;
  }

  .vision-label {
    padding: 12px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    justify-content: center;
  }

  .vision-icon {
    margin: 0;
  }

  .edu-h1 {
    font-size: 1.6rem;
  }

  .content_component {
    padding: 20px 15px;
  }

  .footer-wrapper {
    padding: 0 15px;
  }
}

/* Анимации */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content_component {
  animation: fadeIn 0.5s ease-out;
}

.edu-card {
  animation: fadeIn 0.6s ease-out;
}