/* 学院新闻和通知公告共用背景容器 */

.news-notice-combined-wrapper {
  background: #faf8f3 url('../img/back/6.jpg') center/cover !important; /* 改为道林纸色 #faf8f3 */
  background-blend-mode: multiply !important;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-bottom: 50px;
  margin-bottom: 0;
  border-top: 3px solid rgba(139, 115, 85, 0.3);
  border-bottom: 3px solid rgba(139, 115, 85, 0.3);
}

/* 添加蒙版层 */
.news-notice-combined-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 248, 243, 0.65); /* 改为道林纸色蒙版 */
  pointer-events: none;
  z-index: 0;
}


/* 通知公告模块 - 浅色背景 + 天青色点缀 */

/* 满宽度背景容器 - 移除背景（使用外层共用背景） */
.notice-section-wrapper {
  background: transparent !important;
  width: auto !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 50px 0 !important;
  margin-bottom: 0 !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* 通知公告模块容器 - 外层容器（CMS生成的第一层） */
/* 外层不要padding，避免嵌套时出现边框效果 */
.notice-section-wrapper > .notice-module {
  max-width: 1440px !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 1 !important;
  background: transparent !important; /* 外层透明 */
  border-radius: 0 !important;
  padding: 0 !important; /* 外层不要padding */
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
}

/* 通知公告模块容器 - 内层容器（实际显示的内容） */
/* 内层才有背景、圆角、padding和阴影 */
.notice-section-wrapper .notice-section-wrapper > .notice-module {
  max-width: 1440px !important;
  margin: 50px auto 0 auto !important;
  position: relative !important;
  z-index: 1 !important;
  background: rgba(250, 248, 243, 0.75) !important; /* 道林纸色半透明 */
  border-radius: 16px !important;
  padding: 40px !important; /* 内层才有padding */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
}

/* 模块标题 */
.notice-module-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 0 !important; /* 移除底部内边距 */
  border-bottom: none !important; /* 移除底部边框 */
  position: relative;
}

/* 标题容器 - 使用flex布局实现装饰线 */
.notice-module-header .title-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
}

/* 装饰线样式 */
.notice-module-header .title-line {
  width: 50px !important;
  height: 2px !important;
  background: rgba(139, 115, 85, 0.5) !important;
  display: inline-block !important;
}

.notice-module-title {
  font-size: 32px;
  font-weight: 700;
  color: #5a4a3a;
  margin: 0;
  position: relative;
  padding-left: 0;
  font-family: 'KaiTi', 'STKaiti', '楷体', 'SimKai', serif !important;
  letter-spacing: 3px !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.notice-more-btn {
  background: transparent !important;
  color: #8b7355 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
  box-shadow: none !important;
  border: none !important;
}

.notice-more-btn:hover {
  background: transparent !important;
  color: #5a4a3a !important;
  text-decoration: none;
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* 通知列表 */
.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 2列布局 */
.notice-list-two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 25px;
}

.notice-list-item {
  padding: 16px 0;
  margin-bottom: 0;
  background: transparent !important;
  border-radius: 0;
  border-left: none;
  border-bottom: 1px solid rgba(139, 115, 85, 0.12);
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: none !important;
  backdrop-filter: none;
}

.notice-list-item:hover {
  background: rgba(139, 115, 85, 0.06) !important;
  transform: none;
  box-shadow: none !important;
  padding-left: 8px;
  margin-left: -8px;
}

.notice-list-item:last-child {
  margin-bottom: 0;
}

/* 2列布局时的列表项调整 */
.notice-list-two-columns .notice-list-item {
  margin-bottom: 0;
  padding: 16px 0;
}

.notice-list-two-columns .notice-item-link {
  gap: 15px;
}

.notice-list-two-columns .notice-date {
  min-width: 85px;
}

.notice-item-link {
  display: flex;
  align-items: center;
  gap: 25px;
  text-decoration: none;
  color: inherit;
}

.notice-item-link:hover {
  text-decoration: none;
}

/* 日期标签 */
.notice-date {
  flex-shrink: 0;
  font-size: 13px;
  color: #8b7355;
  font-weight: 600;
  min-width: 90px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  text-align: left;
  border: none;
}

.notice-list-item:hover .notice-date {
  background: transparent;
  border: none;
  color: #5a4a3a;
}

/* 通知标题 */
.notice-item-title {
  flex: 1;
  font-size: 16px;
  color: #5a4a3a;
  line-height: 1.6;
  font-weight: 500;
  transition: all 0.3s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-list-item:hover .notice-item-title {
  color: #8b7355;
  font-weight: 600;
}

/* 新标签 */
.notice-new-badge {
  flex-shrink: 0;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(238, 90, 111, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .notice-list-two-columns {
    grid-template-columns: 1fr;
  }
  
  .notice-section-wrapper {
    padding: 30px 15px !important;
  }
  
  .notice-section-wrapper > .notice-module {
    padding: 30px 20px !important;
  }
  
  .notice-module-header .title-line {
    width: 30px !important;
  }
  
  .notice-module-title {
    font-size: 26px !important;
    letter-spacing: 2px !important;
  }
}

@media (max-width: 768px) {
  .notice-section-wrapper {
    padding: 20px 10px !important;
  }
  
  .notice-section-wrapper > .notice-module {
    padding: 25px 15px !important;
    border-radius: 12px !important;
  }
  
  .notice-module-header {
    margin-bottom: 20px !important;
  }
  
  .notice-module-header .title-line {
    width: 25px !important;
    height: 1.5px !important;
  }
  
  .notice-module-title {
    font-size: 22px !important;
    letter-spacing: 1.5px !important;
  }
  
  .notice-more-btn {
    font-size: 14px !important;
  }
  
  .notice-list-item {
    padding: 12px 0 !important;
  }
  
  .notice-item-link {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  
  .notice-date {
    min-width: auto !important;
    font-size: 12px !important;
  }
  
  .notice-item-title {
    font-size: 14px !important;
    white-space: normal !important;
    line-height: 1.5 !important;
  }
  
  .notice-list-item:hover {
    padding-left: 5px !important;
    margin-left: -5px !important;
  }
}