/* Webbaukasten – Einbettungen */
.wbk-embed { margin: 0 0 1.5rem; max-width: 100%; }
.wbk-embed-box { position: relative; display: grid; width: 100%; aspect-ratio: var(--ar, auto); min-height: var(--h, 0); border-radius: var(--wbk-radius, 12px); }
.wbk-embed-box > * { grid-area: 1 / 1; }
.wbk-embed-ph { display: flex; align-items: center; justify-content: center; min-height: 100%; box-sizing: border-box; padding: clamp(16px, 4vw, 32px); text-align: center; border-radius: inherit;
	background: linear-gradient(135deg, var(--wp--preset--color--base-2, #f3f6f9), var(--wp--preset--color--base, #fff)); border: 1px solid rgba(0, 0, 0, .1); color: var(--wp--preset--color--contrast, #1d2327); }
.wbk-embed-ph[hidden] { display: none; }
.wbk-embed-in { max-width: 520px; }
.wbk-embed-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wp--preset--color--primary, #1f5f8b); color: var(--wp--preset--color--on-primary, #fff); margin-bottom: 8px; }
.wbk-embed-name { font-weight: 700; margin: 0 0 .35em !important; font-size: 1.05em; }
.wbk-embed-note { font-size: .86em; line-height: 1.5; margin: 0 0 .9em !important; opacity: .85; }
.wbk-embed-note a { color: inherit; text-decoration: underline; }
.wbk-embed-act { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: center; margin: 0 !important; }
.wbk-embed-load { cursor: pointer; border: 0; padding: .7em 1.4em; border-radius: var(--wbk-btn-radius, 999px); background: var(--wp--preset--color--primary, #1f5f8b); color: var(--wp--preset--color--on-primary, #fff); font: inherit; font-weight: 600; }
.wbk-embed-load:hover, .wbk-embed-load:focus-visible { filter: brightness(1.08); outline: 2px solid currentColor; outline-offset: 2px; }
.wbk-embed-open, .wbk-embed-cc { font-size: .88em; color: inherit; }
.wbk-embed-always { display: inline-flex; gap: 6px; align-items: center; margin-top: .8em; font-size: .82em; opacity: .85; cursor: pointer; }
.wbk-embed-frame { display: block; width: 100%; height: 100%; min-height: var(--h, 0); border: 0; border-radius: inherit; background: #fff; }
.wbk-embed-frame.is-auto { height: 200px; min-height: 0; background: transparent; transition: height .2s ease; }
.wbk-embed-box.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%; border: 3px solid rgba(0, 0, 0, .12); border-top-color: var(--wp--preset--color--primary, #1f5f8b); animation: wbk-emb-spin .8s linear infinite; pointer-events: none; }
@keyframes wbk-emb-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wbk-embed-box.is-loading::after { animation: none; } }
.wbk-embed figcaption { font-size: .88em; opacity: .8; margin-top: .5em; text-align: center; }
.has-primary-background-color .wbk-embed-ph { color: var(--wp--preset--color--contrast, #1d2327); }
.wbk-embed-missing { padding: 12px; border: 1px dashed #c3c4c7; color: #646970; font-size: 13px; }
.wbk-legal-embed h3 { margin-top: 1.4em; }
.wbk-embed.is-loaded .wbk-embed-box { min-height: 0; }
.wbk-embed-kicker { font-size: .74em; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin: 0 0 .25em !important; }
.wbk-embed-ccnote { font-size: .8em; opacity: .75; margin: .6em 0 0 !important; }
