/* TH Social Slider - CSS Prefix: thss- */

.thss-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.thss-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 10px;
}

.thss-slider-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.thss-slider-track.thss-no-transition {
    transition: none;
}

.thss-slide-item {
    flex: 0 0 auto;
    padding: 10px;
    box-sizing: border-box;
}

.thss-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 280px; /* Ãß°¡: ÃÖ¼Ò ³ôÀÌ ¼³Á¤ */
}

.thss-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.thss-thumb-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.thss-thumb-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.thss-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thss-card-body {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.thss-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #333;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.thss-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 0;
}

.thss-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thss-dot.thss-active {
    background: #333;
    width: 24px;
    border-radius: 5px;
}

.thss-dot:hover {
    background: #999;
}

@media (max-width: 1024px) {
    .thss-container {
        padding: 15px 0;
    }
    
    .thss-slide-item {
        padding: 8px;
    }
    
    .thss-card-body {
        padding: 12px;
    }
    
    .thss-title {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .thss-container {
        padding: 10px 0;
    }
    
    .thss-slider-wrapper {
        padding: 0 5px;
    }
    
    .thss-slide-item {
        padding: 5px;
    }
    
	.thss-card {
		background: #fff;
		border-radius: 8px;
		overflow: hidden;
		box-shadow: 0 2px 8px rgba(0,0,0,0.1);
		transition: transform 0.3s ease, box-shadow 0.3s ease;
		cursor: pointer;
		height: 100%;
		display: flex;
		flex-direction: column;
		min-height: 280px; /* ÀÌ ÁÙÀÌ ÀÖÀ¸¸é »èÁ¦ */
	}
    
    .thss-thumb-wrapper {
        flex-shrink: 0;
    }
    
    .thss-card-body {
        padding: 5px 8px;
        min-height: 0;
        height: auto;
        flex: 0 0 auto;
    }
    
    .thss-title {
        font-size: 11px;
        line-height: 1.2;
        margin: 0;
        padding: 0;
        max-height: 26px;
        overflow: hidden;
        -webkit-line-clamp: 2;
    }
    
    .thss-type-badge {
        font-size: 10px;
        padding: 3px 8px;
        top: 8px;
        left: 8px;
    }
}

.thss-loading {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.thss-loading::after {
    content: '...';
    animation: thss-loading-dots 1.5s infinite;
}

@keyframes thss-loading-dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

.thss-error {
    text-align: center;
    padding: 40px 20px;
    color: #d32f2f;
    background: #ffebee;
    border-radius: 8px;
    margin: 20px;
}