.quote-flex {
    display: flex;
    flex-direction: column; 
    gap: 20px; 
    margin: 60px 0 40px; 
    padding: 0;
    position: relative;
    z-index: 5;
}

.quote-author-info {
    width: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: flex-start;
    padding: 0;
    margin-top: 0; 
    height: auto; 
    gap: 12px; 
    order: 2;
}

.quote-text-wrapper {
    width: 100%; 
    margin-left: 0; 
    flex: none; 
    position: relative;
    padding: 0;
    font-size: 16px; 
    line-height: 1.5;
    letter-spacing: -0.012em;
    color: #00000A;
    display: block;
    order: 1;
}

.quote-text {
    margin-top: 0; 
    font-style: italic;
    display: block;
    position: relative;
    z-index: 1;
}

.quote-author-details {
    display: flex;
    flex-direction: column;
    gap: 14px; 
    margin-bottom: 0;
}

.quote-author-name-wrapper {
    margin-bottom: 0;
}

.quote-author-name {
    font-size: 16px; 
    font-weight: 600;
    color: #00000A;
    line-height: 1.5;
}

.quote-author-title {
    margin-top: 0; 
    font-size: 14px; 
    letter-spacing: -0.02em;
    font-weight: 300;
    color: #00000A;
    line-height: 1.5;
}

.quote-letter-link {
    display: inline-block;
    padding: 0;
    color: #0000B4;
    text-decoration: none;
    font-size: 16px; 
    font-weight: 600;
}

.quote-letter-link:hover {
    color: #00000A;
    text-decoration: underline;
}

.quote-image-background {
    display: flex;
    position: absolute;
    height: 260px;
    width: 100vw;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    opacity: 0.065;
    z-index: -777;
    justify-content: center;
    align-items: center;
}

.quote-image-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    clip-path: inset(0 0 30px 0);
}

@media (min-width: 744px) {
    
    .quote-flex {
        margin-top: 56px;
        margin-bottom: 42px;
        gap: 20px;
    }    
    .quote-author-name {
        font-size: 16px;
    }
    .quote-author-title {
        padding-top: 6px;
        font-size: 14px;
    }
    .quote-author-details {
        gap: 8px;     
    }
    .quote-text-wrapper {
        font-size: 16px;
    }
    .quote-text {
        margin-top: 4px;
    }
    .quote-letter-link {
        margin-top: 8px;
        font-size: 16px;
    }
    .quote-author-info {
        margin-left: calc(50vw - 30px);
        width: auto;
        gap: 6px;
    }
    .quote-image-background {
        display: flex;
        position: absolute;
        height: 380px;
        width: 100vw;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        opacity: 0.065;
        z-index: -777;
        justify-content: center;
        align-items: center;
    }

    .quote-image-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        clip-path: inset(0 0 30px 0);
    }    
}


@media (min-width: 1440px) {
    #quote {
        padding-bottom: 110px; 
    }    

    .quote-flex {
        flex-direction: row; 
        justify-content: space-between;
        gap: 40px;
        margin: -6px 0 -10px; 
    }

    .quote-author-info {
        width: 340px; 
        margin-top: 65px; 
        margin-left: 0;
        height: 165px; 
        justify-content: space-between; 
        gap: 0; 
        order: 1;
    }

    .quote-text-wrapper {
        margin-left: 48px; 
        flex: 1; 
        font-size: 16px; 
        order: 2;
    }

    .quote-text {
        margin-top: 65px; 
    }

    .quote-author-details {
        gap: 10px; 
    }

    .quote-author-name {
        font-size: 16px; 
    }

    .quote-author-title {
        padding-top: 0;
        margin-top: 4px; 
        font-size: 14px; 
    }

    .quote-image-background {
        display: flex; 
        position: absolute;
        height: 342px;
        width: 830px;
        top: 0;        
        right: 40px;
        bottom: 0;
        opacity: 0.065;
        z-index: -777;
        justify-content: center;
        align-items: center;
    }

    .quote-image-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        clip-path: none;
    }
}
