/* 行业动态页面样式 */

.industry-banner {
  position: relative;
  width: 100%;
  height: 84rem;
  overflow: hidden;
}

.industry-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.industry-banner .banner-content {
  position: absolute;
  top: 30rem;
  left: 26rem;
  z-index: 2;
}

/* 动画元素初始状态 */
.industry-banner [data-animate]:not(.animate__animated) {
  opacity: 0;
  will-change: opacity, transform;
}

.industry-list [data-animate]:not(.animate__animated) {
  opacity: 0;
  will-change: opacity, transform;
}

/* 动画执行后保持可见状态 */
.industry-banner [data-animate].animate__animated,
.industry-list [data-animate].animate__animated {
  opacity: 1 !important;
}

.industry-banner .banner-title-primary {
  font-size: 6.4rem;
  color: #fff;
  font-weight: bold;
  margin: 0 0 2.8rem 0;
  padding: 0;
  line-height: 1.2;
}

.industry-banner .banner-title-secondary {
  font-size: 4.8rem;
  color: #fff;
  font-weight: normal;
  margin: 0 0 2.8rem 0;
  padding: 0;
  line-height: 1.2;
}

.industry-banner .view-more-btn {
  display: inline-block;
  font-size: 2.8rem;
  color: #fff;
  background-color: #0052D9;
  padding: 1.5rem 2rem;
  text-decoration: none;
  border-radius: 0.4rem;
  transition: background-color 0.3s ease;
}

.industry-banner .view-more-btn:hover {
  background-color: #003d9f;
}

/* 移动端样式调整 */
@media (max-width: 768px) {
  /* Banner高度调整为33rem */
  .industry-banner {
    height: 33rem;
  }
  
  /* 调整Banner内容位置 */
  .industry-banner .banner-content {
    top: 60%;
    left: 2%;
    /* transform: translate(-50%, -50%); */
    text-align: center;
    padding: 0 2rem;
  }
  
  /* 调整Banner标题字体大小 */
  .industry-banner .banner-title-primary {
    font-size: 3.2rem;
    margin-bottom: 1.4rem;
  }
  
  .industry-banner .banner-title-secondary {
    font-size: 2.4rem;
    margin-bottom: 1.4rem;
  }
  
  /* 调整按钮大小 */
  .industry-banner .view-more-btn {
    font-size: 2rem;
    padding: 1rem 1.5rem;
  }
  
  /* 调整列表区域宽度和内边距 - 设置左右20px */
  .industry-list {
    padding: 0 2rem !important;
    border-bottom: 1px dashed #ccc;
  }
  
  /* 调整列表项宽度 - 设置100%宽度 */
  .industry-item {
    width: 100% !important;
    padding: 0 !important;;
    flex-direction: column;
    align-items: flex-start;
  }
  
  /* 调整图片尺寸 - 移动端宽度3.2rem，高度1.9rem */
  .item-image {
    width: 9.6rem !important;
    height: 5.7rem !important;
    margin-right: 0;
    margin-bottom: 2rem;
    display: none;
  }
  
  /* 调整内容区域 */
  .item-content {
    margin-right: 0 !important;
    min-height: auto;
    width: 100%;
  }
  
  /* 调整标题字体大小 */
  .item-title {
    font-size: 2rem !important;
  }
  
  /* 调整描述文本字体大小 */
  .item-description {
    font-size: 1.6rem !important;
    line-height: 2.8rem !important;
  }
  
  /* 调整日期字体大小 */
  .item-date {
    font-size: 1.4rem;
    line-height: 1.4rem;
  }
  
  /* 调整标签字体大小 */
  .item-tag {
    font-size: 1.2rem !important;
    padding: 0.2rem 0.5rem !important;
  }
  .item-icon-wrapper{
    display: none !important;
  }
  .industry-detail-content{
    padding: 2rem !important;
  }
  .industry-detail-title-wrapper{
    flex-direction: column;
    gap: 1rem !important;
    align-items: normal !important;
  }
  .industry-detail-title{
    display: block !important;
    font-size: 1.6rem !important;
  }
  .industry-detail-title .industry-detail-tag {
    font-size: 1.2rem;
  }
  .industry-detail-date{
    justify-content: flex-end !important;
  }
  .industry-detail-body {
    font-size: 1.4rem !important;
    line-height: 2.4rem !important;
  }
}

