@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* =========================================================
   T937 — видеоплейлист: светлая тема
   ========================================================= */
.t937 {
    color: #000 !important;
}

.t937__playlist-wrap {
    background-color: #f9f9f9 !important;
    border-color: #efefef !important;
}

.t937__playlist-link_active {
    background-color: #efefef !important;
}

.t937__playlist-item {
    border-bottom-color: #efefef !important;
}

.t937__title,
.t937__playlist-title,
.t937__playlist-section,
.t937__video-title,
.t937__playlist-number {
    color: #000 !important;
}

.t937__playlist-time,
.t937__subheading-title,
.t937__video-description {
    color: #bdbdbd !important;
}

.t937__subheading-icon,
.t937__subheading-icon svg,
.t937__subheading-icon path,
.t937__subheading-icon rect,
.t937__subheading-icon line {
    fill: #bdbdbd !important;
    stroke: #bdbdbd !important;
}

.t937__playlist-link:hover {
    background-color: #bdbdbd !important;
}

.t937__playlist-link:hover .t937__playlist-title,
.t937__playlist-link:hover .t937__playlist-number,
.t937__playlist-link:hover .t937__playlist-time {
    color: #000 !important;
}

/* Мобильные устройства: убираем залипание hover */
@media (hover: none) {
    .t937__playlist-link:hover {
        background-color: inherit !important;
    }
}

/* Мягче fade-градиент плейлиста, без перезаписи background Tilda */
.t937__playlist-fade {
    filter: opacity(0.3);
}


/* =========================================================
   T585 — иконки
   ========================================================= */
.t585__icon,
.t585__icon:hover {
    width: 18px !important;
    height: 18px !important;
}


/* =========================================================
   Личный кабинет / userbar
   ========================================================= */
.tlk-userbar__popup_left {
    top: 60px !important;
    right: 20px !important;
}

.tlk-userbar__popup {
    position: fixed !important;
    top: 60px !important;
    right: 20px !important;
    left: unset !important;
    border-radius: 18px !important;
    box-shadow: 0 0 0 1px rgba(189, 189, 189, 0.75),
                0 8px 18px rgba(0, 0, 0, 0.08) !important;
}

.tlk-profile__regular-button {
    height: 35px !important;
    border: 1px solid #bdbdbd !important;
}


/* =========================================================
   T830 / T830M — меню и поиск
   ========================================================= */
.t830__panel.t830__panel_bg {
    width: 70px !important;
    background-color: #fff !important;
}

.t830m__overlay {
    display: none;
}

.t830 .t830__input {
    border: 1px solid #bdbdbd;
    border-radius: 20px;
}

.t-site-search-dm {
    margin-top: 10px;
    border-radius: 12px;
}

.t838__blockbutton {
    display: none !important;
}

@media screen and (min-width: 1500px) {
    #rec1233606681 .t396__artboard {
        left: 255px !important;
    }
}

@media screen and (max-width: 1199px) {
    .t830__burger_mobile {
        position: fixed !important;
        top: 32px !important;
    }

   .t830__burger span:nth-child(1) {
    top: 5px;
    width: 16px;
}

.t830__burger span:nth-child(2) {
    display: none;
}

.t830__burger span:nth-child(3) {
    display: none;
}

.t830__burger span:nth-child(4) {
    top: 13px;
    width: 12px;
}

    .t830m__top.t830m__top_padd {
        padding-top: 45px;
    }

    #rec1229001931 .t830m.t830m_bg,
    #rec1229122266 .t830m.t830m_bg {
        background-color: #fff !important;
        box-shadow: 0 1px 0 0 rgba(230, 230, 230, 1),
                    0 0 64px 0 rgba(0, 0, 0, 0.12);
    }

    #rec1229001931 .t830m__close.t830m__close_bg,
    #rec1229122266 .t830m__close.t830m__close_bg {
        background-color: unset !important;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1500px) {
    .t830__allrecords_padd {
        padding-left: 0 !important;
    }

    .t830__side {
        display: none !important;
    }

    .t830m {
        width: 100%;
        max-width: 300px;
    }

    #rec1233606681 .t396__artboard {
        position: unset !important;
    }

    .t830m.t830m_close {
        left: 0;
    }

    .t830__panel {
        position: static;
        width: 100%;
        height: 60px;
        box-shadow: none;
    }

    .t830__panel.t830__panel_bg {
        width: 70px !important;
        background-color: #fff !important;
    }

    .t830__menu__content {
        position: relative;
        box-sizing: border-box;
        width: 75px !important;
        height: 100%;
        margin: 0 auto;
        padding: 0;
    }

    .t830__burger {
        position: absolute;
        z-index: 999;
        width: 28px;
        height: 20px;
        padding: 0;
        border: none;
        background-color: transparent;
        cursor: pointer;
        transition: transform 0.5s ease-in-out;
    }

    .t830__burger.t830__burger_mobile {
        display: block;
        right: auto;
        left: 32px;
        transform: translateY(-50%);
    }

    .t830__burger_mobile {
        position: fixed !important;
        top: 32px !important;
    }

