﻿.main-container {
    padding: 30px 20px;
    --light-grey: #F4F4F4;
}

p.breadcrumbs {
    display: none;
}

.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;
        }

.container {
    max-width: 1189px;
    margin: 0 auto;
}

.page-section {
    margin-bottom: 62px;
}

    .page-section p {
        color: #181818;
        font-size: 19px;
        font-weight: 500;
        line-height: 1.6; /* 30.4px */
        margin-bottom: 30px;
    }

        .page-section p:last-child {
            margin-bottom: 0;
        }

.section-header {
    color: #181818;
    font-size: 32px;
    font-family: Montserrat;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.page-button {
    display: block;
    border-radius: 8px;
    background: #FF6505;
    padding: 10px;
    color: white;
    border: 1px solid #FF6505;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

    .page-button:hover {
        background: #fff;
        color: #FF6505;
        transition: 0.3s;
    }

.download-button {
    display: flex;
    justify-content: center;
    width: fit-content;
    padding: 10px 40px;
}

    .download-button:before {
        display: inline-block;
        vertical-align: middle;
        content: "";
        width: 16px;
        height: 16px;
        background: url(//cdn.specialist.ru/content/file/layouts/getCoursesCatalog/img/download-marker.svg) center center no-repeat;
        margin-right: 2px;
        transition: inherit;
    }

    .download-button:hover::before {
        background: url(//cdn.specialist.ru/content/file/layouts/getCoursesCatalog/img/download-marker-active.svg) center center no-repeat;
        transition: inherit;
    }

.banner-section{
    margin-bottom: 30px;
}

.subbanner-list {
    border-radius: 8px;
    background: var(--light-grey);
    padding: 24px 32px;
    display:flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px 24px;
}

    .subbanner-list li {
        color: #2E2E2E;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.2;      
        display: flex;
        gap: 12px;        
        justify-content: center;
        align-items: center;   
        flex: 1;
    }

    .subbanner-list li:before {
        display: block;
        content: "";
        background: url(//cdn.specialist.ru/content/file/layouts/getCoursesCatalog/img/star.png) center center no-repeat;
        background-size: contain;
        flex-shrink: 0;
        width:30px;
        height: 30px;
    }

.catalog-cards-block{
    display:flex;
    justify-content: space-between;
    gap: 14px;
}

.catalog-card {
    border-radius: 14px;
    background-color: var(--light-grey);
    flex: 1;
    padding: 32px;
    background-repeat: no-repeat;
    background-position: right bottom;
    min-height: 266px;
    padding-right: 260px;
    display: flex;
    flex-direction: column;
    background-size: 40% auto;

    
}

    .catalog-card:nth-child(1){        
        background-image: url(//cdn.specialist.ru/content/file/layouts/getCoursesCatalog/img/card1-back.png);
    }

    .catalog-card:nth-child(2){
        background-image: url(//cdn.specialist.ru/content/file/layouts/getCoursesCatalog/img/card2-back.png);
    }

.catalog-card-header {
    color: #2E2E2E;    
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;  
    margin-bottom: 16px;
    max-width: 266px;
}

.page-section .catalog-dates {
    color: #4D4D4D;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2; /* 19.2px */
    
}

    .catalog-dates::before {
        display: inline-block;
        vertical-align: middle;
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #346CE4;
        margin-right: 10px;
    }

.catalog-card .download-button{
    margin-bottom: 0;
    margin-top: auto;
}

.checkboxes-block{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 30px;
    margin-bottom: 54px;
}

    .checkboxes-block label {
        display: flex;
        gap: 5px;
        align-items: flex-start;
        color: #2E2E2E;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.2;
       
    }

    .checkboxes-block input {
        position: relative;
        top: 2px;
        width: 16px;
        height: 16px;
    }

.sections-form-block .download-button{
    margin: 0 auto;
}

.preferences-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.preference-card {
    padding: 24px 20px;
    border-radius: 6px;
    background: var(--light-grey);
    display: flex;
    gap:4px;
}

    .preference-card::before {
        display: block;
        content: "";
        width: 40px;
        height: 40px;
        background: url(//cdn.specialist.ru/content/file/layouts/getCoursesCatalog/img/check.svg) center center no-repeat;
        background-size: contain;
        flex-shrink: 0;
    }

    .preference-card h3 {
        color: #2E2E2E;        
        font-size: 24px;
        font-weight: 600;
        line-height: 1.3; 
        margin-bottom: 6px;
    }

    .preference-card p {
        color: #6D6D6D;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.4;        
    }

.form2-block {
    background: url(//cdn.specialist.ru/content/file/layouts/getCoursesCatalog/img/back-form.png) left top no-repeat;
    background-size: cover;
    border-radius: 8px;
    padding: 32px;
}

.form2-block-header {
    color: #FFF;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;     
    margin-bottom: 6px;
}

.page-section .form2-block-text {
    color: #FFF;   
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;    
}

.form2-flex{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-areas: "a b c d e";
    gap: 4px;
}

    .form2-flex input {
        display: block;
        padding: 16px 6px 16px 20px;
        border-radius: 8px;
        border: none;
    }

.skills-section .page-text{
    margin-bottom: 32px;
}

.skills-section .page-text p {
    margin-bottom: 10px;
}

.skills-list{
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 16px;
}

.skill-card {
    border-radius: 6px;
    border-left: 6px solid #346CE4;
    background: #F3F6FC;
    padding: 32px;
}

    .skill-card h3 {
        color: #2E2E2E;
        font-size: 24px;
        font-weight: 600;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .skill-card p {
        color: #2E2E2E;        
        font-size: 16px;        
        font-weight: 400;
        line-height: 1.4;        
    }

.get-catalog-popup .modal-body{
    background: #fff;
    max-width: 480px;
}

.get-catalog-popup h3 {
    color: #2E2E2E;
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

.get-catalog-popup .modal-text{
    margin-bottom: 30px;
}

.get-catalog-popup p {
    color: rgba(46, 46, 46, 0.70);
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.get-catalog-popup .page-button{
    margin: 0 auto;
    padding: 10px 40px; 
}

.get-catalog-popup-inputs-block{
    margin-bottom: 30px;
}

    .get-catalog-popup-inputs-block input {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        border-radius: 8px;
        background: #EFF2F7;
        padding: 20px;
        border: none;
    }

        .get-catalog-popup-inputs-block input:focus, .form2-flex input:focus {
            outline: 1px solid #FF6505;
        }

.get-catalog-popup.after-send-popup h3{
    font-size: 24px;
}

.get-catalog-popup .bottom-modal-text {
    padding-top: 10px;
    margin-bottom: 0;
}

@media (max-width: 1050px) {
    .form2-flex{
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas: 
            "a b"
            "c d" 
            "e e";

    }
}

@media (max-width: 992px) {
    .subbanner-list{
        flex-wrap: wrap;        
    }

        .subbanner-list li{
            width: 46%;
        }

        .subbanner-list li:last-child {
            width: 100%;
        }

        .catalog-card {
            padding-right: 160px;
        }

    .preferences-grid{
        grid-template-columns: repeat(2, 1fr);

    }
}

@media (max-width: 792px) {
    .catalog-cards-block {
        flex-direction: column;
    }

    .catalog-card {
        background-size: auto;
    }

    .preference-card::before{
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 600px) {
    .subbanner-list li {
        width: 100%;
    }

    .catalog-card {
        background-size: 160px auto;
    }

    .preferences-grid {
        grid-template-columns: 1fr;
    }

    .skills-list {
        grid-template-columns: 1fr;
    }

    .checkboxes-block {
        grid-template-columns: 1fr;
    }

    .form2-flex {
        grid-template-columns: 1fr;
        grid-template-areas: "a" "b" "c" "d" "e"; 
    }
}

@media (max-width: 480px) {
    .page-section p{
        font-size: 16px;
    }

    .subbanner-list {
        padding: 20px;
    }

        .subbanner-list li{
            font-size: 14px;
            justify-content: flex-start
        }

    .section-header{
        font-size: 24px;
    }

    .catalog-card{
        padding: 20px
    }

    .checkboxes-block label{
        font-size: 14px;
    }

    .preference-card{
        padding: 20px;
    }

    .preference-card::before {
        width: 20px;
        height: 20px;
        position: relative;
        top: 2px;
    }

    .preference-card h3 {
        font-size: 20px;
        line-height: 1.2;
    }

        .preference-card p{
            font-size: 14px;
        }

        .form2-block {
            padding: 20px;
        }

    .form2-block-header {
        font-size: 24px;
    }

    .page-section .form2-block-text{
        font-size: 16px;
    }

    .skill-card{
        padding: 20px;
    }

        .skill-card h3 {
            font-size: 20px;
        }

        .skill-card p {
            font-size: 14px;
        }

    .get-catalog-popup h3 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .get-catalog-popup .modal-body {
        padding-left: 24px;
        padding-right: 24px;    
        max-height: 100vh;
        overflow: auto;
    }

    .get-catalog-popup p {
        font-size: 14px;
    }


    
}

@media (max-width: 400px) {
    .catalog-card{
        background-image: none!important;
        padding-right: 20px;
    }


}






