.trust-section {
    position: relative;
    font-family: 'Visby CF', sans-serif;
    display: flex; /* Switch from grid to flex for better height matching */
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2rem;
    padding: 2rem 6rem 6rem;
    background: linear-gradient(to bottom, rgba(39, 125, 255, 1) 0%, #001f75 100%);
}

.trust-sec-left {
    flex: 1;
    display: flex;
    align-items: stretch;
    max-width: 400px;
}

.trust-sec-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ensures the graphic fills the full height of its parent */
.trust-graphic {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

/* Makes the image scale to fill container height while preserving aspect ratio */
.trust-image {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}


.trust-content {
    text-align: left;
    padding-left: 2rem;
    padding-bottom: 0rem;
}

.trust-content h2 {
    font-weight: 700;
    font-size: 2.4rem;
}

.trust-content p {
    line-height: 1.4;
    text-align: left;
    font-size: 1.3rem;
    max-width: 800px;
}

.trust-cta-content {
    position: relative;
    padding: 2rem;
    text-align: left;
}

.trust-cta-content a {
    background-color: #a259ff;
    color: #ffffff;
    text-decoration: none;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 2rem;
}

.trust-cta-content a:hover {
    border: 1px solid white;
}

.trust-bt {
    display: grid;
    grid-template-columns: 1fr 100px 1fr 1fr;
    height: 60px;
    position: relative;
}

.trust-bt .bt-puzzle-bg {
    position: relative;
    background:  url('/static/img/content/home/trust-bt-bg.svg') repeat-x;
}

.trust-bt .bt-puzzle-node {
    position: relative;
    background:  url('/static/img/content/home/trust-bt-node.svg') no-repeat center center;
}


@media (max-width: 800px) {
    .trust-section {
        padding: 2rem;
        padding-bottom: 6rem;
    }

    .trust-content {
        text-align: center;
        padding: 0;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

}

@media (max-width: 1180px) {
    .trust-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2rem 1rem;
        text-align: center;
    }

    .trust-sec-left {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .trust-sec-right {
        padding: 0 1rem;
        text-align: center;
    }

    .trust-graphic {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .trust-image {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .trust-content {
        text-align: center;
    }

    .trust-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .trust-cta-content {
        text-align: center;
    }

    /*
    .trust-section {
        flex-direction: column;
    }

    .trust-sec-left,
    
    .trust-sec-left {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 1rem 0;
    }
    
    .trust-image {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
    
    .trust-sec-right {
        width: 100%;
    }
    
    .trust-graphic {
        justify-content: center;
        padding-bottom: 1rem;
        border: 1px solid red;
    }
    
    .trust-image {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }
    
    .trust-sec-right {
        text-align: center;
    }
    
    .trust-content {
        text-align: center;
    }
    
    .trust-content p {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
        margin-bottom: 1rem;
    }
    
    .trust-cta-content {
        text-align: center;
    }

    */
}