/* --- Slider --- */
.paSetDetail-slider {
    position: relative;
    overflow: hidden;
}

.paSetDetail-slider-frame {
    overflow: hidden;
}

.paSetDetail-slider-slidee {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

/* width:100% keeps a single slide locked to the frame width.
   With only one image Sly.js does not run and the flex item would
   otherwise grow to the image's intrinsic width and overflow the column. */
.paSetDetail-slider-slide {
    flex-shrink: 0;
    width: 100%;
}

.paSetDetail-slider-slide picture {
    display: block;
    width: 100%;
    height: auto;
}

.paSetDetail-slider-link {
    display: block;
    width: 100%;
    height: auto;
}

.paSetDetail-slider-img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Slider Nav Buttons --- */
.paSetDetail-slider-prev,
.paSetDetail-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    transition: background 0.2s ease;
}

.paSetDetail-slider-prev i,
.paSetDetail-slider-next i {
    font-size: 18px;
    color: #333;
}

.paSetDetail-slider-prev:hover,
.paSetDetail-slider-next:hover {
    background: rgba(255, 255, 255, 0.8);
}

.paSetDetail-slider-prev.disabled,
.paSetDetail-slider-next.disabled {
    display: none;
}

.paSetDetail-slider-prev {
    left: 16px;
}

.paSetDetail-slider-next {
    right: 16px;
}

/* --- Set-Tipp + Playlist Row --- */
.paSetDetail-tippRow {
    display: flex;
    align-items: stretch;
    padding: 16px 0;
    padding-left: var(--bleed, 0px);
    margin-top: -40px;
    position: relative;
    z-index: 1;
}

.paSetDetail-tippRow--employeeOnly {
    /* Ohne Playlist: rechts denselben Abstand wie links (Bleed) lassen,
       damit die Set-Tipp-Box nicht bis zum rechten Rand der grauen Box läuft. */
    padding-right: var(--bleed, 0px);
}

.paSetDetail-tippRow--employeeOnly .paSetDetail-tipp {
    flex: 1;
}

.paSetDetail-tippRow--playlistOnly {
    justify-content: center;
}

.paSetDetail-tippRow--both .paSetDetail-tipp {
    flex: 1;
    max-width: 60%;
}

.paSetDetail-tippRow--both .paSetDetail-playlist {
    flex: 0 0 auto;
    align-items: center;
}

/* --- Set-Tipp --- */
.paSetDetail-tipp {
    background: #fff;
    padding: 27px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.paSetDetail-tipp-link {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    color: inherit;
    text-decoration: none;
}

.paSetDetail-tipp-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.paSetDetail-tipp-title {
    display: block;
    margin-bottom: 4px;
}

.paSetDetail-tipp-text {
    margin: 0;
    line-height: 1.5;
    color: #666;
}

/* --- Playlist --- */
.paSetDetail-playlist {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
}

.paSetDetail-playlist-img {
    width: 185px;
    height: auto;
    transform: translateY(26px);
}

/* --- Mobile (< 992px) --- */
@media (max-width: 991.98px) {
    .paSetDetail-slider-slide picture,
    .paSetDetail-slider-link,
    .paSetDetail-slider-img {
        height: auto;
    }

    .paSetDetail-slider-prev,
    .paSetDetail-slider-next {
        width: 36px;
        height: 36px;
    }

    .paSetDetail-tippRow {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 18px;
        margin-top: -30px;
    }

    .paSetDetail-tippRow--both .paSetDetail-tipp {
        max-width: none;
    }

    .paSetDetail-tippRow--both .paSetDetail-playlist {
        align-self: flex-end;
    }

    .paSetDetail-tipp {
        padding: 20px;
    }

    .paSetDetail-tipp-avatar {
        width: 60px;
        height: 60px;
    }

    .paSetDetail-playlist {
        padding: 0;
        margin-top: -20px;
    }

    .paSetDetail-playlist-img {
        width: 140px;
        transform: none;
    }
}

/* --- OPC Editor Preview --- */
.opc-paSetDetail-preview {
    min-height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ccc;
}

.opc-paSetDetail-preview div {
    text-align: center;
}

.opc-paSetDetail-preview div svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.opc-paSetDetail-preview div span {
    display: block;
    margin-top: 8px;
    color: #999;
}

