

/* Start:/bitrix/templates/university_default/components/bitrix/menu/my_menu_horizontal1/style.css?17516206145431*/
/* Обёртка с фоном и тенями */
.custom-horizontal-menu-wrapper {
    background-color: #fdfdfd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 25px 20px;
    margin: 10px 0 30px 0;
    text-align: left;
}

/* Заголовок меню */
.custom-menu-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
    padding-left: 10px;
}

/* Меню */
.custom-horizontal-menu {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
    border-bottom: none;
}

.custom-horizontal-menu-item {
    text-align: center;
    position: relative;
	flex: 0 1 auto;               /* allow shrink, no grow */
    min-width: none;             /* минимальная ширина пункта */
}

.custom-horizontal-menu-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #444;
    font-size: 16px;
    font-weight: 500;
    min-height: 48px;
    border-radius: 6px;
    background-color: transparent;
    position: relative;
    text-align: left;
    transition: all 0.3s ease;
    white-space: normal;           /* разрешаем перенос текста */
    overflow-wrap: break-word;     /* перенос «длинных» слов */
    hyphens: auto;  
}

.custom-horizontal-menu-link.selected {
    color: #333;
    font-weight: 600;
    background-color: transparent;
    box-shadow: none;
}

@media (pointer: fine) {
    .custom-horizontal-menu-link.selected::after {
        content: '';
        position: absolute;
        bottom: 6px;
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 3px;
        background-color: #333;
        border-radius: 2px;
        transition: width 0.3s ease;
    }
}



.custom-horizontal-menu-link::after {
    content: none; /* удалена подмешивающаяся пустая полоска */
}

.custom-horizontal-menu-link:hover {
    color: #000;
    background-color: #f0f0f0;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

/* Подменю */
.custom-horizontal-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #333;
    z-index: 10;
    min-width: 160px;
}

.custom-horizontal-menu-item:hover .custom-horizontal-submenu {
    display: block;
}

.custom-horizontal-submenu-item {
    padding: 8px 12px;
}

.custom-horizontal-submenu-link {
    display: block;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.custom-horizontal-submenu-link:hover {
    background-color: #f0f0f0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .custom-horizontal-menu {
        flex-direction: column;
        align-items: center;
        display: flex;
        flex-wrap: wrap;          /* разрешаем перенос по строкам */
        justify-content: center;  /* центрируем ряды */
        gap: 10px;                /* отступы между пунктами */
        margin: 15px 0;
    }

    .custom-horizontal-menu-link {
        width: 100%;
        text-align: center;       /* текст по центру */
        font-size: 15px;
        padding: 12px 8px;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .custom-horizontal-menu-item {
      
        max-width: 100%;
    }

    .custom-menu-title {
        font-size: 20px;
        text-align: center;
        padding-left: 0;
    }
}

@media (max-width: 1024px) {
    .custom-horizontal-menu-link:hover,
    .custom-horizontal-menu-link:focus,
    .custom-horizontal-menu-link:active {
        color: inherit !important;
        background-color: transparent !important;
        transform: none !important;
        box-shadow: none !important;
        text-decoration: none !important;
    }

    .custom-horizontal-submenu-link:hover,
    .custom-horizontal-submenu-link:focus,
    .custom-horizontal-submenu-link:active {
        background-color: transparent !important;
    }

    .custom-horizontal-menu-item:hover .custom-horizontal-submenu,
    .custom-horizontal-menu-item:focus .custom-horizontal-submenu {
        display: none !important;
			border:none;
    }
    .custom-horizontal-menu-link.selected::after {
        content: none !important;
    }
}
@media (pointer: coarse), (hover: none) {
    .custom-horizontal-menu-link:hover,
    .custom-horizontal-menu-link:focus,
    .custom-horizontal-menu-link:active {
        color: inherit !important;
        background-color: transparent !important;
        transform: none !important;
        box-shadow: none !important;
        text-decoration: none !important;
		font-weight:600;
    }

    .custom-horizontal-submenu-link:hover,
    .custom-horizontal-submenu-link:focus,
    .custom-horizontal-submenu-link:active {
        background-color: transparent !important;
    }

    .custom-horizontal-menu-item:hover .custom-horizontal-submenu,
    .custom-horizontal-menu-item:focus .custom-horizontal-submenu {
        display: none !important;
    }
    .custom-horizontal-menu-link.selected::after {
        content: none !important;
    }
}

/* End */


/* Start:/bitrix/templates/university_default/components/bitrix/news.detail/sotrudnik_detail/style.css?17470393612737*/
.employee-detail-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin: 0 auto 20px auto;
    padding: 0 0px;
    max-width: 1200px;
}

