body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #e9ecef; /* 更柔和的背景颜色 */
}

.container {
    max-width: 1400px; /* 最大宽度 */
    margin: 100px auto 20px;
    padding: 20px; /* 内边距 */
    background-color: #ffffff; /* 背景颜色 */
    border-radius: 10px; /* 圆角 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* 阴影效果 */
}

.news-title {
    font-size: 32px; /* 增加字体大小 */
    font-weight: 700; /* 加粗字体 */
    color: #333; /* 字体颜色 */
    margin-bottom: 20px; /* 下边距 */
    text-align: center; /* 居中对齐 */
    text-transform: uppercase; /* 大写字母 */
    letter-spacing: 1px; /* 字母间距 */
    position: relative; /* 为阴影效果做准备 */
}

.news-title::after {
    content: ''; /* 添加伪元素 */
    display: block; /* 使其成为块级元素 */
    width: 50%; /* 设置宽度 */
    height: 4px; /* 设置高度 */
    background: linear-gradient(90deg, #007bff, #00c6ff); /* 渐变背景 */
    margin: 10px auto 0; /* 上边距和居中对齐 */
    border-radius: 2px; /* 圆角 */
}

.news-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #495057;
    margin: 15px 0;
    text-align: left;
    padding-left: 5px;
    border-left: 4px solid #007bff;
}

/* 表格样式 */
.news-table-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
}

.news-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.news-table th {
    background-color: #f8f9fa;
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.news-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
    text-align: center;
}

.news-table tbody tr {
    transition: background-color 0.2s;
}

.news-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* 操作按钮 */
.news-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.1);
    color: #0056b3;
    border: 1px solid rgba(0, 123, 255, 0.3);
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.news-detail-btn:hover {
    background: rgba(0, 123, 255, 0.2);
    color: #0056b3;
    border-color: #0056b3;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-detail-btn i {
    margin-right: 5px;
    font-size: 13px;
}

/* 表格内容样式调整 */
.news-table td:nth-child(2) {
    text-align: left; /* 标题左对齐 */
    padding-left: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-table td:nth-child(1),
.news-table td:nth-child(3) {
    color: #6c757d; /* 序号和日期使用灰色 */
}

/* 分页样式 */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination {
    display: flex;
    justify-content: center; /* 居中对齐 */
    align-items: center; /* 垂直居中对齐 */
}

.pagination button:disabled {
    cursor: not-allowed; /* 禁用状态的鼠标样式 */
}

.layui-laypage a:hover {
    color: #007bff !important;
}

.layui-laypage .layui-laypage-curr .layui-laypage-em {
    background-color: #007bff;
}

@media (max-width: 768px) {
    .container {
        margin: 50px auto 0 !important;
        border-radius: 0 !important;
        padding: 5px !important;
    }
    
    .news-table th, 
    .news-table td {
        padding: 8px 3px;
        font-size: 13px;
    }
    
    /* 处理手机版标题列宽度 */
    .news-table th:nth-child(2) {
        width: 50% !important;
    }
    
    /* 减小操作列宽度 */
    .news-table th:nth-child(4),
    .news-table td:nth-child(4) {
        width: 18% !important;
        padding-left: 0;
        padding-right: 0;
    }
    
    /* 优化查看按钮在移动端的显示 */
    .news-detail-btn {
        padding: 4px 6px;
        font-size: 12px;
        min-width: auto;
    }
    
    /* 移动端只显示图标不显示文字 */
    .news-detail-btn span {
        display: none;
    }
    
    .news-detail-btn i {
        margin-right: 0;
        font-size: 14px;
    }
}

/* 面包屑导航增强样式 */
.common-breadcrumb {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
    padding: 0;
    position: relative;
    background: none;
    border: none;
    visibility: visible !important;
    opacity: 1 !important;
}

.common-breadcrumb::after {
    content: '';
    position: absolute;
    height: 1px;
    background: linear-gradient(to right, rgba(203, 213, 224, 0), rgba(203, 213, 224, 0.5), rgba(203, 213, 224, 0));
    bottom: -10px;
    left: 0;
    right: 0;
}

.common-breadcrumb-item {
    color: #718096;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex !important;
    align-items: center;
    letter-spacing: 0.3px;
}

.common-breadcrumb-item a {
    color: #718096;
    text-decoration: none;
}

.common-breadcrumb-item a:hover {
    color: #3182ce;
}

.common-breadcrumb i {
    font-size: 12px;
    margin-right: 6px;
    opacity: 0.8;
}

.common-breadcrumb-divider {
    margin: 0 8px;
    color: #CBD5E0;
    font-size: 12px;
    user-select: none;
}

.common-breadcrumb-current {
    color: #2D3748;
    font-weight: 600;
    display: flex !important;
    align-items: center;
}

/* 移动端面包屑样式 */
@media (max-width: 768px) {
    .common-breadcrumb {
        display: flex !important;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
    }
    
    .common-breadcrumb::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .common-breadcrumb-item, 
    .common-breadcrumb-current {
        font-size: 13px;
        display: inline-flex !important;
    }
}