.gall_1_main_handwritten {
  /* widget */
}
.gall_1_main_handwritten.bh_widget_wrap {
  position: relative;
  overflow: hidden;
}
.gall_1_main_handwritten .bh_widget_content .bh_item {
  position: relative;
}
.gall_1_main_handwritten .bh_widget_content .bh_item .bh_item_inner {
  height: 100%;
}
.gall_1_main_handwritten .bh_widget_content .swiper-slide {
  background-color: var(--bh_color_white);
  border-radius: 20px;
  padding: 25px 30px 30px 30px;
}
.gall_1_main_handwritten .bh_widget_content .swiper-slide .category {
  font-size: 18px;
  font-weight: 600;
  background-color: var(--bh_color_main);
  color: var(--bh_color_white);
  width: 90px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}
.gall_1_main_handwritten .bh_widget_content .swiper-slide img {
  border-radius: 15px;
  border: 1px solid var(--bh_color_gray_300);
  cursor: pointer;
}
@media (max-width: 992px) {
  .gall_1_main_handwritten .bh_widget_content .swiper-slide {
    padding: 10px;
    border-radius: 10px;
  }
  .gall_1_main_handwritten .bh_widget_content .swiper-slide .category {
    width: 50px;
    height: 25px;
    margin-bottom: 5px;
    font-size: 12px;
  }
}
.bh_item img {
  cursor: pointer;
}
#custom_photo_box {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#custom_photo_box.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#custom_photo_box.is-open > img {
  opacity: 1;
  transform: scale(1);
}
#custom_photo_box > img {
  display: block;
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/*# sourceMappingURL=9cbf55ddd91a28bea633e0be46147a5391f174b0.widget.scss.map */
