﻿/* Костыль для исправления пролемы, когда в админке в редакторе вставляют текст из файлов, и применяется форматирование */
span[style="font-weight: 400;"] {
    font-weight: inherit !important;
}

.size-28.center {
    font-weight: 500;
}

.footer {
    background-color: var(--light);
    padding-bottom: clamp(24px, 5vw, 56px);
}
.parent-page-course__first-screen {
    position: relative;
}
.parent-page-course__first-screen > .panel-grid-cell:nth-of-type(1) {
    flex: 0 0 30%;
}
.parent-page-course__first-screen > .panel-grid-cell:nth-of-type(2) {
    flex: 0 0 70%;
}
.parent-page-course__first-screen > .panel-grid-cell img {
    border-radius: 32px;
    overflow: hidden;
}
.parent-page-course-first-screen_right-column {
    display: flex;
    flex-wrap: wrap;
}
.parent-page-course-first-screen_right-column
.parent-page-course-first-screen_right-column .panel-first-child {
    width: 100%;
}
.parent-page-course-first-screen_right-column .widget_media_image {
    width: 60%;
}
.parent-page-course-first-screen_right-column .widget_media_image ~ .widget_media_image {
    width: 40%;
    position: relative;
}
.parent-page-course-first-screen_right-column .widget_media_image ~ .widget_media_image:after {
    content: "";
    display: block;
    width: 133px;
    height: 144px;
    background: url(../../../uploads/2024/07/graphic-icon-10.svg);
    position: absolute;
    background-size: 100% 100%;
    right: 0;
    top: 140px;
}

.round-image-width-decorations img {
    border: 5px solid #fff;
    margin-left: -60px;
    border-radius: 50% !important;
    overflow: hidden;
}

/* */
.course-page__first-screen {
    align-items: center;
}
.course-page__first-screen > .panel-grid-cell:nth-of-type(1) {
    flex: 0 0 45%;
    max-width: 561px;
}
.course-page__first-screen > .panel-grid-cell:nth-of-type(2) {
    flex: 0 0 55%;
}
.parent-page-course-first-screen_right-column {
    display: flex;
    flex-wrap: wrap;
}
.course-page__first-screen .mobile-image {
    display: none;
}

/* */
.text-image-container_type-2 {
    align-items: center;
}
.text-image-container_type-2 > .panel-grid-cell:nth-of-type(1) {
    flex: 0 0 60%;
}
.text-image-container_type-2 > .panel-grid-cell:nth-of-type(2) {
    flex: 0 0 40%;
}


/* */

.container__text-and-image_type-1 > .panel-grid-cell:nth-of-type(1) {
    flex: 0 0 60%;
}
.container__text-and-image_type-1 > .panel-grid-cell:nth-of-type(2) {
    flex: 0 0 40%;
}

/* */
.custom-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.custom-list ul li {
    margin-bottom: 12px;
    font-size: clamp(16px, 1.8vw, 18px);
    display: flex;
    position: relative;
    padding-left: 30px;
}
.custom-list ul li:last-child {
    margin-bottom: 0;
}
.custom-list.custom-list__yellow-stars ul li:before {
    content: "";
    width: 24px;
    height: 24px;
    background: url('../../../uploads/icons/list-icon-yellow.svg') center center no-repeat;
    display: inline-block;
    position: absolute;
    left: 0
}
.custom-list.custom-list__green-stars ul li:before {
    content: "";
    width: 24px;
    height: 24px;
    background: url('../../../uploads/icons/list-icon-green.svg') center center no-repeat;
    display: inline-block;
    position: absolute;
    left: 0
}
.custom-list.custom-list__purple-stars ul li:before {
    content: "";
    width: 24px;
    height: 24px;
    background: url('../../../uploads/icons/list-icon-purple.svg') center center no-repeat;
    display: inline-block;
    position: absolute;
    left: 0
}
.custom-list.custom-list__blue-stars ul li:before {
    content: "";
    width: 24px;
    height: 24px;
    background: url('../../../uploads/icons/list-icon-blue.svg') center center no-repeat;
    display: inline-block;
    position: absolute;
    left: 0
}
.custom-list.custom-list__red-stars ul li:before {
    content: "";
    width: 24px;
    height: 24px;
    background: url('../../../uploads/icons/list-icon-red.svg') center center no-repeat;
    display: inline-block;
    position: absolute;
    left: 0
}

/* */
.buttons-container .panel-grid-cell {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
/* */
.content-block-type-1 {
    align-items: center;
    margin-bottom: 40px;
}
.content-block-type-1 > .panel-grid-cell:nth-of-type(1) {
    flex: 0 0 51%;
}
.content-block-type-1 > .panel-grid-cell:nth-of-type(2) {
    flex: 0 0 49%;
}
.heading-with-bg-type-1 {
    padding: 38px 40px 28px 66px;
    font-size: 28px;
    font-weight: 500;
    background: url('../../../uploads/icons/small-round-bg.svg') left center no-repeat;
    margin-bottom: 12px;
    position: relative;
}
.heading-with-bg-type-1:before{
    content: "";
    display: inline-block;
    width: 77px;
    height: 34px;
    position: absolute;
    background: url('../../../uploads/icons/purple-arrow-left.svg') left center no-repeat;
    top: 0;
    left: 180px;
}
.heading-with-bg-type-1.red:before {
    background: url('../../../uploads/icons/red-arrow-left.svg') left center no-repeat;
}
.heading-with-bg-type-1.blue:before {
    background: url('../../../uploads/icons/blue-arrow-left.svg') left center no-repeat;
}
.heading-with-bg-type-1.yellow:before {
    background: url('../../../uploads/icons/yellow-arrow-left.svg') left center no-repeat;
}
.content-block-type-2 {
    margin-bottom: 40px;
}
.content-block-type-2 > .panel-grid-cell {
    flex: 0 0 33%;
}
.content-block-type-2 .custom-list {
    max-width: 415px;
}



/* */
.sow-tabs-tab-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 50px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
/* Hide scrollbar for Chrome, Safari and Opera */
.sow-tabs-tab-container::-webkit-scrollbar {
    display: none;
}
.sow-tabs-tab {
    font-size: clamp(28px, 3.2vw, 32px);
    padding: 8px;
    font-weight: 700;
    cursor: pointer;
    color: var(--gray);
    white-space: nowrap;
}
.sow-tabs-tab.sow-tabs-tab-selected {
    border-bottom: 2px solid var(--green);
    color: var(--dark);
}
.tabs-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    max-width: 1020px;
    margin: 0 auto;
}
.tabs-item > .panel-grid-cell:nth-of-type(1) {
    width: 100%;
}
.tabs-item > .panel-grid-cell:nth-of-type(2) {
    width: 100%;
}

/* */
.course-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}
.course-list .course-item {
    width: calc(50% - 10px);
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 10px;
    position: relative;
}
.course-list .course-item:after {
    content: "";
    display: block;
    top: 0;
    right: 0;
    position: absolute;
    width: 78%;
    height: 100%;
    border: 2px solid var(--pink);
    border-radius: 12px;
    z-index: -1;
    background-color: #fff;
    background-image:
        linear-gradient(to right, rgba(255,255,255,1) 60%, rgba(255,255,255,0.6) 100%),
        linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.6) 100%),
        url('../../../uploads/2024/07/grid-bg-1.webp');
}
.course-item .course-thumbnail {
    width: 100%;
    max-width: 232px;
    line-height: 0;
    position: relative;
    background: url('../../../uploads/2024/07/graphic-icon.svg') left bottom no-repeat;
    flex-shrink: 0;
}
.course-item .course-thumbnail img {
    height: auto;
    position: relative;
    z-index: 3;
    border-radius: 50%;
    overflow: hidden;
}
.course-item .course-thumbnail:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: url(../../../uploads/icons/graphic-20.svg) no-repeat center;
    background-size: auto auto;
    width: 62px;
    height: 57px;
    z-index: 2;
}
.course-item .course-thumbnail:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: url(../../../uploads/icons/graphic-21.svg) no-repeat center;
    background-size: auto auto;
    width: 62px;
    height: 57px;
    z-index: 4;
}
.course-item .course-content {
    padding: 24px 24px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}
.course-item .course-content__title-and-text {
    margin-bottom: 8px;
}
.course-item .course-title {
    font-size: clamp(18px, 2vw, 20px);
    font-weight: 600;
    margin-bottom: 4px;
    position: relative;
}
.course-item .course-title:before {
    content: "";
    display: inline-block;
    position: relative;
    top: -8px;
    right: -8px;
    width: 54px;
    height: 28px;
    background: url(../../../uploads/icons/icon-arrow-right.svg) no-repeat center;
    float: right;
}
.course-item .course-title:after {
    content: "";
    clear: both;
    display: block;
}
.course-item .course-title a {
    display: inline;
}
.course-item .course-excerpt {
    font-size: 16px;
}
.course-list.links-list .course-item .course-title:before {
    display: none;
}

/* */

.link-list > .panel-grid-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    padding: 0;
}
.link-list > .panel-grid-cell > .so-panel {
    width: calc(50% - 10px);
}
.link-list .link-item .panel-grid {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 10px;
    position: relative;
}
.link-list .link-item .panel-grid:after {
    content: "";
    display: block;
    top: 0;
    right: 0;
    position: absolute;
    width: 78%;
    height: 100%;
    border: 2px solid var(--pink);
    border-radius: 12px;
    z-index: -1;
    background: #fff;
    background-image:
        linear-gradient(to right, rgba(255,255,255,1) 60%, rgba(255,255,255,0.6) 100%),
        linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.6) 100%),
        url('../../../uploads/2024/07/grid-bg-1.webp');
}
.link-item .panel-grid > .panel-grid-cell:nth-of-type(1) {
    width: 100%;
    max-width: 232px;
    line-height: 0;
    position: relative;
    background: url('../../../uploads/2024/07/graphic-icon.svg') left bottom no-repeat;
    flex-shrink: 0;
    padding: 0;
}
.link-item .panel-grid > .panel-grid-cell:nth-of-type(1) img {
    height: auto;
    position: relative;
    z-index: 3;
    border-radius: 50%;
    overflow: hidden;
}
.link-item .panel-grid > .panel-grid-cell:nth-of-type(1):before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: url(../../../uploads/icons/graphic-20.svg) no-repeat center;
    background-size: auto auto;
    width: 62px;
    height: 57px;
    z-index: 2;
}
.link-item .panel-grid > .panel-grid-cell:nth-of-type(1):after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: url(../../../uploads/icons/graphic-21.svg) no-repeat center;
    background-size: auto auto;
    width: 62px;
    height: 57px;
    z-index: 4;
}
.link-item .panel-grid > .panel-grid-cell:nth-of-type(2) {
    padding: 24px 24px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}
.link-item .panel-grid > .panel-grid-cell:nth-of-type(2) .widget_text {
    margin-bottom: 24px;
    position: relative;
}
.link-item .panel-grid > .panel-grid-cell:nth-of-type(2) .widget_text:after {
    content: "";
    display: block;
    position: absolute;
    top: -8px;
    right: -8px;
    width: 54px;
    height: 28px;
    background: url(../../../uploads/icons/icon-arrow-right.svg) no-repeat center;
}
.link-item .panel-grid > .panel-grid-cell:nth-of-type(2) .widget_text .widget-title {
    font-size: clamp(18px, 2vw, 20px);
    font-weight: 600;
    margin-bottom: 4px;
}
.link-item .panel-grid > .panel-grid-cell:nth-of-type(2) .widget_text .textwidget {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 4px;
}

