@charset "utf-8";

.slider {
  position: relative;
  overflow: hidden;
}

.slider-track {
  position: relative;
  height: 100%;
}

.slider-track>li {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s;
}

.slider-track>li.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slider-track>li.is-active .pic img {
  transform: scale(1);
  transition: transform 6s ease-out;
}

.slider-track>li .pic img {
  transform: scale(1.06);
}

/* ---------- 大图轮播 ---------- */
.banner {
  width: 100%;
  aspect-ratio: 1920 / 690;
  max-height: 720px;
  background: #d9d0c4;
}

.banner .slider-track>li a,
.banner .pic {
  display: block;
  width: 100%;
  height: 100%;
}

.banner .pic::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 42%;
  background: linear-gradient(to top, rgba(30, 18, 6, .62), rgba(30, 18, 6, 0));
}

.banner .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  z-index: 2;
}

.banner .cap .wrap {
  display: flex;
  align-items: center;
}

.banner .cap h3 {
  position: relative;
  padding-left: 22px;
  font: bold 30px/1.4 var(--font-serif);
  color: var(--c-white);
  letter-spacing: 3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.banner .cap h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  width: 5px;
  height: 76%;
  background: var(--c-accent);
}

.banner-ctrl {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 8%;
  z-index: 3;
  pointer-events: none;
}

.banner-ctrl .wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.banner-ctrl button,
.banner-ctrl .slider-dots {
  pointer-events: auto;
}

.slider-prev,
.slider-next {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
  background: rgba(20, 13, 7, .18) url(../images/arrow-left.svg) no-repeat center / 15px;
  transition: .3s;
}

.slider-next {
  background-image: url(../images/arrow-right.svg);
}

.slider-prev:hover,
.slider-next:hover {
  background-color: var(--c-accent);
  border-color: var(--c-accent);
  transform: scale(1.06);
}

/* 指示点：未选中为小圆点，当前项为朱红山形印记，纯图形不显示序号 */
.banner .slider-dots {
  display: flex;
  align-items: center;
}

.banner .slider-dots button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 40px;
  margin: 0;
  font-size: 0;
  color: transparent;
  background: none;
  border: 0;
  transition: width .4s var(--ease, ease);
}

.banner .slider-dots button::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: width .4s var(--ease, ease), height .4s var(--ease, ease), background-color .4s var(--ease, ease), transform .3s var(--ease, ease), filter .4s var(--ease, ease);
}

.banner .slider-dots button:hover::before {
  background-color: rgba(255, 255, 255, .95);
  transform: scale(1.3);
}

.banner .slider-dots button.is-active {
  width: 50px;
}

.banner .slider-dots button.is-active::before {
  width: 38px;
  height: 27px;
  border-radius: 0;
  box-shadow: none;
  background-color: var(--c-accent);
  -webkit-mask: url(../images/mark-peak.png) no-repeat center / contain;
  mask: url(../images/mark-peak.png) no-repeat center / contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .3)) drop-shadow(0 0 10px rgba(168, 35, 40, .5));
}

.banner .slider-dots button.is-active:hover::before {
  transform: none;
}

/* ---------- 区块一：新闻动态 ---------- */
.home-news {
  padding: 64px 0 56px;
  background: var(--c-paper) url(../images/paper-tile.jpg) repeat;
}

.home-news .cols,
.home-notice .cols {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.home-news .cols>*,
.home-notice .cols>* {
  min-width: 0;
}

.home-news .cols {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: 32px;
}

.pic-news {
  height: 100%;
  min-height: 380px;
}

.pic-news .slider-track>li a {
  display: block;
  height: 100%;
}

.pic-news .pic {
  height: 100%;
}

.pic-news .pic::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 55%;
  background: linear-gradient(to top, rgba(40, 24, 8, .78), rgba(40, 24, 8, 0));
}

.pic-news .info {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  padding: 0 130px 22px 26px;
  color: var(--c-white);
}

.pic-news .tag {
  display: inline-block;
  padding: 0 14px;
  line-height: 32px;
  font-size: 15px;
  background: var(--c-primary);
  position: relative;
}

.pic-news .tag::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 0;
  border: 16px solid transparent;
  border-left: 10px solid var(--c-primary);
  border-right: 0;
}

.pic-news h3 {
  margin-top: 12px;
  font-size: 19px;
  line-height: 1.6;
  font-weight: normal;
}

