

/* Start:/bitrix/templates/bs_education_s1/components/bitrix/news/institut/bitrix/news.detail/.default/style.css?177953345813378*/
.uni-inst,
.uni-inst *{
    box-sizing:border-box;
}

.uni-inst{
    position:relative;
    width:100%;
    overflow:hidden;

    font-family:'Inter',sans-serif;

    --uni-bg:#f5f7fb;
    --uni-card:#ffffff;
    --uni-text:#111827;
    --uni-muted:#6b7280;
    --uni-border:#e5e7eb;
    --uni-accent:#7c2d12;
    --uni-shadow:0 10px 30px rgba(0,0,0,.06);
}

.uni-inst img{
    max-width:100%;
    height:auto;
    display:block;
}

.uni-inst__container{
    width:100%;
    max-width:1440px;
    margin:0 auto;
    padding:40px 24px;
}

.uni-inst__hero{
    position:relative;
    min-height:340px;

    background-size:cover;
    background-position:center;

    border-radius:0 0 32px 32px;

    overflow:hidden;
}

.uni-inst__hero--empty{
    background:
        linear-gradient(
            135deg,
            #7c2d12 0%,
            #991b1b 100%
        );
}

.uni-inst__hero-overlay{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.25),
            rgba(0,0,0,.55)
        );

    display:flex;
    align-items:flex-end;
}

.uni-inst__title{
    margin:0;

    color:#fff;

    font-size:52px;
    line-height:1.05;
    font-weight:800;

    max-width:900px;
}

.uni-inst__card{
    background:var(--uni-card);

    border:1px solid var(--uni-border);

    border-radius:24px;

    padding:32px;

    box-shadow:var(--uni-shadow);
}

.uni-tabs{
    margin-top:32px;
}

.uni-tabs__nav{
    display:flex;
    flex-wrap:wrap;
    gap:12px;

    margin-bottom:24px;
}