/* */
.post-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.post-template-default .post-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}
.post-list .post-item {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 12px;
    position: relative;
    padding: 24px;
    border: 2px solid var(--yellow);
    border-radius: 32px;
    background-color: #fff;
    background-image:
        linear-gradient(to right, rgba(255,255,255,1) 70%, rgba(255,255,255,0.6) 100%),
        linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.6) 100%),
        url('../../../uploads/bg/base-grid_500.webp');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 600px auto;
}
.post-list .post-item:nth-child(1) {
    grid-area: 1 / 1 / 3 / 2;
    align-self: flex-start;
    margin-top: 33px;
    flex-direction: column;
    position: relative;
}
.post-list .post-item:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
    border-color: var(--blue);
}
.post-list .post-item:nth-child(3) {
    grid-area: 2 / 2 / 3 / 3;
    border-color: var(--red);
}
.post-list .post-list__button.desktop {
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: -92px;
    left: 0;
}
.post-list .post-list__button.mobile {
    display: none;
}
.post-item .post-thumbnail {
    width: 100%;
    max-width: 197px;
    max-height: 240px;
    line-height: 0;
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    flex-shrink: 0;
}
.post-list .post-item:nth-child(1) .post-thumbnail {
    max-height: 230px;
    max-width: none;
}
.post-template-default .post-list .post-item {
    margin-top: 0;
    flex-direction: row;
    width: calc(50% - 10px)
}
.post-template-default .post-list .post-item .post-thumbnail {
    max-width: 197px;
    max-height: 240px;
}
.post-template-default .post-list__button,
.post-template-default .post-list.mobile-post-list {
    display: none !important;
}
.post-list__button.mobile {
    display: none;
}
.post-list .post-item.horizontal .post-thumbnail {
    max-width: none;
}
.post-item .post-thumbnail img {
    position: relative;
    z-index: 3;
    object-fit: cover;
    border-radius: 32px;
    overflow: hidden;
}
.post-item .post-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}
.post-item .post-content__title-and-text {
    margin-bottom: 32px;
}
.post-item .post-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}
.post-item .post-excerpt {
    font-size: 16px;
    font-weight: 00;
    margin-bottom: 4px;
}
.post-list.mobile-post-list {
    display: none;
}
.post-list.mobile-post-list .post-item {
    flex-shrink: 0;
}
.mobile-post-list-pagination {
    margin-top: 24px;
    text-align: center;
}
.mobile-post-list-pagination .swiper-pagination-bullet {
    width: 35px;
    height: 4px;
    background-color: var(--green);
    border-radius: 2px;
}

/* */
.contact-form-container > .panel-grid-cell {
    flex: 0 0 50%;
    overflow: hidden;
}


/* */
.advantages-container {
    flex-wrap: nowrap;
    justify-content: center;
}
.advantages-container > .panel-grid-cell {
    flex: 0 0 25%;
    text-align: center;
    padding: 12px 22px 12px;
}
.advantages-container > .panel-grid-cell:nth-of-type(2),
.advantages-container > .panel-grid-cell:nth-of-type(4) {
    padding-top: 88px;
}
.advantages-container .heading {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 500;
    margin-bottom: 6px;
}
.advantages-container .text {
    font-size: clamp(16px, 2vw, 18px);
}


/* */
.steps-container {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    justify-content: center;
    padding-bottom: 30px;
    position: relative;
}
.steps-container:after {
    content: "";
    width: 87%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: url(../../../uploads/bg/circle-bg.svg) bottom center no-repeat;
    z-index: -1;
}
.steps-container .image {
    border-radius: 32px;
    overflow: hidden;
}
.steps-container .mobile-image {
    display: none;
}
.steps-container > .panel-grid-cell:nth-of-type(1) {
    grid-area: 1 / 3 / 2 / 8;
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    padding: 0;
}
.steps-container > .panel-grid-cell:nth-of-type(1):before {
    content: "";
    position: absolute;
    top: 0;
    left: -82px;
    width: 163px;
    height: 143px;
    background: url(../../../uploads/icons/graphic-icon-40.svg) bottom center no-repeat;
    background-size: 100% 100%;
    z-index: 1;
}
.steps-container > .panel-grid-cell:nth-of-type(1) > .widget_text {
    position: relative;
    z-index: 1;
    margin-right: -30px;
}
.steps-container > .panel-grid-cell:nth-of-type(2) {
    grid-area: 2 / 1 / 3 / 5;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
}
.steps-container > .panel-grid-cell:nth-of-type(2) > .widget_text {
    position: relative;
    z-index: 1;
    margin-left: -30px;
}
.steps-container > .panel-grid-cell:nth-of-type(3) {
    grid-area: 1 / 8 / 2 / 11;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    justify-self: flex-end;
    margin-bottom: -120px;
    margin-top: 60px;
}
.steps-container > .panel-grid-cell:nth-of-type(3) > .widget_text {
    position: relative;
    z-index: 1;
    margin-top: -40px;
    margin-left: -30px;
}
.steps-container > .panel-grid-cell:nth-of-type(4) {
    grid-area: 2 / 6 / 3 / 10;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 0;
    margin-left: -50px;
}
.steps-container > .panel-grid-cell:nth-of-type(4) > .widget_text {
    position: relative;
    z-index: 1;
    margin-bottom: -50px;
    margin-left: -30px;
}
.steps-container .content .textwidget {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    padding: 24px;
    max-width: 281px;
    gap: 24px;
    border: 2px solid var(--yellow);
    border-radius: 12px;
    background-color: #fff;
    background-image:
        linear-gradient(to right, rgba(255,255,255,1) 60%, rgba(255,255,255,0.6) 100%),
        linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.6) 100%),
        url('../../../uploads/2024/07/grid-bg-1.webp');
}
.steps-container .content .textwidget p {
    flex-shrink: 0;
}
.steps-container > .panel-grid-cell:nth-of-type(2) .content .textwidget {
    border-color: var(--red)
}
.steps-container > .panel-grid-cell:nth-of-type(3) .content .textwidget {
    border-color: var(---light-violet)
}
.steps-container > .panel-grid-cell:nth-of-type(4) .content .textwidget {
    border-color: var(--green)
}


/* */
.banner_type-1 {
    position: relative;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    background-color: var(--red);
    border-radius: 32px;
    padding: 60px 40px 0 40px;
    margin-top: 200px;
}
.banner_type-1 > .panel-grid-cell:nth-of-type(1) {
    flex: 0 0 30%;
}
.banner_type-1 > .panel-grid-cell:nth-of-type(2) {
    flex: 0 0 30%;
}
.banner_type-1 > .panel-grid-cell:nth-of-type(3) {
    flex: 0 0 40%;
}
.banner_type-1 .curvy-arrow {
    text-align: center;
    margin-bottom: 40px;
}
.banner_type-1 .border-radius-block-2 {
    position: absolute;
    top: -18px;
    right: 15px;
}
.banner_type-1__image {
    margin-top: -141px;
    line-height: 0;
}


.banner_type-2 {
    position: relative;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    background-color: var(--red);
    border-radius: 32px;
    padding: 40px 40px 0 0;
    margin-top: 120px;
}
.banner_type-2:before {
    content: "+";
    display: block;
    width: 100%;
    position: absolute;
    left: 0;
    top: -100px;
    font-size: 64px;
    font-family: 'Russo One';
    text-align: center;
}
.banner_type-2 > .panel-grid-cell:nth-of-type(1) {
    flex: 0 0 35%;
}
.banner_type-2 > .panel-grid-cell:nth-of-type(2) {
    flex: 0 0 37%;
}
.banner_type-2 > .panel-grid-cell:nth-of-type(3) {
    flex: 0 0 28%;
}
.banner_type-2 .curvy-arrow {
    text-align: center;
    margin-bottom: 32px;
}
.banner_type-2 .border-radius-block-2 {
    position: absolute;
    top: -18px;
    right: 15px;
}
.banner_type-2__image {
    margin-top: -90px;
    line-height: 0;
}



.banner_type-3 {
    position: relative;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    background-color: var(--red);
    border-radius: 32px;
    padding: 24px 40px 0 0;
    margin-top: 120px;
}
.banner_type-3 > .panel-grid-cell:nth-of-type(1) {
    flex: 0 0 43%;
    padding-left: 0;
}
.banner_type-3 > .panel-grid-cell:nth-of-type(2) {
    flex: 0 0 57%;
}
.banner_type-3 .curvy-arrow {
    text-align: center;
    margin-top: 12px;

}
.banner_type-3 .border-radius-block-1 {
    position: absolute;
    top: -35px;
    left: 10px;
    transform: scale(-1, 1);
}
.banner_type-3__image {
    margin-top: -34px;
    line-height: 0;
}
.banner_type-3__button {
    position: absolute;
    bottom: 9px;
    right: 6px;
}



.banner_type-4 {
    position: relative;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    background-color: var(--red);
    border-radius: 32px;
    padding: 32px 40px 0 40px;
    margin-top: 200px;
}
.banner_type-4 > .panel-grid-cell:nth-of-type(1) {
    flex: 0 0 28%;
}
.banner_type-4 > .panel-grid-cell:nth-of-type(2) {
    flex: 0 0 39%;
}
.banner_type-4 > .panel-grid-cell:nth-of-type(3) {
    flex: 0 0 33%;
}
.banner_type-4 .curvy-arrow {
    text-align: center;
    margin-bottom: 24px;
}
.banner_type-4 .border-radius-block-2 {
    position: absolute;
    top: -18px;
    right: 15px;
}
.banner_type-4__image {
    margin-top: -141px;
    line-height: 0;
}
.banner_type-4__button {
    position: absolute;
    bottom: 10px;
    left: 0;
}



.banner_type-5 {
    position: relative;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    background-color: var(--red);
    border-radius: 32px;
    padding: 40px 1px 0 40px;
    margin-top: 120px;
}
.banner_type-5 > .panel-grid-cell:nth-of-type(1) {
    flex: 0 0 30%;
    padding-left: 0;
}
.banner_type-5 > .panel-grid-cell:nth-of-type(2) {
    flex: 0 0 30%;
}
.banner_type-5 > .panel-grid-cell:nth-of-type(3) {
    flex: 0 0 40%;
}
.banner_type-5 .curvy-arrow {
    text-align: center;
    margin-top: 12px;
    margin-bottom: 36px;
}
.banner_type-5 .border-radius-block-1 {
    position: absolute;
    top: -35px;
    left: 10px;
    transform: scale(-1, 1);
}
.banner_type-5__image {
    margin-top: -136px;
    line-height: 0;
}
.banner_type-5 .border-radius-block-2 {
    position: absolute;
    top: -18px;
    right: 15px;
}
.banner_type-5__button {
    position: absolute;
    bottom: 9px;
    left: 6px;
}



