.news-grid {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .news-grid {
    padding-top: 100px;
    padding-bottom: 60px;
  }
}

.news-grid__content .eyebrow {
  color: #0070B9;
  text-transform: uppercase;
}

.news-grid__content h2 {
  color: #5E5E5E;
}

.news-grid__content-articles {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (min-width: 768px) {
  .news-grid__content-articles {
    gap: 60px;
  }
}

.news-grid__content-first {
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 4px 4px 12px 0px #00000040;
  flex-direction: column;
  border: 1px solid #E0E0E0;
}

.news-grid__content-first:hover {
  border: 1px solid var(--Blue-Highlight, #90D9F9);
}

.news-grid__content-first:hover .first-article-heading {
  font-weight: bold;
}

@media (min-width: 768px) {
  .news-grid__content-first {
    flex-direction: row;
    height: 400px;
  }
}

.news-grid__content-first-left {
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .news-grid__content-first-left {
    max-width: 447px;
  }
}

.news-grid__content-first-category {
  padding: 6px 12px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  position: absolute;
  top: 0;
  left: 40px;
  color: white;
}

@media (min-width: 768px) {
  .news-grid__content-first-category {
    padding: 8px 24px;
    left: 50px;
  }
}

.news-grid__content-first-left img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.news-grid__content-first-right {
  color: #063354;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
}

@media (min-width: 768px) {
  .news-grid__content-first-right {
    padding: 60px;
  }
}

.first-article-heading-dateposted {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
}

.first-article-heading-dateposted span:nth-child(2) {
  height: 6px;
  border-radius: 3px;
  display: inline-block;
  flex-grow: 1;
}

.first-article-heading {
  font-size: 32px;
  line-height: 100%;
}

@media (min-width: 768px) {
  .first-article-heading {
    font-size: 42px;
  }
}

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

@media (min-width: 768px) {
  .news-grid__content-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-grid__content-grid-item {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 4px 12px 0px #00000040;
  border: 1px solid #E0E0E0;
}

.news-grid__content-grid-item:hover {
  border: 1px solid var(--Blue-Highlight, #90D9F9);
}

.news-grid__content-grid-item:hover .news-grid__content-grid-item-title {
  font-weight: bold;
}

.news-grid__content-grid-item img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  max-height: 200px;
}

.news-grid__content-grid-item-top {
  height: 200px;
  position: relative;
}

.news-grid__content-category {
  padding: 6px 12px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  position: absolute;
  top: 0;
  left: 40px;
  color: white;
}

.news-grid__content-grid-item-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #063354;
  padding: 24px;
}

.news-grid__content-grid-item-title {
  font-size: 24px;
  line-height: 30px;
}

.news-grid__content-grid-item-tags {
  text-transform: uppercase;
  font-size: 14px;
}

.article-heading-dateposted {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
}

.article-heading-dateposted span:nth-child(2) {
  height: 6px;
  border-radius: 3px;
  display: inline-block;
  flex-grow: 1;
}

.news-grid .link {
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  color: #181818;
}
