

/* Start:/bitrix/templates/bs_education_s1/components/bitrix/news/institut/bitrix/news.detail/.default/style.css?17785046956417*/
/* 
    FILE: style.css 
    Description: Основные стили страницы института 
*/

/* 1. Общие настройки и контейнеры */
.inst-wrapper {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    padding-bottom: 60px;
}

.inst-container-fluid {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* 2. HERO Блок (Заголовок на фоне) */
.inst-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    background-color: #0f172a;
    margin-bottom: 40px;
}
.inst-hero-overlay {
    width: 100%; height: 100%;
    display: flex; align-items: center;
    background: rgba(15, 23, 42, 0.4);
}
.inst-main-title {
    color: #fff; 
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 800; 
    letter-spacing: -0.03em; 
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* 3. Карточки (Общий стиль) */
.inst-card {
    background: #fff; 
    border-radius: 24px;
    border: 1px solid #e2e8f0; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
    overflow: hidden; 
    margin-bottom: 30px;
}

/* 4. Блок директора (Верхняя панель) */
.inst-director-wide { 
    padding: 30px 40px; 
}
.inst-dir-content { 
    display: flex; 
    align-items: center; 
    gap: 40px; 
    flex-wrap: wrap; 
}

/* Ссылка-обертка для директора */
.inst-dir-main-link {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    min-width: 300px;
    text-decoration: none !important;
    color: inherit !important;
    transition: 0.3s ease;
}

.inst-dir-main-link:hover .inst-dir-name {
    color: #6366f1;
}

/* Прямоугольное фото */
.inst-dir-avatar { 
    width: 120px; 
    height: 150px; 
    border-radius: 12px; 
    object-fit: cover; 
    border: 1px solid #e2e8f0;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.inst-dir-main-link:hover .inst-dir-avatar {
    transform: scale(1.02);
    border-color: #6366f1;
}

.inst-dir-info { position: relative; }
.inst-dir-label { 
    font-size: 11px; 
    text-transform: uppercase; 
    color: #6366f1; 
    font-weight: 700; 
    letter-spacing: 0.1em; 
    margin-bottom: 5px; 
}
.inst-dir-name { 
    font-size: 22px; 
    font-weight: 800; 
    color: #0f172a; 
    margin-bottom: 5px; 
    transition: 0.2s; 
}
.inst-dir-meta { 
    font-size: 14px; 
    color: #64748b; 
    line-height: 1.4; 
    margin-bottom: 8px;
}

/* Подсказка "Подробнее" */
.inst-dir-more {
    font-size: 12px;
    font-weight: 600;
    color: #6366f1;
    opacity: 0;
    transform: translateX(-10px);
    transition: 0.3s ease;
    display: block;
}
.inst-dir-main-link:hover .inst-dir-more {
    opacity: 1;
    transform: translateX(0);
}

/* Правая часть: контакты и документ */
.inst-header-right { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    align-items: flex-end; 
}
.inst-dir-contacts { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
    align-items: flex-end; 
}
.inst-contact-link { 
    font-size: 14px; 
    text-decoration: none; 
    color: #475569; 
    font-weight: 500; 
    display: flex; 
    gap: 8px; 
}
.inst-contact-link:hover { color: #6366f1; }

.inst-header-doc {
    background: #f1f5f9; 
    color: #0f172a; 
    padding: 10px 20px; 
    border-radius: 10px;
    font-size: 13px; 
    font-weight: 600; 
    text-decoration: none; 
    transition: 0.2s; 
    border: 1px solid #e2e8f0;
}
.inst-header-doc:hover { 
    background: #e2e8f0; 
    transform: translateY(-1px); 
}

/* 5. Табы (Вкладки) */
.inst-tabs-nav-wrapper { 
    margin-bottom: 20px; 
    border-bottom: 1px solid #e2e8f0; 
}
.inst-tabs-nav { 
    display: flex; 
    gap: 30px; 
    overflow-x: auto; 
    scrollbar-width: none; 
}
.inst-tabs-nav::-webkit-scrollbar { display: none; }

.inst-tab-trigger {
    padding: 15px 5px; 
    background: transparent; 
    border: none;
    cursor: pointer; 
    font-weight: 600; 
    color: #64748b;
    font-family: inherit; 
    font-size: 16px; 
    position: relative; 
    transition: 0.2s;
    white-space: nowrap;
}
.inst-tab-trigger.js-active { color: #6366f1; }
.inst-tab-trigger.js-active::after {
    content: ''; 
    position: absolute; 
    bottom: -1px; left: 0; right: 0;
    height: 3px; 
    background: #6366f1; 
    border-radius: 10px 10px 0 0;
}

.inst-tab-pane { display: none !important; }
.inst-tab-pane.js-active { 
    display: block !important; 
    animation: instFadeIn 0.4s ease; 
}
.inst-tab-card { padding: 45px; }

/* 6. Стилизация контента (Текст и Таблицы) */
.inst-rendered-content { 
    font-size: 16px; 
    line-height: 1.8; 
    color: #334155; 
}
.inst-rendered-content table {
    width: 100% !important; 
    border-collapse: collapse; 
    margin: 25px 0;
    border: 1px solid #dee2e6; 
    font-size: 15px;
}
.inst-rendered-content table th, 
.inst-rendered-content table td { 
    padding: 16px; 
    border: 1px solid #dee2e6; 
}
.inst-rendered-content table thead th { 
    background: #f8fafc; 
    font-weight: 700; 
    color: #0f172a; 
}
.inst-rendered-content table tr:nth-child(even) { 
    background: #fafbfc; 
}

/* 7. Секция Новостей */
.inst-news-section { 
    margin-top: 80px; 
    padding: 80px 0; 
    background: #fff; 
    border-top: 1px solid #e2e8f0; 
}
.inst-section-title { 
    text-align: center; 
    font-size: 36px; 
    font-weight: 800; 
    color: #0f172a; 
    margin-bottom: 50px; 
}

/* Анимации */
@keyframes instFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 8. Адаптивность */
@media (max-width: 991px) {
    .inst-container-fluid { padding: 0 20px; }
    .inst-dir-content { flex-direction: column; text-align: center; gap: 25px; }
    .inst-dir-main-link { flex-direction: column; text-align: center; }
    .inst-header-right { align-items: center; width: 100%; }
    .inst-dir-contacts { align-items: center; }
    .inst-hero { height: 300px; }
    .inst-tab-card { padding: 25px; }
}
/* End */


/* Start:/bitrix/templates/bs_education_s1/components/bitrix/news.list/news_institute/style.css?17784294781455*/
/* ROOT */

.c-news-root{
    width:100%;
    position:relative;

    isolation:isolate;
}

/* GRID */

.c-news-grid{
    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(320px,1fr));

    gap:28px;

    width:100%;
}

/* ITEM */

.c-news-item{
    min-width:0;
}

/* LINK */

.c-news-link{
    display:flex;
    flex-direction:column;

    height:100%;

    overflow:hidden;

    border-radius:24px;

    background:#fff;

    text-decoration:none;

    border:1px solid rgba(15,23,42,.06);

    box-shadow:
        0 10px 30px rgba(15,23,42,.06),
        0 2px 10px rgba(15,23,42,.04);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.c-news-link:hover{
    transform:translateY(-6px);
}

/* IMAGE */

.c-news-image{
    height:220px;
    overflow:hidden;
}

.c-news-image img{
    width:100%;
    height:100%;

    object-fit:cover;

    display:block;
}

/* BODY */

.c-news-body{
    display:flex;
    flex-direction:column;

    gap:14px;

    padding:24px;

    flex:1;
}

/* DATE */

.c-news-date{
    font-size:13px;
    font-weight:600;
    color:#64748b;
    text-transform:uppercase;
}

/* TITLE */

.c-news-title{
    font-size:22px;
    line-height:1.35;
    font-weight:700;
    color:#0f172a;
}

/* TEXT */

.c-news-text{
    font-size:15px;
    line-height:1.7;
    color:#475569;
}

/* MOBILE */

@media(max-width:768px){

    .c-news-grid{
        grid-template-columns:1fr;
    }

}
/* End */
/* /bitrix/templates/bs_education_s1/components/bitrix/news/institut/bitrix/news.detail/.default/style.css?17785046956417 */
/* /bitrix/templates/bs_education_s1/components/bitrix/news.list/news_institute/style.css?17784294781455 */