.employee-detail__photo {
    flex: 1;
    max-width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0;
    border-radius: 10px;
}

.employee-detail__photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.employee-detail__info {
    flex: 1;
    background-color: #fdfdfd;
    border-radius: 10px;
    padding: clamp(20px, 5vw, 40px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.employee-detail__name {
    padding-left: 20px;
    font-size: clamp(20px, 2.5vw, 25px);
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.employee-detail__column a {
    color: #007acc;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: break-word;
}

.employee-detail__link {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

.employee-detail__link:hover {
  
    text-decoration: none;
	color: #0078D7 !important;
}

.employee-detail__name:hover {
    color: #0078D7 !important;
}

.employee-detail__properties {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.employee-detail__column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.employee-detail__properties i,
.employee-detail__icon {
    margin-left: 30px;
    color: #666666;
    font-size: 22px;
}

.employee-detail__link:hover .employee-detail__icon {
    color: #0078D7;
}

.employee-detail__properties p {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    word-break: break-word;
    overflow-wrap: break-word;
}

.employee-detail__properties i {
    margin-right: 20px;
    color: #666666;
    font-size: 18px;
}
.employee-detail__photo-icon {
    font-size: 100px;
    color: #999;
    opacity: 0.5;
}

/* Медиа-запросы */
@media (min-width: 768px) {
    .employee-detail-wrapper {
        flex-direction: row;
    }

    .employee-detail__photo {
        flex: 1;
        max-width: 200px;
    }

    .employee-detail__properties {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .employee-detail__photo {
        flex: 1;
        max-width: 300px;
    }
}

@media (max-width: 767.98px) {
    .employee-detail__info {
        padding: 0px;
    }
.employee-detail__icon {
    margin-right: 50px;
}
}

/* End */


/* Start:/bitrix/templates/university_default/components/bitrix/news.detail/podrazdelenie/style.css?17440170841829*/
.contact-info-container {
    display: flex;
    flex-direction: column;
    background-color: #fdfdfd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    padding-left: 50px;
    max-width: 1200px;
}

@media (max-width: 768px) {
    .contact-info-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.contact-title {
    padding-left: 10px;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.contact-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;
}


.contact-info {
    flex: 1;
    font-size: 16px;
    z-index: 1;
    position: relative;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0px;
}

.contact-info p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: #333;
    gap: 6px;
    word-wrap: break-word;
}

.contact-info i {
    margin-top: 2px;
    margin-right: 8px;
    font-size: 18px;
    color: #666666;
    transition: color 0.3s ease;
    flex-shrink: 0;
}


.contact-info p:hover i {
    color: #333;
}

.contact-info .address-icon {
    margin-right: 12px;
}

.contact-info a {
    color: #007acc;
    text-decoration: none;
    font-size: 16px;
    word-break: break-word;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    max-width: 350px;
}

.contact-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    height: auto;
}

/* End */


/* Start:/bitrix/templates/university_default/components/bitrix/news.list/dostizhenija/style.css?17440191621940*/
.achievements {
    display: flex;
    flex-wrap: wrap; /* Разрешаем перенос элементов на новую строку */
    justify-content: space-around;
    text-align: center;
    margin-top: 50px;
    gap: 20px; /* Расстояние между элементами */
  	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	border-radius: 10px; /* Скругление углов */
	background-color: #fdfdfd;
}

.achievement {
    padding: 10px; /* Внутренние отступы */
    flex: 1 1 calc(33% - 40px); /* Гибкость и ширина элемента */
    margin-bottom: 10px; /* Отступ снизу */
}

.number_my {
    font-size: 50px; /* Увеличиваем размер цифр */
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.number_my::before {
    content: '';
    font-size: 50px; /* Увеличиваем размер иконки */
    font-weight: bold;
    position: absolute;
    left: -40px; /* Увеличиваем отступ слева */
    top: 50%;
    transform: translateY(-50%);
}

.description {
    font-size: 20px;
    color: #555;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 1024px) {
    .achievement {
        flex: 1 1 calc(50% - 40px); /* Два элемента в строке на средних экранах */
    }
}

@media (max-width: 768px) {
    .achievement {
        flex: 1 1 100%; /* Один элемент в строке на маленьких экранах */
    }

    .number_my {
        font-size: 36px; /* Уменьшаем размер цифр для маленьких экранов */
    }

    .number_my::before {
        font-size: 24px; /* Уменьшаем размер иконки для маленьких экранов */
        left: -30px; /* Уменьшаем отступ слева */
    }
}

/* End */


/* Start:/bitrix/templates/university_default/components/bitrix/catalog.section.list/my_list/style.css?17473934104466*/
/* Секция */
.custom-section {
    padding: 20px 0px;
}

.custom-section__title {
	font-size: calc(1.3125rem + 0.75vw);
    margin-bottom: 24px;
    font-weight: 500;
    color: #333;
}
@media (max-width: 1024px) {
   .custom-section__title {
        text-align: center !important;
    }

}
.custom-section__description {
    font-size: 16px;
    margin-bottom: 24px;
    color: #444;
}

.custom-grid {
    display: grid;
    grid-template-columns: 1fr; /* по умолчанию — 1 столбец */
    gap: 16px;
}

@media (min-width: 768px) {
    .custom-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 столбца начиная с 768px */
    }
}

/* Карточка */
.custom-card {
    background-color: #fdfdfd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, box-shadow 0.2s ease, transform 0.2s ease;
	 min-height: 200px; /* или подбери своё значение */
}

.custom-card:hover {
    background-color: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Контейнер внутри карточки */
.custom-card__content {
    display: flex;
    flex-direction: row;
    padding: 20px; /* меньше отступ */
    gap: 10px;
    align-items: center;
}


/* Обёртка изображения */
.custom-card__image-wrapper {
    width: 160px;
    height: 160px;
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
}

/* Изображение */
.custom-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.custom-card:hover .custom-card__image {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Информационная часть */
.custom-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.custom-card__title {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 4px;
    color: #666 !important;
    letter-spacing: 0.2px;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    white-space: normal;
    transition: color 0.2s ease;
}

.custom-card__title a {
    color: inherit;
    text-decoration: none !important;
    transition: color 0.2s ease;
    display: inline-block;
}

/* При наведении на карточку — меняем цвет заголовка */
.custom-card:hover .custom-card__title a {
color: #333 !important;
}


.custom-card__description {
    font-size: 14px;
    color: #555;
    margin: 2px 0;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    white-space: normal;
    line-height: 1.4;
    transition: opacity 0.2s ease;
}

.custom-card:hover .custom-card__description {
    opacity: 0.95;
}


/* Счётчик (если используется) */
.custom-card__count {
    font-size: 14px;
    color: #888;
    margin-left: 6px;
}
/* Описание */
.custom-card__description {
    font-size: 14px;
    color: #555;
    margin: 2px 0;
    overflow-wrap: anywhere;
    white-space: normal;
}
/* Списки внутри описания */
.custom-card__description ul {
    margin: 6px 0 !important;
    padding-left: 16px !important;
    list-style: disc !important;
    list-style-position: outside !important;
}
.custom-card__description li {
    margin: 2px 0 !important;
    line-height: 1.8 !important;
    color: #333 !important;
}
@media (max-width: 768px) {
		    .custom-card__title {
        text-align: center;
        width: 100%;
    }
	    .custom-card__image-wrapper {
        margin-bottom: 12px;
    }
    .custom-card__content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .custom-card__info {
        align-items: flex-start; /* меняем на выравнивание по левому краю */
        text-align: left; /* текст по левому краю */
        width: 100%;
    }

    .custom-card__description {
        text-align: left; /* описание по левому краю */
    }
}

.custom-card__description ul {
    margin: 6px 0 !important;
    padding-left: 10px !important;
    
}

.custom-card__description li {
    margin: 2px 0 !important;
    line-height: 1.8 !important;
    color: #333 !important;
}

/* End */


/* Start:/bitrix/templates/university_default/components/bitrix/news.list/vypuskniki/style.css?17488696927364*/
.graduate-top-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.6) 30%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.2) 70%,
        rgba(0, 0, 0, 0.05) 85%,
        rgba(0, 0, 0, 0) 100%);
    border-radius: 8px 8px 0 0;
    z-index: 2;
}


.graduate-bottom-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.7) 15%,
        rgba(0, 0, 0, 0.5) 30%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.1) 70%,
        rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.graduate-image-container:hover .graduate-bottom-info {
    opacity: 1;
}

.outstanding-graduates-container {
    margin-top: 20px; /* Добавьте отступ, чтобы не перекрывать меню */
    position: relative; /* Для позиционирования кнопки */
}

.outstanding-graduates {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Центрирование элементов по горизонтали */
}

.graduate-item {
    padding: 15px;
    border-radius: 8px;
    width: calc(33.333% - 40px); /* Три элемента в ряд с учетом отступов */
    text-align: center; /* Центрирование текста */
    box-sizing: border-box; /* Включаем padding и border в ширину */
    min-width: 250px; /* Минимальная ширина для элементов */
    transition: opacity 0.3s ease; /* Плавное появление элементов */
}

.graduate-item.hidden {
    display: none; /* Скрываем элементы по умолчанию */
}

.graduate-image-container {
    position: relative; /* Для позиционирования информации */
    width: 100%; /* Ширина контейнера */
    aspect-ratio: 3 / 4; /* Соотношение сторон 3:4 */
    overflow: hidden; /* Скрываем переполнение */
    margin: 0 auto 15px; /* Центрирование и отступ снизу */
    border-radius: 8px; /* Скругление углов контейнера */
}

.graduate-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняем контейнер, обрезая изображение */
    border-radius: 8px; /* Скругление углов изображения */
    transition: transform 0.3s ease; /* Плавное увеличение изображения */
}

