﻿.main-container {
    padding-top: 30px;
}

.breadcrumb {
    display: flex;
    list-style-type: none;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

    .breadcrumb li {
        white-space: nowrap;
    }

        .breadcrumb li a {
            color: black !important;
            font-size: 14px;
        }

        .breadcrumb li::after {
            display: inline-block;
            content: ">";
            margin-right: 5px;
        }

        .breadcrumb li:last-child::after {
            display: none;
        }

h1.page-main-title__blue {
    font-size: 44px; 
    max-width: none;
}

.container {
    max-width: 1189px;
    margin: 0 auto;
}

.page-section {
    margin-bottom: 62px;
    padding: 0 20px;
}

    .page-section p {
        color: #33393E;
        font-size: 19px;
        line-height: 1.4;
        margin-bottom: 32px;
    }

        .page-section p:last-child {
            margin-bottom: 0;
        }

.section-header {
    color: #1A1A1A;
    font-size: 34px;
    font-family: Montserrat;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.red-text {
    color: #F27921;
}

.blue-text {
    color: #4296E9;
}

.banner-section {
    margin-bottom: 44px;
}

.banner {
    min-height: 414px;
    background-image: url('//cdn.specialist.ru/content/file/layouts/js-action/img/banner-desktop-notext.png');
    background-repeat: no-repeat;
    background-position: top left;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 64px;
    position: relative;
    overflow: hidden;
}

.banner-content {
    max-width: 440px;
}

.banner-top {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.banner-date {
   position: absolute;
   width: 1px;
   height: 1px;
   overflow: hidden;
}

.banner-date-text {
    position: absolute;
    top: 0;
    left: 0;
    background: url(//cdn.specialist.ru/Content/File/layouts/devops1plus2/img/date-back.png) right bottom no-repeat;
    background-size: 100% 100%;
    font-size: 16px;
    color: #fff;
    font-weight: 700;
    padding: 22px 100px 22px 40px;
    margin: 0;
}

.banner-header {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2; 
    color: #fff;
    margin-bottom: 24px;
}

.banner-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: #fff;
}

.second-flex{
    display: flex;
    align-items: center;
    gap:  24px 0;
}

.voucher-wrapper{
    width: 442px;
    flex-shrink: 0;
}

.third-section-text{
    margin-bottom: 24px;
}

.third-section-list {
    padding-left: 0;
}

.third-section-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 32px;
}

    .third-section-item::before {
        display: block;
        content: "";
        position: absolute;
        left: 0;
        top: -10px;
        width: 60px;
        height: 60px;
        background: url(//cdn.specialist.ru/content/file/layouts/freeLearning2024/img/marker.png) top center no-repeat;
    }

    .third-section-item h3 {
        font-size: 20px;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 6px;
    }

    .third-section-item p {
        font-size: 17px;
    }

.fourth-section p{
    margin-bottom: 0;
}

.courses-section-text {
    text-align: center;
}

.courses-list {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    padding: 0;
    flex-wrap: wrap;
}

.course-item {
    width: 49%;
    border-radius: 8px;
    background: linear-gradient(342.79deg, #EDEEF9 -2.64%, #F2F9FC 105.1%);
    margin: 0 0 23px 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 140px;
}

.course-name{
    margin-bottom: 24px;
}

.course-name a {
    color: #1A1A1A;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-right: 10px;
    text-decoration: underline;
}
 
.course-item-link {
    display: block;
    color: #0E88F2;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2; /* 13.2px */
    text-transform: uppercase;
    border-radius: 4px;
    border: 1px solid #0E88F2;
    padding: 10px;
    flex-shrink: 0;
}

    .course-item-link:hover {
        background: #0E88F2;
        color: white;
    }

.banner-bottom-section .container {
    background: linear-gradient(342.79deg, #EDEEF9 -2.64%, #F2F9FC 105.1%);
    padding: 48px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.banner-bottom-header {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    border-bottom: 2px dashed #0E88F2;
    
}

.banner-bottom-text p{    
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

.conditions-header {
    color: #33393E;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 48px;
}

.conditions-box {
    height: 220px;
    overflow: hidden;
    position: relative;
}

    .conditions-box::after {
        display: block;
        content: '';
        width: 100%;
        height: 200px;
        background: linear-gradient(0deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%);
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .conditions-box.active {
        height: auto;
        overflow: visible;
        margin-bottom: 48px;
    }

        .conditions-box.active::after {
            display: none;
        }

.conditions-inner-list {
    padding-top: 16px;
}

.all-conditions-button {
    display: block;
    border-radius: 4px;
    background: #F1F6FC;
    width: 100%;
    border: none;
    padding: 15px;
    color: #33393E;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.conditions-list {
    list-style-type: none;
    color: #33393E;
    font-size: 19px;
    line-height: 1.47;
    counter-reset: section;
}

    .conditions-list > li {
        margin-bottom: 24px;
        position: relative;
        padding-left: 100px;
    }

        .conditions-list > li::before {
            display: block;
            color: #005586;
            font-size: 19px;
            font-weight: 600;
            counter-increment: section;
            content: counters(section, ".") " .";
            position: absolute;
            top: 0;
            left: 0;
        }


    .conditions-list h3 {
        color: #33393E;
        font-family: Montserrat;
        font-size: 19px;
        font-style: normal;
        font-weight: 700;
        line-height: 1.47;
    }

    .conditions-list ul > li {
        padding-left: 24px;
        position: relative;
    }

        .conditions-list ul > li::before {
            display: block;
            content: "";
            width: 2px;
            height: 2px;
            position: absolute;
            top: 14px;
            left: 10px;
            background: #33393E;
        }

    .conditions-list p {
        margin-bottom: 0;
    }

@media (max-width: 970px) {
    .second-flex{
        flex-direction: column;
    }

    .voucher-wrapper{
        max-width: 100%;        
    }

}



    @media (max-width: 810px) {
        .course-item {
            width: 100%;
        }

        .learning-item, .learning-item.wide {
            width: 100%;
        }
    }

    @media (max-width: 720px) {
        .conditions-list li {
            padding-left: 50px;
        }

        .banner {
            padding-left: 20px;
            padding-right: 20px;
            padding-bottom: 20px;
            background-position: top left -40px;
        }
    }


    @media (max-width: 480px) {
        .course-item {
            display: block;
        }

        .course-name {
            margin-right: 0;
            margin-bottom: 20px;
        }

        .section-header {
            font-size: 28px;
        }

        .page-text p, .third-section-item p {
            font-size: 14px;
        }
    }