

/* Start:/bitrix/templates/bs_education_s1/components/bitrix/news/institut/bitrix/news.detail/.default/style.css?17779208325369*/

/* ===================== */
/* BASE */
/* ===================== */

.institute {
    width: 100%;
    background: #f5f7fb;
}

/* ===================== */
/* HERO */
/* ===================== */

.institute-hero {
    height: 420px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.institute-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,15,30,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.institute-hero h1 {
    color: #fff;
    font-size: 44px;
    font-weight: 700;
}

/* ===================== */
/* CONTAINER */
/* ===================== */

.institute-container {
    padding: 40px 5%;
}

/* ===================== */
/* LAYOUT */
/* ===================== */

.institute-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 28px;
    align-items: start;
}

/* ===================== */
/* SIDEBAR (STICKY) */
/* ===================== */

.institute-sidebar {
    position: sticky;
    top: 100px;
}

/* ===================== */
/* CARDS */
/* ===================== */

.institute-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

/* ===================== */
/* DIRECTOR */
/* ===================== */

.director-card {
    display: flex;
    gap: 18px;
    align-items: center;
}

.director-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border: 3px solid #fff;
}

.director-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.director-title {
    font-size: 12px;
    opacity: .6;
    margin-bottom: 4px;
}

.director-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.director-meta {
    font-size: 13px;
    color: #666;
}

/* ===================== */
/* DOC BUTTON */
/* ===================== */

.btn-doc {
    display: block;
    padding: 12px;
    background: #2d6cdf;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: .2s ease;
}

.btn-doc:hover {
    background: #1f56c4;
}

/* ===================== */
/* CONTACTS */
/* ===================== */

.contact-card div {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

/* ===================== */
/* TEXT BLOCK */
/* ===================== */

.text-card {
    line-height: 1.7;
}

/* ===================== */
/* NEWS SECTION */
/* ===================== */

.news-title {
    font-size: 26px;
    margin: 30px 0 20px;
    font-weight: 600;
}

/* GRID */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* CARD */
.news-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: #111;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: .25s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.news-card__img {
    height: 180px;
    overflow: hidden;
}

.news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.news-card:hover .news-card__img img {
    transform: scale(1.08);
}

.news-card__content {
    padding: 16px;
}

.news-card__date {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
}

.news-card__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.news-card__text {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* ===================== */
/* GALLERY (BOTTOM) */
/* ===================== */

.institute-news-gallery {
    margin-top: 60px;
}

.gallery-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

/* ITEM */
.gallery-item {
    position: relative;
    height: 120px;
    border-radius: 14px;
    overflow: hidden;
    display: block;
}

/* IMAGE */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s ease;
}

.gallery-item:hover img {
    transform: scale(1.12);
}

/* OVERLAY */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 10px;
    transition: .25s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #fff;
    font-size: 12px;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */

@media (max-width: 1000px) {

    .institute-layout {
        grid-template-columns: 1fr;
    }

    .institute-sidebar {
        position: relative;
        top: auto;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .institute-hero h1 {
        font-size: 28px;
    }

    .director-img {
        width: 90px;
        height: 90px;
    }
}
/* End */
/* /bitrix/templates/bs_education_s1/components/bitrix/news/institut/bitrix/news.detail/.default/style.css?17779208325369 */
