/*Обнуление*/
*{padding:0;margin:0;border:0;}
*,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
:focus,:active{outline:none;}
a:focus,a:active{outline:none;}
nav,footer,header,aside{display:block;}
html,body{height:100%;width:100%;font-size:100%;line-height:1;font-size:14px;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%;}
input,button,textarea{font-family:inherit;}
input::-ms-clear{display:none;}
button{cursor:pointer;}
button::-moz-focus-inner{padding:0;border:0;}
a,a:visited{text-decoration:none;}
a:hover{text-decoration:none;}
ul li{list-style:none;}
img{vertical-align:top;}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;}




body{
    font-family:Helvetica;
}


/* Владос вот тут изменения  */
.container__menu{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

/*  */
.container{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}


.menu__body {
  display: flex;
  align-items: center;
  gap: 20px;
}





.menu__item--gap-40 {
  margin-right: 40px;
}






a{
    color: #ffffff;
    text-decoration: none;
}

.language-switcher {
  margin-left: auto; 
  display: flex;
  align-items: center;
}

.language-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 12px;
}

.language-button:hover {
  opacity: 0.8;
}  
.icon-earth {
  fill: white;
}
/* Языковой переключатель (мобильный вид) */
@media (max-width: 768px) {
  .menu__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .menu__body {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: black;
    padding: 15px 0;
  }

  .menu__body.active {
    display: flex;
  }

  .menu__pages {
    flex-direction: column;
    width: 100%;
  }

  .language-switcher {
    justify-content: flex-end;
    width: 100%;
    margin-top: 10px;
  }
}




.menu__item a {
  color: white;
  text-decoration: none;
}

/* Бургер-меню */
.burger-button {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.burger-button span {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
}




/* --- МЕДИА --- */
@media (max-width: 768px) {
  .burger-button {
    display: flex;
  }

  .menu__pages {
    display: none;
    flex-direction: column;
    background: black;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 999;
  }

  .menu__pages.active {
    display: flex;
  }


}




/* Скрыть бургер по умолчанию */
.burger-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.burger-button span {
  height: 3px;
  background-color: white;
  border-radius: 2px;
}

/* Мобильный вид */
@media (max-width: 768px) {
  .burger-button {
    display: flex;
    margin-left: 60px;
  }

  .menu__pages {
    position: absolute;
    top: 99px;
    left: 0;
    right: 0;
    background-color: black;
    flex-direction: column;
    align-items: flex-start;
    padding:  20px 20px 30px 20px;
    gap: 10px;
    display: none;
  }

  .menu__pages.active {
    display: flex;
  }




}




/* ================= БЛОК STUDENTS ================= */
.Students {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F5F5F5;
  width: 1200px;
  height: auto;
}

.Students__row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.Students__body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px; /* расстояние между изображением и текстом */
}

.Students__woman {
  width: 600px;
  height: 700px;
  border-radius: 10px;
}

.Students__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 500px;
}

.Students__title {
  font-size: 40px;
  background-color: #004080;
  height: 50px;
  width: 100%;
  border-radius: 5px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: none;
  cursor: pointer;
}
button.Students__title2 {
  font-size: 20px;
  background-color: #004080;
  height: 50px;
  width: 100%;
  border-radius: 5px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: none;
  cursor: pointer;
}


.Students__text {
  max-height: 60vh;  
  overflow-y: auto; 
  padding-right: 10px

}

.accordion-content {
  display: none;
  margin-bottom: 20px;
  animation: fadeIn 0.3s ease-in-out;
}

.accordion-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

* Обёртка модалки */

/* ================= ОБЩИЕ СТИЛИ МОДАЛКИ ================= */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: auto;
  padding: 40px 20px;
}

/* Содержимое модалки */
.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 30px;
  border-radius: 10px;
  max-width: 1200px;
  position: relative;
}

/* Кнопка закрытия */
.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}




@media (max-width: 1024px) {
  .Students {
    width: 90vw;
    padding: 20px;
    flex-direction: column;
  }

  .Students__row {
    flex-direction: column;
  }

  .Students__body {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .Students__woman {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }

  .Students__woman:hover {
    transform: scale(1.05);
  }

  .Students__content {
    max-width: 100%;
    width: 100%;
    padding: 0 15px;
  }

  .Students__title {
    font-size: 34px;
    height: 50px;
    margin-bottom: 25px;
  }

  button.Students__title2 {
    font-size: 18px;
    height: 48px;
    margin-bottom: 25px;
    border-radius: 8px;
  }

  .Students__text {
    max-height: 55vh;
    overflow-y: auto;
    padding-right: 12px;
    line-height: 1.5;
    font-size: 17px;
    color: #222;
  }
}

@media (max-width: 600px) {
  .Students {
    width: 95vw;
    padding: 15px 10px;
  }

  .Students__woman {
    max-width: 100%;
    max-height: 350px;
  }

  .Students__title {
    font-size: 28px;
    height: 45px;
  }

  button.Students__title2 {
    font-size: 16px;
    height: 45px;
  }

  .Students__text {
    max-height: 45vh;
    font-size: 16px;
  }
}

@media (max-width: 375px) {
  .Students__title {
    font-size: 24px;
    height: 40px;
  }

  button.Students__title2 {
    font-size: 14px;
    height: 40px;
  }

  .Students__text {
    max-height: 40vh;
    font-size: 14px;
  }
}




/* Teacher */

/* ================= БЛОК TEACHER ================= */
.Teacher {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F5F5F5;
  width: 1200px;
  height: auto;
}

.Teacher__row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.Teacher__body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
}

