.project-video-preview {
    cursor: pointer;
}

.project-video-privacy {
    font-size: 0.75rem;
    text-align: center;
}

.project-video-privacy a {
    color: #6c757d;
    text-decoration: underline;
}

/* Die Consent-Information wird als ruhiger Inhalt des Website-Modals angezeigt. */
.project-video-consent .consent-inline-placeholder {
    --consent-border-width: 0;
    --consent-min-height: 0;
    --consent-margin: 0;
}

.project-video-consent .consent-inline-content {
    min-height: 0;
}

.project-video-consent .consent-inline-overlay {
    --consent-overlay-bg: transparent;
    --consent-overlay-backdrop: none;
    --consent-overlay-border: 0;
    --consent-overlay-shadow: none;
    --consent-overlay-padding: clamp(1rem, 3vw, 2rem);
}

.project-video-consent .consent-inline-icon {
    display: none;
}

.project-video-consent .consent-inline-title {
    --consent-title-size: 1.75rem;
    --consent-title-margin: 0 0 1rem;
}

.project-video-consent .btn {
    --consent-btn-padding: 0.75rem 1.5rem;
    --consent-btn-border-radius: var(--inaia-button-radius, 0.75rem);
}

.project-video-consent .btn-consent-once {
    --consent-btn-neutral-bg: var(--ar-primary, #2c62c2);
    --consent-btn-neutral-hover-bg: var(--ar-primary, #2c62c2);
    --consent-btn-neutral-color: #fff;
    --consent-btn-border: 0;
}

.project-video-dialog {
    width: min(1100px, 95vw);
    max-width: 95vw;
    max-height: 95vh;
    padding: 3.5rem 1.25rem 1.25rem;
    border: 0;
    border-radius: 1.5rem;
    background: var(--ar-body-bg, #fff);
    color: var(--ar-body-color, #222);
    box-shadow: 0 1.5rem 5rem rgb(15 23 42 / 20%);
}

.project-video-dialog:has(.consent-inline-container) {
    width: min(720px, 95vw);
}

.project-video-dialog::backdrop {
    background: rgb(15 23 42 / 50%);
    backdrop-filter: blur(3px);
}

.project-video-dialog-content .consent-inline-placeholder {
    margin: 0 0 1rem;
}

.project-video-dialog iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: calc(95vh - 5rem);
    border: 0;
    border-radius: 1rem;
}

.project-video-close {
    position: absolute;
    display: grid;
    place-items: center;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ar-gray-200, #e3e9ef);
    color: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.project-video-close:hover {
    background: #dce7f5;
    color: #0064d2;
}
