/* Category Page Styles */

.category-header {
    background: white;
    padding: 40px 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-header .container {
    text-align: center;
}

.category-title {
    font-size: 42px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.category-desc {
    font-size: 18px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.sections-nav-container {
    background: white;
    padding: 20px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.sections-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.section-btn {
    padding: 10px 20px;
    background-color: #f3f4f6;
    color: #4b5563;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.section-btn:hover {
    background-color: #e5e7eb;
}

.section-btn.active {
    background-color: #3b82f6;
    color: white;
}

.articles-section {
    margin-bottom: 60px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.article-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 13px;
}

.article-section-badge {
    background-color: #dbeafe;
    color: #1e40af;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 500;
}

.article-date {
    color: #9ca3af;
}

.article-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-excerpt {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.article-tag {
    background-color: #f3f4f6;
    color: #4b5563;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
    color: #9ca3af;
}

.article-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

.no-articles {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-articles i {
    font-size: 48px;
    color: #9ca3af;
    margin-bottom: 15px;
}

.no-articles p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 10px;
}

.no-articles .text-muted {
    font-size: 14px;
    color: #9ca3af;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #6b7280;
}

.breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #2563eb;
}

.breadcrumb span {
    margin: 0 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .category-title {
        font-size: 32px;
    }

    .category-desc {
        font-size: 16px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .sections-nav {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .section-btn {
        white-space: nowrap;
    }
}

/* Made with Bob */
