/* Custom Blog Section Styles */
/* File này chứa các style tùy chỉnh cho các blog section khác nhau */

/* Product Blog Section */
.product-blog-section {
    background-color: #1a1a1a;
}

.product-blog-section .blog-section-title {
    color: #00d4ff;
}

.product-blog-section .discover-more-link:hover {
    color: #00d4ff;
}

.product-blog-section .blog-card-title a:hover {
    color: #00d4ff;
}

/* Service Blog Section */
.service-blog-section {
    background-color: #2d1b69;
}

.service-blog-section .blog-section-title {
    color: #ff6b35;
}

.service-blog-section .discover-more-link:hover {
    color: #ff6b35;
}

.service-blog-section .blog-card-title a:hover {
    color: #ff6b35;
}

/* News Blog Section */
.news-blog-section {
    background-color: #1e3a8a;
}

.news-blog-section .blog-section-title {
    color: #fbbf24;
}

.news-blog-section .discover-more-link:hover {
    color: #fbbf24;
}

.news-blog-section .blog-card-title a:hover {
    color: #fbbf24;
}

/* Technology Blog Section */
.tech-blog-section {
    background-color: #0f172a;
}

.tech-blog-section .blog-section-title {
    color: #10b981;
}

.tech-blog-section .discover-more-link:hover {
    color: #10b981;
}

.tech-blog-section .blog-card-title a:hover {
    color: #10b981;
}

/* Business Blog Section */
.business-blog-section {
    background-color: #1f2937;
}

.business-blog-section .blog-section-title {
    color: #f59e0b;
}

.business-blog-section .discover-more-link:hover {
    color: #f59e0b;
}

.business-blog-section .blog-card-title a:hover {
    color: #f59e0b;
}

/* Custom spacing for different post counts */
.blog-section[data-posts="3"] .blog-cards-grid {
    grid-template-columns: repeat(3, 1fr);
}

.blog-section[data-posts="6"] .blog-cards-grid {
    grid-template-columns: repeat(3, 1fr);
}

.blog-section[data-posts="8"] .blog-cards-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive adjustments for custom post counts */
@media (max-width: 768px) {
    .blog-section[data-posts="3"] .blog-cards-grid,
    .blog-section[data-posts="6"] .blog-cards-grid,
    .blog-section[data-posts="8"] .blog-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .blog-section[data-posts="3"] .blog-cards-grid,
    .blog-section[data-posts="6"] .blog-cards-grid,
    .blog-section[data-posts="8"] .blog-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom hover effects for different sections */
.product-blog-section .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.service-blog-section .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.news-blog-section .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.2);
}

.tech-blog-section .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.business-blog-section .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.2);
}
