h1,
h2 {
    color: #333185;
    font-family: Raleway;
    font-size: 40px;
    font-style: normal;
    font-weight: 300;
    line-height: 60px; /* 150% */
}
.text-main p:last-child{
    margin-bottom: 0;
}
/*region section our recommendation*/
section.our-recommendation {
    margin: 85px 0;
}

.our-recommendation-wrap{
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    border: 1px solid #333185;
    background: rgba(51, 49, 133, 0.00);
}

.our-recommendation-main-image{
    width: 100%;
    height: 280px;
    border-radius: 6px 6px 0px 0px;
    object-fit: cover;
}
.our-recommendation-text-wrap{
    margin: 36px 46px;
}
.our-recommendation-orange-text{
    color: #FA0;
    font-family: Raleway;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 40px;
}
.our-recommendation-orange-header{
    color: #FA0;
    font-family: Raleway;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px; /* 133.333% */
}
.our-recommendation-violet-header{
    color: #333185;
    font-family: Raleway;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 40px;
}
.our-recommendation-link-wrap{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}
.our-recommendation-link-text{
    display: flex;
    color: #333185;
    font-family: Raleway;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px; /* 144.444% */
    max-width: 70%;
}
.our-recommendation-link{
    margin-left: auto;
    max-width: 30%;
    width: 30%;
}
/*endregion*/

/*region section other funding*/
.orange-text {
    font-family: Raleway;
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    line-height: 26px; /* 130% */
    color: var(--Spot-Orange, #FA0);
}

section#other-funding{
    margin: 80px 0 100px 0;
}
section#other-funding h2 {
    color: var(--auxilo-lila, #333185);
    font-family: Raleway;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px; /* 86.667% */
    margin-bottom: 40px;
}

section#other-funding h2.h2-small {
    color: var(--auxilo-lila, #333185);
    font-family: Raleway;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 40px;
}

section#other-funding .other-funding-card .other-funding-card-text-wrap a {
    font-family: Raleway;
    font-size: 16px;
    font-weight: 900;
    font-style: normal;
    line-height: normal;
    display: flex;
    align-items: center;
    white-space: nowrap;
    text-decoration: none;
    color: #FA0;
}

section#other-funding .other-funding-card .other-funding-card-text-wrap a:hover .arrow-black {
    margin-right: 10px;
    margin-left: 10px;
    transition: 0.3s margin-right, 0.3s margin-left;
}

section#other-funding .other-funding-card .other-funding-card-text-wrap a .arrow-black {
    position: relative;
    display: flex;
    width: 100%;
    height: 1px;
    margin-right: 20px;
    margin-left: 0;
    transition: 0.3s margin-right, 0.3s margin-left;
    background-color: #FFFFFF;
}

section#other-funding .other-funding-card .other-funding-card-text-wrap a .arrow-black:after {
    position: absolute;
    top: 50%;
    right: 0;
    display: flex;
    width: 8px;
    height: 8px;
    content: '';
    transform: translateY(-50%) rotate(45deg);
    border-top: 1px solid white;
    border-right: 1px solid white;
}

section#other-funding .other-funding-card {
    height: 100%;
    border: 1px solid #333185;
    border-radius: 6px;
    background: rgba(51, 49, 133, 0.00);
}

section#other-funding .other-funding-card .image-wrap {
    overflow: hidden;
    width: 100%;
}

section#other-funding .other-funding-card img {
    width: 100%;
    height: 270px;
    transition: transform 0.3s ease-in-out;
    border-radius: 6px 6px 0 0;
    object-fit: cover;
}

section#other-funding .other-funding-card:hover img {
    transform: scale(1.1);
}

section#other-funding .other-funding-card .other-funding-card-text-wrap {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 45px;
}

section#other-funding .other-funding-card .other-funding-card-text-wrap h2 {
    font-family: Raleway;
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
    line-height: normal;
    color: #333185;
}

section#other-funding .other-funding-card .other-funding-card-text-wrap div {
    font-family: Raleway;
    font-size: 18px;
    font-weight: 600;
    font-style: normal;
    line-height: 26px; /* 144.444% */
    margin-top: auto;
    margin-bottom: 10px;
    color: #333185;
}

section#other-funding .other-funding-card .other-funding-card-text-wrap div b {
    font-weight: 700;
}

section#other-funding .other-funding-card .other-funding-card-text-wrap a .arrow-black {
    background-color: #333185;
}

section#other-funding .other-funding-card .other-funding-card-text-wrap a .arrow-black:after {
    border-top: 1px solid #333185;
    border-right: 1px solid #333185;
}

/*endregion*/

/*region Bootstrap5 custom indicators*/
/* Скрываем стандартные индикаторы */
.carousel-indicators {
    display: none;
}