.uni-tabs__btn{
    appearance:none;
    border:none;
    cursor:pointer;

    padding:14px 22px;

    border-radius:14px;

    background:#fff;

    border:1px solid var(--uni-border);

    font-size:15px;
    font-weight:600;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.uni-tabs__btn:hover{
    transform:translateY(-2px);
}

.uni-tabs__btn.is-active{
    background:var(--uni-accent);
    color:#fff;
    border-color:var(--uni-accent);
}

.uni-tabs__content{
    position:relative;
}

.uni-tabs__pane{
    display:none;

    animation:uniFade .25s ease;
}

.uni-tabs__pane.is-active{
    display:block;
}

@keyframes uniFade{
    from{
        opacity:0;
        transform:translateY(6px);
    }
    to{
        opacity:1;
        transform:none;
    }
}

.uni-inst__content{
    color:var(--uni-text);

    font-size:16px;
    line-height:1.8;
}

.uni-inst__content h1,
.uni-inst__content h2,
.uni-inst__content h3,
.uni-inst__content h4{
    color:var(--uni-text);
    margin-top:1.5em;
}

.uni-inst__content table{
    width:100%;
    overflow:auto;
    display:block;
}

.uni-inst__content iframe{
    width:100%;
    border:none;
}

.uni-inst__content a{
    color:var(--uni-accent);
    text-decoration:none;
}

.uni-inst__content a:hover{
    text-decoration:underline;
}

/* MOBILE */

@media (max-width: 992px){

    .uni-inst__title{
        font-size:40px;
    }

    .uni-inst__container{
        padding:28px 18px;
    }

    .uni-inst__card{
        padding:24px;
    }
}

@media (max-width: 768px){

    .uni-inst__hero{
        min-height:240px;
        border-radius:0 0 24px 24px;
    }

    .uni-inst__title{
        font-size:30px;
        line-height:1.15;
    }

    .uni-tabs__nav{
        overflow:auto;
        flex-wrap:nowrap;

        padding-bottom:6px;

        scrollbar-width:none;
    }

    .uni-tabs__nav::-webkit-scrollbar{
        display:none;
    }

    .uni-tabs__btn{
        white-space:nowrap;
        flex:none;
    }

    .uni-inst__card{
        border-radius:18px;
        padding:20px;
    }

    .uni-inst__content{
        font-size:15px;
        line-height:1.7;
    }
}

.uni-director{
    display:grid;
    grid-template-columns: 1.3fr 1fr;
    gap:24px;

    margin-bottom:24px;
}

/* CARD */
.uni-director__card{
    display:flex;
    gap:18px;

    padding:20px 22px;

    background:#fff;

    border:1px solid #e5e7eb;
    border-radius:18px;

    text-decoration:none;
    color:#111827;

    box-shadow:0 10px 25px rgba(0,0,0,0.05);

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

.uni-director__card:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 40px rgba(0,0,0,0.08);
}

.uni-director__avatar{
    width:130px;
    height:175px;

    border-radius:20px;
    overflow:hidden;

    flex:0 0 auto;

    background:#f3f4f6;

    box-shadow:
        0 10px 25px rgba(0,0,0,.08),
        0 4px 10px rgba(0,0,0,.04);
}

.uni-director__avatar img{
    width:100%;
    height:100%;

    object-fit:cover;
    object-position:center top;

    display:block;

    transition:transform .3s ease;
}

.uni-director__card:hover .uni-director__avatar img{
    transform:scale(1.03);
}

@media(max-width:600px){

    .uni-director__avatar{
        width:90px;
        height:120px;
    }

}
/* INFO */
.uni-director__info{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:6px;
}

.uni-director__label{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:#6b7280;
}

.uni-director__name{
    font-size:18px;
    font-weight:700;
    color:#111827;
}

.uni-director__meta{
    font-size:14px;
    color:#6b7280;
    display:flex;
    gap:6px;
    flex-wrap:wrap;
}

.uni-director__link{
    margin-top:6px;
    font-size:14px;
    color:#7c2d12;
    font-weight:600;
}

/* CONTACTS */
.uni-director__contacts{
    display:flex;
    flex-direction:column;
    gap:10px;

    padding:18px;

    background:#f9fafb;

    border:1px solid #e5e7eb;
    border-radius:18px;
}

.uni-director__contact{
    display:flex;
    align-items:center;
    gap:10px;

    font-size:14px;
    color:#111827;
    text-decoration:none;
}

.uni-director__contact:hover{
    color:#7c2d12;
}

.uni-director__doc{
    margin-top:8px;

    display:inline-block;

    font-size:14px;
    font-weight:600;

    color:#7c2d12;
    text-decoration:none;
}

/* MOBILE */
@media(max-width: 992px){
    .uni-director{
        grid-template-columns:1fr;
    }
}

@media(max-width: 600px){
    .uni-director__card{
        flex-direction:column;
        align-items:flex-start;
    }

    .uni-director__avatar{
        width:72px;
        height:72px;
    }
}










.contacts-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  max-width: 480px;
  margin: 0 auto;
  padding: 15px;
  box-sizing: border-box;
  background-color: #f8f9fa;
  color: #333;
}

.contacts-header {
  text-align: center;
  margin-bottom: 25px;
}
.contacts-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 5px 0;
  color: #1a1a1a;
}
.contacts-header p {
  font-size: 0.85rem;
  color: #6c757d;
  margin: 0;
}

.contacts-section {
  margin-bottom: 25px;
}
.section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6c757d;
  font-weight: 700;
  margin: 0 0 12px 0;
  padding-bottom: 5px;
  border-bottom: 1px solid #dee2e6;
}

