

/* Start:/sveden/objects/style.css?17883410719640*/
/* ==========================================================================
   1. ПЕРЕМЕННЫЕ И БАЗОВЫЕ НАСТРОЙКИ
   ========================================================================== */
:root {
  --primary-color: #0f172a;
  --accent-color: #2563eb;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #334155;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

.accessible-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 20px;
  font-family: var(--font-sans);
  color: var(--text-main);
  line-height: 1.6;
}

/* ==========================================================================
   2. КОНТЕЙНЕР ВКЛАДОК (TABS)
   ========================================================================== */
.tabs-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 32px 0;
  font-family: var(--font-sans);
}

.tab-item {
  display: inline-flex;
}

.tab-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.tab-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease, stroke 0.25s ease;
}

/* Состояния вкладок */
.tab-link:not(.is-active):hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.tab-link:not(.is-active):hover .tab-icon {
  transform: scale(1.1);
}

.tab-link.is-active {
  background-color: var(--accent-color);
  color: #ffffff !important;
  border-color: var(--accent-color);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  cursor: default;
}

.tab-link.is-active .tab-icon {
  stroke: #ffffff;
}

/* Цветовые схемы неактивных вкладок */
.tab-kabinet {
  background-color: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}
.tab-kabinet:hover {
  background-color: #dcfce7;
  border-color: #86efac;
  color: #14532d;
}

.tab-libr {
  background-color: #f0f5ff;
  color: #2b4c7e;
  border-color: #d6e4ff;
}
.tab-libr:hover {
  background-color: #e6f0ff;
  border-color: #adc6ff;
  color: #1d396b;
}

.tab-sport {
  background-color: #f9f0ff;
  color: #5b2a78;
  border-color: #efdbff;
}
.tab-sport:hover {
  background-color: #f3e0ff;
  border-color: #d3ade6;
  color: #431a5b;
}

.tab-other {
  background-color: #e6f7ff;
  color: #00474f;
  border-color: #bae7ff;
}
.tab-other:hover {
  background-color: #d4f0ff;
  border-color: #91d5ff;
  color: #002c38;
}

/* ==========================================================================
   3. ШАПКА И СЕКЦИИ СТРАНИЦЫ
   ========================================================================== */
.accessible-page .page-header {
  margin-bottom: 40px;
}

.accessible-page .page-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

.accessible-page .intro-box {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-left: 5px solid var(--accent-color);
  padding: 24px;
  border-radius: var(--radius-md);
  font-size: 17px;
  color: #1e3a8a;
  box-shadow: var(--shadow-sm);
}

.accessible-page .intro-box p {
  margin: 0;
}

.info-section {
  margin-bottom: 30px;
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text-main);
}

.info-section h6 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--accent-color);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 5px;
}

.accessible-page .section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.accessible-page .section-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 24px;
  background-color: var(--accent-color);
  border-radius: 4px;
}

/* ==========================================================================
   4. КАРТОЧКИ (ИЗОБРАЖЕНИЯ И ТЕКСТОВЫЕ БЛОКИ)
   ========================================================================== */
/* Сетка фото-карточек */
.accessible-page .grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.accessible-page .card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accessible-page .card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.accessible-page .card-image-wrap {
  width: 100%;
  height: 280px;
  background-color: #f1f5f9;
  overflow: hidden;
  position: relative;
}

.accessible-page .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.accessible-page .card:hover .card-img {
  transform: scale(1.05);
}

