* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  color: #252525;
  background: #f7f7f7;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.brand-row,
.nav-inner,
.quick-links,
.ticker-layout {
  display: flex;
  align-items: center;
}

.site-header {
  background: #ee1719;
}

.brand-row {
  justify-content: space-between;
  min-height: 152px;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 18px;
}

.brand img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: #111;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .18);
}

.brand em {
  display: block;
  margin-top: 5px;
  color: #1f1f1f;
  font-size: 13px;
  font-style: normal;
  letter-spacing: .06em;
}

.wechat-mark {
  display: grid;
  place-items: center;
  min-width: 86px;
  color: #ffe3d6;
  font-size: 14px;
}

.wechat-mark i {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 5px;
  color: #b71a15;
  background: #5f850b;
  border-radius: 50%;
  font-style: normal;
  line-height: 34px;
  text-align: center;
}

.wechat-mark span {
  color: #ffd7cf;
}

.nav {
  background: #c93233;
}

.nav-inner {
  justify-content: center;
  min-height: 48px;
}

.nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 134px;
  padding: 0 22px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  border-left: 1px dashed rgba(255, 255, 255, .22);
}

.nav a:first-child {
  background: rgba(151, 0, 0, .15);
  border-left: 0;
}

.nav a:hover {
  background: rgba(80, 0, 0, .2);
}

.hero {
  position: relative;
  overflow: hidden;
  background: #f6dac8;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-track {
  position: relative;
  z-index: 1;
  height: 54vw;
  min-height: 440px;
  max-height: 708px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slogan {
  position: absolute;
  top: 26%;
  right: 8%;
  left: 8%;
  z-index: 2;
  color: #e94b19;
  text-align: center;
  text-shadow:
    0 2px 0 #fff6dd,
    0 6px 12px rgba(91, 35, 20, .35);
}

.hero-slogan[href] {
  display: block;
}

.hero-slogan strong {
  display: block;
  font-family: "SimHei", "Microsoft YaHei", sans-serif;
  font-size: 92px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-slide-theme .hero-slogan strong {
  color: #e94b19;
  -webkit-text-stroke: 2px #fff4cf;
  text-shadow:
    0 3px 0 #ffd100,
    0 7px 0 rgba(130, 56, 21, .35),
    0 12px 16px rgba(100, 52, 18, .24);
}

.hero-slogan span {
  display: inline-block;
  margin-top: 18px;
  padding: 4px 20px;
  color: #9e130c;
  background: rgba(255, 243, 206, .72);
  font-size: 22px;
  font-weight: 700;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 36px;
  height: 60px;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, .26);
  font-size: 50px;
  line-height: 54px;
  cursor: default;
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

.hero-dots {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, .58);
  border-radius: 50%;
  cursor: pointer;
}

.hero-dots button.is-active {
  background: #fff;
}

.hero.is-single .hero-arrow,
.hero.is-single .hero-dots {
  display: none;
}

.ticker-band {
  background: #fff;
}

.ticker-layout {
  transform: translateY(-1px);
  min-height: 48px;
  gap: 6px;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: 1;
  min-width: 0;
  background: #f2f2f2;
  border: 1px solid #e6e6e6;
  border-radius: 7px;
  overflow: hidden;
}

.ticker a {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 42px;
  gap: 12px;
  padding: 0 18px;
  overflow: hidden;
  color: #202020;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-right: 1px solid #e4e4e4;
}

.ticker a:last-child {
  border-right: 0;
}

.ticker em {
  color: #7b7b7b;
  font-style: normal;
}

.ticker time {
  margin-left: auto;
}

.ticker-search {
  display: flex;
  width: 304px;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
}

.ticker-search input {
  min-width: 0;
  flex: 1;
  border: 1px solid #e7e7e7;
  border-right: 0;
  padding: 0 14px;
  color: #555;
  background: #fff;
  outline: none;
}

.ticker-search button {
  width: 46px;
  border: 0;
  color: #fff;
  background: #ff4f39;
  font-size: 25px;
  cursor: pointer;
}

.portal-grid {
  display: grid;
  grid-template-columns: 385px 1fr 340px;
  gap: 12px;
  padding: 4px 0 0;
}

.portal-photo {
  position: relative;
  overflow: hidden;
  height: 514px;
  background: #f5dfda;
}

.portal-photo-track,
.portal-photo-track a {
  width: 100%;
  height: 100%;
}

.portal-photo-track a {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility .45s ease;
}

.portal-photo-track a.is-active {
  opacity: 1;
  visibility: visible;
}

.portal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-photo-track a:first-child img {
  object-fit: cover;
  object-position: center;
}

.portal-arrow {
  position: absolute;
  top: 45%;
  z-index: 2;
  width: 34px;
  height: 56px;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, .28);
  font-size: 44px;
  line-height: 48px;
  cursor: pointer;
}

