/* =========================================
   SPECIAL LIST — Radiobende
   visual: signal / broadcast / timeline
========================================= */

.content ul.special-list {
    list-style: none;
    padding: 0;
    margin: var(--space-2) 0 var(--space-3);
    position: relative;
}

/* vertical signal line */
.content ul.special-list::before {
    content: "";
    position: absolute;
    left: 0.55rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--accent),
        transparent
    );
    opacity: 0.35;
}

.content ul.special-list li {
    position: relative;

    /* Keep the left offset for the signal/timeline look */
    padding-left: 2rem;

    /* Tight vertical rhythm (avoid stacking margin + padding) */
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
    margin: 0;

    font-weight: 500;
    letter-spacing: .01em;
    line-height: 1.3;
}

/* Controlled spacing ONLY between items */
.content ul.special-list li + li {
    margin-top: 0.35rem;
}

/* signal node */
.content ul.special-list li::before {
    content: "";
    position: absolute;
    left: 0.2rem;
    top: 0.7em;

    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;

    background: var(--accent);
    box-shadow:
        0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent),
        0 0 12px color-mix(in srgb, var(--accent) 55%, transparent);
}

/* subtle hover (desktop only) */
@media (hover: hover) {
    .content ul.special-list li:hover {
        transform: translateX(2px);
    }
}


/* =========================================
   SUPER LIST — Radiobende
   visual: button-like list items (NOT full width)
   - wraps next to floated images (no clear)
   - buttons are "shrink-to-fit" with sensible min/max
   - uses your existing vars: --color-bg, --color-text, --accent
========================================= */

.content ul.super-list {
    list-style: none;
    padding: 0;
    margin: var(--space-2) 0 var(--space-3);

    /* IMPORTANT: do NOT clear floats, so it can sit next to .float-right */
    clear: none;

    /* Make items align left and not stretch */
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 0.55rem;

    /* prevent weird overlap issues */
    position: relative;
    z-index: 1;
}

.content ul.super-list li {
    /* BUTTON SIZE: not full width */
    display: inline-block;
    width: fit-content;
    max-width: min(28rem, 100%);
    min-width: 16rem;

    margin: 0;

    border-radius: 14px;

    background: color-mix(in srgb, var(--color-bg) 92%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 30%, rgba(0,0,0,0.10));

    box-shadow:
        0 10px 24px rgba(0,0,0,0.12),
        0 0 0 4px color-mix(in srgb, var(--accent) 10%, transparent);

    padding: 0.75rem 0.95rem;
    line-height: 1.25;

    color: var(--color-text);

    /* allow wrapping when text is long */
    white-space: normal;
}

/* If li contains a link, keep it inline and avoid "fill full button width" behavior */
.content ul.super-list li > a {
    display: inline;
    color: inherit;
    text-decoration: none;
}

/* Optional: chevron only when it's actually a link */
.content ul.super-list li > a::after {
    content: "›";
    margin-left: 0.6rem;
    opacity: 0.65;
}

/* Hover / focus */
@media (hover: hover) {
    .content ul.super-list li:hover {
        transform: translateY(-1px);
        border-color: color-mix(in srgb, var(--accent) 55%, rgba(0,0,0,0.10));
        box-shadow:
            0 14px 34px rgba(0,0,0,0.16),
            0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
    }
}

.content ul.super-list li:focus-within {
    outline: 0;
    border-color: color-mix(in srgb, var(--accent) 70%, rgba(0,0,0,0.10));
    box-shadow:
        0 14px 34px rgba(0,0,0,0.16),
        0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent);
}

.content ul.super-list li:active {
    transform: translateY(0px);
    box-shadow:
        0 10px 24px rgba(0,0,0,0.12),
        0 0 0 4px color-mix(in srgb, var(--accent) 10%, transparent);
}
