.single-specialty .single-main-slide .info .desc {
    max-width: unset;
}

.specialty-blocks .header,
.specialty-blocks .header-after {
    font-family: Noto Serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 600;
    line-height: 110%;
    padding: 7px 15px;
}



.specialty-blocks .text {
    font-family: Inter Tight;
    font-size: 18px;
    font-weight: 400;
    line-height: 23.58px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: var(--main);
}

.specialty-blocks .text blockquote,
.specialty-blocks .text-end blockquote {
    display: inline-block;
    border-left: 4px solid var(--red);
    padding-left: 15px;
    margin: 20px 0;
    font-weight: 500;
}
.specialty-blocks .text-end blockquote p:last-child {
    margin-bottom: 0;
}


/* Почему стоит изучать */ 
.specialty-blocks.specialty-study {
    padding: 60px 0;
}

.specialty-blocks.specialty-study .header {
    margin: 0;
}

/* .specialty-blocks.specialty-study .header::before {
    transform: rotate(-0.37deg);
} */


.specialty-blocks.specialty-study .text,
.specialty-blocks.specialty-study .text-end {
    font-family: Inter Tight;
    font-size: 16px;
    margin: 30px 0;
    font-weight: 400;
    line-height: 120%;
    color: var(--main);
}

.specialty-blocks.specialty-study .header-before {
    font-size: 22px;
    font-style: italic;
    font-weight: 600;
    line-height: 28.82px;
    margin: 30px 0;
    color: var(--main);
}


.specialty-blocks.specialty-study .list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.specialty-blocks.specialty-study .list .item {
    font-family: Inter Tight;
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    background: #CFE7FD82;
    padding: 20px;
}

.specialty-blocks.specialty-study .list .item b {

    font-family: Inter Tight;
    font-size: 16px;
    font-weight: 500;
    line-height: 120%;
    color: var(--main);
    display: inline-block;
    margin-bottom: 8px;
}

.specialty-blocks.specialty-study .header-add {
    font-size: 22px;
    font-style: italic;
    font-weight: 600;
    line-height: 28.82px;
    margin: 50px 0 30px 0;
    color: var(--main);
}

.specialty-blocks.specialty-study .text-end {
    margin-bottom: 20px;
}

.specialty-blocks.specialty-study .button_block {
    padding: 50px 0 0 0;
    text-align: center;

}

@media (max-width: 1024px) {
    .specialty-blocks.specialty-study {
        padding: 50px 0;
    }

    .specialty-blocks .header,
    .specialty-blocks .header-after {
        font-size: 25px;
        line-height: 110%;
        padding: 4px 8px;
    }

    .specialty-blocks.specialty-study .text,
    .specialty-blocks.specialty-study .text-end {
        font-size: 13px;
        line-height: 120%;
        margin-bottom: 20px;
    }

    .specialty-blocks.specialty-study .list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .specialty-blocks.specialty-study .list .item {
        padding: 13px 10px;
        font-size: 13px;
        line-height: 120%;
    }

    .specialty-blocks.specialty-study .list .item b {
        font-size: 14px;
    }

    .specialty-blocks.specialty-study .button_block {
        padding-top: 30px;
    }
}

/* Как поступить на обучение */ 
.specialty-blocks.specialty-apply {
    padding: 60px 0;
}

.specialty-blocks.specialty-apply .header {
    margin: 0;
    color: var(--main);
}

/*
.specialty-blocks.specialty-apply .header::before {
    transform: rotate(0.73deg);
}*/

.specialty-blocks.specialty-apply .text,
.specialty-blocks.specialty-apply .text-end {
    font-family: Inter Tight;
    font-size: 16px;
    margin: 40px 0;
    font-weight: 400;
    line-height: 120%;
    color: var(--white);
}

.specialty-blocks.specialty-apply .text-end {
    margin-bottom: 0;
}

.specialty-blocks.specialty-apply .list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.specialty-blocks.specialty-apply .list .item {
    font-family: Inter Tight;
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    padding: 20px;
    background: #ADD0EE26;
    color: var(--white);
    display: flex;
    gap: 20px;
}

.specialty-blocks.specialty-apply .list .item > div:first-of-type {
    font-family: Noto Serif;
    font-size: 60px;
    font-style: italic;
    font-weight: 500;
    line-height: 110%;
    -webkit-text-stroke: 2px var(--white);
    color: transparent;
}

.specialty-blocks.specialty-apply .list .item b {
    font-family: Noto Serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 110%;
    font-style: italic;
    display: inline-block;
    margin-bottom: 8px;
}


.specialty-blocks.specialty-apply .button_block {
    padding: 50px 0 0 0;
    text-align: center;

}

