/* main.css - 公共基础样式 */
:root {
    --primary-red: #981b1e;
    --dark-red: #7a1215;
    --light-bg: #fdfdfd;
    --text-dark: #333;
    --text-gray: #666;
    --border-color: #ddd;
    --container-width: 1300px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", Arial, sans-serif; background-color: #fff; font-size: 14px; color: var(--text-dark); }
li, ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: .3s; }
a:hover { color: #A30808; }

/* 布局容器 */
.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 15px; }

/* Header & Top Bar */
header { background: var(--primary-red); color: #fff; background: url('../images/top_back.png') no-repeat center; background-size: 100% 100%; }
.top-bar { background-size: cover; height: 100px; position: relative; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo-area { display: flex; align-items: center; gap: 20px; }
.logo-img { height: 60px; }
.top-links { font-size: 12px; position: absolute; top: 10px; right: 240px; }

/* Search Box */
.search-box { position: absolute; right: 240px; bottom: 20px; display: flex; align-items: center; gap: 10px; background: rgba(163, 8, 8, .5); border: 1px solid rgba(255, 255, 255, .5); border-radius: 15px; padding: 5px 15px; color: #fff; outline: 0; }
.search-box input { all: unset; width: 150px; }
.search-box input::placeholder { color: rgba(255, 255, 255, .8); }
.search-box .fa-search { cursor: pointer; }

/* Nav Bar */
.nav-bar { border-top: 1px solid rgba(255, 255, 255, .1); }
.nav-list { display: flex; justify-content: space-around; }
.nav-list>li { position: relative; }
.nav-list>li>a { display: block; padding: 12px 25px; color: #fff; font-size: 15px; font-weight: 700; }
.nav-list>li:hover>a, .nav-list>li.active>a { background: var(--dark-red); }

/* Dropdown */
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: rgba(163, 8, 8, .8); color: #fff; min-width: 120px; box-shadow: 0 2px 5px rgba(0, 0, 0, .2); z-index: 100; }
.nav-list>li:hover .dropdown { display: block; }
.dropdown li a { display: block; padding: 8px 15px; font-size: 13px; }
.dropdown li:hover { background: rgba(144, 12, 12, .5); }
.dropdown li a:hover { color: #fff; }

/* Mobile Menu Button */
.mobile-menu-btn { display: none; font-size: 24px; color: #fff; cursor: pointer; }

/* 内页通用 Banner (Home页不使用，但为了统一定义在此) */
.banner-text { text-align: center; color: #3e2b22; margin-top: -30px; }
.banner-text h1 { font-size: 60px; font-family: KaiTi, STKaiti, serif; margin-bottom: 20px; font-weight: 700; text-shadow: 2px 2px 4px rgba(255, 255, 255, .8); }
.banner-text p { font-size: 24px; letter-spacing: 2px; font-weight: 400; }

/* 内页通用布局 Grid */
.page-content { padding: 40px 0; background: #fdfdfd; }
.layout-grid { display: flex; gap: 30px; align-items: flex-start; }

/* 侧边栏 (Sidebar) */
.sidebar { width: 260px; flex-shrink: 0; }
.sidebar-header { background: var(--primary-red); color: #fff; padding: 15px 20px; font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; border-radius: 4px 4px 0 0; }
.sidebar-menu { padding-bottom: 10px; min-height: 20px; margin-top:10px;}
.sidebar-menu li{margin-top: 2px;background: #f5f5f5;}
.sidebar-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 20px; color: #333; font-size: 14px; transition: all .3s; }
.sidebar-menu li a:hover, .sidebar-menu li.active a { color: var(--primary-red); padding-left: 25px; font-weight: 700; width: 100%;}
.sidebar-menu li.active{display: flex;justify-content:space-around;background: #FBF3F3;}
 .sidebar-menu li.active::before {display: inline-block;content: "";width: 4px;background: #990000;}
.sidebar-menu li a::after { content: "\f105"; font-family: "Font Awesome 5 Free"; font-weight: 900; color: #ccc; }
.sidebar-menu li.active a::after { color: var(--primary-red); }
.sidebar-img { margin-top: 20px; width: 100%; height: auto;  box-shadow: 0 4px 8px rgba(0, 0, 0, .1); }

/* 主内容区框架 */
.main-article { flex: 1; background: #fff; min-height: 500px; }
.article-top-bar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #ddd; padding-bottom: 15px; margin-bottom: 30px; }
.page-title-tab { font-size: 18px; font-weight: 700; color: var(--primary-red); border-bottom: 3px solid var(--primary-red); padding-bottom: 13px; margin-bottom: -17px; }

/* 面包屑导航 */
.breadcrumb { font-size: 12px; color: #888; }
.breadcrumb i { margin-right: 5px; }
.breadcrumb span { margin: 0 5px; }

/* 通用分页 */
.pagination { display: flex; justify-content: center; align-items: center; margin-top: 50px; gap: 5px; }
.page-btn { border: 1px solid #ddd; background: #fff; color: #666; width: 36px; height: 36px; display: flex; justify-content: center; align-items: center; font-size: 13px; cursor: pointer; transition: .3s; }
.page-btn.text-btn { width: auto; padding: 0 10px; }
.page-btn.active, .page-btn:hover { border-color: var(--primary-red); background: var(--primary-red); color: #fff; }
.page-dots { color: #999; margin: 0 5px; }

/* Footer */
footer { background: url('../images/footer-bg.png') no-repeat; color: rgba(255, 255, 255, .8);  position: relative; overflow: hidden; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; position: relative; z-index: 2; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-left ,.footer-links,.footer-qr{padding:40px 0 20px 0;}
.footer-left ,.footer-links{border-right:1px solid #C34353;padding-right:10%;}
.footer-left h3 { color: #fff; margin-bottom: 15px; font-size: 16px; }
.footer-left p { line-height: 2; font-size: 13px; }
.footer-links { display: flex; align-items: center; gap: 40px; min-width: 200px; }
.footer-select { display: flex; flex-direction: column; gap: 10px;margin-left:10px; }
.footer-select-dropdown { width: 100%; padding: 10px; border: 1px solid rgba(255, 255, 255, .2); background: 0 0; color: #fff; border-radius: 4px; cursor: pointer; font-size: 13px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 30px; }
.footer-select-dropdown:focus { outline: 0; border-color: rgba(255, 255, 255, .5); }
.footer-select-dropdown option { background: #711215; color: #fff; }
.footer-qr { display: flex; gap: 20px; }
.qr-item { text-align: center; font-size: 12px; }
.qr-item img { width: 80px; height: 80px; background: #fff; margin-bottom: 5px; }
.copyright { background: rgba(74, 0, 2, .8); text-align: center; padding: 15px 0; font-size: 12px; position: relative; z-index: 2; }
.copyright .logo-img {height:40px;vertical-align:middle;margin-right:40px;}
/* 响应式 (Global Mobile) */
@media (max-width: 768px) {
    .container { width: 100%; padding: 0 10px; }
    .nav-bar .container { padding: 0; }
    header { background: 0 0; }
    .top-bar { height: auto; background: url('../images/top_back.png') no-repeat center; background-size: 100% 100%; }
    .top-bar .container { flex-direction: row; flex-wrap: wrap; height: auto; align-items: center; justify-content: space-between; }
    .top-links { position: static; order: 1; margin: 5px 0; font-size: 12px; }
    .logo-area { justify-content: center; order: 2; margin: 10px 0;width:100%; }
    .logo-area a{width:100%;}
    .logo-img { height: 40px;width:100%; }
    .mobile-menu-btn { display: block; position: static;margin-left: 10px; }
    .search-box { position: static;  margin: 10px 0 5px; justify-content: center; background: rgba(163, 8, 8, .7); }
    
    .nav-list { order: 5; width: 100%; display: none; flex-direction: column; background: var(--dark-red); }
    .nav-list.active { display: flex; }
    .nav-list>li>a { border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 15px; text-align: center; }
    .dropdown { position: static; width: 100%; text-align: center; background: #90191c; display: none; }
    .dropdown li a { color: #fff; }
    .nav-list>li.open .dropdown { display: block; }
    
    .inner-banner { height: 100px !important; }
    .banner-text h1 { font-size: 32px; }
    .banner-text p { font-size: 14px; }
    
    .layout-grid { flex-direction: column; gap: 20px; }
    .sidebar { width: 100%; }
    .main-article  { width: 100%; }
    .sidebar-img { display: none; }
    .article-body img { width: 100%; }
    .article-content img {width:100% !important;height:auto !important;}
    .article-top-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
    .page-title-tab { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
    .breadcrumb { width: 100%; padding-top: 10px; border-top: 1px dashed #eee; }
    
    .footer-content { text-align: center; display: block; position: relative; z-index: 2; border-bottom: 1px solid rgba(255, 255, 255, .1); padding-bottom: 0; }
    .footer-left h3 { margin-bottom: 5px; }
    .footer-links { display: block; width: 100%; margin-top: 10px; }
    .footer-select { align-items: center; display: flex; flex-direction: row; margin-left:10px;margin-bottom:10px;}
    .footer-select-dropdown { max-width: 300px; margin: 0 auto; }
    .footer-qr { justify-content: center; margin-top: 10px;display:none; }
    .footer-left ,.footer-links,.footer-qr{padding:10px;border-right:none;margin:0;}
    .qr-item { flex: 0 0 auto; width: 45%; max-width: 120px; }
    footer::before { display: none; }
    footer { padding-top: 0; }
}





body .pb_sys_common  .p_no_d{  border: 1px solid var(--primary-red); background-color: var(--primary-red);}
@media (min-width: 769px) {
    body .pb_sys_common { font-size: 16px; line-height: 32px; font-family: initial; }
    body .pb_sys_common .p_t { line-height: 32px;}
    body .pb_sys_common .p_fun_d, 
    body .pb_sys_common .p_no_d, 
    body .pb_sys_common .p_no_o, 
    body .pb_sys_common .p_fun a, 
    body .pb_sys_common .p_no a { padding: 0 10px; margin: 0px 0px 0px 8px; height: 32px; line-height: 30px; border-radius: 4px;}
}