/* 导航 start*/
.menu-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items:  center;
  flex-shrink: 0;
  width: 228px;
  height: 266px;
  margin-right: 15px;
  background: #FFFFFF;
  border-radius: 10px;
}
.menu-nav .nav-item:nth-child(4){
  display: none;
}
.nav-item:hover{
  box-shadow: 3px 3px 3px 0 rgba(0,0,0,0.1);
  transform: translateY(-3px);
  transition: transform 0.3s;
}
.nav-item-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  margin-top: 22px;
  cursor: pointer;
}
.nav-item-link-icon{
  width: 76px;
  height: 76px;
}
.nav-item-link-text {
  width: 100%;
  margin-top: 10px;
  font-weight: bold;
  font-size: 28px;
  line-height: 40px;
  overflow: hidden;
  white-space: nowrap;
}
.nav-item-link-textTalk {
  width: 100%;
  margin-top: 10px;
  font-weight: bold;
  font-size: 36px;
  line-height: 40px;
  overflow: hidden;
  white-space: nowrap;
}
.nav-item-link-text--small{
  font-size: 30px;
}
.nav-item-link--home {
  margin-top: 70px;
}
.nav-item-link--home .nav-item-link-text {
  margin-top: 20px;
  color: #AB448E;
  margin-left: 18px
}
.nav-item-link--home .nav-item-link-textTalk {
  margin-top: 20px;
  color: #2E6ECA;
}
.nav-item-link--event .nav-item-link-text {
  color: #E8644C;
}
.nav-item-link--flag .nav-item-link-text {
  margin-top: 20px;
  color: #40BADC;
}
.nav-item-link--info .nav-item-link-text {
  margin-top: 20px;
  color: #42C294;
}
.nav-item-link--suggestion .nav-item-link-text {
  margin-top: 20px;
  color: #3D8FD4 ;
}

.nav-item-line {
  width: 158px;
  height: 1px;
  margin-top: 20px;
  background: #626262;
}

.nav-item-sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content:space-between;
  width: 166px;
  height: 52px;
  margin-top: 20px;
  overflow: hidden;
}
.nav-item-sub-link {
  flex-shrink: 0;
  min-width: 50%;
  height: 18px;
  margin: 0 0 16px 0;
  font-size: 16px;
  color: #626262;
  line-height: 18px;
  text-align: center;
  overflow: hidden;
}
.nav-content {
   /* display: flex;
  flex-direction: column;
  align-items:  center; */
  flex-shrink: 0;
  width: 828px;
  height: 266px;
  margin-right: 15px;
  background: #FFFFFF;
  border-radius: 10px;
}
/* 导航 end*/

/* 内容布局 start */
.column-wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  overflow: hidden;
}
.column-content {
  position: relative;
  width: 1200px;
  height: 360px;
  padding: 27px 54px 33px 42px;
  background: #FFFFFF;
  border-radius: 10px;
  margin-top: 17px;
  overflow: hidden;
}
.column-content.no-banner {
  width: 1200px;
  padding-left: 48px;
  padding-right: 49px;
}
.column-wrapper .column-content.no-banner:nth-last-child(2) {
  display: none;
}
.column-content-box {
  position: relative;
  display: flex;
  flex: 1;
  justify-content: space-between;
  flex-shrink: 0;
  flex-wrap: nowrap;
  overflow: hidden;
}
/* 内容布局 end */