.graduate-image-container:hover .graduate-image {
    transform: scale(1.1); /* Увеличиваем изображение при наведении */
}

.graduate-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.9) 100%); /* Градиентный фон с плавным переходом */
    color: white;
    border-radius: 0 0 8px 8px; /* Скругление углов */
}

.graduate-name {
    font-size: 1.4em !important;
    font-weight: 600;
    margin: 0;
    color: white !important;
    text-align: center;
}

.graduate-description {
    font-size: 0.9em;
    margin: 0;
    color: white;
    text-align: center;
}

/* Убираем скрытие названия при наведении */
/* .graduate-image-container:hover .graduate-name {
    opacity: 0;
} */

.graduate-image-container:hover .graduate-description {
    opacity: 1; /* Показываем описание при наведении */
}

.show-more-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    border: 1px solid #333; /* Тонкая граница кнопки */
    border-radius: 25px; /* Скругление углов */
    background-color: transparent; /* Прозрачный фон */
    color: #333; /* Цвет текста */
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.show-more-button:hover {
    background-color: #333; /* Фон кнопки при наведении */
    color: white; /* Цвет текста при наведении */
    border-color: #333; /* Граница кнопки при наведении */
}

.show-more-button i {
    margin-right: 8px; /* Отступ между иконкой и текстом */
}
.graduate-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: #f0f0f0;
    color: #888;
    font-size: 4em;
    border-radius: 8px;
}

