.socials {
    /* background: rgba(11, 125, 9, .6); */
    background: #6db16c;
    border-radius: 20px;
}

.socials a {
    height: 60px;
}

.socials a:first-child {
    padding-bottom: 6px;
}

.socials a:last-child {
    padding-top: 6px;
}

.socials a:hover {
    background: rgba(11, 125, 9, 1);
}

@media screen and (max-width: 991px) {
    .socials {
        background: rgba(109, 177, 108, .9);
        display: flex;
    }
}

.content-info__box-button .btn {
    white-space: nowrap;
    width: max-content;
}

.header-contacts:after {
    content: '';
    position: absolute;
    top: calc(50% - 30px);
    right: -40px;
    width: 60px;
    height: 60px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../img/phone-bg.png');
}

@media screen and (min-width: 601px) and (max-width: 1201px) {
    .header-contacts:after {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .header-contacts:after {
        right: -20px;
    }
}

.contacts_popup {
    position: absolute;
    top: calc(100% + 10px);
    left: -20px;
    width: 270px;
    transition: .3s ease all;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.contacts_popup._open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.contacts_popup_wrap {
    color: #111;
    background: #fff;
    border-radius: 16px;
    font-size: 14px;
    padding: 14px 16px;
}

.contacts_popup ._sep {
    background: #d5d5d5;
    height: 1px;
    margin: 15px 0;
}

.contacts_popup_socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.contacts_popup_socials a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #111;
}

.contacts_popup p + p {
    margin-top: 10px;
}

@media screen and (max-width: 600px) {

    .contacts_popup {
        top: unset;
        left: unset;
        bottom: 80px;
        right: -20px;
        width: calc(var(--window-width) - 50px);
    }
}


.wsp-container h2 {
    font-size: 18px;
    font-weight: bold;
    color: #111;
    margin: 10px 0;
}

.wsp-container a {
    display: inline-block;
    font-size: 14px;
    color: #111;
    margin-bottom: 5px;
}

/*  lang  */

.lang_pc {
    padding: 0 10px;
}

.arm_lang .wpml-ls-legacy-dropdown-click {
    width: max-content;
}

.arm_lang .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:after {
    width: 0;
    height: 0;
    content: '';
    border: 4px solid transparent;
    border-top: 4px solid #949495;
    border-bottom: 0;
}

.arm_lang .wpml-ls-legacy-dropdown-click a:hover, .arm_lang .wpml-ls-legacy-dropdown-click a:focus {
    background: #fff !important;
}

.js-wpml-ls-sub-menu.wpml-ls-sub-menu {
    overflow: hidden;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 1px 5px rgb(0 0 0 / 50%);
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-link {
    padding: 10px;
}

.lang_mobile {
    display: none;
}

@media screen and (max-width: 991px) {
    .lang_pc {
        display: none;
    }

    .lang_mobile {
        display: block;
        margin-bottom: 20px;
    }
}


.work_time {
    font-size: 12px;
    line-height: 14px;
    color: #C6C6C6;
}

.cost-box__discount-text li {
    list-style: disc;
    width: max-content;
    max-width: 100%;
    text-align: left;
}

@media screen and (max-width: 600px) {
    .cost-box__discount-text ul {
        padding-left: 15px;
    }
}


.main-text__content p,
.main-text__content ul,
.main-text__content ol {
    margin-top: 1rem;
}

.footer-socials a img {
    width: 34px;
}


@media screen and (min-width: 768px) {
    .footer-contacts {
        padding-right: 10px;
    }

    .footer-socials a img {
        width: 20px;
    }

}


.styled_table {
    border-collapse: collapse;
    border-spacing: 0;
    display: block;
    overflow-x: auto;
}

.styled_table td {
    padding: 10px;
    border: 1px solid #cdd3db;
}

.styled_table_heading tr:first-child td {
    background: #ffeb99;
    color: #000;
}


.quote_text {
    background: #EAF9ED;
    border-left: 4px solid #08BF0F;
    padding: 16px;
    margin: 16px 0;
}


.reviews-box:has(.main-reviews__box-stars) .reviews-box__bottom {
    flex-wrap: wrap;
}

.reviews-box .main-reviews__box-stars {
    width: 100%;
}


.main-reviews__box-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.main-reviews__box-stars__title {
    line-height: 1;
    margin-right: 4px;
}

@media screen and (min-width: 768px) {
    .course-popular + .section.main-reviews {
        padding-bottom: 0;
    }
}


@media screen and (max-width: 767px) {
    .head.head-sm.head-category {
        height: 145px;
    }
}


.categories_nav {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.categories_nav_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 40px;
    font-size: 16px;
}

.categories_nav_item {
    display: block;
    position: relative;
    color: #000 !important;
    font-size: 16px;
    transition: .3s ease all;
}

.categories_nav_item::before {
    content: '';
    position: absolute;
    background: #FFCA28;
    top: calc(100% + 2px);
    left: 0;
    width: 0;
    height: 4px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.categories_nav_item._active::before {
    width: 100%;
}

.categories_nav_item:not(._active):hover {
    color: #FFCA28 !important;
    /* text-decoration: underline; */
}


@media screen and (max-width: 991px) {
    .categories_nav_wrap {
        gap: 12px 20px;
    }
}


.blog_teacher_link {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 30px;
}

.blog_teacher_link img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 !important;
}

@media screen and (max-width: 991px) {
    .blog_teacher_link {
        margin-bottom: 16px;
    }
}


.content-text table {
    margin: 1rem 0;
}

.course-info__button.course-info__button__code {
    margin: 30px auto;
}

.course-info__button.course-info__button__code a {
    color: #111111 !important;
    text-decoration: none !important;
}

.course-box__text img,
.main-text__content img,
.course-text img,
.course-info__box-text img {
    margin-left: 20px;
}

@media screen and (max-width: 767px) {
    .course-box__text img,
    .main-text__content img,
    .course-text img,
    .course-info__box-text img {
        float: none!important;
        width: 100%;
        height: auto;
        margin-bottom: 15px;
        margin-left: 0;
    }
}