<?php
defined( 'ABSPATH' ) || exit;
?>

<table cellpadding="0" cellspacing="0" border="0" bgcolor="" align="center" role="presentation"
       class="bwfbe-block-section-container bwfbe-block-section bwfbe-block-dee5d03"
       style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; width: 640px;"
       width="640">
    <tbody>
    <tr style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px;">
        <td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; background-color: #ffffff;"
            bgcolor="#ffffff">
            <!--[if mso | IE]>
            <table cellpadding="0" cellspacing="0" border="0" align="center" style="width:100%" role="presentation" width="640">
                <tr>
                    <td style="line-height:0;font-size:0;-mso-line-height-rule:exactly"><![endif]-->
            <div class="bwfbe-block-section-outer-container"
                 style="margin: 0 auto; width: 640px; background-color: #ffffff;">
                <table cellpadding="0" cellspacing="0" border="0" align="center"
                       style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; line-height: normal; background-color: #ffffff; width: 100%; border-collapse: separate;"
                       role="presentation" width="100%" class="bwfbe-block-section-inner-container" bgcolor="#ffffff">
                    <tbody>
                    <tr
                        style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px;">
                        <td
                            style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; font-size: 0px; border-collapse: separate; padding: 16px; mso-padding-alt: 16px;">
                            <!--[if mso | IE]>
                            <table cellpadding="0" cellspacing="0" border="0" style="width:100%;border-collapse:separate" role="presentation">
                                <tbody>
                                <tr><![endif]-->
                            <!--[if mso | IE]><td style="width: 470px;vertical-align: middle;border-radius: 8px 0px 0px 8px;background-color:<?php echo esc_attr($background_color); ?> ;" valign="middle"><![endif]-->
                            <div class="bwf-email-inner-column-wrapper bwf-email-inner-column-wrapper-083019f"
                                 style="font-size: 0px; border-collapse: separate; display: table-cell; vertical-align: middle; border-radius: 8px 0px 0px 8px; background-color: <?php echo esc_attr($background_color); ?>; mso-border-alt: none; width: 470px;">
                                <table cellpadding="0" cellspacing="0" border="0"
                                       style="border-spacing: 0px; border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: <?php echo esc_attr($background_color); ?>; border-radius: 8px 0px 0px 8px; width: 100%;"
                                       role="presentation"
                                       class="bwf-email-inner-column bwf-email-inner-column-083019f" width="100%"
                                       bgcolor="<?php echo esc_attr($background_color); ?>">
                                    <tbody>
                                    <tr
                                        style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px;">
                                        <td class="bwf-email-inner-column-container"
                                            style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; padding: 12px 12px 12px 16px;">
                                            <table cellpadding="0" cellspacing="0" border="0"
                                                   style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; width: 100%;"
                                                   role="presentation" width="100%">
                                                <tbody>
                                                <tr
                                                    style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px;">
                                                    <td class="bwf-email-text bwf-email-text-8f797fa"
                                                        style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; padding: 0px 0px 8px 0px; word-break: break-word;">
                                                        <div class="bwf-block-text-container"
                                                             style="font-size: 16px; font-family: arial,helvetica,sans-serif; line-height: 1.3; color: #353030;">
                                                            <p class="bwf-block-text-inner-container"
                                                               style="margin: 0; mso-line-height-alt: 130%; word-break: break-word; font-size: 16px; font-family: arial,helvetica,sans-serif; line-height: 1.3;">
                                                                                <span
                                                                                    style="mso-line-height-alt: 130%; background-color: rgba(0, 0, 0, 0); color: #000000;"
                                                                                    class="has-inline-color"><span
                                                                                        style="mso-line-height-alt: 130%; font-size: 14px;"
                                                                                        class="has-font-size">
                                                                                        <?php echo wp_kses(
    $content,
    array(
        'strong' => array(),
        'span'   => array(
            'class' => array(),
            'style' => array(),
        ),
        'bdi'    => array(),
    )
); ?>
                                                                                    </span></span>
                                                            </p>
                                                        </div>
                                                    </td>
                                                </tr>
                                                </tbody>
                                            </table>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                            <!--[if mso | IE]></td><![endif]-->

                            <!--[if mso | IE]>
                            <td style="width: 0px;vertical-align:top;" valign="top><![endif]-->
                            <div style="border-collapse: separate; font-size: 0; vertical-align: top; display: table-cell; width: 0px;"
                                 class="bwfbe-section-gap-dee5d03">
                                <table cellpadding="0" cellspacing="0" border="0" role="presentation" width="0"
                                       style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px;">
                                    <tbody>
                                    <tr
                                        style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px;">
                                        <td
                                            style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px;">
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                            <!--[if mso | IE]></td><![endif]-->
                            <!--[if mso | IE]><td style="width: 169.01408450704227px;vertical-align: middle;border-radius: 0px 8px 8px 0px; background-color:<?php echo esc_attr($background_color); ?> ;" valign="middle"><![endif]-->
                            <div class="bwf-email-inner-column-wrapper bwf-email-inner-column-wrapper-4f8575e"
                                 style="font-size: 0px; border-collapse: separate; display: table-cell; vertical-align: middle; border-radius: 0px 8px 8px 0px; background-color: <?php echo esc_attr($background_color); ?>; mso-border-alt: none; width: 169.01408450704227px;">
                                <table cellpadding="0" cellspacing="0" border="0"
                                       style="border-spacing: 0px; border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: <?php echo esc_attr($background_color); ?>; border-radius: 0px 8px 8px 0px; width: 100%;"
                                       role="presentation"
                                       class="bwf-email-inner-column bwf-email-inner-column-4f8575e" width="100%"
                                       bgcolor="<?php echo esc_attr($background_color); ?>">
                                    <tbody>
                                    <tr
                                        style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px;">
                                        <td class="bwf-email-inner-column-container"
                                            style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; padding: 0px 16px 0px 0px;">
                                            <table cellpadding="0" cellspacing="0" border="0"
                                                   style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; width: 100%;"
                                                   role="presentation" width="100%">
                                                <tbody>
                                                <tr
                                                    style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px;">
                                                    <td class="bwfbe-block-btn bwfbe-block-btn-829b566"
                                                        align="right"
                                                        style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; padding: 0px 0px 0px 6px; mso-padding-alt: 0px 0px 0px 6px;">
                                                        <!--[if mso | IE]><span style="margin-left:6px"><![endif]-->
                                                        <table cellpadding="0" cellspacing="0"
                                                               border="0"
                                                               style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; width: auto; border-collapse: separate;"
                                                               role="presentation"
                                                               class="bwfbe-block-btn-container">
                                                            <tbody>
                                                            <tr
                                                                style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px;">
                                                                <td class="bwfbe-btn-text-wrap"
                                                                    style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; font-size: 16px; cursor: auto; border-style: none; background-color: <?php echo esc_attr($button_color); ?>; font-size: 13px; border-radius: 8px 8px 8px 8px; mso-padding-alt: 10px 20px; mso-padding-alt: 8px 16px 8px 16px; text-align: center; line-height: 1.5;"
                                                                    bgcolor="<?php echo esc_attr($button_color); ?>"
                                                                    align="center">
                                                                    <a href="<?php echo esc_url($link); ?>"
                                                                       target="_blank"
                                                                       class="bwfbe-block-btn-content"
                                                                       style="line-height: 1.5; text-decoration: none; padding: 10px 20px; padding: 8px 16px 8px 16px; mso-padding-alt: 0; background-color: <?php echo esc_attr($button_color); ?>; font-size: 13px; font-family: arial,helvetica,sans-serif; display: inline-block; text-decoration: none; text-transform: none; color: <?php echo esc_attr($button_text_color); ?>; border-radius: 8px 8px 8px 8px;">
                                                                        <strong><?php echo esc_html($link_text); ?></strong>
                                                                    </a>
                                                                </td>
                                                            </tr>
                                                            </tbody>
                                                        </table>
                                                        <!--[if mso | IE]></span><![endif]-->
                                                    </td>
                                                </tr>
                                                </tbody>
                                            </table>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                            <!--[if mso | IE]></td><![endif]--><!--[if mso | IE]></tr></tbody></table><![endif]-->
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <!--[if mso | IE]></td></tr></table><![endif]-->
        </td>
    </tr>
    </tbody>
</table>