.headline {
    display: block;
}

.filter-box {
    padding: 0px 0 30px !important;
}

.headline.section__headline {
    font-weight: 600;
    font-size: 42px;
    line-height: 51.2px;
    color: #980B0E;

    margin-top: 12px;
    margin-bottom: 16px;
}

.headline.section__subheadline {
    font-weight: 400;
    font-size: 28px;
    line-height: 34.13px;

    margin-top: 26px;
    margin-bottom: 26px;
}

.headline.section__description {
    font-weight: 400;
    font-size: 20px;
    line-height: 24.38px;

    margin-top: 40px;
    margin-bottom: 80px;
}

.project__filter {
    display: flex;
    gap: 45px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.filter__headline {
    font-weight: 600;
    line-height: 19.5px;
    margin-bottom: 10px;
}

.filter__radio {
    color: #980B0E;
    border: 1px solid #980B0E;
    width: 33px;
    height: 33px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
}

.filter__radio:has(input:checked) {
    background-color: #980B0E;
    color: #FFFFFF;
}

.filter__options {
    display: flex;
    gap: 3px;
}

.filter__radio > input {
    display: none;
}

.number__box {
    display: flex;
    align-items: center;
    padding: 0 6px;
    border: 1px solid #980B0E;
    gap: 5px;
    height: 33px;
    color: #980B0E;
}
.number__box input {
    border: none;
    padding: 0;
    width: 50px;
    color: #980B0E;
}

.number__box .separator {
    font-size: 16px;
}

.input__left, .input__right {
    display: flex;
    justify-items: baseline;
    gap: 4px;
}

.project__filter__block.submit__block {
    display: flex;
    align-items: center;
    gap: 15px;
}

.project__filter__block.submit__block input {
    font-size: 14px;
    line-height: 16.75px;
    font-weight: 600;
    text-align: center;
    padding: 7px 30px;
}

.project__filter__block.submit__block input.project__submit {
    border: none;
    color: #FFF;
    background-color: #980B0E;
}

.project__filter__block.submit__block input.project__clear {
    border: 1px solid #980B0E;
    color: #980B0E;
    background-color: #FFF;
}

.project__item--container {
    flex: 0 0 33.3%;
}

.project__list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -22px;
}

.project__item--container {
    flex: 0 0 33.3%;
}

.project__item {
    padding: 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project__item > div {
    box-shadow: none;
    transition: box-shadow linear 0.2s;
}

.project__item:hover > div {
    box-shadow: 0px 4px 4px 2px rgba(34, 60, 80, 0.1);
    transition: box-shadow linear 0.2s;
}


.img-box {
    padding-top: 100%;
    position: relative;
    max-width: 100%;
    overflow: hidden;
    display: block;
}

.project__image.img-box {
    padding-top: 70%;
}

.floor__plan__image.img-box {
    padding-top: 60%;
}

.img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail__gallery .img-box {
    padding-top: 60%;
    height: 100%;
}


.detail__gallery .img-box img {
    height: 92%;
}

.floor__plan__image.img-box img {
    object-fit: contain;
}

.project__image.img-box img {
    border-radius: 15px 15px 0 0;
}

.item__top {
    border-radius: 15px 15px 0 0;
}

.item__bottom {
    border: 1px solid #E1E1E1;
    border-radius: 0 0 15px 15px;
    padding: 24px 15px;
    cursor: pointer;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.item__button {
    margin-top: auto;
}

.item__bottom a, .item_bottom a:visited, .item_bottom a:hover {
    color: unset;
}

.item__headline {
    color: #980B0E;
    font-size: 24px;
    font-weight: 700;
    line-height: 29.26px;
    margin-bottom: 27px;
}

.item__properties {
    display: grid;
    justify-content: space-between;
    grid-template-columns: 1fr 1fr;
}

.property {
    display: block;
    font-size: 14px;
    line-height: 17.07px;
    margin-bottom: 15px;
    flex: 1 0 40%;
    text-wrap: nowrap;
white-space: nowrap;
}

.property span:first-child {
    font-weight: 600;
}

.property:nth-child(even) {
    text-align: right;
}

.item__button a {
    background-color: #980B0E;
    color: #FFF;
    text-decoration: none;
    font-size: 18px;
    line-height: 21.94px;
    font-weight: 700;
    text-align: center;
    border: 1px solid #980B0E;
    padding: 20px;
    display: block;
    border-radius: 15px;
    margin-top: 58px;
    user-select: none !important;
    transition: all linear 0.2s
}

.item__button a:visited {
    color: #FFF;
}

.item__button a:hover:visited{
    color: #980B0E;
}

.item__button a:hover {
    background-color: #FFF;
    color: #980B0E;
    transition: all linear 0.2s
} 


.detail__gallery .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, 4px);
}