.accessible-page .card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Сетка простых текстовых карточек (без изображений) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.card-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Общие стили для заголовков и текста в карточках */
.card-title {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.accessible-page .card-title {
  font-size: 20px;
  margin: 0 0 12px 0;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Горизонтальная карточка (Медкабинет) */
.accessible-page .medical-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.accessible-page .medical-card .card-image-wrap {
  height: 360px;
}

/* ==========================================================================
   5. АДАПТИВНЫЕ ТАБЛИЦЫ
   ========================================================================== */
.responsive-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.responsive-table th, 
.responsive-table td {
  padding: 12px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.responsive-table th {
  background-color: var(--bg-light);
  font-weight: 700;
  color: var(--primary-color);
}

/* ==========================================================================
   6. АДАПТИВНОСТЬ (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 768px) {
  .tabs-container {
    flex-direction: column;
    gap: 8px;
  }

  .tab-item,
  .tab-item > span,
  .tab-link {
    width: 100%;
    justify-content: flex-start;
  }

  .accessible-page {
    padding: 15px 10px;
  }

  .accessible-page .page-title {
    font-size: 24px;
  }

  .accessible-page .grid-cards,
  .accessible-page .medical-card {
    grid-template-columns: 1fr;
  }

  .accessible-page .card-image-wrap {
    height: 220px;
  }

  .accessible-page .medical-card .card-image-wrap {
    height: 240px;
  }
}

@media (max-width: 600px) {
  .responsive-table, 
  .responsive-table tbody, 
  .responsive-table tr, 
  .responsive-table td {
    display: block;
    width: 100%;
  }

  .responsive-table thead {
    display: none;
  }

  .responsive-table tr {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    background: var(--card-bg);
  }

  .responsive-table td {
    border: none;
    padding: 6px 0;
    display: flex;
    flex-direction: column;
  }

  .responsive-table td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2px;
  }
}

/* ==========================================================================
   7. РЕЖИМ ДЛЯ СЛАБОВИДЯЩИХ (Bitrix BVI)
   ========================================================================== */
body.bvi-active .accessible-page .card,
body.bvi-active .accessible-page .intro-box,
body.bvi-active .card-item,
body.bvi-active .responsive-table th,
body.bvi-active .responsive-table td {
  background: transparent !important;
  border-color: #000000 !important;
  color: inherit !important;
  box-shadow: none !important;
}

body.bvi-active .accessible-page .section-title,
body.bvi-active .info-section h6,
body.bvi-active .card-title {
  color: inherit !important;
}

body.bvi-active .accessible-page .section-title::before {
  background-color: #000000 !important;
}

body.bvi-active .accessible-page .card-img {
  filter: grayscale(100%);
  transform: none !important;
}
/* End */


/* Start:/bitrix/templates/bs_education_s1/components/bitrix/news.list/.default/style.css?17824137168600*/
/* =========================================================================
   1. ОБЩИЕ СТИЛИ И КОНТЕЙНЕР
   ========================================================================= */
.mto-container {
   color: #333333;
    line-height: 1.5;
    margin: 20px 0;
}

/* =========================================================================
   2. НАВИГАЦИЯ ПО ВКЛАДКАМ (ТАБЫ)
   ========================================================================= */
.mto-tabs-nav {
    display: inline-flex; /* Переключатель выглядит как единый цельный блок */
    gap: 4px;
    margin-bottom: 24px;
    background-color: #f1f5f9; /* Светло-серый подложечный фон */
    padding: 6px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow-x: auto;
    scrollbar-width: none; /* Скрываем скроллбар в Firefox */
}
.mto-tabs-nav::-webkit-scrollbar {
    display: none; /* Скрываем скроллбар в Chrome/Safari */
}

.mto-tab-btn {
    background: none;
    border: none;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b; /* Спокойный цвет для неактивных вкладок */
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* Эффект при наведении на неактивную вкладку */
.mto-tab-btn:hover {
    color: #0f172a;
    background-color: #e2e8f0;
}

/* Яркий стиль для активной вкладки */
.mto-tab-btn.active {
    color: #ffffff !important;         /* Белый текст */
    background-color: #2563eb !important;  /* Насыщенный синий фон */
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25); /* Мягкое свечение кнопки */
}

.mto-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}
.mto-tab-panel.active {
    display: block;
}

/* =========================================================================
   3. СОВРЕМЕННАЯ ТАБЛИЦА
   ========================================================================= */
.mto-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}
.mto-table th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    padding: 14px 16px;
    border-bottom: 2px solid #e2e8f0;
}
.mto-table td {
    padding: 16px;
    font-size: 14px;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}
.mto-table tbody tr:last-child td {
    border-bottom: none;
}
.mto-table tbody tr:hover {
    background-color: #f1f5f9; /* Подсветка строки при наведении */
}

