/* 通知公告页面桌面端 */
.notice-page {
  min-height: 100vh;
  background: #fff;
}

.notice-page .notice-header {
  position: absolute;
  top: 0;
  background: transparent;
  transition: background .2s, box-shadow .2s;
}

.notice-page .notice-header.notice-header--fixed {
  position: fixed;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
}

.notice-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: url('../assets/images/notice-bg.png') center top/cover no-repeat;
  height: 400px;
  position: relative;
}

.notice-hero .content-hero-box {
  width: 32vw;
  background: linear-gradient(90deg, #e23232 0%, rgba(226,50,50,.78) 56%, rgba(226,50,50,0) 100%);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 8px;
}

.notice-hero .content-hero__en {
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
}

.notice-hero .content-hero__title {
  display: inline-block;
  color: #fff;
  letter-spacing: 3px;
  font-size: 48px;
  font-weight: 700;
}

.notice-list {
  width: calc(100% - 320px);
  max-width: 1590px;
  padding: 42px 0 56px;
}

.notice-list .content-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 240px;
  margin-bottom: 58px;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.notice-list .content-list__item-left {
  flex: 1;
  display: flex;
  min-width: 0;
  border-right: 1px solid #ddd;
}

.notice-list .content-list__image {
  width: 350px;
  min-width: 350px;
}

.notice-list .content-list__image img {
  display: block;
  width: 350px;
  height: 240px;
  object-fit: cover;
  border-radius: 4px;
}

.notice-list .content-list__body {
  padding: 0 60px;
  display: flex;
  flex-direction: column;
}

.notice-list .content-list__body h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.notice-list .content-list__body p {
  margin: 0;
  color: #888;
  font-size: 16px;
  line-height: 1.7;
}

.notice-list .content-list__more {
  flex: 1;
  display: flex;
  margin-top: 18px;
  color: #e23232;
  color: var(--primary-color, #e23232);
  font-size: 14px;
  align-items: flex-end;
}

.notice-list .content-list__date {
  width: 300px;
  padding: 20px 20px 20px 60px;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.notice-list .content-list__day {
  font-size: 60px;
  line-height: 1;
  font-weight: 700;
}

.notice-list .content-list__month {
  color: #888;
  font-size: 22px;
}

.notice-list .content-list__meta {
  display: inline-block;
  margin-left: 6px;
  color: #888;
  font-size: 22px;
  line-height: 1.12;
}

.notice-list .content-list__year,
.notice-list .content-list__month {
  display: block;
}

.content-pagination {
  width: calc(100% - 320px);
  max-width: 1590px;
  margin: 0 auto;
  padding: 0 0 70px;
  text-align: center;
}

.content-pagination button {
  min-width: 38px;
  height: 38px;
  margin: 0 4px;
  border: 1px solid #aaa;
  color: #777;
  background: #fff;
  cursor: pointer;
}

.content-pagination button.active {
  border-color: #e23232;
  background: #e23232;
  color: #fff;
}

.notice-empty {
  padding: 100px 20px;
  color: #999;
  text-align: center;
}

.notice-mobile-end {
  margin: 10px 0 0;
  color: #999;
  text-align: center;
  font-size: 13px;
}

.notice-mobile-title {
  display: none;
}

/* 通知公告移动端 */
html.site-device--mobile .notice-page {
  padding-top: 52px;
  background: #fff;
}

html.site-device--mobile .notice-hero {
  height: 138px;
  background: url('../assets/images/mobile-notice-bg.png') center center/cover no-repeat;
}

html.site-device--mobile .notice-hero .content-hero-box {
  top: 50%;
  left: 0;
  width: 56%;
  min-height: 68px;
  transform: translateY(-50%);
  padding: 10px 12px 12px;
  background: linear-gradient(-90deg, rgba(216, 36, 55, 0) 0%, #D82437 100%);
  text-align: left;
}

html.site-device--mobile .notice-hero .content-hero__en {
  font-size: 7px;
  line-height: 1.2;
  letter-spacing: .4px;
  text-transform: uppercase;
}

html.site-device--mobile .notice-hero .content-hero__title {
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: 1.5px;
}

/* 移动端中文标题拆分着色：中文/繁体显示“通知公告”，仅“公告”为主题色；英文只渲染 Notice。 */
html.site-device--mobile .notice-hero__title-theme {
  color: #e23232;
}

html.site-device--mobile[lang="en"] .notice-hero__title {
  color: #e23232;
}

html.site-device--mobile .notice-list {
  width: 100%;
  padding: 0 18px 18px;
}

html.site-device--mobile .notice-mobile-title {
  display: flex;
  align-items: center;
  width: calc(100% - 36px);
  margin: 0 18px;
  padding: 18px 0 4px;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

html.site-device--mobile .notice-mobile-title .iconfont {
  margin-right: 6px;
  color: #e23232;
  font-size: 16px;
}

html.site-device--mobile .notice-list .content-list__item {
  display: flex;
  align-items: center;
  min-height: 0;
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  box-shadow: none;
  border-radius: 0;
  background: #fff;
}

html.site-device--mobile .notice-list .content-list__item:last-child {
  border-bottom: 0;
}

html.site-device--mobile .notice-list .content-list__item-left {
  flex: 1 1 0%;
  order: 2;
  min-width: 0;
  max-width: calc(100% - 92px);
  border-right: 0;
  border-left: 1px solid #ddd;
  margin-left: 16px;
  min-height: 80px;
}

html.site-device--mobile .notice-list .content-list__image {
  display: none;
}

html.site-device--mobile .notice-list .content-list__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: auto;
  min-width: 0;
  padding: 0 0 0 13px;
  border-right: 0;
}

html.site-device--mobile .notice-list .content-list__body h2 {
  margin: 0;
  width: 100%;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.site-device--mobile .notice-list .content-list__body h2 a {
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.site-device--mobile .notice-list .content-list__body p {
  margin: 7px 0 0;
  display: -webkit-box;
  overflow: hidden;
  color: #888;
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

html.site-device--mobile .notice-list .content-list__more {
  display: none;
}

html.site-device--mobile .notice-list .content-list__date {
  order: 1;
  width: 84px;
  min-width: 76px;
  padding: 1px 0 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #e23232;
  text-align: left;
}

html.site-device--mobile .notice-list .content-list__day {
  display: inline;
  font-size: 32px;
  line-height: 1;
  font-weight: 400;
}

html.site-device--mobile .notice-list .content-list__year,
html.site-device--mobile .notice-list .content-list__month {
  color: #111;
  font-size: 12px;
  line-height: 1.05;
}

html.site-device--mobile .notice-list .content-list__meta {
  margin-left: 4px;
  color: #111;
  font-size: 12px;
  line-height: 1.05;
}

html.site-device--mobile .content-pagination {
  display: none;
}

html.site-device--mobile .notice-mobile-end {
  display: block;
  margin: 0 0 18px;
  color: #999;
  font-size: 12px;
}
