
.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.no-gutters > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}




.line-home .home-item {
  display: block;
  text-decoration: none;
  color: inherit;
}

.current-home-container {
    display: flex;
    flex-direction: row;
    box-shadow: 0px 0px 35px 0px rgba(0, 0, 0, 0.15);
    border: solid 1px #e9e9e9;
    align-items: center;
    background-color: #ffffff;
    width: 100%;
    height: 16vw;
    border-radius: 20px;
    box-sizing: border-box;
        margin-right: 0;
    margin-left: 0;
    transition: 0.4s;
   
}


.current-home-container:hover {
  transform: translateY(-5px); 
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); 
  border-color: var(--color-primary); 
  background-color: #f8f9ff; 
}



.image-container {
    border-radius: 20px;
    z-index: 1;
    width: 65%;
    object-fit: cover;
    height: 17vw;
    position: relative;
    display: inline-block;
    overflow: hidden;
    margin: 0% 0% 0% 0%;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
    border: none;
        padding: 0;
}




img.current-photo {
    border-radius: 20px;
    width: 100%;
    object-fit: cover;
    height: 17vw;
}
a.home-item.item-left {
    
    box-sizing: border-box;
    padding: 0% 1% 0% 1%;
    margin-bottom: 40px;
}
.line-home .home-item {
    display: block;
    text-decoration: none;
    color: #333;
}
.line-home {
    margin: 0% 0% 3% 0%;
}
/* .line-home {
    display: flex;
    flex-direction: row;
    width: 100%;
} */


.home-title {
    font-family: 'Jost';
    font-size: 1.1vw;
    color: #242424;
    font-weight: 700;
}





/* .home-price .price {
  font-size: 1.4em;
  font-weight: bold;
  color: #333;
  margin: 15px 0;
} */

.home-footer .btn {
  margin-right: 10px;
}
.line-home .home-item {
  display: block;
  text-decoration: none;
  color: #333;
}





.current-info {
    width: 35%;
    position: relative;
    background-color: white;
    border-radius: 15px;
    height: 14vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding-left: 20px!important;
}

.home-desc {
    font-family: 'Jost';
    font-size: 0.85vw;
    line-height: 1.1em;
    padding-right: 14%;
    color: #656363;
    font-weight: 400;
    margin-bottom: 4%; line-height: 1.1em;
}

.card-fact {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1%; line-height: 1.1em;
}

img.fact-img {
    width: 1vw;
    opacity: 0.5;
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    border: none;
}



.fact-text {
    font-family: 'Jost';
    font-size: 0.85vw;
    font-weight: 400;
    color: #242424;
    margin-left: 2%;
    line-height: 0; line-height: 1.1em;
}

.home-price {
    font-family: 'Jost';
    font-size: 1.1vw;
    font-weight: 700;
    color: #040404;
    margin: 2% 0% 1% 0%; line-height: 1.1em;
}

.home-footer {
    display: flex;
}

button.home-btn-1,
button.home-btn-2 {
   /*  font-family: 'Jost'; */
    font-size: 0.9vw;
    border-radius: 55px;
    margin-right: 3%;
    margin-top: 2%;
    transition: 0.4s;
    padding: 2% 0% 2.5% 0%;
}

button.home-btn-1 {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

button.home-btn-2 {
    background-color: #d6d6d6;
    color: #3b3b3b;
    border-color: var(--color-primary);
}
button.home-btn-2:focus,
.home-btn-2:active {
  outline: none;
  box-shadow: none;
  background-color: #d6d6d6;
    color: #3b3b3b;
    border-color: var(--color-primary);
  
  
  
}
button.home-btn-1:hover,
button.home-btn-2:hover {
    background-color: #161616;
    color: #ffffff;
}

.option-padding01 {
    padding: 0% 0% 0% 0%;
}

.current-info.option-right {
    padding-left: 4%;
}

img.current-photo.option-right {
    width: 62.4%;
}

button.home-btn-2 {
    width: 35%;
}

button.home-btn-1 {
    width: 50%;
}

.line-home {
        margin: 0% 0% 3% 0%;
    z-index: 999;
    display: block;
    position: relative;
}

img.current-photo.plan-img {
    padding: 5%;
}

@media screen and (max-width:767px) {

    .video-container {
        height: 65vw !important;
    }

    .marker.marker1.extra20 {
        box-shadow: 0px 0px 8px 4px rgb(1 1 1 / 8%);
        width: 7vw !important;
        height: 7vw !important;
    }

    a.home-item.item-left, a.home-item.item-right {
        width: 100% !important;
        box-sizing: border-box;
        padding: 0% 1% 0% 1%;
        margin: 2% 0% 8% 0% !important;
    }

    .line-home {
        display: flex;
        flex-direction: row;
        width: 100%;
        flex-wrap: wrap;
        margin: 0 !important;
    }

    .image-container {
        height: 45vw !important; 
        width: 100% !important;
        margin-bottom: 2% !important;
    }


.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 400px; /* или auto, в зависимости от дизайна */
  overflow: hidden;
}

.current-photo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* гарантирует, что изображение видно целиком */
  /* object-fit: cover; — если нужно заполнить контейнер, но можно обрезать края */
  height: fit-content!important;
  
}

/* 
    img.current-photo {
        height: 45vw !important;
    }
 */
    .current-info {
        width: 100% !important;
        padding-left: 5% !important;
       height: auto; 
    }

    .home-desc {
        font-size: 3.5vw !important;
    }

    img.fact-img {
        width: 4vw !important;
    }

    .fact-text {
        font-size: 3.4vw !important;
    }

    .home-price, .home-title {
        font-size: 4vw !important;
    }
    
    .current-home-container {
        padding: 0% 0% 7% 0% !important;
       /*  height: 108vw !important; */
            height: auto!important;
        flex-wrap: nowrap !important;
        flex-direction: column !important;
    }
    .current-home-container_reverse {
       
        flex-direction: column-reverse !important;
    }
    
    
    .option-padding01 {
        padding: 0% 0% 0% 0% !important;
        flex-direction: column !important;
    }

    button.home-btn-1, button.home-btn-2 {
        font-size: 3.5vw !important;
    }

    .hot-left {
        width: 35% !important;
    }

    .hot-title {
        font-size: 1.7vw !important;
    }

    .desc, .change-photo {
        font-size: 1.3vw !important;
    }

    .toggle-btns {
        display: flex;
        margin: 0% 0% 0% 2%;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: row;
    }

    a.specAncor {
        width: 100% !important;
        margin: 3% 0% 3% 0%;
    }

    .homeTitle {
        font-size: 4vw !important;
    }

    .homeDescription {
        font-size: 3.5vw !important;
    }

    .someFact {
        font-size: 3vw;
    }

    .homeButton {
        font-size: 3.5vw;
    }

    .homePrice {
        font-size: 3.5vw;
    }

    .currentHome {
        margin: 0;
    }

    .realSlide {
        height: 40vw;
        margin: 5% 3% 15% 3% !important;
    }

    .port-title {
        font-size: 3.7vw !important;
        padding-bottom: 2% !important;
    }
}



.btn-back-to-top {
  position: fixed;
    bottom: 80px;
    right: 0px;
    z-index: 1000;
}