.Teacher__man {
  width: 600px;
  height: 700px;
  border-radius: 10px;
}

.Teacher__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 500px;
}

.Teacher__title {
  font-size: 40px;
  background-color: #004080;
  height: 50px;
  width: 100%;
  border-radius: 5px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: none;
  cursor: pointer;
}

button.Teacher__title2 {
  font-size: 20px;
  background-color: #004080;
  height: 50px;
  width: 100%;
  border-radius: 5px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: none;
  cursor: pointer;
}

button.Teacher__title3 {
  font-size: 15px;
  background-color: #005011;
  height: 50px;
  width: 300px;
  border-radius: 10px;
  color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: none;
  cursor: pointer;
}

button.Teacher__title4 {
  font-size: 15px;
  background-color: #b9b9b9;
  height: 50px;
  width: 100%;
  border-radius: 25px;
  color: rgb(0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: none;
  cursor: pointer;
}

.Teacher__text {
  font-size: 16px;
  line-height: 1.6;
}

.accordion-content {
  display: none;
  margin-bottom: 20px;
  animation: fadeIn 0.3s ease-in-out;
}

.accordion-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Модальное окно */

/* ================= ОБЩИЕ СТИЛИ МОДАЛКИ ================= */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: auto;
  padding: 40px 20px;
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 30px;
  border-radius: 10px;
  max-width: 1200px;
  position: relative;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}




/* ================= БЛОК TEACHER ================= */
.Teacher__text{
  max-height: 60vh;  
  overflow-y: auto; 
  padding-right: 10px
}


