/* page */
.pg {
  padding: 16px;
}

/* header */
.pg-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.pg-name {
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
}

.pg-name a,
.pg-nav a {
  color: #000;
  text-decoration: none;
}

.pg-name a:hover,
.pg-nav a:hover { text-decoration: underline; }

.pg-nav {
  font-size: 13px;
  color: #555;
}

/* list */
.klist {
  display: flex;
  flex-direction: column;
}

.kitem {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #e8e8e8;
}

.kitem:last-child { border-bottom: none; }

/* thumbnail */
.kthumb {
  width: 200px;
  height: auto;
  display: block;
  flex-shrink: 0;
  cursor: pointer;
}

/* multi-image thumbnail group — images sit side by side, equal width, natural height */
.kthumb-group {
  display: flex;
  flex-direction: row;
  gap: 6px;
  flex-shrink: 0;
}

.kthumb-group .kthumb {
  width: 200px;
  height: auto;
}

/* text block */
.ktext {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
  font-size: 13px;
  line-height: 1.6;
  color: #222;
}

/* item title and description */
.ktitle {
  font-size: 13px;
  font-weight: bold;
  line-height: 1.5;
}

.kdesc {
  font-size: 13px;
  color: #222;
  line-height: 1.6;
}

.kmedium {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}

.ksize {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}

/* lightbox */
.lb {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lb.open { display: flex; }

.lb-img {
  max-width: 93vw;
  max-height: 93vh;
  object-fit: contain;
  display: block;
}

/* lightbox gallery arrows */
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  font-size: 28px;
  padding: 10px 16px;
  cursor: pointer;
  user-select: none;
  z-index: 10000;
  line-height: 1;
}

.lb-arrow:hover {
  background: rgba(255,255,255,0.28);
}

.lb-arrow-prev { left: 16px; }
.lb-arrow-next { right: 16px; }

/* lightbox dot indicators */
.lb-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10000;
}

.lb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}

.lb-dot.active {
  background: #fff;
}

@media (max-width: 480px) {
  .kthumb { width: 100px; }
  .kthumb-group .kthumb { width: 80px; }
}