.banner_type-6 {
    position: relative;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    background-color: var(--blue);
    background-image:
        linear-gradient(to right, rgba(52, 196, 236, 0.95) 0%, rgba(52, 196, 236, 0.99) 50%, rgba(52, 196, 236, 0.95) 100%),
        url(../../../uploads/bg/base-grid.webp),
        linear-gradient(to right, #34C4EC, #34C4EC);
    background-size: 100% 100%;
    border-radius: 32px;
    padding: 48px 15px 48px 45px;
    margin-top: -60px;
}
.banner_type-6 > .panel-grid-cell:nth-of-type(1) {
    flex: 0 0 43%;
    padding-left: 0;
}
.banner_type-6 > .panel-grid-cell:nth-of-type(2) {
    flex: 0 0 57%;
}
.banner_type-6 h2 {
    margin-bottom: 12px;
}
.banner_type-6__image {
    margin-top: -100px;
    margin-bottom: -100px;
    line-height: 0;
}


.banner_type-7 {
    position: relative;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    background-color: var(--red);
    border-radius: 32px;
    padding: 24px 40px 0 0;
    margin-top: 120px;
}
.banner_type-7 > .panel-grid-cell:nth-of-type(1) {
    flex: 0 0 43%;
    padding-left: 0;
}
.banner_type-7 > .panel-grid-cell:nth-of-type(2) {
    flex: 0 0 57%;
}
.banner_type-7 .curvy-arrow {
    text-align: center;
    margin-top: 12px;
}
.banner_type-7 .border-radius-block-1 {
    position: absolute;
    top: -35px;
    left: 10px;
    transform: scale(-1, 1);
}
.banner_type-7__image {
    margin-top: -52px;
    line-height: 0;
}
.banner_type-7__button {
    position: absolute;
    bottom: 15px;
    right: 6px;
}

/* */
.price-container-2-columns {
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: nowrap;
    margin-bottom: 20px;
    justify-content: center;
}
.price-container-2-columns > .panel-grid-cell {
    padding: 24px 31px;
    border: 1px solid var(--grey);
    border-radius: 32px;
    text-align: center;
    width: 50%;
    background-color: #fff;
}
.price-container-2-columns.price-container-2-columns__1-column > .panel-grid-cell {
    width: 100%;
    max-width: 415px;
}
.price-container-2-columns > .panel-grid-cell .widget_media_image {
    margin-bottom: 24px;
}
.price-container-2-columns > .panel-grid-cell .heading {
    font-size: clamp(20px, 2.8vw, 28px);
    font-weight: 500;
    margin-bottom: 12px;
}
.price-container-2-columns > .panel-grid-cell .list {
    margin-bottom: 12px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.price-container-2-columns > .panel-grid-cell .list ul {
    padding: 0;
    margin: 0;
}
.price-container-2-columns > .panel-grid-cell .list li {
    list-style: none;
    padding: 0;
}
.price-container-2-columns > .panel-grid-cell .list li:after {
    content: "";
    display: block;
    margin: 8px auto;
    height: 0.8px;
    background-color: var(--grey);
    width: 100%;
    max-width: 220px;
}
.price-container-2-columns > .panel-grid-cell .list li:last-child:after {
    display: none;
}
.price-container-2-columns > .panel-grid-cell .widget_media_image {
    margin-bottom: 24px;
}
.price-container-2-columns > .panel-grid-cell .price p {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
}
.price-container-2-columns > .panel-grid-cell .price p em {
    font-size: 20px;
    color: var(--gray);
    text-decoration: line-through;
    font-style: normal;
}
.price-container-2-columns > .panel-grid-cell .price p strong {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
}
.price-container-2-columns > .panel-grid-cell .price {
    margin-bottom: 24px;
}
.price-container-1-column > .panel-grid-cell .green-button,
.price-container-2-columns > .panel-grid-cell .green-button {
    background-color: var(--light-green);
    border: 3px solid var(--light-green);
}



.price-container-standart > .panel-grid-cell {
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: nowrap;
    margin-bottom: 20px;
    justify-content: center;
    padding: 0;
    width: 100%;
}

.price-container-standart > .panel-grid-cell > .so-panel {
    padding: 24px 31px;
    border: 1px solid var(--grey);
    border-radius: 32px;
    text-align: center;
    width: 50%;
    background-color: #fff;
}
.price-container-standart > .panel-grid-cell:has(:only-child) > .so-panel {
    width: 100%;
    max-width: 415px;
}
.price-container-standart > .panel-grid-cell:has(:only-child) > .so-panel > .panel-layout  {
    max-width: 260px;
    margin: 0 auto;
}
.price-container-standart > .panel-grid-cell > .so-panel .panel-grid-cell {
    padding: 0;
}
.price-container-standart > .panel-grid-cell .widget_media_image {
    margin-bottom: 24px;
}
.price-container-standart > .panel-grid-cell .heading {
    font-size: clamp(20px, 2.8vw, 28px);
    font-weight: 500;
    margin-bottom: 12px;
}
.price-container-standart > .panel-grid-cell .list {
    margin-bottom: 12px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.price-container-standart > .panel-grid-cell .list ul {
    padding: 0;
    margin: 0;
}
.price-container-standart > .panel-grid-cell .list li {
    list-style: none;
    padding: 0;
}
.price-container-standart > .panel-grid-cell .list li:after {
    content: "";
    display: block;
    margin: 8px auto;
    height: 0.8px;
    background-color: var(--grey);
    width: 100%;
    max-width: 220px;
}
.price-container-standart > .panel-grid-cell .list li:last-child:after {
    display: none;
}
.price-container-standart > .panel-grid-cell .widget_media_image {
    margin-bottom: 24px;
}
.price-container-standart > .panel-grid-cell .price p {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
}
.price-container-standart > .panel-grid-cell .price p em {
    font-size: 20px;
    color: var(--gray);
    text-decoration: line-through;
    font-style: normal;
}
.price-container-standart > .panel-grid-cell .price p strong {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
}
.price-container-standart > .panel-grid-cell .price {
    margin-bottom: 24px;
}
.price-container-standart  > .panel-grid-cell .green-button {
    background-color: var(--light-green);
    border: 3px solid var(--light-green);
}


.price-container-1-column {
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
}
.price-container-1-column > .panel-grid-cell {
    padding: 24px 26px;
    border: 3px solid var(--yellow);
    border-radius: 32px;
    text-align: center;
    background-color: #fff;
}
.price-container-1-column > .panel-grid-cell .widget_media_image {
    margin-bottom: 24px;
}
.price-container-1-column > .panel-grid-cell .heading {
    font-size: clamp(20px, 2.8vw, 28px);
    font-weight: 500;
    margin-bottom: 12px;
}
.price-container-1-column > .panel-grid-cell .list {
    margin-bottom: 32px;
}
.price-container-1-column > .panel-grid-cell .list ul {
    padding: 0;
    margin: 0;
}
.price-container-1-column > .panel-grid-cell .list li {
    list-style: none;
    padding: 0;
}
.price-container-1-column > .panel-grid-cell .list li:after {
    content: "";
    display: block;
    margin: 8px auto;
    height: 0.8px;
    background-color: var(--grey);
    width: 100%;
    max-width: 495px;
}
.price-container-1-column > .panel-grid-cell .list li:last-child:after {
    display: none;
}
.price-container-1-column > .panel-grid-cell .list li a {
    color: var(--blue);
    text-decoration: underline;
    font-size: 18px;
}
.price-container-1-column > .panel-grid-cell .widget_media_image {
    margin-bottom: 24px;
}
.price-container-1-column > .panel-grid-cell .price p {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
}
.price-container-1-column > .panel-grid-cell .price p em {
    font-size: 20px;
    color: var(--gray);
    text-decoration: line-through;
    font-style: normal;
}
.price-container-1-column > .panel-grid-cell .price p strong {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
}
.price-container-1-column > .panel-grid-cell .price {
    margin-bottom: 24px;
}


/* */
.teachers-list {
    display: flex;
    justify-content: center;
    align-items: flex-start
}
.teachers-list.one .teachers-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    max-width: 708px;
    padding: 24px;
    position: relative;
}
.teachers-list.one .teachers-content:before {
    content: "";
    display: block;
    position: relative;
    top: -24px;
    width: 100%;
    height: 155px;
    background: url(../../../uploads/icons/graphic-1.svg) no-repeat center;
    background-size: auto auto;
    z-index: -1;
}
.teachers-list.one .teachers-content {
    max-width: 280px;
    position: relative;
}
.teachers-list .teachers-thumbnail {
    border-radius: 32px;
    overflow: hidden;
}
.teachers-list .teachers-thumbnail img {
    width: 100%;
    height: auto;
}
.teachers-list.one .teachers-content .teachers-title {
    font-size: 28px;
    margin-bottom: 6px;
    font-weight: 500;
}
.teachers-list .teachers-content .teachers-excerpt {
    font-size: 18px;
}
.teachers-list-container {
    position: relative;
    margin: 0 -48px;
    padding: 0 48px;
}
.teachers-list-container .teachers-button-prev {
    width: 32px;
    height: 100%;
    background: url(../../../uploads/icons/arrow-long-circle-left.svg) center center no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    z-index: 1;
    opacity: 0.6;
    transition: 0.3s;
}
.teachers-list-container .teachers-button-next {
    width: 32px;
    height: 100%;
    background: url(../../../uploads/icons/arrow-long-circle-left.svg) center center no-repeat;
    transform: rotate(180deg);
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    z-index: 1;
    opacity: 0.6;
    transition: 0.3s;
}
.teachers-list-container .teachers-button-prev:hover,
.teachers-list-container .teachers-button-next:hover {
    opacity: 1;
}


.teachers-list.more-than-one {
    gap: 20px;
}
.teachers-list.more-than-one .teachers-item {
    width: calc(100% / 3 - 10px);
}
.teachers-list.more-than-one .teachers-thumbnail {
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}
.teachers-list.more-than-one .teachers-content .teachers-title {
    font-size: 28px;
    margin-bottom: 6px;
    font-weight: 500;
    margin-top: clamp(12px, 1.8vw, 18px);
}


.teachers-list.teachers-slider {
    overflow: hidden;
    gap: 0;
    display: block;
}
.teachers-list.teachers-slider .teachers-item {
    flex-shrink: 0;
}
.teachers-pagination {
    margin-top: 24px;
    text-align: center;
}
.teachers-pagination .swiper-pagination-bullet {
    width: 35px;
    height: 4px;
    background-color: var(--green);
    border-radius: 2px;
}
/* */

/* */
.why-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    padding-bottom: 30px;
    position: relative;
}
.why-container .image {
    border-radius: 32px;
    overflow: hidden;
}
.why-container .mobile-image {
    display: none;
}
.why-container > .panel-grid-cell:nth-of-type(1) {
    grid-area: 1 / 2 / 2 / 8;
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
}
.why-container > .panel-grid-cell:nth-of-type(1) > .widget_text {
    z-index: 1;
    position: relative;
    width: 70%;
    flex-shrink: 0;
}
.why-container > .panel-grid-cell:nth-of-type(1) > .widget_media_image.panel-first-child {
    z-index: 2;
    position: relative;
    width: 33%;
    flex-shrink: 0;
    left: -3%;
}
.why-container > .panel-grid-cell:nth-of-type(1):before {
    content: "";
    display: block;
    position: absolute;
    bottom: -21px;
    right: -39px;
    width: 120px;
    height: 125px;
    background: url(../../../uploads/2024/07/graphic-icon-40.svg) no-repeat center;
    background-size: 100% auto;
    z-index: 5;
}
.why-container > .panel-grid-cell:nth-of-type(2) {
    grid-area: 1 / 8 / 3 / 13;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 130px;
}
.why-container > .panel-grid-cell:nth-of-type(2) > .widget_text {
    margin-top: -30px;
}
.why-container > .panel-grid-cell:nth-of-type(2):before {
    content: "";
    display: block;
    position: absolute;
    top: 50px;
    left: 0;
    width: 138px;
    height: 155px;
    background: url(../../../uploads/icons/graphic-1.svg) no-repeat center;
    background-size: 100% auto;
}
.why-container > .panel-grid-cell:nth-of-type(3) {
    grid-area: 2 / 1 / 3 / 8;
    display: flex;
    justify-content: flex-start;
    padding-top: 20px
}
.why-container > .panel-grid-cell:nth-of-type(3) > .widget_text {
    z-index: 2;
    position: relative;
    width: 75%;
    flex-shrink: 0;
    left: -4%;
}
.why-container > .panel-grid-cell:nth-of-type(3) > .widget_media_image.panel-first-child {
    z-index: 1;
    position: relative;
    width: 29%;
    flex-shrink: 0;
    top: -88px;
}
.why-container .content .textwidget {
    padding: 24px;
    gap: 24px;
    border: 2px solid var(--green);
    border-radius: 12px;
    background: #fff;
    background-image:
        linear-gradient(to right, rgba(255,255,255,1) 60%, rgba(255,255,255,0.6) 100%),
        linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.6) 100%),
        url('../../../uploads/bg/base-grid_500.webp');
    background-repeat: no-repeat;
    background-position: top right;
}
.why-container .content .textwidget p {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}
.why-container > .panel-grid-cell:nth-of-type(2) .content .textwidget {
    border-color: var(--red)
}
.why-container > .panel-grid-cell:nth-of-type(3) .content .textwidget {
    border-color: var(--blue)
}


/* */
.results-list {
    overflow: hidden;
}
.results-list_navigation {
    justify-content: center;
    display: flex;
    align-items: center;
    max-width: 650px;
    width: 100%;
    margin: 32px auto 15px;
}
.results-list_navigation .results-button-prev {
    width: 32px;
    height: 32px;
    background: url(../../../uploads/icons/arrow-long-circle-left.svg) center center no-repeat;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}
