/* gallery-set */
:root {
  --list-body-font-size: 15px;
  --list-body-border-color: transperent;

  --list-title-font-size: 20px;
}

.gallery-photo {
  --post-border-radius: var(--input-border-radius);
  --image-ratio: 4/3;

  --grid-num: 3;
  --grid-t-num: 2;
  --grid-m-num: 1;
}

.gallery-photo .post {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.gallery-photo .gallery-item {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.gallery-photo .gallery-item .image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  aspect-ratio: var(--image-ratio);
  border-radius: var(--post-border-radius);
}

.gallery-photo .gallery-item .image .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.3s ease-in-out;
}

.gallery-photo .gallery-item:hover .image .bg {
  transform: scale(1.07);
}

.gallery-photo .gallery-item .text {
  margin-top: 20px;
}

.gallery-photo .gallery-item .category-name {
  margin-bottom: 5px;
}

.gallery-photo .gallery-item .title-items .title-wrap {
  margin-bottom: 12px;
}

.gallery-photo .gallery-item .text .desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-mute);
  margin-top: 0;

  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.gallery-photo .gallery-item .text .desc~div {
  margin-top: 15px;
}

/* Desktop ( 1024px ~)*/
@media all and (min-width: 1024px) {}

/* Laptop ( 1024px ~ 1440px)*/
@media all and (min-width: 1024px) and (max-width: 1440px) {}

/* Tablet ( 768px ~ 1023px)*/
@media all and (min-width: 768px) and (max-width: 1023px) {}

/* Mobile ( ~ 767px)*/
@media all and (max-width: 767px) {}