

/* Start:/studentu/style.css?179265610821787*/
/* ===================================================================
   СПИСОК ПРЕПОДАВАТЕЛЕЙ И ФОРМ — СТИЛИ СТРАНИЦЫ
   Все селекторы завязаны на классы с префиксом svc-,
   чтобы не пересекаться со стилями шаблона сайта.
   В HTML используйте: .svc-container > .svc-sidebar + .svc-content
   =================================================================== */


/* ===================================================================
   1. ТИПОГРАФИКА ВНУТРИ КОНТЕНТА
   Правила привязаны к .svc-content, а не к тегам напрямую:
   иначе они заденут все заголовки и абзацы на страницах Битрикса.
   =================================================================== */

/* Заголовки внутри контентной колонки */
.svc-content h2 {
    color: #2c3e50;      /* тёмный сине-серый */
    margin-bottom: 15px;
}

/* Абзацы внутри контентной колонки */
.svc-content p {
    margin-bottom: 12px;
    font-size: 14px;
}


/* ===================================================================
   2. МАКЕТ СТРАНИЦЫ
   =================================================================== */

/* Основной контейнер: две колонки рядом, ограничение ширины, перенос на мобильных */
.svc-container {
    display: flex;
    max-width: 1200px;
    margin: 15px auto;
    gap: 15px;
    flex-wrap: wrap;
    padding: 0 10px;
}

/* Левая колонка (сайдбар с вкладками): фиксированная ширина, карточка с тенью */
.svc-sidebar {
    width: 250px;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;      /* не сжимается при нехватке места */
}

/* Правая колонка с контентом: занимает всё оставшееся место */
.svc-content {
    flex: 1;
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Секция преподавателей на всю ширину, по центру страницы */
.teachers-section {
    max-width: 1200px;
    width: calc(100% - 20px);
    margin: 20px auto;
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Заголовок секции преподавателей */
.teachers-title {
    font-size: clamp(20px, 4vw, 28px); /* масштабируется от 20 до 28px */
    font-weight: 700;
    text-align: center;
    margin: 1rem 0;
    width: fit-content;
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
    background-color: #1e90ff;
    color: white;
    border-radius: 1rem;
    padding: 1.2rem 1.8rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}


/* ===================================================================
   3. НАВИГАЦИЯ И ВКЛАДКИ
   =================================================================== */

/* Отдельная вкладка в сайдбаре */
.tabs .tab {
    padding: 12px 15px;
    cursor: pointer;
    border-left: 3px solid transparent; /* место под индикатор активности */
    transition: all 0.3s ease;
    font-size: 15px;
    border-radius: 4px;
}

/* Наведение на вкладку */
.tabs .tab:hover {
    background: #e9f0ff;
}

/* Активная вкладка: синяя заливка и белая надпись */
.tabs .tab.active {
    background: #007bff;
    color: white;
    border-left: 3px solid #0056b3;
}


/* ===================================================================
   4. КНОПКИ И ССЫЛКИ
   =================================================================== */

/* Ссылка-кнопка обратного звонка: контурная, при наведении заливается */
.callback-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border: 2px solid #007bff;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
}
.callback-link:hover {
    background-color: #007bff;
    color: white;
}

/* Кнопка обратного звонка: зелёная, по центру текста */
.callback-button {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Классическая кнопка отправки: синяя */
.callback-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease;
}

/* Кнопка с иконкой (оранжевая) */
.callback-btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff6b00;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
}

/* Иконка телефона рядом с текстом */
.icon-phone {
    font-size: 18px;
}

/* Главная кнопка «Открыть форму»: синяя, с подъёмом при наведении */
.open-form-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}
.btn-icon {
    font-size: 18px;
}
.open-form-btn:hover {
    background: #0056b3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}
.open-form-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Обёртка кнопки, прибитой к правому нижнему углу */
.btn-wrapper {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}


/* ===================================================================
   5. КАРТОЧКИ ПРЕПОДАВАТЕЛЕЙ
   =================================================================== */

/* Карточка: фото слева, текст справа */
.teacher-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Фото: портретная пропорция 200x260, обрезка по рамке */
.teacher-photo img {
    width: 200px;
    height: 260px;
    object-fit: cover;
    border-radius: 6px;
}

/* Текстовая часть карточки: вертикальный столбец */
.teacher-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.teacher-name {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.4rem;
}
.teacher-position {
    margin: 0 0 1rem 0;
    color: #666;
    font-style: italic;
}
.teacher-description {
    line-height: 1.6;
    color: #444;
}


/* ===================================================================
   6. ГАЛЕРЕЯ ИЗОБРАЖЕНИЙ
   =================================================================== */

/* Сетка: колонки сами подстраиваются, минимум 250px */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

/* Карточка галереи с мягким увеличением при наведении */
.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Внутренний контейнер для позиционирования подписи */
.gallery-item-inner {
    position: relative;
    width: 100%;
}
.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

/* Подпись всплывает снизу при наведении */
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 15px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.image-caption {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}


/* ===================================================================
   7. МОДАЛЬНЫЕ ОКНА
   =================================================================== */

/* Полноэкранная подложка, изначально скрыта */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Само окно: прокручивается, если содержимое высокое */
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: auto;
}