.results-list_navigation .results-button-next {
    width: 32px;
    height: 32px;
    background: url(../../../uploads/icons/arrow-long-circle-left.svg) center center no-repeat;
    transform: rotate(180deg);
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}
.results-list_navigation .results-button-prev:hover,
.results-list_navigation .results-button-next:hover {
    opacity: 1;
}
.results-pagination {
    width: 550px;
    padding-bottom: 20px !important;
}
.results-pagination-slide {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    position: relative;
    transition-property: transform;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.results-pagination-slide img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}
.results-pagination-slide.swiper-slide-active img {
    width: 100px;
    height: 100px;
    box-shadow: 3px 4px 14.6px 0px #8651B770;
}
.results-pagination-slide.swiper-slide-active:before {
    content: "";
    display: inline-block;
    position: absolute;
    background: url(../../../uploads/icons/icon-form-21.svg) center center no-repeat;
    top: 0;
    right: 0;
    z-index: 1;
    width: 22px;
    height: 26px;
}
.results-pagination-slide.swiper-slide-active:after {
    content: "";
    display: inline-block;
    position: absolute;
    background: url(../../../uploads/icons/icon-form-20.svg) center center no-repeat;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 35px;
    height: 26px;
}
.results-list .result-item {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    padding: 24px 0;
    background: url(../../../uploads/bg/circle-bg-2.svg) 70% bottom  no-repeat;
}
.results-list .result-item .result-item__image {
    width: 30%;
}
.results-list .result-item .result-item__image img {
    border-radius: 50%;
    overflow: hidden;
    width: 100%;
    height: auto;
}
.result-item__image-container {
    position: relative;
}
.result-item__image-container:before {
    content: "";
    display: inline-block;
    position: absolute;
    background: url(../../../uploads/icons/icon-form-21.svg) center center no-repeat;
    top: 0;
    right: 0;
    z-index: 1;
    width: 71px;
    height: 82px;
    background-size: 100% 100%;
}
.result-item__image-container:after {
    content: "";
    display: inline-block;
    position: absolute;
    background: url(../../../uploads/icons/icon-form-22.svg) center center no-repeat;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 113px;
    height: 85px;
    background-size: 100% 100%;
}
.results-list .result-item .result-item__second-column {
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.results-list .result-item .result-item__second-column:before {
    content: "";
    display: block;
    width: 100%;
    height: 90px;
    background: url(../../../uploads/icons/yellow-arrow-down.svg) center center no-repeat;
    margin-bottom: 64px;
}
.results-list .result-item .result-item__third-column {
    width: 35%;
    padding-top: 56px;
}
.results-list .result-item__title {
    margin-top: 18px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 6px;
}
.results-list .result-item__age {
    text-align: center;
    font-weight: 500;
}
.results-list .result-text {
    background-color: #fff;
    border-radius: 12px;
    border: 2px solid var(---light-violet);
    padding: 24px 24px 12px;
    margin-bottom: 20px;
    background-color: #fff;
    background-image:
        linear-gradient(to right, rgba(255,255,255,1) 60%, rgba(255,255,255,0.6) 100%),
        linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.6) 100%),
        url('../../../uploads/2024/07/grid-bg-1.webp');
    background-position: right top;
}
.results-list .result-text .heading {
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 600;
    margin-bottom: 6px;
}
.results-list .result-item__third-column .result-text .heading {
    font-size: 24px;
}
.results-list .result-text ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.results-list .result-text ul li {
    margin-bottom: 12px;
    font-size: 18px;
    position: relative;
    padding-left: 30px;
}
.results-list .result-text ul li:before {
    content: "";
    width: 24px;
    height: 24px;
    background: url(../../../uploads/icons/list-icon-purple.svg) center center no-repeat;
    display: inline-block;
    position: absolute;
    left: 0;
}


/* */
div.gallery-item {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    background: url(../../../uploads/icons/graphic-13.svg) 70% top no-repeat;
    background-size: auto auto;
}
.gallery-image-item img {
    border-radius: 32px;
    overflow: hidden;
}
div.gallery-item .gallery-image-item:nth-of-type(1) {
    grid-area: 1 / 1 / 2 / 6;
}
div.gallery-item .gallery-image-item:nth-of-type(2) {
    grid-area: 1 / 6 / 2 / 9;
    display: flex;
    align-items: flex-end;
}
div.gallery-item .gallery-image-item:nth-of-type(3){
    grid-area: 1 / 10 / 3 / 13;
}
div.gallery-item .gallery-image-item:nth-of-type(4) {
    grid-area: 2 / 2 / 3 / 5;
}
div.gallery-item .gallery-image-item:nth-of-type(5) {
    grid-area: 2 / 5 / 3 / 10;
}


/* */
.reviews-display-container {
    position: relative;
    padding: 60px 52px 0;

}
.reviews-display-container:before {
    content: "";
    width: 126px;
    height: 126px;
    position: absolute;
    top: -40px;
    left: 20%;
    background: url('../../../uploads/icons/yellow-arrow-down-2.svg') center center no-repeat;
    z-index: -1;
    background-size: 100% 100%;
}
.reviews-display-container:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url('../../../uploads/bg/reviews-bg.svg') center center no-repeat;
    transform: rotate(-25deg);
    z-index: -1;
    background-size: 600px 700px;
}
.reviews-list {
    width: 100%;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    display: block;
}
.reviews-list__container.swiper-autoheight .swiper-wrapper {
    align-items: center;
    min-height: 650px;
}
.reviews-list .reviews-button-prev {
    width: 32px;
    height: 100%;
    background: url('../../../uploads/icons/arrow-long-circle-left.svg') center center no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    z-index: 2;
}
.reviews-list .reviews-button-next {
    width: 32px;
    height: 100%;
    background: url('../../../uploads/icons/arrow-long-circle-left.svg') center center no-repeat;
    transform: rotate(180deg);
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    z-index: 2;
}
.reviews-list .review-item {
    width: 391px;
    padding: 24px;
    border: 2px solid var(--green);
    border-radius: 32px;
    flex-shrink: 0;
    background-color: #fff;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 1) 70%, rgba(255, 255, 255, 0.6) 100%),
        linear-gradient(to top, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0.6) 100%),
        url(../../../uploads/bg/base-grid_500.webp);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 600px auto;
}
.reviews-list .review-item:nth-of-type(3n + 1) {
    border-color: var(--blue);
}
.reviews-list .review-item:nth-of-type(3n + 3) {
    border-color: var(--red);
}
.reviews-list .review-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}
.reviews-list .review-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}
.reviews-list .review-excerpt {
    margin-bottom: 12px;
}
.reviews-list .review-stars {
    margin-bottom: 24px;
}
.reviews-list .review-stars img {
    margin-right: 4px
}
.reviews-list .review-text {
    font-size: 18px;
}
.reviews-list .review-link {
    font-size: 18px;
    color: var(--blue);
    text-decoration: underline;
    margin-top: 24px;
    display: flex;
    align-items: center;
    cursor: pointer;
    display: none;
}
.reviews-list .swiper-slide-active .review-link {
    display: flex;
}
.reviews-list .review-link:after {
    content: "";
    background: url(../../../uploads/icons/blue-arrow-right.svg) no-repeat center;
    width: 35px;
    height: 19px;
    margin-left: 12px;
    display: inline-block;
}
.reviews-list .image-link .image {
    display: none;
}
.reviews-pagination {
    margin-top: 24px;
    text-align: center;
}
.reviews-pagination .swiper-pagination-bullet {
    width: 35px;
    height: 4px;
    background-color: var(--green);
    border-radius: 2px;
}



/* */
.video-reviews-display-container {
    position: relative;
    padding: 40px 52px 0;
}
.video-reviews-display-container:before {
    content: "";
    width: 126px;
    height: 126px;
    position: absolute;
    top: -100px;
    right: 17%;
    background: url(../../../uploads/icons/yellow-arrow-down-2.svg) center center no-repeat;
    z-index: -1;
    background-size: 100% 100%;
    transform: scale(-1, 1);
}
.video-reviews-list {
    width: 100%;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    display: block;
}
.video-reviews-list .video-reviews-button-prev {
    width: 32px;
    height: 100%;
    background: url('../../../uploads/icons/arrow-long-circle-left.svg') center center no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    z-index: 1;
}
.video-reviews-list .video-reviews-button-next {
    width: 32px;
    height: 100%;
    background: url('../../../uploads/icons/arrow-long-circle-left.svg') center center no-repeat;
    transform: rotate(180deg);
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    z-index: 1;
}
.video-reviews-list .video-review-item {
    width: 50%;
    flex-shrink: 0;
    padding: 30px 14px;
}
.video-reviews-list .video-review-item-wrapper {
    position: relative;
}
.video-reviews-list .video-review-item-wrapper a {
	display: block;
}
.video-reviews-list .video-review-item-wrapper:before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--red);
    transform: rotate(-7deg);
    border-radius: 32px;
}
.video-reviews-list .video-review-image {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
}
.video-reviews-list .video-review-image img {
    width: 100%;
    height: auto;;
}
.video-reviews-list .video-review-image:after {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(57, 33, 79, 0.3);
    z-index: 1;
}
.video-reviews-list .video-review-image:before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../../uploads/icons/youtube-icon.svg') center center no-repeat;
    z-index: 3;
}
.video-reviews-list .video-review-content {
    position: absolute;
    top: 0;
    left: 0;
    padding: 18px;
    z-index: 2;
}
.video-reviews-list .video-review-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
}
.video-reviews-list .video-review-excerpt {
    color: #fff;
}
.video-reviews-pagination {
    margin-top: 24px;
    text-align: center;
}
.video-reviews-pagination .swiper-pagination-bullet {
    width: 35px;
    height: 4px;
    background-color: var(--green);
    border-radius: 2px;
}

