.banner {
    width: 100%;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    /* height: auto; */
    height: 400px;
    display: block;
    /* 确保图片作为块级元素显示 */
    object-fit: cover;
    /* 保持图片比例并填满容器 */
    object-position: center;
    /* 图片居中显示 */
    margin: 0;
    /* 移除所有边距 */
    padding: 0;
    /* 移除所有内边距 */
}

/* 如果需要确保整个页面内容占满屏幕，可以添加以下样式 */
.info-page {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

.info-tabs {
    margin-bottom: 20px;
    padding: 10px 0;
    background: #efefef;

    .l1Name {
        margin-top: 7px;
        font-size: 20px;
        font-weight: 600;
        color: #940c11;
        margin-right: 10px;
        padding: 0 50px;
        border-right: 1px solid #646464;
        width: 200px;
        align-content: center;
    }
}



.info-content {
    display: none;
    margin-top: 30px;
    /* 增加上边距 */
    text-align: left;
    /* 确保内容靠左对齐 */
}

.info-content.active {
    display: flex;
    gap: 30px;
    align-items: center;
    /* 垂直居中对齐 */
    flex-wrap: wrap;
    text-align: left;
    /* 确保内容靠左对齐 */
}

.info-left {
    flex: 0 0 50%;
}

.info-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* 文字垂直居中 */
}

.info-img {
    width: 100%;
    height: auto;
    /* border-radius: 8px; */
}

.info-page h2 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 30px;
    color: #333;
}


.info-tab-btn {
    padding: 10px 0;
    /*background-color: #f5f5f5;*/
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    flex: 1;
    min-width: 200px;
    transition: all 0.3s;
}

.info-tab-btn.active,
.info-tab-btn:hover {
    color: #940c11;
}

.info-content {
    display: none;
}

.info-content.active {
    display: block;
}

.notice-list,
.recruit-list {
    list-style: none;
}

.notice-item,
.recruit-item {
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-item a,
.recruit-item a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.notice-item a:hover,
.recruit-item a:hover {
    color: #940c11;
}

.notice-date,
.recruit-depart {
    color: #999;
    font-size: 14px;
}

/* 新闻列表项样式 - 自定义表格样式 */
.news-item {
    width: 70%;
    border-radius: 10px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #940c11;
}

.news-item.highlight {
    width: 70%;
    border-radius: 10px;
    margin: auto;
}

.news-header {
    display: flex;
    align-items: flex-start;
    /* margin-bottom: 10px; */
    align-items: center;
    /* margin-bottom: 20px; */

}

.news-date {
    background: #940c11;
    color: #fff;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-right: 20px;
    min-width: 100px;
    border-radius: 4px;
}

.news-date .month {
    font-size: 16px;
}

.news-date .day {
    font-size: 24px;
    font-weight: bold;
    padding-top: 5px;
    font-style: oblique;
}

.news-date .year {
    font-size: 14px;
}

.news-info h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
}

.news-info h3 a {
    color: #333;
    text-decoration: none;
}

.news-info h3 a:hover {
    color: #940c11;
    text-decoration: underline;
}

.news-content {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ql-align-right {
    text-align: right;
}

.news-content p {
    margin: 0;
    padding: 0;
}

#detail-title {
    text-align: center;
    /* 水平居中 */
    max-width: 84%;
    /* 最大宽度为屏幕的80% */
    margin: 0 auto;
    /* 自动外边距实现居中 */
    padding: 0 20px;
    /* 添加内边距避免文字贴边 */
    line-height: 1.5;
    word-wrap: break-word;
    /* 允许长单词换行 */
    overflow-wrap: break-word;

}

