.ts-slider-wrapper {
    width: 100%;
}

.ts-slider {
    width: 100%;
}

.ts-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-sizing: border-box;
    height: 100%;
}

.ts-photo-wrapper {
    width: 90%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 24px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ts-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ts-text {
    width: 100%;
    text-align: center;
}

.ts-name {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 4px;
}

.ts-regalia {
    font-size: 14px;
    line-height: 1.4;
}

.ts-pagination {
    margin-top: 20px;
    text-align: center;
}

.ts-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 1;
    background: #d0d0d0;
    margin: 0 4px;
}

.ts-pagination .swiper-pagination-bullet-active {
    background: #007744;
}


.ts-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.ts-card-link:focus {
    outline: none;
}

.ts-card-link:hover .ts-name {
    text-decoration: underline;
}

.ts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .ts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ts-grid {
        grid-template-columns: 1fr;
    }
}