/* Ограничение ширины колонок для баланса */
.mto-table th:nth-child(1), .mto-table td:nth-child(1) { width: 25%; }
.mto-table th:nth-child(2), .mto-table td:nth-child(2) { width: 35%; }
.mto-table th:nth-child(3), .mto-table td:nth-child(3) { width: 20%; text-align: center; }
.mto-table th:nth-child(4), .mto-table td:nth-child(4) { width: 20%; text-align: center; }

/* =========================================================================
   4. КНОПКИ ВЫЗОВА МОДАЛЬНЫХ ОКН
   ========================================================================= */
.mto-btn-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f0fdf4; /* Нежно-зеленый фон */
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 180px;
}
.mto-btn-trigger:hover {
    background-color: #166534;
    color: #ffffff;
    border-color: #166534;
    box-shadow: 0 2px 4px rgba(22, 101, 52, 0.15);
}

/* Изменение цвета кнопки для ОВЗ */
td[itemprop^="ovz"] .mto-btn-trigger {
    background-color: #eff6ff; /* Нежно-синий */
    color: #1e40af;
    border-color: #bfdbfe;
}
td[itemprop^="ovz"] .mto-btn-trigger:hover {
    background-color: #1e40af;
    color: #ffffff;
    border-color: #1e40af;
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.15);
}

/* =========================================================================
   5. МОДАЛЬНЫЕ ОКНА
   ========================================================================= */
.mto-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.6); /* Полупрозрачный темный фон */
    backdrop-filter: blur(4px); /* Эффект размытия заднего плана */
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.mto-modal-overlay.is-active {
    display: flex;
    opacity: 1;
}
.mto-modal-window {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    max-width: 650px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    text-align: left;
    transform: translateY(20px);
    transition: transform 0.25s ease;
}
.mto-modal-overlay.is-active .mto-modal-window {
    transform: translateY(0);
}
.mto-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.mto-modal-close:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}
.mto-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 14px;
    padding-right: 40px; /* Защита от накладывания текста на крестик */
}
.mto-modal-content {
    font-size: 15px;
    line-height: 1.6;
    color: #334155;
}
.mto-modal-content ul, .mto-modal-content ol {
    margin: 10px 0;
    padding-left: 20px;
}
.mto-modal-content li {
    margin-bottom: 6px;
}

/* =========================================================================
   6. ВСПОМОГАТЕЛЬНЫЕ СТИЛИ И АДАПТИВНОСТЬ
   ========================================================================= */
.mto-empty-msg {
    padding: 30px;
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    /* Перестраиваем таблицу в мобильные карточки */
    .mto-table, .mto-table thead, .mto-table tbody, .mto-table th, .mto-table td, .mto-table tr { 
        display: block; 
    }
    .mto-table thead { 
        display: none; 
    }
    .mto-table tr {
        margin-bottom: 16px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background: #fff;
        padding: 8px 0;
    }
    .mto-table td {
        border-bottom: 1px dashed #f1f5f9;
        position: relative;
        padding: 12px 16px;
        width: auto !important;
        text-align: left !important;
    }
    .mto-table td:last-child {
        border-bottom: none;
    }
    /* Добавляем текстовые метки перед контентом на мобильных */
    .mto-table td::before {
        content: attr(itemprop);
        display: block;
        font-weight: 600;
        font-size: 12px;
        color: #94a3b8;
        text-transform: uppercase;
        margin-bottom: 4px;
    }
    .mto-table td[itemprop^="address"]::before { content: "Адрес:"; }
    .mto-table td[itemprop^="name"]::before { content: "Наименование:"; }
    .mto-table td[itemprop^="osn"]::before { content: "Оснащенность:"; }
    .mto-table td[itemprop^="ovz"]::before { content: "Доступность для ОВЗ:"; }
    
    .mto-btn-trigger {
        max-width: 100%;
    }
}
/* End */
/* /sveden/objects/style.css?17883410719640 */
/* /bitrix/templates/bs_education_s1/components/bitrix/news.list/.default/style.css?17824137168600 */
