

/* 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?17847054512522*/
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 */


/* Start:/local/templates/main/components/mydent24.local/content.block/page_leader/style.css?17847054002472*/
.leader-md {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}


.leader-md h2 {
    color: #001E42;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}


.leader-md .leader-section-title {
    color: #001E42;
    font-size: 20px;
    font-weight: 600;
    margin: 40px 0 20px 0;
    position: relative;
    padding-left: 15px;
}

.leader-md .leader-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background-color: #D7F4E8; /* Ваш корпоративный цвет */
    border-radius: 2px;
}


.leader-md .leader-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}


.leader-md .card {
    background: #ffffff; /* Строго белый фон, как вы и просили */
    border: 1px solid #D7F4E8;
    border-radius: 10px;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.leader-md .card:hover {
    transform: translateY(-4px); /* Карточка плавно приподнимается */
    box-shadow: 0 10px 20px rgba(0, 30, 66, 0.05); /* Легкая глубокая тень */
    border-color: #96B3B6;
}

.leader-md .card h4 {
    color: #001E42;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.leader-md .card p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.leader-md .leader-hr {
    border: 0;
    height: 1px;
    background: #D7F4E8;
    margin: 50px 0 30px 0;
}

/* Финальный текстовый блок */
.leader-md .leader-footer-text {
    background: #D7F4E8;
    border-left: 4px solid #001E42;
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

.leader-md .leader-footer-text p {
    color: #001E42;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Адаптивность для мобильных экранов */
@media (max-width: 600px) {
    .leader-md h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }
    .leader-md .card {
        padding: 20px;
    }
}

  /* Скрываем h1 исключительно внутри этой конкретной обертки, не ломая другие страницы сайта */
  .hide-leader-h1 h1 {
      display: none !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?17847054512522 */
/* /local/templates/main/components/mydent24.local/content.block/page_leader/style.css?17847054002472 */