/* Медиазапросы для адаптивности */

@media (max-width: 1200px) {
    .graduate-item {
        width: calc(50% - 40px); /* Два элемента в ряд с учетом отступов */
    }
}

@media (max-width: 768px) {
    .graduate-item {
        width: calc(100% - 40px); /* Один элемент в ряд с учетом отступов */
    }

    .graduate-image-container:hover .graduate-image {
        transform: none; /* Отключаем увеличение изображения при наведении */
    }

    .graduate-name,
    .graduate-description {
        opacity: 1; /* Отображаем название и описание сразу */
    }

    .graduate-description {
        margin-top: 10px; /* Добавляем отступ между названием и описанием */
    }

    .show-more-button:hover {
        background-color: transparent; /* Убираем фон кнопки при наведении */
        color: #333; /* Возвращаем цвет текста */
        border-color: #333; /* Возвращаем границу кнопки */
    }
}

@media (max-width: 480px) {
    .graduate-item {
        padding: 10px; /* Уменьшаем padding для маленьких экранов */
    }

    .graduate-name {
        font-size: 1.2em; /* Уменьшаем размер шрифта */
    }

    .graduate-description {
        font-size: 0.8em; /* Уменьшаем размер шрифта */
    }

    .show-more-button:hover {
        background-color: transparent; /* Убираем фон кнопки при наведении */
        color: #333; /* Возвращаем цвет текста */
        border-color: #333; /* Возвращаем границу кнопки */
    }
}
@media (hover: none) and (pointer: coarse), (max-width: 768px) {
    .graduate-bottom-info {
        opacity: 1 !important;
    }

    .graduate-image-container:hover .graduate-bottom-info {
        opacity: 1 !important; /* На всякий случай, чтобы не исчезало при касании */
    }
}
@media (max-width: 768px) {
    .graduate-description {
        font-size: 1em; /* Было 0.9em или 0.8em – стало чуть крупнее */
        line-height: 1.4; /* Добавим чуть больше межстрочного расстояния для читаемости */
    }
}

/* End */
/* /bitrix/templates/university_default/components/bitrix/menu/my_menu_horizontal1/style.css?17516206145431 */
/* /bitrix/templates/university_default/components/bitrix/news.detail/sotrudnik_detail/style.css?17470393612737 */
/* /bitrix/templates/university_default/components/bitrix/news.detail/podrazdelenie/style.css?17440170841829 */
/* /bitrix/templates/university_default/components/bitrix/news.list/dostizhenija/style.css?17440191621940 */
/* /bitrix/templates/university_default/components/bitrix/catalog.section.list/my_list/style.css?17473934104466 */
/* /bitrix/templates/university_default/components/bitrix/news.list/vypuskniki/style.css?17488696927364 */
