.testimonials_archive .testimonials_list {
    padding-left: 0;
    list-style: none;
    display: flex;
    gap: 40px 20px;
    flex-wrap: wrap;
}
.testimonials_archive .testimonials_item {
    border-radius: 20px;
    overflow: hidden;
    background: #eceeff;
    width: 100%;
}

.testimonials_archive .testimonials_item > a,
.testimonials_archive .testimonials_item > p {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonials_archive .testimonials_item > p + span {
    padding: 15px;
    display: block;
}

.testimonials_archive .testimonials_item > a {
    height: 100%;
    transition: background 0.2s, color 0.2s !important;

    &:hover {
        text-decoration: none;
        background: var(--primary);
        color: var(--white);

        .btn {
            background: var(--white);
            color: var(--gray-900)!important;
        }
    }
}

.testimonials_archive .testimonials_item .testimonials_file {
    width: fit-content;
    margin-top: 15px;
}
.testimonials_archive .testimonials_wrapper_photo {
    height: 200px;
    width: 100%;
    position: relative;
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--white);
    display: flex;
    align-items: center;
    padding: 15px;
    justify-content: center;
}
.testimonials_archive .testimonials_photo,
.testimonials_archive .testimonials_photo_hover {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity ease 0.2s;
}
.testimonials_archive .testimonials_item:hover .testimonials_photo_hover {
    opacity: 1;
}
.testimonials_archive .testimonials_photo_hover {
    position: absolute;
    opacity: 0;
    transition: opacity ease 0.2s;
    top: 0;
    left: 0;
    z-index: 1;
}
.testimonials_archive .testimonials_name {
    font-weight: 700;
    margin: 0;
}
.testimonials_archive .expert_status {
    color: var(--lightgrey);
}
.testimonials_archive .testimonials_tag {
    border: 5px;
    color: var(--primary);
}
@media screen and (min-width: 576px) {
    .testimonials_archive .testimonials_item {
        width: calc(50% - 40px);
    }
}
@media screen and (min-width: 768px) {
    .testimonials_archive .testimonials_item {
        width: calc(33% - 20px);
    }
}
@media screen and (min-width: 992px) {
    .testimonials_archive .testimonials_item {
        width: calc(25% - 20px);
    }
}