
/*Стили для баннера (нового баннера с пинами) draw-banner */

.homepage-banner-item {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%), url("/template/new/images/schoolchild/banner_bg_1.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    padding: 191px;
    position: relative;

    height: 100%;
    box-sizing: border-box;
}

.homepage-banner-item-title {
    font-family: 'Druk Wide Cyr', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    color: #F5F2EC;

    margin-bottom: 16px;
}

.homepage-banner-item-title span {
    color: #CB7D5D;
}

.homepage-banner-item-subtitle {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 125%;
    color: rgba(245, 242, 236, 0.9);

    margin-bottom: 100px;
}

.homepage-banner-item-actions-btn {
    border-radius: 26px;
    padding: 8px 32px;
    background: #F5F2EC;
    border: 0;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 262px;

    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    text-align: center;
    color: #334842;
    text-decoration: none;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: .3s ease-in-out;
}

.homepage-banner-item-actions-btn:hover {
    background: #CB7D5D;
    color: #FFFFFF;
}

.homepage-banner-item-pin {
    border: 1px solid #f3f4f6;
    border-radius: 24px;
    padding: 9px 13px;

    text-decoration: none;

    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: #FFFFFF;

    cursor: pointer;
    transition: .3s ease-in-out;
}

.homepage-banner-item-pin:hover {
    transform: scale(1.1);
}

.homepage-banner-item-pin.pinTop {
    position: absolute;
    top: calc(50% - 26px);
    left: calc(50% - 100px);
}

.homepage-banner-item-pin.pinTop.banner_1 {
    top: calc(68% - 20px);
    left: calc(50% - 100px);
}

.homepage-banner-item-pin.pinTop.posBottom.banner_1 {
    top: calc(84% - 26px);
    left: calc(65% - 70px);
}

.homepage-banner-item-pin.pinTop::before {
    content: "";
    position: absolute;
    top: calc(50% - 8px);
    left: -20px;

    width: 16px;
    height: 16px;
    border-radius: 50%;
    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: #FFFFFF;

    animation: pulseBefore 3s linear infinite;
}

.homepage-banner-item-pin.pinBottom {
    position: absolute;
    top: calc(70% - 26px);
    left: calc(50% - 70px);
}

.homepage-banner-item-pin.pinBottom.banner_1 {
    top: calc(80% - 26px);
    left: calc(73% - 70px);
}

.homepage-banner-item-pin.pinBottom::before {
    content: "";
    position: absolute;
    top: calc(50% - 8px);
    right: -20px;

    width: 16px;
    height: 16px;
    border-radius: 50%;
    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: #FFFFFF;

    animation: pulseBefore 3s linear infinite;
}

.homepage-banner-item-pin-price {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    color: #CB7D5D;

    margin-bottom: 4px;
}

.homepage-banner-item-pin-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: #4a5565;
}

@keyframes pulseBefore {
    0% {
        background: #FFFFFF;
    }
    50% {
        background: #F5F2EC33;
    }
    100% {
        background: #FFFFFF;
    }
}

@media screen and (max-width: 1600px) {
    .homepage-banner-item-title {
        max-width: 700px;
    }
}

@media screen and (max-width: 1250px) {
    .homepage-banner-item {
        padding: 167px 96px;
    }
}

@media screen and (max-width: 1100px) {
    .homepage-banner-item {
        padding: 106px 190px;
    }
    .homepage-banner-item-title {
        max-width: 425px;
        font-size: 36px;
        line-height: 133%;

        margin-bottom: 24px;
    }
    .homepage-banner-item-subtitle {
        font-size: 18px;
        line-height: 136%;

        margin-bottom: 54px;
    }
    .homepage-banner-item-actions-btn {
        border-radius: 15px;
        padding: 6px 21px;
        font-size: 18px;
        line-height: 133%;
        max-width: 225px;
    }
    .homepage-banner-item-pin {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .homepage-banner-item {
        padding: 30px 62px 40px 62px;
    }
}

@media screen and (max-width: 600px) {
    .homepage-banner-item-title {
        font-size: 30px;
        line-height: 130%;

        margin-bottom: 24px;
    }
}

@media screen and (max-width: 500px) {
    .homepage-banner-item {
        padding: 36px 14px 46px 14px;
    }
    .homepage-banner-item-title {
        font-weight: 500;
        font-size: 24px;
        line-height: 123%;
        max-width: 260px;
        margin-bottom: 72px;
    }
    .homepage-banner-item-subtitle {
        font-size: 16px;
        line-height: 153%;
        margin-bottom: 72px;
        max-width: 260px;
    }
    .homepage-banner-item-actions-btn {
        border-radius: 15px;
        padding: 8px 21px;
        font-size: 12px;
        line-height: 146%;
        max-width: 165px;
    }
}