@charset "UTF-8";

/* 首页 · 吉林农业大学生命科学学院 */

.wwh-index {
  background: #fff;
}

/* Banner 底部学院标识条 */
.index-college-bar {
  position: relative;
  z-index: 20;
  margin-top: -2px;
  background: linear-gradient(
    135deg,
    var(--wwh-deep) 0%,
    var(--wwh-deep-mid) 42%,
    var(--wwh-accent) 100%
  );
  overflow: hidden;
}

.index-college-bar::before,
.index-college-bar::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
}

.index-college-bar::before {
  width: 280px;
  height: 280px;
  right: -40px;
  top: -120px;
  border-radius: 50%;
  border: 24px solid #fff;
}

.index-college-bar::after {
  left: 8%;
  bottom: -60px;
  width: 200px;
  height: 200px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'%3E%3Cpath d='M32 8c-8 12-20 18-20 32 0 11 9 20 20 20s20-9 20-20c0-14-12-20-20-32z' fill='%23ffffff'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

.index-college-bar .container-outer {
  position: relative;
  z-index: 2;
}

.index-college-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 22px 0;
  color: var(--wwh-text-on-accent);
}

.index-college-bar .college-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
}

.index-college-bar .college-brand .uni {
  font-size: 15px;
  opacity: 0.92;
  letter-spacing: 0.12em;
}

