/* 移动端专用样式文件 */

/* ===== 移动端深色模式防护设置 ===== */
/* 强制使用浅色模式 */
:root {
  color-scheme: light only !important;
}

html {
  color-scheme: light only !important;
}

body {
  color-scheme: light only !important;
}

/* 防止系统自动调整颜色 */
* {
  -webkit-text-size-adjust: 100% !important;
  -moz-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

/* 确保所有元素保持原有颜色 */
body, div, section, header, footer, main, aside, nav, article, p, h1, h2, h3, h4, h5, h6, span, a, button, input, textarea, select, label, li, td, th {
  color: inherit !important;
}

/* 防止图片和SVG被系统调整 */
img, svg, video, canvas {
  filter: none !important;
  -webkit-filter: none !important;
  color-scheme: light only !important;
}

/* 确保表单元素保持原有样式 */
input, textarea, select, button {
  background-color: inherit !important;
  border-color: inherit !important;
  color: inherit !important;
}

/* 防止滚动条被系统调整 */
::-webkit-scrollbar {
  background-color: #f5f5f5 !important;
}

::-webkit-scrollbar-thumb {
  background-color: #ccc !important;
}

/* 确保所有伪元素也遵循浅色模式 */
::before, ::after {
  color-scheme: light only !important;
}

@font-face {
  font-family: 'HarmonyOS Sans SC';
  src: url('../font/HarmonyOS_Sans_SC_Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HarmonyOS Sans SC';
  src: url('../font/HarmonyOS_Sans_SC_Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 移动端基础样式 */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  font-weight: 400;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* 全站加粗统一用 font-weight:700 */
strong, b, .bold, .font-bold, h1, h2, h3, h4, h5, h6, th {
  font-weight: 700 !important;
}

/* 移动端容器 */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 15px;
  background-color: #ffffff;
}

/* 移动端头部导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(255,255,255,0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  transition: background-color 0.3s ease;
}

.header .logo {
  height: 20px;
  flex-shrink: 0;
}

/* 移动端汉堡菜单 */
.mobile-menu-button {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 14px;
  cursor: pointer;
  z-index: 101;
  margin-top: -2px;
}

.mobile-menu-button span {
  width: 100%;
  height: 2px;
  background-color: #212121;
  transition: all 0.3s ease;
}

.mobile-menu-button.active span:nth-child(1) {
  transform: rotate(45deg) translate(2px, 7px);
}

.mobile-menu-button.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
  transform: rotate(-45deg) translate(2px, -7px);
}

/* 移动端导航菜单 */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  z-index: 99;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-top: 40px; /* 为顶部logo留出空间 */
  padding-left: 15px; /* 内容区域左右边距 */
  padding-right: 15px; /* 内容区域左右边距 */
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  color: #212121;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  margin: 15px 0; /* 菜单项间距更小 */
  padding: 15px 30px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%; /* 铺满内容区域宽度 */
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background-color: #E5F5EB;
  color: #1A6133;
  border-radius: 0;
}

/* 移动端主视觉区 */
.hero-section {
  padding: 180px 0 0px;
  text-align: center;
  /* 去掉渐变背景，保持简洁 */
}

.hero-logo {
  margin-bottom: 0px;
  width: 100%;
  text-align: center;
}

.hero-logo img {
  width: 85%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.hero-info {
  margin-bottom: 120px;
  margin-top: 120px;
  width: 100%;
  text-align: center;
}

.hero-info img {
  width: 85%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* 移动端视频区 */
.video-section {
  padding: 0px 0;
  text-align: center;
}

.video-wrapper {
  width: 100%;
  max-width: 100%;
}

.video-section video {
  width: 100%;
  height: auto;
}

/* 移动端DDS介绍区 */
.dds-section {
  padding: 90px 0px;
}

.dds-content {
  text-align: center;
  max-width: 100%;
}

.dds-title {
  font-size: 28px;
  font-weight: 700;
  color: #212121;
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: 0.05em;
}

.dds-img {
  margin-bottom: 30px;
  width: 100%;
}

.dds-img img {
  width: 100%;
  height: auto;
  display: block;
}

.dds-desc {
  margin-bottom: 30px;
  text-align: justify;
  padding: 0;
}

.dds-desc p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #212121;
}

.dds-btn {
  display: block;
  background: #1A6133;
  color: white !important;
  padding: 15px 0;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  border-radius: 0;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 30px;
}

.dds-btn span {
  display: block;
  text-align: center;
}

.dds-btn:hover {
  transform: translateY(-2px);
}

/* 移动端服务区 */
.service-section {
  padding: 0px 0;
}

.service-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: #212121;
}

/* .fields-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
} */

.fields-item {
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 15px;
}

.fields-item:last-child {
  margin-bottom: 0;
}

.fields-item img {
  width: 100%;
  height: auto;
  display: block;
}

.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: none;
}

