function gdtutor_force_justify_testimonials() {
$css = "
/* Force justify testimonial text */
.owl-carousel .uc_quote_item .ue-text,
.owl-carousel .uc_quote_item .ue-text p {
text-align: justify !important;
text-justify: inter-word;
line-height: 1.65;
hyphens: auto;
}
/* Keep author name centered */
.owl-carousel .uc_author_info,
.owl-carousel .ue_title {
text-align: center !important;
}
/* Mobile readability */
@media (max-width: 767px) {
.owl-carousel .uc_quote_item .ue-text,
.owl-carousel .uc_quote_item .ue-text p {
text-align: left !important;
}
}
";
wp_add_inline_style( 'elementor-frontend', $css );
}
add_action( 'wp_enqueue_scripts', 'gdtutor_force_justify_testimonials', 20 );