.detail__minidesc {
    /* padding: 0px; */
    padding-right: 30px;
    padding-bottom: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.detail__header__row, .detail__specs__row {
    display: flex;
    margin-bottom: 65px;
}

.detail__header__row > div, .detail__specs__row > div {
    flex: 0 0 50%;
}

.detail__gallery, .detail__plan__gallery {
    min-width: 0;
}

.detail__gallery .swiper {
    height: 100%;
}

.detail__gallery .swiper-button-next, .detail__gallery .swiper-button-prev {
    top: var(--swiper-navigation-top-offset, 47%);
}

.minidesc__btn {
    display: flex;
}

.minidesc__btn a, .minidesc__btn span{
    display: block;
    width: auto;
    font-weight: 700;
    font-size: 18px;
    color: #FFF;
    line-height: 21.94px;
    text-decoration: none;
    background-color: #980B0E;
    border: 1px solid #980B0E;
    border-radius: 15px;
    padding: 20px 70px;
    transition: all linear .2s;
}

.minidesc__btn a:hover {
    background-color: #FFF;
    color: #980B0E;
    transition: all linear .2s;
}

.minidesc__btn span {
    opacity: 0.6;
    cursor: default;
    user-select: none;
}

.detail__block__headline {
    color: #980B0E;
    font-size: 30px;
    font-weight: 600;
    line-height: 36.57px;
    text-align: center;
    margin-bottom: 43px;
}

.detail__specs__block {
    background: #F5F2F0;
    padding: 27px;
    display: flex;
    flex-direction: column;
}

.detail__specs__block > .item__properties, .detail__specs__block > .line_properties {
    padding: 0 23px;
}

.detail__specs__block .item__properties .property {
    flex: 0 0 50%;
    text-align: start;
}

.detail__props__additional {
    text-align: center;
    margin-top: auto;
}

.detail__plan__gallery {
    padding: 10px 40px;
    display: flex;
    flex-direction: column;
}

.detail__plan__gallery .swiper {
    flex: 1 1 auto;
    width: 100%;
}

.floor__plan__desc {
    display: block;
    text-align: center;
    font-size: 20px;
    margin-top: 15px;
    font-weight: 600;
}

.detail__desc {
    margin: 75px 0;
}

.desc__dl__btn {
    margin-bottom: 75px;
    /* text-align: center; */
    display: flex;
    justify-content: center;
}

.desc__text {
    font-size: 20px;
    line-height: 26.82px;
}

.detail__big__gallery .img-box img {
    height: 90%;
}

.contact__method a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #000;
    font-size: 26px;
    line-height: 31.69px;
    gap: 12px;
    font-weight: 400;
}

.contact__methods__row {
    display: flex;
    flex-wrap: wrap;
}

.contact__method {
    flex: 1 1 auto;
}

@media (max-width: 1330px) {
    .project__item--container {
        flex: 0 0 50%;
    }
    .project__item {
        padding: 10px;
    }
}

@media (max-width: 970px) {
    .detail__specs__row {
        flex-direction: column;
    }
    .floor__plan__image.img-box {
        padding-top: 80%;
    }
    .detail__plan__gallery {
        padding: 0px 40px;
        margin-top: 60px;
    }
}

@media (max-width: 790px) {
    .detail__gallery .img-box {
        padding-top: 90%;
    }
    .headline.section__headline {
        font-size: 32px;
        line-height: 39.01px;
    }
    .headline.section__description {
        font-size: 14px;
        line-height: 17.07px;
    }
    .detail__minidesc {
        /* padding: 0px; */
        padding-right: 0px;
    }
    .minidesc__btn a {
        font-size: 14px;
        line-height: 19.5px;
        text-wrap: nowrap;
        padding: 20px 25px;
        width: 100%;
        text-align: center;
    }
    .desc__text {
        font-size: 14px;
        line-height: 17.07px;
        padding: 0 10px;
    }
    .detail__block__headline {
        font-size: 24px;
        line-height: 29.26px;
    }
    .detail__gallery .img-box img {
        height: 85%;
    }
    .contact__method a {
        font-size: 18px;
        line-height: 21.94px;
    }
    .item__button a {
        font-size: 16px;
        line-height: 21.94px;
    }
    .detail__desc {
        margin: 35px 0;
    }
    
    .desc__dl__btn {
        margin-bottom: 35px;
    }
}

@media (max-width: 740px) {
    .detail__header__row {
        flex-direction: column;
    } 
}

@media (max-width: 878px) {
    .project__item--container {
        flex: 0 0 100%;
    }
    .project__item {
        padding: 15px;
    }
}

@media (max-width: 440px) {
  .property {
    font-size: 10px;
  }
.item__properties {
  padding: 0 !important;
}
.detail__specs__block {
  padding: 27px 16px;
}
}

@media (max-width: 494px) {
    .contact__method a {
        margin-bottom: 15px;
    }
    .item__button a {
        font-size: 14px;
        line-height: 19.5px;
    }
}

@media (max-width: 390px) {
    .headline.section__headline {
        font-size: 28px;
        line-height: 34.13px;
    }
    .detail__plan__gallery {
        padding: 30px 20px;
    }
    .desc__text {
        padding: 0 15px;
    }
    
}

.detail__contact__row {
    background: #F5F2F0;
    padding: 58px 24px;
}

.contact-btn {
    margin-top: 45px;
    display: flex;
    justify-content: center;
}

.contact-btn button {
    border: none;
    background: #980B0E;
    color: #FFF;
    border: 1px solid #980B0E;
    font-family: 'Montserrat';
    font-size: 18px;
    font-weight: 700;
    line-height: 21.94px;
    padding: 20px 38px;
    border-radius: 15px;
    transition: all linear .2s;
}

.contact-btn button:hover {
    background: transparent;
    color: #980B0E;
    transition: all linear .2s;
}


/* APPLIES TO ALL SWIPERS */

.swiper-button-next, .swiper-button-prev {
    width: 30px !important;
    height: 30px !important;
    color: #FFF !important;
    background-color: #980B0E !important;
    border-radius: 50px !important;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 16px !important;
}

.swiper-button-next:after {
    margin-left: 2px !important;
}

.swiper-button-prev:after {
    margin-right: 2px !important;
}

.swiper-pagination-bullet {
    background: none !important;
    opacity: 1 !important;
    border: 1px solid #980B0E !important; 
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: #980B0E !important;
}

.line_properties .property {
	text-align: left !important;
	text-wrap: pretty;
}