﻿@font-face {
    font-family: "Sweet Mavka Script";
    src: local("Sweet Mavka Script"), 
        url("/fonts/SweetMavkaScript/Sweet Mavka Script.otf") format('opentype'),
        url("/fonts/SweetMavkaScript/Sweet Mavka Script.woff2") format("woff2"),
        url("/fonts/SweetMavkaScript/Sweet Mavka Script.woff") format("woff"), 
        url("/fonts/SweetMavkaScript/Sweet Mavka Script.svg") format("svg");
    font-weight: normal;
}

.main-container {
    padding: 30px 20px 0 20px;
}

.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: #33393E;
        font-size: 19px;
        line-height: 1.4;
       
    }

        .page-section p:last-child {
            margin-bottom: 0;
        }

.section-header {
    color: var(--neutral-black, #1A1A1A);
    font-size: 34px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 32px;
}

.banner-section {
    margin-bottom: 60px;
}

.banner {
    min-height: 560px;
    background: url(//cdn.specialist.ru/content/file/layouts/newyearwithknowledges/img/back.png) left center no-repeat, linear-gradient(94.82deg, #002063 -9.18%, #0F91FF 100%);
    border-radius: 20px;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.banner-content {
    max-width: 520px;
    padding: 40px 10px 40px 60px;
}

.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: 24px;
}

.banner-header {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    line-height: 1.2;
}

.banner-text {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 38px;
}

.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;
    }

.banner-button {
    display: block;
    padding: 15px 30px;
    border-radius: 4px 0px 0px 0px;
    background: #FF6505;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    max-width: 200px;
    text-align: center;
}

.banner-comix {
    align-self: stretch;
    background: url(//cdn.specialist.ru/content/file/layouts/newyearwithknowledges/img/fur-tree.png) center center no-repeat;
    background-size: 100% auto;
    width: 550px;
    max-width: 100%;
    padding: 40px 40px 40px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comix-chat {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.comix-chat-item {
    display: flex;
    gap: 24px;
    padding: 14px;
    padding-bottom: 24px;
    border-radius: 30px;
    margin-bottom: 36px;
    max-width: 400px;
    position: relative;
    margin-left: 0;
}

    .comix-chat-item:nth-child(2n) {
        align-self: flex-end;
    }

    .comix-chat-item:last-child {
        margin-bottom: 0;
    }

    .comix-chat-item svg {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        fill: rgba(255, 255, 255, 0.15);
        stroke-width: 1px;
        stroke: rgba(255, 255, 255, 0.10);
        backdrop-filter: blur(5px);
        z-index: 0;
        max-width: 100%;
        height: 100%;
    }

    .comix-chat-item img {
        position: relative;
        z-index: 1;
        display: block;
        /*width: 100px;*/
        flex-shrink: 0;
        align-self: center;
    }

.comix-chat-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.comix-chat-author {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}

.comix-chat-text {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
    margin-top: auto;
}

.nice-header {
    font-family: "Sweet Mavka Script", Montserrat, sans-serif;
    font-weight: 500;
    font-size: 64px;
    color:rgba(33, 103, 169, 1);
}

.second-section-item{
    position: relative;
    padding-left: 74px;
    margin: 0 0 36px 0;
}

    .second-section-item:before {
        display: block;
        content: "";
        width: 50px;
        height: 50px;
        position: absolute;
        left: 0;
        top: 0;
        background-position: center center;
        background-repeat: no-repeat;
        background-image: url(//cdn.specialist.ru/content/file/layouts/newyearwithknowledges/img/marker3.png);
    }
    .second-section-item:nth-child(2n):before {
        background-image: url(//cdn.specialist.ru/content/file/layouts/newyearwithknowledges/img/marker2.png);
    }
    .second-section-item:nth-child(3n):before {
        background-image: url(//cdn.specialist.ru/content/file/layouts/newyearwithknowledges/img/marker1.png);
    }
    
.second-section-item h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2; /* 21.6px */
    margin-bottom: 14px;       
}

.cards-list{
    display: flex;
    gap: 32px;
}

.card-item {
    border-radius: 20px;
    background: var(--light-blue, #EFF2F7);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-top img{
    display: block;
    width: 100%;
}

.card-bottom {
    padding: 24px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .card-bottom h3 {
        font-size: 32px;        
        font-weight: 600;
        line-height: 1.2;
        margin-bottom: 16px;
    }

.red-button {
    display: block;
    padding: 15px 20px;
    border-radius: 4px;
    background: #FF6505;
    font-size: 18px;
    font-weight: 700;
    color: white;
    border: none;
    cursor: pointer;
    width: fit-content;
    margin-top: auto;
    margin-bottom: 0;
}

.card-text{
    
    margin-bottom: 16px;
}

    .card-text p {
        font-size: 18px;
    }

    @media(max-width: 1098px) {
        .banner {
            flex-direction: column;
            align-items: stretch;
            gap: 24px;
            background-position: right center;
        }

        .banner-comix {
            background-position: top center;
            padding: 0 0 20px 0;
            margin: 0 auto;
        }
    }

    @media(max-width: 792px) {
        .cards-list {
            flex-direction: column;
        }
    }



    @media(max-width: 650px) {
        .banner {
            padding: 20px;
            padding-bottom: 0;
        }

        .banner-content {
            padding: 0;
        }

        .banner-comix {
            padding: 0;
        }

        .comix-chat {
            padding: 0;
        }

        .comix-chat-item:nth-child(2n) {
            margin-left: 0;
        }

        .banner-header {
            font-size: 32px;
        }

        .page-section-header {
            font-size: 24px;
        }

        .card-bottom h3 {
            font-size: 24px;
        }
    }

    @media(max-width: 480px) {
        .comix-chat-item img {
            width: 60px;
        }

        .comix-chat-author {
            margin-bottom: 12px;
        }
    }

