.tm1-wrapper {
    padding-bottom: 30px;
    /* Space for pagination */
}

/* Card */
.tm1-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    /* Default: Side by Side */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    height: 100%;
    min-height: 280px;
}

/* Left Image Side */
.tm1-img-col {
    width: 40%;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 250px;
}

/* Right Content Side */
.tm1-content-col {
    width: 60%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Stars */
.tm1-stars {
    color: var(--bs-secondary);
    /* Gold/Yellow */
    font-size: 1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Quote Icon */
.tm1-quote-icon {
    font-size: 3rem;
    color: var(--bs-light);
    /* Very light grey */
    line-height: 0;
    font-family: serif;
    font-weight: 700;
}

/* Quote Text */
.tm1-quote {
    font-size: 1.05rem;
    color: var(--bs-body-color);
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 25px;
}

/* Author Info */
.tm1-author {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--bs-border-color);
}

.tm1-name {
    font-weight: 700;
    color: var(--bs-heading-color);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.tm1-role {
    font-size: 0.9rem;
    color: var(--bs-body-color);
}

/* Swiper Pagination Customization */
.tm1-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--bs-border-color);
    opacity: 1;
    transition: all 0.3s;
}

.tm1-swiper .swiper-pagination-bullet-active {
    background: var(--theme-secondary);
    width: 30px;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .tm1-card {
        flex-direction: column;
    }

    .tm1-img-col {
        width: 100%;
        height: 250px;
    }

    .tm1-content-col {
        width: 100%;
        padding: 25px;
    }
}