/**
 * Branded Testimonials Block Styles
 */

.brandedtestimonials-wrapper {
    overflow: hidden;
    position: relative;
}

/* Slider Styles */
.brandedtestimonials-slider {
    padding: 20px 0;
}

.brandedtestimonials-slide {
    padding: 0 15px;
}

/* Card Styles */
.brandedtestimonials-card {
    border-radius: 15px;
    padding: 30px;
    /* Removed height: 100% to allow natural height */
}

/* Background Colors */
.bg-primary {
    background-color: var(--primary);
}

.bg-secondary {
    background-color: var(--secondary);
}

.bg-tertiary {
    background-color: var(--tertiary);
}

.bg-dark-green {
    background-color: var(--dark-green);
}

/* Content Layout */
.brandedtestimonials-content {
    color: white;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.brandedtestimonials-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

/* Image Styles */
.brandedtestimonials-image {
    margin-right: 20px;
    flex-shrink: 0;
}

.brandedtestimonials-image img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
}

/* Text Styles */
.brandedtestimonials-text {
    flex-grow: 1;
}

.brandedtestimonials-name {
    font-family: var(--font1);
    margin-top: 0;
    margin-bottom: 5px;
    /* Reduced spacing */
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    font-size: 20px;
    /* Set to 20px as requested */
    color: white;
    /* Changed to white */
}

.brandedtestimonials-stars {
    margin-bottom: 5px;
    /* Reduced spacing */
    font-size: 18px;
    letter-spacing: 2px;
}

.brandedtestimonials-living-option {
    margin-bottom: 10px;
    /* Reduced spacing */
    font-style: italic;
    font-size: 14px;
    /* Set to 14px as requested */
}

.brandedtestimonials-copy {
    line-height: 1.6;
    width: 100%;
    /* Full width of the block */
}

.brandedtestimonials-copy p {
    color: white;
    /* Ensure paragraphs are white */
    margin-top: 0;
}

/* Slick Slider Overrides */
.slick-track {
    display: flex !important;
    align-items: flex-start !important;
    /* Align items to the top */
}

.slick-slide {
    height: auto !important;
}

.slick-slide>div {
    height: auto;
    /* Allow natural height */
}

/* Navigation Arrows */
.brandedtestimonials-arrows {
    display: none;
    /* Hidden by default */
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.brandedtestimonials-prev-arrow,
.brandedtestimonials-next-arrow {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.brandedtestimonials-prev-arrow:hover,
.brandedtestimonials-next-arrow:hover {
    background-color: var(--secondary);
    transform: scale(1.05);
}

.brandedtestimonials-prev-arrow:active,
.brandedtestimonials-next-arrow:active {
    transform: scale(0.95);
}

.brandedtestimonials-prev-arrow i,
.brandedtestimonials-next-arrow i {
    font-size: 18px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .brandedtestimonials-header {
        flex-direction: column;
    }

    .brandedtestimonials-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .brandedtestimonials-card {
        padding: 20px;
    }

    /* Show navigation arrows on mobile */
    .brandedtestimonials-arrows {
        display: flex;
    }

    /* Adjust slider for mobile with arrows */
    .brandedtestimonials-slider {
        padding-top: 0;
    }
}