.latest {
  height: auto;
  width: 100%;
  background-color: var(--gray);
  position: relative;
  overflow: clip;
  padding-bottom: 90px;
}

.feature_latest {
  font-size: var(--thirtySix);
  color: var(--7a);
}

.collection_latest {
  color: var(--7b);
  font-size: var(--thirtySix);
  font-family: var(--barlow);
  font-weight: var(--xl);
}

.latest_content_container {
  /* margin-top: 90px; */
  display: grid;
  grid-template-columns: minmax(10px, 880px) minmax(15px, 1fr) 240px;
  /* justify-items: end; */
  max-width: 1185px;
  gap: 60px 0;
  flex-wrap: wrap;
  position: relative;
  flex-direction: column;
  opacity: 1;
  margin: 0 45px 90px 11%;
}

.latestLoad {
  opacity: 1;
  transform: translateY(0%);
  transition: 0.8s ease-in-out;
  transition-delay: 0.1s;
}

@keyframes latest {
  0% {
    opacity: 0;
    transform: translateY(50%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.npl-latest-grid-content {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 740px;
  margin: 0 0 0 2.5%;
}

.npl-latest-same-container {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 90px;
  height: 100%;
  max-height: 1375px;
  justify-content: space-between;
}

.latest_first {
  background-color: var(--7a);
  width: 100%;
  max-width: 740px;
  padding: 22px;
  display: flex;
  gap: 30px;
  position: relative;
  cursor: pointer;
  overflow: clip;
  grid-column: 1;
}

.announce,
.exhibition {
  /* background-color: rgba(255, 255, 255, 0.85); */
  position: absolute;
  background-color: var(--7a);
  top: 14px;
  left: 13px;
  font-size: var(--fourteen);
  padding: 4px 8px;
  /* box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5); */
  text-transform: lowercase;
  z-index: 1;
}

.npl-press-latest {
  margin-bottom: 40px;
}

.announce p,
.exhibition p {
  color: var(--df);
  font-weight: var(--authorWeight);
}

.latest_first_img {
  width: 100%;
  height: 100%;
  max-width: 228px;
  aspect-ratio: 3/2;
  overflow: clip;
}

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

.npl-latest-content-wrapper {
  /* overflow-y: clip; */
  width: 100%;
  min-height: 152px;
}

.latest_content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  height: 100%;
  /* transform: translateY(95px); */
  /* transition: 0.3s ease-out; */
}

/* .latest_first:hover .latest_content {
  transform: translateY(0);
  transition: 0.3s ease-in;
} */

.latest_first:hover .latest_first_img img {
  transform: scale(1.05);
  transition: 0.5s ease-in-out;
}

.latest_content h2 {
  font-family: var(--libre);
  font-size: var(--twentyTwo);
  line-height: var(--libreHeight);
  /* min-height: 50px; */
  min-height: 62px;
  display: flex;
  overflow-y: clip;
}

.npl-latest-h2-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  /* color: var(--white); */
}

/* .latest_first:hover .latest_content h2 {
  align-items: flex-start;
} */

.latest_content p {
  font-family: var(--barlow);
  font-size: var(--fifteen);
  line-height: var(--barlowHeight);
  font-weight: var(--normalWeight);
  color: black;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-y: clip;
}

.latest_date_container {
  display: flex;
  align-items: end;
  justify-content: end;
  gap: 5px;
  width: 100%;
  position: relative;
}

.ex {
  margin-top: 25px;
}

.latest_date {
  width: 100%;
  transition: 0.3s linear;
  cursor: pointer;
}

.npl-read-latest-overflow {
  color: var(--df);
  font-size: var(--fourteen);
  font-family: var(--libre);
  font-style: italic;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  overflow: clip;
  bottom: -5px;
  opacity: 0;
  transform: translateY(30px);
  /* transition: 0.3s cubic-bezier(0.7, 0, 0.33, 1); */
}

.read_latest_original {
  color: var(--df);
  opacity: 1;
  transform: translateY(150%);
  transition: 0.3s cubic-bezier(0.7, 0, 0.33, 1);
}

.npl-read-latest-overflow:hover .read_latest_dummy {
  transform: translateY(-110%);
  transition: 0.3s cubic-bezier(0.7, 0, 0.33, 1);
}

.npl-read-latest-overflow:hover .read_latest_original {
  transform: translateY(0);
  transition: 0.3s cubic-bezier(0.7, 0, 0.33, 1);
}

.read-latest-show {
  transform: translateY(0) !important;
  transition: 0.3s cubic-bezier(0.7, 0, 0.33, 1) !important;
}

.read_latest_dummy {
  color: var(--df);
  position: absolute;
  top: 0;
  transform: translateY(0px);
  transition: 0.3s cubic-bezier(0.7, 0, 0.33, 1);
}

.line_latest {
  height: 1px;
  width: 0;
  margin-top: 7px;
}

.latest_first:hover .line_latest {
  background-color: var(--df);
  animation: latestSlide 0.3s ease forwards;
  cursor: pointer;
  /* animation-delay: 0.5s; */
}

@keyframes latestSlide {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

.latest_first:hover .npl-read-latest-overflow {
  transform: translateY(7px);
  opacity: 1;
  transition: all 0.3s ease-in-out;
  transition-delay: 0.1s;
}

.latest_set_margin {
  margin-top: 50px;
}

@media screen and (max-width: 1250px) {
  .latest_content_container,
  .npl-blog-section,
  .npl-update-header-grid {
    grid-template-columns: 1fr;
    max-width: 740px;
  }

  .npl-latest-same-container {
    display: none !important;
  }
}
