body {
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.header {
    margin: 0; /* убираем внешний отступ */
    padding: 20px 0; /* внутренний отступ остаётся */
    background: linear-gradient(135deg, #0039a6, #0055ff);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo {
    width: 70px;
    height: 70px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
    color: #0039a6;
    font-size: 14px;
    text-align: center;
    padding: 5px;
}

.title {
    flex: 1;
}

.title h1 {
    font-size: 22px;
    margin-bottom: 5px;
}

.title p {
    font-size: 14px;
    opacity: 0.9;
}

/* Стили для горизонтального меню */
.main-menu {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    overflow: visible;
    position: relative;
    z-index: 1001;
}

.menu-list {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding: 0px;
}

.menu-item {
    position: relative;
    flex: 1;
    min-width: 180px;
    text-align: center;
    border-right: 1px solid #f0f0f0;
}

.menu-item:last-child {
    border-right: none;
}

.menu-item > a {
    display: block;
    padding: 15px 10px;
    color: #0039a6;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1002;
}

.menu-item > a:hover {
    background-color: #f0f8ff;
}

.menu-item.has-submenu > a::after {
    content: "▼";
    font-size: 10px;
    margin-left: 5px;
}

/* Стили для подменю */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 270px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1003;
    max-height: 80vh;
    padding: 0px;
    overflow-y: auto;
}

.menu-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-item {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}

.submenu-item:last-child {
    border-bottom: none;
}

.submenu-item > a {
    display: block;
    padding: 6px 15px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.submenu-item > a:hover {
    background-color: #f0f8ff;
    color: #0039a6;
    padding-left: 20px;
}

.submenu-item.has-submenu > a::after {
    content: "▶";
    float: right;
    font-size: 10px;
    color: #aaa;
}

/* Стили для под-подменю */
.sub-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    width: 250px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0 8px 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 1004;
}

.submenu-item:hover .sub-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sub-submenu-item > a {
    display: block;
    padding: 10px 15px;
    color: #666;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s ease;
}

.sub-submenu-item > a:hover {
    background-color: #f0f8ff;
    color: #0039a6;
    padding-left: 20px;
}

/* Контент страницы */
.content {
    margin: 0; /* никаких внешних отступов */
    padding: 40px 0; /* внутренние отступы сверху и снизу */
    background-color: #f5f7fa;
    position: relative;
    z-index: 1;
}

.content h2 {
    color: #0039a6;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.content-h3{
    color: #0039a6;
    margin-bottom: 20px;
    padding-bottom: 10px;
    padding-top: 25px;
    margin-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.content a:visited{
    color: #0039a6;
}
.content a{
    color: #0039a6;
}

/*.container hr{*/
/*    margin-bottom: 20px;*/
/*    padding-bottom: 10px;*/
/*    width: 100px;*/
/*    border-bottom: 2px solid #e0e0e0;*/
/*}*/

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #0055ff;
    margin-bottom: 10px;
}

.footer {
    margin: 0; /* убираем отступ сверху */
    padding: 30px 0; /* внутренний отступ */
    background-color: #0039a6;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section a {
    color: #e0e0e0;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
    .menu-list {
        flex-direction: column;
    }

    .menu-item {
        min-width: 100%;
        text-align: left;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .menu-item:last-child {
        border-bottom: none;
    }

    .menu-item > a {
        padding: 15px 20px;
    }

    .submenu {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background-color: #f9f9f9;
        max-height: none;
        overflow-y: visible;
    }

    .menu-item.active .submenu {
        display: block;
    }

    .submenu-item.has-submenu > a::after {
        content: "▼";
    }

    .sub-submenu {
        position: static;
        width: 100%;
        box-shadow: none;
        display: none;
        background-color: #f0f0f0;
    }

    .submenu-item.active .sub-submenu {
        display: block;
    }
}

#url_edu{
    text-decoration: none;
    color: white;
}

.info-table {
    border-collapse: collapse;
    width: 100%;
    max-width: 900px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.info-table th,
.info-table td {
    border: 1px solid #ddd;
    padding: 14px;
    vertical-align: top;
}
.info-table th {
    background: #f3f3f3;
    font-weight: normal;
    text-align: left;
}
/* Левая большая ячейка */
.founder {
    width: 220px;
    background: #f5f5f5;
    color: #333;
    font-size: 14px;
}
.label {
    width: 180px;
    background: #fafafa;
    color: #555;
    font-size: 14px;
}
.value {
    color: #222;
    font-size: 14px;
}
.centered-header td,
.centered-header th {
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
}

.ol_practika{
    font-size: 90%;
}


.accordion {
  width: 100%;
  max-width: 700px;
  margin: 30px 0 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.accordion-btn {
  background-color: #f8f8f8;
  color: #333;
  cursor: pointer;
  padding: 12px 16px;
  width: 100%;
  border: none;
  text-align: left;
  font-size: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.accordion-btn:hover {
  background-color: #e9e9e9;
}

.accordion-btn::before {
  content: "🡆";
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.accordion-btn.active::before {
  content: "🡇";
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background-color: #fff;
  border-top: 1px solid #ddd;
  border-radius: 0 0 8px 8px;
  padding: 0 20px;
}

.accordion-content.open {
  padding: 12px 20px;
}

.accordion-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.accordion-content li {
  margin: 6px 0;
}

.accordion-content a {
  color: #0073e6;
  text-decoration: none;
}

.accordion-content a:hover {
  text-decoration: underline;
}

.slider {
    position: relative;
    height: 400px;
    margin: 0px 0px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
    overflow: hidden;
}
.slider-slides {
    position: relative;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.51, 0.92, 0.24, 1);
    will-change: transform;
}
.slider-slide {
    float: left;
    height: 100%;
    background-position: 50% 50%;
    background-size: cover;
}
.slider-dots {
    display: flex;
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: calc(100% - 40px);
}
.slider-dot,
.slider-indicator {
    display: block;
    margin: 0 5px;
    height: 14px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    cursor: pointer;
}
.slider-indicator {
    position: absolute;
    background: white;
    width: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
}
.slider-indicator-left {
    transition: left 0.3s cubic-bezier(0.51, 0.92, 0.24, 1.15), right 0.3s 0.1s cubic-bezier(0.51, 0.92, 0.24, 1.15);
}
.slider-indicator-right {
    transition: left 0.3s 0.1s cubic-bezier(0.51, 0.92, 0.24, 1.15), right 0.3s cubic-bezier(0.51, 0.92, 0.24, 1.15);
}


/* ======= Основная трёхколоночная раскладка ======= */
.layout {
  display: grid;
  grid-template-columns: 15% 1fr 15%;
  gap: 20px;
  align-items: start;
  max-width: 100%;
  margin: 0 auto;
}

/* ======= Боковые панели ======= */
.sidebar-left,
.sidebar-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ======= Информационные блоки ======= */
.info-block {
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  font-size: 14px;
  line-height: 1.5;
}

.info-block-h3 {
    color: #0039a6;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    font-size: 1em;
}

.info-block p {
  margin: 5px 0;
}

.info-block img{
    width: 100%;
    height: 80%;
    object-fit: cover;
}

/* Подсветка важных блоков */
.info-block.highlight {
  background: linear-gradient(135deg, #0055ff, #0039a6);
  color: white;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

.info-block.highlight h3 {
  color: white;
}

/* ======= Центральная часть ======= */
.main-section {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

/* ======= Адаптивность ======= */
@media (max-width: 1200px) {
  .layout {
    grid-template-columns: 15% 1fr 15%;
  }
}

@media (max-width: 992px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar-left,
  .sidebar-right {
    display: none;
  }

  .main-section {
    padding: 20px;
  }
}

/* ======= Секция новостей ======= */
.news-section {
  background: #fff;
  border-radius: 12px;
  padding: 40px 20px;
  margin-top: 40px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  position: relative;
}

.news-section h2 {
  color: #0039a6;
  font-size: 24px;
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

/* ======= Вёрстка новостных слайдов ======= */
.news-slider {
  position: relative;
  height: 320px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 10px;
  overflow: hidden;
}

.news-item {
  display: flex;
  height: 100%;
  background-color: #fff;
}

.news-image {
  flex: 0 0 40%;
  height: 100%;
}

.news-image img {
  width: 100%;
  height: 85%;
  object-fit: cover;
}

.news-content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-content h3 {
  all: unset;
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #0039a6;
  margin-bottom: 12px;
  line-height: 1.3;
}

.news-content p {
  all: unset;
  display: block;
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

/* ======= Адаптивность ======= */
@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
  }

  .news-image {
    flex: 0 0 auto;
    height: 180px;
  }

  .news-content {
    padding: 20px;
    text-align: center;
  }

  .slider-slide img{
      flex: 0 0 auto;
      height: 180px;
  }
}




/* ======= Адаптивность ======= */
@media (max-width: 768px) {
  .news-slide {
    flex-direction: column;
  }

  .news-image {
    flex: 0 0 auto;
    height: 180px;
  }

  .news-content {
    padding: 15px;
    text-align: center;
  }

  .news-prev, .news-next {
    display: none; /* можно скрыть стрелки на мобилках */
  }
}


/* Основные классы спойлера (из первой части) */
.spoiler-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background-color: #fff;
    border-top: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    padding: 0 20px;
}

.spoiler-title {
    background-color: #f8f8f8;
    color: #333;
    cursor: pointer;
    padding: 12px 16px;
    width: 100%;
    border: none;
    text-align: left;
    font-size: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-weight: bold;
    transition: background-color 0.3s ease;
    user-select: none;
}

.spoiler-title:hover {
    background-color: #e9e9e9;
}

/* Иконка-стрелка (адаптированная из первой части) */
.spoiler-toggle {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('data:image/svg+xml;utf8,<svg fill="black" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6"/></svg>') no-repeat center center;
    background-size: contain;
    vertical-align: middle;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* Открытое состояние спойлера */
.spoiler-content.open {
    display: block;
    max-height: 2000px; /* Или достаточно большое значение */
    padding: 12px 20px;
    margin-top: 10px;
}

/* Поворот иконки при открытом спойлере */
.spoiler-title.active .spoiler-toggle {
    transform: rotate(180deg);
}

/* Контейнер спойлера с оформлением из второй части */
.spoiler {
    width: 100%;
    max-width: 700px;
    margin: 30px 0 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.vi-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 18px;
  font-size: 16px;
  font-weight: 600;

  color: #0052f6;
  background-color: #fff;

  border: 2px solid #ffffff;
  border-radius: 6px;

  text-decoration: none;
  cursor: pointer;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    outline 0.2s ease;
}

/* Иконка */
.vi-icon {
  font-size: 20px;
  line-height: 1;
}

/* Наведение */
.vi-button:hover {
  background-color: #000000;
  color: #ffffff;
}

/* Фокус с клавиатуры (очень важно для доступности) */
.vi-button:focus {
  outline: 4px solid #ffcc00;
  outline-offset: 2px;
}

/* Активное состояние */
.vi-button:active {
  transform: scale(0.98);
}

