body {
  position: relative;
  scroll-behavior: smooth;
}

#WenWeiPo main {
  max-width: 100%;
  padding: unset;
  margin-bottom: 45px;
}

.the-top-img {
  display: block;
  margin-bottom: 15px;
  max-width: 1440px;
  margin: 0 auto 15px;
}

section {
  overflow: hidden;
  max-width: 1470px;
  padding: 0 15px;
  margin: 0 auto;
}

.section-spec {
  width: 100%;
  max-width: unset;
  padding: unset;
  margin-top: 40px;
}

.section-spec .title-bar {
  max-width: 1470px;
  padding: 0 15px;
  margin: 0 auto;
}

.section-spec .spec-column {
  background: rgba(248, 248, 249, 1);
  margin-top: 12px;
  padding: 0 15px;
}

.section-spec .spec-column-content {
  max-width: 1440px;
  margin: 0 auto;
}

#bayareapeople .news-items,
#military .news-items {
  display: flex;
  justify-content: space-between;
}

#hongkong {
  display: flex;
  justify-content: space-between;
}

#hongkong .hk-news {
  width: 65.8%
}

#hongkong .news-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#hongkong .title-under-cover,
#quickComment .title-under-cover {
  width: 48.2%;
}

#quickComment .title-under-cover {
  border: none;
}
#quickComment .title-under-cover .describe {
  display: none;
}

#hongkong .title-under-cover:nth-child(1),
#hongkong .title-under-cover:nth-child(2),
#bayareapeople .title-under-cover:nth-child(1),
#bayareapeople .title-under-cover:nth-child(2),
#bayareapeople .title-under-cover:nth-child(3){
  margin-bottom: 26px;
}

#bayareapeople .news-items {
  flex-wrap: wrap;
}

#bayareapeople .title-under-cover,
#military .title-under-cover,
#video .title-under-cover {
  width: 31.7%;
}

.recommends,
.spec-column{
  margin-top: 40px;
}

.normal-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.normal-columns > .recommends {
  width: 31.7%;
}

.comment-column {
  justify-content: space-between;
  column-gap: unset;
}

.comment-column .recommends:nth-child(odd) {
  width: 65.8%;
}

.comment-column .recommends:nth-child(even) {
  width: 31.7%;
}

.comment-column .edi-item {
  position: relative;
  padding: 12px 14px;
  border: 1px solid rgba(239, 239, 239, 1);
  border-radius: 6px;
}

.comment-column .edi-item:nth-child(2) {
  margin: 17px 0 26px;
}

#editorial .first-item {
  padding: 0;
  border: unset;
  display: flex;
  flex-direction: column;
}
.comment-column .recommends .edi-title {
  position: relative;
  background: rgba(245, 245, 245, 1);
  height: 37px;
}

.comment-column #editorial .first-item .edi-title {
  height: 53px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(2, 93, 163, 1) 0%, rgba(53, 166, 222, 1) 100%), rgba(1, 50, 82, 1);
}

.comment-column .recommends .edi-title .title {
  font-size: 16px;
  font-weight: 500;
  line-height: 37px;
  padding-left: 8px;
  min-height: unset;
}

#editorial .first-item .edi-title .title {
  color: #ffffff;
  line-height: 53px;
}

#editorial .edi-content {
  position: relative;
}

#editorial .first-item .edi-content {
  width: 84%;
  padding: 16px 20px;
  margin-top: -2px;
  align-self: flex-end;
  border-radius: 10px 0 10px 10px;
  background: rgba(226, 226, 226, 1);
  border: 1px solid rgba(239, 239, 239, 1);
}

#editorial .edi-item .edi-content a {
  -webkit-line-clamp: 3;
}

#editorial .first-item .edi-content::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -25px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 25px 23px;
  border-color: transparent transparent #e2e2e2 transparent;
}

.comment-column .recommends .edi-content a {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: rgba(119, 119, 119, 1);
}

#editorial .edi-item:not(:first-child) .edi-title::after {
  position: absolute;
  top: 50%;
  right: 8px;
  content: '';
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background: url(https://wwp-static.wenweipo.com/img/comment-yinhao-icon.png) no-repeat;
  background-position: center;
}

#editorial .edi-item .triangle {
  position: absolute;
  bottom: -20px;
  left: 58px;
  width: 25px;
}

#commentcomment .edi-item {
  padding: 0 8px 10px;
}

#commentcomment .edi-item:not(last-child) {
  margin: 0 0 12px;
}

#commentcomment .edi-title {
  background: #ffffff;
}

#commentcomment .edi-title a {
  padding-left: 0;
}