@media (max-width: 1024px) {
  .Teacher {
    width: 90vw;
    padding: 20px;
    flex-direction: column;
  }

  .Teacher__row {
    flex-direction: column;
  }

  .Teacher__body {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .Teacher__man {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }

  .Teacher__man:hover {
    transform: scale(1.05);
  }

  .Teacher__content {
    max-width: 100%;
    width: 100%;
    padding: 0 15px;
  }

  .Teacher__title {
    font-size: 34px;
    height: 50px;
    margin-bottom: 25px;
  }

  button.Teacher__title2 {
    font-size: 18px;
    height: 48px;
    margin-bottom: 25px;
    border-radius: 8px;
  }

  .Teacher__text {
    max-height: 55vh;
    overflow-y: auto;
    padding-right: 12px;
    line-height: 1.5;
    font-size: 17px;
    color: #222;
  }

}

@media (max-width: 600px) {
  .Teacher {
    width: 95vw;
    padding: 15px 10px;
  }

  .Teacher__man {
    max-width: 100%;
    max-height: 350px;
  }

  .Teacher__title {
    font-size: 28px;
    height: 45px;
  }

  button.Teacher__title2 {
    font-size: 16px;
    height: 45px;
  }

  .Teacher__text {
    max-height: 45vh;
    font-size: 16px;
  }
}

@media (max-width: 400px) {

/* ================= ОБЩИЕ СТИЛИ МОДАЛКИ ================= */
  .modal-content {
    padding: 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }


/* ================= БЛОК TEACHER ================= */
  .Teacher {
    width: 100%;
    padding: 0;
    flex-direction: column;
  }

  .Teacher__man {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
  }

  .Teacher__title {
    font-size: 20px;
    height: auto;
    padding: 10px;
    text-align: center;
  }

  .Teacher__text {
    font-size: 14px;
    max-height: 40vh;
    overflow-y: auto;
    padding-right: 5px;
  }

  .Teacher__content {
    padding: 0 10px;
    width: 100%;
  }

  button.Teacher__title2,
  button.Teacher__title3,
  button.Teacher__title4 {
    font-size: 14px;
    height: auto;
    padding: 10px;
    width: 100%;
  }
}













    * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Arial, sans-serif;
        }

        body {
            background-color: #f5f5f5;
            color: #333;
            padding: 20px;
        }

        .header {
            text-align: center;
            margin-bottom: 30px;
        }

        .header h1 {
            color: #ffffff;
            margin-bottom: 10px;
            font-size: 24px;
        }

        .menu-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .menu-item {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 20px;
            width: calc(25% - 20px);
            min-width: 200px;
            text-align: center;
            transition: transform 0.3s ease;
        }

        .menu-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }

        .menu-item h2 {
            color: #0066cc;
            margin-bottom: 10px;
            font-size: 18px;
        }

        @media (max-width: 900px) {
            .menu-item {
                width: calc(50% - 20px);
            }
        }

        @media (max-width: 500px) {
            .menu-item {
                width: 100%;
            }
        }


        :root {
            --primary-color: #005baa;
            --secondary-color: #ffcc00;
            --text-color: #333;
            --light-bg: #f8f9fa;
            --card-bg: #ffffff;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--light-bg);
            margin: 0;
            padding: 0;
        }

  .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section {
            margin: 60px 0;
        }

        .section-title {
            color: var(--primary-color);
            font-size: 2rem;
            margin-bottom: 30px;
            position: relative;
            padding-bottom: 10px;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 4px;
            background: var(--secondary-color);
        }

        /* Стили для блока направлений деятельности */
        .activities {
            background-color: var(--card-bg);
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .activities-list {
            list-style-type: none;
            padding: 0;
        }

        .activities-list li {
            position: relative;
            padding-left: 30px;
            margin-bottom: 20px;
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .activities-list li::before {
            content: '•';
            color: var(--secondary-color);
            font-size: 1.5rem;
            position: absolute;
            left: 0;
            top: -3px;
        }

        /* Стили для блока сертификатов */
        .certificates {
            background-color: var(--card-bg);
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .certificates-list {
            list-style-type: none;
            padding: 0;
        }

        .certificates-list li {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }

        .certificates-list li:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

        .certificate-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            display: inline-block;
            padding: 8px 0;
        }

        .certificate-link:hover {
            color: #003366;
            transform: translateX(5px);
        }

        .certificate-link::after {
            content: '→';
            margin-left: 8px;
            transition: all 0.3s ease;
        }

        .certificate-link:hover::after {
            transform: translateX(3px);
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .section {
                margin: 40px 0;
            }

            .section-title {
                font-size: 1.7rem;
            }

            .activities, .certificates {
                padding: 20px;
            }

            .activities-list li {
                font-size: 1rem;
                padding-left: 25px;
            }
        }

        .announcement-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.announcement {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 1px solid rgba(0, 91, 170, 0.15);
    border-left: 5px solid #005baa; /* Синий цвет Erasmus+ */
    border-radius: 0 12px 12px 0;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 8px 30px rgba(0, 91, 170, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.announcement:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 91, 170, 0.12);
}

.announcement::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23005baa" fill-opacity="0.03"><path d="M50 0 L100 50 L50 100 L0 50 Z"/></svg>');
    background-size: contain;
}

.announcement-content {
    position: relative;
    z-index: 2;
}

.announcement-header {
    font-size: 1.4rem;
    font-weight: 700;
    color: #005baa;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.announcement-header::before {
    content: '📢';
    margin-right: 12px;
    font-size: 1.6rem;
}

.announcement-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 0;
}

.announcement-highlight {
    color: #005baa;
    font-weight: 600;
}

/* Для смешанного русско-английского текста */
.announcement-text en {
    font-style: italic;
    color: #555;
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .announcement {
        padding: 20px;
        border-left-width: 4px;
    }

    .announcement-header {
        font-size: 1.2rem;
    }

    .announcement-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .announcement {
        border-radius: 0 8px 8px 0;
    }

    .announcement-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .announcement-header::before {
        margin-bottom: 8px;
        margin-right: 0;
    }
}

/* Двухколоночный макет */
        .columns-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin: 40px 0;
        }

        .column {
            background-color: var(--card-bg);
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .section-title {
            color: var(--primary-color);
            font-size: 1.8rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--secondary-color);
        }

        /* Стили для списка направлений */
        .activities-list {
            list-style-type: none;
            padding: 0;
        }

        .activities-list li {
            position: relative;
            padding-left: 30px;
            margin-bottom: 20px;
            font-size: 1rem;
            line-height: 1.5;
        }

        .activities-list li::before {
            content: '•';
            color: var(--secondary-color);
            font-size: 1.8rem;
            position: absolute;
            left: 0;
            top: -8px;
        }

        /* Стили для списка сертификатов */
        .certificates-list {
            list-style-type: none;
            padding: 0;
        }

        .certificates-list li {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }

        .certificate-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            display: block;
            padding: 8px 0;
        }

        .certificate-link:hover {
            color: #003366;
            padding-left: 10px;
        }

        .certificate-link::after {
            content: '→';
            margin-left: 8px;
            transition: all 0.3s ease;
        }

        .certificate-link:hover::after {
            margin-left: 12px;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .columns-container {
                grid-template-columns: 1fr;
            }

            .menu__pages {
                gap: 15px;
                flex-wrap: wrap;
                justify-content: center;
            }

            .section-title {
                font-size: 1.5rem;
            }

            .activities-list li {
                font-size: 0.95rem;
                padding-left: 25px;
            }
        }

         /* Добавляем новые стили для MBA программ */
        .mba-programs {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            margin-top: 40px;
            justify-content: center;
        }

        .mba-program {
            flex: 1;
            min-width: 300px;
            max-width: 500px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .mba-program:hover {
            transform: translateY(-5px);
        }

        .mba-program-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .mba-program-content {
            padding: 20px;
        }

        .mba-program-title {
            color: #005baa;
            font-size: 1.5rem;
            margin-bottom: 15px;
        }

        .mba-program-description {
            color: #555;
            margin-bottom: 20px;
        }

        .brochures {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 30px 0;
            flex-wrap: wrap;
        }

        .brochure-link {
            display: block;
            width: 200px;
            text-align: center;
            text-decoration: none;
            transition: transform 0.3s ease;
        }

        .brochure-link:hover {
            transform: scale(1.05);
        }

        .brochure-image {
            width: 100%;
            height: auto;
            border-radius: 5px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
        }

        .brochure-caption {
            margin-top: 10px;
            color: #333;
            font-weight: 500;
        }

        /* Контейнер для колонок */
.columns-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px; /* Расстояние между колонками */
    margin: 0 auto;
    max-width: 1200px; /* Ограничение ширины контейнера */
}

