.gallery-wrapper {
  max-width: 1100px;
  margin: 40px auto 60px;
  padding: 0 20px;
  font-family: "Noto Sans KR", Arial, sans-serif;
}

.gallery-hero {
  width: 100%;
  height: 320px;        /* 원하는 높이 */
  object-fit: cover;     /* 이미지가 꽉 차게 */
  object-position: center;
  border-radius: 12px;   /* 둥근 모서리 */
  margin-bottom: 25px;
  display: block;
}

.gallery-title {
  font-size: 26px;
  font-weight: 700;
  color: #330099; /* Dream Hope 보라색 */
  margin-bottom: 20px;
  text-align: center;
}


.gallery-intro {
  max-width: 900px;
  margin: 20px auto 30px;
  padding: 0 20px;
  text-align: center;
  font-family: "Noto Sans KR", Arial, sans-serif;
  color: #444;
  line-height: 1.8;
}


/* 메인 이미지 */
.gallery-main {
  position: relative;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* 메인 좌우 화살표 */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-arrow-left {
  left: 16px;
}

.gallery-arrow-right {
  right: 16px;
}

.gallery-arrow:hover {
  background: rgba(0,0,0,0.8);
}

/* 썸네일 영역 */
.gallery-thumbs {
  margin-top: 12px;
  display: flex;
  align-items: center;
  background: #111;
  padding: 8px 10px;
  border-radius: 10px;
}

.thumb-arrow {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}

.thumbs-track {
  flex: 1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.thumbs-track::-webkit-scrollbar {
  height: 6px;
}
.thumbs-track::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 3px;
}

.thumb {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.thumb.active {
  opacity: 1;
  border-color: #ff4fa3; /* 포인트 핑크 */
}

.thumb:hover {
  opacity: 0.9;
}

/* 모바일 대응 */
@media (max-width: 600px) {
  .gallery-main img {
    max-height: 320px;
  }
  .thumb {
    width: 70px;
    height: 48px;
  }
}