.fields-item-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  width: 100%;
}

.fields-split-item {
  position: relative;
  overflow: hidden;
}

.fields-split-item img {
  width: 100%;
  height: auto;
  display: block;
}

.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.fields-item:hover .product-overlay {
  transform: translateY(0);
}

.fields-item-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.fields-split-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.fields-split-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 移动端领域区 */
.fields-section {
  padding: 90px 0;
  text-align: center;
}

.fields-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #212121;
  width: 100%;
}

.domain-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: none;
}

/* 移动端荣誉资质区 */
.honor-section {
  position: relative;
  padding: 60px 0 90px;
  text-align: center;
  background-image: url('../img/honor_bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 30px;
  left: 0;
  right: 0;
}

.honor-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 50px;
  color: white;
  text-align: center;
  
  position: relative;
  z-index: 2;
}

.honor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 15px;
  row-gap: 60px;
  padding: 0 15px;
  /* max-width: 300px; */
  margin: 0 auto;
}

.honor-item {
  text-align: center;
}

.honor-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* 首页案例区 */
.home-case-section {
  padding: 40px 0;
  text-align: center;
  margin-top: 45px;
}

.home-case-title {
  font-size: 28px;
  margin-bottom: 30px;
  color: #212121;
}

.home-case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.home-case-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* 移动端合作区 */
.cooperate-section {
  padding: 40px 0;
  text-align: center;
}

.cooperate-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #212121;
  text-align: center;
}

