.sifency-addons-testimonials-wrapper {
    position: relative
}

.sifency-addons-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px
}

.sifency-testimonial-item {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column
}

.sifency-addons-testimonial-item-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: .3s
}

.sifency-addons-testimonial-image {
    flex-shrink: 0;
}

.sifency-addons-testimonial-image img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 50%
}

.sifency-addons-testimonial-rating {
    margin-bottom: 15px
}

.testimonial-title {
    margin: 0 0 10px;
}

.sifency-addons-testimonial-content {
    flex-grow: 1;
    margin-bottom: 20px
}

.sifency-addons-testimonial-content p:last-child {
    margin-bottom: 0
}

.sifency-addons-testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px
}

.sifency-addons-testimonial-name {
    margin: 0;
}

.sifency-layout-classic .sifency-addons-testimonial-item-inner {
    padding: 35px;
    border-radius: 10px
}

.sifency-layout-classic .sifency-testimonial-quote-icon {
    margin-bottom: 15px;
    color: var(--e-global-color-primary);
}

.sifency-layout-bubble .sifency-testimonial-main-body {
    padding: 30px;
    border-radius: 8px;
    position: relative;
    margin-bottom: 25px;
}

.sifency-layout-bubble .sifency-bubble-arrow {
    position: absolute;
    bottom: -10px;
    left: 40px;
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
}

.sifency-testimonial-item[style*="text-align: center"] .sifency-bubble-arrow {
    left: 50%;
    transform: translateX(-50%) rotate(45deg)
}

.sifency-testimonial-item[style*="text-align: right"] .sifency-bubble-arrow {
    left: auto;
    right: 40px
}

.sifency-layout-bubble .sifency-addons-testimonial-author {
    padding-left: 15px
}

.sifency-layout-bubble .sifency-testimonial-quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
}

.sifency-layout-horizontal .sifency-addons-testimonial-item-inner {
    flex-direction: row;
    border-radius: 8px;
    overflow: hidden
}

.sifency-layout-horizontal .sifency-testimonial-main-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.sifency-layout-horizontal .sifency-addons-testimonial-author {
    display: none
}

.sifency-layout-horizontal .sifency-addons-testimonial-image {
    min-width: 150px;
    margin: 0
}

.sifency-layout-horizontal .sifency-addons-testimonial-image img {
    width: 100%;
    height: 100%;
    border-radius: 0
}

.sifency-layout-horizontal .sifency-addons-testimonial-author-details {
    margin-top: 15px
}

.sifency-layout-horizontal .sifency-addons-testimonial-item-inner>.sifency-addons-testimonial-author {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 30px
}

.sifency-layout-overlap {
    padding-top: 40px
}

.sifency-layout-overlap .sifency-addons-testimonial-item-inner {
    padding: 50px 30px 30px;
    border-radius: 10px;
    position: relative;
}

.sifency-layout-overlap .sifency-addons-testimonial-image {
    position: absolute;
    top: -40px;
    left: 30px;
    margin: 0
}

.sifency-layout-overlap[style*="text-align: center"] .sifency-addons-testimonial-image {
    left: 50%;
    transform: translateX(-50%)
}

.sifency-layout-overlap .sifency-addons-testimonial-image img {
    width: 80px;
    height: 80px;
}

.sifency-layout-overlap .sifency-testimonial-quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 0
}

.sifency-layout-overlap .sifency-addons-testimonial-author {
    padding-top: 20px;
    margin-top: 20px
}

.sifency-layout-minimal .sifency-addons-testimonial-item-inner {
    background: 0 0;
    padding: 10px;
    border: none;
    box-shadow: none
}

.sifency-layout-minimal .sifency-testimonial-quote-icon {
    color: var(--e-global-color-text, #333);
    margin-bottom: 20px;
    display: inline-block
}

.sifency-layout-minimal .sifency-addons-testimonial-author {
    margin-top: 30px
}

.sifency-layout-minimal .sifency-addons-testimonial-image img {
    width: 50px;
    height: 50px
}