.index-college-bar .college-brand .name {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.index-college-bar .college-brand .en {
  margin: 0;
  font-size: 13px;
  opacity: 0.85;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  width: 100%;
}

.index-college-bar .college-motto {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

/* 模块标题 */
.wwh-index .index-mod-top {
  padding-bottom: 36px;
}

.wwh-index .index-mod-title {
  padding-left: 18px;
  border-left: 4px solid var(--wwh-accent);
}

.wwh-index .index-mod-college {
  display: block;
  font-size: 12px;
  color: var(--wwh-accent);
  letter-spacing: 0.14em;
  margin-bottom: 6px;
  font-weight: 600;
}

.wwh-index .index-mod-college em {
  font-style: normal;
  margin: 0 4px;
  opacity: 0.65;
}

.wwh-index .index-mod-title h3 {
  color: var(--wwh-deep);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.wwh-index .index-mod-sub {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #888;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.wwh-index .index-mod-title i {
  margin-top: 12px;
}

/* 首页功能模块 · 色块区分（无顶部分割线） */
.wwh-index .index-product,
.wwh-index .index-cases,
.wwh-index .index-news {
  position: relative;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
  background: #fff !important;
  border: none !important;
}

.wwh-index .index-about {
  position: relative;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
  border: none !important;
}

.wwh-index .index-partner {
  position: relative;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
  border: none !important;
}

.wwh-index .index-download {
  position: relative;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
  border: none !important;
}

/* 首页区块背景与 DOM 顺序解耦（换位置时背景色不变） */
.wwh-index .index-home-bg-alt {
  background: var(--wwh-paper-2) !important;
}

.wwh-index .index-home-bg-default {
  background: #fff !important;
}

.wwh-index .index-home-bg-paper {
  background: var(--wwh-paper) !important;
  background-image: none !important;
}

/* 校企合作：白底，覆盖 style.css 默认浅绿与背景图 */
.wwh-index .index-partner.index-home-bg-default {
  background: #fff !important;
  background-image: none !important;
}

/* 去掉顶部分割线装饰 */
.wwh-index .index-product::before,
.wwh-index .index-cases::before,
.wwh-index .index-about::before,
.wwh-index .index-download::before,
.wwh-index .index-news::before,
.wwh-index .index-partner::before {
  display: none;
  content: none;
}

/* 公司简介：内层白卡片 */
.wwh-index .index-about .index-about-panel {
  box-shadow: 0 2px 20px rgba(var(--wwh-rgb), 0.06);
  border: 1px solid rgba(var(--wwh-rgb), 0.08);
  border-radius: 12px;
}

/* 首页卡片 · 统一轻阴影 */
.wwh-index .index-news-card,
.wwh-index .index-news .index-news-item a,
.wwh-index .index-cases .index-cases-item a .item-box,
.wwh-index .index-download-row {
  border-radius: 12px !important;
  border: 1px solid rgba(var(--wwh-rgb), 0.08);
  box-shadow: 0 2px 16px rgba(var(--wwh-rgb), 0.05) !important;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.wwh-index .index-news .index-news-item a:hover,
.wwh-index .index-cases .index-cases-item a:hover .item-box,
.wwh-index .index-download-row:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--wwh-rgb), 0.14) !important;
  box-shadow: 0 8px 28px rgba(var(--wwh-rgb), 0.09) !important;
}

.wwh-index .index-download {
  background: var(--wwh-paper) !important;
}

.wwh-index .index-news {
  background: var(--wwh-paper) !important;
}

/* 通知公告、新闻中心：固定白底（覆盖上方 .index-news 纸色） */
.wwh-index .index-news.index-announcement,
.wwh-index .index-news.index-news-center {
  background: #fff !important;
  background-image: none !important;
}

.wwh-index .index-news.index-announcement::after,
.wwh-index .index-news.index-news-center::after {
  display: none;
  content: none;
}

/* 浅色区块上的装饰纹样（更淡） */
.wwh-index .index-home-bg-paper::after,
.wwh-index .index-home-bg-alt::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(240px, 32vw);
  height: min(240px, 32vw);
  pointer-events: none;
  opacity: 0.035;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cpath d='M40 10c-10 14-26 22-26 38 0 12 11 22 26 22s26-10 26-22c0-16-16-24-26-38z' fill='%2300923f'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

.wwh-index .index-product::after,
.wwh-index .index-news::after {
  display: none;
  content: none;
}

.wwh-index .index-about-head .index-mod-college {
  margin-bottom: 8px;
}

.wwh-index .index-banner-swiper .index-banner-item .big div {
  letter-spacing: 0.06em;
}

.wwh-index .index-banner-swiper .index-banner-item .small div {
  opacity: 0.95;
}

@media screen and (max-width: 960px) {
  .index-college-bar-inner {
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .index-college-bar .college-brand .name {
    font-size: 22px;
  }

  .index-college-bar .college-motto {
    font-size: 13px;
    border-radius: 6px;
    width: 100%;
    text-align: center;
  }

  .wwh-index .index-mod-title h3 {
    font-size: 22px;
  }

  .wwh-index .index-product,
  .wwh-index .index-about,
  .wwh-index .index-cases,
  .wwh-index .index-download,
  .wwh-index .index-news,
  .wwh-index .index-partner {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
}

@media screen and (min-width: 961px) {
  .wwh-index .index-partner {
    border-top: none !important;
    border-bottom: none !important;
  }
}

/* 无封面图 · 暂无图片占位（ArchiveCoverDto） */
.pic.wwh-cover-empty,
a.pic.wwh-cover-empty {
  background: linear-gradient(
    145deg,
    var(--wwh-paper-2) 0%,
    #e2ebe6 48%,
    #d4e4da 100%
  ) !important;
  background-image: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pic.wwh-cover-empty .img-block,
a.pic.wwh-cover-empty .img-block {
  opacity: 0;
  pointer-events: none;
}

.wwh-cover-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  color: rgba(var(--wwh-rgb), 0.42);
  pointer-events: none;
  text-align: center;
}

.wwh-cover-placeholder-icon {
  width: 56px;
  height: 42px;
  opacity: 0.85;
}

.wwh-cover-placeholder em {
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.14em;
  color: rgba(var(--wwh-rgb), 0.55);
}

.index-news .index-news-item .img .pic.wwh-cover-empty {
  min-height: 176px;
  width: 100%;
}

.index-cases .pic.wwh-cover-empty,
.cases-list .pic.wwh-cover-empty {
  min-height: 100%;
}

.wwh-subpage .news-list.wwh-list-section .pic.wwh-cover-empty {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.wwh-subpage .pic.wwh-cover-empty {
  min-height: 180px;
}

.index-product a.pic.wwh-cover-empty .wwh-cover-placeholder {
  position: relative;
  z-index: 2;
}

/* 首页通知公告 / 学术活动：一排显示 3 个 */
.wwh-index .index-announcement .index-news-item,
.wwh-index .index-academic .index-news-item,
.wwh-index .index-announcement .index-news-item:first-child:nth-last-child(2),
.wwh-index .index-announcement .index-news-item:first-child:nth-last-child(2) ~ .index-news-item,
.wwh-index .index-academic .index-news-item:first-child:nth-last-child(2),
.wwh-index .index-academic .index-news-item:first-child:nth-last-child(2) ~ .index-news-item {
  -webkit-flex: 1 1 calc((100% - 32px) / 3);
  -ms-flex: 1 1 calc((100% - 32px) / 3);
  flex: 1 1 calc((100% - 32px) / 3);
  max-width: calc((100% - 32px) / 3);
  min-width: 0;
}

.wwh-index .index-announcement .index-news-item:only-child,
.wwh-index .index-academic .index-news-item:only-child {
  -webkit-flex: 1 1 calc((100% - 32px) / 3);
  -ms-flex: 1 1 calc((100% - 32px) / 3);
  flex: 1 1 calc((100% - 32px) / 3);
  max-width: calc((100% - 32px) / 3);
}

.wwh-index .index-announcement .index-news-item .index-news-card,
.wwh-index .index-academic .index-news-item .index-news-card {
  min-height: 152px;
}

.wwh-index .index-announcement .index-news-item .img .pic,
.wwh-index .index-academic .index-news-item .img .pic,
.wwh-index .index-announcement .index-news-item .img .pic .img-block,
.wwh-index .index-academic .index-news-item .img .pic .img-block {
  min-height: 152px;
}

.wwh-index .index-announcement .index-news-item .index-news-text,
.wwh-index .index-academic .index-news-item .index-news-text {
  padding: 14px 16px;
}

.wwh-index .index-announcement .index-news-item .index-news-text .title,
.wwh-index .index-academic .index-news-item .index-news-text .title {
  font-size: 15px;
}

.wwh-index .index-announcement .index-news-item .index-news-text .summary,
.wwh-index .index-academic .index-news-item .index-news-text .summary {
  font-size: 12px;
  -webkit-line-clamp: 2;
  max-height: 3.3em;
}

/* 手机端：学术活动 / 通知公告 / 新闻中心 — 一排一个 */
@media screen and (max-width: 960px) {
  .wwh-index .index-announcement .index-news-item,
  .wwh-index .index-academic .index-news-item,
  .wwh-index .index-news-center .index-news-item,
  .wwh-index .index-announcement .index-news-item:first-child:nth-last-child(2),
  .wwh-index .index-announcement .index-news-item:first-child:nth-last-child(2) ~ .index-news-item,
  .wwh-index .index-academic .index-news-item:first-child:nth-last-child(2),
  .wwh-index .index-academic .index-news-item:first-child:nth-last-child(2) ~ .index-news-item,
  .wwh-index .index-news-center .index-news-item:first-child:nth-last-child(2),
  .wwh-index .index-news-center .index-news-item:first-child:nth-last-child(2) ~ .index-news-item,
  .wwh-index .index-announcement .index-news-item:only-child,
  .wwh-index .index-academic .index-news-item:only-child,
  .wwh-index .index-news-center .index-news-item:only-child {
    -webkit-flex: 1 1 100%;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
  }
}
