.single-content .site-main {
    padding: 60px 0;
}

@media (max-width: 1024px) {
    .single-content .site-main {
        padding: 50px 0;
    }
}

/* Основной слайд */
.single-main-slide {
    height: 100vh;
    min-height: 500px;
    max-height: 700px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.single-main-slide .site-main {
    margin-top: 60px;
    z-index: 5;
}

.single-main-slide .columns-to-rows {
    gap: 100px;
}


.single-main-slide .background_img {
    position: absolute; /* Позволяет разместить элемент над другим */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Размещает затемнение выше фонового блока */
    object-fit: cover;
}

.single-main-slide .overlay {
    position: absolute; /* Позволяет разместить элемент над другим */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 51, 51, 0.75); /* #333333 с прозрачностью 75% */
    z-index: 2; /* Размещает затемнение выше фонового блока */
}

.single-main-slide .info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    /* flex-grow: 1; */
    width: 75%;
}

.single-main-slide .info.image,
.single-main-slide .info.advantages {
    display: grid;
    grid-template-columns: 75% 25%;
    grid-template-rows: auto 1fr;
    width: 100%;
}

.single-main-slide .info.image > div:nth-child(1),
.single-main-slide .info.advantages > div:nth-child(1) {
    grid-row: 1;
    grid-column: 1;
}

.single-main-slide .info.image > div:nth-child(2),
.single-main-slide .info.advantages > div:nth-child(2) {
    grid-row: 1/3;
    grid-column: 2;
}

.single-main-slide .info.image > div:nth-child(3),
.single-main-slide .info.advantages > div:nth-child(3) {
    grid-row: 2;
    grid-column: 1;
}

.single-main-slide .info .header {
    font-size: 60px;
    line-height: 110%;
    padding: 20px;
    margin: 0;
    color: var(--white);
    background-color: var(--main);

    /* display: table-caption; */
}

.single-main-slide .info .header.nobg {
    background-color: unset;
    padding: 0px;
}

.single-main-slide .info .header.nobg p {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--main);
    margin: 0;
}

.single-main-slide .info .header.nowrap p {
    text-wrap: nowrap;
}

.single-main-slide .info .header.nobg p:not(:first-of-type) {
    padding-top: 5px;
}

/*
.single-main-slide .info .header.nobg p:last-child {
    padding-top: 10px;
}*/


.single-main-slide .info.image .image .img-wrapper {
    transform: rotate(6.65deg);
}

/*
.tax-product_cat .single-main-slide .info.image .image .img-wrapper {
    transform: rotate(-6.65deg);
}*/

.single-main-slide .info.image .image .img-wrapper .main_img {
    max-width: 300px;
}


.single-main-slide.main-page .info .header {
    font-family: Inter Tight;
    font-size: 56px;
    font-weight: 600;
    line-height: 63.29px;
    background-color: unset;
    padding: 0;
    max-width: 800px;
}

.single-main-slide.main-page .info .header b {
    font-weight: 600;
    background-color: var(--main);
}