.pic-news .slider-track>li a:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pic-news .slider-dots {
  position: absolute;
  right: 22px;
  bottom: 30px;
  z-index: 3;
  display: flex;
  align-items: center;
}

.pic-news .slider-dots button {
  width: 7px;
  height: 7px;
  margin: 0 6px;
  border-radius: 50%;
  background: var(--c-white);
  font-size: 0;
  transition: .3s;
}

.pic-news .slider-dots button.is-active {
  width: 12px;
  height: 12px;
  background: none;
  border: 1px solid var(--c-white);
}

.home-news .list-card {
  padding: 18px 30px;
  background: var(--c-white);
  box-shadow: 0 6px 24px rgba(143, 92, 42, .07);
  border-top: 3px solid var(--c-primary);
}

/* ---------- 区块二：通知公告 + 工作简报 ---------- */
.home-notice {
  padding: 56px 0 60px;
  background: #f2efe9;
}

.home-notice .cols {
  display: grid;
  gap: 4%;
}

.home-notice .cols>div {
  background: #fffefa;
  padding: 24px;
  border-top: 2px solid var(--c-line);
}

.home-notice .date-list {
  background: transparent;
}

.date-list--compact li a {
  padding: 13px 22px;
}

.date-list--compact .date {
  width: 84px;
  padding-right: 18px;
  margin-right: 20px;
  font-size: 13px;
}

.date-list--compact .date .day {
  font-size: 28px;
}

.date-list--compact .t {
  font-size: 17px;
}



/* ---------- 区块三：协同高校 ---------- */
.home-links {
  position: relative;
  padding: 56px 0 64px;
  background: #fff;
}

.center-title {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 44px;
}

.center-title::before,
.center-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--c-line);
}

.center-title h2 {
  position: relative;
  padding: 0 58px;
  font: bold 34px/1.3 var(--font-serif);
  color: var(--c-text);
  letter-spacing: 4px;
}

.center-title h2::before,
.center-title h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 36px;
  height: 16px;
  margin-top: -8px;
  background: url(../images/title-mark.svg) no-repeat right center / auto 100%;
}

.center-title h2::before {
  left: 0;
}

.center-title h2::after {
  right: 0;
  transform: scaleX(-1);
}

.uni-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}

.uni-list li a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 150px;
  padding: 10px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid #eadfd2;
  transition: .4s var(--ease);
}

.uni-list li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 3px;
  background: var(--c-primary);
  transition: .4s var(--ease);
}

.uni-list .uni-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--c-primary);
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px rgba(143, 92, 42, .35);
  font: bold 28px/1 var(--font-serif);
  color: var(--c-primary);
}

.uni-list .uni-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.uni-list .name {
  margin-top: 14px;
  font: 17px/1.3 var(--font-serif);
  color: var(--c-text);
  text-align: center;
}

.uni-list li a:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 92, 42, .45);
  box-shadow: 0 12px 26px rgba(143, 92, 42, .16);
}

.uni-list li a:hover::after {
  left: 0;
  width: 100%;
}

