﻿body {
    background: #2E2E2E;
}

.main-container {
   scroll-behavior: smooth;
}

.bottom-vendors-section .content-partners-title {
    color: white;
}

.container {
    max-width: 1189px;
    margin: 0 auto;
}

.page-section {
    padding: 0 20px;
    margin-bottom: 100px;
}

.banner-section {
    background-color: #F9C52F;
    background-image: url("//cdn.specialist.ru/content/file/layouts/hrsummerschool/img/back.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 76px;
    padding-bottom: 76px;
}

.banner {
    background-image: url("//cdn.specialist.ru/content/file/layouts/hrsummerschool/img/back-folder.png");
    background-size: 100% 100%;
    background-position: top left;
    background-repeat: no-repeat;
    border-radius: 25px;
    padding: 34px 50px;
    box-shadow: -5px 5px 3px #00000001;
    position: relative;
    z-index: 1;
}

.banner-left{
    max-width: 400px;
}

.banner-top-block{
    display: flex;
    gap: 6px;  
    margin-bottom: 60px;
}

.banner-top-item {
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.30);
    color: #FFF;
    font-size: 12px;
    font-weight: 700;
    line-height: 1; /* 12px */
    text-transform: uppercase;
    padding: 12px 16px;
    display: flex;
    align-items: center;
}

    .banner-top-item p {
        line-height: 1; /* 12px */
    }

.banner-middle-block {
    margin-bottom: 112px;
}

.banner-header {
    color: #FFF;
    font-size: 56px;
    font-style: normal;
    font-weight: 900;
    line-height: 1.2; /* 67.2px */    
    text-transform: uppercase;
    margin-bottom: 8px;
}

.banner-subheader {
    color: #FFF;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2; /* 38.4px */   
    margin-bottom: 48px;
}

