.newsPage {
  padding-top: 1rem;
  background: #fff;
}

.newsContent {
  position: relative;
  padding: .8rem 0 1rem;
}

.newsHeading {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newsHeading h1 {
  color: var(--blue);
  font-size: clamp(18px, .2rem, 20px);
  font-weight: 500;
  line-height: .28rem;
  text-transform: uppercase;
}

.newsHeading i {
  width: .5rem;
  height: .03rem;
  margin-top: .15rem;
  display: block;
  background: var(--yellow);
}

.newsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .26rem;
  margin-top: .4rem;
}

.newsCard {
  height: 5.88rem;
  overflow: hidden;
  border-radius: .05rem;
  background: #fff;
  box-shadow: 0 0 .05rem rgba(85, 85, 85, .25);
}

.newsImage {
  height: 3.54rem;
  display: block;
  overflow: hidden;
}

.newsImage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.newsCardBody {
  height: 2.34rem;
  padding: .25rem .3rem .35rem;
  display: flex;
  flex-direction: column;
}

.newsCard h2 {
  color: var(--text);
  font-size: clamp(16px, .18rem, 18px);
  font-weight: 600;
  line-height: .28rem;
  transition: color .25s;
}

.newsCard p {
  margin-top: .18rem;
  color: var(--muted);
  font-size: clamp(14px, .16rem, 16px);
  line-height: .24rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.newsCardFooter {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.newsCard time {
  color: var(--muted);
  font-size: clamp(14px, .16rem, 16px);
  line-height: .3rem;
}

.newsMore {
  width: .3rem;
  height: .3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: #fff;
  font-size: .19rem;
  font-weight: 600;
  line-height: 1;
  transition: background .25s, color .25s;
}

.newsCard:hover .newsImage img {
  transform: scale(1.05);
}

.newsCard:hover h2 {
  color: var(--blue);
}

.newsCard:hover .newsMore {
  background: var(--blue);
}

@media (max-width: 1024px) {
  .newsContent {
    padding: .55rem 0 .8rem;
  }

  .newsGrid {
    grid-template-columns: 1fr;
    gap: .26rem;
  }

  .newsCard {
    height: auto;
  }

  .newsImage {
    height: 3.8rem;
  }

  .newsCardBody {
    height: auto;
    min-height: 2.3rem;
  }

  .newsCard h2 {
    line-height: 1.45;
  }

  .newsCard p,
  .newsCard time {
    line-height: 1.55;
  }
}
