section.residentials-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;

    .residentials-grid-contents {
        padding-left: 12px;
        padding-right: 12px;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 1300px;
        margin: auto;

        .grid-title {
            display: flex;
            /* justify-content: space-between; */
            justify-content: flex-end;
            border-bottom: 3px solid var(--colorFadedBrown);
            margin-bottom: 40px;
            position: relative;

            h2 {
                font-family: "Aktiv Grotesk Light", sans-serif;
                font-size: 28px;
                display: none;
            }

            .filter-button-container {
                a {
                    &.filter-btn {
                        text-decoration: none;
                        padding: 16.5px ;
                        /* border: 1px solid #fff; */
                        background: var(--colorFadedBrown);
                        color: var(--colorRed);
                        font-family: 'Aktiv Grotesk Cd', sans-serif;
                        font-size: 14px;
                        font-weight: 700;
                        text-transform: uppercase;
                        letter-spacing: 0.18em;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        gap: 10px;
                        width: 100%;
                        max-width: fit-content;
                        height: 100%;
                        max-height: 56px;

                        svg {
                            &.filter-chevron {
                                transform: rotate(-90deg)
                            }
                        }
                    }
                }
            }

            .grid-filter {
                background: #fff;
                box-shadow: 0 8px 9px rgba(0, 0, 0, 0.2);
                display: none;
                opacity: 0;
                flex-direction: column;
                width: 100%;
                max-width: fit-content;
                position: absolute;
                /* top: 58px; */
                top: 64px;
                /* right: -12px; */
                transition: 0.4s ease;
                padding: 32px;
                padding-bottom: 16px;
                /* width: 100vw; */
                /* max-width: 743px; */
                z-index: 1;

                &.active {
                    display: flex;
                    opacity: 1;
                }

                .filter-inputs {
                    display: flex;
                    gap: 20px;
                    margin-bottom: 32px;

                    @media (max-width: 767px) {
                        flex-direction: column;
                    }

                    .filter-right {
                        display: flex;
                        flex-direction: column;
                        gap: 16px;

                        .filter-list {
                            display: flex;
                            gap: 10px;
                            margin-top: 16px;

                            @media (max-width: 575px) {
                                flex-direction: column;
                            }

                            input {
                                accent-color: var(--colorRed);
                            }
                        }
                    }

                    .filter-group {
                        span {
                            display: block;
                            width: 100%;
                            font-family: "Aktiv Grotesk Cd", sans-serif;
                            font-size: 12px;
                            color: var(--colorMochaBrown);
                            letter-spacing: 0.18em;
                            text-transform: uppercase;
                        }

                        label {
                            font-family: "Aktiv Grotesk Light", sans-serif;
                            color: #1c1e23;
                        }

                        &.filter-location {
                            display: flex;
                            flex-direction: column;
                            gap: 16px;
                            /* margin-right: 20px; */

                            input {
                                width: 16px;
                                height: 16px;
                                margin-right: 10px;
                                accent-color: var(--colorRed);
                            }
                        }
                    }
                }

                .filter-buttons {
                    display: flex;
                    justify-content: flex-end;
                    gap: 16px;

                    a {
                        width: 100vw;
                        max-width: 148px;
                        font-size: 12px;
                        text-wrap: auto;
                        letter-spacing: 0.1em;
                        text-align: center;

                        &#clearButton {
                            color: var(--colorRed);
                            background-position: 0% 0%;

                            &:hover {
                                background-position: 100% 0%;
                                color: #fff;
                            }
                        }
                        
                        &#applyFilter {
                            &:hover {
                                color: var(--colorRed);
                            }
                        }
                    }
                }
            }
        }

        .grid-list {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            column-gap: 24px;
            row-gap: 40px;

            &#residentialsGrid {
                transition: 0.4s ease;

                &.is-filtering {
                    opacity: 0;
                }
            }

            @media (max-width: 1199px) {
                grid-template-columns: repeat(3, 1fr);
            }

            @media (max-width: 991px) {
                grid-template-columns: repeat(2, 1fr);
            }

            @media (max-width: 767px) {
                display: flex;
                flex-direction: column;
            }

            .grid-item {
                display: flex;
                flex-direction: column;
                width: 100%;
                height: 100%;
                /* max-height: fit-content; */

                .main-details {
                    display: flex;
                    flex-direction: column;
                    width: 100%;

                    .image-container {
                        width: 100%;
                        aspect-ratio: 5 / 5;
                        margin-bottom: 16px;

                        @media (max-width: 767px) {
                            max-height: 280px;
                        }

                        a {
                            display: flex;
                            height: 100%;
                        }

                        img {
                            width: 100%;
                            height: 100%;
                            max-width: 100%;
                            object-fit: cover;
                        }
                    }

                    h3 {
                        font-family: "Aktiv Grotesk Light", sans-serif;
                    }
                }

                .item-cta {
                    display: flex;
                    flex-direction: column;
                    position: relative;
                    margin-top: auto;

                    span {
                        font-family: 'Aktiv Grotesk Light', sans-serif;
                        font-size: 14px;
                    }

                    .arrow-cta {
                        margin-top: 16px;

                        a {
                            display: flex;
                            align-items: center;
                            gap: 10px;

                            svg {
                                transition: 0.4s ease;
                            }

                            &.arrow-link {
                                font-family: 'Aktiv Grotesk Cd';
                                font-size: 12px;
                                color: var(--colorRed);
                                letter-spacing: 0.18em;
                                font-weight: 700;
                                text-transform: uppercase;
                                transition: 0.4s ease;

                                &:hover {
                                    color: var(--colorYellow);

                                    svg {
                                        color: var(--colorYellow);
                                        margin-left: 10px;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

/* Inclusion : Offices */
section.about-split-content {
    &#officesContentHeading,
    &#enterpriseLeasingContentHeading,
    &#mallsContentHeading {
        background: linear-gradient(180deg, #f8f5ef 11.4%, #fff 80.55%);
        padding-top: 40px;
        padding-bottom: 40px;

        .about-split-content-contents {
            padding-top: 0;

            &::before {
                display: none;
            }

            .heading-content {
                max-width: 100%;

                @media (max-width: 1199px) {
                    background: none;
                }

                h2 {
                    margin-top: 0;
                    margin-bottom: 8px;
                }

                p {
                    max-width: 951px;

                    @media (max-width: 1199px) {
                        max-width: 100%;
                    }
                }
            }
        }
    }
}

/* Inclusion : Offices - end */


/* Inclusion : Enterprise */
section.about-split-content {
    &#enterpriseLeasingContentHeading {
        .about-split-content-contents {
            .heading-content {
                h2 {
                    margin-top: 16px;
                }
            }
        }
    }
}


section.about-split-content {
    &#enterpriseContentManagementSystem {
        .about-split-content-contents {
            .heading-content {
                img {
                    @media (max-width: 1199px) {
                        object-position: 100% 18%;
                    }
                }
            }

            .custom-content {
                max-width: 409px;
            }
        }
    }
}

section.about-split-content {
    &#enterpriseContentBackupPower {
        .about-split-content-contents {
            .heading-content {
                img {
                    @media (max-width: 1199px) {
                        /* object-position: 100% 18%; */
                    }
                }
            }

            .custom-content {
                max-width: 409px;
            }
        }
    }
}

section.about-docs {
    &#enterpriseFaqsDocs {
        .about-docs-contents {
            .docs-grid {
                & > :last-child {
                    max-width: 638px;
                    margin-right: auto;

                    @media (max-width: 991px) {
                        max-width: 100%;
                    }
                }

                .accordion-item {
                    .item-title {
                        h2 {
                            font-size: 18px;
                        }
                    }

                    .item-content {
                        padding-right: 32px;
                        padding-left: 32px;

                        ul {
                            height: 0;
                            opacity: 0;
                            list-style: disc;
                            margin-bottom: 0;
                            transition: 0.4s ease;

                            li {
                                font-family: 'Aktiv Grotesk Light', sans-serif;
                                color: var(--colorBlack);
                            }
                        }
                    }

                    &.active {
                        .item-content {
                            padding-top: 0;

                            ul {
                                height: 100%;
                                opacity: 1;
                            }
                        }
                    }
                }
            }
        }
    }
}

/* Inclusion : Enterprise - end */