.cooperate-img {
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 移动端产品详情页样式 */
.breadcrumb-section {
  padding: 30px 0 10px 0; /* 考虑菜单高度 */
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.breadcrumb-link {
  color: #757575;
  text-decoration: none;
}

.breadcrumb-separator {
  color: #ccc;
}

.breadcrumb-current {
  color: #757575;
  font-weight: normal;
}

.product-intro-section {
  padding: 20px 0 0 0;
}

.product-intro-title {
  font-size: 24px;
  font-weight: 700;
  color: #212121;
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.product-intro-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.product-intro-text p {
  font-size: 14px;
  color: #212121;
  line-height: 1.6;
  margin: 0 0 15px 0;
  text-align: justify;
}

.product-intro-text p:last-child {
  margin-bottom: 0;
}

.product-intro-image {
  width: 100%;
}

.product-intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

.download-section {
  padding: 20px 0;
}

.product-download {
  display: flex;
  padding: 0px 0 15px 0;
  margin-top: 0px;
}

.download-text {
  font-size: 14px;
  color: #757575;
}

.download-file {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pdf-icon {
  width: 16px;
  height: 16px;
}

.download-link {
  color: #757575;
  text-decoration: underline;
  font-size: 14px;
}

.advantage-section {
  padding: 0px 0;
}

.advantage-title {
  font-size: 24px;
  font-weight: 700;
  color: #212121;
  text-align: left;
  margin: 0 0 30px 0;
}

.advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 15px;
}

.advantage-item {
  width: 100%;
}



.advantage-img {
  width: 100%;
  height: auto;
  display: block;
}

.scene-section {
  padding: 75px 0;
}

/* ZRSysOps详情页技术优势板块特殊间距（无成功案例板块时） */
.scene-section.no-case {
  padding: 75px 0 30px 0;
}

.scene-title {
  font-size: 24px;
  font-weight: 700;
  color: #212121;
  text-align: left;
  margin: 0 0 40px 0;
}

.scene-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.scene-item {
  width: 100%;
}

.scene-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 详情页案例区 */
.detail-case-section {
  padding: 0px 0;
}

/* ZRIGW详情页案例区特殊间距（无适用场景板块时） */
.detail-case-section.no-scene {
  padding: 75px 0 30px 0;
}

.detail-case-title {
  font-size: 24px;
  font-weight: 700;
  color: #212121;
  text-align: left;
  margin: 0 0 40px 0;
}

.detail-case-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.detail-case-item {
  width: 100%;
}

.detail-case-img {
  width: 100%;
  height: auto;
  display: block;
}

.section-image {
  width: 100%;
  height: auto;
  display: block;
}

/* 移动端底部 */
.footer {
  background: #f5f5f5 !important;
  padding: 30px 0 40px;
  margin-top: 40px;
}

.footer .container {
  background-color: #f5f5f5 !important;
}

/* 确保footer内所有元素都保持浅灰色背景 */
.footer * {
  background-color: #f5f5f5 !important;
}

.footer .contact-section {
  background-color: #f5f5f5 !important;
}

.footer .contact-info {
  background-color: #f5f5f5 !important;
}

.footer .contact-info p {
  background-color: transparent !important;
}

.contact-section {
  text-align: center;
}

.contact-section h3 {
  font-size: 24px;
  font-weight: 700;
  color: #212121;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 14px;
  color: #757575;
  margin-bottom: 8px;
  line-height: 1.5;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

/* 移动端响应式调整 */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  /* 领域页面保持15px间距 */
  .domain-title-section .container,
  .domain-list-section .container {
    padding: 0 15px;
  }
  
  .service-title,
  .fields-title,
  .case-title {
    font-size: 28px;
  }
  
  .popup-content {
    padding: 20px 15px;
  }
}

/* 移动端触摸优化 */
button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

/* 移动端滚动优化 */
html {
  scroll-behavior: smooth;
}

/* 移动端字体大小优化 */
@media (max-width: 375px) {
  body {
    font-size: 14px;
  }
}

/* 移动端产品页样式 */
.product-title-section {
  padding: 80px 0 40px 0; /* 增加顶部间距，考虑菜单高度 */
  text-align: center;
}

.product-title {
  font-size: 28px;
  font-weight: 700;
  color: #212121;
  margin: 0;
}

.product-list-section {
  padding: 0 0 0px 0; /* 增加底部间距，从40px改为80px */
}

.product-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-item {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  border: none; /* 移除边框 */
  border-radius: 0; /* 移除圆角 */
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-item:hover {
  transform: none; /* 移除上移效果 */
  box-shadow: none; /* 移除阴影效果 */
}

.product-item:hover .product-img img {
  transform: scale(1.1); /* 图片放大效果 */
}

.product-item:hover .product-name {
  color: #009F38; /* 标题变绿色 */
}

.product-item:hover .product-name .arrow-icon {
  content: url('../img/arrow_long_green@2x.webp'); /* 箭头变绿色 */
}

.product-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease; /* 添加图片过渡效果 */
}

.product-content {
  padding: 15px 0; /* 减少上下padding */
}

.product-name {
  font-size: 18px;
  font-weight: 700;
  color: #212121;
  margin: 0 0 6px 0;
  line-height: 1.2;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-name .title-text {
  flex: 1;
}

.product-name .arrow-icon {
  width: 26px;
  height: auto;
  flex-shrink: 0;
}

.product-desc {
  font-size: 13px;
  color: #212121;
  line-height: 1.3;
  margin: 0;
  text-align: justify; /* 两端对齐 */
  text-align-last: left; /* 最后一行靠左 */
}

/* 移动端合作区 */

/* 领域系列页样式 */
.domain-title-section {
  padding: 0px 0 40px 0;
  text-align: center;
}

.domain-title {
  font-size: 28px;
  font-weight: 700;
  color: #212121;
  margin: 0;
}

.domain-list-section {
  padding: 0 0 0px 0;
}

.domain-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.domain-item {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  margin: 0 0 15px 0;
  padding: 0;
}

.domain-item:hover {
  transform: none;
  box-shadow: none;
}

.domain-item:hover .domain-img img {
  transform: scale(1.1);
}

.domain-img {
  width: 100%;
  height: 200px;
  overflow: visible;
  margin: 0;
  padding: 0;
}

.domain-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  margin: 0;
  padding: 0;
  display: block;
}

/* 最后一个领域卡片去掉底部margin */
.domain-item:last-child {
  margin-bottom: 0;
}

/* 领域详情页样式 */
.domain-intro-section {
  padding: 20px 0 15px 0;
}

.domain-intro-title {
  font-size: 24px;
  font-weight: 700;
  color: #212121;
  margin: 0 0 0px 0;
  line-height: 1.3;
}

.domain-intro-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0px;
}

/* 挑战标签 */
.challenge-tag {
  width: 72px;
  height: 22px;
  background-color: #1A6133;
  color: white !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin: 30px 0 4px 0;
}

/* 挑战项目 */
.challenge-item {
  margin-bottom: 30px;
}

.challenge-number {
  font-size: 16px;
  font-weight: 700;
  color: #1A6133;
  margin-bottom: 4px;
}

.challenge-item p {
  font-size: 14px;
  line-height: 1.4;
  color: #666;
  margin: 0;
  text-align: justify;
}

.domain-intro-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 30px 0;
  text-align: justify;
}

.domain-intro-text p:last-child {
  margin-bottom: 0;
}

/* 雷达领域主图区 */
.domain-main-image-section {
  padding: 80px 0 10px 0;
}

.domain-main-image {
  width: 100%;
}

.domain-main-image img {
  width: 100%;
  height: auto;
  display: block;
}

.domain-intro-image {
  width: 100%;
  margin-bottom: 20px;
}

.domain-intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 应用案例区 */
.domain-case-section {
  padding: 0px 0;
  margin: 0;
  width: 100%;
}

.case-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.case-image {
  width: 100%;
}

.case-image img {
  width: 100%;
  height: auto;
  display: block;
}



.case-tag {
  width: 72px;
  height: 22px;
  background-color: #1A6133;
  color: white !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 8px;
}

.case-title {
  font-size: 18px;
  font-weight: 700;
  color: #212121;
  margin: 0 0 4px 0;
  margin-bottom: 4px;
}

.case-text p {
  font-size: 14px;
  line-height: 1.4;
  color: #666;
  margin: 0 0 30px 0;
  text-align: justify;
}

/* 产品项目 */
.product-item {
  margin-bottom: 30px;
}

.product-number {
  font-size: 16px;
  font-weight: 700;
  color: #1A6133;
  margin-bottom: 8px;
}

.product-item p {
  font-size: 14px;
  line-height: 1.2;
  color: #666;
  margin: 0 0 10px 0;
  text-align: justify;
}

.product-item p:last-child {
  margin-bottom: 0px;
}

/* 案例总结 */
.case-summary {
  font-size: 16px;
  line-height: 1.4;
  color: #212121;
  text-align: justify;
  margin-top: 30px;
}

.case-summary strong {
  color: #1A6133;
}

/* 服务支持页面样式 */
.support-download-section {
  padding: 60px 0 40px 0;
}
.support-insights-section,
.support-video-section,
.support-form-section {
  padding: 40px 0;
}

.support-title-section {
  text-align: center;
  margin-bottom: 30px;
}

.support-title-img {
  height: 60px;
  width: auto;
  display: block;
  margin: 0 auto;
}

/* 下载列表样式 */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #f5f5f5;
  border-radius: 0;
  text-decoration: none;
  color: #212121;
  transition: background-color 0.2s;
  height: 60px;
  box-sizing: border-box;
}

