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

.docs-page {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #0d0d0d;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
.docs-page img {
  display: block;
  max-width: 100%;
}

.page-hero__banner {
  position: relative;
  height: 256px;
  overflow: hidden;
  background: linear-gradient(96deg, #009f48 0%, #017435 60%);
}
.page-hero__photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 67%;
  background: url("assets/banner-photo.png") center/cover no-repeat;
  clip-path: polygon(80px 0, 100% 0, 100% 100%, 0 100%);
}
.page-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, rgba(1, 116, 53, 0.92) 0%, rgba(1, 116, 53, 0.1) 42%, rgba(0, 159, 72, 0.04) 100%);
}
.page-hero__stripes {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 26%;
  width: 46%;
  pointer-events: none;
}
.page-hero__stripe {
  position: absolute;
  top: -28px;
  bottom: -28px;
  background: #017435;
  transform: skewX(-21deg);
  transform-origin: top center;
}
.page-hero__stripe:nth-child(1) {
  left: 0%;
  opacity: 1;
  width: 150px;
}
.page-hero__stripe:nth-child(2) {
  left: 34%;
  opacity: 0.85;
  width: 70px;
}
.page-hero__stripe:nth-child(3) {
  left: 52%;
  opacity: 0.6;
  width: 44px;
}
.page-hero__inner {
  position: absolute;
  inset: 0;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}
.page-hero__trees {
  position: absolute;
  left: 80px;
  top: 20px;
  width: 279px;
  height: 216px;
  opacity: 0.92;
}
.page-hero__title {
  position: absolute;
  left: 82px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  max-width: 35%;
}

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

.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.section-heading__icon {
  flex: 0 0 auto;
  color: #017435;
  line-height: 0;
}
.section-heading__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #0d0d0d;
  white-space: nowrap;
}
.section-heading__rule {
  height: 8px;
  flex: 1 1 auto;
}

.featured-docs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.featured-docs a {
  text-decoration: none;
  color: inherit;
}
.featured-docs__card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  min-height: 110px;
  padding: 24px;
  background: #f6f7f4;
  border-radius: 8px;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.featured-docs__card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.featured-docs__icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  color: #0d0d0d;
}
.featured-docs__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #0d0d0d;
  text-wrap: pretty;
  text-decoration: none;
}

.doc-table {
  width: 100%;
}
.doc-table__head, .doc-table__row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 120px 131px;
  -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__row {
  min-height: 52px;
  padding-top: 16px;
  padding-bottom: 16px;
  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__ref {
  display: flex;
  align-items: center;
  gap: 8px;
}
.doc-table__ref .doc-table__pdf {
  flex: 0 0 20px;
  color: #c7202c;
}
.doc-table__name {
  color: #0d0d0d;
}
.doc-table__date {
  color: #0d0d0d;
}
.doc-table__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.doc-table__action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #017435;
  font-size: 14px;
  line-height: 1;
}
.doc-table__action svg {
  flex: 0 0 auto;
}
.doc-table__action:hover {
  text-decoration: underline;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.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--gap {
  background: transparent;
  cursor: default;
}
.pagination__btn--gap:hover {
  background: transparent;
}
.pagination__btn--nav svg {
  display: block;
}

@media (max-width: 1100px) {
  .featured-docs {
    grid-template-columns: repeat(2, 1fr);
  }
  .doc-table__head {
    display: none;
  }
  .doc-table__row {
    grid-template-columns: 1fr;
    row-gap: 8px;
    border-top: 1px solid #e8f3e9;
  }
  .doc-table__actions {
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .page-hero__inner .page-hero__trees {
    display: none;
  }
  .page-hero__title {
    left: 24px;
    max-width: 75%;
  }
  .section-heading__title {
    font-size: 18px;
    white-space: wrap;
    line-height: 24px;
  }
  .section-heading__rule {
    display: none;
  }
}
@media (max-width: 640px) {
  .docs-body__wrap {
    padding: 32px 20px;
  }
  .featured-docs {
    grid-template-columns: 1fr;
  }
  .page-hero__title {
    font-size: 22px;
    left: 24px;
    max-width: calc(100% - 48px);
  }
}
