/* ===================== 企业资讯列表 ===================== */

.nw-main {
  --nw-blue: #004EA2;
  --nw-ink: #353D42;
  --nw-head-h: 85px;
}

.nw-wrap {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
}

/* ===================== Banner ===================== */
.nw-hero {
  position: relative;
  aspect-ratio: 1271 / 342;
  min-height: 320px;
  overflow: hidden;
  background: #33414f;
}

.nw-hero-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.nw-hero-shade {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 6, 6, .5);
}

.nw-hero-inner {
  position: relative;
  z-index: 2;
  width: 1200px;
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
}

/* 左侧蓝色信息面板（从视口左缘延伸） */
.nw-hero-panel {
  position: absolute;
  left: 0;
  top: 50%;
  width: 42%;
  height: calc(100% - 100px);
  transform: translateY(-50%);
}

.nw-hero-panel::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: calc(100% + 360px);
  height: 100%;
  background: rgba(0, 78, 162, .85);
}

/* 面包屑 */
.nw-crumb {
  position: absolute;
  left: 0;
  top: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1.75;
}

.nw-crumb li {
  position: relative;
  padding: 0 15px;
}

.nw-crumb li:first-child {
  padding-left: 0;
}

.nw-crumb li + li::before {
  content: '>';
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  opacity: .7;
}

.nw-crumb a {
  color: #fff;
  opacity: .7;
}

.nw-crumb li:last-child a {
  opacity: 1;
}

.nw-crumb a:hover {
  opacity: 1;
}

/* 标题 */
.nw-hero-txt {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 2;
  width: 83%;
  transform: translateY(-50%);
}

.nw-hero-txt h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

/* ===================== 资讯列表 ===================== */
.nw-list {
  padding: 84px 0 90px;
  background: #F7F7F7;
}

.nw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.nw-grid > li {
  display: flex;
}

.nw-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.nw-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .1);
}

.nw-card-pic {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #EFF1F3;
}

.nw-card-pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nw-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 166px;
  padding: 20px 20px 15px;
}

.nw-date {
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.75;
  color: #999;
}

.nw-title {
  display: -webkit-box;
  min-height: 51.2px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--nw-ink);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.nw-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--nw-blue);
}

.nw-more::after {
  content: '>';
  margin-left: 8px;
  font-size: 14px;
  line-height: 1;
}

/* ===================== 响应式 ===================== */
@media screen and (max-width: 1200px) {
  .nw-wrap {
    width: 100%;
    padding: 0 20px;
  }

  .nw-hero-inner {
    width: 100%;
  }

  .nw-hero-panel {
    left: 20px;
  }

  .nw-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 991px) {
  .nw-hero {
    aspect-ratio: auto;
    height: 340px;
  }

  .nw-hero-panel {
    height: calc(100% - 80px);
  }

  .nw-hero-txt h1 {
    font-size: 36px;
  }
}

@media screen and (max-width: 768px) {
  .nw-hero {
    height: 300px;
    min-height: 0;
  }

  .nw-hero-panel {
    left: 0;
    width: 100%;
    height: 100%;
  }

  .nw-hero-panel::before {
    width: 100%;
    opacity: .88;
  }

  .nw-crumb {
    left: 20px;
    top: 18px;
    font-size: 13px;
  }

  .nw-crumb li {
    padding: 0 12px;
  }

  .nw-hero-txt {
    left: 20px;
    width: calc(100% - 40px);
  }

  .nw-hero-txt h1 {
    font-size: 32px;
  }

  .nw-list {
    padding: 46px 0 56px;
  }

  .nw-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .nw-card-body {
    min-height: 0;
    padding: 18px 18px 14px;
  }

  .nw-title {
    min-height: 0;
    font-size: 15px;
  }
}
