/* list.css  - 列表页专用样式 */
/* 头部样式调整 */
.mobile_h {
    display: block;
}

.pc_h {
    display: none;
}

.mobile_logo {
    position: relative;
    font-size: 26px;
    font-weight: bold;
    color: white;
    top: 15%;
    left: 5%;
}

.list-header-banner {
    position: relative;
}

.list-logo {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    left: calc((100% - 1400px) / 2);
    z-index: 1;
}

.list-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    max-width: 1400px;
}

.list-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.list-nav-menu li {
    margin-left: 20px;
}

.list-search-box {
    margin-left: 20px;
}

/* 新闻列表样式 */
.list-news-list {
    margin: 20px 0 40px;
    border-bottom: 1px solid #eee;
}

.list-news-item {
    padding: 15px 0;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-news-item a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    flex-grow: 1;
}

.list-news-item a:hover {
    color: #1a5276;
    transform: scale(1.01);
    /* 放大1% */
}

.list-news-item time {
    color: #888;
    font-size: 14px;
    min-width: 100px;
    text-align: right;
}

.list-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    margin-bottom: 50px;
}

.list-header-banner {
    position: relative;
    margin-bottom: 30px;
}

.list-banner-bg {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.list-navbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 20px 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 21px 20px 0px 0px;
}

.list-logo {
    font-size: 2.8rem;
    font-family: 微软雅黑;
    font-weight: bolder;
    color: #1a5276;
}

.list-nav-menu {
    display: flex;
    list-style: none;
}

.list-nav-menu li+li {
    margin-left: 20px;
}

.list-nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    transition: color .3s;
}

.list-nav-menu a:hover {
    color: #e74c3c;
}

.list-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 10px;
}

.list-search-box input {
    padding: 2px 15px;
    border: 1px solid #1a5276;
    border-radius: 10px;
    width: 150px;
    transition: width .3s;
}

.list-search-box input:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(26, 82, 118, .3);
    width: 200px;
}

.list-search-box button {
    background: transparent;
    border: none;
    color: #1a5276;
    font-size: 1.2rem;
    cursor: pointer;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #1a5276;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #154360;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

/* ========== 页脚 ========== */
footer {
    background: #bd1a2d;
    color: #fff;
    padding: 50px 0 20px;
}

.container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    width: 32%;
    margin-bottom: 30px;
}

.footer-column h3 {
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    padding-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-size: .8rem;
}

/* 左侧菜单样式 */
.list-main-container {
    display: flex;
    margin-top: 20px;
}

.list-sidebar {
    width: 220px;
    background: #f5f5f5;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
}

.list-sidebar-title {
    background: #bd1a2d;
    color: #fff;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px 4px 0 0;
}

.list-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-sidebar-menu li {
    border-bottom: 1px solid #e0e0e0;
}

.list-sidebar-menu li a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.list-sidebar-menu li a:hover {
    background: #e8e8e8;
    color: #1a5276;
}

.list-sidebar-menu li.active a {
    background: #e8e8e8;
    color: #1a5276;
    font-weight: bold;
    border-left: 3px solid #bd1a2d;
}

.list-content {
    flex: 1;
}

/* 移动端顶部栏 */
.mobile-header {
    display: none;
    background-color: var(--primary-red);
    padding: 15px;
    position: relative;
    z-index: 1000;
}

@media (max-width: 768px) {
    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #bd1a2d;
    }
}

.mobile-logo {
    display: flex;
    align-items: center;
    color: white;
}

.mobile-logo i {
    font-size: 28px;
    margin-right: 10px;
}

.mobile-logo span {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

.mobile-nav-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* 移动端导航菜单 */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    overflow-y: auto;
    padding-top: 60px;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav ul li a {
    display: block;
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    transition: all 0.3s;
}

.mobile-nav ul li a:hover {
    background-color: var(--primary-red);
    color: var(--gold);
}

/*适配手机*/
@media (max-width: 768px) {
    .mobile_h {
        display: none !important;
    }

    .pc_h {
        display: block !important;
    }

    .logo-icon img {
        height: 30px;
    }

    .logo-icon {
        font-size: 20px;
        margin-right: 10px;
    }

    .list-navbar {
        display: flex;
        justify-content: center;
    }

    .footer-column {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
    }

    .list-navbar {
        border-radius: 0 !important;
    }

    .list-banner-bg {
        height: 180px;
    }

    .list-container {
        margin-bottom: 0;
    }

    .list-header-banner {
        margin-bottom: 0;
    }
        .list-main-container {
               flex-direction: column;
       }

}