

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

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

    --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:16px 20px;
    box-shadow:var(--uni-shadow);
}

/* ================= Внешний отступ сверху у блока вкладок ================= */
.uni-tabs{
    margin-top:16px;
}

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

    margin-bottom:16px; 
}

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

    padding:10px 18px;  

    border-radius:10px; 

    background:#fff;

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

    font-size:14px;      
    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 > *:first-child,
.uni-inst__content > *:first-child {
    margin-top: 0 !important;
}

.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:14px 16px;
    }
}

@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;
        gap:6px;               
        padding-bottom:6px;

        scrollbar-width:none;
    }

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

    .uni-tabs__btn{
        white-space:nowrap;
        flex:none;
        padding:8px 14px;      
    }

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

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


/* Добавьте/обновите эти селекторы в вашем style.css */

.uni-director {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
    align-items: stretch; /* Колонки одинаковой высоты */
}

/* Основная карточка руководителя */
.uni-director__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.uni-director__card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
}

.uni-director__header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.uni-director__avatar {
    width: 140px;
    height: 185px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.uni-director__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.uni-director__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.uni-director__label {
    align-self: flex-start;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #475569;
    font-weight: 700;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
}

.uni-director__name {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
    color: #1e293b;
    margin: 4px 0 0 0;
}

.uni-director__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.uni-director__meta-item {
    font-size: 13px;
    line-height: 1.4;
    color: #64748b;
}

.uni-director__footer {
    margin-top: 20px;
    border-top: 1px dashed #e2e8f0;
    padding-top: 16px;
}

.uni-director__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--uni-accent);
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.uni-director__link:hover {
    gap: 10px;
}

/* Правый блок контактов */
.uni-director__contacts {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.uni-director__contacts:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.uni-director__contacts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.uni-director__contact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #334155;
    text-decoration: none;
    transition: color 0.2s ease;
}

.uni-director__contact-icon {
    font-size: 16px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.uni-director__contact-text {
    font-weight: 500;
}

.uni-director__contact--link:hover {
    color: var(--uni-accent);
}

/* Разделитель */
.uni-director__docs-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 16px 0;
}

/* Список документов */
.uni-director__docs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.uni-director__doc {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 100%;
}

.uni-director__doc-icon {
    font-size: 14px;
    line-height: 1;
}

.uni-director__doc:hover {
    background: var(--uni-accent);
    color: #ffffff;
    border-color: var(--uni-accent);
    transform: translateY(-1px);
}

/* АДАПТИВНОСТЬ ДЛЯ ВЕРХНЕГО БЛОКА */
@media (max-width: 1100px) {
    .uni-director {
        grid-template-columns: 1.1fr 1fr;
        gap: 18px;
    }
    .uni-director__card,
    .uni-director__contacts {
        padding: 20px;
    }
    .uni-director__header {
        gap: 16px;
    }
    .uni-director__avatar {
        width: 100px;
        height: 130px;
    }
    .uni-director__name {
        font-size: 19px;
    }
}

@media (max-width: 900px) {
    .uni-director {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .uni-director__card,
    .uni-director__contacts {
        justify-content: flex-start;
    }
}

@media (max-width: 500px) {
    .uni-director__header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .uni-director__label {
        align-self: center;
    }
    .uni-director__avatar {
        width: 120px;
        height: 155px;
    }
    .uni-director__footer {
        text-align: center;
    }
}
/* Остальные стили */
.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; 
  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) {
  
  /* ================= Защита от дублирования padding, если контакты внутри вкладок ================= */
  .uni-tabs__pane .contacts-container {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .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;
  }

  .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;
  }

  .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;
  }

  .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%; 
  }

  .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;
  }
}

.uni-links-section {
    margin: 40px 0;
}
.uni-links-section__title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}
.uni-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}
.uni-links-grid__item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #212529;
    transition: all 0.2s ease;
}
.uni-links-grid__item:hover {
    background: #fff;
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    color: #007bff;
}
.uni-links-grid__icon {
    margin-right: 12px;
    font-size: 1.2rem;
}
.uni-links-grid__text {
    font-weight: 500;
    line-height: 1.4;
}

/* =========================================================================
   БЛОК 1: Стили для нормативно-правовых актов ВУЦ (Изолированные)
   ========================================================================= */

.vuc-documents {
    --vuc-primary: #003366; 
    --vuc-bg-accent: #f4f6f9;
    --vuc-border: var(--uni-border);
    --vuc-text: var(--uni-text);
    --vuc-link-hover: #c00;

    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--vuc-text);
    
    width: 100% !important;
    max-width: 100% !important;
    
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.vuc-documents *, 
.vuc-documents *::before, 
.vuc-documents *::after {
    box-sizing: border-box;
}

.vuc-title {
    color: var(--vuc-primary) !important;
    font-size: 28px !important;
    border-bottom: 2px solid var(--vuc-primary) !important;
    padding-bottom: 10px !important;
    margin-top: 0 !important;
    margin-bottom: 30px !important;
    width: 100% !important;
    font-weight: 700;
}

.vuc-section-title {
    color: var(--vuc-primary) !important;
    font-size: 20px !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 10px !important;
    border-left: 4px solid var(--vuc-primary) !important;
    background: none !important;
    font-weight: 600;
}

.vuc-documents .doc-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.vuc-documents .doc-item {
    background-color: #ffffff !important;
    border: 1px solid var(--vuc-border) !important;
    border-radius: 6px !important;
    padding: 20px !important;
    margin-bottom: 15px !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    list-style-type: none !important;
    width: 100% !important;
}

