/*  */
@font-face {font-family: 'iconfont';
    src: url('../fonts/iconfont.eot');
    src: url('../fonts/iconfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/iconfont.woff') format('woff'),
    url('../fonts/iconfont.ttf') format('truetype'),
    url('../fonts/iconfont.svg#iconfont') format('svg');
}
.iconfont{
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;}
.huawei-content {
  background: #fff;
  color: #1f1f1f;
  padding:0;
}
.huawei-content * { box-sizing: border-box; }
.huawei-content a { color: inherit; text-decoration: none; }
.huawei-inner {
       /* max-width: 1430px; */
       /* width: 98%; */
  margin: 0 auto;
}
.index-news{background:url(../images/news-bg.jpg) no-repeat center;background-size:cover;}
.huawei-newsinner{max-width: 1430px; width: 98%;padding: 100px 0;}

.huawei-inner .title {
  margin: 0 0 42px;
  text-align: center;
  line-height: 1.25;
  font-weight: bold;
  letter-spacing: 0;
}
.huawei-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)); /* 6列，每列1/6宽 */
  gap: 12px;
  padding: 0 12px 24px 12px;
}
.huawei-card {
  position: relative;
  display: block;
  min-height: 288px;
  overflow: hidden;
  background: #111;
}
.huawei-card-large { grid-column: span 1; }

/* 2. 前4个卡片保持各占1/2（span 3 = 3/6） */
.huawei-card-grid > .huawei-card:nth-child(-n+4) {
  grid-column: span 3;
}

/* 3. 第5、6、7个卡片各占1/3（span 2 = 2/6） */
.huawei-card-grid > .huawei-card:nth-child(n+5):nth-child(-n+7) {
  grid-column: span 2;
}



.huawei-card img {
  width: 100%;
  height: 100%;
  min-height: 288px;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
  transition: transform .45s ease;
}
.huawei-card:hover img { transform: scale(1.045); }
.huawei-card-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.26) 85%);
}
.huawei-card-copy {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 28px;
  color: #fff;
}
.huawei-kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  opacity: .9;
}
.huawei-card-copy strong {
  display: block;
  font-size: 25px;
  line-height: 1.28;
  font-weight: 500;
}
.huawei-card-copy em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 16px;
  line-height: 1.5;
}
.huawei-more {
  display: inline-block;
  margin-top: 18px;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,.9);
}
.huawei-passbar {
  position: relative;
  display: block;
  margin: 70px 0;
  min-height: 250px;
  overflow: hidden;
  background: #ddd;
}
.huawei-passbar img {
  width: 100%;
  display: block;
}
.huawei-passbar-action {
  position: absolute;
  left: 11%;
  top: 56%;
  transform: translateY(-50%);
  min-width: 138px;
  padding: 12px 28px;
  text-align: center;
  color: #fff;
  background: #c7000b;
  border: 1px solid #c7000b;
  transition: background .2s ease, border-color .2s ease;
}
.huawei-passbar:hover .huawei-passbar-action {
  background: #850f12;
  border-color: #850f12;
}
.huawei-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.huawei-event-card,
.huawei-news-list {
  position: relative;
  display: block;
  min-height: 440px;
  background: #fff;
  overflow: hidden;
}
.huawei-event-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.huawei-event-card:hover img { transform: scale(1.04); }
.huawei-event-type {
	background: rgba(0,0,0,.5);
  display: inline-block;
  color: #fff;
  font-size: 15px;
      left: 0;
      max-width: 90%;
      padding: 7px 20px;
      position: absolute;
      text-align: center;
      top: 0;
      z-index: 8;
  
}
.huawei-event-copy {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px 28px 28px;
}
.huawei-event-copy .time {display: flex;align-items: center;gap: 5px;}
.huawei-event-copy .time svg{width: 20px;}
.huawei-event-copy h2 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
 white-space: nowrap;
  overflow: hidden;    
  text-overflow: ellipsis;
  
}
.huawei-event-copy span,
.huawei-event-copy em {
  color: #666;
  font-size: 15px;
  line-height: 1.5;
  font-style: normal;
   display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 限制为2行 */
    overflow: hidden; /* 隐藏溢出的内容 */
    text-overflow: ellipsis; /* 显示省略号 */
}
.huawei-news-list {
  min-height: 528px;
  max-height: 528px;
  padding: 0;
  background: #fff;
}
.huawei-news-label {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  display: inline-block;
  min-width: 66px;
  padding: 8px 20px;
  background: #8c8c8c;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
}
.huawei-news-scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 44px 0 26px 0;
  scrollbar-color: #9c9c9c transparent;
  scrollbar-width: thin;
}
.huawei-news-scroll::-webkit-scrollbar {
  width: 4px;
}
.huawei-news-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.huawei-news-scroll::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: #9c9c9c;
}
.huawei-news-list::after {
  content: "";
  position: absolute;
  left: 0;
  right: 10px;
  bottom: 0;
  height: 64px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 84%);
}
.huawei-news-list a {
  display: block;
  margin: 0 30px 0 36px;
  padding: 18px 0 14px;
  border-bottom: 0;
}
.huawei-news-list strong {
  display: block;
  color: #1f2a35;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
}
.huawei-news-list a span {
  display: block;
  margin-top: 2px;
  color: #5f6a74;
  font-size: 16px;
  line-height: 1.45;
}
.huawei-news-list a .time{display: flex;gap: 5px;}
.huawei-news-list a .time svg{width: 20px;}
	
