/* Load More Button */
.load-more-container {
    margin: 2rem 0;
    text-align: center;
}

#loadMoreBtn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#loadMoreBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Popular Comparisons Section */
.popular-comparisons {
    background-color: #f8fafc;
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.vs-products {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.vs-products .product {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.vs-products .product img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    border-radius: 8px;
}

.vs-products .product span {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-align: center;
}

.vs-products .vs {
    font-size: 18px;
    font-weight: 700;
    color: #6366f1;
    margin: 0 1rem;
    padding: 0.5rem;
    background: #f0f9ff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Related Links Section */
.related-links {
    padding: 4rem 0;
    background: white;
}

.related-section {
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.related-link {
    display: block;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.related-link:hover {
    background: #6366f1;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Blog Section Overrides */
.blog-section {
    padding: 4rem 0;
}

.blog-section .section-title {
    margin-bottom: 2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    background: #6366f1;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-content p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 12px;
    color: #9ca3af;
}

.blog-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #4f46e5;
}

.view-all-container {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vs-products {
        flex-direction: column;
        gap: 1rem;
    }
    
    .vs-products .vs {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .link-grid {
        grid-template-columns: 1fr;
    }
    
    .popular-comparisons,
    .related-links,
    .blog-section {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .comparison-card,
    .blog-content {
        padding: 1.5rem;
    }
    
    .vs-products .product img {
        width: 50px;
        height: 50px;
    }
}
