@charset "UTF-8";
/*-------------------------------------------------

title       : 갤러리 게시판
Author      : EASESOFT
Create date : 2024-06

-------------------------------------------------*/
.galleryList > ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4rem;
  padding: 4rem 3rem;
  border-top: 2px solid #454B56;
  border-bottom: 1px solid #454B56;
}
.galleryList > ul li {
  overflow: hidden;
  display: block;
  background: #fff;
  border-radius: 1.6rem;
  box-shadow: 0 2px 14px rgba(151, 151, 151, 0.1607843137);
  border: 1px solid transparent;
  transition: 0.3s;
}
.galleryList > ul li .thumb {
  overflow: hidden;
  display: flex;
  aspect-ratio: 16/9;
  border-radius: 0 0 1.6rem 1.6rem;
}
.galleryList > ul li .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}
.galleryList > ul li .txt {
  display: block;
  padding: 1.6rem 2rem;
}
.galleryList > ul li .txt .title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  max-height: 5rem;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-wrap: break-word;
  word-break: keep-all;
  min-height: 5rem;
  font-size: 1.8rem;
  font-weight: 500;
  color: #000;
}
.galleryList > ul li .txt .date {
  display: block;
  margin-top: 1.6rem;
  color: var(--text-color-70);
}
@media screen and (min-width: 1025px) {
  .galleryList > ul li:hover {
    border-color: #004FB7;
  }
  .galleryList > ul li:hover .thumb {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  }
  .galleryList > ul li:hover .thumb img {
    transform: scale(1.05);
  }
}

/*-------------------------------------------------

Responsive

-------------------------------------------------*/
/* Media Query */
@media all and (max-width: 1280px) {
  .galleryList > ul {
    gap: 3rem;
    padding: 4rem 2rem;
  }
}
@media all and (max-width: 1024px) {
  .galleryList > ul {
    gap: 2rem;
    padding: 2rem 0;
  }
}
@media all and (max-width: 768px) {
  .galleryList > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 2rem;
    padding: 2rem 0;
  }
  .galleryList > ul li .thumb {
    aspect-ratio: 4/3;
  }
  .galleryList > ul li .txt {
    padding: 1.4rem 1rem;
  }
  .galleryList > ul li .txt .title {
    font-size: 1.6rem;
  }
  .galleryList > ul li .txt .date {
    margin-top: 1rem;
    font-size: 1.3rem;
  }
}
@media all and (max-width: 360px) {
  .galleryList > ul {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}