﻿/*!
Theme Name: Kadence Child
Theme URI: https://bowdenworks.com
Template: kadence
Author: Bowden Works
Author URI: https://bowdenworks.com
Description: Kadence child theme
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

.kt-testimonial-initials-avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    user-select: none;
    text-decoration: none;
}

.kt-testimonial-initials-text {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: clamp(48px, 9vw, 90px) !important;
    line-height: 1 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-family: Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    display: inline-block !important;
}

.kt-testimonial-youtube-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: inherit;
}

.kt-testimonial-youtube-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f0f0f1;
    border: 1px dashed #c3c4c7;
    border-radius: inherit;
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
}

/* Star Rating Flex Layout (Horizontal) */
.kt-testimonial-rating-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px;
    margin: 10px 0 !important;
}

.kt-testimonial-halign-left .kt-testimonial-rating-wrap {
    justify-content: flex-start !important;
}

.kt-testimonial-halign-right .kt-testimonial-rating-wrap {
    justify-content: flex-end !important;
}

.kt-testimonial-rating-wrap .kb-svg-icon-wrap,
.kt-testimonial-rating-wrap .kt-svg-testimonial-rating-icon,
.kt-testimonial-rating-wrap svg {
    display: inline-flex !important;
    width: 1em !important;
    height: 1em !important;
}
/* Vertically center text-only testimonial cards.
   In the 2-column carousel a video card is much taller than a text card, and
   splide stretches every slide to equal height — so a short text card's content
   would otherwise sit at the top of its column. Center it within the slide.
   Scoped with :not(:has(.kt-testimonial-media-wrap)) so video cards (video
   pinned at the top of the card) are left untouched. */
.kt-testimonial-item-wrap:not(:has(.kt-testimonial-media-wrap)) {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
