.rdbl-instagram-embed-wrap {
    width: 100%;
    max-width: 540px;
    margin: 1.5rem auto;
}

.rdbl-instagram-embed-wrap .instagram-media {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 540px !important;
    min-width: 326px !important;
    width: calc(100% - 2px) !important;
}

.rdbl-instagram-embed-wrap blockquote.instagram-media {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 14px;
    box-shadow: none;
    box-sizing: border-box;
    padding: 18px;
}

/* Viele Themes setzen bei blockquote große Anführungszeichen. Für den Instagram-Fallback entfernen. */
.rdbl-instagram-embed-wrap blockquote.instagram-media::before,
.rdbl-instagram-embed-wrap blockquote.instagram-media::after {
    content: none !important;
    display: none !important;
}

.rdbl-instagram-fallback {
    text-align: center;
    font-size: 16px;
    line-height: 1.4;
}

.rdbl-instagram-fallback a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #111827 !important;
    text-decoration: none !important;
    font-weight: 600;
}

.rdbl-instagram-editor-card {
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 22px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

.rdbl-instagram-editor-card h3 {
    margin: 8px 0 18px;
}

.rdbl-instagram-editor-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    background: #f2f2f2;
}

.rdbl-instagram-editor-error {
    margin: 8px 0 0;
    color: #b00020;
    font-weight: 600;
}

.rdbl-instagram-editor-hint,
.rdbl-instagram-editor-preview p {
    color: #555;
}

.rdbl-instagram-editor-preview code {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
    background: #f6f7f7;
    padding: 10px;
    border-radius: 8px;
}

.rdbl-instagram-editor-actions {
    margin-top: 12px;
}
