/* First-screen copy of rules from style.css and responsive.css. */
* {
    margin: 0;
    padding: 0;
}

html, body {
    font-size: 16px;
    font-family: 'Montserrat', sans-serif, Arial;
    -webkit-font-smoothing: antialiased;
    /* background: #f4f4f8; */
    min-height: 100vh;
    color: #3D3D3D;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

header {
    position: fixed;
    width: 100%;
    height: 80px;
    display: flex;
    z-index: 11;
    background: #ffffff;
    align-items: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    transition: 0.2s;
    box-shadow: 0px 4px 10px rgb(38 50 56 / 8%);
}

h1, h2, h3, h4 {
    line-height: 1.3;
    font-weight: 600;
    color: #3D3D3D;
    position: relative;
}

h1 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3em;
    word-wrap: break-word;
    margin-top: 50px;
    margin-bottom: 20px;
    -webkit-font-smoothing: antialiased;
}

h2, h3, h4 {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

h2 {
    font-size: 2em;
    letter-spacing: -0.4px;
    margin-bottom: 0px;
    left: -1px;
}

h3 {
    font-size: 24px;
    margin-bottom: 1.5rem;
}

input, textarea, select {
    -webkit-appearance: none;
}



.cdx-marker {
    background: rgb(236 187 97 / 22%);
    padding: .09em 0;
}

ol, ul {
    margin: 20px 0;
    list-style: disc;
    list-style-position: outside;
}

ol li, ul li {
    margin: 10px 0 10px 2em;
    word-wrap: break-word;
}


.ui-main_wrapper {
    position: relative;
    display: flex;
    padding-top: 80px;
    min-height: calc(100vh - 80px);
}

.layout--a {
    max-width: 650px;
    margin: 15px auto;
    clear: both;
    padding: 0 25px;
}
.page-wide .layout--a {
    max-width: 1140px;
    margin: 0 auto;
}

.cdx-startscreen--wrapper {
    min-height: 90vh;
    position: relative;
    display: flex;
    color: white;
    margin-top: -15px;
}

.cdx-startscreen--background {
    background: #eff2f7;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cdx-startscreen--content {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    margin-top: auto;
    padding-bottom: 50px;
}
.cdx-startscreen--content--partnership {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-bottom: 50px;
}
.cdx-startscreen--logo {
    max-width: 300px;
    margin-bottom: 20px;
}

.cdx-startscreen--logo img {
    width: 100%;
    height: 100%;
}

.cdx-startscreen--caption {
    font-size: 16px;
    width: 38%;
    line-height: 1.6;
    font-weight: 500;
}
.cdx-startscreen--caption--partnership {
    font-size: 52px;
    width: 70%;
    line-height: 1.4;
    font-weight: 500;
}
.cdx-startscreen--caption--partnership p{
    font-size: 18px;
}

.cdx-startscreen--features {
    margin: 50px -40px;
    clear: both;
    display: flex;
}

.cdx-startscreen--logo .no--image {
    border: 1px dashed #ffffff80;
    text-align: center;
    padding: 14px;
    border-radius: 16px;
    font-size: 2rem;
    line-height: 1;
    font-weight: 100;
}

.cdx-startscreen--background .background {
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
}

.cdx-startscreen--background img.background {
    display: block;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.cdx-startscreen--background:after {content: '';position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 50%);}

.cdx-startscreen--features .feature--item {
    border-right: 1px solid #ffffff47;
    padding: 0 40px;
}

.cdx-startscreen--features .feature--item .feature--title {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 500;
}

.cdx-startscreen--features .feature--item .feature--caption {
    font-size: 12px;
    line-height: 18px;
}

.cdx-startscreen--features .feature--item:last-child {
    border-right: 0px;
}

.cdx-startscreen-theme-2 .cdx-startscreen--background:after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 50%);
}

.cdx-startscreen-theme-3 .cdx-startscreen--background:after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}

.banner-main__wrapper{
    display: flex;
    gap: 20px;
    align-items: stretch;
}
.banner-main__content {
  flex: 1 1 auto;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.banner-main__content a{
    color: inherit;
}

.banner-main__title {
  font-size: 40px;
  margin-bottom: 0;
  font-weight: 400;
  line-height: 55px;
}

a.banner-main__button {
  background: #ff7a00;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 14px 29px;
  font-weight: 500;
  cursor: pointer;
  max-width: fit-content;
}

.banner-main__info-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
width: 100%;
}

.banner-main__info,
.banner-main__promo {
  border-radius: 20px;
  padding: 40px 12px 38px 36px;
  flex: 1;
  min-width: 240px;
  
}