.download-item:hover {
  background: #E5F5EB;
}

.download-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.download-title {
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  flex: 1;
}

/* 标签样式 - 参考PC端 */
.article-tags {
  margin-bottom: 15px;
}

.tag-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 5px; /* 固定标签间距，避免被拉大 */
  width: 100%;
}

.tag {
  display: inline-block;
  width: 100%; /* 占满各自栅格列 */
  height: 30px;
  border-radius: 0;
  background: #f5f5f5;
  color: #212121;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  line-height: 30px;
}

/* 全部标签hover和选中状态 */
.tag[data-filter="all"]:hover,
.tag[data-filter="all"].active {
  background: #1A6133;
  color: #fff !important;
}

/* 技术前沿标签hover和选中状态 */
.tag[data-filter="技术前沿"]:hover,
.tag[data-filter="技术前沿"].active {
  background: #1A6133;
  color: #fff !important;
}

/* 规范解读标签hover和选中状态 */
.tag[data-filter="规范解读"]:hover,
.tag[data-filter="规范解读"].active {
  background: #135ABD;
  color: #fff !important;
}

/* 技术漫谈标签hover和选中状态 */
.tag[data-filter="技术漫谈"]:hover,
.tag[data-filter="技术漫谈"].active {
  background: #DD9300;
  color: #fff !important;
}

/* 加载更多按钮 - 参考PC端 */
.article-loadmore {
  width: 100%;
  padding: 16px;
  background: rgba(245, 245, 245, 0.5);
  color: #212121;
  border: 1px solid #e0e0e0 !important;
  border-radius: 0;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
  height: 60px;
  line-height: 28px;
  -webkit-tap-highlight-color: transparent; /* 移动端点击不出现高亮 */
  user-select: none;
}

.article-loadmore:hover {
  background: #009F38;
  color: #ffffff;
  font-weight: bold;
}

