/* Stage와 Thumbs의 공통 스타일 */
.gallery-info .arrow { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 44px; height: 44px; }
.gallery-info .swiper { margin-inline: 0; overflow: hidden; }

/* Viewer */
.gallery-info__viewer { background-color: var(--color-brand-brown); }
.gallery-info__viewer .container { padding-top: 0; }

/* Gallery Info Header */
.gallery-info__header { display: flex; flex-direction: column; gap: var(--space-20); padding-block: var(--space-60) var(--space-20); border-bottom: 1px solid #817468; }
.gallery-info__title { font-size: var(--font-size-title-page); font-weight: 700; line-height: var(--line-height-title-page); color: var(--color-text-inverse); }
.gallery-info__meta { gap: var(--space-15); }
.gallery-info__meta span { color: var(--color-text-inverse); }
.gallery-info__views-wrap::before { margin-inline: 0 var(--space-15); }

/* Stage */
.gallery-info__stage { display: flex; align-items: center; justify-content: center; gap: clamp(var(--space-20), calc(var(--space-20) + (100vw - 769px) * 20 / 431), var(--space-50)); margin-top: 64px; }
.gallery-info__stage .arrow { width: clamp(44px, calc(44px + (100vw - 769px) * 12 / 431), 56px); height: clamp(44px, calc(44px + (100vw - 769px) * 12 / 431), 56px); border: 1px solid #343537; border-radius: 50%; background-color: rgba(255, 255, 255, 0.2); transition: all 0.2s ease-in-out; }
.gallery-info__stage .arrow .icon-l-arrow, .gallery-info__stage .arrow .icon-r-arrow { width: var(--space-15); height: var(--space-15); transition: all 0.15s ease-in-out; }
.gallery-info__stage .arrow:hover { border-color: var(--color-white) }
.gallery-info__stage .arrow:hover > .icon-arrow { color: var(--color-text-inverse); }
.gallery-info__stage .arrow.swiper-button-disabled { opacity: 0.2; pointer-events: none; }
.gallery-info__stage-swiper { flex-shrink: 0; width: clamp(620px, calc(620px + (100vw - 769px) * 310 / 431), 960px); height: auto; aspect-ratio: 4 / 3; }
.gallery-info__stage-list { height: 100%; }
.gallery-info__stage-item { width: 100%; height: 100%; }
.gallery-info__stage-image { width: 100%; height: 100%; object-fit: cover; }

/* Thumbs */
.gallery-info__thumbs { display: flex; align-items: center; justify-content: center; gap: var(--space-32); width: 100%; padding-block: var(--space-30) var(--space-100); margin-inline: auto; }
.gallery-info__thumbs .icon-arrow { width: 19px; height: 38px; color: var(--color-text-inverse); transition: all 0.15s ease-in-out; }
.gallery-info__thumbs .arrow:hover .icon-arrow { color: var(--color-text-accent); }
.gallery-info__thumbs .arrow.swiper-button-disabled { opacity: 0.2; pointer-events: none; }
.gallery-info__thumbs-swiper { width: fit-content; }
.gallery-info__thumbs-item { position: relative; flex-shrink: 0; width: 216px; height: 162px; overflow: hidden; cursor: pointer; }
.gallery-info__thumbs-item:last-child { margin-right: 0 !important; }
.gallery-info__thumbs-image { width: 100%; height: 100%; object-fit: cover; }
.swiper-slide-thumb-active::after { content: ""; position: absolute; inset: 0; z-index: 1; box-shadow: inset 0 0 0 var(--space-10) var(--color-white); pointer-events: none; }

/* Content */
.gallery-info__content { padding-top: 0; }

/* Description */
.gallery-info__desc { padding-block: var(--space-80); font-size: var(--font-size-h3); font-weight: 400; line-height: var(--line-height-h3); color: var(--color-text-muted); white-space: pre-line; word-break: keep-all; }
.gallery-info__desc p { overflow-wrap: break-word; }
.gallery-info__desc p + p { margin-top: var(--space-40); }

/* Gallery Info Navigation */
.gallery-info__nav { display: flex; align-items: center; gap: var(--space-12); border-top: 1px solid #e8e3da; border-bottom: 1px solid #e8e3da; padding-block: var(--space-32); }
.gallery-info__nav-prev, .gallery-info__nav-next { display: flex; align-items: center; gap: var(--space-12); flex: 1 1 0; min-width: 0; }
.gallery-info__nav-prev { justify-content: flex-start; }
.gallery-info__nav-next { justify-content: flex-end; }
.gallery-info__nav-prev[aria-disabled="true"], .gallery-info__nav-next[aria-disabled="true"] { color: var(--color-text-muted); cursor: default; pointer-events: none; }
.gallery-info__nav .icon-arrow { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 28px; height: 34px; color: var(--color-text-meta); }
.gallery-info__nav .icon-arrow .icon-l-arrow, .gallery-info__nav .icon-arrow .icon-r-arrow { width: 1.5rem; height: 1.5rem; max-width: none; }
.gallery-info__prev-text, .gallery-info__next-text { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.gallery-info__next-text { align-items: flex-end; text-align: right; }
.gallery-info__nav .label { font-size: var(--font-size-body-sm); line-height: var(--line-height-body-sm); color: var(--color-text-muted); }
.gallery-info__prev-title, .gallery-info__next-title { font-size: var(--font-size-h4); font-weight: 500; line-height: 1.5; color: var(--color-text-default); }

@media (max-width: 768px) {
    /* Gallery Info Header */
    .gallery-info__header { padding-top: var(--space-50); }
    .gallery-info__viewer .board-info__meta { gap: var(--space-15); }

    /* Stage */
    .gallery-info__stage { gap: 0; margin-top: var(--space-30); }
    .gallery-info__stage .arrow { display: none; }
    .gallery-info__stage-swiper { width: 100%; }

    /* Thumbs */
    .gallery-info__thumbs { justify-content: center; gap: var(--space-10); margin-top: var(--space-20); padding-bottom: var(--space-50); }
    .gallery-info__thumbs .icon-arrow { width: var(--space-12); height: var(--space-24); }
    .gallery-info__thumbs-item { width: clamp(63px, calc(63px + (100vw - 320px) * 50 / 448), 150px); height: clamp(47.25px, calc(47.25px + (100vw - 320px) * 37.5 / 448), 112.5px); }
    .swiper-slide-thumb-active::after { box-shadow: inset 0 0 0 5px var(--color-white); }

    /* Description */
    .gallery-info__desc { padding-block: var(--space-50); }

    /* Gallery Info Navigation */
    .gallery-info__nav-prev, .gallery-info__nav-next { gap: var(--space-8); }
}
