.index-banner {
    position: relative;
    text-align: center;
    width: 100%;
    height: 80px;
    padding-top: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.m-content {
    padding: 40px 0;
    min-height: 700px;
    max-width: 1200px;
    margin: 0 auto;
}

.m-title {
    color: #2c3e50;
    font-size: 48px;
    display: flex;
    justify-items: start;
    align-items: end;
    margin-bottom: 60px;
    position: relative;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.m-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 2px;
}

.m-title div {
    font-size: 18px;
    margin-left: 15px;
    color: #7f8c8d;
    font-weight: 400;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.grid-item {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(79, 172, 254, 0.2);
}

.grid-item:hover::before {
    transform: scaleX(1);
}

.article-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.article-category {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.grid-item .title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2c3e50;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.grid-item:hover .title {
    color: #4facfe;
}

.grid-item .txt {
    font-size: 14px;
    color: #5a6c7d;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f3f4;
}

.grid-item .date {
    font-size: 12px;
    color: #95a5a6;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.grid-item .date::before {
    content: '📅';
    margin-right: 6px;
    font-size: 12px;
}

.read-more {
    color: #4facfe;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(79, 172, 254, 0.1);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.read-more:hover {
    background: #4facfe;
    color: white;
    transform: translateX(2px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
    }
    
    .m-content {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .m-title {
        font-size: 36px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .m-title div {
        margin-left: 0;
        margin-top: 8px;
    }
    
    .grid-item {
        padding: 20px;
        min-height: 180px;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid-item {
    animation: fadeInUp 0.6s ease forwards;
}

.grid-item:nth-child(1) { animation-delay: 0.1s; }
.grid-item:nth-child(2) { animation-delay: 0.2s; }
.grid-item:nth-child(3) { animation-delay: 0.3s; }
.grid-item:nth-child(4) { animation-delay: 0.4s; }
.grid-item:nth-child(5) { animation-delay: 0.5s; }
.grid-item:nth-child(6) { animation-delay: 0.6s; }
.grid-item:nth-child(7) { animation-delay: 0.7s; }
.grid-item:nth-child(8) { animation-delay: 0.8s; }
.grid-item:nth-child(9) { animation-delay: 0.9s; }