.uni-list li a:hover .name {
  color: var(--c-primary);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1360px) {
  .uni-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 960px) {
  .banner {
    aspect-ratio: 16 / 8;
  }

  .banner .cap h3 {
    font-size: 22px;
  }

  .banner-ctrl .slider-prev,
  .banner-ctrl .slider-next {
    display: none;
  }

  .home-news,
  .home-notice {
    padding: 40px 0;
  }

  .home-news .cols,
  .home-notice .cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .pic-news {
    min-height: 0;
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .home-links {
    padding: 40px 0;
  }

  .uni-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .banner {
    aspect-ratio: 16 / 9;
  }

  .banner .cap {
    bottom: 16%;
  }

  .banner .cap h3 {
    font-size: 18px;
    padding-left: 14px;
    letter-spacing: 1px;
  }

  .banner-ctrl {
    bottom: 4%;
  }

  .banner .slider-dots button {
    width: 18px;
    height: 30px;
  }

  .banner .slider-dots button::before {
    width: 6px;
    height: 6px;
  }

  .banner .slider-dots button.is-active {
    width: 42px;
  }

  .banner .slider-dots button.is-active::before {
    width: 28px;
    height: 20px;
  }

  .pic-news .info {
    padding: 0 16px 16px;
  }

  .pic-news h3 {
    font-size: 16px;
  }

  .pic-news .slider-dots {
    bottom: auto;
    top: 14px;
    right: 14px;
  }

  .home-news .list-card {
    padding: 10px 16px;
  }

  .center-title {
    gap: 12px;
    margin-bottom: 26px;
  }

  .center-title h2 {
    font-size: 24px;
    padding: 0 44px;
  }

  .uni-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .uni-list li a {
    height: 120px;
  }

  .uni-list .uni-logo {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .uni-list .name {
    font-size: 15px;
  }
}

/* 2026-09-15 阅读与布局优化 */
.home-news .news-list li a {
  padding: 13px 0 13px 22px;
  line-height: 1.65;
  align-items: flex-start;
  border-bottom: 1px solid #eee8df;
}

.home-news .news-list li:last-child a {
  border-bottom: 0;
}

.home-news .news-list li a::before {
  top: 25px;
}

.home-news .news-list .t,
.home-notice .date-list .t {
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.7;
}

.home-news .news-list .d {
  margin: 3px 0 0 16px;
  font-size: 13px;
}

/* 每行等高（标题最多两行），左右留白，悬停底色时日期不贴边 */
.home-notice .date-list li a {
  height: 92px;
  padding: 0 16px;
}

.home-notice .date-list .date {
  width: 62px;
  margin-right: 16px;
  padding-right: 12px;
}

.home-notice .date-list .date .day {
  font-size: 24px;
}

.uni-list li a {
  height: 82px;
  padding: 14px 8px;
  background: #fffefa;
}

.uni-list .name {
  margin: 0;
  font-size: 18px;
}

.uni-list li a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 14px rgba(143, 92, 42, .08);
}

.pic-news .info {
  padding: 0 24px 58px;
}

.pic-news .slider-dots {
  right: 16px;
  bottom: 12px;
}

.pic-news .slider-dots button {
  position: relative;
  width: 28px;
  height: 28px;
  margin: 0;
  background: transparent;
  border: 0;
}

.pic-news .slider-dots button::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #fff;
}

.pic-news .slider-dots button.is-active {
  width: 28px;
  height: 28px;
  border: 0;
}

.pic-news .slider-dots button.is-active::before {
  inset: 7px;
  border: 1px solid #fff;
  background: transparent;
}

@media (max-width: 640px) {
  .home-notice .cols>div {
    padding: 18px 16px;
  }

  .home-news .news-list li a {
    flex-direction: column;
    gap: 6px;
  }

  .home-news .news-list .d {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 13px;
  }

  .home-news .news-list .t {
    font-size: 16px;
  }

  .home-notice .date-list li a {
    height: auto;
    min-height: 0;
    padding: 14px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .home-notice .date-list .date {
    order: 2;
    width: auto;
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 13px;
  }

  .home-notice .date-list .date .day {
    font: inherit;
  }

  .home-notice .date-list .t {
    font-size: 16px;
  }

  .pic-news .info {
    padding: 0 16px 16px;
  }

  /* 手机上图片新闻不显示圆点：图小、圆点压在画面上，滑动切换即可 */
  .pic-news .slider-dots {
    display: none;
  }

  /* 图上的标题只显示一行（.l2 默认两行） */
  .pic-news h3 {
    -webkit-line-clamp: 1;
  }

  .uni-list li a {
    height: 68px;
  }

  .uni-list .name {
    font-size: 16px;
  }
}

.home-notice .date-list .date {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .home-notice .date-list .date {
    flex-direction: row-reverse;
    gap: 0;
  }

  .home-notice .date-list .date .day::before {
    content: "-";
  }
}

/* 协同高校：浅山水长卷，与深色页脚衔接 */
.home-links {
  padding: 66px 0 82px;
  background: #faf9f6 url(../images/home-landscape.jpg) no-repeat center bottom / cover;
}

.home-links .center-title {
  max-width: 1120px;
  margin: 0 auto 42px;
  gap: 26px;
}

.home-links .center-title::before,
.home-links .center-title::after {
  height: 1px;
  background: #d8cabb;
}

.home-links .center-title h2 {
  padding: 0 16px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 5px;
  color: #654928;
}

.home-links .center-title h2::before,
.home-links .center-title h2::after {
  display: none;
}

.home-links .uni-list {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
}

/* 校徽卡片：上方白底圆形校徽，下方校名；悬停时卡片上浮、校徽微放大、底边赭色线展开 */
.home-links .uni-list li a {
  height: auto;
  padding: 26px 10px 22px;
  border: 1px solid rgba(143, 92, 42, .22);
  background: rgba(255, 254, 250, .72);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .55);
}

