/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Mar 20 2026 | 12:39:11 */
.teacher-block {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 950px!important;
    margin: 0 auto;
    padding: 80px 20px;
}

/* ФОН */
.tb-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 75%;
    height: 100%;
    
    /* мягкий вариант */
    background: linear-gradient(
        90deg,
        rgba(15,58,51,0.12) 0%,
        rgba(15,58,51,0.06) 40%,
        rgba(15,58,51,0) 100%
    );

    border-radius: 25px 0 0 25px;
    z-index: 0;
}

/* ТЕКСТ */
.tb-content-col {
    position: relative;
    z-index: 2;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Имя */
.tb-name {
    font-size: 40px!important;
    font-weight: 800!important;
    line-height: 1.05;
    margin: 0;
}

/* Роль */
.tb-role {
    font-size: 20px;
    color: var(--e-global-color-text);
    font-weight: 700;
    margin: 0;
}

/* Описание */
.tb-description p {
    line-height: 1.6;
    color: #374151;
    margin: 0!important;
    font-size: 15px;
}

/* ФОТО */
.tb-image-col {
    position: absolute;
    right: -60px;
    bottom: 0;
    width: 480px;
    z-index: 1;
}

.tb-image-col img {
    width: 100%;
    height: auto;
    display: block;
}

/* МОБИЛКА */
@media (max-width: 900px) {
    .teacher-block {
        flex-direction: column;
        padding: 40px 20px;
    }

    .tb-bg {
        display: none;
    }

    .tb-image-col {
        position: relative;
        order: -1;
        right: auto;
        width: 360px;
        margin-bottom: 20px;
    }

    .tb-content-col {
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .tb-name {
        font-size: 28px!important;
    }
}