/* ========================================================
   WDB Artists – Reihe mit Gold-Pfeil-Trenner
   Shortcode: [wdb_artists_row]
======================================================== */

/* ── Container ── */
.wdb-artists-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: clamp(8px, 0.8vw, 16px);
    row-gap: 0;
    font-family: "Neue Haas Unica W1G", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    text-align: center;
    box-sizing: border-box;
}

/* ── Einzelner Artist ── */
.wdb-artist-item {
    display: inline-block;
    white-space: nowrap;
    line-height: 1.3;
}

/* ── Standalone Artist – eigene Zeile ── */
.wdb-artist-standalone {
    flex-basis: 100%;
    text-align: center;
}

/* ── Paar-/Ketten-Gruppe – eigene Zeile, intern Flex ── */
.wdb-artist-pair {
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: clamp(8px, 0.8vw, 16px);
    row-gap: 0;
}

/* ── Trenner (Pfeil-Icon) ── */
.wdb-artist-sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: clamp(18px, 1.4vw, 24px);
    height: 1.3em;
}

.wdb-artist-sep svg,
.wdb-artist-sep img {
    width: 100%;
    height: auto;
    max-height: 100%;
    display: block;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    overflow: visible;
}

/* ── End-Text ── */
.wdb-artists-end {
    display: inline-block;
    white-space: nowrap;
    flex-basis: 100%;
    text-align: center;
    margin-top: 0;
}

/* ── Letztes Icon pro Zeile – per JS markiert ── */
.wdb-artist-sep.is-row-end {
    visibility: hidden;
    width: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* ════════════════════════════════════════════════════════
   EFFEKT 1: Fade-In (weich, staggered)
   ════════════════════════════════════════════════════════ */
.wdb-artists-row .wdb-artist-item,
.wdb-artists-row .wdb-artist-sep,
.wdb-artists-row .wdb-artists-end {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.9s ease-out,
        transform 0.9s ease-out;
    will-change: opacity, transform;
}

.wdb-artists-row.is-visible .wdb-artist-item,
.wdb-artists-row.is-visible .wdb-artist-sep,
.wdb-artists-row.is-visible .wdb-artists-end {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════════════════════
   EFFEKT 2: Shimmer-Glow (deutlich sichtbar, aber edel)
   Zwei Ebenen:
     - großer weicher Gold-Weiß-Glow außen
     - kleiner heller Kern innen für Strahlwirkung
   ════════════════════════════════════════════════════════ */
@keyframes wdb-artist-shimmer {
    0% {
        text-shadow: 0 0 0 rgba(255, 245, 210, 0);
        color: #ffffff;
    }
    35% {
        text-shadow:
            0 0 40px rgba(255, 230, 160, 0.5),
            0 0 18px rgba(255, 245, 210, 0.4),
            0 0 6px  rgba(255, 255, 255, 0.3);
        color: #fff9e8;
    }
    65% {
        text-shadow:
            0 0 40px rgba(255, 230, 160, 0.5),
            0 0 18px rgba(255, 245, 210, 0.4),
            0 0 6px  rgba(255, 255, 255, 0.3);
        color: #fff9e8;
    }
    100% {
        text-shadow: 0 0 0 rgba(255, 245, 210, 0);
        color: #ffffff;
    }
}

.wdb-artist-item.is-shimmer {
    animation: wdb-artist-shimmer 2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .wdb-artists-row .wdb-artist-item,
    .wdb-artists-row .wdb-artist-sep,
    .wdb-artists-row .wdb-artists-end {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .wdb-artist-item.is-shimmer {
        animation: none;
    }
}

/* ════════════════════════════════════════════════════════
   TABLET (≤ 1200px)
   ════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .wdb-artists-row,
    .wdb-artist-pair {
        font-size: 3rem;
        column-gap: clamp(6px, 0.7vw, 12px);
    }
    .wdb-artist-sep {
        width: 18px;
    }
}

/* ════════════════════════════════════════════════════════
   MOBIL (≤ 1024px)
   ════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .wdb-artists-row {
        display: block;
        font-size: 2.4rem;
        line-height: 1.4;
        text-align: center;
        column-gap: 0;
    }

    .wdb-artist-item {
        display: inline;
        white-space: normal;
        line-height: 1.4;
    }

    .wdb-artist-standalone {
        display: block;
        margin: 0;
    }

    .wdb-artist-pair {
        display: block;
        font-size: 2.4rem;
        line-height: 1.4;
        column-gap: 0;
        margin: 0;
    }

    .wdb-artist-sep {
        display: inline-block;
        vertical-align: middle;
        margin: 0 6px;
        width: 14px;
        height: 14px;
        position: relative;
        top: -2px;
    }

    .wdb-artist-sep svg,
    .wdb-artist-sep img {
        width: 100%;
        height: 100%;
        display: inline-block;
        vertical-align: middle;
    }

    .wdb-artist-sep.is-row-end {
        visibility: visible;
        width: 14px;
        overflow: visible;
        margin: 0 6px;
    }

    .wdb-artists-end {
        display: block;
        margin: 0;
        white-space: normal;
    }
}

/* ════════════════════════════════════════════════════════
   MOBIL SMALL (≤ 768px)
   ════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .wdb-artists-row,
    .wdb-artist-pair {
        font-size: 2rem;
    }
    .wdb-artist-sep {
        width: 10px;
        height: 10px;
        margin: -22px 5px 0px 5px;
    }
    .wdb-artist-sep.is-row-end {
        width: 10px;
        margin: -22px 5px 0px 5px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .wdb-artist-sep {
        width: 14px;
        height: 14px;
        margin: -20px 6px 0px 6px;
    }
    .wdb-artist-sep.is-row-end {
        width: 14px;
        margin: -20px 6px 0px 6px;
    }
}