/* ============================================
   🌱 小树打工记
   现代极简风 · 干净留白 · 大气
   ============================================ */

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

body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    background: #FFFFFF;
    color: #1A1A2E;
    line-height: 1.8;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* --- 导航 --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #F0F0F0;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1A1A2E;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 2px;
}

.nav-link {
    padding: 8px 16px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-link:hover {
    color: #FF6B35;
    background: #FFF5F0;
}

.nav-link.active {
    color: #FF6B35;
    font-weight: 600;
}

/* --- 导航下拉菜单 --- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    padding: 6px 0;
    min-width: 140px;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 8px 20px;
    text-decoration: none;
    color: #666;
    font-size: 0.88rem;
    white-space: nowrap;
    transition: all 0.15s;
}

.nav-dropdown-menu a:hover {
    color: #FF6B35;
    background: #FFF5F0;
}

@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        margin-top: 0;
    }
    .nav-dropdown-menu a {
        padding: 6px 16px;
        font-size: 0.85rem;
        padding-left: 24px;
    }
}

/* --- Hero --- */
.hero {
    text-align: center;
    padding: 48px 24px 32px;
    background: linear-gradient(180deg, #FFF8F5 0%, #FFFFFF 100%);
}

.hero-avatar {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 6px;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1A1A2E;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: #999;
    font-weight: 400;
}

/* --- 布局 --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A1A2E;
    letter-spacing: -0.3px;
}

.section-more {
    font-size: 0.9rem;
    color: #FF6B35;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.section-more:hover {
    opacity: 0.7;
}

/* --- 分类快速入口 --- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.cat-card {
    background: #FAFAFA;
    border: 1px solid #F0F0F0;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
}

.cat-card:hover {
    background: #FFF8F5;
    border-color: #FF6B35;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.cat-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.cat-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1A1A2E;
}

.cat-count {
    font-size: 0.82rem;
    color: #999;
    margin-top: 4px;
}

/* --- 团队网格 --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.team-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1000px) {
    .team-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .team-grid.cols-4 {
        grid-template-columns: 1fr;
    }
}

.team-card {
    background: #fff;
    border: 1px solid #EEEEEE;
    border-radius: 16px;
    padding: 28px 24px 24px;
    text-align: center;
    transition: all 0.25s;
}

.team-card:hover {
    border-color: #DDD;
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}












.team-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: #999;
    margin-bottom: 12px;
}

.team-intro {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 14px;
}

.team-slogan {
    font-size: 0.82rem;
    color: #bbb;
    font-style: italic;
    padding-top: 12px;
    border-top: 1px solid #F5F5F5;
}

/* --- 卡片网格 --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* --- 卡片 --- */
.card {
    background: #fff;
    border: 1px solid #EEEEEE;
    border-radius: 14px;
    padding: 24px;
    transition: all 0.25s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.card:hover {
    border-color: #E0E0E0;
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}

.card-type {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.card-type.diary { background: #FFF5F0; color: #FF6B35; }
.card-type.article { background: #F0F7FF; color: #2B9BD6; }
.card-type.research { background: #F0FAF0; color: #43A047; }
.card-type.project { background: #F5F0FA; color: #8E24AA; }

.card-date {
    font-size: 0.82rem;
    color: #aaa;
    font-weight: 500;
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1A1A2E;
    line-height: 1.4;
}

.card-summary {
    font-size: 0.88rem;
    color: #777;
    line-height: 1.6;
}

.card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.card-tag {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
    background: #F5F5F5;
    color: #888;
}

/* --- 详情页 --- */
.detail-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.detail-back {
    display: inline-block;
    margin-bottom: 24px;
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.detail-back:hover {
    color: #FF6B35;
}

.detail-header {
    margin-bottom: 32px;
    border-bottom: 1px solid #F0F0F0;
    padding-bottom: 24px;
}

.detail-type {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.detail-type.diary { background: #FFF5F0; color: #FF6B35; }
.detail-type.article { background: #F0F7FF; color: #2B9BD6; }
.detail-type.research { background: #F0FAF0; color: #43A047; }
.detail-type.project { background: #F5F0FA; color: #8E24AA; }

.detail-date {
    font-size: 0.85rem;
    color: #aaa;
    font-weight: 500;
    margin-bottom: 8px;
}

.detail-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1A1A2E;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.detail-mood {
    margin-top: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #4ECDC4;
}

.detail-body {
    font-size: 1rem;
    line-height: 2;
    color: #333;
}

.detail-body h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 32px 0 14px;
    color: #1A1A2E;
}

.detail-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 24px 0 10px;
    color: #FF6B35;
}

.detail-body p {
    margin-bottom: 16px;
}

.detail-body hr {
    margin: 32px 0;
    border: none;
    border-top: 1px solid #F0F0F0;
}

.detail-body em {
    color: #999;
    font-style: italic;
}

.detail-body strong {
    font-weight: 700;
}

.detail-body ul {
    margin: 12px 0 16px 24px;
    list-style: disc;
}

.detail-body li {
    margin-bottom: 6px;
}

.detail-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 12px;
    border-top: 1px solid #F0F0F0;
    padding-top: 24px;
}

.detail-nav a {
    flex: 1;
    padding: 14px 18px;
    background: #FAFAFA;
    border: 1px solid #F0F0F0;
    border-radius: 10px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
    text-align: center;
}

.detail-nav a:hover {
    background: #FFF5F0;
    border-color: #FF6B35;
    color: #FF6B35;
}

/* --- 列表页 --- */
.list-header {
    text-align: center;
    padding: 48px 0 32px;
}

.list-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1A1A2E;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.list-header p {
    color: #999;
    font-size: 1rem;
}

/* --- 关于页 --- */
.about-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 24px 60px;
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1A1A2E;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.about-card {
    margin-bottom: 28px;
}

.about-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #FF6B35;
}

.about-card p {
    margin-bottom: 10px;
    line-height: 2;
    color: #555;
}

/* --- 页脚 --- */
.footer {
    text-align: center;
    padding: 32px 24px;
    border-top: 1px solid #F0F0F0;
    color: #bbb;
    font-size: 0.85rem;
    margin-top: 40px;
}

.footer-sub {
    font-size: 0.78rem;
    margin-top: 4px;
    color: #ddd;
}

/* --- 空状态 --- */
.empty-state {
    text-align: center;
    color: #ccc;
    padding: 60px 0;
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* --- 响应式 --- */
@media (max-width: 768px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding: 70px 20px 50px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-links {
        gap: 0;
    }

    .nav-link {
        padding: 8px 10px;
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

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

    .detail-title {
        font-size: 1.4rem;
    }

    .detail-nav {
        flex-direction: column;
    }

    .section-header {
        flex-direction: column;
        gap: 8px;
    }
}
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 14px;
    object-fit: cover;
}

.team-avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 14px;
    object-fit: cover;
}
