/* ── Program list: [program_list] shortcode ─────────────────────────────── */

.gh-program-list {
    padding: 0.5rem 0;
}

.gh-program {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gh-border, #e0ddd8);
}

.gh-program:first-child {
    padding-top: 0;
}

.gh-program:last-child {
    border-bottom: none;
}

h3.gh-program-title {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: var(--gh-text, #1a1a1a) !important;
    margin: 0 0 0.75rem !important;
    line-height: 1.3 !important;
}

.gh-program-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gh-text, #1a1a1a);
    max-width: 800px;
    margin-bottom: 1.5rem;
}

.gh-program-description p:last-child {
    margin-bottom: 0;
}

/* ── Gallery row ─────────────────────────────────────────────────────────── */

.gh-program-gallery-wrap {
    position: relative;
    overflow: hidden;
}

.gh-program-gallery {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}

.gh-program-gallery::-webkit-scrollbar {
    display: none;
}

.gh-program-gallery img {
    flex: 0 0 auto;
    width: 300px;
    height: 220px;
    object-fit: cover;
    scroll-snap-align: start;
    border-radius: 2px;
}

/* ── Gallery arrows ─────────────────────────────────────────────────────── */

.gh-program-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.2s, background 0.2s;
}

.gh-program-gallery-btn:hover {
    background: rgba(0, 0, 0, 0.85);
}

.gh-program-gallery-btn.gh-hidden {
    opacity: 0;
    pointer-events: none;
}

.gh-program-gallery-btn--prev {
    left: 10px;
}

.gh-program-gallery-btn--next {
    right: 10px;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .gh-program-gallery img {
        width: 250px;
        height: 180px;
    }

    .gh-program-gallery-btn {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
}
