:root {
  --zs-news-detail-title: #111;
  --zs-news-detail-text: #555;
  --zs-news-detail-muted: #777;
  --zs-news-detail-line: #e8e8e8;
  --zs-news-detail-bg: #fff;
  --zs-news-detail-soft: #f7f7f7;
}

.zs-news-detail-main {
  background: var(--zs-news-detail-bg);
}

.zs-news-detail-banner {
  position: relative;
  min-height: 440px;
  overflow: hidden;
}

.zs-news-detail-banner img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zs-news-detail-banner__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
}

.zs-news-detail-banner__inner {
  max-width: 860px;
  color: #fff;
}

.zs-news-detail-banner__inner h2 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.zs-news-detail-banner__inner p {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.8;
  font-weight: 300;
}

.zs-news-detail-breadcrumb {
  background: #f3f3f3;
}

.zs-news-detail-breadcrumb p {
  margin: 0;
  padding: 16px 0;
  color: #7d7d7d;
  font-size: 12px;
  line-height: 1.7;
}

.zs-news-detail-breadcrumb a,
.zs-news-detail-breadcrumb strong {
  color: inherit;
}

.zs-news-detail-breadcrumb span {
  margin: 0 6px;
  color: #b7b7b7;
}

.zs-news-detail {
  padding: 50px 0 34px;
}

.zs-article {
  max-width: 980px;
  margin: 0 auto;
}

.zs-article__header {
  text-align: center;
}

.zs-article__header h2 {
  margin: 0;
  color: #333;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
}

.zs-article__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin: 12px 0 0;
  color: #555;
  font-size: 14px;
  line-height: 1.8;
}

.zs-article__cta {
  margin: 14px 0 0;
}

.zs-article__cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 180px;
  height: 40px;
  padding: 0 24px;
  border-radius: 2px;
  background: var(--zs-green);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
}

.zs-article__cta-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.zs-article__cta-icon svg {
  width: 100%;
  height: 100%;
}

.zs-article__share {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.zs-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.zs-share-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.zs-share-btn svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.zs-share-btn:hover,
.zs-share-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.zs-share-btn:focus-visible {
  outline: 2px solid rgba(120, 188, 39, 0.35);
  outline-offset: 2px;
}

.zs-share-btn.is-copied {
  background: #5ea51f;
}

.zs-share-btn--facebook {
  background: #4267b2;
}

.zs-share-btn--x {
  background: #000;
}

.zs-share-btn--linkedin {
  background: #0077b5;
}

.zs-share-btn--whatsapp {
  background: #25d366;
}

.zs-share-btn--copy {
  background: #95d03a;
}

.zs-article__body {
  margin-top: 28px;
  color: var(--zs-news-detail-text);
  font-size: 16px;
  line-height: 1.95;
}

.zs-article__body > *:first-child {
  margin-top: 0;
}

.zs-article__body h2 {
  margin: 28px 0 14px;
  color: var(--zs-news-detail-title);
  font-size: 24px;
  line-height: 1.45;
  font-weight: 700;
}

.zs-article__body h3 {
  margin: 22px 0 10px;
  color: var(--zs-news-detail-title);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}

.zs-article__body p {
  margin: 0 0 12px;
}

.zs-article__body em {
  font-style: italic;
}

.zs-article__body ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.zs-article__body li {
  margin-bottom: 6px;
}

.zs-article__body img {
  max-width: 100%;
  width: auto;
  height: auto;
}

.zs-article__body table {
  width: 100%;
  max-width: 100%;
  margin: 16px 0 18px;
  border-collapse: collapse;
  border: 1px solid #d5d5d5;
  background: #fff;
}

.zs-article__body th,
.zs-article__body td {
  padding: 10px 12px;
  border: 1px solid #d5d5d5;
  text-align: left;
  vertical-align: top;
}

.zs-article__body th {
  background: #f6f6f6;
  color: #333;
  font-weight: 600;
}

.zs-article__figure {
  margin: 22px auto 24px;
  text-align: center;
}

.zs-article__figure img {
  display: block;
  width: min(100%, 400px);
  margin: 0 auto;
}

.zs-article__table-wrap {
  margin: 16px 0 18px;
  overflow-x: auto;
}

.zs-article__table-wrap table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
}

.zs-article__table-wrap th,
.zs-article__table-wrap td {
  padding: 10px 12px;
  border: 1px solid #d5d5d5;
  text-align: left;
  vertical-align: top;
}

.zs-article__table-wrap th {
  background: #f6f6f6;
  color: #333;
  font-weight: 600;
}

.zs-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--zs-news-detail-line);
}

.zs-article__tags a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 999px;
  background: #fff;
  color: var(--zs-green);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}

.zs-article__pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.zs-article__pager-link {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #d3d3d3;
  border-radius: 12px;
  background: #f9f9f9;
  color: var(--zs-green);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}

.zs-article__pager-link span {
  display: block;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.zs-related-news {
  padding: 34px 0 60px;
}

.zs-related-news__header {
  margin-bottom: 26px;
  text-align: left;
}

.zs-related-news__header h2 {
  margin: 0;
  color: #111;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
}

.zs-related-news__header::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 18px;
  background: #e3e3e3;
}

.zs-related-news__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zs-related-news__card {
  display: block;
  height: 100%;
  padding: 12px;
  border: 1px solid #e3e3e3;
  background: #fff;
}

.zs-related-news__card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.zs-related-news__card span {
  display: block;
  margin-top: 12px;
  color: #333;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 1199px) {
  .zs-article {
    max-width: 900px;
  }

  .zs-related-news__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .zs-news-detail-banner {
    min-height: 280px;
  }

  .zs-news-detail-banner__inner h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .zs-news-detail-banner__inner p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.75;
  }

  .zs-news-detail-breadcrumb p {
    padding: 16px 0;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
  }

  .zs-news-detail {
    padding: 34px 0 26px;
  }

  .zs-article__header h2 {
    font-size: 22px;
    line-height: 1.45;
  }

  .zs-article__meta {
    gap: 6px 12px;
    font-size: 13px;
  }

  .zs-article__body {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.85;
  }

  .zs-article__share {
    gap: 8px;
  }

  .zs-share-btn {
    width: 30px;
    height: 30px;
  }

  .zs-article__body h2 {
    font-size: 22px;
  }

  .zs-article__body h3 {
    font-size: 17px;
  }

  .zs-article__figure img {
    width: min(100%, 320px);
  }

  .zs-article__pager {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 24px;
  }

  .zs-article__pager-link {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 12px;
  }

  .zs-article__tags {
    gap: 8px;
  }

  .zs-article__tags a {
    min-height: 32px;
    padding: 5px 12px;
    font-size: 12px;
  }

  .zs-related-news {
    padding: 28px 0 46px;
  }

  .zs-related-news__header h2 {
    font-size: 24px;
  }

  .zs-related-news__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}