.home-links .uni-list .uni-logo {
  width: 76px;
  height: 76px;
  padding: 4px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(143, 92, 42, .16), 0 6px 14px rgba(99, 70, 34, .1);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.home-links .uni-list .uni-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-links .uni-list .name {
  margin: 16px 0 0;
  font-size: 17px;
  letter-spacing: 1px;
  color: #624625;
  white-space: nowrap;
}

.home-links .uni-list li a::after {
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--c-primary);
}

.home-links .uni-list li a:hover {
  background: #fffdf7;
  border-color: #9b7447;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(99, 70, 34, .12);
}

.home-links .uni-list li a:hover .uni-logo {
  transform: scale(1.06);
  box-shadow: 0 0 0 1px rgba(143, 92, 42, .3), 0 8px 18px rgba(99, 70, 34, .16);
}

.home-links .uni-list li a:hover::after {
  left: 0;
  width: 100%;
}

@media (max-width: 1100px) {
  .home-links .uni-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-links {
    padding: 36px 0 46px;
    background-size: auto 100%;
  }

  .home-links .center-title {
    margin-bottom: 26px;
    gap: 12px;
  }

  .home-links .center-title h2 {
    padding: 0 6px;
    font-size: 24px;
    letter-spacing: 3px;
  }

  .home-links .uni-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .home-links .uni-list li a {
    height: auto;
    padding: 18px 8px 16px;
  }

  .home-links .uni-list .uni-logo {
    width: 60px;
    height: 60px;
    padding: 3px;
  }

  .home-links .uni-list .name {
    margin-top: 12px;
    font-size: 15px;
  }
}

/* ===== 通知公告 + 工作简报：如意云纹满铺轻底纹 ===== */

.home-notice {
  background: #f2efe9 url(../images/yunwen.svg) repeat 0 0 / 88px 64px;
}

/* 卡片内：同纹更淡一层（透明度 3%，见 images/yunwen-card.svg） */
.home-notice .cols>div {
  background: #fffefa url(../images/yunwen-card.svg) repeat 0 0 / 88px 64px;
}

/* ===== 工作简报：鼠标指向哪条，哪条展开为首条样式（切换由 js/common.js 的 data-brief-acc 完成） ===== */
.brief-acc li a {
  display: flex;
  align-items: center;
  padding: 11.5px 0;
  border-bottom: 1px solid rgba(143, 92, 42, .1);
}

.brief-acc .date {
  display: none;
  flex-shrink: 0;
  width: 100px;
  padding: 5px;
  border: 1px solid var(--c-primary);
  text-align: center;
}

.brief-acc .date .p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0;
  background: var(--c-primary) url(../images/stele-texture.png) no-repeat center / cover;
  color: var(--c-white);
  font-size: 14px;
  line-height: 1.3;
}

.brief-acc .date .day {
  font: bold 38px/1.15 "Times New Roman", Times, "Noto Serif SC", "Songti SC", serif;
  font-variant-numeric: lining-nums tabular-nums;
}

.brief-acc .con {
  flex: 1;
  min-width: 0;
}

.brief-acc .t {
  display: block;
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brief-acc .s {
  display: none;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #8a6a48;
}

.brief-acc .d {
  flex-shrink: 0;
  margin-left: 12px;
  padding-left: 10px;
  border-left: 1px solid var(--c-primary);
  font-size: 13px;
  line-height: 1;
  color: var(--c-primary);
}

.brief-acc li a:hover .t {
  color: var(--c-primary);
}

.brief-acc li.on a {
  padding: 22px 0;
  border-bottom: 1px dashed var(--c-primary);
}

.brief-acc li.on .date,
.brief-acc li.on .s {
  display: block;
}

.brief-acc li.on .con {
  padding-left: 28px;
}

.brief-acc li.on .t {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: bold;
  color: var(--c-primary);
  font-family: var(--font-serif);
}

.brief-acc li.on a:hover .t {
  color: var(--c-accent);
}

.brief-acc li.on .d {
  display: none;
}

@media (max-width: 640px) {
  .brief-acc .t {
    font-size: 16px;
  }

  .brief-acc li.on .date {
    width: 80px;
  }

  .brief-acc li.on .date .day {
    font-size: 28px;
  }

  .brief-acc li.on .con {
    padding-left: 16px;
  }

  .brief-acc li.on .t {
    font-size: 17px;
  }
}