/* Встроенная форма внутри окна */
.form-iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 4px;
}

/* Крестик закрытия в правом верхнем углу */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    font-weight: bold;
}
.close-btn:hover {
    color: #333;
}


/* ===================================================================
   8. ИЗОБРАЖЕНИЯ И БЛОК ЭЛЕМЕНТА
   =================================================================== */

/* Широкое изображение в шапке страницы */
.header-image-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 15px;
}
.header-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Блок элемента: весь текст по левому краю */
.element-block {
    padding: 1rem;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

/* Детальное изображение: по центру блока, с лёгким увеличением при наведении */
.image-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.detail-picture {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}
.detail-picture:hover {
    transform: scale(1.02);
}

/* Заглушка, если изображения нет */
.no-image-message {
    padding: 2rem;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    color: #6c757d;
}


/* ===================================================================
   9. СПИСКИ ФАЙЛОВ
   =================================================================== */

/* Список без маркеров и стандартного отступа */
.files-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 15px 0;
}
.files-list li {
    margin-bottom: 8px;
}
.files-list a {
    color: inherit;
    text-decoration: underline;
}


/* ===================================================================
   10. ПЕРЕКЛЮЧАЕМЫЕ БЛОКИ КОНТЕНТА (ВКЛАДКИ)
   =================================================================== */

/* Неактивные блоки скрыты, активный показан */
.content-section {
    display: none;
}
.content-section.active {
    display: block;
}

/* Логотип в сайдбаре */
.logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
}

/* Родительские контейнеры не вылезают за границы */
.element-block,
.content-section,
.tabs .content-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


/* ===================================================================
   11. АДАПТИВНОСТЬ
   =================================================================== */