/* Стили для кастомных индикаторов */
.custom-indicators-container {
    position: absolute;
    z-index: 15;
    right: 0;
    bottom: 20px;
    left: 0;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.custom-indicators {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 15px;
}

.custom-indicator {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    cursor: pointer;
}

.progress-bar-container {
    overflow: hidden;
    width: 90px;
    height: 2px;
    margin-bottom: 5px;
    background-color: #333185;
}

.progress-bar {
    width: 0;
    height: 100%;
    transition: width linear;
    background-color: var(--Spot-Orange, #FA0);
}

.custom-indicator.active .progress-bar {
    width: 100%;
    transition-duration: var(--slide-interval);
}

.indicator-label {
    font-family: Raleway;
    font-size: 8px;
    font-weight: 700;
    font-style: normal;
    color: #333185;
}

.custom-indicator.active .indicator-label {
    color: #FA0;
}

/*endregion*/

@media all and (width < 1400px) {
    .image-and-link-wrap {
        top: 160px;
    }

    .image-and-link-wrap a.link-arrow-after-purple {
        white-space: wrap !important;
    }
}

@media all and (width < 1200px) {

    .image-and-link-wrap img {
        min-height: 50%;
        object-fit: cover;
    }

    .image-and-link-wrap a.link-arrow-after-purple {
        margin-top: auto;
    }
}

@media all and (width < 992px) {
    .image-and-link-wrap {
        top: 210px;
    }

    .image-and-link-wrap img {
        min-height: 75%;
    }
}

@media all and (width > 767px) and (width < 992px) {
    .horizontal-line {
        top: 108px;
        left: 108px;
    }
    section#other-funding .other-funding-card {
        display: flex;
        flex-direction: column;
    }

    section#other-funding .other-funding-card .other-funding-card-text-wrap {
        display: flex;
        flex-grow: 1;
        padding: 15px;
        min-height: auto;
    }
    section#other-funding .other-funding-card .other-funding-card-text-wrap h2 {
        font-size: 18px;
    }
}

@media all and (width < 768px) {
    header.fixed-header ~ main > section:first-child{
        margin-top: 0;
    }
    h1,
    h2 {
        text-align: left;
        font-size: 26px;
        line-height: 40px;
    }

    section {
        margin: 50px 0;
    }

    .image-and-link-wrap {
        height: auto;
    }

    .image-and-link-text {
        display: flex;
        flex-direction: column;
        padding: 18px;
    }

    .text-about-link {
        color: #333185;
        font-family: Raleway;
        font-size: 20px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
    }

    section.quiz .orange-text {
        text-align: left;
        font-size: 16px;
        line-height: normal;
        margin-bottom: 15px;
    }

    section.quiz h3 {
        text-align: left;
        font-size: 26px;
        line-height: 40px; /* 153.846% */
    }

    .icon-wrap {
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
        border-radius: 6px;
        margin: 0;
    }

    .icon-wrap:not(:last-child) {
        margin-bottom: 25px;
    }

    .icon-wrap img {
        width: 30px;
        max-width: 25%;
        max-height: 100px;
        object-fit: contain;
        margin-right: 20px;
    }

    .icon-text,
    .icon-text p {
        font-size: 26px;
        line-height: 30px;
    }

    .image-and-link-wrap a {
        white-space: wrap;
        margin: 30px 0;
    }

    section#main-content h1,
    section#funding h2 {
        text-align: left;
        font-size: 26px;
        line-height: 30px; /* 115.385% */
    }

    section#main-content .text-main,
    section#funding .text-funding {
        margin: 0;
    }

    .our-recommendation-orange-text{
        color: #FA0;
        font-family: Raleway;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .our-recommendation-text-wrap{
        margin: 15px;
    }
    .our-recommendation-orange-header{
        color: #FA0;
        font-family: Raleway;
        font-size: 30px;
        font-style: normal;
        font-weight: 700;
        line-height: 40px; /* 133.333% */
    }
    .our-recommendation-violet-header{
        color: #333185;
        font-family: Raleway;
        font-size: 30px;
        font-style: normal;
        font-weight: 700;
        line-height: 40px;
    }
    .our-recommendation-link-wrap{
        flex-direction: column;
    }
    .our-recommendation-link {
        margin-left: 0;
        max-width: 100%;
        width: 100%;
    }
    .our-recommendation-link-text{
        max-width: 100%;
        margin-bottom: 50px;
    }

    .our-recommendation-link-wrap a.link-arrow-purple:has(> span.arrow-black){
        width: 100%;
    }

    section#other-funding h2{
        color: var(--auxilo-lila, #333185);
        font-family: Raleway;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 26px; /* 130% */
    }
    section#other-funding .other-funding-card .other-funding-card-text-wrap {
        min-height: 225px;
        padding: 30px;
    }

    section#other-funding .other-funding-card .other-funding-card-text-wrap h2 {
        margin-bottom: 15px;
        color: var(--auxilo-lila, #333185);
        font-family: Raleway;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 26px; /* 130% */
    }

    section#other-funding .other-funding-card .other-funding-card-text-wrap div {
        font-size: 16px;
    }

    section#other-funding .other-funding-card .other-funding-card-text-wrap a {
        font-size: 12px;
        font-weight: 700;
        line-height: 10px;
    }

    #OtherFundingCustomCarousel {
        margin-bottom: 50px;
    }

    #OtherFundingCustomCarousel .custom-indicators-container {
        bottom: -90px;
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
    }

    #OtherFundingCustomCarousel .custom-indicators {
        justify-content: space-between;
        width: 100%;
    }

    #OtherFundingCustomCarousel .progress-bar-container {
        width: 90px;
        height: 2px;
    }

    #OtherFundingCustomCarousel .indicator-label {
        font-family: Raleway;
        font-size: 8px;
        font-weight: 700;
        font-style: normal;
        color: #333185;
    }
}

@media all and (width < 576px) {
    h1,
    h2 {
        text-align: left;
        font-size: 26px;
        line-height: 40px;
    }

    p {
        font-size: 18px;
        font-weight: 300;
        line-height: 26px; /* 144.444% */
    }

    main section {
        margin: 30px 0;
    }

    section.our-recommendation {
        margin-top: 30px;
    }
}