.residential-intro-panel {
    background: linear-gradient(135deg, rgba(35, 3, 35, 1) 0%, rgba(52, 24, 51, 0.98) 58%, rgba(78, 43, 74, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.button-sec {
    border-radius: 0;
    background: transparent;
    border-color: transparent;
    color: #ffffff;
    text-transform: uppercase;
    text-wrap: auto;
}

.button-sec:hover,
.button-sec:focus {
    background: #fff;
    border-color: #fff;
    color: #562256;
}

@media (max-width: 443.98px) {
    .button-gold,
    .button-sec {
        display: block;
        width: 100%;
        text-align: center;
    }
}

.postcontent-bleed {
    background: var(--cnvs-body-bg-light);
    z-index: 0;
}

.postcontent-bleed::before,
.postcontent-bleed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 30px;
    pointer-events: none;
}

.postcontent-bleed::before {
    top: -30px;

    background: linear-gradient(0deg, var(--cnvs-body-bg-light) 0%, var(--cnvs-body-bg) 100%);
}

.postcontent-bleed::after {
    bottom: -30px;
    background: linear-gradient(to bottom, #3e213c 0%, #311431 38%, #2a0a2a 72%, #230323 100%);
        background: linear-gradient(0deg,var(--cnvs-body-bg) 0%, var(--cnvs-body-bg-light) 100%);
}

.residential-work-grid .portfolio-item {
    height: auto;
}

.residential-work-grid .grid-inner {
    height: auto !important;
}

.residential-work-grid .portfolio-image.col {
    flex: 0 0 auto;
}

.residential-work-grid .portfolio-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.residential-work-grid .portfolio-image .fslider,
.residential-work-grid .portfolio-image .flexslider,
.residential-work-grid .portfolio-image .flex-viewport,
.residential-work-grid .portfolio-image .slider-wrap,
.residential-work-grid .portfolio-image .slide,
.residential-work-grid .portfolio-image .slide a {
    height: 100% !important;
    overflow: hidden;
}

.residential-work-grid .portfolio-image img,
.residential-work-grid .portfolio-image .slide > a > img {
    width: 100%;
    height: auto !important;
    max-width: 100%;
    position: relative;
    top: -18px;
    object-fit: unset;
}

.residential-work-grid .portfolio-desc {
    margin-top: 1rem;
}

.residential-testimonials {
    margin-top: 4rem;
}

.residential-testimonials #testimonials .heading-block h3 {
    color: var(--cnvs-heading-color);
    font-weight: 300;
    letter-spacing: 0.03em;
}

.residential-testimonials #testimonials .heading-block span {
    color: rgba(255, 255, 255, 0.68);
    text-align: center;
}

.residential-testimonials #testimonials + .row {
    row-gap: 1.5rem;
}

.residential-testimonials #testimonials + .row > .col {
    display: flex;
}

.residential-testimonials #testimonials + .row .card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 239, 244, 0.96));
    border: 1px solid rgba(255, 205, 54, 0.14);
    border-radius: var(--bs-border-radius-sm) !important;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
}

.residential-testimonials #testimonials + .row .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem !important;
}

.residential-testimonials #testimonials + .row .card-body .row,
.residential-testimonials #testimonials + .row .card-body .col {
    height: 100%;
}

.residential-testimonials #testimonials + .row .card-body .col {
    display: flex;
    flex-direction: column;
}

.residential-testimonials #testimonials + .row p {
    font-size: 1.35rem;
    line-height: 1.5rem;
}

.residential-testimonials #testimonials + .row h4 {
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    margin-top: auto;
    text-transform: uppercase;
}

.residential-testimonials #testimonials + .row .bg-icon {
    color: rgba(255, 205, 54, 0.12);
}

@media (min-width: 992px) {
    .residential-testimonials #testimonials + .row > .col:nth-last-child(-n + 2) {
        flex: 0 0 auto;
        width: 50%;
    }
}
