﻿.TestimonialSection {
    background-color: #fff;
}

.TestimonialContainer {
    /* margin: 3rem 0; */
    padding: 0 1rem;
}

.TestimonialFeedbackButtonContainer {
    padding: 20px 10px;
    background: #bd5645;
    border-radius: 18px;
}

.TestimonialFeedbackButton {
    text-align: right;
    background-color: #fad65c;
    padding: 2px 16px;
    text-decoration: none;
    color: #bd5645;
    border-radius: 8px;
    font-size: clamp(14px,3vw,18px);
    display: block;
    width: 115px;
    margin-left: auto;
    border: 1px solid #bd5645;
    font-weight: 600;
}

    .TestimonialFeedbackButton:hover {
        background-color: #fff;
        transition: 0.2s ease-in;
        border: 1px solid #bd5645;
        color: #bd5645;
    }

.message p {
    color: white;
    text-align: center;
    font-size: clamp(14px,3vw,18px);
}

.TestimonialContent {
    padding: 10px 10px;
}

.TestimonialMessage {
    text-align: left;
    color: #484645;
    font-size: clamp(14px, 3vw, 18px);
    /* font-weight: bold; */
}

.TestimonialUser {
    color: #0d0d0d;
    text-align: right;
    font-size: clamp(15px, 3vw, 20px);
}

hr {
    margin: 0.5rem 0;
    background-color: #bd5645;
}


@media (max-width:576px) {
    .TestimonialFeedbackButton {
        margin: auto;
    }
}

/* Append this block to Testimonials.css (or the bottom of your existing stylesheet).
   Adjust the color variables to match your theme if needed. */

.TestimonialTabs {
    display: flex;
    width: 100%;
    gap: 4px;
    margin-bottom: 20px;
}

.TestimonialTabButton {
    flex: 1;
    padding: 14px 10px;
    border: none;
    background-color: #e6e6e6;
    color: #444;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.TestimonialTabButton:hover {
    background-color: #d8d8d8;
}

.TestimonialTabButton.active {
    background-color: #b1574e;
    color: #fff;
}

.TestimonialTabPanel {
    display: none;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

    .TestimonialTabPanel.active {
        display: block;
    }

.TestimonialEmbedWrapper {
    width: 100%;
    max-width: 100%;
    min-height: 200px;
    padding: 20px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
    box-sizing: border-box;
}

    .TestimonialEmbedWrapper > * {
        max-width: 100%;
    }

    .TestimonialEmbedWrapper iframe,
    .TestimonialEmbedWrapper .fb-page,
    .TestimonialEmbedWrapper .fb_iframe_widget,
    .TestimonialEmbedWrapper .fb_iframe_widget span {
        max-width: 100% !important;
        width: 100% !important;
    }

@media (max-width: 768px) {
    .TestimonialTabs {
        flex-wrap: wrap;
    }

    .TestimonialTabButton {
        flex: 1 1 45%;
    }

    .TestimonialEmbedWrapper {
        padding: 10px;
    }
}