.vuc-documents .doc-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    background-color: #fafbfc !important;
}

.vuc-documents .doc-header {
    font-weight: bold !important;
    margin-bottom: 8px !important;
    font-size: 16px !important;
}

.vuc-documents .doc-link {
    color: var(--vuc-primary) !important;
    text-decoration: none !important;
    transition: color 0.1s ease;
}

.vuc-documents .doc-link:hover {
    color: var(--vuc-link-hover) !important;
    text-decoration: underline !important;
}

.vuc-documents .doc-name {
    font-style: italic !important;
    color: #444 !important;
    margin-bottom: 10px !important;
    display: block !important;
}

.vuc-documents .doc-meta {
    font-size: 13px !important;
    color: #666 !important;
    background-color: var(--vuc-bg-accent) !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    display: inline-block !important;
}

/* =========================================================================
   БЛОК 2: Стили для аккордеона ВУЦ (Офицеры/Запас)
   ========================================================================= */

.vuc-accordion {
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px auto;
    font-family: 'Inter', sans-serif;
}

.vuc-item {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100% !important;
}

.vuc-summary {
    padding: 16px 20px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    list-style: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    user-select: none !important;
    background: none !important;
}

.vuc-summary::-webkit-details-marker {
    display: none !important;
}

.vuc-summary::after {
    content: '\276F' !important;
    transform: rotate(90deg) !important;
    transition: transform 0.2s ease !important;
    font-size: 14px !important;
}

.item-officers .vuc-summary {
    color: #0d6efd !important;
}

.item-reserve .vuc-summary {
    color: #198754 !important;
}

.vuc-summary:hover {
    background-color: #f8f9fa !important;
}

details[open] .vuc-summary::after {
    transform: rotate(-90deg) !important;
}

.vuc-content {
    padding: 20px !important;
    border-top: 1px solid #f0f0f0 !important;
    color: var(--uni-text) !important;
    line-height: 1.6 !important;
    background-color: #fafafa !important;
    width: 100% !important;
}

.vuc-list {
    list-style-type: none !important;
    padding-left: 0 !important;
    margin: 15px 0 !important;
    width: 100% !important;
}

.vuc-list li {
    padding: 8px 0 !important;
    border-bottom: 1px solid #eee !important;
    list-style-type: none !important;
}

.vuc-list li:last-child {
    border-bottom: none !important;
}

.vuc-alert {
    padding: 12px 15px !important;
    border-radius: 6px !important;
    margin-top: 15px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    width: 100% !important;
}

.alert-warning {
    background-color: #fff3cd !important;
    color: #664d03 !important;
    border: 1px solid #ffecb5 !important;
}

.alert-info {
    background-color: #cff4fc !important;
    color: #055160 !important;
    border: 1px solid #b6effb !important;
}

@media (max-width: 600px) {
    .vuc-summary {
        font-size: 15px !important;
        padding: 14px 16px !important;
    }
    .vuc-content {
        padding: 15px !important;
    }
    .vuc-documents .vuc-title {
        font-size: 22px !important;
    }
    .vuc-documents .vuc-section-title {
        font-size: 18px !important;
    }
    .vuc-documents .doc-item {
        padding: 15px !important;
    }
}
/* ==========================================
   СЕТКА И КАРТОЧКИ КАФЕДР (Обновленный дизайн)
   ========================================== */

.uni-chairs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 15px;
}

.uni-chair-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.21, 0.6, 0.35, 1), 
                border-color 0.3s ease, 
                box-shadow 0.3s cubic-bezier(0.21, 0.6, 0.35, 1);
}

.uni-chair-card:hover {
    transform: translateY(-6px);
    border-color: #cbd5e1;
    box-shadow: 0 16px 24px -8px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.03);
}

.uni-chair-card__main-link {
    display: flex;
    align-items: flex-start;
    padding: 24px;
    text-decoration: none !important; 
    color: inherit;
    flex-grow: 1;
}

.uni-chair-card__image-wrap {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 18px;
    border: 2px solid #f1f5f9;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.uni-chair-card__image-wrap--placeholder {
    font-size: 22px;
}

.uni-chair-card:hover .uni-chair-card__image-wrap {
    transform: scale(1.05);
}

.uni-chair-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uni-chair-card__info {
    display: flex;
    flex-direction: column;
}

.uni-chair-card__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #1e293b;
    margin: 0 0 8px 0;
    transition: color 0.2s ease;
}

.uni-chair-card:hover .uni-chair-card__title {
    color: #2563eb; 
}

.uni-chair-card__desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.uni-chair-card__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 24px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    align-items: center;
}

.uni-chair-card__contact-link {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.uni-chair-card__contact-link span {
    font-size: 13px;
    line-height: 1;
}

.uni-chair-card__contact-link:hover {
    color: #2563eb;
}

@media (max-width: 640px) {
    .uni-chairs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .uni-chair-card__main-link {
        padding: 20px;
    }
    
    .uni-chair-card__image-wrap {
        width: 48px;
        height: 48px;
        min-width: 48px;
        margin-right: 14px;
    }
    
    .uni-chair-card__footer {
        padding: 12px 20px;
        gap: 12px;
    }
}
/* 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.detail/institute_detail/style.css?178427914924782 */
/* /bitrix/templates/bs_education_s1/components/bitrix/news.list/news_institute/style.css?17784294781455 */