/* Стили для каждой колонки */
.column {
    flex: 1 1 calc(20% - 16px); /* Одинаковая ширина колонок (25%) с учётом расстояния */
    box-sizing: border-box;
    padding: 16px;
    background-color: #f9f9f9; /* Цвет фона колонок */
    border: 1px solid #e0e0e0; /* Обводка колонок */
    border-radius: 8px; /* Скругление углов */
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
    .column {
        flex: 1 1 calc(50% - 16px); /* 2 колонки на средних экранах */
    }
}

@media (max-width: 576px) {
    .column {
        flex: 1 1 100%; /* 1 колонка на маленьких экранах */
    }
}

    .program-link {
        display: inline-block;
        background-color: #005baa;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        margin-top: 15px;
        border: 1px solid #005baa;
    }

    .program-link:hover {
        background-color: transparent;
        color: #005baa;
        transform: translateY(-2px);
        box-shadow: 0 3px 10px rgba(0, 91, 170, 0.2);
    }

          /* Стили для нового раздела с контактами */
        .participation-info {
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 30px;
            margin-top: 40px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            margin-left: 180px;
        }

        .participation-title {
            color: #005baa;
            font-size: 1.5rem;
            margin-bottom: 20px;
            text-align: center;
        }

        .participation-text {
            margin-bottom: 20px;
            line-height: 1.6;
        }

        .contacts-list {
            list-style-type: none;
            padding-left: 0;
        }

        .contact-item {
            margin-bottom: 15px;
            padding-left: 30px;
            position: relative;
        }

        .contact-name {
            font-weight: 600;
            color: #333;
        }

        .contact-position {
            font-style: italic;
            color: #666;
            font-size: 0.9em;
        }

        .working-hours {
            margin-top: 25px;
            padding: 15px;
            background-color: #e9f5ff;
            border-radius: 5px;
            text-align: center;
            font-weight: 500;
        }

        .competition-section {
    max-width: 900px;
    margin: 30px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.competition-header {
    text-align: center;
    margin-bottom: 30px;
}

.competition-header h2 {
    color: #005baa;
    font-size: 28px;
    margin-bottom: 20px;
}

.competition-main-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.competition-content {
    padding: 0 20px;
}

.competition-description p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.winners-section, .nominations-section {
    margin: 30px 0;
}

.winners-section h3, .nominations-section h3 {
    color: #005baa;
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid #ffcc00;
}

.winner-item, .nomination-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.winner-place {
    font-weight: bold;
    color: #005baa;
    margin-bottom: 5px;
}

.winner-project {
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 5px;
}

.winner-authors, .winner-school, .winner-category,
.nomination-winner, .nomination-school {
    margin-bottom: 3px;
    font-size: 15px;
}

.nomination-name {
    font-weight: 600;
    color: #005baa;
    margin-bottom: 8px;
}

.competition-footer {
    text-align: center;
    margin: 30px 0;
    font-style: italic;
    font-size: 17px;
}

.competition-gallery {
    margin-top: 40px;
}

.competition-gallery h3 {
    color: #005baa;
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .gallery-grid {
    grid-template-columns: 1fr;
    }

    .competition-header h2 {
    font-size: 24px;
    }
}


    .whatsapp-link {
    color: #000000; /* Черный цвет */
    text-decoration: none;
    }



/* Общие стили для блока участия */
.participation-info {
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  color: #333;
}

.participation-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: #2c3e50;
  text-align: center;
}

.participation-text {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 25px;
  text-align: center;
}