#quickComment .reco-items {
  display: flex;
  justify-content: space-between;
}

#quickComment .big-img-reco {
  flex: none;
  width: 48.1%;
}

.comment-column #comeon {
  width: 31.7%;
}

#comeon .reco-items {
  padding: 9px 12px;
  border-radius: 6px;
  border: 1px solid rgba(239, 239, 239, 1);
}

#comeon .comeon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 4px;
}

#comeon .comeon-item:not(:last-child) {
  border-bottom: 1px solid rgba(230, 230, 230, 1);
}

.comeon-item .text-recos.recos {
  flex: none;
  width: 69.6%;
  padding: 0;
  border: unset;
}

.comeon-item .text-reco-title a {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0px;
  line-height: 22.4px;
  color: rgba(51, 51, 51, 1);
}

.comeon-item .thumb-img-blur {
  width: 18%;
  border-radius: 4px;
}

.advert-wrap {
  display: flex;
  gap: 20px;
  margin-top: 35px;
}

.vertical-navbar.vertical-navbar-active {
  right: calc(50% - 827px);
  z-index: 1;
  opacity: 1;
}

.vertical-navbar {
  position: fixed;
  top: 15%;
  right: calc(50% - 720px);
  width: 92px;
  border-radius: 10px;
  background: url(https://wwp-static.wenweipo.com/img/wenweipo_web_revision202507/home/vertical-navbar-bg.png) no-repeat;
  background-size: 100% 100%;
  background-color: #ffffff;
  opacity: 0;
  z-index: -1;
  transition: all 1s ease;
}

.vertical-navbar nav {
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid rgba(36, 142, 204, 1);
}

.vertical-navbar .nav-item {
  display: inline-block;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  line-height: 32px;
  text-align: center;
  color: rgba(0, 0, 0, 1);
  cursor: pointer;
}

.vertical-navbar li {
  transition: all 0.5s ease;
}

.vertical-navbar li.active {
  background: rgba(36, 142, 204, 1);
}

.vertical-navbar li.active .nav-item {
  color: #ffffff;
}

.vertical-navbar img {
  width: 35px;
  height: 25px;
  margin: 21px auto;
  cursor: pointer;
}

@media(max-width: 1200px) {
  section,
  .section-spec .title-bar,
  .section-spec .spec-column-content {
    max-width: 930px;
  }

  .the-top-img {
    max-width: 900px;
  }

  .comment-column .recommends .edi-title {
    height: 23px;
  }
  .comment-column #editorial .first-item .edi-title {
    height: 33px;
  }
  #editorial .first-item .edi-title .title {
    line-height: 33px;
  }

  .comment-column .recommends .edi-title .title {
    font-size: 12px;
    line-height: 23px;
  }

  .comment-column .recommends .edi-content a {
    font-size: 10px;
    line-height: 14px;
  }

  .footer-btn {
    height: 48px;
    font-size: 16px;
  }
}

@media(max-width: 992px) {
  section,
  .section-spec .title-bar,
  .section-spec .spec-column-content {
    max-width: 750px;
  }
  .the-top-img {
    max-width: 720px;
  }
}

@media(max-width: 768px) {
  section,
  .section-spec .title-bar,
  .section-spec .spec-column-content {
    max-width: 581px;
  }
  .the-top-img {
    max-width: 581px;
  }

  #hongkong .hk-news,
  #bayareapeople .hk-news,
  .normal-columns > .recommends,
  .video-news .big-img-reco,
  #comment .recommends {
    width: 100%;
  }

  #hongkong .title-under-cover,
  #bayareapeople .title-under-cover,
  #military .title-under-cover,
  #video .title-under-cover,
  #comment .title-under-cover {
    width: 100%;
    margin-bottom: 26px;
  }

  #comment .title-under-cover {
    margin-bottom: 0;
  }

  #video .title-under-cover {
    margin: unset;
  }

  .normal-columns {
    display: block;
  }

  .advert-wrap,
  .video-news,
  #military .hk-news .news-items,
  #quickComment .reco-items,
  #video .video-news{
    flex-direction: column;
  }

  #specialcolumn .special-column {
    display: block;
  }

  .special-column .limited-one-line {
    -webkit-line-clamp: 2;
  }

  #quickComment .big-img-reco {
    width: 100%;
  }
}

@media(max-width: 576px) {
  .the-top-img {
    max-width: 100%;
  }
  .comment-column .recommends .edi-title .title {
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
  }
  #editorial .first-item .edi-title .title {
    font-size: 18px;
    line-height: 25px;
  }
  .comment-column .recommends .edi-content a {
    font-size: 14px;
    line-height: 20px;
  }
}