/* 响应式适配 */
@media (max-width: 768px) {
    .banner-img {
        height: 300px;
    }

    .info-page h2 {
        font-size: 24px;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .info-tabs {
        padding: 8px 0;
        margin-bottom: 15px;
    }

    .info-tabs .l1Name {
        font-size: 18px;
        padding: 0 30px;
        width: 150px;
        margin-top: 5px;
        border-right: 1px solid #646464;
    }



    .info-content {
        margin-top: 20px;
    }

    .info-content.active {
        gap: 20px;
    }

    .info-left {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }

    .info-right {
        flex: 1;
    }

    .news-item {
        width: 90%;
        padding: 12px;
        margin: 15px auto;
    }

    .news-item.highlight {
        width: 90%;
    }

    /* 保持日期为正方块样式 */
    .news-date {
        background: #940c11;
        color: #fff;
        width: 80px;
        height: 80px;
        min-width: 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-right: 15px;
        border-radius: 4px;
        font-size: 14px;
    }

    .news-date .month {
        font-size: 14px;
    }

    .news-date .day {
        font-size: 20px;
        font-weight: bold;
        padding-top: 3px;
        font-style: oblique;
    }

    .news-date .year {
        font-size: 12px;
    }

    .news-info h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .news-content {
        font-size: 13px;
    }

    .notice-item,
    .recruit-item {
        padding: 12px 0;
    }

    .notice-date,
    .recruit-depart {
        font-size: 13px;
    }
}

/* 小屏幕手机 (480px 及以下) */
@media (max-width: 480px) {
    .banner-img {
        height: 250px;
    }

    .info-page h2 {
        font-size: 20px;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .info-tabs {
        padding: 6px 0;
        margin-bottom: 10px;
    }

    .info-tabs .l1Name {
        font-size: 16px;
        padding: 0 20px;
        width: 120px;
        margin-top: 4px;
        border-right-width: 0.5px;
    }

    .info-tab-btn {
        font-size: 16px;
        padding: 8px 0;
        margin-top: 2px;
    }

    .info-content {
        margin-top: 15px;
    }

    .info-left {
        margin-bottom: 15px;
    }

    .news-item {
        width: 95%;
        padding: 10px;
        margin: 12px auto;
    }

    .news-item.highlight {
        width: 95%;
    }

    /* 保持日期为正方块样式 */
    .news-date {
        width: 70px;
        height: 70px;
        min-width: 70px;
        margin-right: 10px;
    }

    .news-date .month {
        font-size: 13px;
    }

    .news-date .day {
        font-size: 18px;
        padding-top: 2px;
    }

    .news-date .year {
        font-size: 11px;
    }

    .news-info h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .news-content {
        font-size: 12px;
        margin-top: 8px;
    }

    .notice-item,
    .recruit-item {
        padding: 10px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .notice-date,
    .recruit-depart {
        font-size: 12px;
        margin-top: 5px;
    }
}

/* 超小屏幕手机 (320px 及以下) */
@media (max-width: 320px) {
    .banner-img {
        height: 200px;
    }

    .info-tabs .l1Name {
        font-size: 14px;
        padding: 0 15px;
        width: 100px;
    }

    .info-tab-btn {
        font-size: 14px;
        padding: 6px 0;
    }

    .info-page h2 {
        font-size: 18px;
    }

    .news-item {
        padding: 8px;
        margin: 10px auto;
    }

    /* 保持日期为正方块样式 */
    .news-date {
        width: 60px;
        height: 60px;
        min-width: 60px;
        margin-right: 8px;
    }

    .news-date .month {
        font-size: 12px;
    }

    .news-date .day {
        font-size: 16px;
        padding-top: 1px;
    }

    .news-date .year {
        font-size: 10px;
    }

    .news-info h3 {
        font-size: 15px;
    }

    .news-content {
        font-size: 11px;
    }

    /* 1. 标题独占一行 */
    .info-tabs .l1Name {
        width: 100% !important;
        border-right: none !important;
        margin: 0 0 12px 0 !important;
        text-align: center;
    }

    /* 2. 按钮容器：横排 一排两个 */
    .info-tabs .column.flex {
        /* 你的按钮包裹层 */
        flex-direction: row !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        gap: 16px 12px;
        /* 上下16px，左右12px */
    }

    /* 3. 每个按钮占一半宽度 */
    .info-tab-btn {
        flex: 0 0 calc(50% - 6px) !important;
        /* 一半宽减间隙 */
        min-width: auto !important;
        margin: 0 !important;
        text-align: center;
    }
}