/* Blog Page Specific Styles */

/* Blog Filter Buttons */
.blog-filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    background: white;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-filter-btn:hover {
    border-color: #0299b4;
    color: #0299b4;
}

.blog-filter-btn.active {
    background: linear-gradient(to left, #0299b4, #025479);
    color: white;
    border-color: transparent;
}

/* Blog Articles */
.blog-article-item {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Featured Article */
.featured-article {
    transition: all 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-4px);
}

/* Blog Card Variations */
.blog-card-curved {
    transition: all 0.3s ease;
}

.blog-card-curved:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.blog-card-slanted {
    transition: all 0.3s ease;
}

.blog-card-slanted:hover {
    transform: translateY(-8px);
}

.blog-card-wave {
    transition: all 0.3s ease;
}

.blog-card-wave:hover {
    transform: translateY(-8px);
}

.blog-card-standard {
    transition: all 0.3s ease;
}

.blog-card-standard:hover {
    transform: translateY(-8px);
}

.blog-card-news {
    transition: all 0.3s ease;
}

.blog-card-news:hover {
    transform: translateY(-8px);
}

.blog-card-asymmetric {
    transition: all 0.3s ease;
}

.blog-card-asymmetric:hover {
    transform: translateY(-8px);
}

/* Newsletter Form */
.newsletter-form {
    transition: all 0.3s ease;
}

.newsletter-form input {
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* Article Stagger Animation */
.blog-article-item:nth-child(1) { animation-delay: 0.1s; }
.blog-article-item:nth-child(2) { animation-delay: 0.2s; }
.blog-article-item:nth-child(3) { animation-delay: 0.3s; }
.blog-article-item:nth-child(4) { animation-delay: 0.4s; }
.blog-article-item:nth-child(5) { animation-delay: 0.5s; }
.blog-article-item:nth-child(6) { animation-delay: 0.6s; }

/* Blog Search */
#blogSearchInput {
    transition: all 0.3s ease;
}

#blogSearchInput:focus {
    box-shadow: 0 0 0 3px rgba(2, 153, 180, 0.1);
}

/* Category Tags */
.category-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-tag.technology {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.category-tag.research {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.category-tag.news {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.category-tag.health {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.category-tag.industry {
    background: rgba(147, 51, 234, 0.1);
    color: #9333ea;
}

/* Read Time */
.read-time {
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Load More Button */
#loadMoreBtn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#loadMoreBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#loadMoreBtn:hover::before {
    left: 100%;
}

/* Author Profile */
.author-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #0299b4, #025479);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Article Excerpt */
.article-excerpt {
    color: #6b7280;
    line-height: 1.7;
    margin: 1rem 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blog-filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .featured-article .md\\:flex {
        flex-direction: column;
    }
}

/* Hidden Articles */
.blog-article-item.hidden {
    display: none;
}

/* Article Interactions */
.article-interaction {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.article-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Trending Badge */
.trending-badge {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Reading Progress */
.reading-progress {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e5e7eb;
    z-index: 100;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(to right, #0299b4, #025479);
    width: 0%;
    transition: width 0.3s ease;
}