@media (max-width: 1024px) {
    .specialty-blocks.specialty-apply {
        padding: 50px 0;
    }

    .specialty-blocks.specialty-apply .text, .specialty-blocks.specialty-apply .text-end {
        font-size: 13px;
        line-height: 120%;
    }

    
    .specialty-blocks.specialty-apply .text {
        margin: 25px 0 50px 0;
    }

    .specialty-blocks.specialty-apply .list {
        grid-template-columns: 1fr;
    }

    .specialty-blocks.specialty-apply .list .item > div:first-of-type {
        font-size: 42px;
        line-height: 1em;
        -webkit-text-stroke: 1px var(--white);
    }

    .specialty-blocks.specialty-apply .list .item {
        gap: 16px;
        font-size: 13px;
    }

    .specialty-blocks.specialty-apply .list .item b {
        font-size: 18px;

    }

    .specialty-blocks.specialty-apply .button_block {
        padding-top: 30px;
    }
}


/* Стипендии и гранты для студентов */ 
.specialty-blocks.specialty-scholarships {
    padding: 60px 0;
}

.specialty-blocks.specialty-scholarships .header {
    margin: 0;
}
/*
.specialty-blocks.specialty-scholarships .header::before {
    transform: rotate(0.5deg);
}*/

.specialty-blocks.specialty-scholarships .text,
.specialty-blocks.specialty-scholarships .text-end {
    font-family: Inter Tight;
    font-size: 15px;
    margin: 30px 0 0 0;
    font-weight: 400;
    line-height: 120%;
    color: var(--main);
}

.specialty-blocks.specialty-scholarships .text-end {
    margin-bottom: 70px;
}

.specialty-blocks.specialty-scholarships .button_block {
    padding: 50px 0 0 0;
    text-align: center;

}

@media (max-width: 1024px) {
    .specialty-blocks.specialty-scholarships {
        padding: 50px 0;
    }

    .specialty-blocks.specialty-scholarships .text, .specialty-blocks.specialty-scholarships .text-end {
        font-size: 13px;
    }

    .specialty-blocks.specialty-scholarships .button_block {
        padding-top: 30px;
    }
}


/* Перспективы после обучения */ 
.specialty-blocks.specialty-prospects .header {
    margin: 0;
}

/*
.specialty-blocks.specialty-prospects .header::before {
    transform: rotate(-0.61deg);
}*/

.specialty-blocks.specialty-prospects {
    padding: 60px 0;
}


.specialty-blocks.specialty-prospects .text,
.specialty-blocks.specialty-prospects .text-end {
    font-family: Inter Tight;
    font-size: 16px;
    margin: 30px 0;
    font-weight: 400;
    line-height: 120%;
    color: var(--main);
}

.specialty-blocks.specialty-prospects .header-before {
    font-size: 22px;
    font-style: italic;
    font-weight: 600;
    line-height: 28.82px;
    margin: 30px 0;
    color: var(--main);
}


.specialty-blocks.specialty-prospects .list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
    margin: 10px 0 30px 0;
}

.specialty-blocks.specialty-prospects .list .item {
    font-family: Inter Tight;
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    color: var(--main);
}

.specialty-blocks.specialty-prospects .list .item b {
    font-family: Noto Serif;
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
    line-height: 110%;
    color: var(--white);
    background: var(--red);
    padding: 0 10px;
    display: inline-block;
    margin-bottom: 8px;
}

.specialty-blocks.specialty-prospects .button_block {
    padding: 50px 0 60px 0;
    text-align: center;

}

@media (max-width: 1024px) {
    .specialty-blocks.specialty-prospects {
        padding: 50px 0;
    }

    .specialty-blocks.specialty-prospects .text, .specialty-blocks.specialty-prospects .text-end {
        font-size: 13px;
    }

    .specialty-blocks.specialty-prospects .list {
        grid-template-columns: 1fr;
    }

    .specialty-blocks.specialty-prospects .list .item b {
        padding: 3px 5px;
    }

    .specialty-blocks.specialty-prospects .list .item {
        font-size: 13px;
    }
}

/* Иммиграция после обучения */ 
.specialty-blocks.specialty-immigration {
    padding: 60px 0;
}


.specialty-blocks.specialty-immigration .header {
    margin: 0;
    /* color: var(--white); */
}
/*
.specialty-blocks.specialty-immigration .header::before {
    transform: rotate(0.2deg);
}*/

.specialty-blocks.specialty-immigration .text,
.specialty-blocks.specialty-immigration .text-end {
    font-family: Inter Tight;
    font-size: 16px;
    margin: 30px 0;
    font-weight: 400;
    line-height: 120%;
    color: var(--white);
}

.specialty-blocks.specialty-immigration .button_block {
    padding: 50px 0 60px 0;
    text-align: center;

}

@media (max-width: 1024px) {
    .specialty-blocks.specialty-immigration {
        padding: 50px 0 20px 0;
    }

    .specialty-blocks.specialty-immigration .text, .specialty-blocks.specialty-immigration .text-end {
        font-size: 13px;
    }
}

/* Часто задаваемые вопросы */ 
.specialty-blocks.specialty-faq {
    padding: 60px 0;
}

.specialty-blocks.specialty-faq .header {
    margin: 0;
}
/*
.specialty-blocks.specialty-faq .header::before {
    transform: rotate(-0.21deg);
}*/

.specialty-blocks.specialty-faq .accordion {
    padding: 40px 0 0 0;
}

.specialty-blocks.specialty-faq {
    padding: 50px 0;
}