<?php
    // Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}
    $featuredImage = get_the_post_thumbnail_url( $fab_item->getID(), 'large' );
?>
<div class="fab-modal-content font-sans gap-4">
    <?php echo do_shortcode( $content ); ?>
</div>
<style>
    .jconfirm-fab-modal-<?php echo esc_attr( $fab_item->getID() ); ?> .jconfirm-box,
    .jconfirm-fab-modal-<?php echo esc_attr( $fab_item->getID() ); ?> .fab-modal-container {
        overflow: visible !important;
    }
    .jconfirm-fab-modal-<?php echo esc_attr( $fab_item->getID() ); ?> .jconfirm-content-pane {
        <?php
            echo ( $featuredImage ) ? esc_attr( sprintf( 'background: url(%s) repeat center center;', $featuredImage ) ) : '';
        ?>
    }
</style>
