/* latest */

.latest {
  height: auto;
  width: 100%;
  background-color: var(--gray);
  position: relative;
  overflow: clip;
}

.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);
}

.npl-pattern-container-latest {
  height: 100%;
  width: 100%;
  position: absolute;
  overflow: clip;
  top: 15px;
}

.npl-latest-pattern {
  width: 100%;
  height: 100%;
  position: absolute;
}

.latest_pattern {
  max-width: 1400px;
  height: 1000px;
  position: absolute;
  left: 6%;
  transform: translateY(100px);
  animation: latestPattern 20s ease-in-out forwards;
  animation-timeline: view();
}
@keyframes latestPattern {
  0% {
    transform: translateY(100px);
  }
  100% {
    transform: translateY(0px);
  }
}

.latest_pattern img,
.latest_pattern2 img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.latest_pattern2 {
  max-width: 1360px;
  height: 980px;
  bottom: 40px;
  position: absolute;
  left: 2.5%;
  transform: translateY(400px);
  animation: latestPattern2 15s ease-in-out forwards;
  animation-timeline: view();
}

@keyframes latestPattern2 {
  0% {
    transform: translateY(400px);
  }
  100% {
    transform: translateY(200px);
  }
}

.latest_content_container {
  /* margin-top: 90px;
  display: flex;
  max-width: 100%;
  gap: 50px;
  flex-wrap: wrap;
  position: relative;
  flex-direction: column;
  margin-left: 13.2%;
  opacity: 1; */

  margin-top: 90px;
  display: grid;
  grid-template-columns: 8fr 1fr 240px;
  max-width: 1500px;
  gap: 50px;
  flex-wrap: wrap;
  position: relative;
  flex-direction: column;
  margin-left: 13.2%;
  margin-right: 6%;
  opacity: 1;
}

.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);
  }
}

.latest_first {
  background-color: var(--7a);
  /* max-width: 740px; */
  width: 740px;
  padding: 35px 22px 22px 22px;
  display: flex;
  gap: 30px;
  position: relative;
  cursor: pointer;
  overflow: clip;
  grid-column: 1;
}

.announce,
.exhibition {
  position: absolute;
  top: 22px;
  left: 30px;
  font-size: var(--fourteen);
  font-weight: var(--sm);
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--7a);
  padding: 2px 3px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.latest_first_img {
  width: 100%;
  max-width: 228px;
  aspect-ratio: 3/2;
}

.latest_first_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.npl-latest-content-wrapper {
  overflow-y: clip;
  width: 100%;
  min-height: 152px;
}

.latest_content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transform: translateY(120px);
  transition: 0.3s ease-out;
}

.latest_first:hover .latest_content {
  transform: translateY(0);
  transition: 0.3s ease-in;
}

.latest_content h2 {
  font-family: var(--libre);
  font-size: var(--twentyTwo);
  line-height: var(--libreHeight);
  min-height: 50px;
  display: flex;
  overflow-y: clip;
}

.npl-latest-h2-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--df);
}

.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(--fifteen);
  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.2s cubic-bezier(0.7, 0, 0.33, 1);
}

.read_latest_original {
  color: var(--df);
  opacity: 1;
  transform: translateY(150%);
  transition: 0.2s cubic-bezier(0.7, 0, 0.33, 1);
}

.npl-read-latest-overflow:hover .read_latest_dummy {
  transform: translateY(-110%);
  transition: 0.25s cubic-bezier(0.7, 0, 0.33, 1);
}

.read-latest-show {
  transform: translateY(0) !important;
  transition: 0.25s cubic-bezier(0.7, 0, 0.33, 1) !important;
}

.read_latest_dummy {
  color: var(--df);
  position: absolute;
  top: 0;
  transform: translateY(0px);
  transition: 0.2s 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.2s ease forwards;
  cursor: pointer;
  animation-delay: 0.4s;
}

@keyframes latestSlide {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

.latest_first:hover .npl-read-latest-overflow {
  transform: translateY(7px);
  opacity: 1;
  transition: opacity, transform 0.3s ease-in-out;
  transition-delay: 0.5s;
}

.latest_set_margin {
  margin-top: 50px;
}

.latest_see_more {
  display: flex;
  justify-content: end;
  /* gap: 5px; */
  padding-bottom: 90px;
  margin-top: 45px;
  max-width: 740px;
  align-items: center;
  position: relative;
  margin-left: 13.2%;
}

.latest_see_more a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  gap: 5px;
}

.latest_see_more h2 {
  color: var(--71);
  font-size: var(--eighteen);
  font-weight: var(--xl);
}

.latest_see_more button {
  width: var(--smButton);
  height: var(--smButton);
  outline: none;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.latest_see_more button img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  margin-top: 2px;
}



