:root {
    --house-main-font-family: "Murecho", sans-serif;
    --house-second-font-family: 'Days One', sans-serif;
    --house-color-black: #000000;
    --house-color-white: #ffffff;
    --house-color-grey: #757777;
    --house-font-size-small: 16px;
    --house-font-size-normal: 24px;
    --house-font-size-big: 28px;
}

/** house-header **/
.house__section {
    padding: 0 0 20px 0;
}

.house__header--title {
    font-family: var(--house-second-font-family);
    font-size: var(--house-font-size-big);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

.house__header--slider-wrap {
    width: 100vw;
    margin-left: -20px;
    margin-bottom: 30px;
}

.house__header--slider figure {
    width: 100%;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}

.house__header--slider figure:after {
    content: '';
    display: block;
    padding-top: 75.670241%;
    ;
    position: relative;
}

.house__header--slider figure a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
}

.house__header--slider figure.house__slide--lcp {
    overflow: hidden;
}

.house__slide--lcp-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.swiper-house-prev,
.swiper-house-next {
    position: absolute;
    background: none;
    opacity: 0.5;
    top: 60%;
    width: 24px;
    height: 24px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0);
    font-size: 0;
    line-height: 0;
    z-index: 5;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.swiper-house-prev {
    left: 25px;
}

.swiper-house-next {
    right: 3px;
}

.swiper-house-prev svg,
.swiper-house-next svg {
    min-width: 40px;
    height: 40px;
}

.swiper-house-prev:hover,
.swiper-house-next:hover {
    opacity: 1;
}

.house__slider--nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.house__slider--nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F3F3;
    text-align: center;
    padding: 15px 0px;
    cursor: pointer;
}