/* Карточки без нижних блоков кнопок */
.contact-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(222, 226, 230, 0.8);
  border-radius: 14px;
  padding: 15px;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 8px;
}
.badge-primary { background: rgba(13, 110, 253, 0.1); color: #0d6efd; }
.badge-secondary { background: rgba(108, 117, 125, 0.1); color: #6c757d; }
.badge-light { background: #f1f3f5; color: #495057; border: 1px solid #dee2e6; }
.badge-info { background: rgba(13, 202, 240, 0.1); color: #00849e; }
.badge-warning { background: rgba(255, 193, 7, 0.15); color: #946e00; }

.person-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #212529;
  line-height: 1.3;
}
.role {
  font-size: 0.75rem;
  color: #6c757d;
  margin-bottom: 3px;
}

/* Списки контактов */
.info-list {
  font-size: 0.85rem;
  color: #495057;
}
.info-item {
  padding: 6px 0; /* Увеличен вертикальный отступ для удобства тапа */
  border-bottom: 1px dashed #f1f3f5;
}
.info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Стилизация КЛИКАБЕЛЬНЫХ ССЫЛОК */
.contact-link {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(13, 110, 253, 0.2);
  padding: 2px 4px;
  display: inline-block; /* Увеличивает площадь касания */
}
.contact-link:active {
  background-color: rgba(13, 110, 253, 0.1);
  border-radius: 4px;
}
.email-link {
  color: #198754; /* Зеленый оттенок для почты, чтобы визуально делить телефон/email */
  border-bottom-color: rgba(25, 135, 84, 0.2);
}
.email-link:active {
  background-color: rgba(25, 135, 84, 0.1);
}

/* Саб-персоны в директорате */
.sub-person {
  margin-bottom: 8px;
  padding-bottom: 4px;
}
.sub-person .name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #212529;
}

.divider-top {
  border-top: 1px solid #eee;
  padding-top: 5px;
  margin-top: 5px;
}

/* Плитки кафедр */
.cafe-card {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 8px;
}
.cafe-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 4px;
}
.cafe-boss {
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 6px;
}

.tech-card {
  border-left: 3px solid #6c757d;
}


/* ==========================================================================
   ДЕСКТОПНЫЙ СТИЛЬ (Включается автоматически на компьютерах и ноутбуках)
   ========================================================================== */
@media (min-width: 768px) {
  
  /* Расширяем контейнер для ПК */
  .contacts-container {
    max-width: 1140px; /* Идеальная ширина для контента на десктопе */
    padding: 40px 20px;
  }

  /* Крупный, солидный заголовок */
  .contacts-header {
    margin-bottom: 45px;
    text-align: left; /* На ПК классическое выравнивание по левому краю выглядит строже */
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 20px;
  }
  .contacts-header h2 {
    font-size: 2rem;
  }
  .contacts-header p {
    font-size: 1rem;
    margin-top: 5px;
  }

  /* Красивые крупные заголовки секций */
  .section-title {
    font-size: 0.85rem;
    margin-bottom: 20px;
    padding-bottom: 8px;
  }

  /* --- СЕТКА ДЛЯ РУКОВОДСТВА (3 колонки) --- */
  .contacts-section:nth-of-type(1) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  /* Заставляем заголовок секции растянуться на всю ширину сетки */
  .contacts-section:nth-of-type(1) .section-title {
    grid-column: span 3;
    margin-bottom: 0;
  }

  /* --- СЕТКА ДЛЯ ДИРЕКТОРАТА (2 колонки) --- */
  .contacts-section:nth-of-type(2) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .contacts-section:nth-of-type(2) .section-title {
    grid-column: span 2;
    margin-bottom: 0;
  }

  /* --- СЕТКА ДЛЯ КАФЕДР (2 колонки для идеального баланса 4-х кафедр) --- */
  .contacts-section:nth-of-type(3) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .contacts-section:nth-of-type(3) .section-title {
    grid-column: span 2;
    margin-bottom: 0;
  }

  /* --- ТЕХПОДДЕРЖКА (Аккуратная плашка в самом низу) --- */
  .contacts-section:nth-of-type(4) .contact-card {
    max-width: 50%; /* Чтобы не растягивать на весь экран одиночную карточку */
  }


  /* ==================== ЭФФЕКТЫ НАВЕДЕНИЯ (HOVER) ==================== */
  
  /* Плавность для всех интерактивных элементов */
  .contact-card, .cafe-card, .contact-link {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Карточки плавно приподнимаются при наведении мыши */
  .contact-card:hover, .cafe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    border-color: rgba(13, 110, 253, 0.3);
  }

  /* Особое выделение техподдержки при наведении */
  .tech-card:hover {
    border-color: rgba(108, 117, 125, 0.3) !important;
    border-left: 3px solid #6c757d !important;
  }

  /* Подсветка ссылок при наведении на ПК */
  .contact-link:hover {
    background-color: rgba(13, 110, 253, 0.08);
    color: #0043c7;
    border-bottom-color: #0043c7;
    border-radius: 4px;
  }
  
  .email-link:hover {
    background-color: rgba(25, 135, 84, 0.08);
    color: #0f5132;
    border-bottom-color: #0f5132;
  }
}
/* End */
/* /bitrix/templates/bs_education_s1/components/bitrix/news/institut/bitrix/news.detail/.default/style.css?177953345813378 */