.page-button {
    padding: 20px 40px;
    border-radius: 10px;
    background: linear-gradient(90deg, #FF6105 0%, #FF4405 100%);
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%; /* 21.6px */
    border: none;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    text-align: center;
    
}

    .page-button:hover {
        transition: 0.3s;
        background-image: linear-gradient(90deg, #D94500, #D94500);
    }

.banner-bottom-header {
    color: #FFF;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2; /* 21.6px */
    text-transform: uppercase;
    margin-bottom: 12px;
}

.banner-bottom-flex {
    display: flex;
    gap: 6px;
}

    .banner-bottom-flex p {
        border-radius: 10px;
        background: #FFF;
        padding: 15px;
        color: #505050;
        font-size: 19px;
        font-weight: 600;
        line-height: 1.2; /* 22.8px */        
    }

.banner-right {
    position: absolute;
    top: -76px;
    right: 40px;
    max-width: 50%;
    max-height: calc(100% + 76px);
    overflow: hidden;
}

    .banner-right img {
        margin-top: -40px;
        display: block;
       
    }

.section-header {
    color: #FFF;
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2; /* 48px */
    text-transform: uppercase;
    margin-bottom: 30px;
}

    .section-header span {
       color: #949494;
    }
    
.page-text p {
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2; /* 19.2px */    
    margin-bottom: 15px;
}

.second-section-flex{
    display: flex;
    gap: 6px;
    margin-bottom: 40px;
}

.second-section-article {
    flex: 1;
    border-radius: 30px;
    border: 5px solid #FFF;
    padding-top: 200px;
    overflow: hidden;
}

    .second-section-article:first-child {
        background-color: #FF6505;
        background-image: url(//cdn.specialist.ru/content/file/layouts/hrsummerschool/img/back1.png);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .second-section-article:last-child {
        background-color: #002062;
        background-image: url(//cdn.specialist.ru/content/file/layouts/hrsummerschool/img/back2.png);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: contain;
    }

.second-article-bottom {
    background: #FFF;
    padding: 0 30px 30px 30px;
    height: 100%;
    position: relative;
    border-radius: 0 20px 0 0;
}

    .second-article-bottom:before {
        display: block;
        content: "";
        background: url("//cdn.specialist.ru/content/file/layouts/hrsummerschool/img/white-folder.png") top left no-repeat;
        width: 100%;
        height: 32px;
        position: absolute;       
        top: -30px;
        left: 0;
    }

    .second-article-bottom h3 {
        color: #000;
        font-size: 24px;
        font-weight: 700;
        line-height: 1.2; /* 24px */
        text-transform: uppercase;
        margin-bottom: 24px;
        max-width: 216px;

    }

    .second-article-bottom p {
        color: #5C5C5C;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.3; /* 20.8px */
        max-width: 330px;
    }

.speakers-block{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 14px;
    padding-top: 40px;
}

.speaker-card {
    background: #FFF;
    border-radius: 0 20px 20px 20px;
    padding: 10px 10px 10px 22px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    position: relative;
}

    .speaker-card:before {
        display: block;
        content: "";
        background: url("//cdn.specialist.ru/content/file/layouts/hrsummerschool/img/white-folder.png") top left no-repeat;
        width: 100%;
        height: 32px;
        position: absolute;
        top: -30px;
        left: 0;
    }

.speaker-card img{
    display: block;
    flex-shrink: 0;
    align-self: flex-start;
    width: calc(36% - 20px);
}

.speaker-card-left{
    width: 64%;
    max-width: 300px;
}

.speaker-name {
    color: #2E2E2E;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2; /* 24px */   
    margin-bottom: 10px;
}

.speaker-job {
    color: #7A7A7A;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3; /* 15.6px */    
    margin-bottom: 10px;
}

.speaker-description {
    color: #2E2E2E;
    font-size: 14px;    
    font-weight: 500;
    line-height: 1.4; /* 19.6px */    
}

.speaker-block-latest-card {
    padding: 25px;
    background: url("//cdn.specialist.ru/content/file/layouts/hrsummerschool/img/43d.png") bottom right no-repeat, 
        url("//cdn.specialist.ru/content/file/layouts/hrsummerschool/img/back.png") left top no-repeat;
    background-size: 50% auto, cover;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

    .speaker-block-latest-card h3 {
        color: #FFF;
        font-size: 24px;
        font-weight: 600;
        line-height: 1.2; /* 24px */
        max-width: 350px;     
        margin-bottom: 10px;
    }

    .speaker-block-latest-card .page-button {
        padding: 15px 40px;
        font-size: 17px;
        margin-bottom: 0;
        margin-top: auto;
        width: fit-content;
    }

.target-audience-list{
    display: flex;
    gap: 15px;
    counter-reset: target;
}

    .target-audience-list li {
        flex: 1;
        border-radius: 30px;
        background: #FFF;
        padding: 30px;
        display: flex;
        flex-direction: column;

        
    }

        .target-audience-list li p {
            color: #2E2E2E;
            font-size: 16px;
            font-weight: 600;
            line-height: 1.2; /* 19.2px */
            margin: 0 0 30px 0;
        }

.target-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 0;
    margin-top: auto;
}

.target-bottom-row::before {
    display: block;
    content: "0"counter(target);
    counter-increment: target;
    color: #C2C2C2;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2; /* 19.2px */
}

.day-section{
    margin-bottom: 120px;
}

.conf-day {
    color: rgba(255, 255, 255, .5);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2; /* 19.2px */    
    margin: 0 0 20px 0;
    white-space: nowrap;
}

.events-section{
    counter-reset: event;
}

.events-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.event-card {
    flex: 1;
    counter-increment: event;
    background: #FFF;
    padding: 40px 30px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.event-top-row{
    display: flex;
    gap: 2px;
   
}

.event-num{
    display: none;
}

.event-num:before {
    content: "0"counter(event);
}

.event-top-row > div {
    border-radius: 50px;
    background: #002062;
    padding: 13px 20px;
    color: #FFF;
    font-size: 12px;
    font-weight: 700;
    line-height: 1; /* 12px */
    text-transform: uppercase;
    white-space: nowrap;
}

.event-middle-row {
}

.event-row-term {
    color: #949494;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2; /* 14.4px */
    margin: 0 0 4px 0;
}

.event-header {
    color: #2E2E2E;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2; /* 33.6px */
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.event-description p, .event-description li{
    color: #7A7A7A;
    font-size: 14px;    
    font-weight: 500;
    line-height: 1.3; /* 18.2px */    
}

.event-description ul{
    list-style-type: disc;
    margin-left: 20px;
}

.event-speaker-row{
    margin-bottom: 30px;
}

.speaker-block {
    display: flex;
    gap: 10px;
    align-items: center;
}

.speaker-block img{
    display: block;
    flex-shrink: 0;
}

.speaker-name {
    color: #2E2E2E;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.1; /* 19.8px */    
    margin: 0;
}

.event-bottom-row{
    margin-bottom: 0;
    margin-top: auto;
}

    .event-bottom-row .page-button {
        font-size: 17px;
        padding: 15px 40px;
    }

.form-section {
    background-color: #F9C52F;
    background-image: url("//cdn.specialist.ru/content/file/layouts/hrsummerschool/img/back.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    padding: 76px 40px 40px 40px;
    border-radius: 40px;
}

.form-section-left{
    flex: 1;
}

.form-section-header {
    color: #FFF;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.2; /* 34.8px */
    text-transform: uppercase;
    margin: 0 0 56px 0;
}

.form-section-right {
    flex: 1;
    border-radius: 40px;
    background: #FFF;
    padding: 30px;
}

    .form-section-right .inputs-block{
        margin-bottom: 32px;
    }

    .form-section-right .input-wrapper {
        margin-bottom: 6px;
    }

    .form-section-right .input-wrapper input {
        border-radius: 10px;
        border: 1px solid #D6D6D6;
        background: #FFF;
        height: 47px;
        width: 100%;
        display: block;
        padding: 15px;
    }

.form-section-right .page-button{
    width: 100%;
}

    .form-section-right .button-wrapper{
        margin-bottom: 16px;
    }

.checkbox-input-wrapper{
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

    .checkbox-input-wrapper input{
        display: block;
    }

    .checkbox-input-wrapper label {
        display: block;
        color: #979797;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.3; /* 15.6px */
        
    }

.no-reg-text p{
    margin-bottom: 24px;
    font-size: 20px;
}

.send-loader-header {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    width: 100%;
    text-align: center;
    color: #2E2E2E;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.send-loader {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .5);
    display: none;
    z-index: 5;
}


    @media (max-width: 1100px) {
        .banner {
            background-size: cover;
        }
    }

    @media (max-width: 870px) {
        .banner {
            padding: 30px;
        }

        .banner-middle-block {
            margin-bottom: 60px;
        }

        .banner-right {
            right: 10px
        }
    }

    @media (max-width: 792px) {
        .second-section-flex {
            flex-direction: column;
        }

        .speakers-block {
            grid-template-columns: 1fr;
        }

        .target-audience-list {
            flex-wrap: wrap;
        }

        .events-row {
            flex-direction: column;
        }

        .form-section {
            flex-direction: column;
        }
    }

    @media (max-width: 740px) {
        .banner-left {
            max-width: 100%;
        }

        .banner-right {
            display: none;
        }
    }

    @media (max-width: 480px) {
        .banner {
            padding: 16px;
            border-radius: 10px;
        }

        .second-section-article, .speaker-card, .target-audience-list li, .event-card, .form-section, .form-section-right {
            border-radius: 10px;
        }

        .page-button {
            padding: 15px
        }

        .banner-header {
            font-size: 40px;
        }

        .section-header {
            font-size: 24px;
        }

        .speaker-card:before {
            display: none;
        }

        .speakers-block {
            gap: 14px;
        }

        .form-section-header {
            font-size: 24px;
        }

        .form-section {
            padding: 30px 16px;
        }


        .form-section-right {
            padding: 20px 16px;
        }

        .event-header {
            font-size: 20px;
        }
    }

    @media (max-width: 400px) {
        .second-article-bottom:before {
            display: none;
        }

        .second-article-bottom {
            padding: 20px;
        }



        .speaker-card {
            flex-direction: column;
        }

        .speaker-card-left {
            max-width: none;
            width: 100%;
        }

        .event-card {
            padding: 20px;
        }

        .event-top-row {
            flex-wrap: wrap;
        }
    }