/*banner start*/
.swiper-slide > a{
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}
.column-content-banner {
  flex-shrink: 0;
  width: 457px;
  height: 300px;
}
.swiper-container {
  width: 457px;
  height: 300px;
}
.swiper-slide-banner {
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.swiper-slide-title{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50px;
  padding: 8px 15px;
  background: rgba(61, 61, 61, .8);
}
.swiper-slide-title-text{
  width: 100%;
  height: 18px;
  font-weight: 500;
  font-size: 16px;
  color: #FFFFFF;
  line-height: 1;
}
.swiper-pagination {
  position: absolute;
  left: 0 !important;
  text-align: center;
  bottom: 0 !important;
  width: 100%;
  height: 24px;
  padding-bottom: 8px;
  cursor: auto;
}
.swiper-pagination-switch,.swiper-pagination-bullet {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: #A0A0A0;
  margin: 0 3px;
  cursor: pointer;
}
.swiper-active-switch,.swiper-pagination-bullet-active {
  background: #fff;
}
/*banner end*/

/* 文章列表 start*/
.column-content-articles {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 618px;
  padding-top: 61px;
  overflow: hidden;
}
.article-item {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  height: 34px;
  line-height: 34px;
  overflow: hidden;
}
.article-item-title {
  display: flex;
  flex: 1;
  font-weight: 400;
  font-size: 16px;
  color: #111111;
  overflow: hidden;
}
.article-item-title::before{
  content: "· ";
  font-weight: bold;
  margin-right: 8px;
}
.article-item-date {
  width: 100px;
  font-size: 16px;
  color: #565656;
  text-align: right;
}
/* 文章列表 end*/

/* 栏目内容导航 start*/
.column-content-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-shrink: 0;
  width: 618px;
  height: 51px;
  padding-bottom: 8px;
  border-bottom: 1px solid #565656;
  overflow: hidden;
}
.column-content-nav-box {
  display: flex;
  flex: 1;
  align-items: center;
  overflow: hidden;
}
.nav-box-cols {
  display: flex;
  flex: 1;
  /* padding-left: 27px; */
  overflow: hidden;
}
.nav-box-col {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  min-width: 132px;
  height: 40px;
  padding: 0 14px;
  margin-right: 6px;
  border-radius: 18px;
  font-weight: bold;
  font-size: 26px;
  color: #111111;
  cursor: pointer;
}
.selected-col, .nav-box-col:hover {
  background: #248BFF;
  color: #FFFFFF;
}
.selected-col > span{
  /* 26*6=156 */
  /* max-width: 156px; */
  white-space: nowrap;
  overflow: hidden;
}
.nav-box-more,.column-content-header-more{
  width: 30px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}
.column-content-header{
  display: flex;
  align-items: center;
  width: 100%;
  height: 52px;
  margin-bottom: 17px;
  padding-bottom: 15px;
  border-bottom: 1px solid #565656;
}
.column-content-header-title{
  display: flex;
  flex: 1;
  align-items: center;
  font-weight: bold;
  font-size: 26px;
  color: #248BFF;
}
.column-content-header-title > img {
  margin-right: 15px;
  width: 32px;
}
/* 栏目内容导航 end*/

/*人民建议征集 start*/
.jy-types-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 200px;
  height: 60px;
  margin: 12px 0  0 140px;
  padding: 0 37px 0 29px;
  background: #EAEAEA;
  border-radius: 14px;
  user-select: none;
  cursor: pointer;
}
.jy-types-item img {
  width: 34px;
  height: 34px;
}
.jy-types-item-text {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 26px;
  background: #FFFFFF;
  border-radius: 14px;
  font-weight: bold;
  font-size: 16px;
  color: #565656;
}
.jy-types-item:hover {
  background: rgba(36,139,255,.6);
}
/*人民建议征集 end*/

/* =========================================
   移动端响应式适配 (Mobile Responsive)
   ========================================= */
