.news-page {
  min-height: 100vh;
  color: #000;
  background: #fff;
  font-family: "Poppins", Arial, sans-serif;
}

.news-page main {
  overflow: hidden;
  background: #fff;
}

.news-listing {
  padding: 120px 0 134px;
  background: #fff;
}

.news-shell {
  width: min(1400px, calc(100vw - 80px));
  margin: 0 auto;
}

.news-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 48px;
}

.news-heading-row h1 {
  margin: 0;
  color: #000;
  font-size: clamp(54px, 3.75vw, 72px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.news-tabs {
  display: inline-flex;
  align-items: flex-start;
  gap: 62px;
  padding-top: 31px;
}

.news-tabs button {
  position: relative;
  padding: 0 0 6px;
  border: 0;
  background: transparent;
  color: #000;
  font-family: inherit;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}

.news-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--green);
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: left center;
  transition:
    opacity 180ms ease,
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.news-tabs button.is-active {
  color: var(--green);
  font-weight: 500;
}

.news-tabs button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.news-featured {
  height: 500px;
  margin-top: 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.news-featured[hidden] {
  display: none;
}

.news-featured-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px 0 0 10px;
  background: #d8e8f4;
}

.news-featured-media img {
  position: absolute;
  left: -5.09%;
  top: -23.99%;
  width: 173.21%;
  height: 136.4%;
  max-width: none;
  object-fit: fill;
}

.news-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 154px 60px 0;
  background: #f7f7f7;
}

.news-featured-copy h2 {
  width: min(580px, 100%);
  margin: 0;
  color: #000;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: capitalize;
}

.news-featured-copy time {
  margin-top: 42px;
  color: #000;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.news-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 31px;
  row-gap: 74px;
}

.news-card {
  min-width: 0;
}

.news-card-media {
  display: block;
  height: 290px;
  overflow: hidden;
  border-radius: 10px;
  background: #f2f2f2;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .news-card-media img {
  transform: scale(1.035);
}

.news-card h2 {
  width: min(446px, 100%);
  margin: 20px 0 0;
  color: #000;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.24px;
  text-transform: capitalize;
}

.news-card time {
  display: block;
  margin-top: 18px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.news-pagination {
  margin-top: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.news-pagination button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #f6f6f6;
  color: #000;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.news-pagination button.is-active {
  background: #000;
  color: #fff;
}

.news-pagination button:hover,
.news-pagination button:focus-visible {
  transform: translateY(-1px);
}

@media (max-width: 1440px) {
  .news-shell {
    width: min(1200px, calc(100vw - 80px));
  }

  .news-featured {
    height: 460px;
  }

  .news-featured-copy {
    padding: 132px 52px 0;
  }

  .news-card-media {
    height: 250px;
  }
}

@media (max-width: 1180px) {
  .news-heading-row {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .news-tabs {
    padding-top: 0;
  }

  .news-featured {
    height: auto;
    grid-template-columns: 1fr;
  }

  .news-featured-media {
    height: 430px;
    border-radius: 10px 10px 0 0;
  }

  .news-featured-copy {
    min-height: 300px;
    padding: 64px 56px;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .news-listing {
    padding: 72px 0 84px;
  }

  .news-shell {
    width: calc(100vw - 40px);
  }

  .news-heading-row h1 {
    font-size: 44px;
  }

  .news-tabs {
    width: 100%;
    gap: 0;
    justify-content: space-between;
  }

  .news-tabs button {
    font-size: 16px;
  }

  .news-featured {
    margin-top: 40px;
  }

  .news-featured-media {
    height: 280px;
  }

  .news-featured-copy {
    min-height: 0;
    padding: 34px 24px 40px;
  }

  .news-featured-copy h2 {
    font-size: 24px;
  }

  .news-featured-copy time {
    margin-top: 28px;
    font-size: 16px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .news-card-media {
    height: 235px;
  }

  .news-card h2 {
    font-size: 20px;
  }

  .news-card time {
    font-size: 16px;
  }

  .news-pagination {
    margin-top: 72px;
  }
}