.single-main-slide .info .desc {
    /* margin-left: 33px; */
    margin-bottom: 22px;
    /* max-width: 600px; */
    color: var(--white);
    font-size: 18px;
    line-height: 110%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.single-main-slide.main-page .info .desc {
    max-width: 800px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 20px;;
}

.single-main-slide.main-page .info .desc .one:first-child {
    width: 100%;
}

.single-main-slide.main-page .info .desc .one:not(:first-child) {
    font-family: Noto Serif;
    font-size: 24px;
    font-style: italic;
    font-weight: 400;
    line-height: 27.13px;
    text-align: left;

}

.single-main-slide .info .desc .one {
    position: relative;
}

.single-main-slide .info .desc .one.with-icon {
    padding-left: 33px;
}

.single-main-slide .info .desc .one img {
    position: absolute;
    top: 4px;
    left: 0;
    width: 20px;
    height: 20px;
}

.single-main-slide .features {
    max-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.single-main-slide .features .one {
    background-color: var(--blue);
    color: var(--main);
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 15px 20px;
}

.single-main-slide .features .one .pre {
    font-family: Noto Serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 400;
    line-height: 110%;
}

.single-main-slide .features .one .text {
    font-family: Inter Tight;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
}

.single-main-slide.center .info {
    width: 100%;
    text-align: center;
    align-items: center;
}

.single-main-slide.center .info .desc {
    max-width: 600px;
}

.single-main-slide.center .info .button_to_univer {
    margin-left: auto;
    margin-right: auto;
}



.single-main-slide.center .site-main {
    text-align: center;
}

.single-main-slide .button_to_univer  {
    padding: 20px 40px;
    margin-top: 30px;
}

.single-main-slide .button_to_univer.hidden {
    display: none;
}

@media (max-width: 1024px) {
    .single-main-slide {
        min-height: 90vh;
    }

    .single-main-slide .site-main {
        margin-top: 100px;
    }

    .single-main-slide.vertical-center .site-main {
        margin-top: unset;
    }

    .single-main-slide.vertical-center {
        align-items: center;
    }

    .single-main-slide.center .info .button_to_univer {
        margin-left: 0;
    }

    .single-main-slide.center .info,
    .single-main-slide.center .site-main {
        text-align: left;
        align-items: start;
    }

    .single-main-slide .info.image {
        grid-template-columns: 100%;
        grid-template-rows: auto;
        position: relative;
    }

    .tax-product_cat .single-main-slide .info.image .image {
        position: absolute;
        width: 100px;
        right: 0;
        top: -50px;
    }

    .tax-product_cat .single-main-slide .info.image .image .img-wrapper {
        transform: rotate(6.65deg);
    }

    .single-main-slide .info.advantages {
        display: flex;
        flex-direction: column;
    }

    .single-main-slide .info.advantages > * {
        order: 0;
    }

    .single-main-slide .info.advantages > div.features {
        order: 1;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        max-width: unset;
    }

    .single-main-slide .features .one {
        width: 30%;
        flex-grow: 1;
    }

    .single-main-slide .features .one .text {
        font-size: 12px;
    }

    .single-main-slide .features .one {
        padding: 6px 10px;
        font-size: 12px;
        line-height: 110%;
    }

    .single-main-slide .features .one .pre {
        font-size: 30px;
    }

    .single-main-slide .info .desc {
        font-size: 15px;
        line-height: 100%;
    }

    .single-main-slide .info {
        gap: 30px;
    }

    .single-main-slide .info.advantages button.button_to_univer {
        display: none;
    }
    
    .single-main-slide .info.advantages > button.button_to_univer.hidden {
        order: 2;
        display: block;
        margin-top: 0;
    }

    .single-main-slide .button_to_univer {
        margin-bottom: 30px;
        padding: 13px 20px;
    }

    .single-main-slide .info.image > div {
        grid-row: auto !important;
        grid-column: auto !important;
    }

    .single-main-slide {
        height: unset;
        max-height: unset;
        overflow: hidden;
    }

    .single-main-slide .info .header {
        font-size: 30px;
        padding: 6px 10px;
    }


    .single-main-slide .info {
        width: 100%;
    }

    .single-main-slide .info .desc {
        max-width: 90% !important;
        margin-bottom: 0px;
    }

    .single-main-slide .info .header.nobg p {
        padding: 6px 10px;
        margin: 0 -10px;
        /* text-wrap: nowrap; */
    }

    .single-main-slide .info .header.nobg p:not(:first-child) {
        padding-top: 3px;
    }

    .single-main-slide .info.image .image {
        display: flex;
        justify-content: center;
    }

    .single-main-slide .info.image .image .img-wrapper.pin::before {
        content: url(/wp-content/themes/selfstartglobal/images/pin2.svg);
    }

    .single-main-slide .info.image .image .img-wrapper .main_img {
        max-height: 250px;
    }
}




/* Universities Slider */
.single-universities {
    padding: 60px 0px;
    /* display: flex; */
    /* flex-direction: column; */
    /* gap: 40px; */
}

.single-universities .header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.single-universities .header h2 {
    font-family: Noto Serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 600;
    line-height: 110%;    
    color: var(--white);
    margin: 0;
}

.single-universities.main-page .header h2 {
    color: var(--main);
}

.single-universities.main-page .header h2 {
    color: var(--main);
}

.single-universities.main-page .header h2:before {
    background-color: var(--blue);
}

.single-universities .slider-controls {
    display: flex;
    gap: 33px;
    align-items: center;
}

.single-universities .slider-controls span {
    padding: 10px 0;
    cursor: pointer;
}

.single-universities .universities-slider {
    padding-left: 70px; /* Добавляем отступы слева и справа для симметрии */
    overflow: hidden;
    display: flex;
}

.single-universities .slick-slide {
    margin-right: 20px; /* Отступ между слайдами */
}

.single-universities .slick-slide:last-child {
    margin-right: 0; /* Убираем отступ у последнего слайда */
}

/* Это нужно, чтобы позволить слайдам выходить за границы 
.single-universities .slick-list {
    overflow: visible; 
}
/* */

.single-universities .slick-prev,
.single-universities .slick-next {
    display: none; /* Отключаем стандартные стрелки */
}

.single-universities .universities-button {
    margin-top: 40px;
    text-align: center;
}

.single-universities a.button_to_univer.choose-university {
    background-color: var(--white);
    color: var(--main) !important;
    /* padding: 20px 37px !important; */
    /* border-radius: 5px; */
    border: 1px solid var(--main) !important;
    
}

.single-universities a.button_to_univer.choose-university:hover {
    background-color: var(--grey);
}

@media (max-width: 1024px) { 
    .single-universities {
        padding: 50px 0;
    }

    .single-universities .universities-slider {
        padding-left: 30px;
    }

    .single-universities .header {
        display: inline-flex;
        margin-bottom: 40px;
    }

    .single-universities .header h2 {
        font-size: 25px;
        line-height: 110%;
    }

    .single-universities .universities-button {
        margin-top: 30px;
    }
}

/* University */
.university {
    background-color: var(--white);
    /* padding: 26px 30px 40px 30px; */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 400px;
    min-width: 400px;
    margin-right: 20px;
    /* gap: 4px;  */
    height: 100%; /* Высота слайда на всю доступную высоту */
    border: solid 1px var(--main);
}

.university img {
    height: 215px;
    width: 100%;
    object-fit: cover;
    object-position: center center;
}


.university .text {
    padding: 20px;
    position: relative;
}

.university .text .top {
    position: relative;
    left: -8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.university .text .bottom {
    position: relative;
    left: -8px;
    display: block;
    flex-direction: column;
    gap: 10px;
}

.university .text .bottom span {
    font-family: Inter Tight;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: var(--main);
    background-color: var(--grey);
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
}

.university .text .bottom span:not(:last-child) {
    margin-bottom: 5px;
}

.university .text .top  div {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
}

.university .text .top div span {
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    text-align: left;
    color: var(--main);
    background-color: var(--blue);
    display: block;
    font-style: normal;
    display: inline;
    font-family: Inter Tight;
    padding: 5px 15px;
    border-radius: 20px;
    
}

.university .text div.highlighted {
    font-family: Noto Serif;
    text-align: left;
    background-color: var(--main);
    color: var(--white);
    display: inline-block;
    padding: 5px 10px;
    /* margin: 7px 0; */
    font-weight: 500;
    font-style: italic;
    font-size: 20px;
    line-height: 1.1em;
}

.university .text > span {
    font-family: Inter Tight;
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    margin: 13px 0;
    display: block;
}

.university .bottom_link {
    padding: 20px;
    flex-grow: 1;
    /* display: flex; */
    /* align-items: end; */
}

.university .bottom_link a {
    min-width: auto;
    padding: 10px 40px;
    height: auto;
    font-size: 14px;
}
@media (max-width: 1024px) { 
    .university {
        width: 270px;
        min-width: 270px;
    }

    .university img {
        height: 180px;
    }

    .university .text {
        padding: 10px 15px;
    }

    .university .bottom_link {
        padding: 15px;
    }

    .university .text div.highlighted {
        font-size: 18px;
    }

    .university .text .top div span,
    .university .text > span,
    .university .text .bottom span {
        font-size: 12px;
    }

    .university .bottom_link a {
        font-size: 12px;
        padding: 5px 20px;
        line-height: 18px;
    }
}



/* How we works */
.single-works {
    padding: 60px 0 60px 0;
}

.single-works.main-page {
    padding-top: 0;
}

.single-works h2.header::before {
    background-color: var(--blue);
    /* transform: rotate(1.01deg); */

}

.single-works.main-page2 h2.header {
    color: var(--main);
}

.single-works div.header {
    margin-bottom: 50px;
}

.single-works h2.header {
    color: var(--main);
    font-family: Noto Serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 600;
    line-height: 63.29px;
    margin: 0;
}

.single-works .steps {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.single-works .steps .step {
    width: 30%;
    flex-grow: 1;
    background-color: var(--blue-bg);
    position: relative;
    padding: 30px;
}

.single-works .steps .step .image {
    position: absolute;
    right: 20px;
    top: 20px;
    line-height: 0;
}

.single-works .step > div.image img {
    height: 150px;
    width: auto;
    object-fit: cover;
    object-position: right top;
}

.single-works .steps .step:nth-child(1),
.single-works .steps .step:nth-child(2) {
	width: 40%;
}

.single-works .steps .step:nth-child(1) .image,
.single-works .steps .step:nth-child(2) .image {
    top: unset;
    bottom: 0;
}

.single-works .steps .step:nth-child(1) .image img,
.single-works .steps .step:nth-child(2) .image img {
    height: auto;
    width: 210px;
}

.single-works .step {
    gap: 20px;
}


.single-works .step > div.text {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Вертикальное выравнивание */
}

.single-works .step:nth-child(1) > div.text span,
.single-works .step:nth-child(2) > div.text span {
    width: 70%;
    margin: 0 0 40px 0;
}

.single-works .step>div.text>i {
    margin-top: 90px;
    display: block;
    font-family: Noto Serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 400;
    line-height: 1em;
    -webkit-text-stroke: 1px var(--main);
    color: transparent;
    text-stroke: 1px var(--main);
}

.single-works .steps .step:nth-child(1) > div.text > i,
.single-works .steps .step:nth-child(2) > div.text > i {
    margin-top: 0px;
}


.single-works .step>div.text>b {
    display: block;
    font-family: Inter Tight;
    font-size: 25px;
    font-weight: 600;
    line-height: 100%;
    text-align: left;
    margin: 30px 0 15px 0;
}

.single-works .step>div.text>span {
    display: block;
    font-family: Inter Tight;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2em;
    text-align: left;
    margin: 0;   
}

.single-works .step>div.text>a {
    width: 180px;
    background-color: var(--white);
    height: 37px;
    padding: 10px 10px;
}

.single-works .step>div.image>span {
    position: absolute;
    top: 0px;
    left: -100px;
    font-family: Noto Serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 1em;
    /* background-color: var(--main); */
    color: var(--white);
    max-width: 140px;
    display: inline;
    z-index: 1;
}
.single-works .step>div.image>span>u {
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.single-works .step>div.image>span>u::before {
    content: '';
    position: absolute;
    top: 0;
    left: -4px;
    right: -4px;
    bottom: 0;
    background-color: var(--main);;
    z-index: -1;
}

@media (max-width: 1024px) {
    .single-works {
        padding: 50px 0;
    }

    .single-works div.header {
        margin-bottom: 35px;
    }


    .single-works h2.header {
        font-size: 25px;
        line-height: 110%;
    }

    .single-works .steps .step {
        width: 100% !important;
        padding: 15px;
    }

    .single-works .step>div.text>i {
        font-size: 25px;
    }

    .single-works .step>div.text>b {
        font-size: 20px;
        margin: 20px 0 10px 0;
    }

    .single-works .step>div.text>span {
        font-size: 13px;
    }

    .single-works .step:nth-child(1) > div.text span, .single-works .step:nth-child(2) > div.text span {
        margin-bottom: 25px;
    }

    .single-works .step>div.text>a {
        font-size: 13px;
        line-height: 13px;
        height: auto;
        width: 120px;
    }

    .single-works .step>div.image>span {
        font-size: 13px;
        max-width: 100px;
        left: -80px;
    }


    .single-works .step > div.image img {
        position: relative;
        top: -10px;
        right: -10px;
        height: 130px;
        width: auto;
    }

    .single-works .steps .step:nth-child(1) .image img, .single-works .steps .step:nth-child(2) .image img {
        top: 0;
        right: -15px;
        height: 130px;
        width: auto;
    }

    .single-works .works-button {
        margin-top: 35px !important;
    }
}


/* In numbers */
.single-works .numbers {
    gap: 15px;
    margin: 110px 0 80px 0;
}

.single-works.main-page .numbers {
    margin: 0;
    position: relative;
    margin-top: -50px;
}

.single-works .numbers .number {
    background-color: var(--blue);
    position: relative;
    /* min-height: 260px; */
    flex: 1;
    flex-shrink: 1;
    padding: 20px 10px 20px 20px;
}

.single-works .numbers .number > i {
    font-family: Noto Serif;
    font-size: 35px;
    font-style: italic;
    font-weight: 500;
    line-height: 100%;
    background-color: var(--white);
    color: var(--main);
    padding: 6px;
    display: inline-block;
}

.single-works .numbers .number>span {
    font-family: Inter Tight;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    display: inline-block;
    margin-top: 15px;
}

.single-works .numbers .number>span>span {
    margin-right: 70px;
    display: block;
}

.single-works .numbers .number>span u {
    font-family: Noto Serif;
    font-weight: 500;
    font-style: Italic;
    font-size: 23px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--main);
    text-decoration: none;
    text-wrap: nowrap;
}

.single-works .numbers .number img {
    position: absolute;
    right: 10px;
    height: 70px;
    width: auto;
    top: calc(50% - 20px);
    /* bottom: 20px; */
}


.single-works .numbers .number:nth-child(4) img {
    top: 10%;
    height: 105px;
}
/*
.single-works .numbers .number:nth-child(1) > i {
    transform: rotate(-3deg);
}

.single-works .numbers .number:nth-child(2) > i {
    transform: rotate(1.94deg);
}

.single-works .numbers .number:nth-child(3) > i {
    transform: rotate(-1.94deg);
}

.single-works .numbers .number:nth-child(4) > i {
    transform: rotate(2.05deg);
}
/* */
@media (max-width: 1024px) {
    .single-works .numbers {
        gap: 20px;
        flex-wrap: wrap;
    }

    .single-works .numbers .number {
        width: 40%;
        padding: 10px;
    }

    .single-works .numbers .number img {
        height: 50px;
    }

    .single-works .numbers .number > i {
        font-size: 25px;
    }

    .single-works .numbers .number:nth-child(4) img {
        top: calc(50% - 20px);
        height: 50px;
    }

    .single-works .numbers .number>span {
        font-size: 12px;
        line-height: 120%;
    }

    .single-works .numbers .number>span>span {
        margin-right: 50px;
    }

    .single-works .numbers .number>span u {
        font-size: 15px;
    }
    
}

.single-works .works-button {
    margin-top: 50px;
    text-align: center;
}

/* Our Service */
.single-our-services .site-main {
    margin: 60px 0;
}

.single-our-services .header {
    font-family: Noto Serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 600;
    line-height: 110%;
    color: var(--white);
    margin: 0px 0 60px 0;
}

.single-our-services .services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.single-our-services .services-list .service {
    display: flex;
    flex-direction: column;
}

.single-our-services .services-list .service .text {
    background-color: #F6F6F6;
    padding: 17px 20px 30px 20px;
    display: block;
    flex-grow: 1;
}

.single-our-services .services-list .service img {
    height: 160px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.single-our-services .services-list .service span {
    display: block;
}

.single-our-services .services-list .service span:first-child {
    font-family: Noto Serif;
    font-size: 25px;
    font-style: italic;
    font-weight: 400;
    line-height: 110%;
    margin-bottom: 10px;
}

.single-our-services .services-list .service span:first-child b,
.single-our-services .services-list .service span:first-child strong {
    background-color: var(--red);
    color: var(--white);
    padding: 0 6px;
}

.single-our-services .services-button {
    margin: 50px 0 0 0;
    display: block;
    text-align: center;
}


@media (max-width: 1024px) {
    .single-our-services .header {
        font-size: 25px;
        margin-bottom: 40px;
    }

    .single-our-services .services-list .service img {
        height: 130px;
    }

    .single-our-services .services-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .single-our-services .services-list .service span:first-child {
        font-size: 20px;
    }
    
    .single-our-services .services-list .service .text {
        padding: 17px 15px;
    }

    .single-our-services .services-button {
        margin-top: 35px;
    }
}

/*
.single-our-services .services-button .button_to_univer {
    width: 250px;
}
/*
.single-our-services .services-button .button_outline {
    width: 200px;
}
*/

/* Cases Slider */
.single-cases {
    padding: 60px 0px;
    /* display: flex; */
    /* flex-direction: column; */
    /* gap: 40px; */
}

.single-cases .header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.single-cases .header h2 {
    font-family: Noto Serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 600;
    line-height: 110%;    
    margin: 0;
}

.single-cases .header h2::before {
    /* transform: rotate(-0.37deg); */
}


.single-cases .slider-controls {
    display: flex;
    gap: 33px;
    align-items: center;
}

.single-cases .slider-controls span {
    padding: 10px 0;
    cursor: pointer;
}

.single-cases .case {
    display: flex;
    flex-direction: column;
    width: 466px;
    min-width: 466px;
    margin-right: 20px;
}

.single-cases .block-columns {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    background-color: var(--blue);
    padding: 20px;
}

.single-cases .text {
    background-color: var(--blue);
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}

.single-cases .block-columns .photo {
    width: 180px;
}

.single-cases .bottom_link a {
    margin-top: 6px;
    width: 100%;
}

.single-cases .bottom_link a:hover {
    background-color: var(--grey);
}


.single-cases .block-columns .photo img {
    width: 180px;
    height: 230px;
    object-fit: cover;
    object-position: center center;
    transform: rotate(-2deg);
    border: 5px solid var(--white);
}

.single-cases .block-columns .name {
    width: 50%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.single-cases .block-columns .name div:first-child {
    font-family: Inter Tight;
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    color: var(--main);
}

.single-cases .block-columns .name div:last-child {
    font-family: Noto Serif;
    font-weight: 500;
    font-style: italic;
    font-size: 30px;
    line-height: 100%;
    color: var(--main);
    margin-bottom: 5px;
}


.single-cases .cases-slider {
    padding-left: 70px; /* Добавляем отступы слева и справа для симметрии */
    overflow-x: hidden;
    display: flex;
}


.single-cases .slick-slide:last-child {
    margin-right: 0; /* Убираем отступ у последнего слайда */
}

/* Это нужно, чтобы позволить слайдам выходить за границы 
.single-cases .slick-list {
    overflow: visible; 
}
/* */

.single-cases .slick-prev,
.single-cases .slick-next {
    display: none; /* Отключаем стандартные стрелки */
}

@media (max-width: 1024px) {
    .single-cases .cases-slider {
        padding-left: 30px;
    }

    .single-cases .header h2 {
        font-size: 25px;
    }

    .single-cases .header {
        display: inline-flex;
        margin-bottom: 35px;
    }

    .single-cases .block-columns {
        padding: 11px;
        gap: 10px;
    }

    .single-cases .block-columns .name div:first-child {
        font-size: 11px;
    }

    .single-cases .block-columns .name div:last-child {
        font-size: 20px;
    }

    .single-cases .text {
        padding: 0 11px 11px 11px;
    }

    .single-cases .case {
        width: 270px;
        min-width: 270px;
    }

    .single-cases .block-columns .photo {
        width: 105px;
    }

    .single-cases .block-columns .photo img {
        width: 103px;
        height: 132px;
    }
}


/* Reviews Slider */
.single-reviews {
    padding: 60px 0px;
    /* display: flex; */
    /* flex-direction: column; */
    /* gap: 40px; */
}

.single-reviews .header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.single-reviews .header h2 {
    font-family: Noto Serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 600;
    line-height: 110%;    
    color: var(--main);
    margin: 0;
}

.single-reviews.main-page .header h2 {
    color: var(--white);
}

.single-reviews .header h2:before {
    background-color: var(--blue);
}

.single-reviews.main-page .header h2:before {
    background-color: var(--main);
}


.single-reviews .slider-controls {
    display: flex;
    gap: 33px;
    align-items: center;
}

.single-reviews .slider-controls span {
    padding: 10px 0;
    cursor: pointer;
}

.single-reviews .reviews-slider {
    padding-left: 70px; /* Добавляем отступы слева и справа для симметрии */
    overflow: hidden;
    display: flex;
}

.single-reviews .review {
    width: 466px;
    min-width: 466px;
    background-color: #F6F6F6;
    padding: 20px;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    margin-right: 20px;
    /* display: flex; */
    /* flex-direction: column; */
    /* gap: 4px;  */
    height: 100%; /* Высота слайда на всю доступную высоту */
}

.single-reviews .review.add-media {
    /* padding-bottom: 300px; */
}


.single-reviews .review > b {
    font-family: Noto Serif;
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
    line-height: 120%;
    color: var(--white);
    background-color: var(--red);
    padding: 0 6px; 
    display: inline-block;
    margin-bottom: 15px;
}

.single-reviews .review > i {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    font-style: normal;
    display: block;  
    margin-bottom: 15px;
    color: #373737;

}

.single-reviews .review > span {
    font-family: Noto Serif;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    line-height: 120%;
    display: block;    
    margin-top: 20px;
    color: #373737;
}

.single-reviews .review .media-img {
    /* position: absolute; */
    bottom: 0;
    height: 300px;
    width: 100%;
    margin: 0 -20px;
}

.single-reviews .review .media {
    position: absolute;
    left: 30px;
    z-index: 10;
    padding-top: 15px;
}

.single-reviews .review .media > img {
    position: relative;
    left: 50px;
    top: -10px;
}

.single-reviews .review .media .media-text {
    font-family: Inter Tight;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    color: var(--main);
    background-color: var(--blue);
    padding: 2px 6px;
    position: relative;
    top: -10px;
    transform: rotate(-2.49deg);
    display: block;
}



.single-reviews .review .review-img {
    position: absolute;
    right: 0px;
    bottom: 0px;
    max-height: 300px;
    /* height: 300px; */
    width: auto;
}

.single-reviews .slick-slide {
    margin-right: 20px; /* Отступ между слайдами */
}

.single-reviews .slick-slide:last-child {
    margin-right: 0; /* Убираем отступ у последнего слайда */
}

/* Это нужно, чтобы позволить слайдам выходить за границы 
.single-reviews .slick-list {
    overflow: visible; 
}
/* */

.single-reviews .slick-prev,
.single-reviews .slick-next {
    display: none; /* Отключаем стандартные стрелки */
}

.single-reviews .reviews-button {
    margin-top: 50px;
    text-align: center;
}

@media (max-width: 1024px) {
    .single-reviews {
        padding: 50px 0;
    }

    .single-reviews .header h2 {
        font-size: 25px;
        display: inline-block;
    }

    .single-reviews .header {
        margin-bottom: 35px;
        display: block;
    }
    
    .single-reviews .reviews-slider {
        padding-left: 30px;
    }

    .single-reviews .review {
        width: 270px;
        min-width: 270px;
        padding: 15px;
    }

    .single-reviews .review > b {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .single-reviews .review > i {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .single-reviews .review > span {
        margin-top: unset;
        font-size: 13px;
    }

    .single-reviews .review .media {
        left: 14px;
    }

    .single-reviews .review .media > img {
        width: auto;
        height: 40px;
        left: 28px;
    }

    .single-reviews .review .media a > img {
        width: 36px;
        height: 36px;
    }

    .single-reviews .review .media .media-text {
        font-size: 10px;
        line-height: 110%;
    }

    .single-reviews .review .media-img {
        height: 200px;
    }

    .single-reviews .review .review-img {
        max-height: 200px;
    }
    
    .single-reviews .review.add-media {
        /* padding-bottom: 200px; */
    }

    .single-reviews .reviews-button {
        margin-top: 30px;
    }
}


/* Single Minus and Plus */
.plus-minus-single {
    margin-top: 65px;
}

.plus-minus-single .pluses>b,
.plus-minus-single .minuses>b {
    font-family: Noto Serif;
    font-size: 42px;
    font-style: italic;
    font-weight: 400;
    line-height: 55.02px;
    color: var(--main);
}

.plus-minus-single .pluses .list,
.plus-minus-single .minuses .list {
        background-color: #f8f8f8;
        padding: 30px 0 40px 0;
}

.plus-minus-single .minuses .list img {
    padding-top: 13px;
}

.plus-minus-single .plus .list img {
    padding-top: 3px;
}


.plus-minus-single.columns-to-rows > div {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.plus-minus-single.columns-to-rows > div > div {
    flex-grow: 1;
}

.plus-minus-single .list > div {
    display: flex;
    gap: 20px;
    padding: 11px 17px;
    justify-content: space-between;
    align-items: start;
}

.plus-minus-single .list>div>span {
    font-family: Inter Tight;
    font-size: 20px;
    font-weight: 400;
    line-height: 26.2px;
    text-align: left;
}

.plus-minus-single .pluses .list div:nth-child(2n+1) {
    background-color: #e9eff4;
}

.plus-minus-single .minuses .list div:nth-child(2n) {
    background-color: #e9eff4;
}

/* Articles */
.single-articles {
    background-color: var(--blue);
}

.single-articles {
    background-color: var(--blue);
    padding: 60px 0px;
    /* display: flex; */
    /* flex-direction: column; */
    /* gap: 40px; */
}

.single-articles .header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.single-articles .header h2 {
    font-family: Noto Serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 600;
    line-height: 100%;    
    color: var(--white);
    margin: 0;
}


.single-articles .slider-controls {
    display: flex;
    gap: 33px;
    align-items: center;
}

.single-articles .slider-controls span {
    padding: 10px 0;
    cursor: pointer;
}

.single-articles .articles-slider {
    padding-left: 70px; /* Добавляем отступы слева и справа для симметрии */
    overflow: hidden;
    display: flex;
}

.single-articles .article {
    background-color: #F6F6F6;
    /* padding: 30px; */
    width: 466px;
    min-width: 466px;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    min-height: 500px;
    margin-right: 20px;
    /* height: 100%;  */
}

.single-articles .article > img.wp-post-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.single-articles .article > div.overflow {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: linear-gradient(
        to top, 
        rgba(33, 64, 128, 1) 30%,         /* От 0% до 30% — непрозрачный (rgba(0, 0, 0, 1)) */
        rgba(33, 64, 128, 0.3) 70%,       /* От 30% до 60% — градиент до прозрачности 10% (rgba(0, 0, 0, 0.1)) */
        rgba(33, 64, 128, 0.3) 100%       /* От 60% до 100% — прозрачность 10% */
      );
}

.single-articles .article > div.content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    z-index: 5;
    height: 50%;
    padding: 0 30px 30px 30px;
}

.single-articles .article .text {
    color: var(--white);
}

.single-articles .article .text > b {
    font-family: Noto Serif;
    font-size: 25px;
    font-style: italic;
    font-weight: 500;
    line-height: 100%;
    text-align: left;
    display: block;    
}

.single-articles .article .text > span {
    font-family: Inter Tight;
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    text-align: left;
    margin: 10px 0 10px 0;   
    display: block;
}

.single-articles .article .content .foot span {
    display: none;
}

.single-articles .article .content .foot {
    display: flex;
    justify-content: space-between;
}

.single-articles .article .content .foot span {
    text-align: right;
    color: rgba(255,255,255,0.7);
    font-family: Inter Tight;
    font-size: 16px;
    font-weight: 400;
    line-height: 20.96px;
}

.single-articles .article .content .foot span b {
    font-family: Inter Tight;
    font-size: 20px;
    font-weight: 400;
    line-height: 26.2px;
}

.single-articles .article .content .foot div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-articles .article .content .foot a {
    background-color: var(--white);
    font-family: Inter Tight;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    text-align: center;
    width: 135px;
    border-radius: 3px;
    padding: 10px 40px;
}

.single-articles .slick-slide {
    margin-right: 20px; /* Отступ между слайдами */
}

.single-articles .slick-slide:last-child {
    margin-right: 0; /* Убираем отступ у последнего слайда */
}

/* Это нужно, чтобы позволить слайдам выходить за границы 
.single-articles .slick-list {
    overflow: visible; 
}
/* */

.single-articles .slick-prev,
.single-articles .slick-next {
    display: none; /* Отключаем стандартные стрелки */
}

@media (max-width: 1024px) {
    .single-articles {
        padding: 50px 0;
    }

    .single-articles .header {
        display: inline-flex;
        margin-bottom: 35px;
    }

    .single-articles .header h2 {
        font-size: 25px;
    }

    .single-articles .article {
        width: 270px;
        min-width: 270px;
        min-height: 310px;
    }

    .single-articles .article > div.content {
        padding: 0 15px 15px 15px;
    }

    .single-articles .article .text > b {
        font-size: 17px;
    }

    .single-articles .article .text > span {
        font-size: 11px;
    }

    .single-articles .article > div.content {
        height: auto;
    }

    .single-articles .article .content .foot a {
        font-size: 11px;
        padding: 8px 30px;
        width: auto;
    }

    .single-articles .articles-slider {
        padding-left: 30px;
    }
}


/* Reviews Slider */
.single-countries {
    padding: 60px 0px;
    /* display: flex; */
    /* flex-direction: column; */
    /* gap: 40px; */
}

.single-countries .header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.single-countries .header h2 {
    font-family: Noto Serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 600;
    line-height: 110%;    
    color: var(--white);
    margin: 0;
}

/* .single-countries .header h2:before {
    background-color: var(--blue);
} */


.single-countries .slider-controls {
    display: flex;
    gap: 33px;
    align-items: center;
}

.single-countries .slider-controls span {
    padding: 10px 0;
    cursor: pointer;
}

.single-countries .countries-slider {
    padding-left: 70px; /* Добавляем отступы слева и справа для симметрии */
    overflow-x: hidden;
    display: flex;
}

.single-countries .country {
    background-color: var(--blue);
    padding: 30px;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    min-width: 466px;
    margin-right: 20px;
    width: 466px;
    display: flex;
    flex-direction: column;
    gap: 20px; 
    height: 100%;
}

.single-countries .country .title {
    display: flex;
    gap: 15px;
    align-items: center;
}

.single-countries .country .title img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.single-countries .country .title span {
    font-family: Noto Serif;
    font-size: 30px;
    font-style: italic;
    font-weight: 500;
    line-height: 100%;
    text-align: left;
    color: var(--main);
}

.single-countries .country .content {
    font-family: Inter Tight;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    color: var(--main);
    flex-grow: 1;
}


.single-countries .country .content .one:not(.with-icon) {
    padding-bottom: 22px;
}

.single-countries .country .content .one.with-icon {
    padding-left: 30px;
    position: relative;
}

.single-countries .country .content .one.with-icon:not(:last-child) {
    margin-bottom: 10px;
}

.single-countries .country .content .one.with-icon svg {
    position: absolute;
    left:0px;
    top: 2px;
}

.single-countries .country .advant span {
    display: block;
    position: relative;
    padding-left: 30px;
    font-family: Inter Tight;
    font-weight: 400;
    font-size: 20px;
    line-height: 131%;
    color: var(--main);
    margin-bottom: 5px;
}

.single-countries .country .advant span:before {
    content: url("/wp-content/themes/selfstartglobal/images/info.svg");
    position: absolute;
    top: 4px;
    left: 0;
}


.single-countries .country .button_outline {
    /* margin-top: 20px; */
    display: inline-block;
    background-color: var(--white);
    width: auto;
    font-size: 16px;
    line-height: 160%;
    padding: 10px 40px;
    height: auto;
}

.single-countries .slick-slide {
    margin-right: 20px; /* Отступ между слайдами */
}

.single-countries .slick-slide:last-child {
    margin-right: 0; /* Убираем отступ у последнего слайда */
}

/* Это нужно, чтобы позволить слайдам выходить за границы 
.single-countries .slick-list {
    overflow: visible; 
}
/* */

.single-countries .slick-prev,
.single-countries .slick-next {
    display: none; /* Отключаем стандартные стрелки */
}

.single-countries .reviews-button {
    margin-top: 80px;
    text-align: center;
}

.single-countries .button_block {
    text-align: center;
    margin-top: 40px;
}

.single-countries .button_block a {
    font-size: 16px;
    line-height: 110%;
    background-color: var(--white);
    color: var(--main) !important;
    border: 1px solid var(--main);
    padding: 15px 30px;

}

@media (max-width: 1024px) { 
    .single-countries .header {
        display: block;
    }

    .single-countries .header h2 {
        font-size: 25px;
        display: inline-block;
    }

    .single-countries .header {
        margin-bottom: 30px;
    }

    .single-countries .countries-slider {
        padding-left: 30px;
    }

    .single-countries .country {
        width: 270px;
        min-width: 270px;
        padding: 13px 18px 18px 18px;
    }

    .single-countries .country .title img {
        width: 29px;
        height: 29px;
    }

    .single-countries .country .title span {
        font-size: 20px;
    }

    .single-countries .country .content {
        font-size: 12px;
    }

    .single-countries .country .content .one.with-icon {
        padding-left: 20px;
    }

    .single-countries .country .content .one.with-icon svg {
        width: 10px;
        height: 10px;
    }

    .single-countries .country .button_outline {
        /* margin-top: 25px; */
    }

    .single-countries .country .button_outline {
        font-size: 12px;
        line-height: 160%;
        padding: 6px 15px;
    }

    .single-countries .button_block {
        margin-top: 30px;
    }

    .single-countries .button_block a {
        font-size: 14px;
        padding: 15px 17px;
    }
}


/* Our Advantages */
.single-advantages .site-main {
    min-height: 570px;
    background: no-repeat url(/wp-content/themes/selfstartglobal/images/people_clean.svg) bottom right;
    display: flex;
    align-items: center;
}

.single-advantages .site-main .steps {
    width: 400px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 80px 0;
}

.single-advantages .site-main .steps .text {
    border-left: 10px solid var(--blue);
    padding-left: 24px;
    font-family: Inter Tight;
    font-size: 20px;
    font-weight: 500;
    line-height: 25px;
}

.single-advantages .site-main .steps .text b {
    font-weight: 500;
    background: var(--red);
    color: var(--white);
}

/* Single FAQ */
.single-faq .site-main {
    padding: 80px 0 110px 0;
}

.single-faq .header::before {
    background-color: var(--blue);
}

.single-faq .header {
    color: var(--main);
    margin-bottom: 60px;
}

/* Form Question */
.single-form-question {
    background-color: var(--blue);
}

.single-form-question .site-main {
    padding: 50px 0 90px 0;
}

.single-form-question .header {
    font-family: Noto Serif;
    font-size: 42px;
    font-style: italic;
    font-weight: 400;
    line-height: 55.02px;
    text-align: left;
    color: var(--main);
    margin: 0 0 10px 0;
}

.single-form-question .description {
    font-family: Inter Tight;
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
    text-align: left;
    color: var(--main);
    margin: 10px 0 50px 0;
}


.form-question {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 20px;
}


.form-question .wpcf7-form-control-wrap[data-name="message"] {
    width: 100%; /* Ширина 100% */
    line-height: 0;
}

.form-question .wpcf7-form-control-wrap[data-name="message"] textarea {
    height: 124px;
}

/* Остальные поля формы с фиксированной шириной (например, 300px) */
.form-question .wpcf7-form-control-wrap[data-name="your-name"] input,
.form-question .wpcf7-form-control-wrap[data-name="email"] input {
    width: 300px; /* Фиксированная ширина для полей ввода */
    box-sizing: border-box; /* Учитываем отступы и границы в ширине */
}


.form-question .wpcf7-submit {
    width: 200px;
}


/* FORM Subscribe */
.single-form-subscribe {
    position: relative;
    background-color: var(--main);
    min-height: 540px;
}

.single-form-subscribe h2.header {
    font-family: Noto Serif;
    font-size: 56px;
    font-style: italic;
    font-weight: 600;
    line-height: 63.29px;
    text-align: left;
    color: var(--main);
    margin:60px 0 0 0;
}

.single-form-subscribe h2.header::before {
    background-color: var(--blue);
    transform: rotate(-0.67deg);
}

.single-form-subscribe .description {
    border-left: 10px solid var(--red);
    padding-left: 19px;
    font-family: Inter Tight;
    font-size: 20px;
    font-weight: 500;
    line-height: 26.2px;
    text-align: left;
    color: var(--white);
    margin-bottom: 33px;
}



.single-form-subscribe .background_img {
    position: absolute; /* Позволяет разместить элемент над другим */
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    z-index: 1; /* Размещает затемнение выше фонового блока */
    object-fit: cover;
}

.single-form-subscribe .overlay {
    position: absolute; /* Позволяет разместить элемент над другим */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(90deg, rgba(0, 0, 0, 0) -6.93%, rgba(33, 64, 128, 0.62) 41.75%, var(--main) 50%); */
    background: linear-gradient(59.45deg, rgba(0, 0, 0, 0) -6.93%, rgba(33, 64, 128, 0.62) 91.75%);


    /* background-color: rgba(51, 51, 51, 0.75); #333333 с прозрачностью 75% */
    z-index: 2; /* Размещает затемнение выше фонового блока */
}

.single-form-subscribe .site-main {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
}

.single-form-subscribe  .columns-to-rows {
    height: 100%;
}

.single-form-subscribe  .columns-to-rows .header_block {
    width: 55%;
}

.single-form-subscribe  .columns-to-rows .form_block {
    padding: 70px 40px 0 40px;
    width: 45%;
    background-color: var(--main);
}

.form-subscribe .wpcf7-form-control-wrap[data-name="email"] input {
    max-width: 340px; /* Фиксированная ширина для полей ввода */
    box-sizing: border-box; /* Учитываем отступы и границы в ширине */
}

.form-subscribe .wpcf7-submit,
.form-subscribe .wpcf7-submit:hover {
    margin-top: 17px;
    width: 200px;
    background-color: var(--red);
    height: 60px;
}


/* FORM Consultation */
.single-form-consult {
    position: relative;
    background-color: var(--main);
    /* min-height: 700px; */
}

.single-form-consult .background_img {
    position: absolute; /* Позволяет разместить элемент над другим */
    top: 0;
    left: 0;
    width: calc(45% + 35px);
    height: 100%;
    z-index: 1; /* Размещает затемнение выше фонового блока */
    object-fit: cover;
}

.single-form-consult .site-main {
    /* position: absolute; */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
}

.single-form-consult .site-main .columns-to-rows {
    height: 100%;
    gap: 0px !important;
}

.single-form-consult .site-main .columns-to-rows .clean_block {
    width: 45%;
}

.single-form-consult .site-main .columns-to-rows .form_block {
    width: 55%;
    background-color: var(--main);
    padding: 60px 40px;
}

.single-form-consult .site-main h2.header::before {
    background-color: var(--blue);
    
}
.single-form-consult .site-main h2.header {
    font-family: Noto Serif;
    font-size: 35px;
    font-style: italic;
    font-weight: 500;
    line-height: 100%;
    text-align: left;
    color: var(--main);
    margin: 0;
}

.single-form-consult .site-main .description {
    font-family: Inter Tight;
    font-size: 16px;
    font-weight: 300;
    line-height: 120%;
    text-align: left;
    color: var(--white);
    margin: 20px 0 60px 0;
}

.single-form-consult2 .columns-to-rows {
    justify-content: space-between;
    padding: 60px 0;
}

.single-form-consult2 .text_block {
    max-width: 460px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;

}

.single-form-consult2 .form_block {
    max-width: 50%;
}

.single-form-consult .form-consult .wpcf7-submit {
    margin: 0px !important;
}


.single-form-consult2 .header {
    font-family: Noto Serif;
    font-weight: 500;
    font-style: italic;
    font-size: 30px;
    line-height: 1em;
    color: var(--main);
    padding: 17px;
    max-width: 90%
}

.single-form-consult2 .header::before {
    background-color: var(--blue);
}

.single-form-consult2 .description {
    font-family: Inter Tight;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.2em;
    color: var(--white);
    max-width: 90%
}


.form-consult input,
.form-consult2 input {
    margin-bottom: 30px;
    background-color: var(--main);
    border-bottom: 1px solid var(--white);
    color: var(--white);
    padding: 15px 0;
}

.form-consult2 input {
    margin-bottom: 15px;
}

.form-consult input:focus,
.form-consult2 input:focus {
    border-color: var(--white);
}

.form-consult input::placeholder,
.form-consult2 input::placeholder {
    color: var(--white);
    opacity: 0.5;
}

.form-consult .wpcf7-submit,
.form-consult .wpcf7-submit:hover,
.form-consult2 .wpcf7-submit,
.form-consult2 .wpcf7-submit:hover {
    margin-top: 17px;
    width: 200px;
    background-color: var(--red);
    /* height: 60px; */
    padding: 15px 40px;
}

@media (max-width: 1024px) {
    .single-form-consult2 .columns-to-rows {
        padding: 40px 0;
    }

    .single-form-consult2 .text_block > * {
        order: 1;
    }

    .single-form-consult2 .text_block img {
        order: 0;
    }

    .single-form-consult2 .header {
        max-width: unset;
        font-size: 25px;
        padding: 8px 10px;
    }

    .single-form-consult2 .text_block {
        max-width: unset;
        gap: 20px;
    }

    .single-form-consult2 .description {
        font-size: 13px;
    }

    .single-form-consult2 .description,
    .single-form-consult2 .form_block {
        max-width: unset;
    }

    .form-consult input, .form-consult2 input {
        font-size: 13px;
        padding: 10px 0 10px 0;
        margin-bottom: 10px;
    }

    .form-consult .wpcf7-submit, .form-consult .wpcf7-submit:hover, .form-consult2 .wpcf7-submit, .form-consult2 .wpcf7-submit:hover {
        font-size: 13px;
        padding: 10px 40px;
        width: auto;
    }

    .single-form-consult .background_img {
        position: relative;
        width: 100%;
        height: auto;
        max-height: 350px;
    }

    .single-form-consult {
        display: flex;
        flex-direction: column;
    }

    .single-form-consult > * {
        order: 0;
    }

    .single-form-consult > img {
        order: 1;
    }

    .single-form-consult .site-main .columns-to-rows .form_block {
        width: 100%;
        padding: 50px 0;
    }

    .single-form-consult .site-main h2.header {
        font-size: 25px;
    }

    .single-form-consult .site-main .description {
        font-size: 13px;
        margin: 25px 0 35px 0;
    }

    .single-form-consult .form-consult .wpcf7-submit {
        margin-top: 10px !important;
    }
}


/* Intro Main */
.intro-main {
    padding: 30px 0 200px 0;
}

.intro-main .inner .img-wrapper {
    transform: rotate(-1.84deg);
}

.intro-main .inner .img-wrapper img {
    width: 300px;
    min-width: 300px;
}

.intro-main .inner .img-wrapper.pin::before {
    top: unset;
    bottom: -30px;
    left: 30%;
}

.intro-main .inner .info > div:first-child {
    margin: 21px 0px 8px 50px;
}

.intro-main .inner .info > div:last-child {
    margin-top: 31px;
}

.intro-main .inner .header1 {
    font-family: Noto Serif;
    font-size: 44.98px;
    font-style: italic;
    font-weight: 600;
    line-height: 50.84px;
    text-align: center;
    color: var(--white);
}

.intro-main .inner .header1::before {
    background-color: var(--red);
    transform: rotate(-0.38deg);
}

.intro-main .inner .header2 {
    font-family: Noto Serif;
    font-size: 44.98px;
    font-style: italic;
    font-weight: 600;
    line-height: 50.84px;
    text-align: center;
    color: var(--white);
}

.intro-main .inner .header2::before {
    transform: rotate(0.9deg);
}

.intro-main .inner .description {
    /* font-family: Inter; */
        font-size: 20px;
        font-weight: 500;
        line-height: 25px;
        text-align: left;

    border-left: 10px solid var(--blue);
    padding-left: 15px;
    width: 70%;
}

.intro-main .text {
    /* font-family: Inter; */
    font-size: 20px;
    font-weight: 500;
    line-height: 25px;
    text-align: left;
    margin: 60px 0 20px 0;
}

.intro-main .list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin: 50px 0 0 0;
}

.intro-main .list .item:not(.info) {
    position: relative;
    padding: 23px 13px;
    background: #CFE7FD82;
    font-family: Inter Tight;
    font-size: 20.05px;
    font-weight: 400;
    line-height: 26.26px;
    text-align: left;
    min-height: 170px;
}

.intro-main .list .item:not(.info) b {
    font-family: Noto Serif;
    font-size: 34.27px;
    font-style: italic;
    font-weight: 600;
    line-height: 1em;
    text-align: left;
    display: block;
    color: var(--main);
    margin-bottom: 3px;
}

.intro-main .list .item.info b {
    font-family: Noto Serif;
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
    line-height: 26.2px;
    text-align: left;
    display: block;
    color: var(--main);
    margin-bottom: 7px;
}

.intro-main .list .item.info {
    position: relative;
}

.intro-main .list .item.info .pin::before {
    content: url(/wp-content/uploads/2024/10/pin_blue.svg);
    top: unset;
    left: unset;
    bottom: -30px;
    right: 10%;


}

.intro-main .list .item.info .info_box {
    position: absolute;
    background-color: #CFE7FD;
    padding: 23px 20px 40px 20px;
    right: 0;
}


/* Our Curators */
.single-our-curators .header {
    font-family: Noto Serif;
    font-size: 56px;
    font-style: italic;
    font-weight: 600;
    line-height: 63.29px;
    text-align: center;
    color: var(--white);
}

.single-our-curators .header::before {
    transform: rotate(-0.53deg);
}

.single-our-curators .list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin: 50px 0 0 0;
}

.single-our-curators .list > div {
    background-color: #D9D9D9;
    display: flex;
    flex-direction: column;

}

.single-our-curators .list > div > img {
    width: 100%;
    height: 224px;
    object-fit: contain;
}

.single-our-curators .list > div > div.text {
    background-color: #E5E5E5;
    flex-grow: 1;
    padding: 23px 28px;
}

.single-our-curators .list>div>div.text>div:first-child {
    font-family: Noto Serif;
    font-size: 26px;
    font-style: italic;
    font-weight: 600;
    line-height: 34.06px;
    text-align: left;
    background-color: #214080;
    padding: 0 7px;
    display: inline-block;
    color: var(--white);
    position: relative;
    left: -7px;
}

.single-our-curators .list>div>div.text>div:last-child {
    display: block;
    position: relative;
    font-family: Inter Tight;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    line-height: 23.58px;
    text-align: left;
    margin-top: 4px;
    color: var(--main);
    padding-right: 36px;
}

.single-our-curators .list>div>div.text>div:last-child::after {
    content: url('/wp-content/uploads/2024/10/arrow_right.svg'); /* Стрелка вправо */
    position: absolute;
    right: 0;
    bottom: 0;
}


.single-our-curators .curators-button {
    text-align: right;
}

.single-our-curators .curators-button .button_outline {
    margin-top: 47px;
    width: 200px;
}

.single-our-curators {
    padding-bottom: 60px;
}


.single-programs {
    padding: 60px 0;
}

.single-programs .title-slant.header {
    font-family: Noto Serif;
    font-style: italic;
    font-weight: 600;
    font-size: 40px;
    line-height: 110%;
    margin: 0;
}



.single-programs .tabs {
    display: flex;
    gap: 10px;
    margin: 50px 0 30px 0;
    justify-content: left;
}

.single-programs .tabs .tab-btn {
    /* min-width: 195; */
    height: 45px;
    padding: 12px 25px;
    border-radius: 30px;
    border-width: 1px;
    font-family: Inter Tight;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3em;
    color: var(--main);
    background-color: var(--white);
    border: 1px solid var(--main);
    cursor: pointer;
}

.single-programs .tabs .tab-btn.active,
.single-programs .tabs .tab-btn:hover {
    background-color: var(--blue);
}
.single-programs .tab-description {
    display: flex;
    gap: 70px;
    margin: 40px 0 50px 0;
    font-size: 16px;
    line-height: 120%;
}

.single-programs .tab-description>span:first-child {
    flex-grow: 1;
}

.single-programs .tab-description a {
    min-width: 269px;
    min-height: 38px;
    padding-top: 15px;
    padding-right: 34px;
    padding-bottom: 15px;
    padding-left: 34px;
    border-radius: 5px;
    border-width: 1px;
    border: 1px solid var(--main);
    font-family: Inter Tight;
    font-weight: 500;
    font-size: 16px;
    line-height: 112.99999999999999%;
    color: var(--main);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.single-programs .columns-to-rows {
    justify-content: space-between;
    margin: 50px 0 15px 0;
}

.single-programs .columns-to-rows h2 {
    font-family: Noto Serif;
    font-weight: 600;
    font-style: italic;
    font-size: 30px;
    line-height: 112.99999999999999%;
    color: var(--red);
    margin: 0;
}


.single-programs .columns-to-rows .slider-controls {
    display: flex;
    align-items: center;
    gap: 33px;
}

.single-programs .columns-to-rows .slider-controls > span {
    cursor: pointer;
}

.single-programs .speciality {
    position: relative;
    margin-top: 40px;
    display: flex;
    gap: 30px;
    background-color: var(--pink);
    padding: 20px;
    margin-right: 20px;
    max-width: 710px;
}

.single-programs .speciality .image {
    width: 40%;
}

.single-programs .speciality .image img {
    height: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
}


.single-programs .speciality.pin::before {
    content: url(/wp-content/themes/selfstartglobal/images/pin_main.svg);
    left: unset;
    right: 0;
    top: -27px;
}

.single-programs .speciality .text {
    font-family: Inter Tight;
    font-weight: 400;
    font-size: 13px;
    line-height: 120%;
    width: 60%;
    display: flex;
    flex-direction: column;
}

.single-programs .speciality .text .read-more {
    flex-grow: 1;
    display: flex;
    align-items: end;
    margin-top: 20px;
}

.single-programs .speciality .text .read-more a {
    width: 188px;
    height: 46px;
    border-width: 1px;
    border-radius: 5px;
    padding: 10px 10px;
    font-family: Inter Tight;
    font-weight: 400;
    font-size: 16px;
    line-height: 25.4px;
    color: var(--main);
    border: 1px solid #214080;
    background-color: var(--white);
    text-align: center;
}



.single-programs .speciality .text span {
    font-family: Noto Serif;
    font-weight: 500;
    font-style: italic;
    font-size: 25px;
    line-height: 110.00000000000001%;
    color: var(--main);
    padding-bottom: 20px;
    display: block;
}


.single-programs .slider-container {
    padding-left: 70px;
}

@media (max-width: 1024px) {
    .single-programs {
        padding: 50px 0;
    }

    .single-programs .title-slant.header {
        font-size: 25px;
        line-height: 110%;
    }

    .single-programs .tabs {
        margin: 45px 0 20px 0;
    }

    .single-programs .tabs .tab-btn {
        font-size: 12px;
        line-height: 130%;
        height: 32px;
        padding: 8px 15px;
    }

    .single-programs .tab-description {
        flex-direction: column;
        margin: 20px 0 35px 0;
        gap: 25px;
        font-size: 14px;
    }

    .single-programs .columns-to-rows {
        margin: 35px 0 0 0;
    }

    .single-programs .slider-container {
        padding-left: 30px;
    }

    .single-programs .speciality {
        padding: 10px;
        margin-right: 10px;
        margin-top: 30px;
        max-width: 335px;
        gap: 15px;
    }

    .single-programs .speciality .text span {
        padding-top: 5px;
        font-size: 17px;
    }

    .single-programs .speciality .text {
        font-size: 12px;
    }

    .single-programs .speciality .text .read-more a {
        font-size: 12px;
        padding: 10px 40px;
        line-height: 120%;
        width: auto;
        height: auto;
    }

    .single-programs .tab-description a {
        font-size: 14px;
        line-height: 110%;
        padding: 7px 15px;
        width: auto;
        min-width: auto;
    }
}


/* Приглашения */
.single-invites {
    padding: 60px 0px;
    /* display: flex; */
    /* flex-direction: column; */
    /* gap: 40px; */
}

.single-invites .header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.single-invites .header h2 {
    font-family: Noto Serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 600;
    line-height: 110%;
    color: var(--white);
    margin: 0;
}

/*
.single-invites .header h2:before {
    transform: rotate(-0.38deg);
}*/

.single-invites .slider-controls {
    display: flex;
    gap: 33px;
    align-items: center;
}


.single-invites .slider-controls span {
    padding: 10px 0;
    cursor: pointer;
}

.single-invites .invite {
    display: inline-flex;
    flex-direction: column;
    position: relative;
    margin-right: 20px;
    background-color: var(--blue);
}

.single-invites .invite .lens {
    top: 15px;
    right: 15px;
    position: absolute;
}

.single-invites .invite img:not(.lens) {
    height: 400px;
    width: 100%;
    object-fit: cover;
    object-position: top center;
}

.single-invites .invite div {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-invites .invite div > * {
    display: block;
    color: var(--main);
}

.single-invites .invite div b {
    font-family: Noto Serif;
    font-weight: 500;
    font-style: Italic;
    font-size: 24px;
    line-height: 110%;
}

.single-invites .invite div span {
    font-family: Inter Tight;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 110%;
}


.single-invites .invites-slider {
    padding-left: 70px;
    overflow-x: hidden;
    display: flex;
}

.single-invites .invites-slider .invite {
    width: 345px;
    min-width: 345px;
}

.single-invites .invites-slider .invite .zoomable {
    width: 345px;
    height: 380px;
}

@media (max-width: 1024px) {
    .single-invites .header {
        margin-bottom: 35px;
    }

    .single-invites .header h2 {
        font-size: 25px;
    }

    .single-invites .invites-slider {
        padding-left: 30px;
    }

    .single-invites .slider-controls.mobile-controls {
        display: flex;
    }

    .single-invites .invites-slider .invite {
        width: 233px;
        min-width: 233px;
    }

    .single-invites .invites-slider .invite .zoomable {
        width: 233px;
        height: 257px;
    }

    .single-invites .invite div {
        padding: 15px 17px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .single-invites .invite div b {
        font-size: 15px;
    }

    .single-invites .invite div span {
        font-size: 10px;
    }
    
    .single-invites .invite .lens {
        width: 18px;
        height: 18px;
    }
}


/* Кураторы */
.single-curators {
    padding: 60px 0;
}

.single-curators h2.header {
    font-family: Noto Serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 600;
    line-height: 110%;
    margin: 0;
    margin-bottom: 50px;
}


.single-curators h2.header::before {
    /* transform: rotate(-0.53deg); */
}

.single-curators .curators-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.single-curators .curators-list .curator {
    background-color: var(--grey);
    cursor: pointer;
}

.single-curators .curators-list .curator > img {
  aspect-ratio: 4 / 3;
  /* height: 224px; */
  width: 100%;
  /* height: auto; */
  object-fit: cover;
  display: block;
}

.single-curators .curators-list .curator .text {
    padding: 20px 20px 25px 20px; 
}

.single-curators .curators-list .curator .text span {
    display: block;

}

.single-curators .curators-list .curator .text span.title {
    font-family: Noto Serif;
    font-weight: 600;
    font-style: Italic;
    font-size: 25px;
    line-height: 131%;
    color: var(--white);
    background-color: var(--main);
    padding: 0px 5px;
    display: inline-block;
    margin-bottom: 10px;
}

.single-curators .curators-list .curator .text span.description {
    font-family: Inter Tight;
    font-weight: 400;
    font-style: Italic;
    font-size: 16px;
    line-height: 130%;
    color: var(--main);
    
}

.single-curators .curators-list .curator .text .next {
    /* margin-top: 12px; */
    /* margin-right: 10px; */
    /* opacity: 0; */
    display: none;
}

.single-curators .curators-list .curator .text .next3 {
    display: none;
}

.single-curators .curators-list .curator .text .next2 {
    margin-top: 5px;
    margin-right: 10px;
    float: right;
}

.single-curators .curators-button {
    margin-top: 45px;
    text-align: center;
}

.single-curators .curators-button .more-curators {
    border: 1px solid var(--main);
    color: var(--main) !important;
    background-color: var(--white);
}

.curator-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.curator-popup .popup-content {
  background: #e0f0ff;
  padding: 30px;
  max-width: 800px;
  width: 90%;
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
  /* border-radius: 8px; */
}

.curator-popup .popup-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.curator-popup .popup-header {
    display: flex;
    gap: 30px;
}

.curator-popup .popup-image img {
   max-width: 200px;
   max-height: 200px;
  object-fit: cover;
  background: #fff;
}

.curator-popup .popup-text {
    flex: 1;
    color: #1a1a1a;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: end;
}

.curator-popup .popup-name {
    font-family: Noto Serif;
    font-weight: 600;
    font-style: Italic;
    font-size: 25px;
    line-height: 100%;
    color: var(--white);
    background-color: var(--main);
    display: inline-block;
    padding: 6px 9px;
}

.curator-popup .popup-role {
    font-family: Inter Tight;
    font-weight: 400;
    font-style: Italic;
    font-size: 16px;
    line-height: 120%;
    color: var(--main);
    color: #003366;
}

.curator-popup .popup-description {
    font-family: Inter Tight;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: var(--main);
}


.curator-popup .popup-description p {
  margin-bottom: 10px;
  line-height: 1.5;
}

.curator-popup .close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
}

.curator.hidden {
  display: none;
}

@media (max-width: 1024px) {
    .single-curators {
        padding: 50px 0;
    }

    .single-curators h2.header {
        font-size: 25px;
        margin-bottom: 30px;
    }

    .single-curators .curators-list {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .single-curators .curators-list .curator .text {
        padding: 15px;
    }

    .single-curators .curators-list .curator .text .next,
    .single-curators .curators-list .curator .text .next2 {
        display: none;
    }

    .single-curators .curators-list .curator .text span.title {
        font-size: 15px;
    }

    .single-curators .curators-list .curator .text span.description {
        font-size: 11px;
    }



    .single-curators .curators-list .curator .text .next3 {
        margin-top: 6px;
        display: block;
        width: 17px;
        height: auto;
        float: right;
    }
    

    .curator-popup .popup-name {
        font-size: 20px;
    }

    .curator-popup .popup-role {
        font-size: 14px;
    }

    .curator-popup .popup-image img {
        max-width: 135px;
        max-height: 135px;
    }

    .curator-popup .popup-description {
        font-size: 14px;
    }

    .curator-popup .close img {
        width: auto;
        height: 20px;
    }
}
