/* Advanced Blog Carousel Styles */
.abc-carousel-wrapper {
    margin: 60px 0;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.abc-carousel-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.abc-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.abc-carousel-title h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.abc-carousel-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
}

.abc-carousel-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.abc-carousel-counter {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
    min-width: 80px;
    text-align: center;
}

.abc-carousel-nav-top {
    display: flex;
    gap: 8px;
}

.abc-carousel-nav-btn {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.abc-carousel-nav-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.abc-carousel-nav-btn svg {
    width: 20px;
    height: 20px;
    color: #64748b;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.abc-carousel-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.abc-carousel-nav-btn:hover::before {
    opacity: 1;
}

.abc-carousel-nav-btn:hover svg {
    color: white;
}

.abc-carousel-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.abc-carousel-container {
    position: relative;
    overflow: hidden;
}

.abc-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 30px;
}

.abc-carousel-slide {
    min-width: calc(33.333% - 20px);
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
    cursor: pointer;
}

.abc-carousel-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.abc-post-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.abc-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.abc-carousel-slide:hover .abc-post-image img {
    transform: scale(1.1);
}

.abc-no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.abc-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abc-carousel-slide:hover .abc-post-overlay {
    opacity: 1;
}

.abc-post-overlay-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.abc-post-overlay-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.abc-post-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.abc-post-reading-time {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 4px;
}

.abc-post-content {
    padding: 30px;
}

.abc-post-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.abc-post-title:hover {
    color: #667eea;
}

.abc-post-excerpt {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.abc-post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.abc-post-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.abc-post-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
}

.abc-post-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.abc-post-author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
}

.abc-post-date {
    font-size: 0.8rem;
    color: #64748b;
}

.abc-read-more {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(102, 126, 234, 0.1);
}

.abc-read-more:hover {
    background: rgba(102, 126, 234, 0.2);
    gap: 12px;
}

.abc-read-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.abc-read-more:hover svg {
    transform: translateX(4px);
}

.abc-carousel-progress {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.abc-progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.abc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

.abc-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.abc-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(102, 126, 234, 0.3);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.abc-carousel-dot.active {
    background: #667eea;
    border-color: #667eea;
    transform: scale(1.2);
}

.abc-carousel-dot:hover {
    border-color: #667eea;
}

.abc-autoplay-indicator {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.abc-autoplay-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: abc-pulse 2s infinite;
}

@keyframes abc-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .abc-carousel-slide {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .abc-carousel-slide {
        min-width: 100%;
    }
    
    .abc-carousel-wrapper {
        padding: 30px 20px;
        margin: 40px 0;
    }
    
    .abc-carousel-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .abc-carousel-title h3 {
        font-size: 2rem;
    }
    
    .abc-carousel-track {
        gap: 20px;
    }
    
    .abc-post-content {
        padding: 20px;
    }
    
    .abc-autoplay-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .abc-carousel-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .abc-carousel-nav-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .abc-carousel-title h3 {
        font-size: 1.8rem;
    }
}