.t830__burger span:nth-child(1) {
    top: 5px;
    width: 16px;
}

.t830__burger span:nth-child(2) {
    display: none;
}

.t830__burger span:nth-child(3) {
    display: none;
}

.t830__burger span:nth-child(4) {
    top: 13px;
    width: 12px;
}

    .t830m__top {
        position: relative;
        min-height: 100%;
        box-sizing: border-box;
        padding: 20px 20px 150px;
    }

    .t830m__top.t830m__top_padd {
        padding-top: 45px;
    }

    .t830m__top.t830m__top_padd-text {
        border-right: 1px solid #ededed;
    }

    .t830m__close-button {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: none;
    }

    #rec1229001931 .t830m.t830m_bg,
    #rec1229122266 .t830m.t830m_bg {
        background-color: #fff !important;
        box-shadow: 0 1px 0 0 rgba(230, 230, 230, 1),
                    0 0 64px 0 rgba(0, 0, 0, 0.12);
    }

    #rec1229001931 .t830m__close.t830m__close_bg,
    #rec1229122266 .t830m__close.t830m__close_bg {
        background-color: unset !important;
    }
}

@media screen and (max-width: 640px) {
    .t830m__list {
        margin-top: 20px !important;
    }
}


/* =========================================================
   Footer
   ========================================================= */
.t981 {
    border-top: 1px solid #ededed;
}


/* =========================================================
   T657 / T902 / T1035 — карточки, реклама курса, видео
   ========================================================= */
.t657__wrapper {
    box-shadow: none !important;
}

.t902__btn-container.t902__btn-container_topmargin {
    margin-bottom: -10px !important;
}

@media screen and (min-width: 480px) and (max-width: 800px) {
    .t902__btn-container.t902__btn-container_topmargin {
        margin-bottom: -35px !important;
    }
}

.t1035__thumb-wrapper {
    border-radius: 12px !important;
    box-shadow: none !important;
}

.t1035__container {
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06),
                0 10px 25px rgba(0, 0, 0, 0.08) !important;
}


/* =========================================================
   Popup-форма — подпись телефона
   ========================================================= */
.t-popup .t-form [field="li_subtitle__8515988155112"],
.t-popup .t-form .t-input-group_ph .t-input-subtitle,
.t-popup .t-form .t-input-subtitle.t-descr.t-descr_xxs.t-opacity_70 {
    margin-bottom: 8px !important;
    color: #000 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    opacity: 1 !important;
}


/* =========================================================
   Tooltipster / T300 — подсказки
   ========================================================= */
.tooltipster-base {
    box-shadow: 0 0 0 1px rgba(189, 189, 189, 0.75),
                0 8px 18px rgba(0, 0, 0, 0.08) !important;
}

.tooltipster-arrow-top {
    display: none !important;
}

.t300__content-title {
    color: #0d0d0d !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
}

.t300__content-text {
    padding-top: 10px !important;
    color: #8f8f8f !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.33 !important;
}

/* =========================================================
   T830M — максимально близко к ChatGPT
   ========================================================= */

.t830m__close_icon span {
    display: none !important;
}

.t830m__close_icon {
    position: relative !important;
    width: 20px !important;
    height: 20px !important;
}

.t830m__close_icon::before,
.t830m__close_icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;

    width: 13px;
    height: 1.25px;

    background: rgb(64, 64, 64);
    border-radius: 999px;

    transform-origin: center;
    transition: background-color .15s ease;
}

.t830m__close_icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.t830m__close_icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

#rec1229001931 .t830m__close-button.t830m__close.t830m__close_bg,
#rec1229122266 .t830m__close-button.t830m__close.t830m__close_bg {
    width: 36px !important;
    height: 36px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 8px !important;

    background: transparent !important;
    transition: background-color .15s ease !important;
}

#rec1229001931 .t830m__close-button.t830m__close.t830m__close_bg:hover,
#rec1229122266 .t830m__close-button.t830m__close.t830m__close_bg:hover {
    background-color: rgb(242, 242, 242) !important;
}