/* Differences between the old builder markup and block output. */
.ct .wp-block-post-content { display: contents; }
.ct-popup-sources { display: none !important; }
body.ct-dialog-open { overflow: hidden; }
.ct-popup-modal.dialog-type-lightbox { position: fixed; inset: 0; z-index: 9999; background-color: rgba(0,0,0,.8); justify-content: center; align-items: center; }
.ct-popup-modal .dialog-widget-content { position: relative; max-height: 100vh; overflow-y: auto; }
.ct-popup-modal .dialog-message > [data-ct-type="popup"] { display: block !important; }
.ct-popup-modal .dialog-close-button { display: flex; position: absolute; top: 20px; right: 20px; z-index: 2; cursor: pointer; font-size: 20px; line-height: 1; }
.ct-popup-modal .dialog-close-button svg { width: 1em; height: 1em; fill: #1f2124; }
.ct-lightbox.dialog-type-lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.8); }
.ct-lightbox .dialog-widget-content { position: relative; width: min(90vw, 1100px); background: transparent; box-shadow: none; }
.ct-lightbox .ct-video-wrapper { position: relative; aspect-ratio: 16 / 9; width: 100%; }
.ct-lightbox .ct-video-wrapper iframe { position: absolute; inset: 0; }
.ct-lightbox .dialog-close-button { position: absolute; top: -36px; right: 0; font-size: 24px; }
.ct-lightbox .dialog-close-button svg { width: 1em; height: 1em; fill: #fff; }
.ct-lightbox .dialog-message { width: 100%; padding: 0; }
.ct-form-steps-nav { display: flex; justify-content: space-between; gap: 10px; margin: 10px 0; width: 100%; }
.ct-invisible { visibility: hidden; }
