/* Locations Page
------------------------------------------------------- */
/* Start CliqAlly Update - 2026 Layout */

.apartment-card {
    .image {
        border-radius: 24px;
    }
    .from-price {
        top: 20px !important;
        left: 20px !important;
        border-radius: 12px;
    }
}

.small-icon{
    display: inline-block !important;
}

/* Disable corner cutout */
div.customer-tile::after,
a.customer-tile::after,
#map-wrapper::before,
#sub-locations .image::before,
.apartment-card .image::before,
.location-card a::after,
.corner-cutout::after {
    display: none !important;
}

.location-card{
    a{
        border-radius: 24px;
    }
}

body.layout-2026{

    /* Parent page */
    #locations-parent-container{
        padding: 0 !important;

        #sub-locations a:hover .image::before {
            transform: initial !important;
            display: none !important;
        }

    }
    .suburbs-container{
        display: flex;
        padding: 80px 0;

        .cols{
            padding: 0 30px;
        }
        /* .suburbs-container-map{
            width: 50%;
        }
        .suburbs-container-findapartments{
            width: 50%;
        } */
        .suburbs-container-findapartments{
            #sub-locations {
                .image{
                    border-radius: 14px;
                }
            }
        }
    }

    @media only screen and (max-width: 560px) {
        .hero img {
            height: 300px !important;
        }
    }


    @media only screen and (max-width: 768px) {

        .testimonials-section{
            .container{

                padding-right: 30px !important;
                padding-left: 30px !important;

                .swiper-button-prev{
                    left: 0 !important;
                }
                .swiper-button-next{
                    right: 0 !important;
                }
            }
        }

        .suburbs-container {
            flex-direction: column;
        }


        .hero {
            height: 380px !important;

            & .overlay {
                & .heading.text-align-center {
                    h1 {
                        font-size: 30px !important;
                        line-height: 30px !important;
                        margin-top: -35px;
                        width: 100%;
                    }

                    h2 {
                        font-size: 20px !important;
                        padding-bottom: 0 !important;
                        padding-top: 0;
                        margin-top: 7px !important;
                    }
                }
            }
        }

        .tagline-2026{
            span{
                width: 85% !important;
            }

            .arrowdown {
                margin-top: 50px;
                margin-bottom: 50px;
            }
        }

        .highlight-section {
            padding: 80px 0 !important;
            background-image: initial !important;
        }
        
        .more-info-section{
            .more-info-photo{
                height: 220px;
            }
        }

        & #et-main-area .videoWrapper {
            iframe {
                height: 225px !important;
            }
        }

        #sub-locations{
            .col-4{
                -ms-flex: 0 0 100% !important;
                flex: 0 0 100% !important;
                max-width: 100% !important;
            }
        }
    }

    small{
        font-weight: 300 !important;
    }


    #main-content{
        display: none !important;
    }

    #page-container{
        padding-top: 70px !important;
    }

    h2{
        color: #6d6e70 !important;
    }

    p{
        font-family: "proxima-nova", sans-serif;
        font-size: 18px;
        font-weight: 300;
        line-height: 23px;
        color: #6d6e70 !important;
    }

    .hero{
        height: 630px; 
        overflow: hidden;
        background-size: cover;
        background-position: center center;

        .overlay{
            background: rgba(0, 0, 0, 0.2) !important;

            .heading{
                text-align: center !important;

                h1{
                    font-size: 62px !important;
                    font-weight: 700 !important;
                    width: 75%;
                    margin: 0 auto;
                    line-height: 60px !important;
                    margin-top: -45px;
                }

                h2{
                    font-family: "proxima-nova", sans-serif !important;
                    color: #FFF !important;
                    font-size: 22px !important;
                    font-weight: 700 !important;
                    text-align: center !important;
                    letter-spacing: 0px !important;

                    &:after{
                        display: none !important;
                    }
                }

                a.button{
                    &:hover{
                        text-decoration: none !important;
                    }
                }

            }

        }
    
        picture{
            height: 630px;
            display: block;
            max-height: 630px;
        }
    }

    .breadcrumb-container{
        margin-top: -50px;
        z-index: 2;
        display: block;
        position: relative;
        background: transparent;

        .breadcrumbs{
            color: #FFFFFF;
            a{
                color: #f68a30 !important;
            }
        }
    }

    #search_area {
        background: #6D6E70 !important;
        overflow: hidden;
    }

    .tagline-2026{
        text-align: center;
        padding: 70px 0 0 0;
        background: #FFF;
        margin: 15px 0 -15px 0;

        span{
            font-family: "proxima-nova", sans-serif;
            font-weight: 400;
            font-size: 24px;
            width: 55%;
            display: block;
            margin: 0 auto;
            line-height: 29px;
            color: #6d6e70;
        }

        .arrowdown{
            margin-top: 50px;
        }
    }

    #search-results{
        .apartment-card{
            .image{
                border-radius: 24px;

                &:before{
                    display: none !important;
                }
            }
            .from-price{
                top: 20px !important;
                left: 20px !important;
                border-radius: 12px;
            }
        }
    }

    .key-benefits-section{
        padding: 50px 0;

        h2{
            text-align: center;
            color:#6D6E70 !important;

            &:after{
                display: none !important;
            }
        }

        .key-benefits-grid {
            display: grid;
            grid-auto-flow: column;
            grid-auto-columns: minmax(180px, 1fr);
            justify-content: center;
            gap: 30px;

            .key-benefit-item{
                text-align: center;
                padding: 0 40px;

                .benefit-icon{
                    margin-bottom: 20px;
                }

                .benefit-text{
                    font-family: "proxima-nova", sans-serif;
                    font-size: 18px;
                    font-weight: 300;
                    line-height: 23px;
                    color: #6d6e70;
                }
            }
        }

        @media (max-width: 768px) {
            .key-benefits-grid {
                grid-auto-flow: row;
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .key-benefits-grid {
                grid-template-columns: 1fr;
            }
        }
        
    }

    /* Highlight Section */
    .highlight-section{
        padding: 180px 0;
        background-image: url('/wp-content/themes/astraapartments/images/rect-graphic.png');
        background-repeat: no-repeat;   
        background-position: center right;

        .highlight-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .highlight-description {
            display: block;
        }

        .highlight-image img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 24px;
        }

        @media (max-width: 768px) {
            .highlight-grid {
                grid-template-columns: 1fr;
            }
        }
    }


    /* Main row container */
    .more-info-section{
        .container{
            border-radius: 24px;
        }
    }

    .more-info-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        align-items: center;
        margin-bottom: 60px;
        background: #F4F4F4;
        border-radius: 24px;
        overflow: hidden;
    }


    /* If photo on left, content is on right */
    .more-info-photo-left {
        grid-template-areas: "photo content";
    }

    /* If photo on right, content is on left */
    .more-info-photo-right {
        grid-template-areas: "content photo";
    }

    .more-info-photo-left .more-info-photo,
    .more-info-photo-right .more-info-photo {
        grid-area: photo;
    }

    .more-info-photo-left .more-info-content,
    .more-info-photo-right .more-info-content {
        grid-area: content;
        padding: 50px;
    }

    /* Basic content styling */
    .more-info-photo img {
        width: 100%;
        height: auto;
        display: block;
    }

    .more-info-icon img {
        max-width: 48px;
        height: auto;
        margin-bottom: 12px;
    }

    .more-info-photo{
        width: 100%;
        height: 100%;
    }

    .more-info-title {
        margin-bottom: 12px;
        font-family: "proxima-nova", sans-serif;
        font-size: 28px;
        font-weight: 500;
        line-height: 31px;
        color: #6C3996;
        margin-top: 10px;
    }

    .more-info-description {
        line-height: 1.6;
    }

    /* Responsive: stack on mobile */
    @media (max-width: 768px) {
        .more-info-row {
            grid-template-columns: 1fr;
            grid-template-areas:
                "photo"
                "content";
        }

        .more-info-photo,
        .more-info-content {
            width: 100%;
        }

        .more-info-photo {
            margin-bottom: 20px;
        }
    }
        
    .small-icon{
        margin-top: -3px;
    }
    #et-main-area .videoWrapper {
        padding: 80px 0;
        height: initial;

        > .container{
            padding: 0 8%;
        }
        
        iframe{
            height: 560px;
            /*  753px */
            border-radius: 24px;
            position: relative;
        }
    }    



    /* Testimonials */
    .testimonials-section{
        background: #F4F4F4;
        padding: 50px 0 100px 0;

        h2{
            text-align: center;
            color:#6D6E70 !important;

            &:after{
                display: none !important;
            }
        }

        .testimonial-name{
            color: #F58A33 !important;
            margin-bottom: 20px;
        }

        .swiper-button-next, .swiper-button-prev{
            color: #6c3996 !important;
            margin-top: 25px;
        }

        .swiper-button-next:after, .swiper-button-prev:after {
            font-size: 28px;
        }

        .swiper-button-prev, .swiper-rtl .swiper-button-next {
            left: var(--swiper-navigation-sides-offset, -90px) !important;
        }
        .swiper-button-next, .swiper-rtl .swiper-button-prev {
            right: var(--swiper-navigation-sides-offset, -90px) !important;
        }

        .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
            bottom: var(--swiper-pagination-bottom, -40px) !important;
        }

        .swiper-pagination-bullet-active {
            background: #6c3996 !important;
        }

        .swiper-pagination-bullet {
            width: 12px !important;
            height: 12px !important;
        }

    }



    .testimonial-slider{
        max-width:100%;
        margin:auto;
        background: #FFF;
        border-radius: 24px;
    }

    .testimonial-item{
        text-align:center;
        padding:40px;
    }

    .testimonial-text{
        font-size:18px;
        margin-bottom:20px;
    }

    .testimonial-name{
        font-weight:600;
    }


    #cta-block{
        h2{
            color: #FFFFFF !important;
        }
    }
    
    .nearby-locations{
        background: #F4F4F4 !important;
        padding: 50px 0;


        h2{
            text-align: center;
            color:#6D6E70 !important;

            &:after{
                display: none !important;
            }
        }

        #sub-locations .text{
            text-align: center !important;
        }

        .suburb a{
            &:hover{
                text-decoration: none !important;
            }
        }

        .suburb .image{
            height: 280px;
            background-size: cover !important;
            background-repeat: no-repeat !important;
            border-radius: 24px;
        }

        .suburb .text{
            font-size: 22px;
            color: #6D6E70 !important;


        }
    }

    /* FAQ Accordion */
    .faq-accordion {
        padding: 80px 0;

        h2{
            text-align: center;
            color:#6D6E70 !important;

            &:after{
                display: none !important;
            }

            strong{
                color: #6c3996 !important;
            }
        }
    }

    .faq-item {
        margin-bottom: 30px;
    }

    .faq-question {
        width: 100%;
        background: #F4F4F4;
        border-radius: 24px;
        border: 1px solid #D9D9D9;
        padding: 27px 16px;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;

        font-family: "proxima-nova", sans-serif;
        font-size: 22px;
        font-weight: 400;
        line-height: 23px;
        color: #6d6e70 !important;

        &:focus{
            outline: none !important;
        }
    }

    .faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    }

    .faq-icon::before,
    .faq-icon::after {
    content: '';
    position: absolute;
    background: #6d6e70;
    transition: 0.3s;
    }

    /* Horizontal line */
    .faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    }

    /* Vertical line */
    .faq-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    }

    /* Active (minus state) */
    .faq-question.active .faq-icon::after {
    opacity: 0;
    }

    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0 16px;

        p{
            font-family: "proxima-nova", sans-serif;
            font-size: 18px !important;
            font-weight: 300;
            line-height: 23px;
            color: #6d6e70 !important;
        }
    }

    .faq-answer p {
        margin: 16px 0;
    }

    
    
}
/* End CliqAlly Update - 2026 Layout */