/* 点击/聚焦时保持默认色，不变色 */
.article-loadmore:active,
.article-loadmore:focus {
  background: rgba(245, 245, 245, 0.5);
  color: #212121;
  font-weight: normal;
  outline: none;
}

/* 视频样式 */
.video-content {
  width: 100%;
}

.video-player {
  width: 100%;
  height: auto;
  display: block;
}

/* 表单样式 */
.support-title {
  font-size: 24px;
  font-weight: 700;
  color: #212121;
  text-align: center;
  margin-bottom: 30px;
}

.support-form {
  max-width: 100%;
}

.support-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.support-row {
  display: flex;
  gap: 15px;
}

.support-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.support-field.full-width {
  flex: 1;
}

.support-label {
  font-size: 14px;
  color: #212121;
  margin-bottom: 8px;
  font-weight: 500;
}

.support-input,
.support-textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-size: 14px;
  background: white;
}

.support-textarea {
  height: 100px;
  resize: vertical;
}

.support-submit-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.support-submit {
  padding: 16px 40px;
  background: #1A6133;
  color: white;
  border: none;
  border-radius: 0;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.support-submit:hover {
  background: #2E7D32;
}

/* 文章卡片样式 - 参考PC端 */
.article-item {
  width: 100%;
  height: 160px;
  margin-bottom: 15px;
  box-sizing: border-box;
}

.article-card {
  background: rgba(245, 245, 245, 0.5);
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 垂直居中标题+日期整体 */
  transition: box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.article-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--tag-color, rgba(26, 97, 51, 0.06));
  z-index: 0;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  opacity: 0;
}

.article-card:hover::before {
  transform: translateY(0);
  opacity: 1;
}

.article-card:hover {
  background: transparent;
}

.article-card[data-tag="技术前沿"] {
  --tag-color: rgba(0, 159, 56, 0.06);
  --tag-accent: #1A6133;
}

.article-card[data-tag="规范解读"] {
  --tag-color: rgba(19, 90, 189, 0.06);
  --tag-accent: #135ABD;
}

.article-card[data-tag="技术漫谈"] {
  --tag-color: rgba(221, 147, 0, 0.06);
  --tag-accent: #DD9300;
}

.article-card-header {
  padding: 20px 40px 6px 40px; /* 缩小标题与日期间距 */
  margin-bottom: 4px;        /* 缩小标题与日期间距 */
  position: relative;
  z-index: 1;
}

