.au-hero {
    background: var(--background-gradient, linear-gradient(180deg, #082C62 0%, #0B1D3D 100%));
    padding: 142px 0 0;
    color: #fff;
}

.au-hero .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.au-hero__text-wrapper {
    max-width: 588px;
    padding-top: 50px;
}

.au-hero__title {
    font-size: 70px;
    font-weight: 600;
    line-height: normal;
}

.au-hero__text {
    margin-top: 13px;
    line-height: 1.4;
}

.au-hero__image {
    max-width: 445px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Media queries for tablet and mobile devices */
@media (max-width: 1024px) {
    .au-hero .wrapper {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items horizontally */
        text-align: center; /* Center text within the column */
        padding: 20px; /* Adjust padding for a cleaner look */
    }

    .au-hero__text-wrapper {
        max-width: 100%; /* Allow full width for text */
        padding-top: 20px; /* Adjust padding for better spacing */
    }

    .au-hero__title {
        font-size: 50px; /* Reduce font size for smaller screens */
    }

    .au-hero__image {
        max-width: 100%; /* Allow image to scale responsively */
        margin-top: 20px; /* Add spacing between text and image */
    }
}

@media (max-width: 768px) {
    .au-hero .wrapper {
        flex-direction: column; /* Ensure content stacks in a single column */
        justify-content: center; /* Center items in the middle */
        align-items: center; /* Center items horizontally */
        padding: 15px; /* Adjust padding for smaller screens */
    }

    .au-hero__title {
        font-size: 40px; /* Further reduce font size for mobile screens */
    }

    .au-hero__text-wrapper {
        padding-top: 15px; /* Further adjust padding */
    }

    .au-hero__image {
        margin-top: 15px; /* Ensure image is spaced below the text */
        max-width: 100%; /* Make sure the image scales properly */
        width: auto; /* Allow image width to adjust automatically */
    }
}

@media (max-width: 480px) {
    .au-hero__title {
        font-size: 35px; /* Adjust title size for very small screens */
    }

    .au-hero__text-wrapper,
    .au-hero__image {
        padding: 0 10px; /* Add some padding for content */
    }
}

.au-glance {
    padding: 85px 0 85px;
    /* background-image: url('/wp-content/themes/thetaray/css/../images/au-glance-bg.svg'); */
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
}

.au-glance__title {
    font-size: 38px;
    text-align: center; /* Center the title text */
}

.au-glance__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center items horizontally */
    align-items: flex-start; /* Align items to the top */
    margin-top: 66px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.10);
    padding: 35px 70px;
    row-gap: 50px;
    column-gap: 34px;
}

.au-glance__list-item-title {
    color: #3888FF;
    font-size: 35px;
    font-weight: 500;
    line-height: 1.4;
}

.au-glance__list-item-text {
    color: #000;
    line-height: 1.4;
}

.au-glance__list-item {
    position: relative;
    padding: 15px 0 60px; /* Keep the increased bottom padding */
    box-sizing: border-box;
    width: calc(33.333% - 22.67px); /* Ensure 3 items per row with gaps */
    max-width: 300px; /* Adjust max width for better alignment */
    text-align: center; /* Center the text within items */
    align-self: flex-start; /* Ensure each item aligns to the top */
}

.au-glance__list-item:after {
    content: '';
    width: 100%;
    height: 1px;
    background: #D0E8FF;
    display: block;
    position: absolute;
    bottom: -25px; /* Further adjusted value to move the border down */
    left: 0;
}

/* Slightly longer bottom border for middle column items */
.au-glance__list-item:nth-child(3n+2):after {
    width: 77%; /* Set the width 10% longer */
    left: 11%; /* Center the slightly longer border */
}

.au-glance__list-item:nth-child(7n+2),
.au-glance__list-item:nth-child(4n+5) {
    border-left: 1px solid #D0E8FF;
    border-right: 1px solid #D0E8FF;
    padding: 15px 34px 60px; /* Keep padding consistent */
}

.au-glance__list-item:nth-child(3n+1) {
    padding: 15px 0 60px 0; /* Keep padding adjustments */
}

.au-glance__list-item:nth-child(3n+3) {
    padding: 15px 0 60px 0; /* Keep padding adjustments */
}

.au-glance__list-item:last-child:after,
.au-glance__list-item:nth-last-child(2):after,
.au-glance__list-item:nth-last-child(3):after {
    content: none;
}

/* Media queries for earlier breakpoints */
@media (max-width: 1200px) { /* Break to two columns sooner */
    .au-glance__list-item {
        width: calc(50% - 22.67px) !important; /* Adjust to two columns */
        align-self: flex-start !important; /* Ensure top alignment */
    }
}

@media (max-width: 900px) { /* Break to two columns even earlier */
    .au-glance__list-item {
        width: calc(50% - 15px) !important; /* Further adjustments for smaller screens */
        align-self: flex-start !important; /* Ensure top alignment */
    }
}

@media (max-width: 600px) { /* Break to one column sooner */
    .au-glance__list-item {
        width: calc(100% - 30px) !important; /* Stack items in one column */
        padding: 15px 0 30px !important; /* Adjust padding for small screens */
        align-self: flex-start !important; /* Ensure top alignment */
    }
}

/* Hide borders on smaller screens */
@media (max-width: 1200px) {
    .au-glance__list-item {
        border-left: none !important;
        border-right: none !important;
    }
    
    .au-glance__list-item:after {
        display: none !important; /* Hide bottom borders */
    }

    .au-glance__list {
        align-items: flex-start !important; /* Ensure all items align to the top */
    }
}
.au-leadership {
    margin: 108px 0 0;
    padding: 56px 0 302px;
    background-color: #0B1D3D;
    color: #fff;
    position: relative;
}

/* .au-leadership:before {
    content: '';
    width: 100%;
    display: block;
    height: 108px;
    position: absolute;
    top: -108px;
    background: #0B1D3D;
    border-radius: 100% 0 0 0;
} */

.au-leadership__title {
    font-size: 38px;
}

.au-leadership__list {
    display: flex;
    flex-wrap: wrap;
    gap: 64px;
    justify-content: center;
    margin: 61px 0 0;
}

.au-leadership__list-item {
    max-width: 329px;
    width: 100%;
    padding: 45px 20px 37px;
    box-sizing: border-box;
    border-radius: 30px;
    border: 1px solid #247BFF;
    background: linear-gradient(0deg, #14366B 49.75%, #0F2A56 99.85%);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.au-leadership__list-item-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}

.au-leadership__list-item-title {
    font-size: 22px;
    line-height: normal;
    font-weight: 600;
    margin: 15px 0 0;
}

.au-leadership__list-item-text {
    color: #FFF;
    font-size: 16px;
    line-height: 1.5;
    margin: 6px 0 0;
    flex-grow: 1;
}

.au-leadership__social-list {
    margin: 29px 0 0;
    display: flex;
    justify-content: center;
    gap: 22px;
}

.au-leadership__social-list-item {
    width: 22px;
    height: 22px;
}

.au-join-us {
    max-width: 1232px;
    border-radius: 30px;
    background: #FFF;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.10);
    margin: -240px auto 0;
    padding: 80px 0 78px;
    text-align: center;
    z-index: 1;
    position: relative;
}

.au-join-us .wrapper {
    max-width: 734px;
}

.au-join-us__title {
    font-size: 38px;
}

.au-join-us__text {
    margin: 40px 0 0;
}

.au-join-us__button {
    margin: 49px 0 0;
}


.au-our-investors {
    margin-top: 78px;
}

.au-our-investors__title {
    text-align: center;
    font-size: 38px;
}

.au-our-investors__list-logos {
    margin: 47px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 50px 74px;
}


.our-offices {
    background: #F6FAFE;
    margin: 84px 0 0;
    padding: 78px 0 79px;
    text-align: center;
}


.our-offices__title {
    font-size: 38px;
    text-align: center;
}

.our-offices__map {
    max-width: 1090px;
    margin: 66px 0 0;
}

.our-offices__map img {
    width: 100%;
    object-fit: contain;
}

.au-featured-see {
    margin-top: 80px;
}

.au-featured-see .featured__list-item {
    transition: .3s;
    cursor: pointer;
}

.au-featured-see .featured__list-item:hover {
    background: rgba(56, 136, 255, 0.15);
}

.au-featured-see .featured-see__title:last-of-type {
    margin-top: 0;
}


@media screen and (max-width: 1150px) {
    .au-hero__text-wrapper {
        max-width: 480px;
    }

    .au-glance__list {
        row-gap: 50px;
        column-gap: 15px;
        justify-content: center;
    }

    .au-glance__list-item:nth-child(7n+2),
    .au-glance__list-item:nth-child(4n+5) {
        padding: 15px 15px 21px;
    }

    .au-our-investors__list-logos {
        gap: 40px 50px;
    }
}

@media screen and (max-width: 1095px) {
    .au-glance__list-item-title {
        font-size: 30px;
    }

    .au-glance__list-item-text {
        font-size: 17px;
    }

    .au-our-investors__list-logos {
        gap: 30px;
    }
}

@media screen and (max-width: 991px) {
    .au-hero__text-wrapper {
        max-width: 480px;
        padding: 0;
    }

    .au-hero__title {
        font-size: 35px;
    }

    .au-hero .wrapper {
        flex-direction: column;
    }

    .au-hero {
        padding: 117px 0 0;
    }

    .au-hero__text {
        margin-top: 12px;
        font-size: 20px;
    }

    .au-hero__image {
        width: 100%;
        height: auto;
        margin: 38px 0 -125px;
        overflow: hidden;
    }

    .au-hero__image img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .au-glance {
        padding: 170px 0 0;
        background-image: none;
    }

    .au-glance__title {
        font-size: 26px;
        text-align: center;
    }

    .au-glance__list {
        margin-top: 30px;
        box-shadow: none;
        padding: 0;
        row-gap: 24px;
    }

    .au-glance__list-item:after {
        display: none;
    }

    .au-glance__list-item:nth-child(7n+2),
    .au-glance__list-item:nth-child(4n+5) {
        border-left: none;
        border-right: none;
    }

    .au-glance__list-item {
        text-align: center;
        padding: 0 !important;
    }

    .au-glance__list-item-title {
        font-size: 35px;
    }

    .au-glance__list-item-text {
        font-size: 16px;
    }

    .au-leadership:before {
        display: none;
    }

    .au-leadership {
        margin: 51px 0 0;
        padding: 46px 0 48px;
    }

    .au-leadership__title {
        font-size: 26px;
    }

    .au-leadership__list {
        margin: 53px 0 0;
        gap: 30px;
    }

    .au-leadership__list-item {
        padding: 30px 25px;
    }

    .au-leadership__social-list {
        margin: 10px 0 0;
    }

    .au-join-us {
        margin: 0;
        padding: 51px 0;
        box-shadow: none;
        border-radius: 0;
    }

    .au-join-us__title {
        font-size: 26px;
    }

    .au-join-us__text {
        margin: 27px 0 0;
    }

    .au-join-us__button {
        margin: 27px 0 0;
    }

    .au-our-investors__title {
        font-size: 26px;
        text-align: center;
    }

    .au-our-investors {
        margin-top: 50px;
    }

    .au-our-investors__list-logos {
        margin: 28px 0 0;
        grid-template-columns: 1fr 1fr;
        gap: 26px 28px;
    }

    .au-our-investors__list-logos-item {
        width: 100%;
    }

    .au-our-investors__list-logos-item svg {
        width: 100%;
    }

    .our-offices {
        padding: 50px 0;
        margin: 50px 0 0;
    }

    .our-offices__title {
        font-size: 26px;
    }

    .our-offices__list {
        margin: 50px 0 0;
    }

    .our-offices__list-item-title {
        font-size: 20px;
        font-weight: 600;
        line-height: 1.4;
        color: #3888FF;
    }

    .our-offices__list-item-text {
        font-size: 16px;
        line-height: 1.5;
        padding: 0 20px;
        margin: 4px 0 0;
    }

    .our-offices__list-item:not(:first-child) {
        margin-top: 50px;
    }

    .au-featured-see {
        margin-top: 50px;
    }

    .au-featured-see .featured-see__title {
        font-size: 26px;
    }
}

@media (max-width: 991px) {
    .page-id-592 .featured__list-items{
        display: block;
        padding-bottom: 
    }
    
    .page-id-592 .featured__list-items a{
        display: block;
        max-height: 50px;
        margin-bottom: 99px !important;
        margin-top: 50px !important
    }
    
    
    .page-id-592  .featured__list-item  {
        max-height: 50px !important;
        padding-bottom: 
    }
    
    .page-id-592 .au-leadership__list-item-image img {
         width: 100% !important;
         height: auto !important;     
           
        
    }  
    
    .au-featured-see .wrapper {
         display: none;
     }  
}