﻿/* ===== 首页专属样式 ===== */

/* 首页 Banner */
.hero-banner {
    position: relative;
    border-radius: 32px;
    margin-bottom: 56px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    background-image: url('http://www.aipu.vip/images/labb.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    min-height: 380px;
}

.hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, rgba(20, 30, 28, 0.45) 0%, rgba(28, 38, 34, 0.35) 100%);
    z-index: 1;
    border-radius: 32px;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 70px 48px;
    max-width: 680px;
    color: white;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 520px;
    color: #f5f8ff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

/* 双栏资讯布局 */
.two-columns {
    display: flex;
    gap: 32px;
    margin: 30px 0 60px;
    flex-wrap: wrap;
    align-items: stretch;
}

.left-news {
    flex: 2;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.right-articles {
    flex: 1.2;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* 首页专属响应式 */
@media (max-width: 992px) {
    .two-columns {
        gap: 24px;
    }

    .left-news {
        gap: 24px;
    }

    .right-articles {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 40px 24px;
        text-align: center;
        max-width: 100%;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .two-columns {
        flex-direction: column;
        gap: 24px;
    }

    .left-news {
        gap: 24px;
    }

    .right-articles {
        gap: 24px;
    }
}
