/* Container */
.th-reviews-container {
    padding: 40px 0;
    font-family: inherit;
    background-color: transparent;
}

.th-reviews-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #0d284f;
    /* dark blue */
    margin-bottom: 40px;
}

/* Swiper specific */
.th-reviews-swiper {
    padding: 20px !important;
    padding-bottom: 70px !important;
    /* increased space for pagination */
}

/* Cards */
.th-review-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.th-review-slide {
    height: auto !important;
    /* Forces cards to all stretch to equal height if align-items: stretch on swiper is used, but swiper does this usually */
}

.th-reviews-swiper .swiper-wrapper {
    align-items: stretch;
}

/* Header: Avatar and Name */
.th-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.th-review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.th-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.th-default-avatar {
    width: 100%;
    height: 100%;
    background-color: #eee;
}

.th-review-meta {
    flex-grow: 1;
}

.th-review-name {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
}

.th-review-role {
    margin: 0;
    font-size: 14px;
    color: #888;
}

/* Content block */
.th-review-content {
    flex-grow: 1;
    margin-bottom: 20px;
}

.th-quote-icon {
    font-size: 60px;
    color: #FF9800;
    /* Orange */
    font-family: Arial, serif;
    line-height: 0.6;
    display: block;
    margin-bottom: 10px;
    font-weight: normal;
}

.th-review-text {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.th-review-text p {
    margin-bottom: 10px;
}

.th-review-text p:last-child {
    margin-bottom: 0;
}

/* Rating */
.th-review-rating {
    display: flex;
    gap: 4px;
    margin-top: auto;
}

/* Pagination Rules */
.th-reviews-swiper .swiper-pagination {
    bottom: 0;
    /* Move the pagination down */
}

.th-reviews-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #FF9800;
    opacity: 1;
    transition: all 0.3s ease;
}

.th-reviews-swiper .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 5px;
    background: #0d284f;
    /* blue for active indicator */
}