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

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

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

.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-heading__title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #0d0d0d;
  white-space: nowrap;
}
.section-heading__title--sm {
  font-family: "Open Sans", "Inter", sans-serif;
  font-size: 20px;
}
.section-heading__rule {
  height: 8px;
  flex: 1 1 0;
  background: url("/public/img/default_img/dash-line-grey.png") left center/auto 8px repeat-x;
}
.section-heading__rule--grow {
  flex: 1 1 auto;
}
.section-heading__icon {
  flex: 0 0 auto;
  color: #0d0d0d;
  line-height: 0;
}
.section-heading--center {
  text-align: center;
}

.meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #757575;
}
.meta__icon {
  line-height: 0;
}
.meta__date {
  font-size: 14px;
  line-height: 1;
}

.featured {
  display: flex;
  background: #f6f7f4;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.featured__media {
  flex: 0 0 56.25%;
  overflow: hidden;
}
.featured__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.featured__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 720/480;
  transition: transform 0.4s ease;
}
.featured:hover .featured__media img {
  transform: scale(1.06);
}
.featured__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px;
  position: relative;
  z-index: 2;
}
.featured__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.24;
  color: #0d0d0d;
  text-wrap: pretty;
  text-decoration: none;
  color: inherit;
  text-align: justify;
}
.featured__title a {
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 3;
}
.featured__title a:hover {
  color: #017435;
}
.featured .meta__date {
  font-size: 16px;
}
.featured__excerpt {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #0d0d0d;
  text-wrap: pretty;
  text-align: justify;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  -moz-column-gap: 24px;
       column-gap: 24px;
  row-gap: 40px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: none;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}
.card a {
  text-decoration: none;
  color: inherit;
}
.card__media {
  display: block;
  overflow: hidden;
  border-radius: 2px;
}
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card__media img {
  width: 100%;
  aspect-ratio: 302/201;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card__media img {
  transform: scale(1.06);
}
.card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #3e3e3f;
  text-wrap: pretty;
  text-align: justify;
  position: relative;
  z-index: 2;
}
.card__title a:hover {
  color: #017435;
}
.card__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #3b3b3b;
  text-wrap: pretty;
  text-align: justify;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.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;
}
.pagination__btn--nav:not([aria-disabled]):hover {
  background: rgb(214.6, 214.6, 214.6);
}

@media (max-width: 1100px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured {
    flex-direction: column;
  }
  .featured__media {
    flex-basis: auto;
  }
}
@media (max-width: 640px) {
  .news-body__wrap {
    padding: 32px 20px;
  }
  .news-tabs {
    padding: 0 20px;
    gap: 22px;
    overflow-x: auto;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .section-heading__title {
    font-size: 22px;
    white-space: wrap;
  }
  .news-hero__title {
    font-size: 24px;
    left: 60px;
  }
}
