/* Editorial refinements for the existing public-site layout. */
:root {
  --site-ink: #25252a;
  --site-muted: #706f75;
  --site-accent: #a71926;
  --site-line: #eee7e4;
  --site-surface: #fff;
}

body {
  color: var(--site-ink);
  background: #f6f4f2 !important;
}

header#header {
  background: linear-gradient(100deg, #8f1420 0%, #a71926 58%, #901521 100%);
  box-shadow: 0 5px 22px rgba(73, 15, 21, .13);
}

#starlist li a {
  position: relative;
  font-weight: 500;
  transition: background-color .2s ease, color .2s ease;
}

#starlist > li > a:hover,
#starlist > li > a#selected {
  background: rgba(255, 255, 255, .11);
  color: #fff;
}

#starlist ul.sub {
  border-radius: 0 0 10px 10px;
  box-shadow: 0 16px 30px rgba(32, 22, 22, .16);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #c45b48;
  outline-offset: 3px;
}

.page-container {
  max-width: 1200px;
  width: calc(100% - 48px);
  margin-top: 24px;
}

.page-container .whitebg,
.page-container .whiteadbg,
.page-container .banbox {
  border: 1px solid var(--site-line);
  border-radius: 12px;
  box-shadow: 0 7px 24px rgba(60, 39, 38, .045);
}

.page-container .whitebg {
  padding: 18px 24px 25px;
  margin-bottom: 22px;
}

.page-container .whiteadbgw {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 22px;
}

.page-container .banbox {
  margin-bottom: 22px;
}

.page-container .htitle {
  height: 45px;
  line-height: 45px;
  margin-bottom: 14px;
  border-bottom-color: var(--site-line);
  color: var(--site-ink);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: .02em;
}

.page-container .htitle::after {
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: var(--site-accent);
}

.page-container .htitle:hover::after {
  width: 58px;
}

.fader .slide a {
  position: relative;
  display: block;
  overflow: hidden;
}

.fader .slide a::after {
  content: '';
  position: absolute;
  inset: 43% 0 0;
  background: linear-gradient(transparent, rgba(15, 18, 22, .72));
  pointer-events: none;
}

.fader .slide img {
  transition: transform .7s ease;
}

.fader .slide a:hover img {
  transform: scale(1.035);
}

.fader .slide span {
  z-index: 1;
  left: 10px;
  right: 10px;
  bottom: 28px;
  font-family: 'Satoshi', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 650;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .28);
}

.fader .pager_list {
  right: 16px;
  left: auto;
  bottom: 9px;
  width: auto;
  text-align: right;
}

.fader .pager_list li {
  width: 8px;
  height: 8px;
  margin: 0 5px;
}

.zhuanti ul.star-article-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
}

.page-container .zhuanti .star-article-item {
  box-sizing: border-box;
  float: none;
  width: auto;
  min-width: 0;
  padding: 10px;
  border: 1px solid #f0ebe8;
  border-radius: 9px;
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.page-container .zhuanti .star-article-item:hover {
  border-color: #e7d1cf;
  background: #fff;
  box-shadow: 0 12px 25px rgba(77, 36, 36, .09);
  transform: translateY(-3px);
}

.zhuanti .ztpic {
  height: 125px;
  border-radius: 6px;
  background: #eeeae7;
}

.zhuanti .star-article-item > a {
  display: -webkit-box;
  height: auto;
  min-height: 44px;
  margin: 10px 0 6px;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--site-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 22px;
}

.zhuanti .star-article-item > span {
  color: var(--site-muted);
  line-height: 1.55;
}

.bloglist li {
  min-height: 0;
  margin-bottom: 0;
  padding: 21px 0;
  border-bottom: 1px solid var(--site-line);
}

.bloglist li:first-child {
  padding-top: 7px;
}

.bloglist li:last-child {
  border-bottom: 0;
}

.blogtitle {
  margin-bottom: 12px;
  color: var(--site-ink);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.45;
}

.bloglist .blogtitle a {
  color: inherit;
}

.bloglist li:hover .blogtitle a,
.zhuanti .star-article-item > a:hover {
  color: var(--site-accent);
}

.blogpic {
  border-radius: 7px;
  background: #eeeae7;
}

.blogtext {
  color: #66656a;
  line-height: 1.7;
}

.bloginfo {
  color: #858188;
}

.paihang ul li:nth-child(even) {
  background: #f8f5f3;
}

.paihang ul li,
.tuijian li {
  border-radius: 5px;
}

.page-container .content_box .con_tilte {
  color: #222228;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.35;
  font-weight: 700;
}

.page-container .content_box .con_info {
  border-color: #f0e5e1;
  border-left: 3px solid var(--site-accent);
  border-radius: 0 6px 6px 0;
  background: #faf6f4;
  color: #5d5859;
}

.page-container .content_box .con_text p {
  line-height: 1.8;
}

.kr-home-flow-see-more {
  width: 170px;
  height: 42px;
  line-height: 40px;
  margin-top: 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.kr-home-flow-see-more:hover {
  transform: translateY(-2px);
}

footer {
  padding: 30px 0;
  color: #c7c1c0;
  background: #251f22;
}

footer a {
  color: #e8dad6;
}

footer a:hover {
  color: #fff;
}

@media (max-width: 1023px) {
  .page-container {
    width: calc(100% - 32px);
    margin-top: 0;
  }

  #starlist > li > a:hover,
  #starlist > li > a#selected {
    color: var(--site-accent);
    background: #fff;
  }
}

@media (max-width: 700px) {
  .page-container {
    width: calc(100% - 24px);
  }

  .page-container .whitebg {
    padding: 15px 16px 20px;
    margin-bottom: 16px;
  }

  .page-container .htitle {
    font-size: 18px;
  }

  .zhuanti ul.star-article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .page-container .zhuanti .star-article-item {
    padding: 8px;
  }

  .zhuanti .ztpic {
    height: clamp(90px, 27vw, 150px);
  }

  .zhuanti .star-article-item > a {
    min-height: 42px;
    font-size: 13px;
    line-height: 21px;
  }

  .bloglist li > div[style*='display: flex'] {
    gap: 12px;
  }

  .bloglist li > div > .blogpic {
    box-sizing: border-box;
    flex: 0 0 112px;
    width: 112px;
    height: 84px;
    margin-right: 0;
  }

  .bloglist li > div > div[style*='width: 76%'] {
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
  }

  .blogtitle {
    font-size: 17px;
  }

  .blogtext {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  .fader .slide span {
    right: 0;
    left: 0;
    bottom: 42px;
    padding: 0 16px;
    font-size: clamp(16px, 4vw, 18px);
  }

  .page-container .content_box .con_tilte {
    font-size: 26px;
  }

  .page-container .content_box .con_text p {
    font-size: 18px;
    line-height: 1.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fader .slide img,
  .page-container .zhuanti .star-article-item,
  .kr-home-flow-see-more {
    transition: none;
  }

  .fader .slide a:hover img,
  .page-container .zhuanti .star-article-item:hover,
  .kr-home-flow-see-more:hover {
    transform: none;
  }
}
