
.page-news-detail {  --container-width: 1216px;
  --color-footer: #101828;
  min-width: 0;
}

.page-news-detail .primary-nav__link.is-active {
  padding-inline: 2px;
  color: #49515e;
  background: transparent;
}

.page-news-detail .primary-nav__link:nth-child(5) {
  padding-inline: 14px;
  color: var(--color-primary);
  background: #f0f6ff;
}

.news-detail-hero {
  position: relative;
  height: 482px;
  overflow: hidden;
  background: #fff;
}

.news-detail-hero::before {
  position: absolute;
  inset: 2px 0 0;
  content: "";
  background: transparent url("../images/news/news-hero@2x.png") center / cover no-repeat;
}

.news-detail-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: 3px;
  text-align: center;
}

.news-detail-hero h1 {
  margin: 0 0 17px;
  color: #303338;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.news-detail-hero p {
  margin: 0;
  color: #606b79;
  font-size: 14px;
  line-height: 1.7;
}

.news-detail {
  min-height: 779px;
  background: #fff;
}

.news-detail__container {
  min-width: 0;
}

.news-detail__breadcrumb {
  display: flex;
  height: 73px;
  align-items: flex-start;
  gap: 0;
  padding-top: 16px;
  color: #666;
  font-size: 14px;
  line-height: 24px;
  white-space: nowrap;
  transform: translateZ(0);
}

.news-detail__breadcrumb svg {
  flex: 0 0 auto;
  margin: 3px 10px 0 0;
  color: #005ac5;
}

.news-detail__location {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-detail__breadcrumb-link {
  color: #666;
}

.news-detail__breadcrumb-link:hover,
.news-detail__location > a:last-child {
  color: #005ac5;
}

.news-detail__title {
  position: relative;
  top: -1px;
  left: -8px;
  margin: 0 0 21px;
  color: #333;
  font-size: 30px;
  font-weight: 700;
  line-height: 42px;
  overflow-wrap: anywhere;
  text-align: center;
  transform: translateZ(0);
}

.news-detail__meta {
  display: flex;
  height: 20px;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  transform: translateZ(0);
}

.news-detail__meta p {
  margin: 0;
}

.news-detail__back {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: #005ac5;
  font-size: 14px;
  line-height: 20px;
}

.news-detail__back img {
  width: 16px;
  height: 14px;
}

.news-detail__back:hover {
  color: #0056b7;
}

.news-detail__rule {
  height: 4px;
  margin-top: 12px;
  background: #e3edf9;
}

.news-detail__content {
  position: relative;
  top: -1px;
  transform: translateZ(0);
  min-width: 0;
  margin-top: 26px;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.news-detail__content > p {
  margin: 0 0 14px;
  text-indent: 2em;
}

.news-detail__content > p:last-child {
  margin-bottom: 0;
}

.news-detail__content :where(h1, h2, h3, h4, h5, h6) {
  margin: 1.25em 0 0.7em;
  color: #303338;
  overflow-wrap: anywhere;
}

.news-detail__content :where(ul, ol) {
  margin: 0 0 14px;
  padding-left: 2em;
}

.news-detail__content :where(img, video, iframe) {
  height: auto;
  max-width: 100%;
  margin-inline: auto;
}

.news-detail__content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.news-detail__content :where(th, td) {
  padding: 8px 12px;
  border: 1px solid #dfe6ef;
}

.news-detail__content :where(pre, code) {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.news-detail__content a {
  color: #0565cf;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-detail__navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  color: #596474;
  font-size: 14px;
  line-height: 22px;
}

.news-detail__navigation a,
.news-detail__navigation stl\:navigation {
  min-width: 0;
  padding: 36px 0 44px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-detail__next {
  text-align: right;
}

@media (max-width: 980px) {
  .page-news-detail .primary-nav__link:nth-child(5) {
    padding-inline: 12px;
    background: #f0f6ff;
  }

  .news-detail-hero {
    height: 400px;
  }

  .news-detail-hero::before {
    top: 0;
  }

  .news-detail {
    min-height: 0;
    padding-bottom: 56px;
  }

  .news-detail__breadcrumb {
    height: 66px;
    overflow: hidden;
  }

  .news-detail__title {
    left: 0;
    margin-bottom: 18px;
    font-size: 27px;
    line-height: 38px;
  }

  .news-detail__content {
    margin-top: 24px;
  }
}

@media (max-width: 640px) {
  .news-detail-hero {
    height: 320px;
  }

  .news-detail-hero h1 {
    font-size: 34px;
  }

  .news-detail-hero p {
    font-size: 13px;
  }

  .news-detail__breadcrumb {
    height: 62px;
    padding-top: 15px;
    font-size: 13px;
  }

  .news-detail__breadcrumb svg {
    margin-right: 8px;
  }

  .news-detail__title {
    font-size: 24px;
    line-height: 34px;
  }

  .news-detail__meta {
    height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    line-height: 22px;
  }

  .news-detail__rule {
    margin-top: 16px;
  }

  .news-detail__content {
    font-size: 15px;
    line-height: 27px;
  }

  .news-detail__content > p {
    margin-bottom: 13px;
  }

  .news-detail__navigation {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .news-detail__navigation a,
  .news-detail__navigation stl\:navigation {
    padding: 16px 0 0;
  }

  .news-detail__next {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-detail__back {
    transition: none;
  }
}

