

/* 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.list/speakers/style.css?1784705471173*/
@media only screen and (max-width: 600px) {
    .page-action-list .news-list {
        grid-template-columns: repeat(1, 1fr) !important;
        margin: 10px 0 80px;
    }
}
/* 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.list/speakers/style.css?1784705471173 */
/* /local/templates/main/components/mydent24.local/content.block/page_leader/style.css?17847054002472 */
