<!DOCTYPE html>
<html lang="en-US">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <title>{site_title}</title>
  <style>
    body {
      margin: 0;
      padding: 0;
      color: #333333;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, sans-serif;
    }

    #wrapper {
      width: 100%;
      max-width: 600px;
      margin: 0 auto;
    }

    #template_container {
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      background: transparent;
      border-radius: 6px;
      overflow: hidden;
      margin-top: 40px;
      margin-bottom: 10px;
    }

    #template_header {
      background-color: #base#;
      /* Fallback for older browsers */
      background: -webkit-linear-gradient(135deg, #base# 0%, #88d3ce 100%);
      /* For Safari 5.1 to 6.0 */
      background: -o-linear-gradient(135deg, #base# 0%, #88d3ce 100%);
      /* For Opera 11.1 to 12.0 */
      background: -moz-linear-gradient(135deg, #base# 0%, #88d3ce 100%);
      /* For Firefox 3.6 to 15 */
      background: linear-gradient(135deg, #base# 0%, #88d3ce 100%);
      color: #ffffff;
      padding: 30px 40px;
      text-align: center;
    }

    #header_wrapper h1 {
      color: #ffffff;
      font-weight: 600;
      font-size: 26px;
      margin: 0;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    #template_body {
      background-color: #ffffff;
    }

    #body_content_inner {
      color: #505050;
      font-size: 16px;
      line-height: 1.6;
      padding: 10px 0;
    }

    #template_footer td {
      padding: 0;
      border-radius: 6px;
    }

    #template_footer #template_footer_title {
			border: 0;
			color: #text_lighter_40#;
			line-height: 150%;
			text-align: center;
    }

    #template_footer #template_footer_title p {
      margin: 0 0 16px;
    }

    .button {
      display: inline-block;
      /* Fallback for older browsers */
      background: -webkit-linear-gradient(135deg, #base# 0%, #88d3ce 100%);
      /* For Safari 5.1 to 6.0 */
      background: -o-linear-gradient(135deg, #base# 0%, #88d3ce 100%);
      /* For Opera 11.1 to 12.0 */
      background: -moz-linear-gradient(135deg, #base# 0%, #88d3ce 100%);
      /* For Firefox 3.6 to 15 */
      background: linear-gradient(135deg, #base# 0%, #88d3ce 100%);
      color: #ffffff !important;
      padding: 12px 30px;
      text-decoration: none;
      border-radius: 50px;
      font-weight: 600;
      margin: 15px 0;
      box-shadow: 0 4px 10px rgba(110, 69, 226, 0.3);
    }
  </style>
</head>

<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0">
  <div id="wrapper" dir="ltr">
    <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
      <tr>
        <td align="center" valign="top">
          <div id="template_header_image">
            <!-- <p style="margin-top:0;"><img src="' . esc_url( $img ) . '" alt="{site_title}" /></p>'; -->
          </div>
          <table border="0" cellpadding="0" cellspacing="0" width="600" id="template_container">
            <tr>
              <td align="center" valign="top">
                <!-- Header -->
                <table border="0" cellpadding="0" cellspacing="0" width="100%" id="template_header">
                  <tr>
                    <td id="header_wrapper">
                      <h1>{header_text}</h1>
                    </td>
                  </tr>
                </table>
                <!-- End Header -->
              </td>
            </tr>
            <tr>
              <td align="center" valign="top">
                <!-- Body -->
                <table border="0" cellpadding="0" cellspacing="0" width="600" id="template_body">
                  <tr>
                    <td valign="top" id="body_content">
                      <!-- Content -->
                      <table border="0" cellpadding="20" cellspacing="0" width="100%">
                        <tr>
                          <td valign="top">
                            <div id="body_content_inner">
                              {{__email_body__}}
                            </div>
                          </td>
                        </tr>
                      </table>
                      <!-- End Content -->
                    </td>
                  </tr>
                </table>
                <!-- End Body -->
              </td>
            </tr>
          </table>
        </td>
      </tr>
      <tr>
        <td align="center" valign="top">
          <!-- Footer -->
          <table border="0" cellpadding="10" cellspacing="0" width="600" id="template_footer">
            <tr>
              <td valign="top">
                <table border="0" cellpadding="10" cellspacing="0" width="100%">
                  <tr>
                    <td colspan="2" valign="middle" id="template_footer_title">
                      <p style="margin: 0 0 16px;">
                        {site_title} — <a href="{site_address}" target="_blank">{site_address}</a>
                      </p>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
          <!-- End Footer -->
        </td>
      </tr>
    </table>
  </div>
</body>

</html>