/* */
.team-container > .panel-grid-cell {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: auto auto auto;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.team-container > .panel-grid-cell > .so-panel:nth-of-type(1) { grid-area: 1 / 1 / 3 / 4; }
.team-container > .panel-grid-cell > .so-panel:nth-of-type(2) {
    grid-area: 1 / 4 / 2 / 11;
    padding-top: 40px;
}
.team-container > .panel-grid-cell > .so-panel:nth-of-type(3) {
    grid-area: 2 / 8 / 3 / 11;
    margin-top: -35px;
}
.team-container > .panel-grid-cell > .so-panel:nth-of-type(4) {
    grid-area: 2 / 1 / 3 / 4;
    justify-self: flex-end;
    position: relative;
    top: 60px;
    right: -45px;
}
.team-container > .panel-grid-cell > .so-panel:nth-of-type(5) { grid-area: 2 / 4 / 3 / 8; }
.team-container > .panel-grid-cell > .so-panel:nth-of-type(6) {
    grid-area: 3 / 4 / 4 / 10;
    padding-left: 50px;
    margin-top: -50px;
}

.team-inside-row .panel-grid {
    display: flex;
    align-items: center;
    gap: 20px;
}
.team-inside-row .panel-grid .panel-grid-cell:nth-of-type(1) {
    width: 47%;
    padding: 0;
    position: relative;
}
.team-inside-row .panel-grid .panel-grid-cell:nth-of-type(1):after {
    content: "";
    display: block;
    position: absolute;
    top: -50px;
    right: -75px;
    width: 158px;
    height: 159px;
    background: url(../../../uploads/2024/07/graphic-icon-41.svg) center no-repeat;
    background-size: 100% auto;
    z-index: 5;
}
.team-inside-row .panel-grid .panel-grid-cell:nth-of-type(2) {
    width: 53%;
    padding: 0;
    font-size: clamp(16px, 2vw, 20px);
    position: relative;
    z-index: 6;
}
.team-container .heading {
    padding: 40px 40px 90px 70px;
    background: url(../../../uploads/icons/big-round-bg-2.svg) 0 0 no-repeat;
    background-size: 100% auto;
    margin-left: 40px;
}
.team-container .heading .widget-title {
    font-size: clamp(20px, 3vw, 32px);
    color: var(--red);
    font-weight: 700;
}
.team-container .heading .textwidget {
    font-size: clamp(16px, 2vw, 18px);
}

/* */
.faq-container .sow-accordion {
    counter-reset: question-nimber;
}
.faq-container .sow-accordion .sow-accordion-panel {
    padding: 24px 24px 20px;
    border-radius: 16px;
    color: #fff;
    margin-bottom: 16px;
}
.faq-container .sow-accordion .sow-accordion-panel {
    background-color: var(--green);
}
.faq-container .sow-accordion .sow-accordion-panel:nth-of-type(5n + 1) {
    background-color: var(--yellow);
}
.faq-container .sow-accordion .sow-accordion-panel:nth-of-type(5n + 2) {
    background-color: var(--green);
}
.faq-container .sow-accordion .sow-accordion-panel:nth-of-type(5n + 3) {
    background-color: var(--blue);
}
.faq-container .sow-accordion .sow-accordion-panel:nth-of-type(5n + 4) {
    background-color: var(---light-violet);
}
.faq-container .sow-accordion .sow-accordion-panel:nth-of-type(5n) {
    background-color: var(--red);
}
.faq-container .sow-accordion .sow-accordion-panel .sow-accordion-panel-header-container {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 500;
    margin-bottom: 8px;
    cursor: pointer;
}
.faq-container .sow-accordion .sow-accordion-panel .sow-accordion-title {
    position: relative;
    padding-left: clamp(30px, 6vw, 56px);
}
.faq-container .sow-accordion .sow-accordion-panel .sow-accordion-title:before {
    counter-increment: question-nimber;
    content: counter(question-nimber) "/";
    display: inline-block;
    position: absolute;
    left: 0;
}
.faq-container .sow-accordion-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-container .sow-accordion-open-button .sow-icon-ionicons {
    background: url(../../../uploads/icons/dropdown_arrow.svg) no-repeat center;
    width: 14px;
    height: 14px;
    display: block;
    transition: 0.3s;
}
.faq-container .sow-accordion-panel-header[aria-expanded="true"] .sow-accordion-open-button .sow-icon-ionicons {
    transform: rotate(-180deg);
    transform-origin: 50% 70%;
}
.faq-container .sow-accordion .sow-accordion-panel-content {
    padding-left: clamp(30px, 6vw, 56px);
    font-size: 18px;
}

/* */
.show-gallery-part-2 {
    margin-top: 60px;
}
.show-gallery-part-3 {
    margin-top: 60px;
}
div.gallery-item_part2 {
    margin-top: 48px;
    display: none;
}
div.gallery-item_part3 {
    margin-top: 48px;
    display: none;
}
div.gallery-item_part2.active,
div.gallery-item_part3.active {
    display: grid;
}

/* */


.photo-modal-box {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    inset: 0;
    margin: auto;
    z-index: 1001;
    padding: 0;
    overflow: visible;
    transition: 0.3s;
    background-color: rgba( 0, 0, 0, 0.7);
    padding: 42px 24px;
    overflow-y: auto;
}
.photo-modal-box.active {
    display: flex;
}
.photo-modal-box .content {
    text-align: center;
    margin: auto;
}
.photo-modal-box .content img {
    max-height: 700px;
    width: auto;
    height: auto;
}
.photo-modal-box .close-photo-modal-box {
    position: absolute;
    right: 0;
    padding: 30px;
    top: 0;
    background: #fff;
}
/* */
.container__text-and-image_type-2 > .panel-grid-cell:nth-of-type(1) {
    flex: 0 0 calc(100% / 12 * 5)
}
.container__text-and-image_type-2 > .panel-grid-cell:nth-of-type(2) {
    flex: 0 0 calc(100% / 12 * 7)
}
.numbers-container > .panel-grid-cell {
    width: calc(100% / 4);
    padding: 12px 24px
}
.numbers-container .heading  {
    padding: 16px 25px 16px 30px;
    font-size: 32px;
    font-weight: 700;
    background: url(../../../uploads/icons/small-round-bg-2.svg) left center no-repeat;
    background-size: 100% 100%;
    margin-bottom: 6px;
    position: relative;
}
.numbers-container .text {
    line-height: 1.5;
}

/* */

.main-page-first-screen_icons {
    display: flex;
    align-items: center;
}
.main-page-first-screen_icons > .panel-grid-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(16px, 1.8vw, 18px);
}
.main-page-first-screen_icons > .panel-grid-cell .widget_media_image {
    flex-shrink: 0;
}
.main-page-first-screen_images {
    display: flex;
    gap: 2px;
    align-items: center;
    margin: 24px auto 0;
    justify-content: center;
}
.main-page-first-screen_images .panel-grid-cell {
    position: relative;
}
.main-page-first-screen_images .panel-grid-cell img {
    border-radius: 32px;
    overflow: hidden;
}
.main-page-first-screen_images .panel-grid-cell .widget_text {
    position: absolute;
    font-size: 20px;
    font-style: italic;
    padding: 12px 32px 14px;
    display: inline-block;
    background-color: var(--light-grey);
    border-radius: 50px;
    box-shadow: 3px 4px 14.6px 0px rgba(134, 81, 183, 0.44);
}
.main-page-first-screen_images .panel-grid-cell:nth-of-type(1) .widget_text {
    bottom: -20px;
    right: -25px;
    z-index: 2;
}
.main-page-first-screen_images .panel-grid-cell:nth-of-type(2) .widget_text {
    top: -20px;
    right: -45px;
    z-index: 2;
}
.main-page-first-screen_images .panel-grid-cell:nth-of-type(3) .widget_text {
    bottom: 35px;
    right: -65px;
    z-index: 2;
}
.main-page-first-screen_images .panel-grid-cell:nth-of-type(4) .widget_text {
    top: -20px;
    right: -65px;
    z-index: 2;
}
.main-page-first-screen-container {
    margin-top: clamp(24px, 5vw, 48px);
}


/* */
.promotions-row {
    display: flex;
    margin-left: -20px;
    margin-right: -20px;
}
.promotions-row > .panel-grid-cell {
    width: 50%;
}
.promotions-row > .panel-grid-cell:nth-of-type(1) {
    margin-top: 80px;
}
.promotion-item {
    border: 2px solid;
    border-radius: 32px;
    padding: 24px 24px;
    margin-bottom: 20px;
    background-color: #fff;
    background-image:
        linear-gradient(to right, rgba(255,255,255,1) 70%, rgba(255,255,255,0.6) 100%),
        linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.6) 100%),
        url('../../../uploads/bg/base-grid_500.webp');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 600px auto;
}
.promotions-row > .panel-grid-cell:nth-of-type(1) > .so-panel:nth-of-type(3n+1) .promotion-item {
    border-color: var(--yellow);
}
.promotions-row > .panel-grid-cell:nth-of-type(1) > .so-panel:nth-of-type(3n+2) .promotion-item  {
    border-color: var(--blue);
}
.promotions-row > .panel-grid-cell:nth-of-type(1) > .so-panel:nth-of-type(3n+3) .promotion-item  {
    border-color: var(--red);
}
.promotions-row > .panel-grid-cell:nth-of-type(2) > .so-panel:nth-of-type(3n+1) .promotion-item {
    border-color: var(--blue);
}
.promotions-row > .panel-grid-cell:nth-of-type(2) > .so-panel:nth-of-type(3n+2) .promotion-item  {
    border-color: var(--pink);
}
.promotions-row > .panel-grid-cell:nth-of-type(2) > .so-panel:nth-of-type(3n+3) .promotion-item  {
    border-color: var(--yellow);
}
.promotion-item .panel-grid-cell {
    padding-left: 0;
    padding-right: 0;
}
.promotion-item.promotion-item_row {
    display: flex;
    gap: 12px;
}
.promotion-item.promotion-item_row > .panel-grid-cell:nth-of-type(1) {
    flex-shrink: 0;
}
.promotion-item .widget_media_image {
    margin-bottom: 12px;
}
.promotion-item.promotion-item_row .widget_media_image {
    margin-bottom: 0px;
}
.promotion-item .widget_media_image img {
    border-radius: 32px;
    overflow: hidden;
}
.promotion-item .image-mobile {
    display: none;
}
.promotion-item .widget-title {
    font-size: clamp(18px, 2vw, 20px);
    font-weight: 600;
    margin-bottom: 12px;
}
.promotion-item .textwidget {
    font-size: clamp(16px, 1.8vw, 18px);
    margin-bottom: clamp(16px, 3.2vw, 32px);
}
.promotion-button {
    background-color: var(--white);
    color: var(--dark);
    border: 3px solid var(--green);
    padding: 12px 24px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 64px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: 0.3s;
}
.promotion-button:hover {
    background-color: var(--green);
    color: var(--white);
}

/* */
.divide-courses {
    margin-top: 40px;
    margin-bottom: 24px;
    text-align: center;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 500;
}
.divide-courses .textwidget {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
}
.divide-courses .textwidget:before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 21px;
    background: url(../../../uploads/2024/07/graphic-icon-30.svg) center center no-repeat;
    margin-right: 12px;
}
.divide-courses .textwidget:after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 21px;
    background: url(../../../uploads/2024/07/graphic-icon-30.svg) center center no-repeat;
    margin-left: 12px;
}

/* */
.contact-wrapper .contact-info {
    width: 40%;
}
.contact-wrapper .contact-map {
    width: 60%;
    border-radius: 32px;
    overflow: hidden;
}


/* */
.img-icons_type-1 {
    position: relative;
    text-align: center;
    background: url(../../../uploads/icons/round-graphic.svg) no-repeat center;
    background-size: 100% 100%;
    padding: 8px 15px 17px 32px;
}
.img-icons_type-1:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: url(../../../uploads/icons/yellow-form-1.svg) no-repeat center;
    width: 150px;
    height: 142px;
}
.img-icons_type-1 img {
    border-radius: 50%;
    overflow: hidden;
}
.img-icons_type-2 {
    position: relative;
    text-align: center;
    background: url(../../../uploads/icons/round-graphic.svg) no-repeat center;
    background-size: 100% 100%;
    padding: 5px 9px 10px 12px;
}
.img-icons_type-2:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: url(../../../uploads/icons/yellow-form-1.svg) no-repeat center;
    background-size: 100% auto;
    width: 103px;
    height: 100px;
}
.img-icons_type-2 img {
    border-radius: 50%;
    overflow: hidden;
}
.img-icons_type-3 {
    position: relative;
    text-align: center;
    background: url(../../../uploads/icons/round-graphic-2.svg) no-repeat center;
    background-size: 100% auto;
    padding: 6px 14px 7px 11px;
}
.img-icons_type-3:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    background: url(../../../uploads/icons/yellow-form-1.svg) no-repeat center;
    background-size: 100% auto;
    width: 118px;
    height: 113px;
    transform: rotate(-90deg);
}
.img-icons_type-3 img {
    border-radius: 50%;
    overflow: hidden;
}
.img-icons-after_type-1 {
    position: relative;
}
.img-icons-after_type-1:before {
    content: "";
    position: absolute;
    bottom: -65px;
    left: 0;
    background: url(../../../uploads/icons/yellow-arrow-down-3.svg) no-repeat center;
    background-size: 100% auto;
    width: 125px;
    height: 84px;
}
.search-item {
    border: 1px solid var(--pink);
    border-radius: 12px;
    background: #fff;
}
.return-btn{
    border: 3px solid var(--green);
    border-radius: 64px;
    padding: 13px 30px;
}

.grid-bg {
    background: url(/wp-content/uploads/bg/grid-bg.webp);
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: clamp(40px, 10vw, 120px);
}
.blog-categories .category-filter {
    background: transparent;
}

.full-width-image_type-1 .mobile-image {
    display: none;
}


.mobile-page-slider {
    display: none;
}
.mobile-slider-pagination {
    display: none;
}

