#testimonial-section {
    margin-bottom: 64px;
}

#testimonial-section [data-attr=content-wrapper] .content {
    position: relative;
}

#testimonial-section [data-attr=content-wrapper] .content .text-container {
    width: 100%;
}

#testimonial-section [data-attr=content-wrapper] .content .text-container .title {
    font-size: 32px;
    font-weight: 700;
    max-width: 338px;
    line-height: 36px;
}

#testimonial-section [data-attr=content-wrapper] .content .text-container .description {
    margin: 34px 0;
}

#testimonial-section [data-attr=content-wrapper] .content .text-container .btn-box {
    gap: 24px;
    display: flex;
    width: fit-content;
    align-items: center;
    margin: 396px auto 0;
}

#testimonial-section [data-attr=content-wrapper] .content .text-container .btn-box button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: 36%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: 1px solid var(--brand-col-2);
    background-image: url("../icons/home/green-arrow.svg");
}

#testimonial-section [data-attr=content-wrapper] .content .text-container .btn-box button:first-child {
    transform: rotate(180deg);
}

#testimonial-section [data-attr=content-wrapper] .content .testimonial-card {
    left: 0;
    right: 0;
    width: 100%;
    bottom: 64px;
    height: 340px;
    position: absolute;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 40px 32px;
    background-color: var(--brand-col-1);
    border: 2px solid var(--brand-col-3);
}

#testimonial-section [data-attr=content-wrapper] .content .testimonial-card .testimonial {
    gap: 36px;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

#testimonial-section [data-attr=content-wrapper] .content .testimonial-card .testimonial::before {
    content: "";
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-image: url("../icons/home/quote.svg");
}

#testimonial-section [data-attr=content-wrapper] .content .testimonial-card .testimonial span {
    overflow: hidden;
    white-space: initial;
    display: -webkit-box;
    text-decoration: none;
    -webkit-line-clamp: 9;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}

@media screen and (min-width: 720px) {
    #testimonial-section {
        margin-bottom: 96px;
    }

    #testimonial-section [data-attr=content-wrapper] .content .text-container .title {
        font-size: 40px;
        font-weight: 700;
        max-width: 338px;
        line-height: 44px;
    }

    #testimonial-section [data-attr=content-wrapper] .content .text-container .description {
        margin: 34px 0;
        max-width: 720px;
    }

    #testimonial-section [data-attr=content-wrapper] .content .text-container .btn-box {
        margin: 436px auto 0;
    }

    #testimonial-section [data-attr=content-wrapper] .content .text-container .btn-box button {
        width: 48px;
        height: 48px;
    }

    #testimonial-section [data-attr=content-wrapper] .content .testimonial-card {
        margin: auto;
        bottom: 96px;
        max-width: 720px;
        padding: 48px 40px;
    }

    #testimonial-section [data-attr=content-wrapper] .content .testimonial-card .testimonial span {
        -webkit-line-clamp: 7;
    }
}

@media screen and (min-width: 1120px) {
    #testimonial-section [data-attr=content-wrapper] .content {
        gap: 48px;
        display: flex;
        position: unset;
        align-items: center;
        justify-content: space-between;
    }

    #testimonial-section [data-attr=content-wrapper] .content .text-container {
        width: calc(100% - 720px);
    }

    #testimonial-section [data-attr=content-wrapper] .content .text-container .title {
        font-size: 40px;
        font-weight: 700;
        max-width: 338px;
        line-height: 44px;
    }

    #testimonial-section [data-attr=content-wrapper] .content .text-container .description {
        margin: 34px 0;
        max-width: 582px;
    }

    #testimonial-section [data-attr=content-wrapper] .content .text-container .btn-box {
        margin: unset;
    }

    #testimonial-section [data-attr=content-wrapper] .content .text-container .btn-box button {
        width: 48px;
        height: 48px;
    }

    #testimonial-section [data-attr=content-wrapper] .content .testimonial-card {
        width: 720px;
        margin: unset;
        position: unset;
    }
}