*,
*::before,
*::after {
  box-sizing: border-box;
}

.news-detail-page {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #141414;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
.news-detail-page :where(a) {
  color: inherit;
  text-decoration: none;
}
.news-detail-page img {
  display: block;
  max-width: 100%;
}
.news-detail-page h2,
.news-detail-page h3 {
  margin: 0;
}

.article-body {
  background: #fff;
}
.article-body__wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.article {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}
.article__title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: #0d0d0d;
  text-wrap: pretty;
}
.article__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: -14px;
  padding-bottom: 24px;
  border-bottom: 1px solid #dfe1dc;
}
.article__meta-left {
  display: flex;
  align-items: center;
  gap: 13px;
}
.article__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #757575;
}
.article__date svg {
  flex: 0 0 auto;
}
.article__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7d7f82;
}
.article__cat {
  font-size: 15px;
  color: #017435;
}
.article__cat:hover {
  text-decoration: underline;
}
.article__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid #dfe1dc;
}
.article__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #5f5f62;
}
.article__back svg {
  color: #6d6e69;
  transition: transform 0.15s ease;
}
.article__back:hover svg {
  transform: translateX(-3px);
}

.share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.share__label {
  font-size: 16px;
  color: #5f5f62;
  margin-right: 2px;
}
.share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: #5f5f62;
  box-shadow: inset 0 0 0 1px #dfe1dc;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.share__btn:hover {
  background: #017435;
  color: #fff;
  box-shadow: inset 0 0 0 1px #017435;
}
.share__btn--zalo span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.article_summary {
  font-size: 16px;
  line-height: 140%;
  color: rgb(13, 13, 13);
  text-wrap: pretty;
  font-weight: 700;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.prose .image {
  display: flex;
  justify-content: center;
}
.prose p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #141414;
  text-wrap: pretty;
  font-family: "Inter", Arial, sans-serif !important;
}
.prose__lead {
  font-weight: 700;
  color: #0d0d0d;
}
.prose__subhead {
  margin: 8px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #017435;
  text-wrap: pretty;
}
.prose__figure {
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.prose__figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.prose__figure figcaption {
  font-size: 15px;
  font-style: italic;
  line-height: 1.4;
  text-align: center;
  color: #666666;
  text-wrap: pretty;
}

.topics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topics__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
  font-size: 16px;
  color: #5f5f62;
}
.topics__label svg {
  color: #5f5f62;
}
.topics__tag {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 100px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dfe1dc;
  font-size: 14px;
  line-height: 1;
  color: #757575;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.topics__tag:hover {
  background: #e8f3e9;
  color: #017435;
  box-shadow: inset 0 0 0 1px #44ca81;
}

.article-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #0d0d0d;
}

.featured-news {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fnews {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
}
.fnews__thumb {
  display: block;
  width: 120px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #e8f3e9;
}
.fnews__thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}
.fnews__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #0d0d0d;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
  text-decoration: none;
}
.fnews:hover .fnews__thumb img {
  transform: scale(1.05);
}
.fnews:hover .fnews__title {
  color: #017435;
}

.side-agencies {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.side-agencies__link {
  display: block;
  overflow: hidden;
  transition: opacity 0.2s ease;
}
.side-agencies__link img {
  width: 100%;
  height: auto;
  display: block;
}
.side-agencies__link:hover {
  opacity: 0.88;
}

@media (max-width: 1100px) {
  .article-body__wrap {
    grid-template-columns: 1fr;
  }
  .article-side {
    max-width: 520px;
  }
}
@media (max-width: 640px) {
  .article-body__wrap {
    padding: 32px 20px;
  }
  .article__title {
    font-size: 26px;
  }
  .prose__subhead {
    font-size: 18px;
  }
  .page-hero__title {
    font-size: 24px;
    left: 60px;
  }
}
.related-news {
  padding: 48px 0 64px;
}
.related-news__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 12px;
}
.related-news .section__rule {
  flex: 1 1 auto;
  height: 8px;
  background: url("/public/img/default_img/dash-line-grey.png") left center/auto 8px repeat-x;
}
.related-news__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  flex-shrink: 0;
}
.related-news__title {
  color: rgb(13, 13, 13);
  margin: 0;
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  line-height: 100%;
  text-transform: uppercase;
}
.related-news__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.related-news__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.related-news__card:hover .related-news__card-title {
  color: #017435;
}
.related-news__card-img {
  width: 100%;
  aspect-ratio: 302/201;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.related-news__card-title {
  color: rgb(62, 62, 63);
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
}
.related-news__card-date {
  color: rgb(102, 102, 102);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
}
.related-news__card-excerpt {
  color: rgb(59, 59, 59);
  font-family: Inter;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .related-news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .related-news__grid {
    grid-template-columns: 1fr;
  }
  .related-news {
    padding: 32px 0 40px;
  }
}
