@charset "utf-8";

body {
  font-family: Microsoft YaHei, Arial, Helvetica, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover {
  color: #C23434;
}

.clear {
  clear: both;
}

header {
  margin: 0 auto;
  width: 100%;
  max-width: 640px;
  background: #C23434;
  background-image: -webkit-linear-gradient(top, #AB3030, #C23434);
  background-image: linear-gradient(to bottom, #AB3030, #C23434);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.loc_logo_nav {
  width: 100%;
  color: #FFF;
}

.loc_logo_navbtn {
  width: 100%;
  height: 50px;
  line-height: 50px;
  color: #FFF;
  font-weight: bold;
  cursor: pointer;
}

.loc_logo {
  float: left;
}

.logo {
  float: left;
  padding-left: 10px;
}

.logo h1 a {
  font-size: 1.2em;
  color: #FFFFFF;
  height: 50px;
  line-height: 50px;
  font-weight: bold;
  display: block;
}

.navbtn {
  float: right;
  width: 50px;
  height: 50px;
  background: url(../../../images/2014/m/icon_5F25x20.png) center no-repeat;
  background-size: 25px 20px;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

header nav {
  display: none;
  padding: 0 10px;
  border-top: 1px solid #A0141D;
}

nav ul {
  padding: 10px 0;
}

nav ul li {
  float: left;
  width: 33.3333333%;
  line-height: 2.5em;
  text-align: center;
}

nav ul li a {
  color: #FFF;
  font-size: 0.95em;
}

section {
  margin: 0 auto;
  width: 100%;
  max-width: 640px;
  padding: 10px;
  box-sizing: border-box;
}

.banner-section {
  margin-bottom: 15px;
  border-radius: 8px;
  width: 100%;
  height: 180px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.banner-slider {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.banner-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  display: none;
}

.banner-item.active {
  display: block;
}

.banner-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.banner-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

/* 原有基础样式保留，仅修改/新增以下部分 */
.quick-nav {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
  padding: 15px;
  background: #fff; /* 容器背景保持白色，如需修改可调整 */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.quick-item {
  width: 33.333333%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  box-sizing: border-box;
}

/* 重置通用icon样式，移除原有渐变背景 */
.quick-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 5px;
  box-shadow: 0 3px 8px rgba(194, 52, 52, 0.3);
  background-position: center;
  background-size: 120%;
  background-repeat: no-repeat;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 每个入口的专属背景图（替换为你的实际图片路径） */
.guokao-icon {
  background-image: url("../../../images/2014/m/nav-guokao.png");
}
.shengkao-icon {
  background-image: url("../../../images/2014/m/nav-shengkao.png");
}
.shiye-icon {
  background-image: url("../../../images/2014/m/nav-shiye.png");
}
.zhuanxiang-icon {
  background-image: url("../../../images/2014/m/nav-zhuanxiang.png");
}
.ziliao-icon {
  background-image: url("../../../images/2014/m/nav-ziliao.png");
}
.zhenti-icon {
  background-image: url("../../../images/2014/m/nav-zhenti.png");
}

.quick-text {
  font-size: 0.85em;
  color: #333;
}

/* 多屏幕适配（原有适配逻辑保留，背景图会自动跟随尺寸缩放） */
@media screen and (max-width: 374px) {
  .quick-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1em;
  }
  .quick-text {
    font-size: 0.8em;
  }
}

@media screen and (min-width: 375px) and (max-width: 413px) {
  .quick-icon {
    width: 48px;
    height: 48px;
    line-height: 48px;
  }
}

@media screen and (min-width: 414px) {
  .quick-icon {
    width: 52px;
    height: 52px;
    line-height: 52px;
  }
  .quick-text {
    font-size: 0.9em;
  }
}

/* 大屏下调整入口宽度，背景图仍适配 */
@media screen and (min-width: 640px) {
  .quick-item {
    width: 16.6666666%;
  }
}

.section-box {
  margin-bottom: 15px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-title {
  height: 45px;
  line-height: 45px;
  padding: 0 15px;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title h3 {
  font-size: 1.1em;
  font-weight: bold;
  color: #333;
}

.section-title h3 a {
  color: #C23434;
}

.more-link a {
  font-size: 0.9em;
  color: #999;
}

.section-content {
  padding: 10px 15px;
  text-align: left; /* 明确设置文本靠左对齐 */
}

.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item a {
  flex: 1;
  font-size: 0.9em;
  color: #333;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-date {
  font-size: 0.8em;
  color: #999;
  margin-left: 10px;
  flex-shrink: 0;
}

.material-tabs,
.area-tabs,
.other-tabs,
.category-tabs {
  padding: 0;
  overflow: hidden;
}

.category-tabs .tabs {
  width: 100%;
  float: left;
}

.hot-news {
  padding: 10px 15px;
  background: #fff5f5;
}

.hot-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed #ffcccc;
}

.hot-item:last-child {
  border-bottom: none;
}

.hot-tag {
  background: #C23434;
  color: #fff;
  font-size: 0.7em;
  padding: 2px 8px;
  margin-right: 10px;
  flex-shrink: 0;
  font-weight: bold;
  border-radius: 4px;
}

.hot-item a {
  color: #333;
  font-size: 0.9em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.load-more {
  text-align: center;
  padding: 15px 0;
  border-top: 1px dashed #ddd;
  margin-top: 10px;
}

.load-more a {
  color: #C23434;
  font-size: 0.9em;
}

.news-list-hidden {
  display: none;
}

.more {
  text-align: center;
  padding: 12px 20px;
  margin-top: 10px;
  background: #C23434;
  border-radius: 4px;
  display: inline-block;
  width: calc(100% - 40px);
}

.more-btn {
  color: #fff;
  font-size: 0.95em;
  font-weight: bold;
}

.more-btn:hover {
  color: #fff;
  text-decoration: none;
}

.tabs {
  width: 100%;
  height: 45px;
  line-height: 45px;
  position: relative;
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  overflow: hidden;
}

.tabs .moving_bg {
  width: 25%;
  height: 43px;
  border-bottom: 2px solid #C23434;
  background-color: #fff;
  position: absolute;
  z-index: 190;
  left: 0;
  overflow: hidden;
  transition: left 0.3s ease;
}

.tabs2 .moving_bg {
  width: 20%;
}

.tabs3 .moving_bg {
  width: 16.6666666%;
}

.tabs .tab_item {
  display: block;
  float: left;
  width: 25%;
  color: #333;
  text-align: center;
  z-index: 200;
  position: relative;
  cursor: pointer;
  font-weight: bold;
  overflow: hidden;
  font-size: 0.9em;
}

.tabs2 .tab_item {
  width: 20%;
}

.tabs3 .tab_item {
  width: 16.6666666%;
}

.tabs .tab_item:hover,
.tabs .tab_item.active {
  color: #C23434;
}

.slide_content {
  overflow: hidden;
  background-color: #fff;
  position: relative;
  width: 100%;
}

.tabslider {
  width: 400%;
  transition: margin-left 0.3s ease;
}

.tabslider2 {
  width: 500%;
}

.tabslider3 {
  width: 600%;
}

.tabslider ul {
  float: left;
  margin: 0;
  width: 25%;
  text-align: left;
  box-sizing: border-box;
  background: none;
}

.tabslider2 ul {
  width: 20%;
}

.tabslider3 ul {
  width: 16.6666666%;
}

.tabslider ul li {
  padding: 12px 18px;
  border-bottom: 1px solid #f0f0f0;
}

.tabslider ul li:last-child {
  border-bottom: none;
}

.tabslider ul li a {
  font-size: 0.9em;
  color: #333;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#top {
  position: fixed !important;
  right: 10px !important;
  bottom: 80px !important;
  width: auto !important;
  height: auto !important;
  z-index: 999 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media screen and (min-width: 640px) {
  #top {
    right: calc(50% - 320px + 10px) !important;
  }
}

#top.show {
  opacity: 1;
  visibility: visible;
}

#goTopBtn {
  position: relative !important;
  width: 50px !important;
  height: 50px !important;
  cursor: pointer;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

footer {
  margin: 0 auto;
  margin-top: 10px;
  width: 100%;
  max-width: 640px;
  padding: 20px 10px;
  background: #f8f8f8;
  border-top: 1px solid #e0e0e0;
  font-size: 0.85em;
  color: #999;
  text-align: center;
}

.fontArial {
  font-family: 'Arial';
}

@media screen and (max-width: 374px) {
  .logo h1 a {
    font-size: 1em;
  }
  
  .quick-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1em;
  }
  
  .quick-text {
    font-size: 0.8em;
  }
  
  .section-title h3 {
    font-size: 1em;
  }
  
  .news-item a {
    font-size: 0.85em;
  }
}

@media screen and (min-width: 375px) and (max-width: 413px) {
  .logo h1 a {
    font-size: 1.1em;
  }
  
  .quick-icon {
    width: 48px;
    height: 48px;
    line-height: 48px;
  }
}

@media screen and (min-width: 414px) {
  .logo h1 a {
    font-size: 1.3em;
  }
  
  .quick-icon {
    width: 52px;
    height: 52px;
    line-height: 52px;
  }
  
  .quick-text {
    font-size: 0.9em;
  }
  
  .section-title h3 {
    font-size: 1.2em;
  }
  
  .news-item a {
    font-size: 0.95em;
  }
  
  .banner-slider {
    height: 200px;
  }
}

@media screen and (min-width: 480px) {
  nav {
    display: block !important;
  }
  
  nav ul li {
    width: 16.6666666%;
  }
  
  .banner-slider {
    height: 220px;
  }
}

@media screen and (min-width: 640px) {
  section {
    padding: 15px;
  }
  
  .quick-item {
    width: 16.6666666%;
  }
  
  .banner-slider {
    height: 250px;
  }
/* 基础样式 */
.clearfix:after,
.clearfix:before {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clearfix {
    *zoom: 1;
}

/* 底部固定导航 */
.footer_list {
    background: #fff;
    height: 1.5rem;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 2;
    box-shadow: -1px -5px 11px rgba(169, 169, 169, 0.65);
}
.footer_list li {
    padding: 0.2rem 0 0;
    float: left;
    width: 25%;
    position: relative;
    border-right: solid 1px rgba(255, 255, 255, 0.12);
}
.footer_list li:after {
    display: none;
    content: "";
    width: 1.6rem;
    height: 1.6rem;
    position: absolute;
    top: -0.6rem;
    left: 50%;
    background: url(../images/footer_on1.png) no-repeat center;
    z-index: 1;
    background-size: 100%;
    margin-left: -0.8rem;
}
.footer_list li.on:after {
    display: block;
}
.footer_list li.on img {
    margin-top: -0.2rem;
    margin-bottom: 0.35rem;
    width: 0.6rem;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}
.footer_list li:last-child {
    border-right: none;
}
.footer_list li a {
    position: relative;
    z-index: 12;
    display: block;
    text-align: center;
    font-size: 0.3rem;
    color: #a5a5a5;
    line-height: 1.8;
}
.footer_list li a img {
    width: 0.7rem;
    display: block;
    margin: 0 auto;
}

/* 内容底部填充 */
.div_pb {
    height: 2.3rem;
}

/* 栏目列表页样式 - 参照列表页参照.html */
.mbx {
    padding: 12px 15px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.85em;
    color: #666;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mbx img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.mbx a {
    color: #666;
}

.mbx a:hover {
    color: #C23434;
}

.ydy_con {
    background: #f5f5f5;
    padding: 10px;
}

.ydy_left {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
}

.title {
    background: linear-gradient(135deg, #C23434, #E53935);
    padding: 12px 15px;
    border-bottom: none;
}

.title a {
    display: block;
}

.title_icon {
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
}

.title_icon img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.questions_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.questions_list li {
    border-bottom: 1px solid #f0f0f0;
}

.questions_list li:last-child {
    border-bottom: none;
}

.questions_list li a {
    display: block;
    padding: 15px;
    color: #333;
    font-size: 0.95em;
    line-height: 1.6;
    position: relative;
}

.questions_list li a:hover {
    background: #f9f9f9;
}

.questions_list li a span.pull-right {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    color: #999;
    white-space: nowrap;
}

.questions_list li a font {
    display: block;
    padding-right: 100px;
    color: #333;
}

.questions_list li a font[color="red"] {
    color: #C23434;
    font-weight: bold;
}

/* 分页样式 */
.page {
    padding: 20px 15px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    line-height: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page * {
    float: none !important;
    display: inline-block !important;
    vertical-align: middle;
}

.page a,
.page span {
    padding: 6px 12px;
    margin: 0 2px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.85em;
    color: #333;
    text-decoration: none;
}

.page a:hover {
    background: #C23434;
    color: #fff;
    border-color: #C23434;
}

.page span.current {
    background: #C23434;
    color: #fff;
    border-color: #C23434;
}

.page .a1 {
    display: none !important;
}

.page form,
.page .pageinfo {
    display: none !important;
}

.page span:nth-child(n+8) {
    display: none !important;
}

.page a:nth-child(n+8) {
    display: none !important;
}

.page span:empty,
.page a:empty {
    display: none !important;
}

/* 右侧边栏 */
.ydy_right {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ydy_right_top {
    margin-bottom: 15px;
}

.ydy_right_top .title {
    background: linear-gradient(135deg, #FF9800, #FFA726);
}

.ydy_left_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ydy_left_list li {
    border-bottom: 1px solid #f0f0f0;
}

.ydy_left_list li:last-child {
    border-bottom: none;
}

.ydy_left_list li a {
    display: block;
    padding: 12px 15px;
    color: #333;
    font-size: 0.9em;
    line-height: 1.5;
}

.ydy_left_list li a:hover {
    background: #f9f9f9;
}

.ydy_left_list li a font {
    display: block;
    color: #333;
}

.ydy_left_list li a font[color="red"] {
    color: #C23434;
    font-weight: bold;
}

.ydy_right_img {
    padding: 15px;
}

.ydy_right_img p {
    margin: 0 0 10px 0;
}

.ydy_right_img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* 子分类列表 */
.sub-category-box {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sub-category-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.sub-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sub-category-item {
    padding: 6px 15px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 0.85em;
    color: #666;
    transition: all 0.3s ease;
}

.sub-category-item:hover,
.sub-category-item.active {
    background: #C23434;
    color: #fff;
}

.sub-category-item a {
    color: inherit;
    text-decoration: none;
}

/* 筛选栏 */
.filter-bar {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 12px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 6px 15px;
    background: #f5f5f5;
    border: none;
    border-radius: 20px;
    font-size: 0.85em;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #C23434;
    color: #fff;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-state-icon {
    font-size: 3em;
    margin-bottom: 15px;
    color: #ddd;
}

.empty-state-text {
    font-size: 0.95em;
}

@media screen and (max-width: 374px) {
    .title_icon {
        font-size: 1em;
    }
    
    .questions_list li a {
        font-size: 0.9em;
        padding: 12px;
    }
    
    .questions_list li a span.pull-right {
        font-size: 0.75em;
    }
}

@media screen and (min-width: 414px) {
    .title_icon {
        font-size: 1.2em;
    }
    
    .questions_list li a {
        font-size: 1em;
    }
}

/* ==================== 文章内容容器样式 ==================== */

/* 文章容器基础样式 */
.white-bg {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
}

/* 内边距辅助类 */
.pl { padding-left: 15px; }
.pr { padding-right: 15px; }
.p15 { padding: 15px; }
.pb { padding-bottom: 15px; }
.mt { margin-top: 10px; }
.m15 { margin: 15px; }
.mb { margin-bottom: 15px; }

/* 文章标题 */
.article-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    margin: 0 0 15px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    text-align: left;
}

/* 文章信息区域 */
.article-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
    color: #666;
    font-size: 0.85em;
}

/* 原创标签 */
.article-authorship.original {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

/* 转载标签样式（备用） */
.article-authorship.repost {
    background: linear-gradient(135deg, #FF9800, #FFA726);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

/* 作者 */
.article-author {
    display: inline-flex;
    align-items: center;
    color: #666;
}

.article-author:before {
    content: "作者：";
    color: #999;
    margin-right: 3px;
}

/* 发布时间 */
.article-post-time {
    display: inline-flex;
    align-items: center;
    color: #999;
}

.article-post-time:before {
    content: "发布于：";
    color: #999;
    margin-right: 3px;
}

/* 文章内容区域 */
.article-content {
    font-size: 1em;
    line-height: 1.8;
    color: #333;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 文章内容段落 */
.article-content p {
    margin-top: 0;
    margin-bottom: 0.8em;
    text-indent: 2em;
}

/* 文章内容中的图片 */
.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 文章内容中的标题 */
.article-content h2,
.article-content h3,
.article-content h4 {
    color: #C23434;
    margin: 1.5em 0 0.8em 0;
    font-weight: bold;
    border-left: 4px solid #C23434;
    padding-left: 10px;
}

.article-content h2 { font-size: 1.3em; }
.article-content h3 { font-size: 1.2em; }
.article-content h4 { font-size: 1.1em; }

/* 文章内容中的列表 */
.article-content ul,
.article-content ol {
    margin: 1em 0 1em 2em;
    padding-left: 0;
}

.article-content li {
    margin-bottom: 0.5em;
}

/* 文章内容中的链接 */
.article-content a {
    color: #C23434;
    text-decoration: underline;
    word-break: break-all;
}

.article-content a:hover {
    color: #AB3030;
    text-decoration: none;
}

/* 文章内容中的引用 */
.article-content blockquote {
    margin: 1.5em 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, #FFF5F5, #FFFFFF);
    border-left: 4px solid #C23434;
    border-radius: 4px;
    font-style: italic;
    color: #666;
}

/* 文章内容中的表格 */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.9em;
}

.article-content th {
    background: #F8F8F8;
    font-weight: bold;
    color: #333;
}

.article-content th,
.article-content td {
    padding: 10px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

/* 文章内容中的代码 */
.article-content pre,
.article-content code {
    background: #f5f5f5;
    font-family: Consolas, Monaco, monospace;
    border-radius: 4px;
}

.article-content pre {
    padding: 15px;
    overflow-x: auto;
    margin: 1.5em 0;
}

.article-content code {
    padding: 2px 6px;
    font-size: 0.9em;
}

/* 文章内容中的分割线 */
.article-content hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 2em 0;
}



/* 文章底部翻页区域 */
#pages.page {
    background: #fff;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-top: 15px;
}

/* 响应式调整 */
@media screen and (max-width: 374px) {
    .article-title {
        font-size: 1.3em;
    }
    
    .article-info {
        font-size: 0.8em;
        gap: 8px;
    }
    
    .article-content {
        font-size: 0.95em;
        line-height: 1.7;
    }
    
    .article-content p {
        text-indent: 1.5em;
    }

@media screen and (min-width: 375px) and (max-width: 413px) {
    .article-title {
        font-size: 1.4em;
    }
}

@media screen and (min-width: 414px) {
    .article-title {
        font-size: 1.6em;
    }
    
    .article-info {
        font-size: 0.9em;
    }
    
    .article-content {
        font-size: 1.05em;
        line-height: 1.9;
    }
}

@media screen and (min-width: 640px) {
    .article-title {
        font-size: 1.8em;
    }
    
    .white-bg {
        padding: 20px;
    }
    
    .article-content {
        font-size: 1.1em;
    }
}

/* 清除浮动 */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}
/* ==================== 文章内容区域优化样式 ==================== */

/* 文章容器 */
.article-container {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* 面包屑导航 */
.article-breadcrumb {
    padding: 12px 15px;
    background: linear-gradient(135deg, #f9f9f9, #f0f0f0);
    border-bottom: 1px solid #eaeaea;
    font-size: 0.85em;
    color: #666;
}

.article-breadcrumb a {
    color: #666;
    transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
    color: #C23434;
}

.article-breadcrumb .current {
    color: #C23434;
    font-weight: bold;
}

/* 文章主体 */
.article-main {
    padding: 0 15px 15px;
}

/* 文章标题 */
.article-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    margin: 20px 0 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    text-align: left;
}

/* 文章信息 */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eaeaea;
    color: #666;
    font-size: 0.85em;
    align-items: center;
}

.article-tag.original {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
    display: inline-block;
}

.article-tag.repost {
    background: linear-gradient(135deg, #FF9800, #FFA726);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
    display: inline-block;
}

.article-source,
.article-time,
.article-views {
    display: inline-flex;
    align-items: center;
}

.article-source:before,
.article-time:before,
.article-views:before {
    color: #999;
    margin-right: 3px;
}

.article-source:before { content: "来源："; }
.article-time:before { content: "时间："; }
.article-views:before { content: "阅读："; }

/* 文章内容 */
.article-content {
    margin-bottom: 25px;
}

.article-body {
    font-size: 1em;
    line-height: 1.5;
    color: #333;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 文章内容段落 */
.article-body p {
    margin: 0 0 0.5em 0;
    text-indent: 2em;
}

.article-body p:first-child {
    margin-top: 0;
    text-indent: 0; /* 第一段不缩进 */
}

/* 文章内容中的标题 */
.article-body h2,
.article-body h3,
.article-body h4 {
    color: #C23434;
    margin: 1.2em 0 0.6em 0;
    font-weight: bold;
    border-left: 4px solid #C23434;
    padding-left: 10px;
}

.article-body h2 { font-size: 1.3em; }
.article-body h3 { font-size: 1.2em; }
.article-body h4 { font-size: 1.1em; }

/* 文章内容中的图片 */
.article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.2em auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 文章内容中的链接 */
.article-body a {
    color: #C23434;
    text-decoration: underline;
    word-break: break-all;
}

.article-body a:hover {
    color: #AB3030;
    text-decoration: none;
}

/* 文章标签 */
.article-tags {
    margin-bottom: 25px;
    padding-top: 15px;
    border-top: 1px dashed #eaeaea;
}

.tag-label {
    font-size: 0.9em;
    color: #666;
    margin-right: 8px;
}

.article-tag {
    display: inline-block;
    padding: 4px 12px;
    margin: 0 5px 5px 0;
    background: #f5f5f5;
    color: #666;
    border-radius: 15px;
    font-size: 0.85em;
    transition: all 0.3s ease;
}

.article-tag:hover {
    background: #C23434;
    color: #fff;
}

/* 上一篇/下一篇导航 */
.article-nav {
    margin-bottom: 25px;
    padding: 15px;
    background: linear-gradient(135deg, #f9f9f9, #f0f0f0);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.nav-item {
    margin-bottom: 10px;
}

.nav-item:last-child {
    margin-bottom: 0;
}

.nav-label {
    font-size: 0.9em;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.nav-title {
    display: block;
    font-size: 0.95em;
    color: #333;
    line-height: 1.4;
    padding-left: 10px;
    border-left: 3px solid #C23434;
    transition: color 0.3s ease;
}

.nav-title:hover {
    color: #C23434;
}

/* 相关推荐 */
.related-articles {
    padding: 15px;
    background: linear-gradient(135deg, #fff5f5, #fff);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.related-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #C23434;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ffd9d9;
}

.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.related-list li:last-child {
    border-bottom: none;
}

.related-list li a {
    display: block;
    font-size: 0.95em;
    color: #333;
    line-height: 1.4;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-list li a:hover {
    color: #C23434;
}

.related-list li a:before {
    content: "▶ ";
    color: #C23434;
    font-size: 0.8em;
    margin-right: 5px;
}

/* ==================== 专项模板列表样式 ==================== */
.fxlist_Conday {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin: 15px 0;
    padding: 10px;
}

.fxlist_Conday ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fxlist_Conday li {
    padding: 12px 0;
    border-bottom: 1px dashed #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    line-height: 1.6;
}

.fxlist_Conday li:last-child {
    border-bottom: none;
}

.fxlist_Conday cite {
    display: block;
    font-style: normal;
}

.fxlist_Conday a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1em;
    line-height: 1.6;
}

.fxlist_Conday a:hover {
    color: #C23434;
}

.fxlist_Conday b {
    color: #C23434;
    font-weight: normal;
}

.fxlist_Conday time {
    color: #999;
    font-size: 0.85em;
    text-align: right;
    display: block;
}

/* 响应式调整 */
@media screen and (max-width: 374px) {
    .article-title {
        font-size: 1.3em;
        margin: 15px 0 12px;
    }
    
    .article-meta {
        font-size: 0.8em;
        gap: 8px;
    }
    
    .article-body {
        font-size: 0.95em;
        line-height: 1.7;
    }
    
    .article-body p {
        margin-bottom: 0.6em;
        text-indent: 1.5em;
    }
    
    .article-body p:first-child {
        text-indent: 0;
    }
}

@media screen and (min-width: 375px) and (max-width: 413px) {
    .article-title {
        font-size: 1.4em;
    }
}

@media screen and (min-width: 414px) {
    .article-title {
        font-size: 1.6em;
    }
    
    .article-body {
        font-size: 1.05em;
        line-height: 1.9;
    }
}

@media screen and (min-width: 640px) {
    .article-container {
        margin-bottom: 20px;
    }
    
    .article-main {
        padding: 0 20px 20px;
    }
    
    .article-title {
        font-size: 1.8em;
        margin: 25px 0 20px;
    }
    
    .article-body {
        font-size: 1.1em;
    }
}

/* ==================== 响应式优化补充样式 ==================== */
/* 基础响应式优化 */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    tap-highlight-color: rgba(0, 0, 0, 0);
}

/* 平板设备适配 */
@media screen and (min-width: 600px) {
    body {
        font-size: 16px;
    }
    .section-box {
        max-width: 600px;
        margin: 0 auto;
    }
    .quick-nav {
        max-width: 600px;
        margin: 0 auto;
    }
    .banner-section {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* 横屏模式优化 */
@media screen and (orientation: landscape) {
    .quick-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .quick-item {
        flex: 0 0 calc(16.666% - 10px);
        min-width: 80px;
    }
}

/* 高清屏幕适配 */
@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (min-resolution: 2dppx) {
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* iOS 安全区域适配 */
@supports (padding-top: env(safe-area-inset-top)) {
    body {
        padding-top: env(safe-area-inset-top);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ==================== 全面响应式适配样式 ==================== */

/* 基础响应式优化 - 防止横向滚动 */
html {
    overflow-x: hidden;
}

body {
    min-width: 320px;
    overflow-x: hidden;
}

/* 小屏幕手机 (320px - 374px) - iPhone 5/SE */
@media screen and (max-width: 374px) {
    /* 头部 */
    header {
        max-width: 100%;
    }
    
    .logo h1 a {
        font-size: 1em;
    }
    
    .navbtn {
        width: 45px;
        height: 45px;
        background-size: 22px 18px;
    }
    
    /* 快捷入口 */
    .quick-nav {
        padding: 10px;
    }
    
    .quick-item {
        width: 33.333333%;
        padding: 8px 0;
    }
    
    .quick-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 4px;
    }
    
    .quick-text {
        font-size: 0.75em;
    }
    
    /* 轮播图 */
    .banner-section {
        height: 150px;
        margin-bottom: 12px;
    }
    
    .banner-slider {
        height: 150px;
    }
    
    .banner-item img {
        height: 150px;
    }
    
    /* 区域标题 */
    .section-title {
        height: 40px;
        line-height: 40px;
        padding: 0 12px;
    }
    
    .section-title h3 {
        font-size: 1em;
    }
    
    .more-link a {
        font-size: 0.85em;
    }
    
    /* 内容区域 */
    .section-content {
        padding: 8px 12px;
    }
    
    /* 新闻列表 */
    .news-item {
        padding: 10px 0;
    }
    
    .news-item a {
        font-size: 0.85em;
    }
    
    .news-date {
        font-size: 0.75em;
        margin-left: 8px;
    }
    
    /* 热门新闻 */
    .hot-item {
        padding: 10px;
        margin-bottom: 6px;
    }
    
    .hot-item a {
        font-size: 0.9em;
    }
    
    /* 标签页 */
    .tabs {
        height: 40px;
        line-height: 40px;
    }
    
    .tabs .moving_bg {
        height: 38px;
    }
    
    .tabs .tab_item {
        font-size: 0.8em;
    }
    
    .tabslider ul li {
        padding: 10px 12px;
    }
    
    .tabslider ul li a {
        font-size: 0.85em;
    }
    
    /* 返回顶部 */
    #top {
        right: 8px !important;
        bottom: 70px !important;
    }
    
    #goTopBtn {
        width: 45px !important;
        height: 45px !important;
    }
    
    /* 页脚 */
    footer {
        padding: 15px 8px;
        font-size: 0.8em;
    }
}

/* 标准手机 (375px - 413px) - iPhone 6/7/8/X */
@media screen and (min-width: 375px) and (max-width: 413px) {
    .logo h1 a {
        font-size: 1.1em;
    }
    
    .quick-icon {
        width: 45px;
        height: 45px;
    }
    
    .quick-text {
        font-size: 0.8em;
    }
    
    .banner-section {
        height: 170px;
    }
    
    .banner-slider {
        height: 170px;
    }
    
    .banner-item img {
        height: 170px;
    }
    
    .section-title h3 {
        font-size: 1.05em;
    }
    
    .news-item a {
        font-size: 0.9em;
    }
}

/* 大屏手机 (414px - 479px) - iPhone Plus/XR */
@media screen and (min-width: 414px) and (max-width: 479px) {
    .logo h1 a {
        font-size: 1.2em;
    }
    
    .quick-icon {
        width: 50px;
        height: 50px;
    }
    
    .quick-text {
        font-size: 0.85em;
    }
    
    .banner-section {
        height: 190px;
    }
    
    .banner-slider {
        height: 190px;
    }
    
    .banner-item img {
        height: 190px;
    }
    
    .section-title h3 {
        font-size: 1.1em;
    }
    
    .news-item a {
        font-size: 0.95em;
    }
}

/* 平板竖屏 (480px - 767px) - 小平板、iPad mini */
@media screen and (min-width: 480px) and (max-width: 767px) {
    header {
        max-width: 480px;
    }
    
    .logo h1 a {
        font-size: 1.3em;
    }
    
    .navbtn {
        width: 55px;
        height: 55px;
        background-size: 28px 22px;
    }
    
    /* 导航菜单显示 */
    nav {
        display: block !important;
    }
    
    nav ul li {
        width: 16.6666666%;
    }
    
    .quick-nav {
        display: flex;
        flex-wrap: wrap;
        padding: 15px;
    }
    
    .quick-item {
        width: 16.666666%;
        padding: 12px 0;
    }
    
    .quick-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 6px;
    }
    
    .quick-text {
        font-size: 0.9em;
    }
    
    .banner-section {
        height: 220px;
        max-width: 480px;
        margin: 0 auto 15px;
    }
    
    .banner-slider {
        height: 220px;
    }
    
    .banner-item img {
        height: 220px;
    }
    
    section {
        max-width: 480px;
        padding: 12px;
    }
    
    .section-title {
        height: 48px;
        line-height: 48px;
        padding: 0 15px;
    }
    
    .section-title h3 {
        font-size: 1.15em;
    }
    
    .more-link a {
        font-size: 0.95em;
    }
    
    .section-content {
        padding: 12px 15px;
    }
    
    .news-item {
        padding: 14px 0;
    }
    
    .news-item a {
        font-size: 1em;
    }
    
    .news-date {
        font-size: 0.85em;
    }
    
    /* 标签页优化 */
    .tabs {
        height: 48px;
        line-height: 48px;
    }
    
    .tabs .moving_bg {
        height: 46px;
    }
    
    .tabs .tab_item {
        font-size: 0.95em;
    }
    
    .tabslider ul li {
        padding: 14px 15px;
    }
    
    .tabslider ul li a {
        font-size: 0.95em;
    }
    
    /* 返回顶部 */
    #top {
        right: calc(50% - 240px + 10px) !important;
        bottom: 85px !important;
    }
    
    #goTopBtn {
        width: 55px !important;
        height: 55px !important;
    }
    
    /* 页脚 */
    footer {
        max-width: 480px;
        padding: 20px 15px;
        font-size: 0.9em;
    }
}

/* 平板竖屏 (600px - 767px) - iPad */
@media screen and (min-width: 600px) and (max-width: 767px) {
    header {
        max-width: 600px;
    }
    
    section {
        max-width: 600px;
        padding: 15px;
    }
    
    .banner-section {
        max-width: 600px;
        height: 250px;
    }
    
    .banner-slider {
        height: 250px;
    }
    
    .banner-item img {
        height: 250px;
    }
    
    .quick-nav {
        max-width: 600px;
    }
    
    .quick-item {
        width: 16.666666%;
    }
    
    .quick-icon {
        width: 60px;
        height: 60px;
    }
    
    .quick-text {
        font-size: 0.95em;
    }
    
    .section-box {
        max-width: 600px;
    }
    
    #top {
        right: calc(50% - 300px + 10px) !important;
    }
    
    footer {
        max-width: 600px;
    }
}

/* 横屏模式适配 */
@media screen and (orientation: landscape) {
    /* 快捷入口横屏优化 */
    .quick-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .quick-item {
        flex: 0 0 calc(16.666% - 10px);
        min-width: 70px;
        max-width: 100px;
    }
    
    /* 轮播图横屏高度 */
    .banner-section {
        height: 180px;
    }
    
    .banner-slider {
        height: 180px;
    }
    
    .banner-item img {
        height: 180px;
    }
    
    /* 标签页横屏调整 */
    .tabs {
        height: 42px;
        line-height: 42px;
    }
    
    .tabs .moving_bg {
        height: 40px;
    }
    
    .tabs .tab_item {
        font-size: 0.85em;
    }
    
    /* 内容横屏 */
    .section-content {
        display: flex;
        flex-wrap: wrap;
    }
    
    .news-list {
        width: 50%;
    }
    
    /* 返回顶部位置调整 */
    #top {
        bottom: 20px !important;
    }
}

/* 横屏平板适配 */
@media screen and (orientation: landscape) and (min-width: 768px) {
    header {
        max-width: 768px;
    }
    
    section {
        max-width: 768px;
        padding: 20px;
    }
    
    .banner-section {
        height: 220px;
        max-width: 768px;
    }
    
    .banner-slider {
        height: 220px;
    }
    
    .banner-item img {
        height: 220px;
    }
    
    .quick-nav {
        max-width: 768px;
    }
    
    .quick-item {
        flex: 0 0 calc(12.5% - 10px);
    }
    
    .quick-icon {
        width: 55px;
        height: 55px;
    }
    
    .quick-text {
        font-size: 0.9em;
    }
    
    /* 新闻列表双列显示 */
    .section-content {
        display: flex;
        flex-wrap: wrap;
    }
    
    .news-list {
        width: 50%;
    }
    
    #top {
        right: calc(50% - 384px + 15px) !important;
        bottom: 25px !important;
    }
    
    footer {
        max-width: 768px;
    }
}

/* 平板横屏 (768px - 1024px) - iPad Pro */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    header {
        max-width: 600px;
    }
    
    section {
        max-width: 600px;
        padding: 20px;
    }
    
    .banner-section {
        height: 280px;
        max-width: 600px;
        margin: 0 auto 20px;
    }
    
    .banner-slider {
        height: 280px;
    }
    
    .banner-item img {
        height: 280px;
    }
    
    .quick-nav {
        max-width: 600px;
        padding: 20px;
    }
    
    .quick-item {
        width: 16.666666%;
    }
    
    .quick-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 8px;
    }
    
    .quick-text {
        font-size: 1em;
    }
    
    .section-box {
        max-width: 600px;
        margin-bottom: 20px;
    }
    
    .section-title {
        height: 50px;
        line-height: 50px;
        padding: 0 18px;
    }
    
    .section-title h3 {
        font-size: 1.2em;
    }
    
    .more-link a {
        font-size: 1em;
    }
    
    .section-content {
        padding: 15px 18px;
    }
    
    .news-item {
        padding: 15px 0;
    }
    
    .news-item a {
        font-size: 1em;
    }
    
    .news-date {
        font-size: 0.9em;
    }
    
    /* 标签页 */
    .tabs {
        height: 50px;
        line-height: 50px;
    }
    
    .tabs .moving_bg {
        height: 48px;
    }
    
    .tabs .tab_item {
        font-size: 1em;
    }
    
    .tabslider ul li {
        padding: 15px 18px;
    }
    
    .tabslider ul li a {
        font-size: 1em;
    }
    
    #top {
        right: calc(50% - 300px + 15px) !important;
        bottom: 90px !important;
    }
    
    #goTopBtn {
        width: 60px !important;
        height: 60px !important;
    }
    
    footer {
        max-width: 600px;
        padding: 25px 18px;
        font-size: 0.95em;
    }
}

/* 大屏幕平板 (768px - 1024px) 横屏 */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    header {
        max-width: 768px;
    }
    
    section {
        max-width: 768px;
        padding: 20px;
    }
    
    .banner-section {
        max-width: 768px;
        height: 300px;
    }
    
    .banner-slider {
        height: 300px;
    }
    
    .banner-item img {
        height: 300px;
    }
    
    .quick-nav {
        max-width: 768px;
    }
    
    #top {
        right: calc(50% - 384px + 20px) !important;
    }
    
    footer {
        max-width: 768px;
    }
}

/* Retina/高清屏幕适配 */
@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (min-resolution: 2dppx) {
    /* 图片优化 */
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    /* 背景图片优化 */
    .quick-icon {
        background-size: contain;
        background-repeat: no-repeat;
    }
    
    /* 图标清晰度 */
    .navbtn {
        background-size: contain;
        background-repeat: no-repeat;
    }
    
    /* 边框清晰度 */
    .section-title {
        border-bottom-width: 2px;
    }
    
    .news-item {
        border-bottom-width: 1px;
    }
}

/* iPhone X 及以上刘海屏适配 */
@media screen and (min-width: 375px) and (max-width: 414px) and (min-height: 800px) {
    header {
        padding-top: env(safe-area-inset-top);
    }
    
    .loc_logo_navbtn {
        height: calc(50px + env(safe-area-inset-top));
        line-height: calc(50px + env(safe-area-inset-top));
    }
}

/* 深色模式适配 (可选) */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .section-box {
        background: #2d2d2d;
    }
    
    .news-item {
        border-bottom-color: #404040;
    }
    
    .news-item a {
        color: #e0e0e0;
    }
    
    .tabslider ul li {
        border-bottom-color: #404040;
    }
    
    .tabslider ul li a {
        color: #e0e0e0;
    }
}

/* 减少动画效果 (无障碍) */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .tabs .moving_bg {
        transition: none !important;
    }
    
    .tabslider {
        transition: none !important;
    }
    
    #top {
        transition: opacity 0.1s ease !important;
    }
}

/* 高对比度模式 (无障碍) */
@media (prefers-contrast: high) {
    .news-item a {
        font-weight: bold;
    }
    
    .section-title {
        border-bottom: 2px solid #000;
    }
    
    .news-item {
        border-bottom: 2px solid #000;
    }
}

/* 打印样式优化 */
@media print {
    header,
    .quick-nav,
    .banner-section,
    #top,
    footer {
        display: none !important;
    }
    
    section {
        max-width: 100%;
        padding: 0;
    }
    
    .section-box {
        box-shadow: none;
        border: 1px solid #000;
        page-break-inside: avoid;
    }
    
    .news-item a {
        color: #000;
        text-decoration: underline;
    }
}

/* JavaScript禁用时的样式优化 */
noscript .quick-nav,
noscript .banner-section {
    display: none;
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    /* 移除hover效果 */
    a:hover {
        color: inherit;
    }
    
    /* 触摸反馈 */
    .news-item:active {
        background-color: rgba(0, 0, 0, 0.05);
    }
    
    .quick-item:active {
        background-color: rgba(194, 52, 52, 0.1);
    }
    
    /* 标签页触摸优化 */
    .tabs .tab_item {
        padding: 10px 0;
    }
}