.banner-main__info {
  background: #f3f4f6;
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding: 25px 12px 38px 36px;
  position: relative;
  overflow: hidden;
}

.banner-main__info p{font-size: 16px;font-weight: 600;line-height: 20px;    max-width: 221px;}

.banner-main__promo p{
    max-width: 221px;
}

.banner-main__icon {
  position: absolute;
  bottom: -12px;
  right: -11px;
  width: 96px;
  height: 96px;
}

.banner-main__icon svg {
}

.banner-main__promo {
  background: #2563eb;
  color: #fff;
}

.banner-main__promo-title {
  font-size: 25px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.banner-main__promo p {
  font-size: 16px;
  line-height: 20px;
  color: #fff;
}

.banner-main__image-wrap {
  /* flex: 1; */
  flex: 0 0 41.5%;
  min-width: 320px;
  max-height: 560px;
  
  position: relative;
  overflow: hidden;
     border-radius: 20px;
}

.ui-feed-block_content img.banner-main__image {
  width: 100%;
  max-height: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.banner-main__overlay {
  position: absolute;
  bottom: 16px;
  right: -16px;
  color: #fff;
  border-radius: 20px;
  padding: 36px 38px;
  max-width: 80%;
  background: #FFFFFF1A;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.banner-main__overlay-title {
    font-size: 28px;
    font-weight: 700;
    padding: 0;
    margin: 0;
    color: #fff;
    /* margin-bottom: 10px; */
    padding-bottom: 9px;
    line-height: 32px;
    width: 274px;
    text-transform: uppercase;
}

.banner-main__overlay p {
  font-size: 16px;
  line-height: 20px;
}


/* .ui-section-blue{
    background: #4060FA;
} */

#full-width{
    justify-content: space-between;
    align-items: center;
    color: #fff;
     background: #4060FA;
       gap: 40px;
}

.ui-section-blue__text {
    padding-left: 20px;
}



.ui-section-blue__title {
    font-size: 26px;
    line-height: 32px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0;
    padding-top: 82px;
    color: #fff;
}

.ui-article_wrapper .ui-feed-block_content p.ui-section-blue__subtitle {
    margin-top: 5px;
    padding-bottom: 67px;
}
.ui-section-blue__btn{
    height: fit-content;
    background: #F47D00;
    border-radius: 10px;
        margin-right: 100px;
}
.ui-section-blue__btn .cdx-Tiles__content{
    padding: 18px 29px;
}


@media (max-width: 1120px) {
    .banner-main__image-wrap {
        flex: 0 0 49.5%;
    }
    .banner-main__content {
        gap: 44px;
    }

    .banner-main__title {
        font-size: 35px;
        line-height: 43px;
    }
    .banner-main__info{
        padding: 8px 10px 8px 36px;
        order: 2;
    }
    .banner-main__promo {
        order: 1;
        padding: 18px 10px 13px 36px;
    }
    .banner-main__image-wrap {
        flex: 0 0 60.5%;
            max-width: 600px;
    }

    .banner-main__icon svg {
        width: 77px;
        height: 77px;
    }
    .banner-main__icon {
        bottom: -8px;
        right: -6px;
        width: 77px;
        height: 77px;
    }

}


@media (max-width: 1000px) {
    .banner-main__image-wrap {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    #full-width{
        flex-direction: column;
    align-items: self-start;
    }
    .ui-article_wrapper .ui-feed-block_content p.ui-section-blue__subtitle{
        padding-bottom: 20px;
    }
    .ui-section-blue__btn{
        margin-bottom: 45px;
        justify-content: center;
        width: 100%;
        display: flex;
    }
    .ui-section-blue__title{
        margin-bottom: 20px;
    }
    .banner-main__wrapper {
        flex-direction: column;
    }

    .banner-main__image-wrap {
        flex: 1;
        max-height: 285px;
        max-width: 100%;
                width: 100%;
    }
    .banner-main__content {
        gap: 8px;
        align-items: center;
    }

    .banner-main__title {
        font-size: 30px;
        line-height: 37px;
        text-align: center;
        margin-bottom: 22px;
    }
    .banner-main__info{
        padding: 20px;
        order: 2;
    }
    .banner-main__promo {
        order: 1;
        padding: 20px;
    }
    .banner-main__button{
        margin-bottom: 47px;
    }
    .banner-main__overlay{
        bottom: -1px;
        left: 0;
        right: 0;
        padding: 20px;
        max-width: 100%;
    }
    .banner-main__overlay-title{
        font-size: 18px;
        line-height: 22px;
        padding-bottom: 3px;
        width: 100%;
    }
    .ui-feed-block_content img.banner-main__image{
        max-height: 285px;
    }
    
}

@media screen and (max-width:768px) {
    .v-tab-item{
            font-size: 12px;
    }
    .advantage-card__title{
        font-size: 11px;
        padding: 9px 20px;
        font-weight: 600;
    }
    .v-tab-grid{
      /* grid-template-columns: repeat(2, minmax(140px, 1fr)); */
          display: flex;
   }
    .villages-new-advantages__grid{
        grid-template-columns:  1fr;
    }
    .ui-video-wrapper{
        height: 53vw;min-height: 200px;
    }
    .ui-video__play{
        width: 35px !important;
        height: 40px !important;
    }
    .ui-video{
        margin-top: 16px;
    }
    .ui-info-list{
        margin-top: 70px;
        margin-bottom: 0;
    }
    .ui-info-subdivision-wrapper{
        margin-top: 0;
    }
    .ui-info-numbers-wrapper{
        margin-top: 0;
    }
    .ui-info-numbers__item{
        margin-top: 41px;
    }
    .ui-info-subdivision-item-wrapper{
        height: unset;
        flex-flow: column;
        padding-right: 13px;
        padding-left: 16px;
        align-items: center;
    }
    .ui-info-subdivision-item{
        margin-bottom: 16px;
    }
    .ui-info-subdivision{
        margin-top: 20px;
        margin-bottom: 35px;
    }
    .ui-info-subdivision-right{
        margin-top: 25px;
    }
    .ui-info-subdivision-left{
        padding-bottom: 32px;
        padding-right: 0;
        flex: 0 0 auto;
        height: unset;
        width: 100%;
    }
    .ui-info-subdivision-left:after{
        top: unset;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 1px;
    }
    .ui-video{
        margin-top: 26px;
    }
    .houses-layouts-carousel-btns{
        display: block;
    }
    .houses-layouts-carousel-btns a{
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;

    }
    .houses-layouts-carousel-request{
        text-align: center;
    }
    .houses-layouts-tabs{
        /* padding-left: 30px;
        padding-right: 30px; */
        padding-left: 8px;
        padding-right: 8px;
    }
    .houses-layouts-carousel-info{
        flex-wrap: wrap;
    }
    .houses-layouts-carousel-info-text{
        white-space: nowrap;
    }
    .houses-layouts-carousel-left{
        padding: 15px ;
    }
    .houses-layouts-btns{
        overflow: auto;
        justify-content: flex-start;
    }
    .houses-layouts-btns span{
        white-space: nowrap;
    }
    /* .ui-section--genplan-modal{
        top: unset !important;
        bottom: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    } */
    .ui-section--genplan .layout--a{
        overflow: auto;
        /* height: 80vh; */
        position: unset;
        border-radius: 10px;
    }
    .ui-section--genplan svg{
        border-radius: 0;
    }
    .ui-section--genplan img{
        border-radius: 0;
    }
    .ui-section--genplan{
        position: relative;
    }
    .ui-section--genplan-modal-wrapper{
        top: unset !important;
        bottom: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .ui-villages--filter_new{
        /* display: none; */
    }
    .cdx-Tiles.cdx-Tiles-theme-3 .cdx-Tiles__item.theme-4 {
        width: 100%;
        max-width: 100%;
        margin: 15px;
        height: 173px;
    }
    .cdx-Tiles.cdx-Tiles-theme-3 .cdx-Tiles__item.theme-4  .ui-scrollarea{
        padding: 0;
    }

    .cdx-Tiles__item.theme-4 .total, .cdx-Tiles__item.theme-4 .cdx-Tiles__item-title{
        font-style: 19px;
    }
    a.more-link{
            width: 100%;
    justify-content: center;
    padding: 18px 0;
    }
    .cdx-Tiles__item.theme-4 .ui-block--price{
        flex-direction: column;
        gap: 5px;
    }
    .cdx-Tiles__item.theme-4 .ui-block--price .old_price{
        margin: 0;
    }
    .villages-new-readiness__items{
      grid-template-columns: 1fr;
   }
   .villages-new-readiness__item-label{
    max-width:none;
   }
    .villages-new-text-center {
        max-width: 90%;
    }
    .villages-new-advantages{
        padding: 26px 18px;
    }
    .villages-new-communications{
        padding: 26px 18px;
    }
      .villages-new-title-gen_another{
    padding-left: 10px;
  }
  #full-width {
    gap: 0px;
  }
}