.portal-prev {
  left: 12px;
}

.portal-next {
  right: 12px;
}

.portal-pages {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.portal-pages span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  background: rgba(203, 51, 52, .55);
  font-size: 13px;
}

.portal-pages span.is-active,
.portal-pages span:first-child {
  background: #ffcc24;
}

.portal-photo.is-single .portal-arrow,
.portal-photo.is-single .portal-pages {
  display: none;
}

.portal-mid,
.portal-side {
  display: grid;
  align-content: start;
  gap: 10px;
}

.portal-list {
  min-width: 0;
  background: #fff;
}

.soft-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 18px;
  background: linear-gradient(180deg, #fff8f8 0%, #f3cfd2 100%);
  border-radius: 5px;
}

.soft-title span {
  color: #d01824;
  font-size: 17px;
  font-weight: 700;
}

.soft-title a {
  min-width: 64px;
  height: 24px;
  color: #fff;
  background: #ff9700;
  border-radius: 4px;
  font: 14px/24px Arial, sans-serif;
  text-align: center;
}

.compact-list {
  margin: 0;
  padding: 9px 6px 2px;
  list-style: none;
}

.compact-list li {
  display: flex;
  align-items: center;
  min-height: 42px;
  gap: 12px;
  border-bottom: 1px dotted #d8d8d8;
}

.compact-list li::before {
  width: 4px;
  height: 4px;
  content: "";
  background: #bd1b24;
  transform: rotate(45deg);
}

.compact-list a {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: #2d2d2d;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-list a:hover {
  color: #d01824;
}

.portal-card-img {
  display: block;
  height: 255px;
  overflow: hidden;
  border-radius: 6px;
  background: #eaf0ef;
}

.portal-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-stack {
  display: grid;
  gap: 0;
  padding: 0 0 28px;
}

.banner-stack img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.banner-stack a {
  display: block;
}