.house__slider--nav-item span {
    color: #757777;
    font-family: Murecho;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

.house__slider--nav-item.active span {
    color: #000;
}

.house__slider--nav-item:hover {
    border-bottom: 1px solid #000;
}

.house__slider--nav-item:hover span {
    color: #000;
}

.house__slider--nav-item.active {
    border-bottom: 1px solid #000;
}

.house__header--characteristics {
    display: flex;
    justify-content: space-between;
    margin: 0 20px 30px 20px;
}

.house__header--price,
.house__header--area {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.house__header--characteristics-title {
    color: #757777;
    font-family: 'Murecho', sans-serif;
    text-transform: uppercase;
}

.house__header--characteristics-value {
    color: var(--black, #000);
    font-family: 'Murecho', sans-serif;
    font-size: 24px;
    text-transform: uppercase;
}

.house__header--buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 0 30px 0;
}

.house__header--buttons-consult {
    width: 100%;
    background: #000;
    border: 2px solid #000;
    padding: 18px 30px;
    color: #FFF;
    font-family: 'Mont', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

.house__header--buttons-consult:hover,
.house__header--buttons-consult:focus {
    color: #000;
    border: 2px solid #000;
    background: none;
}

.house__header--buttons-installed {
    display: block;
    border: 2px solid #77D14D;
    border-radius: 0;
    padding: 18px 30px;
    color: #77D14D;
    background: transparent;
    font-family: 'Mont', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
}

.house__header--buttons-installed:hover,
.house__header--buttons-installed:focus {
    border: 2px solid #77D14D;
    background: #77D14D;
    color: #fff;
    opacity: 1;
}

.house__header--text {
    color: #757777;
    font-family: 'Murecho', sans-serif;
    text-transform: uppercase;
}

.house__header--description p {
    color: var(--grey, #757777);
    font-family: 'Murecho', sans-serif;
    line-height: normal;
    margin-top: 10px;
}

@media (min-width: 992px) {
    .house__header .container {
        display: grid;
        grid-template-columns: 555px 1fr;
        gap: 0 50px;
    }

    .house__header--title {
        font-size: 45px;
        margin: 0 0 25px;
        grid-column: 2/3;
        grid-row: 1 / 2;
    }

    .house__header--slider-wrap {
        grid-column: 1/2;
        grid-row: 1/3;
        margin-left: 0;
        width: auto;
    }

    .house__header--characteristics {
        display: flex;
        justify-content: flex-start;
        gap: 50px;
        margin: 0 0 30px 0;
    }
}

.house__title {
    position: relative;
    padding-left: 25px;
    margin: 30px 0 20px;
}

.house__title:before {
    content: "";
    position: absolute;
    height: 100%;
    border-left: 10px solid #77D14D;
    left: 0;
}

.house__title h2 {
    color: #000;
    font-family: 'Days One', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
}

.house__title span {
    color: #757777;
    font-family: Murecho;
    font-size: 14px;
    line-height: normal;
}

.advantage__items {
    display: grid;
    gap: 30px;
}

.advantage__item {
    display: flex;
    gap: 20px;
}

.advantage__item img {
    max-width: initial;
}

.advantage__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.advantage__title {
    color: #000;
    font-family: 'Murecho', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
}

.advantage__text {
    color: #757777;
    font-family: 'Murecho', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

@media (min-width: 992px) {
    .house__title {
        margin: 30px 0 50px;
    }

    .house__title h2 {
        font-size: 50px;
    }

    .advantage__items {
        grid-template-columns: 1fr 1fr;
    }
}


/** house-recommended **/
.recommended__slider .swiper-wrapper {
    align-items: stretch;
}

.recommended__slide {
    width: calc((100% - 36px - 36px) / 3);
    margin-right: 36px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: auto;
    background: rgba(243, 243, 243, 0.85);
}

.recommended__item {
    text-decoration: none;
}

.recommended__image {
    position: relative;
    display: block;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}

.recommended__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
}

.recommended__image:after {
    content: '';
    display: block;
    position: relative;
    padding-top: 63.190184049079754%;
}

.recommended__subtitle {
    color: #000;
    font-family: Days One;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    width: fit-content;
    border: 5px solid var(--black, #000);
    padding: 10px 15px;
}

.recommended__content .recommended__title {
    color: #000;
    font-family: Murecho;
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.recommended__icon {
    display: flex;
    gap: 30px;
}

.recommended__icon--area,
.recommended__icon--bed,
.recommended__icon--bathroom {
    color: #757777;
    font-family: Murecho;
    font-size: 14px;
    font-weight: 400;
    padding-left: 25px;
}

.recommended__icon--area {
    background: url(/wp-content/themes/unitbud/assets/image/area.svg);
    background-repeat: no-repeat;
}

.recommended__icon--bed {
    background: url(/wp-content/themes/unitbud/assets/image/bed.svg);
    background-repeat: no-repeat;
}

.recommended__icon--bathroom {
    background: url(/wp-content/themes/unitbud/assets/image/bathroom.svg);
    background-repeat: no-repeat;
}

.recommended__text {
    color: var(--grey, #757777);
    text-overflow: ellipsis;
    font-family: Murecho;
    font-size: 16px;
    line-height: normal;
    padding: 0;
    margin: 0;
    contain: content;
    display: -webkit-box;
    line-clamp: 5;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.recommended__price {
    color: #000;
    font-family: Murecho;
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
}

.recommended__price span {
    font-size: 20px;
    font-weight: 400;
    margin-right: 15px;
}

.recommended__button {
    padding: 15px 25px;
    text-align: center;
    background: #000;
    border: 2px solid #000;
    padding: 18px 30px;
    color: #FFF;
    font-family: 'Mont', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

.recommended__button:hover {
    color: #000;
    border: 2px solid #000;
    background: none;
}

.recommended_swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.recommended_swiper-pagination .swiper-pagination-bullet {
    background: #F5F5F5;
    opacity: 1;
}

.recommended_swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #77D14D;
}

@media (min-width: 1024px) {
    .recommended__content {
        display: flex;
        flex-direction: column;
        gap: 20px;
        background: rgba(243, 243, 243, 0.85);
        padding: 30px;
        justify-content: space-between;
    }
}

/** house-packages **/
.house__packages {
    background: #F3F3F3;
    padding: 40px 0;
}

.packages__items {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 20px;
}

.packages__item {
    display: flex;
    flex-direction: column;
    background: #FFF;
    padding: 20px 35px;
    height: fit-content;
}

.packages__title {
    color: #000;
    text-align: center;
    font-family: 'Murecho', sans-serif;
    font-size: 24px;
    line-height: 24px;
    font-weight: 400;
    list-style: none;
    position: relative;
    display: block;
    padding: 0;
    cursor: pointer;
}

.packages__title::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    width: 14px;
    height: 14px;
    border-width: 0 1px 1px 0;
    border-style: solid;
    transform: scaleY(1) rotateZ(45deg);
    transition: top 0.2s, transform 0.2s;
}

.packages__title::after {
    content: "";
    position: absolute;
    top: 3px;
    right: 0px;
    width: 14px;
    height: 14px;
    border-width: 0 1px 1px 0;
    border-style: solid;
    transform: scaleY(1) rotateZ(45deg);
    transition: top 0.2s, transform 0.2s;
}

.packages__item .packages__title.active::before,
.packages__item .packages__title.active::after {
    transform: scaleY(-1) rotateZ(45deg);
    top: 8px;
}

.packages__text {
    color: #757777;
    text-align: center;
    font-family: 'Murecho', sans-serif;
    font-size: 14px;
    line-height: normal;
    border-top: 1px solid #757777;
    border-bottom: 1px solid #757777;
    padding: 20px 0;
    margin: 20px 0;
    flex-grow: 1;
}

.packages__price {
    display: block;
    color: #000;
    text-align: center;
    font-family: 'Murecho', sans-serif;
    font-size: 24px;
    font-weight: 400;
}

.packages__button {
    display: block;
    text-align: center;
    text-decoration: none;
    margin: 20px auto 0;
    width: 100%;
    padding: 20px 0;
    background: #000;
    border: 2px solid #000;
    padding: 18px 30px;
    color: #FFF;
    font-family: 'Mont', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.5s ease;
}

.packages__button:hover {
    color: #000;
    border: 2px solid #000;
    background: none;
}

@media (min-width: 992px) {
    .packages__items {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
        margin-top: 40px;
    }

    .packages__item {
        height: 100%;
        padding-top: 50px;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    .packages__content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    .packages__title::before,
    .packages__title::after {
        content: none;
    }

    .packages__item--active {
        transform: scale(1.1);
    }
}

@media (max-width: 992px) {
    .packages__content.toggle__content {
        position: relative;
        height: 0;
        opacity: 0;
    }

    .packages__title.toggle__trigger.active+.packages__content {
        height: auto;
        margin: 10px 0 10px 0;
        opacity: 1;
    }
}


/** house-realized **/
.house__realized {
    padding: 0 0 40px 0;
}

.house__realized a {
    text-decoration: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.house__realized--slider {
    padding: 0 20px;
}

.house__realized--slider .swiper-wrapper {
    align-items: stretch;
}

.house__realized--slider .swiper-slide {
    height: auto;
    background-image: linear-gradient(to right bottom, #ffffff 0%, oklab(.36342 -.000455797 -.127774 / .02) 50%, oklab(.36342 -.000455797 -.127774 / .05) 100%);
    border-radius: 15px;
    box-shadow: #fff0 0 0 0 0, #fff0 0 0 0 0, #fff0 0 0 0 0, #fff0 0 0 0 0, rgb(0 0 0 / .1) 0 10px 15px -3px, rgb(0 0 0 / .1) 0 4px 6px -4px;
    border: 1px solid;
    border-color: oklab(.36342 -.000455797 -.127774 / .1);
    backdrop-filter: blur(8px);
}

.house__realized--slide-image {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 15px 15px 0 0;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}

.house__realized--slide-image:after {
    content: '';
    display: block;
    position: relative;
    padding-top: 63.190184049079754%;
}

.house__realized--slide-top {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.house__realized--slide-bottom {
    text-align: center;
    width: 100%;
}

.house__realized--slide-title {
    color: #000;
    font-family: Murecho;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    padding: 0 15px;
}

.house__realized--slide-button {
    background: #000;
    border: 2px solid #000;
    padding: 12px 15px;
    color: #FFF;
    font-family: 'Mont', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    width: 60%;
    margin: 20px 0;
    border-radius: 10px;
}

.house__realized--slide-button:hover {
    color: #000;
    border: 2px solid #000;
    background: none;
}

.realized_swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.realized_swiper-pagination .swiper-pagination-bullet {
    opacity: 1;
    border: 1px solid #7ACF55;
    background: none;
}

.realized_swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #77D14D;
}

@media (min-width: 768px) {
    .house__realized--slider:not(.swiper-initialized) .swiper-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .house__realized--slider.two-slide:not(.swiper-initialized) .swiper-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .house__realized--slider:not(.swiper-initialized) .swiper-wrapper {
        grid-template-columns: 1fr 1fr 1fr;
    }
}