/* 
新闻中心页面移动端适配样式文件
基于rem布局，根字体大小由rem.js动态设置
750px设计稿对应100px根字体大小，即1rem = 100px
转换公式：rem = px / 100
*/

/* 移动端适配 - 最大宽度900px */
@media (max-width: 900px) {
  /* ======================== 主体内容区域 ======================== */
  .news-center-main {
    padding: 0.6rem 0;
  }

  .news-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 0.2rem;
    box-sizing: border-box;
  }

  /* 通用标题样式 */
  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
  }

  .section-title {
    font-weight: 400;
    font-size: 0.48rem;
    color: #000000;
    margin-bottom: 0.2rem;
    text-align: left;
    position: relative;
    padding-bottom: 0.2rem;
  }

  .section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1.2rem;
    height: 0.06rem;
    background: linear-gradient(to right, #003ea1, #0047b3);
  }

  .more-link {
    font-weight: 400;
    font-size: 0.2rem;
    color: #bababa;
    transition: color 0.3s ease;
  }

  .more-link:hover {
    color: #003ea1;
  }

  /* ======================== 集团要闻模块 ======================== */
  .group-news-section {
    padding: 0.4rem 0;
    margin-bottom: 0;
  }

  .group-news-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }

  /* 主要新闻 */
  .main-news {
    width: 100%;
    order: 1;
    flex: 0 0 3rem;
  }

  .main-news-image {
    width: 100%;
    height: 4rem;
    border-radius: 0.08rem;
    overflow: hidden;
    margin-bottom: 0.15rem;
  }

  .main-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .main-news-image:hover img {
    transform: scale(1.05);
  }

  .main-news-title {
    font-size: 0.32rem;
    font-weight: 600;
    color: #003ea1;
    line-height: 1.4;
  }

  /* 新闻列表 */
  .news-list {
    width: 100%;
    order: 2;
  }

  .news-item {
    display: flex;
    flex-direction: column;
    padding: 0.2rem;
    border-bottom: 0.01rem solid #ebebeb;
    transition: background 0.3s ease;
  }

  .news-item:hover {
    background: rgba(0, 62, 161, 0.02);
  }

  .news-item:last-child {
    border-bottom: none;
  }

  .news-title {
    font-size: 0.24rem;
    color: #333;
    line-height: 1.4;
    margin-bottom: 0.08rem;
  }

  .news-date {
    font-size: 0.18rem;
    color: #999;
  }

  /* ======================== 集团公告模块 ======================== */
  .group-announcements-section {
    padding: 0.4rem 0;
    margin-bottom: 0.4rem;
  }

  .announcements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .announcement-card {
    background: white;
    border-radius: 0.12rem;
    overflow: hidden;
    box-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
  }

  .announcement-card:hover {
    transform: translateY(-0.02rem);
    box-shadow: 0 0.04rem 0.16rem rgba(0, 0, 0, 0.12);
  }

  .announcement-image {
    width: 100%;
    height: 4.6rem;
    overflow: hidden;
  }

  .announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .announcement-card:hover .announcement-image img {
    transform: scale(1.05);
  }

  .announcement-title {
    font-size: 0.24rem;
    color: #333;
    line-height: 1.4;
    padding: 0.2rem;
    margin-bottom: 0.08rem;
  }

  .announcement-date {
    font-size: 0.18rem;
    color: #999;
    padding: 0 0.2rem 0.2rem;
  }

  /* ======================== 底部双栏模块 ======================== */
  .bottom-sections-bg {
    background: #f9f9f9;
    padding: 0.4rem 0;
  }

  .bottom-sections {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .grassroots-dynamics,
  .media-focus {
    width: 100%;
    background: white;
    padding: 0.3rem;
    border-radius: 0.12rem;
    box-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.05);
  }

  .text-list {
    display: flex;
    flex-direction: column;
    gap: 0.02rem;
  }

  .text-item {
    padding: 0.12rem 0;
    border-bottom: 0.01rem solid #f5f5f5;
    transition: background 0.3s ease;
  }

  .text-item:hover {
    background: rgba(0, 62, 161, 0.02);
  }

  .text-item:last-child {
    border-bottom: none;
  }

  .text-link {
    font-size: 0.22rem;
    color: #333;
    line-height: 1.4;
    display: block;
    transition: color 0.3s ease;
    text-decoration: none;
  }

  .text-link:hover {
    color: #003ea1;
  }

  /* 文字截断显示 */
  .text-link {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
  }

  /* ======================== Footer适配 ======================== */
  .footer {
    margin-top: 0.6rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.4rem 0.2rem;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
    text-align: center;
  }

  .company-title {
    font-size: 0.36rem;
    margin-bottom: 0.08rem;
  }

  .company-english {
    font-size: 0.24rem;
    margin-bottom: 0.12rem;
  }

  .company-desc {
    font-size: 0.2rem;
    line-height: 1.4;
  }

  .contact-title {
    font-size: 0.28rem;
    margin-bottom: 0.2rem;
  }

  .contact-row {
    flex-direction: column;
    gap: 0.08rem;
    margin-bottom: 0.12rem;
  }

  .contact-label {
    font-size: 0.2rem;
    color: #666;
  }

  .contact-value {
    font-size: 0.2rem;
    color: #333;
  }

  .qr-codes {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
  }

  .qr-code-item {
    text-align: center;
  }

  .qr-code-image {
    width: 0.8rem;
    height: 0.8rem;
    margin-bottom: 0.08rem;
  }

  .qr-code-image img {
    width: 100%;
    height: 100%;
    border-radius: 0.04rem;
  }

  .qr-code-label {
    font-size: 0.18rem;
    color: #666;
  }

  /* ======================== 通知模块移动端适配 ======================== */
  .notice {
    height: 0.48rem;
    background-color: #eff6ff;
  }

  .notice_inner {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.2rem;
    box-sizing: border-box;
  }

  .notice_left {
    width: auto;
    height: 0.48rem;
    line-height: 0.48rem;
    cursor: pointer;
    padding-left: 0;
    box-sizing: border-box;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-right: 0.2rem;
  }

  .notice_left > img {
    width: 0.21rem;
    height: 0.18rem;
    vertical-align: middle;
  }

  .notice_left > span {
    font-size: 0.14rem;
    color: #206bd1;
  }

  .notice_center {
    width: calc(100% - 2rem);
    overflow: hidden;
    height: 0.48rem;
    line-height: 0.48rem;
    flex: 1;
    margin: 0 0.1rem;
  }

  .notice_item {
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 0.15rem;
    font-size: 0.17rem;
    color: #333;
  }

  .notice_item::before {
    position: absolute;
    top: 0.22rem;
    left: 0;
    content: "";
    display: inline-block;
    width: 0.06rem;
    height: 0.06rem;
    border-radius: 50%;
    background-color: #206bd1;
  }

  .notice_item:hover {
    color: #006cff;
  }

  .notice_right {
    text-align: center;
    width: 1rem;
    height: 0.48rem;
    line-height: 0.48rem;
    flex-shrink: 0;
  }

  .notice_right > img {
    width: 0.18rem;
    height: 0.18rem;
    margin-top: 0.16rem;
    cursor: pointer;
  }

  .swiper-container2 .swiper-slide a {
    display: flex;
    align-items: center;
  }

  /* ======================== 移动端触摸优化 ======================== */
  .announcement-card,
  .news-item,
  .text-item {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }

  /* 确保可点击区域足够大 */
  .news-item,
  .text-item {
    min-height: 0.48rem;
    display: flex;
  }

  /* ======================== 响应式网格调整 ======================== */
  @media (max-width: 600px) {
    .news-container {
      padding: 0 0.15rem;
    }

    .section-title {
      font-size: 0.42rem;
    }

    .main-news-title {
      font-size: 0.28rem;
    }

    .announcement-title {
      font-size: 0.26rem;
    }

    .text-link {
      font-size: 0.26rem;
    }

    /* 通知模块小屏幕适配 */

    .notice_left > span {
      font-size: 0.12rem;
    }

    .notice_center {
      width: calc(100% - 1.6rem);
      margin: 0 0.05rem;
    }

    .notice_item {
      font-size: 0.15rem;
      padding-left: 0.12rem;
    }

    .notice_item::before {
      width: 0.05rem;
      height: 0.05rem;
      top: 0.2rem;
    }

    .notice_right {
      width: 0.8rem;
      display: none;
    }

    .notice_right > img {
      width: 0.16rem;
      height: 0.16rem;
      margin-top: 0.14rem;
    }
  }
}

