:root {
  --nd-bg: #221818;
  --nd-text: #ffffff;
  --nd-muted: #d6d8d9;
  --nd-warm: #b2afad;
  --nd-brand: #b81c22;
  --nd-divider: rgba(255, 255, 255, 0.8);
  --nd-soft-divider: rgba(231, 231, 231, 0.18);
  --nd-content: 80.208vw;
  --nd-body: 63.333vw;
  --zs-brand: #b81c22;
  --zs-muted: #d6d8d9;
  --zs-inner: 83.333vw;
}

body.zs-newsdetail {
  background: var(--nd-bg);
  color: var(--nd-text);
}

.nd-page {
  width: 100%;
}

.page-shell {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.zs-newsdetail .hero-nav {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(1.041vw);
  -webkit-backdrop-filter: blur(1.041vw);
}

.nd-article {
  width: 100%;
  padding-top: 13.541vw;
  padding-bottom: 6.25vw;
}
.nd-article .nd-inner{
  padding: 0;
}
.nd-inner {
  width: var(--nd-content);
  margin: 0 auto;
  padding: 0 3.125vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.nd-back {
  display: inline-flex;
  align-items: center;
  gap: 0.208vw;
  color: #ffffff;
  letter-spacing: -0.052vw;
  line-height: 1.5;
  align-self: flex-start;
  transition: color 0.2s ease;
}

.nd-back:hover {
  color: var(--nd-brand);
}

.nd-back-arrow {
  width: 1.354vw;
  height: 1.354vw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nd-back-arrow::before {
  content: "";
  width: 0.52vw;
  height: 0.52vw;
  border-top: 0.104vw solid currentColor;
  border-right: 0.104vw solid currentColor;
  display: inline-block;
  transform: translateX(0.104vw) rotate(-135deg);
}

.nd-title {
  margin: 4.479vw 0 0;
  color: #ffffff;
  line-height: 1.5;
  letter-spacing: -0.062vw;
}

.nd-title .f_60 {
  font-size: 3.333vw;
}

.nd-meta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.979vw 0 0;
  padding-bottom: 2.031vw;
  letter-spacing: 0.026vw;
}

.nd-meta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.052vw;
  background: var(--nd-divider);
}

.nd-meta-date {
  color: #ffffff;
  line-height: 1.5;
}

.nd-share {
  width: 1.25vw;
  height: 1.25vw;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.nd-share:hover {
  transform: scale(1.05);
  filter: brightness(0) saturate(100%) invert(20%) sepia(80%) saturate(3500%) hue-rotate(345deg) brightness(85%) contrast(95%);
}

.nd-share-icon {
  width: 1.25vw;
  height: 1.25vw;
  display: block;
  object-fit: contain;
}

.nd-section {
  display: flex;
  flex-direction: column;
  gap: 3.333vw;
  width: 100%;
}

.empty {
  width: 63.333vw;
  margin: 2.708vw auto 0;
  color: #ffffff;
}
.empty *{
  white-space: normal !important;
}
.empty img{
  margin: 3.333vw 0;
  max-width: 100%;
  height: auto !important;
}


.nd-pager {
  margin-top: 1.77vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.833vw;
}

.nd-pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.166vw;
  height: 2.083vw;
  padding: 0 0.937vw;
  border-radius: 1.041vw;
  border: 0.052vw solid #ffffff;
  background: transparent;
  color: #ffffff;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nd-pager-btn:hover,
.nd-pager-btn.is-active {
  background: var(--nd-brand);
  border-color: var(--nd-brand);
  color: #ffffff;
}

.nd-related {
  margin-top: 8.333vw;
  display: flex;
  flex-direction: column;
  gap: 2.5vw;
  width: 100%;
}

.nd-related-title {
  margin: 0;
  color: #ffffff;
  line-height: 1.5;
}

.nd-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25vw;
}

.nd-related-card {
  display: flex;
  flex-direction: column;
  gap: 1.666vw;
  color: #ffffff;
  height: 100%;
}

.nd-related-image {
  width: 100%;
  aspect-ratio: 366 / 223;
  overflow: hidden;
  border-radius: 0.52vw;
  background: rgba(255, 255, 255, 0.06);
}

.nd-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.nd-related-card:hover .nd-related-image img {
  transform: scale(1.04);
}

.nd-related-card-title {
  margin: 0;
  color: #ffffff;
  line-height: 1.5;
  display: -webkit-box;
  display: box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.nd-related-card:hover .nd-related-card-title {
  color: var(--nd-brand);
}

.nd-related-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}


/* 
*======================================================media===============================================================
*/
@media screen and (max-width:768px) {
  :root {
    --nd-content: 92%;
    --nd-body: 100%;
    --zs-inner: 92%;
  }

  .nd-page {
    width: 100%;
  }

  .page-shell {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .zs-newsdetail .hero-nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nd-article {
    width: 100%;
    padding-top: 104px;
    padding-bottom: 64px;
  }

  .nd-inner {
    width: 92%;
    max-width: 100%;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
  }

  .nd-back {
    display: inline-flex;
    gap: 4px;
    letter-spacing: -0.5px;
    align-self: flex-start;
    min-height: 40px;
    align-items: center;
  }

  .nd-back-arrow {
    width: 22px;
    height: 22px;
    display: inline-flex;
  }

  .nd-back-arrow::before {
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateX(2px) rotate(-135deg);
  }

  .nd-title {
    margin: 32px 0 0;
    letter-spacing: -0.5px;
  }

  .nd-meta {
    display: flex;
    margin: 20px 0 0;
    padding-bottom: 24px;
    letter-spacing: 0.25px;
  }

  .nd-meta::after {
    height: 1px;
  }

  .nd-share {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nd-share-icon {
    width: 22px;
    height: 22px;
  }

  .nd-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
  }

  .empty {
    width: 100%;
    max-width: 100%;
    margin: 24px auto 0;
  }

  .empty img {
    margin: 24px 0;
    max-width: 100%;
    height: auto !important;
  }

  .nd-pager {
    margin-top: 24px;
    display: flex;
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
  }

  .nd-pager-btn {
    display: inline-flex;
    min-width: 72px;
    min-height: 40px;
    height: 40px;
    padding: 0 16px;
    border-radius: 20px;
    border: 1px solid #ffffff;
  }

  .nd-related {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .nd-related-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nd-related-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: auto;
  }

  .nd-related-image {
    width: 100%;
    border-radius: 8px;
  }

  .nd-related-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 366 / 223;
    object-fit: cover;
  }
  .nd-title .f_60{
    font-size: 22px;
  }
}
