/* 公共头部样式 */
.banner-bg {
    position: relative;
    width: 100vw;
    max-width: 100%;
    overflow: hidden;
    height: 180px;
    background: #2d3e8b;
}

.banner-bg img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    filter: brightness(0.95) saturate(1.1);
}

.banner-title {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 24px;
    color: #fff;
    z-index: 2;
}

.banner-title .main-title {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.banner-title .sub-title {
    font-size: 1.2rem;
    margin-top: 8px;
}

/* 公共底部样式 */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    background-color: #ffffff;
    padding: 8px 0;
    padding-bottom: calc(env(safe-area-inset-bottom, 0) + 8px);
    border-top: 1px solid #f0f0f0;
}

.footer-nav a {
    color: #a0a0a0;
    text-decoration: none;
    text-align: center;
    font-size: 11px;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.footer-nav a .icon {
    display: block;
    margin: 0 auto 4px auto;
    width: 24px;
    height: 24px;
}

.footer-nav a .icon svg {
    width: 100%;
    height: 100%;
    fill: #a0a0a0;
    transition: fill 0.2s;
}

.footer-nav a.active {
    color: #337ab7;
}

.footer-nav a.active .icon svg {
    fill: #337ab7;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .banner-title .main-title {
        font-size: 1.4rem;
    }
}