.huawei-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
}
.huawei-actions a {
  min-width: 150px;
  padding: 12px 28px;
  border: 1px solid #111;
  border-radius: 30px;
  text-align: center;
  transition: color .2s ease, background .2s ease;
}
.huawei-actions a:hover {
  color: #fff;
  background: #f54336;
  border: 1px solid #f54336;
}
.mcu-hot-resources {
  margin-top: 70px;
  padding: 38px 0 48px;
}
.mcu-hot-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}
.mcu-hot-inner h2 {
  margin: 0 0 44px;
  color: #222;
  text-align: center;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0;
}
.mcu-hot-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 48px;
}
.mcu-hot-item {
  display: flex;
  min-height: 108px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color: #333;
  text-align: center;
  text-decoration: none;
}
.mcu-hot-icon {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
}
.mcu-hot-icon img {
  position: absolute;
  inset: 0;
  width: 56px;
  height: 56px;
  object-fit: contain;
  transition: opacity .2s ease, transform .2s ease;
}
.mcu-hot-icon-hover {
  opacity: 0;
}
.mcu-hot-item:hover .mcu-hot-icon-default {
  opacity: 0;
}
.mcu-hot-item:hover .mcu-hot-icon-hover {
  opacity: 1;
  transform: translateY(-2px);
}
.mcu-hot-item > span:last-child {
  display: block;
  font-size: 16px;
  line-height: 1.45;
}
/* 首页banner下图 */
.main-product-show {
    margin: 12px 0;
    position: relative;
}
.main-product-show img{width:100%;}
.main-product-show .infos {
    color: #fffc;
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 10vh;
    width: 100%;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}
.main-product-show .infos .desc {
  /*  font-size: 24px; */
    letter-spacing: 1px;
    line-height: 30px;
}
.main-product-show .infos .title {
  /*  font-size: 36px; */
    font-weight: 700;
    letter-spacing: 1px;
    padding-top: 5px;
    margin-top: 10px;
}
.th-btn {
    position: relative;
    z-index: 2;
    vertical-align: middle;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    border: none;
    text-align: center;
    background-color: var(--theme-color);
    color: var(--white-color);
    font-family: var(--body-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 14px 22px;
    min-width: 140px;
    border-radius: 50px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.btn-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 20px 30px;
}
.justify-content-center {
    -ms-flex-pack: center!important;
    justify-content: center !important;
}
.th-btn.style2 {
    background: #d12733;
}






@media (max-width: 991px) {
	.huawei-inner .title{font-size: 24px;padding-top: 24px;}
  .huawei-content { padding: 0; }
  .huawei-inner { width: min(100% - 28px, 680px);padding: 24px 0;}
  .index-news{background-size: cover;}
  .huawei-inner h2 { margin-bottom: 0px; font-size: 18px; }
  .huawei-card-grid,
  .huawei-news-grid { grid-template-columns: 1fr; gap: 16px;padding: 0;}
  .huawei-card-grid > .huawei-card:nth-child(n+5):nth-child(-n+7){grid-column: span 3;}
  .main-product-show:nth-child(1){margin-top:0;}
  .huawei-card-large { grid-column: span 1; }
  .huawei-card,
  .huawei-event-card,
  .huawei-news-list { min-height: auto; }
  .huawei-card img { min-height: 250px; }
  .huawei-card-copy { left: 22px; right: 22px; bottom: 22px; }
  .huawei-card-copy strong { font-size: 22px; }
  .huawei-passbar { margin: 44px 0; min-height: 0; }
  .huawei-passbar-action { left: 50%; top: auto; bottom: 10%; transform: translateX(-50%); }
  .mcu-hot-resources { margin-top: 44px; padding: 34px 0 36px; }
  .mcu-hot-inner { width: min(100% - 28px, 680px); }
  .mcu-hot-inner h2 { margin-bottom: 30px; font-size: 28px; }
  .mcu-hot-list { gap: 28px; }
  .mcu-hot-item { min-height: 84px; }
  .main-product-show .infos .title{margin: 0;font-size: 18px;margin-bottom: 10px;}
  .main-product-show .infos{top: 2vh;}
  .th-btn{min-width: 120px;padding: 10px 6px;}
  .huawei-event-copy{padding: 20px 20px 28px;}
  .huawei-news-list a{margin: 0 20px 0 20px;}
  .huawei-news-list{min-height: 400px;}
  .huawei-news-list strong{font-size: 18px;margin-bottom: 5px;}
 .main-product-show .infos .desc{font-size: 14px;}
  
}