/*新增移动端适配新闻中心样式*/

/* 手机端适配样式 */
@media (max-width: 1200px) {
  .section-container {
    max-width: 100%;
    padding: 0 15px;
  }

  .section-col {
    width: calc(33.333% - 60px);
    margin-right: 30px;
  }

  .news-container-2 > .section-col {
    width: calc(50% - 30px);
  }
}

@media (max-width: 992px) {
  .section-col {
    width: calc(33.333% - 50px);
    margin-right: 25px;
  }

  .news-container-2 > .section-col {
    width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .section-container {
    padding: 0 10px;
  }

  .headline-item .headline-title {
    margin-top: 30px;
    font-size: 28px;
  }

  .headline-item .headline-text {
    font-size: 14px;
    line-height: 22px;
    margin-top: 15px;
  }

  .news-container {
    padding: 30px 0;
  }

  .section-col {
    width: 100%;
    float: none;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .news-container-2 > .section-col {
    width: 100%;
  }

  .section-col:last-child {
    margin-bottom: 0;
  }

  .col-title {
    height: 35px;
    line-height: 35px;
  }

  .col-title .col-title-main {
    font-size: 20px;
  }

  .col-title .col-title-sub {
    font-size: 15px;
  }

  .more {
    line-height: 35px;
    font-size: 12px;
  }

  .hybird-news-item {
    padding: 8px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .hybird-news-item .pic-container {
    width: 100%;
    height: 180px;
    margin-bottom: 10px;
  }

  .hybird-news-item .date-container {
    width: 100%;
    text-align: left;
    margin-bottom: 8px;
  }

  .hybird-news-item .date-container .cur-day {
    font-size: 28px;
  }

  .hybird-news-item .date-container .cur-y-m {
    font-size: 12px;
  }

  .hybird-news-item .text-container {
    width: 100%;
    margin-left: 0;
  }

  .hybird-news-item .hybird-news-title {
    font-size: 15px;
    line-height: 22px;
  }

  .hybird-news-item .hybird-news-info {
    line-height: 24px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .section-container {
    padding: 0 5px;
  }

  .headline-item .headline-title {
    font-size: 24px;
    margin-top: 20px;
  }

  .headline-item .headline-text {
    font-size: 13px;
    line-height: 20px;
    margin-top: 12px;
  }

  .news-container {
    padding: 20px 0;
  }

  .col-title {
    height: 30px;
    line-height: 30px;
  }

  .col-title .col-title-main {
    font-size: 18px;
  }

  .col-title .col-title-sub {
    font-size: 14px;
  }

  .more {
    line-height: 30px;
  }

  .hybird-news-item {
    padding: 6px 0;
  }

  .hybird-news-item .pic-container {
    height: 150px;
  }

  .hybird-news-item .date-container .cur-day {
    font-size: 24px;
  }

  .hybird-news-item .hybird-news-title {
    font-size: 14px;
    line-height: 20px;
  }

  .hybird-news-item .hybird-news-info {
    line-height: 22px;
    font-size: 11px;
  }
}

/* 平板横屏适配 */
@media (min-width: 769px) and (max-width: 1024px) {
  .section-container {
    max-width: 100%;
    padding: 0 20px;
  }
}
