.house-of-month-banner {
    background: rgb(242, 242, 242);
    padding: 100px 50px 70px;
    position: relative;
}

.house-of-month-banner .community-row {
    align-items: center;
}

.house-of-month-banner .community-row .btn-row {
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.house-of-month-banner .btn-wrap {
    flex-grow: unset;
}

.house-of-month-banner .pad-left {
    padding-left: 32px;
}


.house-of-month-banner .image-button-wrap {
    overflow: hidden;
}

.house-of-month-banner .image-button-wrap img {
    transition: transform 0.7s ease;
}

.house-of-month-banner .community-col img {
    width: 100%;
}

.house-of-month-banner .image-button-wrap .home-overlay {
    opacity: 0;
    transition: all 0.3s ease;
}

.house-of-month-banner .image-button-wrap .home-overlay span {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
}

.house-of-month-banner .image-button-wrap:hover img {
    transform: scale3d(1.2, 1.2, 1.2);
}

.house-of-month-banner .image-button-wrap:hover .home-overlay {
    opacity: 1;
}

.special-incentive {
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2px 10px;
    border: 2px solid lightgrey;
}

.special-incentive-heading {
    font-size: 12px;
    line-height: 1.2;
}

.special-incentive-prise {
    font-size: 18px;
    line-height: 1.2;
}

.blue-heading-holder {
    position: absolute;
    top: -30px;
    right: 50%;
    transform: translateX(50%);
    overflow: hidden;
    margin-top: -1px;
    margin-bottom: -1px;
}

.blue-bg-heading {
    background: #0b75a9;
    padding: 15px 20px 15px 50px;
    margin-right: 30px;
    position: relative;
    z-index: 2;
    clip-path: polygon(0% 0%,
            100% 0%,
            100% 100%,
            0% 100%,
            6% 30px);
    max-height: 60px;
    min-height: 60px;
    height: 100%;
    overflow: hidden;

}

.blue-bg-heading-rotate {
    background: #0b75a9;
    padding: 15px 50px 15px 20px;
    margin-left: 30px;
    color: transparent;
    position: absolute;
    top: 0;
    transform: rotate(180deg);
    clip-path: polygon(0% 0%,
            100% 0%,
            100% 100%,
            0% 100%,
            6% 30px);
    max-height: 60px;
    min-height: 60px;
    height: 100%;
    overflow: hidden;
}

.blue-heading-holder h2 {
    margin-bottom: 0;
    color: #FFFFFF;
    font: 30px/30px Georgia, 'Times New Roman', Times, serif;
    white-space: nowrap;
    text-transform: unset;
    letter-spacing: 2px;

}

.blue-heading-holder .blue-bg-heading-rotate h2 {
    margin-bottom: 0;
    color: transparent;
    font: 30px/30px Georgia, 'Times New Roman', Times, serif;
}

.heading-position-holder {
    position: relative;
}

.city-section-first {
    padding-bottom: 40px;
}

.city-section-last {
    padding-top: 85px;
}

.city-section-first-no-pad {
    padding-bottom: 45px;
}

.city-section-last-no-pad {
    padding-top: 0;
    margin-top: -50px;
}

.house-of-month-mark {
    position: absolute;
    width: 280px;
    padding: 8px 83px;
    background: #0b75a9;
    color: white;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    top: 31px;
    left: -77px;
    transform: rotate(-43deg);
}

@media (max-width: 1110px) {
    .house-of-month-banner .btn-row {
        flex-direction: column;
        align-items: flex-end;
        gap: 20px;
    }
}

@media (max-width: 1023px) {

    .house-of-month-banner {
        padding: 50px 50px 30px;
    }

    .house-of-month-banner .pad-left {
        padding-left: 10px;
    }

    .house-of-month-banner .pad-right {
        padding-right: 10px;
    }

    .blue-heading-holder h2 {
        font: 23px/23px Georgia, 'Times New Roman', Times, serif;
    }

    .blue-heading-holder .blue-bg-heading-rotate h2 {
        font: 23px/23px Georgia, 'Times New Roman', Times, serif;
    }

    .blue-bg-heading {
        padding: 15px 20px 15px 50px;
        margin-right: 30px;
        clip-path: polygon(0% 0%,
                100% 0%,
                100% 100%,
                0% 100%,
                6% 26px);
        max-height: 50px;
        min-height: 50px;
    }

    .blue-bg-heading-rotate {
        padding: 15px 50px 15px 20px;
        margin-left: 30px;
        clip-path: polygon(0% 0%,
                100% 0%,
                100% 100%,
                0% 100%,
                6% 24px);
        max-height: 50px;
        min-height: 50px;
        height: 100%;
    }

    .blue-heading-holder {
        position: absolute;
        top: -25px;
        right: 50%;
        transform: translateX(50%);
        overflow: hidden;
        margin-top: -1px;
        margin-bottom: -1px;

    }

    .house-of-month-mark {
        font-size: 16px;
        padding: 5px 88px;
        left: -84px;
    }
}


@media (max-width: 800px) {
    .house-of-month-banner {
        padding: 50px 50px 30px;
    }

    .house-of-month-banner .pad-left {
        padding-left: 0;
    }

    .house-of-month-banner .pad-right {
        padding-right: 0;
    }

    .house-of-month-banner .community-row {
        flex-direction: column;
        padding: 0 10px;
    }

    .house-of-month-banner .community-col {
        width: 100%;
    }

    .house-of-month-banner .image-button-wrap {
        margin-bottom: 18px;
    }

    .house-of-month-banner .btn-row {
        margin-top: 20px;
        align-items: center;
    }

    .house-of-month-banner h3 .home-address-link {
        font-size: 20px;
    }

    .house-of-month-banner .header h3 {
        font-size: 20px;
    }

    .city-section-first .image-about-wrap {
        margin-bottom: 30px;
    }
}



@media (max-width: 767px) {

    .house-of-month-banner {
        padding: 50px 0 30px;
    }

    .house-of-month-banner .pad-left {
        padding-left: 0;
    }

    .house-of-month-banner .pad-right {
        padding-right: 0;
    }

    .house-of-month-banner .community-row {
        flex-direction: column;
        padding: 0 10px;
    }

    .house-of-month-banner .community-col {
        width: 100%;
    }

    .house-of-month-banner .image-button-wrap {
        margin-bottom: 18px;
    }

    .house-of-month-banner .btn-row {
        margin-top: 20px;
        align-items: center;
    }

    .house-of-month-banner h3 .home-address-link {
        font-size: 20px;
    }

    .house-of-month-banner .header h3 {
        font-size: 20px;
    }

    .city-section-first .image-about-wrap {
        margin-bottom: 30px;
    }
}

@media (max-width: 600px) {

    .house-of-month-banner .image-button-wrap:hover img {
        transform: none;
    }

    .house-of-month-banner .image-button-wrap:hover .home-overlay {
        opacity: 0;
        transform: none;
    }

    .house-of-month-banner .community-button.on-slide img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 45px;
    }

    .house-of-month-mark {
        top: 21px;
        left: -95px;
    }
}

@media (max-width: 480px) {
    .blue-heading-holder h2 {
        font-size: 19px;
    }

    .heading-position-holder {}

    .blue-bg-heading {
        padding: 15px 10px 15px 46px;
        margin-right: 35px;
        clip-path: polygon(0% 0%,
                100% 0%,
                100% 100%,
                0% 100%,
                6% 26px);
    }

    .blue-bg-heading-rotate {
        padding: 15px 10px 15px 10px;
        margin-left: 35px;
        clip-path: polygon(0% 0%,
                100% 0%,
                100% 100%,
                0% 100%,
                6% 24px);

    }

}