/* 主页样式 */
.hero-section {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    margin-bottom: 50px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    color: white;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 20px;
    max-width: 600px;
}

.section-title {
    font-size: 32px;
    margin: 40px 0 30px;
    position: relative;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;  /* 添加底部边框 */
}


/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.category-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.card-header {
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
}

.travel-card .card-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.tech-card .card-header { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.invest-card .card-header { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }

.card-header .emoji {
    font-size: 32px;
    margin-right: 15px;
}

.card-header h3 {
    margin: 0;
    font-size: 24px;
}

.card-body {
    padding: 20px;
}

.card-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.card-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.card-item a {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.item-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-right: 15px;
    object-fit: cover;
}

.item-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.item-meta {
    font-size: 12px;
    color: #999;
}

.card-footer {
    padding: 15px 20px;
    background: #f8f9fa;
}

.btn-more {
    color: #007bff;
    text-decoration: none;
}

/* 近期发布列表 */
.recent-list {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.recent-item {
    display: grid;
    grid-template-columns: 80px 100px 1fr 2fr;
    padding: 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.recent-item:last-child {
    border-bottom: none;
}

.recent-date {
    color: #999;
    font-size: 14px;
}

.recent-category {
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
    width: fit-content;
}

.recent-category.travel { background: #e3f2fd; color: #1976d2; }
.recent-category.tech { background: #f3e5f5; color: #7b1fa2; }
.recent-category.invest { background: #e8f5e8; color: #388e3c; }

.recent-title a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.recent-title a:hover {
    color: #007bff;
}

.recent-excerpt {
    color: #666;
    font-size: 14px;
}

/* 关于我 */
.about-section {
    margin: 60px auto;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
}

.about-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* 响应式 */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .recent-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-title {
        font-size: 32px;
    }
}