@media screen and (max-width: 768px) {

  /* 1. 全局容器重置 */
  body {
    min-width: 100% !important;
    overflow-x: hidden;
  }
  
  .page-main-container {
    width: 100% !important;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .page-main {
    margin-top: 10px !important;
  }

  /* 2. 顶部五大导航 (Grid布局) */
  .menu-nav {
    margin-left: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important; /* 两端对齐，中间留空 */
    width: 100%;
  }

  .nav-item {
    width: 48% !important; /* 一行两个 */
    height: auto !important;
    margin-right: 0 !important;
    margin-bottom: 10px;
    padding: 15px 0;
  }

  /* 选中第5个子元素，强制占满整行 */
  .menu-nav .nav-item:nth-child(3) {
    width: 100% !important;
  }

  /* 导航图标缩小 */
  .nav-item-link-icon {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 10px !important;
  }

  .nav-item-link-text {
    font-size: 16px !important;
    line-height: 20px !important;
    bottom: 0 !important;
    margin-top: 5px !important;
  }

  /* 导航链接点击区域修正 */
  .nav-item-link, 
  .nav-item-link--home {
    margin-top: 0 !important;
  }

  /* 3. 通栏 "Talk" 区域 */
  .column-contentTalk {
    width: 100% !important;
    height: auto !important;
    padding: 20px 15px !important;
    background-size: cover !important;
    margin-top: 15px !important;
    box-sizing: border-box;
  }

  .nav-item-link-textTalk {
    font-size: 20px !important;
    line-height: 1.4 !important;
    max-height: none !important;
    white-space: normal !important;
  }

  .nav-item-link-textTalkLast {
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    margin-top: 10px !important;
  }

  /* 4. 通用内容板块 (时政要闻/工作要闻) */
  .column-content, 
  .column-content.no-banner {
    width: 100% !important;
    height: auto !important;
    padding: 15px !important;
    box-sizing: border-box;
    margin-top: 15px !important;
  }

  .column-content-box {
    flex-direction: column; /* 上下排列 */
  }

  /* 头部 Tab 导航 */
  .column-content-nav {
    position: relative !important; /* 取消PC端的绝对定位 */
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 15px !important;
    border-bottom: 1px solid #eee;
    
    /* Flex order 属性控制顺序：数值越小越靠前 */
    order: -1 !important; 
  }

  .nav-box-cols {
    width: 100%;
    flex-wrap: wrap;
    padding-left: 0 !important;
  }

  .nav-box-col {
    min-width: auto !important;
    font-size: 16px !important;
    padding: 5px 10px !important;
    height: 30px !important;
    margin-right: 5px !important
  }
  
  /* 分类图标微调 */
  .column-content-nav .nav-box-cols > img,
  .column-content-header-title > img {
    width: 20px !important;
    height: auto !important;
    margin-top: 0 !important;
    margin-right: 5px !important;
  }

  /* 5. 左侧 Swiper Banner */
  .column-content-banner {
    order: 1;
    width: 100% !important;
    height: auto !important;
    margin-top: 0 !important;
    aspect-ratio: 16/9;
  }

  .swiper-container {
    width: 100% !important;
    height: 100% !important;
  }

  .swiper-slide-title-banner-text {
    font-size: 14px !important;
  }

  /* 6. 右侧文章列表 */
  .column-content-articles {
    order: 2;
    width: 100% !important;
    padding-top: 10px !important;
  }

  .article-item {
    height: auto !important;
    line-height: 1.5 !important;
    margin-top: 10px !important;
    align-items: flex-start;
  }

  .article-item-title {
    font-size: 15px !important;
    white-space: normal; /* 允许换行 */
  }
  
  .article-item-title span.flex-text-truncate {
    white-space: normal !important;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制显示两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .article-item-date {
    font-size: 12px !important;
    width: 70px !important;
    margin-right: 0 !important;
  }

  /* 7. 风采展示 & 信息公开 Header */
  .column-content-header {
    height: auto !important;
    flex-wrap: wrap;
    margin-bottom: 10px;
  }
  
  .column-content-header-title {
    font-size: 18px !important;
    width: 100%;
    margin-bottom: 10px;
  }

  /* 8. 动态链接 (Link Content) */
  .link-content {
    width: 100% !important;
    padding: 10px !important;
    box-sizing: border-box;
  }


  /* 强制隐藏PC端特有的左右箭头 */
  .link-swiper-button-prev, .link-swiper-button-next {
    display: none !important;
  }

  /* 调整 Swiper 容器高度，适配单张图片 */
  .link-swiper-container .swiper-wrapper .swiper-slide {
    height: auto !important;
    /* 注意：这里只是CSS样式，让图片自适应。
       Swiper的'每次显示1张'逻辑必须通过下面的JS修改，否则滑动距离会不对 */
  }
  
  .link-swiper-container .swiper-wrapper .swiper-slide a img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
  }

  /* 隐藏部分 PC端特有的装饰或不需要的元素 */
  .swiper-button-prev, .swiper-button-next {
    display: none; /* 移动端通常不需要左右箭头，靠滑动 */
  }
}