/* Планшеты и небольшие экраны */
@media (max-width: 768px) {
    .svc-container {
        flex-direction: column;  /* колонки в столбик */
        margin: 10px auto;
        gap: 10px;
    }
    .svc-sidebar {
        width: 100%;
        padding: 12px;
    }
    .header-image-wrapper {
        margin-bottom: 10px;
    }
    .tabs .tab {
        font-size: 14px;
        padding: 10px 12px;
    }
    .svc-content {
        padding: 20px;
    }
    .teachers-section {
        padding: 20px;
        width: calc(100% - 10px);
    }
    .svc-content p {
        font-size: 13px;
    }

    .detail-picture {
        max-width: 95%;
        margin: 10px auto;
    }
    .tabs .detail-picture {
        max-width: 90%;
    }
    .detail-picture,
    .content-section .detail-picture,
    .element-block .detail-picture {
        max-width: 90% !important;
        width: 100% !important;
        margin: 10px auto !important;
    }

    /* Карточка преподавателя: фото сверху, текст снизу, всё по центру */
    .teacher-card {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        gap: 1rem;
    }
    .teacher-photo img {
        width: 100%;
        max-width: 200px;
        height: auto;
        border-radius: 6px;
    }
    .teacher-info {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .teacher-name {
        font-size: 1.2rem;
    }
    .teacher-position {
        font-size: 0.9rem;
    }

    .element-block {
        padding: 0.5rem;
    }
    .detail-picture {
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    .no-image-message {
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }
    .open-form-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    .btn-icon {
        font-size: 16px;
    }
}

/* Смартфоны */
@media (max-width: 480px) {
    .svc-container {
        margin: 8px auto;
        padding: 0 5px;
    }
    .svc-sidebar, .svc-content, .teachers-section {
        padding: 15px;
    }
    .gallery-grid {
        gap: 8px;
    }

    .detail-picture {
        max-width: 85%;
        margin: 8px auto;
    }
    .tabs .detail-picture {
        max-width: 80%;
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }
    .detail-picture,
    .content-section .detail-picture,
    .element-block .detail-picture {
        max-width: 85% !important;
        margin: 8px auto !important;
    }

    .teacher-card {
        padding: 0.8rem;
        margin-bottom: 15px;
    }
    .teacher-photo img {
        max-width: 160px;
        border-radius: 4px;
    }
    .teacher-name {
        font-size: 1.1rem;
    }
    .teacher-position {
        font-size: 0.85rem;
    }
    .teacher-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .no-image-message p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    .svc-content p {
        font-size: 12px;
        line-height: 1.4;
    }
    .open-form-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    .btn-icon {
        font-size: 15px;
    }
    .btn-wrapper {
        bottom: 15px;
        right: 15px;
    }
}

/* Компактные смартфоны */
@media (max-width: 360px) {
    .svc-container, .teachers-section {
        padding: 8px;
    }
    .tabs .tab {
        font-size: 12px;
        padding: 8px 9px;
    }

    .detail-picture {
        max-width: 80%;
        margin: 6px auto;
        border-radius: 4px;
    }
    .tabs .detail-picture {
        max-width: 75%;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    }
    .tabs .detail-picture:hover {
        transform: none; /* без анимации на слабых устройствах */
    }
    .detail-picture,
    .content-section .detail-picture,
    .element-block .detail-picture {
        max-width: 80% !important;
        margin: 6px auto !important;
    }

    .teacher-card {
        padding: 0.6rem;
    }
    .teacher-photo img {
        max-width: 140px;
    }
    .teacher-name {
        font-size: 1rem;
    }
    .teacher-position,
    .teacher-description {
        font-size: 0.85rem;
    }
    .open-form-btn {
        padding: 6px 14px;
        font-size: 12px;
    }
    .btn-icon {
        font-size: 14px;
    }
    .btn-wrapper {
        bottom: 10px;
        right: 10px;
    }
}

/* Retina-дисплеи: чётче изображения */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .detail-picture,
    .teacher-photo img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Тач-устройства: вместо наведения — нажатие, оверлей не всплывает */
@media (hover: none) and (pointer: coarse) {
    .gallery-item:active {
        transform: scale(0.98);
    }
    .gallery-item:hover .image-overlay {
        opacity: 0;
    }
    .tabs .detail-picture:active {
        transform: scale(0.98);
    }
}


/* ===================================================================
   12. СПОЙЛЕРЫ (АККОРДЕОНЫ)
   Отдельный раздел — работает только по классам accordion-*,
   к остальному сайту не привязывается.
   =================================================================== */

/* Сам блок спойлера: светло-голубая карточка, всё содержимое слева */
details.accordion-section {
    background-color: #e6f3fb;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    text-align: left;
}

/* Шапка спойлера: кликабельна, системные маркеры скрыты */
details.accordion-section summary {
    list-style: none !important;
    cursor: pointer;
    text-align: left;
}
details.accordion-section summary::marker,
details.accordion-section summary::-webkit-details-marker,
details.accordion-section summary::before,
details.accordion-section summary::after {
    content: "" !important;
    display: none !important;
}

/* Стрелка-индикатор после заголовка: поворачивается, когда спойлер открыт */
details.accordion-section summary h1::after,
details.accordion-section summary h2::after {
    content: " ▾";
    font-size: 0.7em;
    vertical-align: middle;
    transition: transform .2s;
    display: inline-block;
}
details.accordion-section[open] summary h1::after,
details.accordion-section[open] summary h2::after {
    transform: rotate(180deg);
}

/* Вложенные спойлеры: заголовки слева (перестраховка от центровки шаблона) */
details.accordion-section details.accordion-section summary,
details.accordion-section details.accordion-section summary h1 {
    text-align: left;
}


/* ===================================================================
   13. РАЗДЕЛ «ВОСПИТАТЕЛЬНАЯ РАБОТА»: ЕДИНООБРАЗИЕ ВЛОЖЕННЫХ БЛОКОВ
   =================================================================== */

.accordion-main {
    padding: 0;
    margin: 0;
}

/* Отступ между вложенными спойлерами */
.accordion-main .accordion-section {
    margin-bottom: 15px;
}

/* Заголовки вложенных спойлеров — как у всех */
.accordion-main summary {
    padding: 10px 20px;
}
.accordion-main summary h2.typical {
    margin: 0;
    padding-left: 20px;
}

/* Ссылка «Навигаторы детства»: выглядит как заголовок спойлера,
   но ведёт на отдельную страницу */
.accordion-main .navigators-block-link {
    display: block;
    padding: 10px 20px;
    margin: 0 0 15px;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    outline: none;
}

.accordion-main .navigators-block-link h2.typical {
    margin: 0;
    padding-left: 20px;
    text-decoration: none;
}

/* Та же стрелка ▾, что у остальных спойлеров */
.accordion-main .navigators-block-link h2.typical::after {
    content: " ▾";
    font-size: 0.7em;
    vertical-align: middle;
    display: inline-block;
}

/* End */


/* Start:/bitrix/templates/promolink/components/bitrix/news.list/kruzhki_cards/style.css?1703083810150*/
div.news-list
{
	word-wrap: break-word;
}
div.news-list img.preview_picture
{
	float:left;
	margin:0 4px 6px 0;
}
.news-date-time {
	color:#486DAA;
}

/* End */
/* /studentu/style.css?179265610821787 */
/* /bitrix/templates/promolink/components/bitrix/news.list/kruzhki_cards/style.css?1703083810150 */
