/*
========================
======================== CONCLUI MEU CURSO
========================
*/

/*
========================
======================== OPPORTUNITY BANK
========================
*/

.opportunity-bank {
  margin-top: 4rem;
}

/*
========================
======================== NEWS
========================
*/

.news {
  margin-top: 4rem;
}

.news-title {
  width: 100%;
  text-align: center;
  margin-bottom: 3rem;
}

.news-title h2 {
  color: var(--blue-normal);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: normal;
}

.news-all {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 991px) {
  .news-all {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .news-all {
    grid-template-columns: 1fr;
  }
}

.news-item-cover {
  width: 100%;
  height: 20rem;
  border-radius: 2rem;
  overflow: hidden;
}

.news-item-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.news-item:hover .news-item-cover img {
  transform: scale(1.1);
}

.news-item-desc {
  margin-top: 1.5rem;
}

.news-item-desc h3 {
  color: var(--grey);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 120%;
}

.news-item:hover h3 {
  text-decoration: underline;
}

.news-item-desc p {
  color: var(--grey);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 130%;
  margin-top: 1.2rem;
}

.news-item-desc .date {
  width: fit-content;
  background: var(--blue-normal);
  margin-top: 1.7rem;
  padding: 7px 15px;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-item-desc .date img {
  height: 2rem;
}

.news-item-desc .date span {
  color: var(--white-light);
  font-size: 1.4rem;
  font-weight: 500;
}

.news-more{
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.news-more .btn {
  width: fit-content;
  border-radius: 10px;
  background: var(--orange);
  padding: 14px 30px;
  color: var(--white-light);
  font-size: 18px;
  font-weight: 400;
  margin-top: 30px;
  transition: 0.4s;
  display: inline-block;
}

.news-more .btn:hover {
  background: var(--orange-dark);
  transition: 0.4s;
}