

/* Start:/bitrix/templates/aspro-allcorp3/components/bitrix/news.list/custom_for_teachers/style.css?17811593909284*/
.news-list {
    display: grid;
    justify-content: center;
}


.teachers-iblock-description {
    margin: 0 0 40px;
    font-size:64px ;
    text-align: center;
    line-height: normal;
    color: #333;
    font-family: prata, serif;
}

.teachers-sections-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content:center;
}

.teachers-section-tab {
    border: 1px solid #000;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1.2;
    transition: 0.2s ease;
}

.teachers-section-tab:nth-child(odd) {
    background-image: url('/include/Button_pic/история.png');
}

.teachers-section-tab:nth-child(even) {
    background-image: url('/include/Button_pic/обществознание.png');
}


.teachers-section-tab.active:nth-child(even) {
    border:2px solid #ffdf72;
}

.teachers-section-tab.active:nth-child(odd) {
    border:2px solid #9bc4f7;
}


.teachers-section-description {
    margin: 0 0 20px;
    display: none;
}

.teachers-section-description__inner {
    background: #fffaec;
    border: 1px solid #bbb;
    border-radius: 16px;
    padding: 14px 18px;
}

.teachers-list-area {
    display: grid;
    align-items: center;
    gap: 10px;
}

.teachers-list-viewport {
    overflow: hidden;
    width: 100%;
}

.teachers-list {
    --slides-per-view: 4;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    transition: transform 0.3s ease;
}

.teachers-list.is-slider {
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.teachers-list.is-slider .teacher-card-wrapper {
    flex: 0 0 calc((100% - 24px * (var(--slides-per-view) - 1)) / var(--slides-per-view));
    width: auto;
}

.teachers-list:not(.is-slider) .teacher-card-wrapper {
    width: calc((100% - 24px * 3) / 4);
}

.teacher-card-wrapper {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
}

.teacher-card {
    border: 1px solid #b8b8b8;
    border-radius: 16px;
    background: #fff;
    padding: 25px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.teacher-card-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.teacher-card-header__main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.teacher-photo img {
    width: 62px;
    height: 62px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.teacher-name {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
    color: #111;
    font-family: "Prata", serif;
    font-weight: 400;
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.teacher-characteristics {
    display: grid;
    gap: 7px;
}

.char-row {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 8px;
    align-items: start;
}

.char-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-top: 2px;
}

.char-text {
    font-size: 18px;
    line-height: 1.35;
    color: #222;
}

.teacher-actions {
    display: grid;
    gap: 8px;
    margin-top: auto;
}

.teachers-slider-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #b8b8b8;
    border-radius: 999px;
    background: #fff;
    position: relative;
    cursor: pointer;
}

.teachers-slider-btn:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform-origin: center;
}

.teachers-slider-btn--prev:before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.teachers-slider-btn--next:before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.teachers-slider-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.teachers-list-area:not(.is-slider) .teachers-slider-btn {
    visibility: hidden;
}

.btn-teacher-detail,
.btn-course-detail,
.btn-callback {
    display: block;
    width: 100%;
    border: 1px solid #999;
    border-radius: 18px;
    padding: 8px 12px;
    text-align: center;
    font-size: 18px;
    line-height: 1.2;
    color: #111;
    text-decoration: none;
    background: #fff;
    cursor: pointer;
    font-family: prata, serif;
}

.btn-teacher-detail {
    background: #f6dcd5;
}

.btn-course-detail {
    background: #ffdf72;
}

.btn-callback {
    background: #d8e8fb;
}

.teacher-tab-content {
    overflow: hidden;
    margin-top: 12px;
}

.course-card-detail {
    display: grid;
    gap: 12px;
}

.course-info-block,
.course-price-side {
    background: #daeafe;
    border-radius: 12px;
    padding: 14px;
}

.course-title {
    font-size: 16px;
    font-family: "Prata", serif;
    margin: 0 0 8px;
}

.course-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-features-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.35;
}

.course-features-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}

.price-val {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 6px;
    font-family: "Prata", serif;
    text-align: center;
}

.price-period {
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
}

.btn-yellow-order {
    display: block;
    border-radius: 12px;
    background: #ffdb58;
    padding: 8px 12px;
    font-size: 16px;
    text-decoration: none;
    color: #111;
    text-align: center;
}

@media (max-width: 1200px) {
    /* .teachers-list-area {
        grid-template-columns: 36px 1fr 36px;
    } */

    .teachers-list {
        gap: 20px;
    }

    .teachers-list:not(.is-slider) .teacher-card-wrapper {
        width: calc((100% - 20px * 2) / 3);
    }
}

@media (max-width: 992px) {
    .teachers-list:not(.is-slider) .teacher-card-wrapper {
        width: calc((100% - 20px) / 2);
    }

    .teacher-name {
        font-size: 24px;
    }
}

@media (max-width: 1024px) {
    .teachers-iblock-description {
        font-size: 42px;
        margin-bottom: 30px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .teachers-iblock-description {
        font-size: 32px;
        line-height: 1.2;
    }

    .teachers-sections-tabs {
        gap: 8px;
        padding: 0 10px;
    }

    .teachers-section-tab {
        font-size: 16px;
        padding: 8px 14px;
        flex-grow: 1;
        text-align: center;
    }

    .teachers-list-area {
        /* grid-template-columns: 32px 1fr 32px; */
        padding: 0 15px;
    }

    .teachers-list-area.is-slider {
        touch-action: pan-y;
    }

    .teachers-slider-btn {
        width: 32px;
        height: 32px;
    }

    .teachers-list {
        gap: 15px;
    }

    .teachers-list:not(.is-slider) .teacher-card-wrapper {
        width: 100%;
    }

    .teacher-card {
        padding: 15px;
    }

    .char-text {
        font-size: 16px;
    }

    .price-val {
        font-size: 32px;
    }
}


@media (max-width: 480px) {

    .teachers-iblock-description {
        font-size: 22px;
        line-height: 1.2;
    }

    .teachers-section-tab {
        font-size: 13px;
        }


    .teacher-card-header__main {
        gap: 10px;
    }

    .teacher-card-header {
        margin-bottom: 15px;
    }

    .teacher-photo img {
        width: 50px;
        height: 50px;
    }

    .teacher-name {
        font-size: 20px;
    }

    .btn-teacher-detail, 
    .btn-course-detail, 
    .btn-callback {
        font-size: 16px;
        padding: 10px;
    }
}
.teacher-social-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    padding-top: 2px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 12px;
    border: 1px solid rgba(17, 17, 17, 0.1);
    background: linear-gradient(180deg, #fff 0%, #ffaa92 100%);
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

.social-btn img {
    width: 15px;
    height: 15px;
    display: block;
    opacity: 0.72;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.social-btn:hover {
    box-shadow: 0 6px 14px rgba(17, 17, 17, 0.14);
    background: #c3d2e7;
}

.social-btn:hover img {
    opacity: 1;
    filter: brightness(0) invert(1);
}

.social-btn--vk:hover {
    background-color: #4c75a3;
    border-color: #4c75a3;
}

.social-btn--tg:hover {
    background: #229ed9;
    border-color: #229ed9;
}

.social-btn--tiktok:hover {
    background-color: #010101;
    border-color: #010101;
}



@media (max-width: 768px) {
    .teacher-social-buttons {
        justify-content: center;
        gap: 10px;
    }
    .social-btn {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .social-btn img {
        width: 16px;
        height: 16px;
    }
}
/* End */
/* /bitrix/templates/aspro-allcorp3/components/bitrix/news.list/custom_for_teachers/style.css?17811593909284 */