.intro-panel,
.news-panel,
.notice-panel,
.feature-main,
.reading-card,
.columns article,
.links {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
  background: linear-gradient(180deg, #fff9f9 0%, #ffdce0 100%);
  border-bottom: 0;
}

.section-title span {
  position: relative;
  color: #a60d17;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.section-title a {
  min-width: 52px;
  height: 24px;
  color: #fff;
  background: #ff9e00;
  border-radius: 4px;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
}

.intro-body {
  display: flex;
  gap: 18px;
  padding: 20px 20px 12px;
}

.intro-body img {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.intro-body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #4c4137;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 20px 20px;
}

.stats span {
  min-height: 58px;
  padding: 9px 10px;
  color: #6b5745;
  background: #fff6e8;
  border-left: 3px solid #c51925;
  font-size: 13px;
}

.stats b {
  display: block;
  color: #b10f1a;
  font-size: 22px;
  line-height: 1.1;
}

.lead-news {
  display: block;
  margin: 18px 18px 8px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #dfc8ad;
}

.lead-news strong {
  display: block;
  overflow: hidden;
  color: #a60d17;
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-news em {
  display: -webkit-box;
  margin-top: 8px;
  overflow: hidden;
  color: #7b6d61;
  font-size: 14px;
  font-style: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-list,
.notice-list {
  margin: 0;
  padding: 10px 18px 18px;
  list-style: none;
}

.news-list li,
.notice-list li {
  display: flex;
  align-items: center;
  min-height: 34px;
  gap: 12px;
  border-bottom: 1px solid #f0e4d4;
}

.news-list li::before,
.notice-list li::before {
  width: 5px;
  height: 5px;
  content: "";
  background: #b10f1a;
}

.news-list a,
.notice-list a {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list a:hover,
.notice-list a:hover,
.lead-news:hover strong,
.photo-grid a:hover span {
  color: #b10f1a;
}

time {
  flex: 0 0 auto;
  color: #a89072;
  font-size: 13px;
}

.quick-band {
  background: #c93233;
}

.quick-links {
  justify-content: space-between;
  min-height: 112px;
}

.quick-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.quick-links b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #a60d17;
  background: #fff4d8;
  border-radius: 50%;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 24px;
}

.quick-links span {
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  padding: 28px 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 20px;
}

.photo-grid a {
  min-width: 0;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eee1d1;
}

.photo-grid span {
  display: block;
  margin-top: 10px;
  overflow: hidden;
  color: #3a322d;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reading-card {
  padding: 26px;
  color: #fff;
  background: linear-gradient(135deg, #9d0a14 0%, #c51a25 58%, #8e0710 100%);
  border-color: #9d0a14;
}

.reading-card span {
  display: block;
  color: #ffe8b0;
  font-size: 16px;
}

.reading-card a {
  display: block;
  margin-top: 14px;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
}

.reading-card p {
  display: -webkit-box;
  margin: 16px 0 0;
  overflow: hidden;
  color: #ffeede;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 28px;
}

.links {
  margin-bottom: 30px;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 18px;
}

.link-row a {
  color: #6b5745;
}

.footer {
  padding: 30px 0;
  color: #f7dec5;
  background: #76070e;
  text-align: center;
}

.footer strong {
  display: block;
  color: #fff;
  font-size: 18px;
}

.footer p {
  margin: 8px 0 0;
  font-size: 13px;
}

@media (max-width: 980px) {
  .portal-grid,
  .feature-grid,
  .columns {
    grid-template-columns: 1fr;
  }

  .brand-row {
    display: grid;
    padding: 18px 0;
  }

  .wechat-mark {
    justify-self: start;
  }

  .nav-inner {
    overflow-x: auto;
  }

  .nav a {
    min-width: 118px;
    padding: 0 18px;
  }

  .ticker-layout {
    display: grid;
    padding: 8px 0;
  }

  .ticker {
    grid-template-columns: 1fr;
  }

  .ticker a {
    border-right: 0;
    border-bottom: 1px solid #e4e4e4;
  }

  .ticker-search {
    width: 100%;
  }

  .portal-grid {
    display: grid;
  }

  .portal-photo {
    height: 58vw;
    min-height: 280px;
  }

  .banner-stack img {
    height: auto;
  }

  .feature-grid,
  .columns {
    display: grid;
  }

  .quick-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px 34px;
    padding: 20px 0;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 22px, 1200px);
  }

  .brand {
    align-items: flex-start;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand strong {
    font-size: 23px;
  }

  .wechat-mark {
    display: none;
  }

  .hero-track {
    height: 58vw;
    min-height: 230px;
  }

  .hero-slogan {
    top: 25%;
  }

  .hero-slogan strong {
    font-size: 34px;
  }

  .hero-slogan span {
    margin-top: 10px;
    font-size: 14px;
  }

  .hero-arrow {
    display: none;
  }

  .intro-body {
    display: block;
  }

  .intro-body img {
    float: left;
    margin: 0 14px 8px 0;
  }

  .stats,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .portal-grid {
    gap: 10px;
  }

  .portal-photo {
    min-height: 230px;
  }

  .compact-list li {
    min-height: 38px;
  }

  .quick-links a {
    width: calc(50% - 18px);
  }

  .reading-card a {
    font-size: 22px;
  }
}