.contacts-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.contact-item {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.whatsapp-link {
  display: inline-block;
  font-size: 18px;
  color: #25D366;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 8px;
}

.contact-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-position {
  font-size: 14px;
  color: #666;
}

.working-hours {
  font-size: 16px;
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

/* Адаптивные стили */
@media (max-width: 768px) {
  .participation-info {
    padding: 15px;
  }

  .participation-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .participation-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .contact-item {
    padding: 15px;
  }

  .whatsapp-link {
    font-size: 16px;
  }

  .contact-name {
    font-size: 15px;
  }

  .contact-position {
    font-size: 13px;
  }

  .working-hours {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .participation-title {
    font-size: 20px;
  }

  .participation-text {
    font-size: 15px;
  }

  .whatsapp-link {
    font-size: 15px;
    word-break: break-all; /* Перенос длинных номеров */
  }

  .contact-item {
    padding: 12px;
  }

  .contact-name,
  .contact-position {
    font-size: 14px;
  }

  .working-hours {
    font-size: 13px;
  }
}

/* Стили для WhatsApp иконки (опционально) */
.whatsapp-link::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2325D366"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin-right: 5px;
}

/* Для всего блока с условиями */
.participation-info {
  margin-top: 30px; /* Регулируйте это значение по необходимости */
}

/* Или если нужно отступ только на мобильных */
@media (max-width: 768px) {
  .participation-info {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  /* Выберете подходящий селектор */
  p, div {
    margin-bottom: -5px;
  }

  /* Или для конкретного блока */
  body > div:first-child {
    margin-bottom: -5px;
  }
}


     /* ================= ФУТЕР ================= */
        /* Основные стили для footer */
        .footer__ {
            background-color: #000000;
            color: #ffffff;
            width: 100%;
            margin: 0;
            padding: 40px 0 0;
        }

        .footer__row {
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 20px;
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 24px;
        }

        .footer__column {
            flex: 1 1 250px;
            max-width: 400px;
        }

        .stripe {
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            width: 100%;
            margin: 0;
        }

        .footer__bottom {
            padding: 20px;
            text-align: center;
            font-size: 14px;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .footer__row {
                flex-direction: column;
                padding: 40px 20px;
                gap: 30px;
            }

            .footer__column {
                max-width: 100%;
            }
        }

        html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.footer__ {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}


/* ==== ДЛЯ компов ширина 1280 ==== */
@media (min-width: 1024px) {
  .news__cards {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 1280px;
  }

  .first__block {
    width: 1280px;
    height: 400px;
    min-width: calc((100% - 2 * 24px) / 4);
    max-width: calc((100% - 2 * 24px) / 4);
    flex: 0 0 auto;
  }

  .first__block img {
    width: 250px;
    height: 200px;
    border-radius: 10px;
    margin-left: 4px;
    margin-top: 4px;
  }

  .partners__cards,
  .footer__container,
  .ABU__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5px 20px;
    box-sizing: border-box;
  }

  .news__slider-wrapper {
    overflow: hidden;
    width: 100%;
  }

  .news__block_main {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    transition: transform 0.3s ease;
  }

  /* Кнопка открытия */
  .more-button {
    padding: 14px 17px;
    background: linear-gradient(135deg, #003366, #0055aa);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.4);
    transition: all 0.3s ease;
  }


}


@media (max-width: 480px) {
  /* Кнопка открытия */
  .more-button {
    padding: 14px 17px;
    background: linear-gradient(135deg, #003366, #0055aa);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.4);
    transition: all 0.3s ease;
  }
}


/* Кнопка открытия */
.open-students-modal {
        all: unset;
        display: block;
        padding: 12px 20px;
        color: #fff;
        font-size: 16px;
        width: 100%;
        cursor: pointer;
}

.open-teacher-modal {
        all: unset;
        display: block;
        padding: 12px 20px;
        color: #fff;
        font-size: 16px;
        width: 100%;
        cursor: pointer;
}


/* С 1200px до 1600px — сдвигаем влево */
@media (min-width: 1200px) and (max-width: 1600px) {
    .submenu {
        left: auto;
        right: 0;
        transform: translateX(-30px);
    }
}

/* Свыше 1600px — возвращаем стандартное поведение */
@media (min-width: 1601px) {
    .submenu {
        left: 0;
        right: auto;
        transform: none;
    }
}


.menu__logo , .logo__footer img{
  width: 214px;
  height: 49px;
  object-fit: contain;
}

/* Для больших экранов (десктопов) */
@media (min-width: 1025px) {
  .menu__logo {
    width: 257px;
    height: 59px;
  }
}

/* Планшеты и средние экраны */
@media (max-width: 1024px) {
  .menu__logo{
    max-width: 180px;
    height: auto;
  }
}

/* Маленькие экраны (телефоны) */
@media (max-width: 768px) {
  .menu__logo{
    max-width: 290px;
    height: 65px;
  }
}

/* Очень маленькие телефоны */
@media (max-width: 480px) {
  .menu__logo,
  .logo__footer img {
    max-width: 220px;
    height: 65px;
  }
}


@media (max-width: 1510px) {
  .menu__pages a {
    font-size: 16px; /* уменьшение размера */

  }
}
@media (max-width: 1400px) {
  .menu__pages a {
    font-size: 15px; /* уменьшение размера */

  }
}

@media (max-width: 1345px) {
  .menu__pages a {
    font-size: 14px; /* уменьшение размера */

  }
}
@media (max-width: 1290px) {
  .menu__pages a {
    font-size: 13px; /* уменьшение размера */

  }
}



.credit-mobility{
        all: unset;
        display: block;
        padding-top: 3px;
        color: #fff;
        font-size: 16px;
        width: 100%;
        cursor: pointer;
}


.Erasmus-CirculEC{
        display: block;
        color: #fff;
        font-size: 16px;
        width: 100%;
        cursor: pointer;
}



.has-submenu {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(17, 17, 17, 0.9);
  padding: 0; /* сбрасываем отступы, переносим в <a> */
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);

  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.has-submenu:hover .submenu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.submenu li {
  white-space: nowrap;
  width: 100%; /* ключевой момент */
}

.submenu li a {
  display: block;
  width: 100%;
  padding: 12px 20px;
  color: white;
  font-size: 16px;
  background-color: transparent;
  border-radius: 0; /* можно убрать округления */
  text-decoration: none;
  text-align: left;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.submenu li a:hover {
  background-color: rgba(255, 255, 255, 0.1); /* белое полупрозрачное выделение на всю ширину */
}

.submenu li {
  white-space: nowrap;
}

.submenu li a {
  background-repeat: no-repeat;
  background-position: left center;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
  .has-submenu .submenu {
    display: none;
    position: static;
    background-color: #1a1a1a;
    width: 100%;
    max-width: 100%;
    padding: 0 0 0 16px; /* или 0, если не нужен отступ */
    margin: 0;
    border-radius: 6px;
    box-shadow: none;
    flex-direction: column;
  }

  .has-submenu.active .submenu {
    display: flex;
  }
}





/* С 1200px до 1600px — сдвигаем влево */
@media (min-width: 1200px) and (max-width: 1600px) {
    .submenu {
        left: auto;
        right: 0;
        transform: translateX(-30px); /* подстрой размер смещения */
    }
}

/* Свыше 1600px — возвращаем стандартное поведение */
@media (min-width: 1601px) {
    .submenu {
        left: 0;
        right: auto;
        transform: none;
    }
}


.vertical-sections {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    max-width: 900px;
    margin: 2.5rem auto;
    padding: 0 1rem;
}

/* Для секций с программами MBA (3-я и 4-я) — располагаем их в ряд */
.mba-row {
    display: flex;
    flex-direction: row;
    gap: 2.2rem;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Каждая программа MBA как отдельная секция */
.vertical-section.mba-program-section {
    background: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 #2563eb18;
    padding: 2rem 1.4rem 1.5rem 1.4rem;
    margin: 0;
    flex: 1 1 0;
    max-width: 430px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.mba-program {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    padding: 0.3rem 0 0.1rem 0;
}

.mba-program-image {
    width: 100%;
    max-width: 260px;
    border-radius: 12px;
    box-shadow: 0 2px 10px #2563eb19;
    object-fit: cover;
    margin-bottom: 0.8rem;
}

.mba-program-content {
    text-align: center;
}

.mba-program-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #2563eb;
    margin: 0.3rem 0 0.7rem 0;
}

.program-link {
    display: inline-block;
    background: linear-gradient(90deg, #2563eb 60%, #4fd1ff 100%);
    color: #fff;
    font-weight: 600;
    padding: 0.45rem 1.1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 1px 6px #2563eb18;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.program-link:hover {
    background: #1e3a8a;
    color: #fff;
    box-shadow: 0 2px 12px #2563eb33;
}

/* Секции с направлениями и сертификатами */
.vertical-section:not(.mba-program-section) {
    background: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 #2563eb18;
    padding: 2rem 1.4rem 1.5rem 1.4rem;
    margin: 0 auto;
}

.section-title {
    font-size: 1.3rem;
    color: #2563eb;
    font-weight: 800;
    margin-bottom: 1.1rem;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.activities-list,
.certificates-list {
    padding-left: 1.1rem;
    margin: 0 0 0.2rem 0;
    font-size: 1rem;
    color: #183153;
    list-style: disc inside;
}

.activities-list li,
.certificates-list li {
    margin-bottom: 0.7rem;
    line-height: 1.5;
}

.certificate-link {
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.2s;
    font-weight: 500;
    word-break: break-word;
}
.certificate-link:hover {
    color: #1e3a8a;
    text-decoration: none;
}

@media (max-width: 900px) {
    .mba-row {
        flex-direction: column;
        gap: 1.2rem;
    }
    .vertical-section.mba-program-section {
        max-width: 100%;
    }
    .mba-program-image {
        max-width: 88vw;
    }
}
@media (max-width: 600px) {
    .vertical-sections {
        gap: 1.2rem;
        padding: 0 0.1rem;
    }
    .vertical-section,
    .vertical-section.mba-program-section {
        padding: 1.1rem 0.5rem 0.8rem 0.5rem;
    }
    .mba-program-image {
        max-width: 88vw;
    }
}



.vertical-sections {
    max-width: 900px;
    margin: 2.5rem auto;
    padding: 0 1rem;
    display: block; /* возвращаем обычный поток */
}

.vertical-section {
    background: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 #2563eb18;
    padding: 2rem 1.4rem 1.5rem 1.4rem;
    margin-bottom: 2.2rem;
}
.section-title {
    font-size: 1.3rem;
    color: #2563eb;
    font-weight: 800;
    margin-bottom: 1.1rem;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mba-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 21rem; /* не больше! уменьшай, если карточки не влезают */
    max-width: 900px;
    margin: 2.5rem auto;
    padding: 0 1rem;
}

.vertical-section.mba-program-section {
    background: none;
    border-radius: 16px;
    box-shadow: none;
    padding: 2rem 1.4rem 1.5rem 1.4rem;
    margin: 0;
    flex: 1 1 0;
    min-width: 0;
    max-width: 430px;  /* Подбери под ширину сертификата, обычно 430-440px */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mba-program {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    width: 100%;
    padding: 0;
}

.mba-program-image {
    width: 100%;
    max-width: 320px; /* если надо чуть меньше, поставь 320px */
    border-radius: 12px;
    box-shadow: 0 2px 10px #2563eb19;
    object-fit: cover;
    margin-bottom: 0.8rem;
    background: #fff;
}

.mba-program-content {
    text-align: center;
    width: 100%;
}

.mba-program-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #2563eb;
    margin: 0.3rem 0 0.7rem 0;
}

@media (max-width: 900px) {
    .mba-row {
        flex-direction: column;
        gap: 1.2rem;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    .vertical-section.mba-program-section {
        max-width: 100%;
    }
    .mba-program-image {
        max-width: 100%;
    }
}

body {
    background: #f4f7fb;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    margin: 0;
}

.participation-info {
    max-width: 900px;
    margin: 2.5rem auto;
    padding: 2rem 1.4rem 1.5rem 1.4rem;
    background: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 #2563eb18;
}

.participation-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.4rem;
    text-align: center;
    letter-spacing: 0.2px;
}

.participation-text {
    font-size: 1.12rem;
    color: #222f3e;
    margin-bottom: 1.5rem;
    text-align: center;
}

.participation-phones-title {
    font-size: 1.1rem;
    color: #222f3e;
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.contacts-list {
    list-style: none;
    padding: 0;
    margin: 1.6rem 0 1.3rem 0;
}

.contact-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 8px #2563eb10;
    padding: 1rem 1.2rem 0.6rem 1.2rem;
    margin-bottom: 1.1rem;
    transition: box-shadow 0.2s;
}

.contact-item:hover {
    box-shadow: 0 4px 18px #2563eb15;
}

.whatsapp-link {
    color: #16a34a;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.3rem;
    letter-spacing: 0.2px;
}

.whatsapp-link:hover {
    text-decoration: underline;
    color: #15803d;
}

.whatsapp-icon {
    font-size: 1.1em;
    vertical-align: -1px;
    margin-right: 3px;
}

.contact-name {
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #222f3e;
}

.contact-position {
    font-size: 0.96rem;
    color: #374151;
    font-style: italic;
}

.working-hours {
    font-size: 0.97rem;
    color: #64748b;
    margin-top: 1.3rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 950px) {
    .participation-info {
        max-width: 99vw;
        padding: 1.2rem 0.5rem;
    }
}

@media (max-width: 600px) {
    .participation-info {
        padding: 1rem 0.1rem;
    }
    .participation-title {
        font-size: 1.3rem;
    }
    .participation-text {
        font-size: 1rem;
    }
}

.competition-section {
    max-width: 865px;      /* Ставим такую же ширину, как у других секций */
    margin: 2.5rem auto;    /* Центрируем */
    padding: 2.5rem 2rem 2rem 2rem; /* Внутренние отступы */
    background: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 #2563eb18;
    box-sizing: border-box; /* Важно для корректной ширины! */
}

.announcement {
    max-width: 900px;         /* Сделать такую же ширину, как у других секций */
    margin: 2.5rem auto;       /* Центрирование по странице */
    padding: 2rem 1.4rem 1.5rem 1.4rem;
    background: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 #2563eb18;
    font-size: 1.13rem;
    color: #1e293b;
    box-sizing: border-box;
}

/* --- УЛУЧШЕННАЯ АДАПТИВНОСТЬ ДЛЯ ВСЕХ СЕКЦИЙ --- */
.vertical-sections {
    width: 100%;
    max-width: 900px;
    margin: 1.5rem auto;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    box-sizing: border-box;
}
.vertical-section {
    background: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 #2563eb18;
    padding: 2rem 1.4rem 1.5rem 1.4rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
}
.section-title {
    font-size: 1.3rem;
    color: #2563eb;
    font-weight: 800;
    margin-bottom: 1.1rem;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.25;
    padding: 0 2px;
}
.activities-list,
.certificates-list {
    padding-left: 1.1rem;
    margin: 0 0 0.2rem 0;
    font-size: 1rem;
    color: #183153;
    list-style: disc inside;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.5;
}
.activities-list li,
.certificates-list li {
    margin-bottom: 0.7rem;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: break-word;
}
.certificate-link {
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.2s;
    font-weight: 500;
    word-break: break-word;
    display: inline-block;
    line-height: 1.4;
    padding: 0.2em 0;
    font-size: 1em;
}
.certificate-link:hover {
    color: #1e3a8a;
    text-decoration: none;
}
@media (max-width: 600px) {
    .vertical-sections {
        padding: 0 2vw;
        gap: 0.7rem;
        max-width: 100vw;
    }
    .vertical-section {
        padding: 1rem 0.5rem 1rem 0.5rem;
        margin: 0 0 0.7rem 0;
        border-radius: 10px;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .section-title {
        font-size: 1.08rem;
        padding: 0 0.2em;
        word-break: break-word;
    }
    .activities-list,
    .certificates-list {
        font-size: 0.97rem;
        padding-left: 1em;
    }
    .certificate-link {
        font-size: 0.96em;
    }
}
/* Исправить слишком длинные слова чтобы не вылезали */
.vertical-section, .certificates-list, .certificate-link, .section-title {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Убираем горизонтальный скролл */
html, body {
    overflow-x: hidden !important;
}

.submenu-arrow {
  margin-left: 8px;
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

/* Поворот на мобильных (по клику) */
.has-submenu.active .submenu-arrow {
  transform: rotate(180deg);
}

/* Поворот на десктопах (при наведении) */
@media (min-width: 769px) {
  .has-submenu:hover > .submenu-toggle .submenu-arrow {
    transform: rotate(180deg);
  }
}



.container {
  width: 100%;
  padding: 0 32px;
  margin: 0;
}





.menu__logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.logo__title-text {
  color: #fff;
  font-family: 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.1;
  text-align: left;
  margin-left: 8px;
}

.menu__body {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-start;
  width: 100%;
}



.menu__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.menu__item a {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
  padding: 0 8px;
  white-space: nowrap;
  line-height: 1.2;
  display: block;
}

.menu__item a:hover {
  color: #ffffff;
}



body {
  margin: 0;
  background: #f6f7f8;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}






.menu__logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.logo__title-text {
  color: #fff;
  font-family: 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.1;
  text-align: left;
  margin-left: 8px;
}

.menu__body {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-start;
  width: 100%;
}



.menu__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.menu__item a {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
  padding: 0 8px;
  white-space: nowrap;
  line-height: 1.2;
  display: block;
}

.menu__item a:hover {
  color: #ffffff;
}


.menu__item a {
  color: #fff;
  font-size: 18px;      /* уменьшенный размер шрифта */
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
  padding: 0 6px;       /* уменьшенные горизонтальные отступы */
  white-space: nowrap;
  line-height: 1.1;
  display: block;
}



.logo__title-text {
  color: #fff;
  font-family: 'Times New Roman', serif;
  font-size: 18px;      /* уменьшенный размер названия */
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.1;
  text-align: left;
  margin-left: 8px;
}

.menu__logo {
  width: 257px;
  height: 59px;
}




/* ================= МЕНЮ ================= */
.menu{
  background-color:#000000;
  width: auto;
  height: 130px;
  padding: 15px 15px 15px 15px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
@media (max-width: 768px) {
  .menu {
    padding: 30px 10px 30px 10px !important; /* сверху, справа, снизу, слева */
    height: auto !important; /* чтобы высота подстраивалась под контент */
  }
}
.container__mschool_eramus_erasmus_circulen{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.menu__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 20px;
}

/* Для больших экранов (десктопов) */
@media (min-width: 1025px) {
  .menu__logo {
    width: 257px;
    height: 59px;
  }
}

.menu__body {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu__pages {
  display: flex;
  color: #ffffff;
  font-size: 18px;
  line-height: 24px;
  gap: 20px; 

}


.menu__item--gap-40 {
  margin-right: 40px;
}



@media (max-width: 768px) {
  .menu__item {
    display: flex;
    align-items: flex-start; /* чтобы текст был слева */
    justify-content: flex-start;
    min-width: 0;
  }
  .menu__item.has-submenu {
    flex-direction: column; /* ВАЖНО: подменю будет под заголовком */
    align-items: flex-start;
  }
  .submenu {
    width: 100%;
  }
}
