

/* Start:/local/templates/main/components/bitrix/menu/sidebar/style.css?17839483832773*/
@media (max-width: 768px) {
  /* 1. Перестраиваем десктопную флекс-структуру страницы сверху вниз */
  .page-type-content,
  .page-type-content.page-action-list {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  /* 2. Изолируем левый блок под мобильное меню */
  .page-type-content .left-side {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 15px 0;
    padding: 0;
    position: relative; /* Оставляем для позиционирования тени-подсказки */
  }

  /* Скрываем десктопный заголовок */
  .nav-company h2 {
    display: none;
  }

  /* Тень-подсказка у правого края для индикации скролла */
  .page-type-content .left-side::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(244,245,247,0.9));
    pointer-events: none;
    z-index: 2;
  }

  /* 3. Горизонтальная лента меню со скроллом */
  ul.sidebar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 10px 25px 10px 15px;
    margin: 0;
    list-style: none;
    width: 100%;
    box-sizing: border-box;
  }
  
  ul.sidebar::-webkit-scrollbar {
    display: none;
  }

  /* 4. Защита элементов списка от деформации и сжатия */
  ul.sidebar li {
    display: block;
    flex: 0 0 auto !important; 
    margin: 0;
    padding: 0;
  }

  /* 5. Декоративные стили кнопок */
  ul.sidebar li a {
    display: inline-block;
    padding: 8px 16px !important;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
    transition: all 0.2s ease;
  }

  /* Активное состояние кнопки */
  ul.sidebar li a.selected {
    background-color: #D7F4E8;
    color: #001E42;
    border-color: #D7F4E8;
  }

  /* 6. Возвращаем флекс-структуру контентной части */
  .page-type-content .right-side {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-type-content .right-side > div {
    max-width: 100%;
  }
}
/* End */


/* Start:/local/templates/main/components/bitrix/breadcrumb/.default/style.css?1735027957580*/
/*.bx-breadcrumb {*/
/*	margin: 10px 0;*/
/*}*/
/*.bx-breadcrumb i {*/
/*	color: #b5bdc2;*/
/*	line-height: 13px;*/
/*	font-size: 12px;*/
/*	vertical-align: middle;*/
/*	margin-right: 5px;*/
/*}*/
/*.bx-breadcrumb .bx-breadcrumb-item {*/
/*	float: left;*/
/*	white-space: nowrap;*/
/*	line-height: 13px;*/
/*	vertical-align: middle;*/
/*	margin-right: 10px;*/
/*}*/
/*.bx-breadcrumb .bx-breadcrumb-item span {*/
/*	font-size: 13px;*/
/*	white-space: normal;*/
/*}*/
/*.bx-breadcrumb .bx-breadcrumb-item a {border-bottom: none;}*/
/*.bx-breadcrumb .bx-breadcrumb-item a:hover {}*/

/* End */


/* Start:/local/templates/main/components/bitrix/news/speakers/bitrix/news.detail/.default/style.css?17835944522522*/
div.news-detail
{
	word-wrap: break-word;
}
div.news-detail img.detail_picture
{
	float:left;
	margin:0 8px 6px 1px;
}
.news-date-time
{
	color:#486DAA;
}

.button-in-action {
text-align: center;
display: block;
max-width: 250px;
background-color: #db4c3e; 
padding: 15px 30px; 
font-size: 18px;
text-decoration: none; 
border-radius: 10px; 
line-height: 1.4;
transition: 0.3s;
margin:auto;
}

.button-in-action span {
color: #ffffff !important;
}

.button-in-action:hover {
box-shadow: 0px 0px 8px #db4c3e;
transition: 0.3s;
}



/* Главный контейнер (Фото + Инфо) */
.course-main-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

/* Слева фото */
.course-main-left {
    flex: 1 1 1%; /* Базовый размер 400px, может увеличиваться и сжиматься */
    max-width: 100%;
}
.course-main-left .main-img {
    border-radius: 4px;
}

/* Справа характеристики */
.course-main-right {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
}

/* Список метаданных */
.course-info-meta {
    background: #f8fafc;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #edf2f7;
}
.course-info-meta .meta-item {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.4;
}
.course-info-meta .meta-item:last-child {
    margin-bottom: 0;
}
.course-info-meta .meta-item strong {
    color: #4a5568;
    display: inline-block;
    margin-right: 5px;
}

/* Текстовые блоки контента */
.text-info-courses {
    margin-top: 30px;
}
.course-text-block {
    margin-bottom: 25px;
}
.course-html-content {
    font-size: 15px;
    line-height: 1.6;
    color: #2d3748;
}

/* Блок карты */
.course-map-block {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}
.map-address-text {
    font-size: 15px;
    margin-top: 8px;
}

/* Сброс на мобильных */
@media (max-width: 768px) {
    .course-main-flex {
        flex-direction: column; /* На мобилках фото встанет сверху, инфо снизу */
        gap: 20px;
    }
    .course-main-left, .course-main-right {
        flex: 1 1 100%;
    }
    .course-main-left .main-img {
        width: 100% !important; /* На мобилках картинка займет всю ширину */
        height: 300px !important; /* Уменьшаем высоту для мобильных экранов */
    }
}
/* End */
/* /local/templates/main/components/bitrix/menu/sidebar/style.css?17839483832773 */
/* /local/templates/main/components/bitrix/breadcrumb/.default/style.css?1735027957580 */
/* /local/templates/main/components/bitrix/news/speakers/bitrix/news.detail/.default/style.css?17835944522522 */
