/* 仅在手机版显示 (屏幕宽度小于768px) */
@media (max-width: 767px) {
  .mobile-only {
    display: block !important;
  }

  .desktop-only {
    display: none !important;
  }

  .news-content .news-body {
    padding-top: 0rem;
    padding-bottom: 2rem;
    color: #666;
    padding-bottom: 50px;
  }

  .news-content .title .h3 {
    font-size: 1.15rem;
    color: #1E2D66;
    font-weight: bold;
  }

  .news-content .title {
    text-align: left !important;
  }

  .top .nav-item {
    padding-left: 0.5rem;
  }

  .mlanguage .form-select {
    font-size: 0.85rem;
  }

  .js-t1 {
    font-size: 1.4rem;
    line-height: 1.4em;
    padding-top: 1rem;
  }

  .js-t1 span {
    font-size: 1.4rem;
    line-height: 1.4em;
  }
}

/* 仅在PC版显示 (屏幕宽度大于等于768px) */
@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }

  .desktop-only {
    display: block !important;
  }
}

/* 针对不同元素类型的基础样式 */
.mobile-only,
.desktop-only {
  /* 默认隐藏，由媒体查询决定是否显示 */
  display: none;
}

/* 针对行内元素的特殊处理 */
.mobile-only.inline,
.desktop-only.inline {
  display: none;
}

@media (max-width: 767px) {
  .mobile-only.inline {
    display: inline !important;
  }
}

@media (min-width: 768px) {
  .desktop-only.inline {
    display: inline !important;
  }
}