@import url('../vars.css');

.posly-banner{
    position: relative;
    height: 600px;
    background-color: var(--primary-brand-2);
    background-image: url('/wp-content/themes/neve/assets/img/posly/banner.png');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
}
.posly-banner-cont{
    width: 1200px;
    height: 100%;
    background-image: linear-gradient(90deg, rgba(51, 102, 204, 1) 0%, rgba(45, 109, 210, 0.89) 35%, rgba(21, 137, 234, 0.42) 75%, rgba(9, 151, 246, 0.18) 88%, rgba(0, 162, 255, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 68px;
    gap: 25px;
}
.posly-banner-title{
    font-family: var(--desktop-h2-font);
    font-size:  var(--desktop-h2-size);
    font-weight: var(--desktop-h2-weight);
    color: #fff;
}
.posly-banner-desc{
    font-family: var(--desktop-body-font);
    font-size:  var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: #fff;
    width: 540px;
}
.posly-banner-img-left{
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
}
.posly-banner-img-right{
    position: absolute;
    right: 0;
    bottom: 0;
}
.posly-banner-img-mobile{
    display: none;
}

.posly-support{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: var(--mb);
}
.posly-support-title{
    font-family: var(--desktop-h4-font);
    font-size:  var(--desktop-h4-size);
    font-weight: var(--desktop-h4-weight);
    color: var(--text);
    text-align: center;
}
.posly-support-cont{
    width: 100%;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}
.posly-support-img{}

.posly-stats{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: var(--mb);
}
.posly-stat-card{
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.posly-stat-card-title{
    font-family: var(--desktop-h2-font);
    font-size:  var(--desktop-h2-size);
    font-weight: var(--desktop-h2-weight);
    color: var(--primary-brand-2);
}
.posly-stat-red-title{
    color: var(--primary-brand-1);
}
.posly-stat-card-desc{
    font-family: var(--desktop-body2-font);
    font-size:  var(--desktop-body2-size);
    font-weight: var(--desktop-body2-weight);
    color: var(--text);
}
.posly-stat-img{
    width: 100%;
    /* height: 308px; */
    border-radius: 16px;
    box-shadow: var(--drop-shadow-100);
}

.posly-goals{
    display: flex;
    gap: 20px;
    margin-bottom: var(--mb);
}
.posly-goals-card{
    position: relative;
    width: 415px;
    height: 250px;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 12px;
}
.posly-goals-card-title{
    font-family: var(--desktop-h5-font);
    font-size:  var(--desktop-h5-size);
    font-weight: var(--desktop-h5-weight);
    color: #fff;
}
.posly-goals-card-desc{
    font-family: var(--desktop-body-font);
    font-size:  var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: #fff;
}
.posly-blue-card{
    background-color: var(--primary-brand-2);
    background-image: url('/wp-content/themes/neve/assets/img/posly/hands.svg');
    background-blend-mode: soft-light;
    background-position: 120% center;
    background-repeat: no-repeat;
    background-size: 176px 176px;
}
.posly-lightblue-card{
    background-color: var(--secondary-2);
    background-image: url('/wp-content/themes/neve/assets/img/posly/Book\ Bookmark.svg');
    background-blend-mode: soft-light;
    background-position: 120% center;
    background-repeat: no-repeat;
    background-size: 176px 176px;
}
.posly-red-card{
    background-color: var(--primary-brand-1);
    background-image: url('/wp-content/themes/neve/assets/img/posly/location.svg');
    background-blend-mode: soft-light;
    background-position: 120% center;
    background-repeat: no-repeat;
    background-size: 176px 176px;
}

.posly-res{
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-start;
}
.posly-res-left{
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.posly-res-desc{
    font-family: var(--desktop-body-font);
    font-size:  var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: var(--text);
}
.posly-res-tags{
    display: flex;
    gap: 20px;
}
.posly-res-tag{
    width: 50%;
    display: flex;
    gap: 12px;
    font-family: var(--desktop-body2-font);
    font-size:  var(--desktop-body2-size);
    font-weight: var(--desktop-body2-weight);
    color: var(--text);
}
.posly-res-tag-icon{
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
}
.posly-res-right{
    display: grid;
    grid-template-areas: "first second" "first third";
    gap: 20px;
}
.posly-res-gal-image{
    border-radius: 16px;
}
.posly-res-gal-image:nth-child(1){
    grid-area: first;
}
.posly-res-gal-image:nth-child(2){
    grid-area: second;
}
.posly-res-gal-image:nth-child(3){
    grid-area: third;
}
.posly-res-bottom{
    display: flex;
    gap: 20px;
    margin-bottom: var(--mb);
}
.posly-res-bot-img{
    width: 49%;
    border-radius: 16px;
}

.posly-geo{
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: var(--mb);
}
.posly-geo-top{
    width: 100%;
}
.posly-geo-cont{
    display: flex;
    flex-direction: column;
}
.posly-geo-bottom{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.posly-geo-img{
    border-radius: 16px;
}
.posly-geo-right{
    width: 920px;
    display: flex;
    flex-direction: column;
}
.posly-geo-title{
    margin-bottom: 16px;
    font-family: var(--desktop-h5-font);
    font-size:  var(--desktop-h5-size);
    font-weight: var(--desktop-h5-weight);
    color: var(--text);
}
.posly-geo-countr-cont{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}
.posly-geo-countr{
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--gray-100);
}

.posly-bot-banner{
    padding: 26px 46px;
    margin-bottom: var(--mb);
    background-image: url('/wp-content/themes/neve/assets/img/posly/фон\ послов\ 1.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    box-shadow: var(--drop-shadow-200);
    border-radius: 16px;
    overflow: hidden;
}
.posly-bot-banner-aside{
    width: 687px;
    display: flex;
    flex-direction: column;
}
.posly-bot-banner-title{
    margin-bottom: 32px;
    font-family: var(--desktop-h2-font);
    font-size:  var(--desktop-h2-size);
    font-weight: var(--desktop-h2-weight);
    color: var(--text);
}
.posly-bot-banner-desc{
    margin-bottom: 16px;
    font-family: var(--desktop-h4-font);
    font-size:  var(--desktop-h4-size);
    font-weight: var(--desktop-h4-weight);
    color: var(--primary-brand-2);
}
.posly-bot-banner-contact{
    display: flex;
    gap: 8px;
    align-items: center;
    font-family: var(--desktop-body2-font);
    font-size:  var(--desktop-body2-size);
    font-weight: var(--desktop-body2-weight);
    color: var(--gray-400);
}
.posly-bot-banner-image{}




.posly-swiper-wrapper{
    display: none;
    position: relative;
    margin-bottom: var(--mb);
}
.posly-res-slider{
    height: 100%;
}
.swiper-wrapper{}
.posly-slider-next{
    position: absolute;
    z-index: 777;
    background: none;
    padding: 0;
    top: 45%;
    right: 12px;
    width: 24px;
    height: 24px;
}
.posly-slider-prev{
    position: absolute;
    z-index: 777;
    transform: rotate(180deg);
    background: none;
    padding: 0;
    top: 45%;
    left: 12px;
    width: 24px;
    height: 24px;
}
.posly-slider-next:active,
.posly-slider-prev:active,
.posly-slider-next:visited,
.posly-slider-prev:visited,
.posly-slider-next:hover,
.posly-slider-prev:hover{
    background: none;
    padding: 0;
}
.swiper-card-img{
    display: flex;
    justify-content: center;
    align-items: center;
}
.posly-slider-img{
    height: 320px;
    object-fit: contain;
    border-radius: 16px;
}

.map-widget-map-component{}

@media screen and (max-width: 1400px) {
    .posly-stats{
        grid-template-columns: 1fr 1fr;
    }
    .posly-res{
        flex-direction: column;
    }
    .posly-res-left{
        width: 100%;
    }
    .posly-res-right{
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    .posly-geo-bottom{
        grid-template-columns: 1fr 1fr;
    }
    .posly-goals{
        flex-wrap: wrap;
    }
}
@media screen and (max-width: 1024px) {
    .posly-support-cont{
        grid-template-columns: 1fr 1fr;
    }
    .posly-banner-cont{
        width: 100%;
    }
    .posly-goals{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .posly-goals-card{
        width: 100%;
    }
    .posly-bot-banner-aside{
        width: 100%;
    }
    .posly-bot-banner{
        background-size: cover;
    }
}
@media screen and (max-width: 768px) {
    .posly-geo-top iframe{
        height: 450px !important;
    }
    .posly-swiper-wrapper{
        display: flex;
        height: 320px;
    }
    .posly-res-right{
        display: none;
    }
    .posly-res-bottom{
        display: none;
    }
    .posly-banner{
        height: 533px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        background-position: 100% top;
        background-size: 120%;
    }
    .posly-banner-img-left{
        display: none;
    }
    .posly-banner-img-right{
        display: none;
    }
    .posly-banner-img-mobile{
        display: block;
        position: absolute;
        top: 0px;
        width: 100%;
        mix-blend-mode: soft-light;
    }
    .posly-banner-cont{
        background-image: linear-gradient(180deg, rgba(0, 162, 255, 0) 0%, rgba(9, 151, 246, 0.18) 15%, rgba(21, 137, 234, 0.42) 35%, rgba(45, 109, 210, 0.89) 69%, rgba(51, 102, 204, 1) 95%);
        height: 100%;
        justify-content: flex-end;
        padding: 100px 20px 40px;
    }
    .posly-banner-desc{
        width: 100%;
    }
    .posly-stats{
        display: flex;
        flex-direction: column;
    }
    .posly-goals{
        display: flex;
        flex-direction: column;
    }
    .posly-goals-card{
        padding: 32px 20px;
        gap: 12px;
        height: fit-content;
    }
    .posly-geo-bottom{
        display: flex;
        flex-direction: column;
    }
    .posly-res-tags{
        display: flex;
        flex-direction: column;
    }
    .posly-res-bot-img{
        width: 100%;
    }
    .posly-res-tag{
        width: 100%;
    }
    .posly-bot-banner{
        padding: 20px 12px;
        height: auto;
        /* background-position: bottom;
        background-size: 120%; */
    }
}
@media screen and (max-width: 480px) {
    .posly-banner-cont{
        background-image: linear-gradient(180deg, rgba(0, 162, 255, 0) 0%, rgba(9, 151, 246, 0.18) 10%, rgba(21, 137, 234, 0.42) 15%, rgba(45, 109, 210, 0.89) 30%, rgba(51, 102, 204, 1) 70%);
    }
    .posly-banner-img-mobile{
        mix-blend-mode: normal;
    }
    /* .posly-bot-banner{
        background-size: 200%;
    } */
}