.article-card-title {
  font-size: 18px;
  font-weight: bold;
  color: #212121;
  line-height: 1.2;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.article-card-meta {
  padding: 0 40px; /* 与标题左边距对齐 */
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.article-card-date {
  font-size: 14px;
  color: #aaa;
}

.article-card-tag {
  display: flex;
  align-items: center;
  background: transparent;
  font-size: 12px;
  color: #ffffff !important;
  font-weight: bold;
  position: absolute;
  bottom: 3px; /* 向下2px */
  right: 3px;  /* 向右2px */
  z-index: 2;
}

.article-card-tagtext {
  font-weight: bold;
}

/* 底部全宽彩色横线（与标签颜色一致） */
.article-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px; /* 线条厚度，可按需调整 */
  background: var(--tag-accent, #1A6133);
  z-index: 0; /* 放在底部，使右下角固定彩色标签图标显示在其上方 */
}

.article-card-tagimg {
  width: 105px; /* 放大背景图标尺寸，参考PC端 */
  height: 105px;
  display: inline-block;
  object-fit: contain;
  position: absolute;
  bottom: 0; /* 靠右下角 */
  right: 0;
  z-index: 1;
  pointer-events: none;
}

/* 标签底图样式 */
.article-card-tag-bottom {
  width: auto; /* 使用原图尺寸 */
  height: auto; /* 使用原图尺寸 */
  position: absolute;
  bottom: 0;
  right: 0; /* 对齐卡片右下角 */
  left: auto;
  z-index: 1;
  pointer-events: none;
}

/* ===== 移动端深色模式防护设置 ===== */
/* 确保在所有设备和浏览器中强制使用浅色模式 */
@media (prefers-color-scheme: dark) {
  /* 强制所有元素保持浅色模式 */
  * {
    color-scheme: light only !important;
  }
  
  /* 确保背景色不被系统调整 */
  body, html {
    background-color: #fff !important;
    color: #212121 !important;
  }
  
  /* 确保所有文本元素保持原有颜色 */
  p, h1, h2, h3, h4, h5, h6, span, a, button, input, textarea, select, label, li, td, th {
    color: inherit !important;
  }
  
  /* 确保图片和媒体元素不被调整 */
  img, svg, video, canvas {
    filter: none !important;
    -webkit-filter: none !important;
  }
  
  /* 确保表单元素保持原有样式 */
  input, textarea, select, button {
    background-color: inherit !important;
    border-color: inherit !important;
    color: inherit !important;
  }
  
  /* 确保移动端特有元素保持样式 */
  .mobile-nav, .mobile-menu-button, .header {
    background-color: inherit !important;
    color: inherit !important;
  }
  
  .mobile-menu-button span {
    background-color: #212121 !important;
  }
  
  /* 确保绿色标签中的文字在深色模式下保持白色 */
  .challenge-tag, .case-tag {
    color: white !important;
  }
  
  /* 确保按钮文字在深色模式下保持白色 */
  .dds-btn {
    color: white !important;
  }
  
  /* 确保技术臻言标签在深色模式下保持白色文字 */
  .tag[data-filter="all"]:hover,
  .tag[data-filter="all"].active,
  .tag[data-filter="技术前沿"]:hover,
  .tag[data-filter="技术前沿"].active,
  .tag[data-filter="规范解读"]:hover,
  .tag[data-filter="规范解读"].active,
  .tag[data-filter="技术漫谈"]:hover,
  .tag[data-filter="技术漫谈"].active {
    color: #fff !important;
  }
  
  /* 确保文章卡片标签在深色模式下保持白色文字 */
  .article-card-tag {
    color: #ffffff !important;
  }
  
  /* 确保加载更多按钮在深色模式下保持边框样式 */
  .article-loadmore {
    border: 1px solid #e0e0e0 !important;
  }
  
  /* 移动端footer背景保护 - 确保在深色模式下保持浅灰色 */
  .footer {
    background: #f5f5f5 !important;
  }
  
  .footer .container {
    background-color: #f5f5f5 !important;
  }
  
  .footer * {
    background-color: #f5f5f5 !important;
  }
  
  .footer .contact-section {
    background-color: #f5f5f5 !important;
  }
  
  .footer .contact-info {
    background-color: #f5f5f5 !important;
  }
  
  .footer .contact-info p {
    background-color: transparent !important;
  }
}

/* 额外的移动端深色模式防护 */
@media (prefers-color-scheme: dark) {
  /* 强制滚动条保持浅色 */
  ::-webkit-scrollbar {
    background-color: #f5f5f5 !important;
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: #ccc !important;
  }
  
  /* 确保所有伪元素遵循浅色模式 */
  ::before, ::after {
    color-scheme: light only !important;
  }
  
  /* 移动端容器背景保护 */
  .container {
    background-color: #ffffff !important;
  }
  
  /* 移动端头部保护 */
  .header {
    background: rgba(255,255,255,0.3) !important;
  }
  
  /* 确保绿色标签中的文字在深色模式下保持白色 */
  .challenge-tag, .case-tag {
    color: white !important;
  }
  
  /* 确保按钮文字在深色模式下保持白色 */
  .dds-btn {
    color: white !important;
  }
  
  /* 确保技术臻言标签在深色模式下保持白色文字 */
  .tag[data-filter="all"]:hover,
  .tag[data-filter="all"].active,
  .tag[data-filter="技术前沿"]:hover,
  .tag[data-filter="技术前沿"].active,
  .tag[data-filter="规范解读"]:hover,
  .tag[data-filter="规范解读"].active,
  .tag[data-filter="技术漫谈"]:hover,
  .tag[data-filter="技术漫谈"].active {
    color: #fff !important;
  }
  
  /* 确保文章卡片标签在深色模式下保持白色文字 */
  .article-card-tag {
    color: #ffffff !important;
  }
  
  /* 确保加载更多按钮在深色模式下保持边框样式 */
  .article-loadmore {
    border: 1px solid #e0e0e0 !important;
  }
  
  /* 移动端footer背景保护 - 确保在深色模式下保持浅灰色 */
  .footer {
    background: #f5f5f5 !important;
  }
  
  .footer .container {
    background-color: #f5f5f5 !important;
  }
  
  .footer * {
    background-color: #f5f5f5 !important;
  }
  
  .footer .contact-section {
    background-color: #f5f5f5 !important;
  }
  
  .footer .contact-info {
    background-color: #f5f5f5 !important;
  }
  
  .footer .contact-info p {
    background-color: transparent !important;
  }
}