.header-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    height: 75vh;
    border-radius: 0 0 24px 24px;
}

@media (max-height:700px) {
    .header-hero {
        height: 100vh;
    }
}

.header-hero::before {
    content: "";
    background:#00000050;
    /*background: linear-gradient(180deg, rgba(18, 18, 18, 0) 0%, rgba(18, 18, 18, 0.95) 100%);*/
    position: absolute;
    inset: 0;
    border-radius: 0 0 24px 24px;
}

.header-hero img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 0 0 24px 24px;
}

.header-hero .header-content {
    position: absolute;
    margin: 0;
    text-align: center;
    max-width: calc(100% - 400px);
}

@media (max-width:768px) {
    .header-hero {
        height: 50vh;
    }

        .header-hero .header-content {
            max-width: calc(100% - 40px);
        }
}

.listing-item-details {
    padding-inline: 5px;
}

.section-container {
    max-width: calc(100% - 200px);
    margin: auto;
    padding-block: 50px;
}


article.section-container.content-container {
    margin-block: 0 !important;
}

.section-breadcrumbs {
    max-width: calc(100% - 200px);
    margin: auto;
    padding-top: 80px;
}

.section-container > h2 {
    margin-bottom: 30px !important;
}

@media (max-width:768px) {
    .section-container {
        max-width: calc(100% - 40px);
        padding-block: 40px;
    }
}

.section-grid {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
}

    .section-grid:has(p) {
        display: grid;
    }

    .section-grid .grid-content {
        align-self: center;
    }

@media (max-width:768px) {
    .reversed-grid {
        display: flex;
        flex-direction: column-reverse;
    }

    .section-grid {
        grid-template-columns: auto;
    }

        .section-grid img {
            position: static !important;
        }
}

.section-grid img {
    position: sticky;
    top: 10px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    aspect-ratio: 4/3;
    object-fit: cover;
}


p.breadcrumbs {
    text-transform: capitalize
}

/* Listing Section */
a.view-more-btn {
    max-width: 300px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 8px;
    margin-left: auto;
    background-color: black;
    color: white;
    padding: 18px 12px;
    border-radius: 50px;
}

.listing-section .listing-container {
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 30px 20px;
}


.listing-section .listing-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3/2;
    border-radius: 12px;
    margin-bottom: 14px;
}

.listing-item-details > * {
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden !important;
}


.listing-item .price {
    font-weight: bold;
    font-size: 20px;
    line-height: 1;
    margin: 0;
    margin-bottom: 5px;
    color: #4336FF;
}

.listing-item h3 {
    font-size: 14px;
    line-height: 1.2;
    color: #262626
}

@media (max-width:768px) {
    .listing-item h3 {
        font-size: 14px;
    }
    .listing-item-details > .location{
        white-space:normal;
    }
}

.listing-item .location {
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}

.listing-section h2 {
    margin: 0;
}

@media (max-width:1024px) {

    a.view-more-btn {
        max-width: 100%;
        justify-content: center;
    }
}

.listing-container-more {
    display: grid;
    align-items: center;
}

.listing-container-arrows {
    display: flex;
    gap: 10px;
}

    .listing-container-arrows button {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: black;
        width: 34px;
        height: 34px;
        border-radius: 100px;
        border: 0;
        cursor: pointer;
    }

@media (max-width:768px) {
    .listing-container-arrows {
        justify-content: center;
    }

    .listing-container-more {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.community-features {
    background-color: #F7F6FB;
    border-radius: 12px;
    padding-inline: 50px;
    text-align: center;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    justify-content: center;
}

    .features-grid img {
        margin-inline: auto;
        margin-bottom: 20px;
        width: 200px;
        height: auto;
        border-radius: 100%;
        aspect-ratio: 1/1;
    }

.gallary-container {
    display: grid;
    grid-template-columns: repeat(5, auto);
    grid-auto-flow: dense;
    align-items: center;
    gap: 12px;
}

    .gallary-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.related-area-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 42px;
    gap: 20px;
}

@media (max-width:1024px) {
    .related-area-list {
        grid-template-columns: 1fr;
    }
}

.grid-list {
    padding-left: 0;
}



@media (min-width: 600px) {
    .grid-list {
        margin-block: 2em;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        list-style: none;
        text-align: center;
        padding: 0;
    }
}

ul {
    margin-bottom: 10px;
}

ul.li_amenities li {
    display: flex;
    min-width: calc(20% - 30px);
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: normal;
}

    ul.li_amenities li svg {
        width: 25px;
        height: 25px;
    }

.related-area-list .related-area-item {
    position: relative;
}

    .related-area-list .related-area-item::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 46.28%, #000000 100%);
        border-radius: 8px;
        z-index: 9;
    }

