.testimonial-feed-mod {
    position: relative;
    padding: 70px 0 180px 0;
}
.testimonial-feed-mod h2 {
    font-weight: 300;
    font-size: 47px;
    line-height: 56.4px;
    margin-bottom: 40px;
}

#testimonial-feed {
    --gap: 16px;
    display: flex;
    /* justify-content: space-between; */
    flex-wrap: wrap;
    gap: var(--gap);
    margin: 40px 0 90px;
}
.testimonial-item {
    flex: 1 0 33%;
    max-width: calc(33% - (var(--gap) / 2));
    border: solid 1px #E3E9EF;
    border-radius: var(--gap);
    overflow: hidden;
    position: relative;
}
.testimonial-item:not(.loaded) {
    display: none;
}
.testimonial-item .card-inner::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    inset: 0;
    background-color: rgba(0,0,0,0.75);
    transition: opacity .3s ease-in-out;
    opacity: 0;
    pointer-events: none;
}
.testimonial-item:hover .card-inner::after,
.testimonial-item.hover .card-inner::after {
    opacity: 1;
}
.testimonial-item .card-inner {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.testimonial-item .card-inner > * {
    position: relative;
    z-index: 2;
}

.testimonial-item .card-header {
    display: flex;
    justify-content: space-between;
}
.testimonial-item .logos {
    max-width: 50%;
}

.testimonial-item .card-header,
.testimonial-item .card-body {
    padding: 17px;
}

.testimonial-item .card-body {
    margin-top: auto;
    transition: opacity .3s ease-in-out;
}

.testimonial-item .card-inner .card-body h3 {
    font-weight: 700;
}

.testimonial-item:not(:hover):not(.hover) .hover-logo {
    display: none;
}
.testimonial-item:hover .main-logo,
.testimonial-item.hover .main-logo {
    display: none;
}

.testimonial-item .link {
    transition: opacity .3s ease-in-out;
}
.testimonial-item:not(:hover):not(.hover) .link,
.testimonial-item:not(:hover):not(.hover) .card-body {
    opacity: 0;
    pointer-events: none;
}

.testimonial-item .link span {
    color: #0D9AFF;
    text-transform: uppercase;
}
.testimonial-item .text {
    color: #FFF;
}
.testimonial-item .text > * {
    color: inherit;
    margin-bottom: 0;
}
.testimonial-item .tags {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.testimonial-item .tags > li {
    display: inline-block;
    padding: 6px 8px;
    border-radius: 2px;
    background-color: #A4AEB8;
    color: #363D45;
    font-size: 12px;
    line-height: 14.4px;
    text-transform: uppercase;
    font-weight: 700;
}

.testimonial-item .card-inner .main-logo, .card-inner .hover-logo {
    max-width: 150px;
}

.testimonial-item .card-header .link span {
    white-space: nowrap;
    font-size: 12px;
}

.testimonial-filters {
    display: flex;
    gap: 36px;
}
.testimonial-filters .form-select {
    display: block;
    width: 100%;
    max-width: 300px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: #27292F;
    background-color: #ECEFFF;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%233F5FFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: none;
    border-radius: 4px;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#testimonialVideoModal .modal-content {
    box-shadow: none;
    border: 0;
    background: transparent;
}
#testimonialVideoModal button.close {
    position: relative;
    z-index: 2;
}
#testimonialVideoModal .modal-body {
    z-index: 1;
}
#testimonialVideoModal.modal.align-center {
    display: flex !important;
    align-items: center;
}
#testimonialVideoModal video {
    width: 100%;
}

@media (min-width: 1450px) {
    .testimonial-item .card-inner {
        min-height: 260px;
    }
}

@media (max-width: 991px) {
    .testimonial-item {
        flex: 1 0 50%;
        max-width: calc(50% - (var(--gap) / 2));
    }
}
@media (max-width: 767px) {
    .testimonial-item {
        flex: 1 0 100%;
        max-width: 100%;
    }
}