/* ==========================================================================
   通知公告列表样式（list2.html 专用）
   ========================================================================== */

.notice-list {
  padding: 80px 0 100px;
  background: var(--bg-gray);
}

.notice-list__panel {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 34px 48px;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.25s ease;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.notice-item:hover {
  background: #f7fcfe;
}

.notice-item:hover::before {
  transform: scaleY(1);
}

/* 左侧日期 */
.notice-item__date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 76px;
  padding-right: 28px;
  border-right: 1px solid var(--border);
}

.notice-item__day {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.notice-item:hover .notice-item__day {
  transform: scale(1.08);
}

.notice-item__ym {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

/* 中间标题 + 标签 */
.notice-item__main {
  flex: 1;
  min-width: 0;
}

.notice-item__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 10px;
  transition: color 0.25s ease;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;

}

.notice-item:hover .notice-item__title {
  color: var(--primary);
}

.notice-item__tag {
  display: inline-block;
  padding: 3px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--primary);
  background: rgba(30, 158, 204, 0.1);
  border-radius: 999px;
}

/* 右侧箭头按钮 */
.notice-item__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-light);
  transition: all 0.25s ease;
}

.notice-item__arrow svg {
  width: 20px;
  height: 20px;
}

.notice-item:hover .notice-item__arrow {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateX(4px);
}

/* 移动端适配 */
@media (max-width: 768px) {
  .notice-list {
    padding: 40px 0 60px;
  }

  .notice-item {
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 20px;
  }

  .notice-item__date {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    padding-right: 0;
    border-right: none;
    width: 100%;
  }

  .notice-item__day {
    font-size: 28px;
  }

  .notice-item__ym {
    margin-top: 0;
  }

  .notice-item__title {
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .notice-item__arrow {
    width: 36px;
    height: 36px;
  }
}