.peak-gallery {
    max-width: 900px;
    margin: 30px auto;
    position: relative;
    text-align: center;
}

.peak-gallery-main-wrap {
    position: relative;
}

.peak-gallery-main-image {
    width: 100%;
    max-height: 650px;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.peak-gallery-text {
    margin-top: 12px;
}

.peak-gallery-title {
    margin: 8px 0 4px;
    font-size: 1.4rem;
}

.peak-gallery-caption {
    margin: 4px 0;
    font-style: italic;
}

.peak-gallery-description {
    margin: 6px auto 0;
    max-width: 700px;
    line-height: 1.5;
}

.peak-gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 15px 5px;
    margin-top: 10px;
    scroll-behavior: smooth;
}

.peak-gallery-thumb {
    width: 90px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    opacity: 0.65;
    border: 3px solid transparent;
    flex: 0 0 auto;
    transition: 0.2s ease;
}

.peak-gallery-thumb:hover,
.peak-gallery-thumb.active {
    opacity: 1;
    border-color: #333;
}

.peak-gallery-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 5;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 42px;
    width: 48px;
    height: 64px;
    cursor: pointer;
    border-radius: 6px;
}

.peak-prev {
    left: 10px;
}

.peak-next {
    right: 10px;
}

@media (max-width: 600px) {
    .peak-gallery-nav {
        font-size: 32px;
        width: 38px;
        height: 52px;
    }

    .peak-gallery-thumb {
        width: 75px;
        height: 60px;
    }
}