/**
 * 关于能辉页面Banner样式
 * 响应式设计，适配不同设备
 */

.about-banner {
    position: relative;
    width: 100%;
    height: 500px;
    /* background-image: url('../images/about-nenghui-banner.webp'); */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Banner内容容器 */
.about-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top: 8rem;
    overflow: hidden;
}

/* 主标题 */
.about-banner-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    line-height: 1.2;
}

/* 副标题 */
.about-banner-subtitle {
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    line-height: 1.4;
}

/* 响应式设计 - 平板设备 */
@media (max-width: 1024px) {
    .about-banner {
        height: 400px;
    }
    
    .about-banner-title {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .about-banner-subtitle {
        font-size: 18px;
    }
}

/* 响应式设计 - 手机设备 */
@media (max-width: 768px) {
    .about-banner {
        height: 350px;
    }
    
    .about-banner-content {
        padding: 0 15px;
    }
    
    .about-banner-title {
        font-size: 32px;
        margin-bottom: 12px;
        letter-spacing: 1px;
    }
    
    .about-banner-subtitle {
        font-size: 16px;
    }
}

/* 响应式设计 - 小屏手机 */
@media (max-width: 480px) {
    .about-banner {
        height: 300px;
    }
    
    .about-banner-title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .about-banner-subtitle {
        font-size: 14px;
    }
}

/* 大屏设备优化 */
@media (min-width: 1400px) {
    .about-banner {
        height: 650px;
    }
    
    .about-banner-title {
        font-size: 56px;
        margin-bottom: 25px;
    }
    
    .about-banner-subtitle {
        font-size: 24px;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .about-banner-title {
        color: #ffffff;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    
    .about-banner-subtitle {
        color: #f0f0f0;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
}

/* 减少动画效果 */
@media (prefers-reduced-motion: reduce) {
    .about-banner {
        background-attachment: scroll;
    }
}

/* 打印样式 */
@media print {
    .about-banner {
        background: none;
        color: #000;
        page-break-inside: avoid;
    }
    
    .about-banner-title,
    .about-banner-subtitle {
        color: #000;
        text-shadow: none;
    }
}

/* 关于页面主要内容区域样式 */
.about-content {
    padding: 80px 0;
    background-color: #ffffff;
}

.about-main-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text-content {
    flex: 1;
    max-width: 600px;
}

.about-main-title {
    font-size: 23px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.about-description {
    color: #666666;
    line-height: 1.8;
    font-size: 1rem;
}

.about-description p {
    margin-bottom: 20px;
    text-align: justify;
}

.about-description p:last-child {
    margin-bottom: 0;
}


.about-main-image {
    width: 150%;
    height: auto;
}

/* 平板设备适配 */
@media (max-width: 1024px) {
    .about-main-section {
        gap: 40px;
        padding: 0 30px;
    }
    
    .about-main-title {
        font-size: 28px;
    }
    
    .about-description {
        font-size: 15px;
    }
}

/* 手机设备适配 */
@media (max-width: 768px) {
    .about-content {
        padding: 60px 0;
    }
    
    .about-main-section {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }
    
    .about-text-content {
        max-width: 100%;
        order: 2;
    }
    
    .about-image-content {
        max-width: 100%;
        order: 1;
    }

    .about-main-image {
        width: 100%;
    }
    
    .about-main-title {
        font-size: 24px;
        text-align: center;
        margin-bottom: 25px;
    }
    
    .about-description {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* 小屏手机适配 */
@media (max-width: 480px) {
    .about-content {
        padding: 40px 0;
    }
    
    .about-main-section {
        gap: 30px;
        padding: 0 15px;
    }
    
    .about-main-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .about-description p {
        margin-bottom: 15px;
    }
}