@media (max-width: 1300px) {
    .why-container > .panel-grid-cell:nth-of-type(3) > .widget_media_image {
        top: 0;
    }
    .banner_type-6 {
        margin-top: 0;
    }
}
@media (max-width: 1230px) {
    .teachers-list-container {
        margin: 0 -20px;
    }
}
@media (max-width: 1200px) {
    .course-list {
        flex-direction: column;
        align-items: center;
    }
    .course-list .course-item {
        width: 100%;
        max-width: 545px;
    }
    .link-list > .panel-grid-cell {
        flex-direction: column;
        align-items: center;
    }
    .link-list > .panel-grid-cell > .so-panel {
        width: 100%;
        max-width: 545px;
    }
    .post-list {
        flex-direction: column;
        align-items: center;
        gap: 32px
    }
    .post-list .post-item {
        width: 100%;
        max-width: 545px;
    }
    .numbers-container > .panel-grid-cell {
        padding: 0px 12px;
    }
    .team-container .heading {
        padding: 32px 30px 35px 60px;
        background: url(../../../uploads/icons/big-round-bg-2.svg) 0 0 no-repeat;
        background-size: contain;
        margin-left: 15px;
    }
    .team-container > .panel-grid-cell > .so-panel:nth-of-type(3) {
        margin-top: 0;
    }
    .promotions-row {
        flex-direction: column;
        max-width: 580px;
        margin: 0 auto;
    }
    .promotions-row > .panel-grid-cell {
        width: 100%;
        margin-top: 0 !important;
    }
    .posts-on-post-page .post-list {
        align-items: center;
    }
    .posts-on-post-page .post-list .post-item {
        align-self: center;
        width: 100%;
    }
    .teachers-list.two-teachers .teachers-item {
        max-width: 350px;
        width: 100%;
    }
}
@media (max-width: 1160px) {
    div.banner_type-1 {
        background-size: 100% 100%;
        padding-top: 20px;
    }
    div.banner_type-2 {
        background-size: 100% 100%;
        padding-top: 20px;
    }
    .banner_type-2__image {
        margin-top: 0;
    }
    div.banner_type-3 {
        background-size: 100% 100%;
    }
    div.banner_type-7 {
        background-size: 100% 100%;
    }
    .banner_type-4 {
        padding: 24px 10px 0 24px;
    }
    .banner_type-4 > .panel-grid-cell:nth-of-type(2) {
        flex: 0 0 46%;
    }
    .banner_type-4 > .panel-grid-cell:nth-of-type(3) {
        flex: 0 0 26%;
    }
    .banner_type-4__image {
        margin-top: -40px;
    }


    .banner_type-5 {
        padding: 24px 0 0 24px;
    }
    .banner_type-5 > .panel-grid-cell:nth-of-type(2) {
        flex: 0 0 28%;
        padding-bottom: 32px;
    }
    .banner_type-5 > .panel-grid-cell:nth-of-type(3) {
        flex: 0 0 42%;
    }
    .banner_type-5__image {
        margin-top: -159px;
    }
}
@media (max-width: 1100px) {
    .reviews-display-container:before {
        display: none;
    }
}
@media (max-width: 1050px) {
    .advantages-container {
        flex-wrap: wrap;
        gap: 30px 20px;
    }
    .advantages-container > .panel-grid-cell {
        flex: 0 0 calc(50% - 10px);
    }
    .advantages-container > .panel-grid-cell:nth-of-type(2), .advantages-container > .panel-grid-cell:nth-of-type(4) {
        padding-top: 12px;
    }
    .results-list .result-item .result-item__second-column:before {
        height: 66px;
        background-size: auto 100%;
        margin-bottom: 40px;
    }
    .banner_type-1 .curvy-arrow {
        margin-bottom: 16px;
    }
    .banner_type-1 .curvy-arrow img {
        max-width: 80px;
        height: auto;
    }
    .banner_type-2 {
        align-items: stretch;
    }
    .banner_type-2 .curvy-arrow {
        margin-bottom: 16px;
    }
    .banner_type-2 .curvy-arrow img {
        max-width: 80px;
        height: auto;
    }
    .banner_type-2 > .panel-grid-cell:nth-of-type(1) {
        display: flex;
        align-items: flex-end;
    }
    .numbers-container > .panel-grid-cell {
        width: calc(100% / 2);
    }
    .numbers-container .heading {
        background-size: auto 100%;
    }
    .banner_type-6 {
        padding: 32px 15px 32px 0px;
    }
    .banner_type-6 > .panel-grid-cell:nth-of-type(1) {
        flex: 0 0 48%;
        padding-left: 0;
    }
    .banner_type-6 > .panel-grid-cell:nth-of-type(2) {
        flex: 0 0 52%;
    }
}
@media (max-width: 1000px) {
    .video-reviews-display-container {
        max-width: 600px;
        margin: 0 auto;
    }
    .parent-page-course__first-screen {
        max-width: 650px;
        margin: 0 auto;
    }
    .parent-page-course__first-screen > .panel-grid-cell:nth-of-type(2) {
        flex: 0 0 100%;
    }
    .parent-page-course__first-screen > .panel-grid-cell:nth-of-type(1) {
        display: none;
    }
    .parent-page-course-first-screen_right-column .widget_media_image ~ .widget_media_image:after {
        width: 100px;
        height: 100px;
        top: 100px;
    }
    .main-page-first-screen_images {
        justify-content: center;
    }
    .main-page-first-screen_images .panel-grid-cell .widget_text {
        padding: 8px 24px 10px;
    }
    .main-page-first-screen_images .panel-grid-cell:nth-of-type(1) {
        display: none;
    }
    .main-page-first-screen_images .panel-grid-cell:nth-of-type(5) {
        display: none;
    }
    .post-list {
        display: flex;
        gap: 20px;
        flex-direction: column;
        max-width: 545px;
        margin: 0 auto;
    }
    .post-list .post-item:nth-child(1) {
        margin-top: 0;
    }
    .post-list .post-item {
        flex-direction: column;
    }
    .post-item .post-thumbnail {
        max-width: none;
        text-align: center;
    }
    .post-list .post-list__button.desktop {
        display: none;
    }
    .post-list .post-list__button.mobile {
        display: block;
    }
    .reviews-list__container.swiper-autoheight .swiper-wrapper {
        min-height: auto;
    }
    .video-reviews-display-container:before {
        display: none;
    }
    #breadcrumbs {
        padding-top: 0px;
        padding-bottom: 8px;
        margin-bottom: clamp(24px, 4vw, 48px);
    }
}
@media (max-width: 970px) {
    .content-block-type-1 {
        max-width: 600px;
        margin: 0 auto;
        flex-direction: column;
        align-items: center;
    }
    .content-block-type-1 .heading_h2 {
        text-align: center;
    }
    .content-block-type-1 > .panel-grid-cell:nth-of-type(1),
    .content-block-type-1 > .panel-grid-cell:nth-of-type(2) {
        flex: 0 0 100%;
    }
    .content-block-type-2 {
        max-width: 600px;
        margin: 0 auto;
        flex-direction: column;
        align-items: center;
        margin-bottom: 60px;
    }
    .content-block-type-2 > .panel-grid-cell {
        flex: 0 0 100%;
    }
    .heading-with-bg-type-1 {
        margin-top: 60px;
    }
    .content-block-type-1 .heading-with-bg-type-1 {
        margin-top: 0;
    }
    div.banner_type-1 {
        background-color: var(--red);
        background-image:
            linear-gradient(to left, rgba(241, 154, 170, 1) 0%, rgba(241, 154, 170, 0.96) 50%, rgba(241, 154, 170, 1) 100%),
            url(../../../uploads/bg/base-grid.webp),
            linear-gradient(to bottom, var(--red), var(--red));
        background-size: 100%, 800px auto;
        background-position: top center;
        flex-direction: column;
        max-width: 500px;
        margin: 60px auto;
        padding: 24px 12px 0;
        align-items: center;
        text-align: center;
    }
    .banner_type-1__image {
        margin-top: 24px;
        max-width: 260px;
    }
    .banner_type-1 .border-radius-block-2 {
        top: auto;
    }
    .banner_type-1 .curvy-arrow {
        margin-top: 24px;
    }
    .banner_type-1 li {
        text-align: left;
    }
    div.banner_type-2 {
        background-color: var(--red);
        background-image:
            linear-gradient(to left, rgba(241, 154, 170, 1) 0%, rgba(241, 154, 170, 0.96) 50%, rgba(241, 154, 170, 1) 100%),
            url(../../../uploads/bg/base-grid.webp),
            linear-gradient(to bottom, var(--red), var(--red));
        background-size: 100%, 800px auto;
        background-position: top center;
        flex-direction: column-reverse;
        max-width: 500px;
        margin: 60px auto;
        padding: 24px 12px 0;
        align-items: center;
        text-align: center;
    }
    .banner_type-2__image {
        margin-top: 24px;
        max-width: 260px;
    }
    .banner_type-2 .curvy-arrow {
        margin-top: 24px;
    }
    .banner_type-2:before {
        top: -72px;
    }
    .banner_type-2 .right {
        text-align: center;
    }
    .banner_type-2 li {
        text-align: left;
    }
    div.banner_type-3 {
        background-color: var(--red);
        background-image:
            linear-gradient(to left, rgba(241, 154, 170, 1) 0%, rgba(241, 154, 170, 0.96) 50%, rgba(241, 154, 170, 1) 100%),
            url(../../../uploads/bg/base-grid.webp),
            linear-gradient(to bottom, var(--red), var(--red));
        background-size: 100%, 800px auto;
        background-position: top center;
        flex-direction: column-reverse;
        max-width: 500px;
        margin: 60px auto 160px;
        padding: 24px 12px 0;
        align-items: center;
        text-align: center;
    }
    .banner_type-3__image {
        margin-top: 8px;
        max-width: 260px;
    }
    .banner_type-3 .curvy-arrow {
        margin-top: 24px;
    }
    .banner_type-3__button {
        position: absolute;
        bottom: -70px;
        right: 0;
        width: 100%;
    }
    .banner_type-3 .border-radius-block-1 {
        top: -50px;
        left: -10px;
    }
    div.banner_type-4 {
        background-color: var(--red);
        background-image:
            linear-gradient(to left, rgba(241, 154, 170, 1) 0%, rgba(241, 154, 170, 0.96) 50%, rgba(241, 154, 170, 1) 100%),
            url(../../../uploads/bg/base-grid.webp),
            linear-gradient(to bottom, var(--red), var(--red));
        background-size: 100%, 800px auto;
        background-position: top center;
        flex-direction: column;
        max-width: 500px;
        margin: 60px auto 120px;
        padding: 24px 12px 0;
        align-items: center;
        text-align: center;
    }
    .banner_type-4__image {
        margin-top: 24px;
        max-width: 260px;
    }
    .banner_type-4 .border-radius-block-2 {
        top: auto;
    }
    .banner_type-4 .curvy-arrow {
        margin-top: 24px;
    }
    .banner_type-4 li {
        text-align: left;
    }
    .banner_type-4__button {
        bottom: -70px;
        width: 100%;
    }
    div.banner_type-5 {
        background-color: var(--red);
        background-image:
            linear-gradient(to left, rgba(241, 154, 170, 1) 0%, rgba(241, 154, 170, 0.96) 50%, rgba(241, 154, 170, 1) 100%),
            url(../../../uploads/bg/base-grid.webp),
            linear-gradient(to bottom, var(--red), var(--red));
        background-size: 100%, 800px auto;
        background-position: top center;
        flex-direction: column;
        max-width: 500px;
        margin: 60px auto 120px;
        padding: 24px 12px 0;
        align-items: center;
        text-align: center;
    }
    .banner_type-5__image {
        margin-top: 12px;
        max-width: 260px;
    }
    .banner_type-5 .border-radius-block-2 {
        top: auto;
    }
    .banner_type-5 .curvy-arrow {
        margin-top: 12px;
        margin-bottom: 12px;
    }
    .banner_type-5 li {
        text-align: left;
    }
    .banner_type-5__button {
        position: absolute;
        bottom: -70px;
        left: 0;
        width: 100%;
    }
    div.banner_type-7 {
        background-color: var(--red);
        background-image:
            linear-gradient(to left, rgba(241, 154, 170, 1) 0%, rgba(241, 154, 170, 0.96) 50%, rgba(241, 154, 170, 1) 100%),
            url(../../../uploads/bg/base-grid.webp),
            linear-gradient(to bottom, var(--red), var(--red));
        background-size: 100%, 800px auto;
        background-position: top center;
        flex-direction: column-reverse;
        max-width: 500px;
        margin: 60px auto 160px;
        padding: 24px 12px 0;
        align-items: center;
        text-align: center;
    }
    .banner_type-7__image {
        margin-top: 24px;
        max-width: 260px;
    }
    .banner_type-7 .curvy-arrow {
        margin-top: 24px;
    }
    .banner_type-7__button {
        position: absolute;
        bottom: -70px;
        right: 0;
        width: 100%;
    }
    .banner_type-7 .border-radius-block-1 {
        top: auto;
    }
}
@media (max-width: 900px) {
    .steps-container {
        display: flex;
        flex-direction: column;
        max-width: 330px;
        padding-bottom: 0;
    }
    .steps-container .image {
        border-radius: 0;
    }
    .steps-container .mobile-image {
        display: block;
        border-radius: 16px 16px 0 0;
        overflow: hidden;
    }
    .steps-container .desktop-image {
        display: none;
    }
    .steps-container > .panel-grid-cell {
        display: flex;
        flex-direction: column !important;
        align-items: center !important;
        margin: 0 !important;
    }
    .steps-container .widget_media_image {
        line-height: 0;
    }
    .steps-container > .panel-grid-cell:nth-of-type(1):before {
        display: none;
    }
    .steps-container > .panel-grid-cell > .widget_text {
        margin: -32px 0 0 !important;
        width: 100%;
    }
    .steps-container .content .textwidget {
        max-width: none;
        font-size: 18px;
    }
    .steps-container .content .textwidget img {
        max-height: 34px;
    }
    .steps-container:after {
        display: none;
    }
    .why-container {
        display: flex;
        flex-direction: column;
        max-width: 400px;
        padding-bottom: 0;
        margin: 0 auto;
        gap: 12px;
    }
    .why-container .image {
        border-radius: 0;
        width: 100%;
    }
    .why-container .mobile-image {
        display: block;
        border-radius: 16px 16px 0 0;
        overflow: hidden;
    }
    .why-container .desktop-image {
        display: none;
    }
    .why-container > .panel-grid-cell {
        display: flex;
        flex-direction: column !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .why-container > .panel-grid-cell:last-child {
        margin-bottom: 0 !important;
    }
    .why-container .widget_media_image {
        line-height: 0;
        width: 100% !important;
        left: 0 !important
    }
    .why-container > .panel-grid-cell > .widget_text {
        margin: -30px 0 0 !important;
        width: 100% !important;
        left: 0 !important;
        z-index: 3;
    }
    .why-container > .panel-grid-cell:nth-of-type(2):before,
    .why-container > .panel-grid-cell:nth-of-type(1):before {
        display: none;
    }
    .why-container .content .textwidget {
        border-radius: 32px;
    }
    .results-list .result-item {
        flex-direction: column;
        align-items: center;
        padding: 0;
        background: none;
    }
    .results-list .result-item .result-item__image-container {
        display: none;
    }
    .results-list .result-item .result-item__image {
        width: auto;
        position: relative;
        max-width: 320px;
        padding-right: 85px;
    }
    .results-list .result-item .result-item__image:after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        display: block;
        width: 66px;
        height: 50px;
        background: url(../../../uploads/icons/yellow-arrow-down.svg) center center no-repeat;
        background-size: 100%;
    }
    .results-list .result-item__title {
        margin-top: 0;
    }
    .results-list .result-item .result-item__second-column {
        width: 100%;
        max-width: 500px;
    }
    .results-list .result-item .result-item__second-column:before {
        display: none;
    }
    .results-list .result-item .result-item__second-column .result-text:last-child {
        margin-bottom: 0;
    }
    .results-list .result-item .result-item__third-column {
        width: 100%;
        max-width: 500px;
        padding-top: 0;
    }
    .results-list .result-item .result-item__third-column .result-text {
        margin-bottom: 0;
    }
    .results-list .result-text {
        padding: 12px 8px 0;
    }
    .team-container > .panel-grid-cell {
        display: flex;
        flex-wrap: wrap;
        max-width: 400px;
        margin: 0 auto;
        align-items: center;
        justify-content: center;
    }
    .team-inside-row .panel-grid {
        flex-direction: column;
    }
    .team-inside-row .panel-grid .panel-grid-cell:nth-of-type(1) {
        text-align: center;
        width: 100%;
    }
    .team-inside-row .panel-grid .panel-grid-cell:nth-of-type(2) {
        width: 100%;
    }
    .team-container > .panel-grid-cell > .so-panel:nth-of-type(2) {
        padding-top: 0;
    }
    .team-inside-row .panel-grid .panel-grid-cell:nth-of-type(1):after {
        display: none;
    }
    .team-container > .panel-grid-cell > .so-panel:nth-of-type(4) {
        position: static;
    }
    .team-container > .panel-grid-cell > .so-panel:nth-of-type(6) {
        padding-left: 0;
        margin-top: 0;
        text-align: left;
    }
    .main-page-first-screen_images .panel-grid-cell:nth-of-type(2) .widget_text {
        right: -15px;
    }
    .main-page-first-screen_images .panel-grid-cell:nth-of-type(3) .widget_text {
        right: -35px;
    }
    .main-page-first-screen_images .panel-grid-cell:nth-of-type(4) .widget_text {
        right: 10px;
    }
    .banner_type-6 {
        flex-direction: column;
        max-width: 500px;
        margin: 80px auto 80px;
        padding: 16px 16px 24px;
        align-items: center;
        background-size: 900px auto;
    }
    .banner_type-6__image {
        margin: 0 auto 32px;
    }
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .contact-wrapper .contact-info {
        width: 100%;
        max-width: 400px;
    }
    .contact-wrapper .contact-map {
        width: calc(100% + 32px);
        border-radius: 0;
        margin-left: -16px;
        margin-right: -16px;
        margin-bottom: -80px;
    }
    .contact-info--item--networks {
        width: 100%;
    }
    .contact-info--item {
        flex-wrap: wrap;
    }
}
@media (max-width: 800px) {
    .course-page__first-screen {
        flex-direction: column;
    }
    .course-page__first-screen > .panel-grid-cell {
        flex: 0 0 100% !important;
        max-width: 480px !important;
    }
    .course-page__first-screen > .panel-grid-cell:nth-of-type(1) {
        margin-bottom: 32px;
    }
    .page-id-251 .course-page__first-screen > .panel-grid-cell:nth-of-type(1) {
        margin-bottom: 0;
    }
    .course-page__first-screen .large-button {
        display: block;
        text-align: center;
    }
    .text-image-container_type-2 {
        flex-direction: column;
        max-width: 480px;
        margin: 0 auto;
        gap: 30px;
    }
    .text-image-container_type-2 > .panel-grid-cell {
        flex: 0 0 100% !important;
    }
    .teachers-list.one .teachers-item {
        flex-direction: column;
        gap: 12px;
        padding: 0;
        max-width: 360px;
    }
    .teachers-list.one .teachers-content {
        max-width: none;
    }
    .teachers-list.one .teachers-content:before {
        display: none;
    }
    .contact-form-container {
        flex-direction: column;
        max-width: 400px;
        margin: 0 auto;
    }
    .contact-form-container > .panel-grid-cell {
        flex: 0 0 100% !important;
    }
    .submit-field .button {
        display: block;
        width: 100%;
    }
    .reviews-display-container {
        padding: 20px 22px 0;
    }
    .reviews-display-container:after {
        display: none;
    }
    .img-icons_type-1:after,
    .img-icons_type-2:after,
    .img-icons_type-3:after {
        width: 80px;
        height: 80px;
        background-size: 100% 100%;
    }
    .img-icons_type-1 {
        padding: 8px 15px 6px 16px;
    }
    .container__text-and-image_type-2 {
        max-width: 500px;
        margin: 0 auto;
        gap: 36px;
    }
    .container__text-and-image_type-2 > .panel-grid-cell {
        flex: 0 0 100% !important;
    }
    .numbers-container {
        gap: 20px 0;
    }
    .main-page-first-screen_icons {
        flex-direction: column;
        max-width: 400px;
        margin: 0 auto;
        gap: 24px;
    }
    .main-page-first-screen_icons > .panel-grid-cell .widget_media_image {
        width: 60px
    }
    .main-page-first-screen-images-container {
        overflow: auto;
        margin-left: -30px;
        margin-right: -30px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    /* Hide scrollbar for Chrome, Safari and Opera */
    .main-page-first-screen-images-container::-webkit-scrollbar {
        display: none;
    }
    .main-page-first-screen_images {
        gap: 24px;
        justify-content: flex-start;
    }
    .main-page-first-screen_images .panel-grid-cell {
        flex-shrink: 0;
    }
    .course-page__first-screen .desktop-image {
        display: none;
    }
    .course-page__first-screen .mobile-image {
        display: block;
    }
    .search-item {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }
    .main-page-first-screen_images .panel-grid-cell:nth-of-type(1),
    .main-page-first-screen_images .panel-grid-cell:nth-of-type(5) {
        display: block;
    }
}
@media (max-width: 700px) {
    .tabs-item {
        flex-direction: column;
        max-width: 400px;
        align-items: center;
    }
    .tabs-item .large-button {
        display: block;
    }
    .gallery-item.gallery-item_part2,
    .gallery-item.gallery-item_part3 {
        display: none;
    }
    .gallery-item.gallery-item_part2.active,
    .gallery-item.gallery-item_part3.active {
        display: flex;
    }
    div.gallery-item {
        display: flex;
        flex-direction: column;
        gap: 20px;
        flex-wrap: wrap;
        background: none;
        margin: 0 auto 20px;
        align-items: center;
    }
    div.gallery-item .gallery-image-item {
        border-radius: 32px;
        overflow: hidden;
        display: flex;
        align-items: center;
        max-width: 340px;
        width: 100%;
        max-height: 264px;
    }
    div.gallery-item .gallery-image-item img {
        width: 100%;
    }
    div.gallery-item .gallery-image-item:nth-of-type(4),
    div.gallery-item .gallery-image-item:nth-of-type(5) {
        display: none;
    }
    .gallery-list.active div.gallery-item .gallery-image-item:nth-of-type(4),
    .gallery-list.active div.gallery-item .gallery-image-item:nth-of-type(5) {
        display: flex;
    }
    .container__text-and-image_type-1 {
        flex-direction: column;
        max-width: 500px;
        margin: 0 auto;
        gap: 32px;
    }
    .container__text-and-image_type-1 > .panel-grid-cell:nth-of-type(1),
    .container__text-and-image_type-1 > .panel-grid-cell:nth-of-type(2) {
        flex: 0 0 100%;
    }
    .teachers-list-container {
        margin: 0;
        padding: 0;
    }
    .teachers-list-container .teachers-button-prev,
    .teachers-list-container .teachers-button-next {
        display: none;
    }
    .img-icons_type-3 {
        max-width: 410px;
    }
    .sow-tabs-tab {
        font-weight: 500;
    }
    .show-gallery-part-2,
    .show-gallery-part-3 {
        margin-top: 4px;
    }
}
@media (max-width: 650px) {
    .sow-tabs-tab-container {
        gap: 20px;
        margin-bottom: 32px;

    }
    .advantages-container {
        max-width: 500px;
        margin: 0 auto;
        gap: 12px;
    }
    .advantages-container > .panel-grid-cell {
        display: grid;
        grid-template-columns: 100px auto;
        grid-template-rows: auto auto;
        grid-column-gap: 24px;
        grid-row-gap: 0px;
        flex: 0 0 100%;
    }
    .advantages-container > .panel-grid-cell > .so-panel:nth-of-type(1) {
        grid-area: 1 / 1 / 3 / 2;
    }
    .advantages-container > .panel-grid-cell > .so-panel:nth-of-type(2) {
        grid-area: 1 / 2 / 2 / 3;
        text-align: left;
    }
    .advantages-container > .panel-grid-cell > .so-panel:nth-of-type(3) {
        grid-area: 2 / 2 / 3 / 3;
        text-align: left;
    }
    .price-container-2-columns {
        flex-direction: column;
        align-items: center;
        max-width: 400px;
    }
    .price-container-2-columns > .panel-grid-cell {
        width: 100%;
    }
    .price-container-1-column {
        max-width: 400px;
    }
    .sow-tabs-tab-container {
        justify-content: flex-start;
    }
    .page-tabs .sow-tabs-tab-container {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-bottom: 16px;
    }
    .price-container-1-column > .panel-grid-cell .list li:after {
        max-width: 220px;
    }
    .price-container-2-columns > .panel-grid-cell .heading,
    .price-container-1-column > .panel-grid-cell .heading {
        font-weight: 600;
    }
    .price-container-2-columns > .panel-grid-cell .price,
    .price-container-1-column > .panel-grid-cell .price {
        margin-bottom: 12px;
    }
    .price-container-1-column > .panel-grid-cell .list {
        margin-bottom: 12px;
    }
    .price-container-standart > .panel-grid-cell {
        flex-direction: column;
        align-items: center;
        max-width: 400px;
        width: 100%;
    }
    .price-container-standart > .panel-grid-cell > .so-panel {
        width: 100%;
    }
    .price-container-standart > .panel-grid-cell .heading {
        font-weight: 600;
    }
    .price-container-standart > .panel-grid-cell .price {
        margin-bottom: 12px;
    }
    .video-reviews-list .video-reviews-button-prev,
    .video-reviews-list .video-reviews-button-next {
        display: none;
    }
    .video-reviews-display-container {
        padding: 32px 0 0;
    }
    .reviews-list .reviews-button-next,
    .reviews-list .reviews-button-prev {
        display: none;
    }
    .heading-with-bg-type-1 {
        font-size: 20px;
        font-weight: 600;
        background-size: contain;
    }
    .sow-tabs-tab {
        font-size: 20px;
        font-weight: 600;
    }
    .page-tabs .sow-tabs-tab-container .sow-tabs-tab {
        font-size: 28px;
        font-weight: 500;
    }
}
@media (max-width: 600px) {
    .results-list_navigation .results-button-next,
    .results-list_navigation .results-button-prev {
        display: none;
    }
    #breadcrumbs .kama_breadcrumbs {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
    }
    #breadcrumbs .kama_breadcrumbs {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    /* Hide scrollbar for Chrome, Safari and Opera */
    #breadcrumbs .kama_breadcrumbs::-webkit-scrollbar {
        display: none;
    }
    .course-list .course-item {
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-width: 400px;
    }
    .course-item .course-thumbnail {
        max-width: 143px;
        margin-bottom: -63px;
        background: url(../../../uploads/icons/graphic-icon-2.svg) left bottom no-repeat;
        background-position: left 105px;
        z-index: 5;
    }
    .course-list .course-item:after {
        display: none;
    }
    .course-item .course-content {
        width: 100%;
        border: 2px solid var(--pink);
        border-radius: 12px;
        padding: 72px 12px 12px;
        background-color: #fff;
        background-image:
            linear-gradient(to right, rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 0.6) 100%),
            linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.6) 100%),
            url(../../../uploads/2024/07/grid-bg-1.webp);
    }
    .course-item .course-button {
        display: none;
    }
    .links-list .course-item .course-button {
        display: block;
        margin-top: 12px;
    }
    .links-list .course-item .course-button a {
        padding: 16px 32px;
    }
    .course-item .course-content__title-and-text {
        margin-bottom: 0;
    }
    .course-item .course-thumbnail:before {
        background-size: 100% 100%;
        width: 40px;
        height: 40px;
    }
    .course-item .course-thumbnail:after {
        background-size: 100% 100%;
        width: 40px;
        height: 35px;
    }
    .link-list .link-item .panel-grid {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .link-item .panel-grid > .panel-grid-cell:nth-of-type(1) {
        max-width: 143px;
        margin-bottom: -63px;
        padding: 0;
        background: url(../../../uploads/icons/graphic-icon-2.svg) left bottom no-repeat;
        background-position: left 105px;
        z-index: 5;
    }
    .link-item .panel-grid > .panel-grid-cell:nth-of-type(2) {
        border: 2px solid var(--pink);
        border-radius: 12px;
        padding: 72px 12px 12px;
        max-width: 360px;
        background: #fff;
        background-image:
            linear-gradient(to right, rgba(255,255,255,1) 60%, rgba(255,255,255,0.6) 100%),
            linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.6) 100%),
            url('../../../uploads/2024/07/grid-bg-1.webp');
    }
    .link-list .link-item .panel-grid:after {
        display: none;
    }
    .link-item .panel-grid > .panel-grid-cell:nth-of-type(1):before {
        background-size: 100% 100%;
        width: 40px;
        height: 40px;
    }
    .link-item .panel-grid > .panel-grid-cell:nth-of-type(1):after {
        background-size: 100% 100%;
        width: 40px;
        height: 35px;
    }
    .link-item .panel-grid > .panel-grid-cell:nth-of-type(2) .widget_text {
        margin-bottom: 0;
    }
    .link-item .panel-grid > .panel-grid-cell:nth-of-type(2) .widget_sow-button {
        display: none;
    }
    .promotion-item.promotion-item_row {
        flex-direction: column;
        gap: 0;
    }
    .promotion-item .widget_media_image {
        margin-bottom: 0;
    }
    .promotion-item .widget-title {
        margin-top: 12px;
        margin-bottom: 4px;
    }
    .promotion-item .image-desktop {
        display: none;
    }
    .promotion-item .image-mobile {
        display: block;
    }
    .posts-on-post-page .post-list .post-item {
        flex-direction: column;
        padding: 12px 12px 24px;
    }

    .posts-on-post-page .post-list .post-item .post-thumbnail {
        max-width: none;
        max-height: 230px;
    }
    .why-container .content .textwidget {
        padding: 24px 12px;
    }
    .banner_type-6 {
        padding: 32px 10px 32px;
    }
    .banner_type-6 .heading_h2 {
        text-align: left;
    }
    .reviews-list .review-item {
        padding: 24px 12px;
    }
    .price-container-1-column > .panel-grid-cell,
    .price-container-2-columns > .panel-grid-cell {
        padding: 12px;
    }
    .price-container-standart > .panel-grid-cell > .so-panel {
        padding: 12px;
    }
    .post-list {
        display: none;
    }
    .post-template-default .post-list {
        display: flex;
    }
    .post-list.mobile-post-list {
        display: block;
        overflow: hidden;
    }
    .post-list.mobile-post-list .swiper-wrapper {
        align-items: flex-start;
    }
    .post-list__button.mobile {
        display: block;
        margin-top: 24px;
    }
    .post-list__button.mobile a,
    .post-list__button.mobile button {
        width: 100%;
    }
    .post-list .post-item {
        padding: 12px 12px 24px;
    }
    .teachers-list.two-teachers {
        flex-direction: column;
    align-items: center;
    }
    .faq-container .sow-accordion-panel-header {
        align-items: flex-start;
    }
}
@media (max-width: 500px) {
    .advantages-container > .panel-grid-cell {
        grid-template-columns: 66px auto;
    }
    .reviews-display-container {
        padding: 20px 0 0;
    }
    .parent-page-course-first-screen_right-column .widget_media_image,
    .parent-page-course-first-screen_right-column .widget_media_image ~ .widget_media_image {
        display: none;
    }
    .image-to-transfer {
        margin: 32px auto 32px;
        text-align: center;
    }
    .image-to-transfer img {
        border-radius: 32px;
        overflow: hidden;
    }
    .parent-page-course__first-screen-container {
        margin-bottom: 0;
    }
    .buttons-container .panel-grid-cell {
        flex-direction: column;
    }
    .buttons-container .large-button {
        display: block;
        width: 100%;
    }
    .parent-page-course__second-screen {
        margin-bottom: 0;
    }
    .promotion-item {
        padding: 12px;
    }
    /*.promotion-item .widget_media_image {
        width: 100%;
        height: 200px;
        overflow: hidden;
        border-radius: 32px;
    }
    .promotion-item .widget_media_image img {
        border-radius: 0;
        object-fit: cover;
        height: 100% !important;
        width: 100%;
    }*/
    .mobile-left-container,
    .mobile-left-container .center {
        text-align: left;
    }
    .results-list {
        overflow: visible;
    }
    .swiper.results-pagination {
        width: 100%;
        margin-left: -40px;
        margin-right: -40px;
        overflow: visible;
    }
    .swiper.results-pagination .swiper-wrapper {
        align-items: center;
    }
    .results-pagination-slide {
        width: 110px;
        height: 110px;
    }
    .results-pagination-slide.swiper-slide-active {
        width: 110px;
        height: 110px;
    }
    .results-pagination-slide.swiper-slide-active img {
        width: 100%;
        height: auto;
    }
    .full-width-image_type-1 .desktop-image {
        display: none;
    }
    .full-width-image_type-1 .mobile-image {
        display: block;
    }
    .full-width-image_type-2 {
        height: 215px;
        display: flex;
        justify-content: center;
        border-radius: 32px;
        overflow: hidden;
        margin-left: -16px;
        margin-right: -16px;
    }
    .full-width-image_type-2 img {
        max-width: none !important;
        width: auto;
    }
    .full-width-image_type-1 {
        margin-left: -30px;
        margin-right: -30px;
    }
    .mobile-text-left {
        text-align: left;
    }
    .mobile-semibold {
        font-weight: 600;
    }
    .content-block-type-1 .heading_h2 {
        text-align: left;
    }
    .img-icons-after_type-1 {
        margin-bottom: 80px;
    }
    .img-icons-after_type-1:before {
        background-size: 100% 100%;
        width: 100%;
        height: 84px;
        bottom: -100px;
    }
    .mobile-page-slider {
        display: block;
        margin: 24px 0;
        overflow: hidden;
    }
    .mobile-page-slider .gallery .gallery-item {
        float: none !important;
        flex-shrink: 0;
    }
    .mobile-page-slider .gallery .gallery-item img {
        border: none !important;
        height: auto;
        max-height: 413px;
        border-radius: 32px;
        overflow: hidden;
    }
    .mobile-page-slider .gallery {
        transform: translate3d(0px, 0, 0);
        position: relative;
        width: 100%;
        height: 100%;
        z-index: 1;
        display: flex;
        transition-property: transform;
        transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
        box-sizing: content-box;
    }
    .mobile-slider-pagination {
        display: block;
        margin-top: 24px;
        margin-bottom: 60px;
        text-align: center;
    }
    .mobile-slider-pagination .swiper-pagination-bullet {
        width: 35px;
        height: 4px;
        background-color: var(--green);
        border-radius: 2px;
    }
    .promotion-button {
        width: 100%;
    }
}
@media (max-width: 450px) {
    .numbers-container .heading {
        background-size: 100% 100%;
    }
}
@media (max-width: 400px) {
    .video-reviews-list .video-review-item {
        padding: 16px 0;
    }
}

.youtube {
    overflow: hidden;
    position: relative;
    padding-top: 56.33%;
	 border-radius: 32px;
}

.youtube img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.youtube iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
}

.youtube:before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../../uploads/icons/youtube-icon.svg') center center no-repeat;
    z-index: 3;
}

.youtube.video:before {
	display: none;
}

/* nkp-service_listing  */
.nkp-service_listing .link-list {
    position: relative;
    z-index: 0;
}