@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

.page-tabs {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 56px;
  padding: 0 80px;
  background: #017435;
}
.page-tabs__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
  transition: color 0.15s ease;
}
.page-tabs__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.18s ease;
}
.page-tabs__item:hover {
  color: rgba(255, 255, 255, 0.85);
}
.page-tabs__item.is-active {
  color: #fff;
}
.page-tabs__item.is-active::after {
  transform: scaleX(1);
}

.service-body {
  background: #fff;
}
.service-body__wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-heading__icon {
  flex: 0 0 auto;
  color: #017435;
  line-height: 0;
}
.section-heading__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #0d0d0d;
  white-space: nowrap;
}
.section-heading__rule {
  flex: 1 1 auto;
  height: 8px;
  background: url("assets/divider-dots.png") left center/auto 8px repeat-x;
}

.doc-table {
  width: 100%;
}
.doc-table__head, .doc-table__row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 160px;
  -moz-column-gap: 30px;
       column-gap: 30px;
  padding: 0 20px;
  align-items: center;
}
.doc-table__head {
  height: 42px;
  background: #e8f3e9;
}
.doc-table__head .doc-table__cell {
  font-size: 15px;
  font-weight: 700;
  color: #0d0d0d;
}
.doc-table__cell--dl {
  justify-self: start;
}
.doc-table__row {
  min-height: 52px;
  padding-top: 14px;
  padding-bottom: 14px;
  background: #fff;
  border: 1px solid #e8f3e9;
  border-top: none;
  transition: background 0.15s ease;
}
.doc-table__row:hover {
  background: rgba(232, 243, 233, 0.45);
}
.doc-table__cell {
  font-size: 14px;
}
.doc-table__no {
  color: #0d0d0d;
}
.doc-table__name {
  color: #0d0d0d;
  text-wrap: pretty;
}
.doc-table__dl {
  justify-self: start;
}

.dl-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #017435;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}
.dl-link svg {
  flex: 0 0 auto;
  transition: transform 0.15s ease;
}
.dl-link:hover {
  text-decoration: underline;
}
.dl-link:hover svg {
  transform: translateY(2px);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 100px;
  background: #ebebeb;
  color: #0d0d0d;
  font-size: 14px;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}
.pagination__btn:hover {
  background: rgb(214.6, 214.6, 214.6);
}
.pagination__btn.is-active {
  background: #017435;
  color: #fff;
  font-weight: 600;
}
.pagination__btn--nav svg {
  display: block;
}

@media (max-width: 760px) {
  .page-tabs {
    padding: 0 20px;
    gap: 22px;
    overflow-x: auto;
  }
}
@media (max-width: 640px) {
  .service-body__wrap {
    padding: 32px 20px;
  }
  .page-hero__title {
    font-size: 26px;
    left: 60px;
    top: 96px;
  }
  .doc-table__head {
    display: none;
  }
  .doc-table__row {
    grid-template-columns: 1fr;
    row-gap: 6px;
    border-top: 1px solid #e8f3e9;
  }
  .doc-table__no::before {
    content: "Số thứ tự: ";
    font-weight: 700;
  }
}
