/* banner-nav.css - 页面Banner和面包屑导航样式 */
/* Banner 基础样式 */
.inbanner {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.inbanner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.inbanner .txtbg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.inbanner .txt {
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.inbanner .txt .h2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
}

.inbanner .txt .h3 {
    font-size: 20px;
    font-weight: normal;
}

/* 面包屑导航样式 */
.inbarbg {
    background: #f5f7fa;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.inbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.weizhi {
    font-size: 14px;
    color: #666;
}

.weizhi a {
    color: #165DFF;
    text-decoration: none;
}

.weizhi a:hover {
    text-decoration: underline;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .inbanner .txt .h2 {
        font-size: 28px;
    }
    .inbanner .txt .h3 {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .inbanner .txt .h2 {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .inbanner {
        height: 140px; /* 进一步降低高度 */
        margin-top: 0px ; /* 适配小屏导航栏高度 */
    }
    .inbanner .txt .h2 {
        font-size: 20px;
    }
    .weizhi {
        font-size: 13px; /* 缩小位置文字 */
    }
}

/* ========== 复用扩展样式（可选） ========== */
/* 1. 暗色文字版（适配亮色banner图） */
.inbanner.txt-dark .txt {
    color: #000;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

/* 2. 无导航栏偏移版（适配非固定导航页面） */
.inbanner.no-margin {
    margin-top: 0 ;
}

/* 3. 自定义高度版（按需调整） */
.inbanner.height-sm {
    height: 200px;
}
.inbanner.height-lg {
    height: 350px;
}