.latest_first {
  background-color: var(--7a);
  /* border: 1px solid var(--7a); */
  width: 100%;
  padding: 22px;
  display: flex;
  gap: 30px;
  position: relative;
  cursor: pointer;
  overflow: clip;
}

.exhibition_first {
  background-color: var(--e0);
}

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

.announce p,
.exhibition p {
  color: var(--df);
  padding: 4px 8px;
  font-weight: var(--eventWeight);
}

.exhibition_first .announce p,
.exhibition_first .exhibition p {
  background-color: var(--e0);
  width: 100%;
}

.latest_first_img {
  width: 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 {
  width: 100%;
  min-height: 152px;
}

.latest_content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  height: 100%;
}

.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: 62px;
  display: flex;
  overflow-y: clip;
}

.npl-latest-h2-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: black;
}

.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;
}

@media screen and (max-width: 768px) {
  .npl-latest-h2-text {
    font-size: clamp(var(--fourteen), 1vw, var(--twentyTwo));
    -webkit-line-clamp: 4;
  }

  .latest_content p {
    display: none;
  }
}

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

.latest_date {
  width: 100%;
  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);
}

.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);
}

.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;
}

.npl-read-latest-overflow:hover .read_latest_original {
  transform: translateY(0);
  transition: 0.3s ease-in-out;
}

.npl-team-popup-latest {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media screen and (max-width: 1024px) {
  /* .latest_first {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--7a);
  }

  .exhibition_first {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--e0);
  } */

  .latest_date_container {
    display: none;
  }

  .npl-latest-content-wrapper {
    min-height: auto;
  }
}
