/* ========== Hero Banner ========== */
.hero {
    position: relative;
    height: 645px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide-wrap {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide-wrap.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide {
    width: 100%;
    height: 645px;
    object-fit: cover;
    display: block;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: #0061AE;
    cursor: pointer;
    font-size: 52px;
    z-index: 3;
}
.hero-arrow.prev {
    left: 20px;
}

.hero-arrow.next {
    right: 20px;
}

.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.hero-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EBEBEB;
    cursor: pointer;
}

.hero-dots span.active {
    background: #0061AE;
}

/* ========== Products ========== */
.products {
    width: 100%;
    background: #fff;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px 12px;
}

.product-card {
    width: calc(50% - 6px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f7fa url("/public/static/home/images/cate-icon.png") no-repeat right center;
    background-size: cover;
    padding: 56px 80px 56px 100px;
    min-height: 280px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.product-info {
    flex: 1;
    position: relative;
    z-index: 2;
    max-width: 320px;
}

.product-info h3 {
    font-size: 34px;
    color: #121212;
    margin-bottom: 22px;
}

.product-divider {
    width: 40px;
    height: 1px;
    background: #000000;
    margin-bottom: 31px;
}

.product-info p {
    font-size: 16px;
    color: #121212;
    margin-bottom: 56px;
}

.product-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    margin-left: 40px;
    background: rgba(255, 255, 255, 0.3);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== News ========== */
.news {
    margin-top: 60px;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 56px;
    font-weight: bold;
    color: #121212;
    margin-bottom: 50px;
}

.news-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.news-item {
    display: flex;
    align-items: stretch;
    width: 1360px;
    max-width: 100%;
    height: 386px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.news-item.reverse {
    flex-direction: row-reverse;
}

.news-thumb {
    width: 680px;
    height: 386px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-thumb img {
    width: 680px;
    height: 386px;
    object-fit: cover;
    display: block;
}

.news-body {
    width: 680px;
    height: 386px;
    flex-shrink: 0;
    background: #fff;
    padding: 48px 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-body h4 {
    font-size: 28px;
    color: #121212;
    line-height: 1.6;
}

.news-divider {
    width: 85px;
    height: 3px;
    background: #0061AE;
    margin-top: 43px;
}

.news-body .date {
    font-size: 18px;
    color: #999;
}

/* ========== CTA ========== */
.cta {
    margin-top: 64px;
    padding: 50px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-text h2 {
    font-size: 40px;
    color: #0061AE;
    margin-bottom: 22px;
}

.cta-text p {
    font-size: 16px;
    color: #333333;
}

/* ========== Responsive ========== */

/* 平板：内容区等比缩放 */
@media (max-width: 1360px) {
    .news-item {
        width: 100%;
        height: auto;
    }

    .news-thumb,
    .news-body {
        width: 50%;
        height: auto;
        min-height: 300px;
    }

    .news-thumb img {
        width: 100%;
        height: 100%;
        min-height: 300px;
    }

    .news-body {
        padding: 36px 32px;
    }

    .news-body h4 {
        font-size: 22px;
    }

    .news-divider {
        margin-top: 24px;
    }

    .news-body .date {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .hero {
        height: 420px;
    }

    .hero-slide {
        height: 420px;
    }

    .hero-arrow {
        font-size: 36px;
    }

    .product-grid {
        padding: 0 12px;
    }

    .product-card {
        width: 100%;
        padding: 40px 32px;
        min-height: auto;
    }

    .product-info h3 {
        font-size: 28px;
    }

    .product-info p {
        margin-bottom: 32px;
    }

    .product-img {
        width: 180px;
        height: 180px;
        margin-left: 24px;
    }

    .section-title {
        font-size: 40px;
        margin-bottom: 32px;
    }

    .news {
        margin-top: 40px;
        padding: 0 12px;
    }

    .news-item,
    .news-item.reverse {
        flex-direction: column;
        height: auto;
    }

    .news-thumb,
    .news-body {
        width: 100%;
        min-height: auto;
    }

    .news-thumb img {
        width: 100%;
        height: 240px;
        min-height: 240px;
    }

    .news-body {
        padding: 28px 24px;
    }

    .news-body h4 {
        font-size: 20px;
    }

    .news-divider {
        margin-top: 16px;
    }

    .news-body .date {
        margin-top: 24px;
        font-size: 14px;
    }

    .cta {
        margin-top: 40px;
        padding: 36px 0;
    }

    .cta-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .cta-text h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 280px;
    }

    .hero-slide {
        height: 280px;
    }

    .hero-arrow {
        font-size: 28px;
    }

    .hero-arrow.prev {
        left: 8px;
    }

    .hero-arrow.next {
        right: 8px;
    }

    .hero-dots {
        bottom: 12px;
    }

    .product-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 20px;
    }

    .product-info {
        max-width: 100%;
    }

    .product-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .product-img {
        width: 160px;
        height: 160px;
        margin-left: 0;
        margin-top: 24px;
    }

    .section-title {
        font-size: 32px;
        padding: 0 16px;
    }

    .news-thumb img {
        height: 200px;
        min-height: 200px;
    }

    .cta-text h2 {
        font-size: 24px;
    }

    .cta-text p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 200px;
    }

    .hero-slide {
        height: 200px;
    }

    .product-info h3 {
        font-size: 24px;
    }

    .product-info p {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 28px;
    }

    .news-body h4 {
        font-size: 18px;
    }

    .news-thumb img {
        height: 180px;
        min-height: 180px;
    }

    .cta-text h2 {
        font-size: 20px;
    }
}
