/* Container 和 标题样式 */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.page-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

/* 类别列表样式 */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #007ACC;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: #005bb5;
}

.category-title {
    font-weight: bold;
}

.category-date {
    font-size: 0.9em;
    color: #666;
}

/* 类别卡片样式 */
.category-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.category-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 30%;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.category-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.category-card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #007ACC;
}

.category-card-count {
    font-size: 1em;
    color: #666;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .category-card {
        width: 45%; /* Adjust width for smaller screens */
    }
}

@media (max-width: 480px) {
    .category-card {
        width: 100%; /* Full width for very small screens */
        margin-bottom: 20px;
    }

    .category-link {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-date {
        margin-top: 5px;
    }

    .page-title {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .category-card-title {
        font-size: 1.3em;
    }

    .category-card-count {
        font-size: 0.9em;
    }
}
