/* ===============================
   TESTIMONIAL CARD
================================ */

.ct-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ct-quote {
    font-size: 14px;
    color: #e2e2e2;
    line-height: 1;
    margin-bottom: 8px;
}

.ct-quote img {
    width: 60px !important;
    height: auto;
    opacity: 1;
    display: block;
}

.ct-content {
    font-size: 18px;
    color: #444444;
    line-height: 1.74;
}


/* ===============================
   READ MORE EXPAND
================================ */

.ct-full {
    display: none;
    margin-top: 10px;
}

.ct-card.expanded .ct-excerpt {
    display: none;
}

.ct-card.expanded .ct-full {
    display: block;
}


/* Button */

.ct-read-more {
    margin-top: 14px;
    align-self: flex-start;
    background: #0073aa;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

.ct-read-more:hover {
    opacity: 0.9;
}


/* Footer */

.ct-footer {
    margin-top: auto;
    padding-top: 20px;
    font-size: 16px;
    color: #777;
}


/* ===============================
   OWL CAROUSEL LAYOUT (CRITICAL)
================================ */

.ct-testimonial-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}


/* DO NOT equalize heights */

.owl-stage {
    display: flex;
    align-items: flex-start !important;
}

.owl-item {
    height: auto !important;
}


/* Owl internal wrapper support */

.owl-item>div {
    height: auto !important;
    display: flex;
}


/* Card should fill slide width only */

.owl-item .ct-card {
    width: 100%;
}


/* Allow arrows outside */

.owl-stage-outer {
    overflow: visible;
}


/* ===============================
   OWL NAVIGATION ARROWS
================================ */

.ct-testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -60px;
    right: -60px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.ct-testimonial-carousel .owl-nav button {
    pointer-events: all;
    background: none !important;
    border: none !important;
    padding: 0;
    opacity: 1 !important;
    visibility: visible !important;
}


/* Arrow UI */

.ct-nav {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #0a5c7a;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.ct-nav:hover {
    transform: scale(1.1);
}


/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 991px) {
    .ct-testimonial-carousel {
        padding: 0 20px;
    }
    .ct-testimonial-carousel .owl-nav {
        left: -25px;
        right: -25px;
    }
}

@media (max-width: 767px) {
    .ct-nav {
        width: 36px;
        height: 36px;
        font-size: 18px;
        margin: 20px;
    }
}