.single-spektakl .page-performance-top .content > .performance-sidebar {
    min-width: 0;
}

.performance-accessibility {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.625rem;
    margin: 1.25rem 0 1.5rem;
}

.performance-accessibility:has(+ .we_playing) {
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .single-spektakl .page-performance-top .content > .performance-sidebar {
        width: 44%;
    }

    .performance-accessibility {
        margin-top: 0;
        justify-content: flex-end;
    }
}

@media (min-width: 1200px) {
    .performance-accessibility {
        flex-flow: row wrap;
        align-items: flex-start;
    }
}

.performance-accessibility .performance-accessibility-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    min-height: 44px;
    margin-inline: 0;
    padding: 0.375rem 0.75rem 0.375rem 0.5rem;
    border: 1px solid #111;
    border-radius: 4px;
    background: #fff;
    color: #111 !important; /* The theme sets the text color of every button with !important. */
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
}

.performance-accessibility-icon {
    display: block;
    flex: 0 0 32px;
}

.performance-accessibility-label {
    color: inherit;
    font-size: 0.875rem;
    line-height: 1.25;
    white-space: nowrap;
}

.performance-accessibility-button:focus-visible,
.performance-description-close:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
}

.performance-accessibility-hint {
    position: absolute;
    z-index: 2;
    inset: auto auto calc(100% + 0.25rem) 0;
    padding: 0.375rem 0.5rem;
    border-radius: 4px;
    background: #111;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}

.performance-accessibility-button:last-of-type .performance-accessibility-hint {
    inset-inline: auto 0;
}

@media (max-width: 767px) {
    .performance-accessibility-button:last-of-type .performance-accessibility-hint {
        inset-inline: 0 auto;
    }
}

.performance-accessibility-button:hover .performance-accessibility-hint,
.performance-accessibility-button:focus-visible .performance-accessibility-hint {
    opacity: 1;
}

.performance-description {
    width: min(42rem, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    padding: clamp(1rem, 4vw, 2rem);
    border: 1px solid #111;
    border-radius: 4px;
    background: #fff;
    color: #111;
    overflow-wrap: anywhere;
}

.performance-description::backdrop {
    background: rgb(0 0 0 / 64%);
}

.performance-description-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.performance-description-header h2 {
    margin: 0;
    font-size: clamp(1.25rem, 4vw, 2.25rem);
}

.performance-description-header form {
    flex: none;
    margin: 0;
}

.performance-description .performance-description-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #111;
    border-radius: 4px;
    background: #fff;
    color: #111 !important;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
}

.performance-description .performance-description-close:hover {
    background: #111;
    color: #fff !important;
}

.performance-description .performance-description-close:focus-visible {
    outline-width: 3px;
}

.performance-description audio,
.performance-description-video {
    display: block;
    width: 100%;
}

.performance-description-video {
    aspect-ratio: 16 / 9;
    border: 0;
}
