.cm-news-recent {
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

.cm-news-recent__header {
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 31px;
}

.cm-news-recent__title {
  font-size: 50px;
  font-weight: 700;
  color: white;
  margin: 0;
  text-align: left;

  @media screen and (max-width: 768px) {
    font-size: 64px;
  }
}

.cm-news-recent__posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 80px;

  @media screen and (min-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  @media screen and (min-width: 1024px) {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 22px;
  }
}

.cm-news-recent__post {
  position: relative;
  background: transparent;
  border: none;
  transition: all 0.3s ease;
  overflow: hidden;
}

.cm-news-recent__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.cm-news-recent__link:hover {
  text-decoration: none;
  color: inherit;
}

.cm-news-recent__post-inner {
  padding: 40px 32px 32px 0px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: all 0.3s ease;
}

.cm-news-recent__post-title {
  font-size: 33px;
  font-weight: 300;
  color: white;
  line-height: 1.1;
  margin: 0;
  transition: color 0.3s ease;

  @media screen and (max-width: 768px) {
    font-size: 28px;
  }
}

.cm-news-recent__post-date {
  font-size: 16px;
  color: white;
  margin: 0;
  font-weight: 400;
  text-transform: capitalize;
  position: relative;
  display: flex;
  align-items: center;
}

.cm-news-recent__post-date::after {
  content: "";
  height: 1px;
  background: #86c5ca;
  margin-left: 20px;
  margin-right: 20px;
  flex: 1;
  max-width: 0;
  transition: max-width 0.3s ease;
  order: 1;
}

.cm-news-recent__post:hover .cm-news-recent__post-date::after {
  max-width: 100px;
}

.cm-news-recent__learn-more {
  color: #86c5ca;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  order: 2;
}

.cm-news-recent__post:hover .cm-news-recent__learn-more {
  opacity: 1;
}

.cm-news-recent__post:hover .cm-news-recent__post-title {
  font-weight: 700;
}
.cm-news-recent__view-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #86c5ca;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
}
