/* 头图样式 */
.hero {
    width: 100%;
    margin: 60px 0 0;
    height: auto;
    overflow: hidden;
    aspect-ratio: 1800/720;
    position: relative;
}

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

/* 大标题样式 */
.main-title {
    position: absolute;
    bottom: 60px;
    left: 160px;
    color: white;
    text-align: left;
    background-color: rgba(127, 255, 212, 0);
}

.logo-large {
    width: 200px !important;
    height: auto !important;
    margin-bottom: 32px;
    margin-left: 4px;
    display: block;
    object-fit: contain;
    background-color: rgba(0, 255, 255, 0);
}

.main-title h1 {
    font-family: 'Dragon-Serial', serif;
    font-size: 120px;
    line-height: 86px;
    font-weight: 500; /* 与@font-face中的字重保持一致 */
    color: rgb(255, 255, 255);
    margin: 0;
    letter-spacing: 0.04em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-stretch: normal;
    -webkit-text-size-adjust: 100%;
    /* Safari特定优化 */
    transform: translateZ(0); /* 触发硬件加速，改善渲染 */
}

.main-title-svg {
    height: 86px; /* 与其他页面的标题高度保持一致 */
    width: auto;
    display: block;
    margin: 0;
    max-width: 90%;
    object-fit: contain;
    object-position: left bottom;
}

/* 其他页面标题样式 */
.investment-page .main-title h1,
.partners-page .main-title h1,
.news-page .main-title h1 {
    font-family: 'Alibaba PuHuiTi', sans-serif;
    font-weight: bold;
    font-size: 86px;
    color: white;
}

/* 响应式样式 */
@media (max-width: 1024px) {
    .hero {
        width: 100%;
        margin: 48px 0 0;
    }
    
    .main-title {
        left: 40px;
        bottom: 40px;
        background-color: rgba(0, 255, 255, 0);
    }

    .main-title h1 {
        font-size: 66px;
        line-height: 1em;
    }
    
    .main-title-svg {
        height: 60px; /* 与其他页面的标题高度保持一致 */
    }
    
    .logo-large {
        width: 160px !important;
        height: auto !important;
        margin-bottom: 24px;
    }
    
    .investment-page .main-title h1,
    .partners-page .main-title h1,
    .news-page .main-title h1 {
        font-size: 60px;
        line-height: 60px;
    }
}

@media (max-width: 480px) {
    .hero {
        width: 100%;
        margin: 40px 0 0;
        aspect-ratio: 1800/900; /* 增加头图高度 */
        position: relative;
    }
    
    /* 添加头图底部渐变 */
    .hero::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        background: linear-gradient(to top, rgba(146, 169, 209, 1) 0%, rgba(146, 169, 209, 0) 100%);
        z-index: 1;
    }
    
    .main-title {
        left: 0;
        right: 0;
        bottom: 20px; /* 调整底部位置 */
        text-align: center;
        z-index: 2;
    }
    
    .main-title h1 {
        font-size: 52px; /* 增加标题大小 */
        line-height: 42px;
        margin: 0;
        text-align: center;
    }
    
    .main-title-svg {
        height: 40px; /* 与其他页面的标题高度保持一致 */
        margin: 0 auto; /* 居中显示 */
    }
    
    .logo-large {
        display: none;
    }
    
    .logo-large {
        width: 120px !important;
        height: auto !important;
        max-width: 120px;
        margin-bottom: 16px;
    }
    
    .investment-page .main-title h1,
    .partners-page .main-title h1,
    .news-page .main-title h1 {
        font-size: 40px;
        line-height: 1em;
    }
}