.industry-content {
  width: 100%;
  padding: 3rem 0;
}

.industry-list {
  width: 100%;
  max-width: 192rem;
  margin: 0 auto;
  padding: 0 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.industry-item {
  display: flex;
  align-items: center;
  width: 140rem;
  padding: 3rem 9rem 3rem 6rem;
  margin-bottom: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  position: relative;
  box-sizing: border-box;
}

.industry-item:hover {
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.1);
  border: 1px dashed #ccc;
}

.item-image {
  width: 32.6rem;
  height: 19.6rem;
  flex-shrink: 0;
  margin-right: 4rem;
  border-radius: 0.4rem;
  overflow: hidden;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 19.6rem;
  margin-right: 6rem;
}

.item-title {
  font-size: 2.8rem;
  color: #0052D9;
  font-weight: bold;
  margin: 0 0 1.2rem 0;
  padding: 0;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.item-tag {
  display: inline-block;
  background-color: rgba(82, 202, 248, 0.2);
  color: #52CAF8;
  font-size: 1.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 0.2rem;
  font-weight: normal;
  line-height: 1;
  flex-shrink: 0;
}

.item-description {
  font-size: 2rem;
  line-height: 3.8rem;
  color: #000;
  margin: 1.2rem 0 0 0;
  padding: 0;
  flex: 1;
}

.item-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: auto;
}

.item-date {
  font-size: 1.6rem;
  color: #939495;
  line-height: 1.6rem;
  display: inline-flex;
  align-items: center;
}

.item-icon-wrapper {
  position: relative;
  width: 6.2rem;
  height: 6.2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-icon {
  width: 6.2rem;
  height: 6.2rem;
  object-fit: contain;
  transition: opacity 0.3s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.item-icon.item-icon-hover {
  opacity: 0;
  pointer-events: none;
}

.industry-item:hover .item-icon:not(.item-icon-hover) {
  opacity: 0;
}

.industry-item:hover .item-icon.item-icon-hover {
  opacity: 1;
}

/* 行业动态详情页面 */
.industry-detail-content {
  width: 100%;
  max-width: 140rem;
  margin: 5rem auto 0;
  padding: 0 6rem 3.2rem;
  box-sizing: border-box;
}

.industry-detail-header {
  margin-bottom: 2.2rem;
  padding-bottom: 2.2rem;
  border-bottom: 0.2rem solid #979797;
}

.industry-detail-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.industry-detail-title {
  font-size: 2.8rem;
  color: #000;
  font-weight: bold;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.industry-detail-tag {
  display: inline-block;
  background-color: rgba(82, 202, 248, 0.2);
  color: #52CAF8;
  font-size: 1.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 0.2rem;
  font-weight: normal;
  line-height: 1;
  flex-shrink: 0;
}

.industry-detail-date {
  font-size: 1.4rem;
  color: #939495;
  line-height: 1.4rem;
  flex-shrink: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.industry-detail-date .date-icon {
  width: 1.4rem;
  height: 1.4rem;
  object-fit: contain;
  flex-shrink: 0;
}

.industry-detail-body {
  margin-top: 2rem;
  font-size: 2rem;
  color: #000;
  line-height: 3.8rem;
  height: auto;
  min-height: auto;
  max-height: none;
}

/* 文字擦除效果 - 从上到下逐渐显示 */
.text-reveal {
  position: relative;
  overflow: hidden;
}

.text-reveal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: textReveal 3s ease-in-out forwards;
  z-index: 1;
  pointer-events: none;
}

@keyframes textReveal {
  0% {
    clip-path: inset(0 0 0 0);
  }
  100% {
    clip-path: inset(100% 0 0 0);
  }
}

