* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: #fbfbfb;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    text-align: center;
    padding: 150px 0 0px;
}

.logo {
    font-size: 42px;
    font-weight: 500;
    color: #7394cc;
    margin-bottom: 20px;
}

/* Search Section */
.search-section {
    text-align: center;
    margin-bottom: 30px;
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
}

.search-input {
    width: 600px;
    height: 44px;
    padding: 0 20px;
    border: 1px solid #e0e0e0;
    border-radius: 22px 0 0 22px;
    font-size: 16px;
    outline: none;
    background-color: white;
}

.search-input:focus {
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
}

.search-btn {
    height: 44px;
    padding: 0 10px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 0 22px 22px 0;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-weight: 500;
}

.search-btn:hover {
    background-color: #3367d6;
}

/* Notice Messages */
.notice-orange {
    color: #ff9500;
    font-size: 16px;
    margin-bottom: 8px;
}

.notice-red {
    color: #ff3333;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 40px;
}

/* Category Navigation - 已移除，使用新的分类卡片布局 */

/* Content Lists */
.content-lists {
    margin-bottom: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.category-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 18px;
    width: 100%;
    min-width: 0;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.category-title {
    /* font-size: 18px; */
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-icon {
    font-size: 20px;
}

.category-more-link {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.category-more-link:hover {
    color: #4285f4;
}

.content-list {
    list-style: none;
}

.content-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
    border-bottom: 1px solid #f8f8f8;
}

.content-item:last-child {
    border-bottom: none;
}

.content-item:hover {
    color: #4285f4;
}

.content-number {
    color: #999;
    margin-right: 12px;
    font-weight: 600;
    min-width: 25px;
    font-size: 14px;
}

/* 前三名序号使用橙红色 */
.content-item:nth-child(1) .content-number,
.content-item:nth-child(2) .content-number,
.content-item:nth-child(3) .content-number {
    color: #ff6b35;
}

.content-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    max-width: 280px;
}

/* Footer */
.footer {
    /* background-color: #ffffff; */
    border-radius: 8px;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 12px;
    margin-top: 20px;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #4285f4;
    text-decoration: none;
    margin: 0 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header {
        padding: 100px 0 0px;
    }

    .logo {
        font-size: 32px;
    }

    .search-container {
        flex-direction: row;
        gap: 0;
    }

    .search-input {
        width: 70%;
        min-width: 200px;
        border-radius: 22px 0 0 22px;
    }

    .search-btn {
        width: 30%;
        min-width: 80px;
        padding: 0 8px;
        font-size: 14px;
        border-radius: 0 22px 22px 0;
    }

    .content-lists {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 0;
    }

    .footer-links a {
        display: inline-block;
        margin: 5px 8px;
    }
}

@media (max-width: 480px) {
    .search-container {
        flex-direction: row;
        gap: 0;
        width: 100%;
    }

    .search-input {
        width: 75%;
        min-width: 150px;
        border-radius: 22px 0 0 22px;
    }

    .search-btn {
        width: 20%;
        min-width: 60px;
        padding: 0 5px;
        font-size: 12px;
        border-radius: 0 22px 22px 0;
    }

    .content-number {
        min-width: 20px;
        font-size: 14px;
    }

    .content-item {
        font-size: 14px;
        padding: 10px 0;
    }

    .content-lists {
        grid-template-columns: 1fr;
    }
}
