﻿.main-container {
    padding: 30px 10px 0 10px;
    margin-bottom: 120px;
}

.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;    
}

    .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: 70px;
}

.banner {
    min-height: 414px;
    background-image: url('//cdn.specialist.ru/content/file/layouts/pythonforchildren/img/banner-img.png'),
    url('//cdn.specialist.ru/content/file/layouts/pythonforchildren/img/banner-back.png');
    background-repeat: no-repeat, no-repeat;
    background-position: top left 584px,top left;
    background-size: auto 96%, cover;
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 60px;
    overflow: hidden;
}

    .banner:after {
        display: none;
        content: "";
        width: 586px;
        max-width: 100%;
        height: 380px;
        background-image: url('//cdn.specialist.ru/content/file/layouts/pythonforchildren/img/banner-img.png');
        background-repeat: no-repeat;
        background-position: right center;
        background-size: contain;       
    }

.banner-content {
    max-width: 560px;
}

.banner-meta {
    border: 1px solid #FFFFFF;
    border-radius: 30px;
    display: inline-block;
    padding: 5px 15px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
}

.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;
    max-width: 370px;
}

.red-label{
    display: inline-block;
    position: relative;
    z-index: 1;
    padding: 0 6px;
}

    .red-label::before {
        display: block;
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        border-radius: 4px;
        background: #FF6505;
        transform: rotate(2deg);
        z-index: -1;
    }

.ul-1 li {
    color: #1A1A1A;
    font-family: Montserrat;
    font-size: 19px;
    font-style: normal;
    font-weight: 600;
    line-height: 160%; /* 30.4px */
    margin-bottom: 32px;
}

.ul-1 li:last-child{
    margin-bottom: 0;
}

.list-2{
    margin-bottom: 24px;
}

.list-2 li {
    margin-bottom: 12px;
    position: relative;
    color: #181818;
    font-family: Montserrat;
    font-size: 17px;
    font-weight: 500;
    display: flex;
    gap: 32px;
    align-items: center;
}

    .list-2 li::before {
        display: block;
        content: "";
        width: 60px;
        height: 60px;
        background: url(//cdn.specialist.ru/content/file/layouts/freeLearning2024/img/marker.png) center center no-repeat;
        background-size: contain;  
        flex-shrink: 0;
    }

.banner-bottom {
    background: url('//cdn.specialist.ru/content/file/layouts/pythonforchildren/img/form-back.png') left center no-repeat;
    background-size:cover;
    display:  flex;
    gap: 24px;
    justify-content: space-between;
    border-radius: 30px;
    padding: 30px;
    padding-left: 60px;
}

.banner-bottom-header {
    color: #FFF;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2; /* 48px */
    max-width: 380px;

}

.banner-bottom-right{

}

.banner-bottom-right .form-wrapper {
    width: 600px;
    max-width: 100%;
    padding: 30px;
    border-radius: 20px;
    background: #FFF;
}

    .banner-bottom-right .input-wrapper {
        margin-bottom: 10px;
    }

        .banner-bottom-right .input-wrapper input {
            display: block;
            width: 100%;
            height: 52px;
            border-radius: 4px;
            border: 1px solid #E3E7ED;
            background: #F1F1F1;
            padding-left: 20px;
            padding-right: 10px;
        }

.form-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 6px;
    gap: 8px;
}

.form-bottom-row {
    font-weight: 500;
    text-align: center;
}

.agree-wrapper{
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.agree-wrapper label{
    font-size: 12px;
}

.red-button {
    padding: 15px 20px;
    border-radius: 4px;
    background: #FF6505;
    font-size: 18px;
    font-weight: 700;
    color: white;
    border: none;
    cursor: pointer;
}

    .red-button:hover {
        background: #FF5722;
    }



.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: 1140px) {
    .banner {
        padding-left: 20px;
        background-position: top left 400px,top left;
   
    }

    .banner-bottom {
        padding-left: 20px;
    }
        .banner-content{
        max-width: 500px;
    }
}

@media(max-width: 1060px) {
    .banner {
        flex-direction: column;
        align-items: stretch;
        background-image: url('//cdn.specialist.ru/content/file/layouts/pythonforchildren/img/banner-back.png');
        background-position: top left;
        background-size: cover;
    }

        .banner::after {
            display: block;
        }

    .banner-content {
        max-width: none;
    }

    .banner-bottom {
        flex-direction: column;
    }
}

@media(max-width: 560px) {
    .banner{
        padding: 20px;
    }
    .form-bottom-row{
        flex-direction: column;
        align-items: stretch;
    }

    .conditions-list > li{
        padding-left: 50px;
    }

    .banner-header{
        font-size: 34px;
    }
    .banner-bottom-header{
        font-size: 32px;
    }

    .banner-bottom{
        padding: 20px;
    }

    .section-header{
        font-size: 28px;
    }
}

#form-button:disabled{
    background: #bbb;
}


