@charset "utf-8";

/* 首页模块二：阳光成长 */
.module-growth {
  position: relative;
  height: 100%;
  min-height: 100%;
  padding: 72px 0 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.module-growth__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  flex-shrink: 0;
}

.module-growth__bg {
  position: absolute;
  inset: 0;
  background-color: #eef4fa;
  background-image: var(--module-bg-image, url("/images/default-cover.jpg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.module-growth__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 255, 255, 0.48) 55%,
    rgba(255, 255, 255, 0.58) 100%
  );
  pointer-events: none;
}

/* 标题区（居中大字 + 英文副标） */
.module-growth__head {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 28px;
  padding: 20px 0;
  flex-shrink: 0;
}

.module-growth__title {
  flex: 1;
  text-align: center;
}

.module-growth__icon {
  display: block;
  margin: 0 auto 6px;
  color: #2a6cb5;
}

.module-growth__title-cn {
  margin: 0;
  font-size: 34px;
  font-weight: bold;
  color: #2a6cb5;
  letter-spacing: 0.15em;
  line-height: 1.2;
}

.module-growth__title-en {
  margin: 8px 0 0;
  font-size: 12px;
  color: #7a9bb8;
  letter-spacing: 0.4em;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.module-growth__title-en::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2a6cb5, transparent);
}

/* 两栏：左预览图 4:3 定高，右列表顶底对齐 */
.module-growth__body {
  --growth-col-h: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 24px;
  align-items: stretch;
  align-content: start;
}

.growth-preview,
.growth-news-list {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 12px;
}

.growth-preview {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  align-self: stretch;
  background: #123a66;
  box-shadow: 0 8px 28px rgba(10, 50, 110, 0.16);
}

.growth-news-list {
  height: 0;
  min-height: 100%;
  align-self: stretch;
  overflow-x: hidden;
  overflow-y: hidden;
  list-style: none;
  margin: 0;
  padding: 16px 18px;
  display: grid;
  grid-template-rows: repeat(8, minmax(0, 1fr));
  background: #fff;
  box-shadow: 0 8px 28px rgba(10, 50, 110, 0.1);
}

.growth-preview__link {
  position: absolute;
  inset: 0;
  display: block;
  color: #fff;
  text-decoration: none;
}

.growth-preview__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.growth-preview__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(10, 86, 181, 0) 0%, rgba(10, 86, 181, 0.38) 100%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.growth-news-list li {
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  display: flex;
}

.growth-news-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: #222;
  font-size: 15px;
  line-height: 1.45;
  box-sizing: border-box;
  transition: background 0.18s, color 0.18s;
}

.growth-news-link:hover,
.growth-news-list li.is-active .growth-news-link {
  background: #0a56b5;
  color: #fff;
}

.growth-news-link__tit {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.growth-news-link__date {
  flex-shrink: 0;
  font-size: 13px;
  color: #999;
}

.growth-news-link:hover .growth-news-link__date,
.growth-news-list li.is-active .growth-news-link__date {
  color: rgba(255, 255, 255, 0.9);
}

.module-growth__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  flex-shrink: 0;
}

.module-growth__more {
  font-size: 14px;
  color: #1a5a9e;
  text-decoration: none;
}

.module-growth__more:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .module-growth__body {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .growth-preview {
    aspect-ratio: unset;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .growth-preview__link {
    position: static;
    display: block;
    color: inherit;
  }

  .growth-preview__img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(10, 50, 110, 0.16);
  }

  .growth-preview__bar {
    position: static;
    padding: 10px 4px 0;
    background: none;
    color: #1a3a5c;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    -webkit-line-clamp: unset;
  }

  .growth-news-list {
    height: auto;
    min-height: 0;
    grid-template-rows: none;
    overflow: visible;
  }

  .growth-news-list li {
    flex: none;
  }

  .growth-news-link {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    height: auto;
    padding: 12px 14px;
  }

  .growth-news-link__tit {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: unset;
    line-height: 1.55;
    font-weight: 500;
    width: 100%;
  }

  .growth-news-link__date {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .module-growth {
    padding-top: 72px;
  }

  .module-growth__title-cn {
    font-size: 28px;
  }
}
