@charset "utf-8";
/* CSS Document */

/* 全局样式重置和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-weight: normal;
    color: #9195a3;
    background-color: #fff;
    line-height: 1.5;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    display: block;
    background: #fff;
}

/* Banner样式 */
#banner {
    min-height: 361px;
    background-image: url("/img/banner.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border-radius: 0 0 10px 10px;
    margin-bottom: 20px;
    margin-top: 20px; /* 增加顶部空间 */
    transition: min-height 0.3s ease;
    height: 361px;
}

/* Solgan样式 - 优化字体大小和背景 */
#solgan {
    min-height: 72px;
    color: #033044;
    text-align: center;
    font-size: 2.5rem; /* 更适合的基础字体大小 */
    font-weight: 500;
    padding: 30px 20px; /* 增加水平内边距 */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

#solgan:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

/* 分隔线样式 */
hr {
    max-width: 80%;
    border: #023043 thin;
    margin: 30px auto;
}

/* Footer样式 */
#footer {
    align-content: center;
    display: block;
    text-align: center;
    color: #9195a3;
    padding: 20px 10px;
}

#footer a {
    color: #9195a3;
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer a:hover {
    color: #9195a3;
    text-decoration: underline;
}

/* 响应式设计 - 平板设备 */
@media (max-width: 768px) {
    #banner {
        min-height: 280px;
        height: 280px;
    }
    
    #solgan {
        font-size: 2rem; /* 平板设备上更适合的字体大小 */
        padding: 25px 10px;
        background: #f9f9f9;
    }
    
    hr {
        max-width: 90%;
    }
}

/* 响应式设计 - 移动设备 */
@media (max-width: 480px) {
    #banner {
        min-height: 200px;
        height: 200px;
        border-radius: 0 0 8px 8px;
        margin-top: 15px; /* 移动设备上的顶部空间 */
    }
    
    /* Solgan移动端优化 - 字体大小更为适宜 */
    #solgan {
        font-size: 1.6rem; /* 移动端更适合的字体大小 */
        padding: 20px 20px; /* 增加水平内边距，解决左右分布不均 */
        min-height: 60px;
        margin: 0 auto 15px auto; /* 使用自动外边距居中 */
        border-radius: 6px;
        background: #f9f9f9;
        color: #033044;
        max-width: 90%; /* 限制最大宽度，增强视觉效果 */
    }
    
    #footer {
        font-size: 0.9rem;
        padding: 15px 10px;
    }
    
    hr {
        max-width: 95%;
        margin: 20px auto;
    }
}

/* 响应式设计 - 大屏设备 */
@media (min-width: 1200px) {
    #banner {
        min-height: 361px;
        height: 361px;
    }
    
    #solgan {
        font-size: 3rem; /* 大屏设备上更适合的字体大小 */
        padding: 40px 20px;
    }
}