/* ============================================================
                           BLANK SECTION 1: AUTO-SLIDER (IMAGE ONLY)
                           ============================================================ */
.ts-refined-auto-section {
    width: 100%;
    overflow: hidden;
    
    /* Spacing from upper content */
    padding: 10px 0;
    background: #f8fafc;
    /* Normal day background */
}

.ts-refined-slider-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.ts-refined-track {
    display: flex;
    width: max-content;
    animation: tsScrollLeft 40s linear infinite;
    /* Right to Left move */
    gap: 20px;
    padding: 10px 20px;
}

.ts-refined-card {
    flex: 0 0 400px;
    /* Bigger size for image only */
    height: 280px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease;
}

.ts-refined-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ts-refined-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

@keyframes tsScrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================================
                           BLANK SECTION 2: MANUAL SHADOW SCROLL
                           ============================================================ */
.ts-shadow-scroll-section {
    max-width: 1200px;
    margin: 0px auto;
    padding: 0 15px;
}

.ts-section-title h2 {
    font-size: 1.8rem;
    margin-bottom: 0px;
    margin-top: 20px;
    color: #1e293b;
    font-family: 'Noto Serif Bengali', serif;
}

.ts-manual-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 10px 20px;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar IE/Edge */
}

.ts-manual-scroll-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.ts-animated-card {
    flex: 0 0 300px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 1px solid #f8fafc;
}

.ts-animated-card:hover {
    transform: translateY(-15px);
    /* Lift animation */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    /* Deep shadow */
}

.ts-card-img-box {
    height: 200px;
    overflow: hidden;
}

.ts-card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ts-animated-card:hover .ts-card-img-box img {
    transform: scale(1.1);
}

.ts-card-body {
    padding: 20px;
    text-align: center;
}

.ts-card-body h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #334155;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ts-card-meta {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ============================================================
                           MOBILE RESPONSIVE ADJUSTMENTS
                           ============================================================ */
@media (max-width: 768px) {
    .ts-refined-card {
        flex: 0 0 280px;
        height: 200px;
    }

    .ts-animated-card {
        flex: 0 0 260px;
    }

    .ts-card-img-box {
        height: 160px;
    }
}

/* Section Wrapper Spacing */
.ts-author-spotlight-section {
    max-width: 1200px;
    margin: 0px auto;
    padding: 0 15px;
}

/* Vertical Grid for Cards */
.ts-author-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Individual Card Styling */
.ts-author-card {
    background: #fff;
    border-radius: 20px;
    padding: 15px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ts-author-card:hover {
    transform: translateX(10px);
    /* Subtle slide right on hover */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Flex layout for Image Left, Text Right */
.ts-author-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 20px;
}

/* Avatar Box */
.ts-author-avatar-box {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.ts-author-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text Detail Box */
.ts-author-details {
    flex-grow: 1;
}

/* Larger Text for Name */
.ts-author-name {
    font-size: 1.5rem;
    /* Larger text as requested */
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    font-family: 'Noto Serif Bengali', serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ts-author-name {
        font-size: 1.25rem;
    }

    .ts-author-avatar-box {
        width: 60px;
        height: 60px;
    }
}