.related-area-list a {
    color: white !important;
}

.related-area-list .related-area-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 8px;
}

.related-area-list .related-area-item .related-item-footer {
    display: block;
    position: absolute;
    bottom: 16px;
    width: 100%;
    z-index: 999;
    padding-inline: 16px;
}

    .related-area-list .related-area-item .related-item-footer h3 {
        font-size: 18px;
        line-height: 1.5;
    }



.faq-accordion .faq-item {
    border-bottom: 1px solid #e5e5e5;
}

    .faq-accordion .faq-item h3[aria-expanded=true] {
        border-bottom: 1px solid #4336FF;
    }

.faq-accordion h3 {
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    padding: 1em 0;
    margin: 0;
    line-height: 1;
    font-weight: normal;
    font-size: 14px;
}

    .faq-accordion h3:hover,
    .faq-accordion h3:focus {
        cursor: pointer;
        color: #4336FF;
    }

        .faq-accordion h3:hover::after,
        .faq-accordion h3:focus::after {
            cursor: pointer;
            color: #4336FF;
            border: 1px solid #4336FF;
        }

    .faq-accordion h3 .faq-accordion-title {
        display: inline-block;
        padding-right: 40px;
    }

    .faq-accordion h3 .icon {
        display: inline-block;
        position: absolute;
        top: 18px;
        right: 0;
        width: 22px;
        height: 22px;
        border: 1px solid;
        border-radius: 22px;
    }

        .faq-accordion h3 .icon::before {
            display: block;
            position: absolute;
            content: "";
            top: 9px;
            left: 5px;
            width: 10px;
            height: 2px;
            background: currentColor;
        }

        .faq-accordion h3 .icon::after {
            display: block;
            position: absolute;
            content: "";
            top: 5px;
            left: 9px;
            width: 2px;
            height: 10px;
            background: currentColor;
        }

    .faq-accordion h3[aria-expanded=true] {
        color: #4336FF;
        border-bottom: 1px solid;
    }

        .faq-accordion h3[aria-expanded=true] .icon::after {
            width: 0;
        }

        .faq-accordion h3[aria-expanded=true] + .faq-content {
            opacity: 1;
            max-height: max-content;
            transition: all 200ms linear;
            will-change: opacity, max-height;
        }

.faq-accordion .faq-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 200ms linear, max-height 200ms linear;
    will-change: opacity, max-height;
}

    .faq-accordion .faq-content p {
        font-weight: 300;
        margin: 2em 0;
    }



ul.location-minutes {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

    ul.location-minutes li {
        display: flex;
        align-items: center;
        border: 1px solid #12121219;
    }

        ul.location-minutes li > span {
            font-size: 32px;
            font-weight: bold;
            border-right: 1px solid #12121219;
            padding-inline: 12px;
        }

        ul.location-minutes li > div {
            padding: 12px;
        }

            ul.location-minutes li > div > span {
                display: block;
                line-height: 1.5;
            }

                ul.location-minutes li > div > span:first-of-type {
                    font-weight: bold;
                }

@media (max-width:768px) {
    ul.location-minutes {
        gap: 10px;
    }

        ul.location-minutes li {
            width: 100%
        }

            ul.location-minutes li > span {
                font-size: 26px;
                width: 57px;
            }

            ul.location-minutes li > div {
                padding: 0 10px;
            }

    #community-features {
        padding-inline: 15px !important;
    }
}

.project-sub-menu {
    position: sticky;
    top: 0;
    background: white;
    z-index: 998;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    grid-column: full-width;
}

    .project-sub-menu ul {
        display: flex;
        justify-content: center;
        list-style: none;
        margin: 0;
        padding: 0;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

        .project-sub-menu ul::-webkit-scrollbar {
            display: none;
        }

        .project-sub-menu ul li a {
            display: block;
            padding: 14px 24px;
            color: #333;
            text-decoration: none;
            font-size: 14px;
            text-transform: uppercase;
            font-weight: 600;
            transition: background-color 0.3s, color 0.3s;
        }

            .project-sub-menu ul li a:hover {
                background-color: #000;
                color: #fff;
            }

@media (max-width: 768px) {
    .project-sub-menu ul {
        justify-content: flex-start;
    }

        .project-sub-menu ul li a {
            padding: 15px 16px;
        }
}