<!doctype html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office">
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="x-apple-disable-message-reformatting">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>{{ site_name }}</title>
		<style type="text/css">
			body, table, td, p, a, li, blockquote { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
			table, td { mso-table-lspace: 0pt; mso-table-rspace: 0pt; }
			img { -ms-interpolation-mode: bicubic; border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none; }
			body { margin: 0 !important; padding: 0 !important; width: 100% !important; }
			a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; }
			@media only screen and (max-width: 620px) {
				.lcars-email-container { width: 100% !important; max-width: 100% !important; }
				.lcars-email-padding { padding-left: 24px !important; padding-right: 24px !important; }
			}
		</style>
	</head>
	<body style="background-color: #0b0b10; margin: 0; padding: 0; font-family: 'Antonio', 'Arial Narrow', Arial, sans-serif;">
		{% if preview_text %}<div style="display: none; max-height: 0; overflow: hidden; mso-hide: all;">{{ preview_text }}</div>{% endif %}
		<table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
			<tr>
				<td align="center" style="padding: 32px 12px; background-color: #0b0b10;">
					<table role="presentation" class="lcars-email-container" width="600" cellspacing="0" cellpadding="0" border="0" style="max-width: 600px; width: 600px; background-color: #14141b; border-collapse: separate; border-radius: 10px; overflow: hidden;">
						<!-- Header: dark bar + uppercase title -->
						<tr>
							<td class="lcars-email-padding" style="padding: 28px 48px 12px 48px; background-color: #14141b;">
								<table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0"><tr>
									<td style="width: 56px;"><div style="width: 48px; height: 20px; background-color: #ff8c1a; border-radius: 10px; line-height: 20px; font-size: 0;">&nbsp;</div></td>
									<td>{% if logo_url %}<img src="{{ logo_url }}" alt="{{ site_name }}" style="max-height: 34px; width: auto; display: block;">{% elif site_name %}<span style="font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: #ff8c1a; font-family: 'Antonio', 'Arial Narrow', Arial, sans-serif;">{{ site_name }}</span>{% endif %}</td>
								</tr></table>
							</td>
						</tr>
						<!-- LCARS tri-colour bar as solid table cells -->
						<tr>
							<td style="padding: 8px 48px 0 48px;">
								<table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0"><tr>
									<td style="width: 34%; height: 6px; background-color: #ff8c1a; line-height: 6px; font-size: 0;">&nbsp;</td>
									<td style="width: 4px; font-size: 0; line-height: 6px;">&nbsp;</td>
									<td style="width: 33%; height: 6px; background-color: #f9b23c; line-height: 6px; font-size: 0;">&nbsp;</td>
									<td style="width: 4px; font-size: 0; line-height: 6px;">&nbsp;</td>
									<td style="width: 33%; height: 6px; background-color: #b89ae6; line-height: 6px; font-size: 0;">&nbsp;</td>
								</tr></table>
							</td>
						</tr>
						<!-- Body -->
						<tr>
							<td class="lcars-email-padding" style="padding: 28px 48px; color: #e6ddc9; font-size: 16px; line-height: 1.65; font-family: 'Antonio', 'Arial Narrow', Arial, sans-serif;">{{ body|safe }}</td>
						</tr>
						<!-- Footer -->
						<tr>
							<td class="lcars-email-padding" style="padding: 20px 48px 30px 48px; border-top: 2px solid #2a2a34;">
								{% if site_name %}<p style="margin: 0 0 6px 0; font-size: 12px; color: #ff8c1a; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-family: 'Antonio', 'Arial Narrow', Arial, sans-serif;">{{ site_name }}</p>{% endif %}
								<p style="margin: 0 0 12px 0; font-size: 12px; color: #8c8a94; font-family: 'Courier New', monospace; letter-spacing: 1px;">You are receiving this transmission because you subscribed to updates.</p>
								{% if site_url %}<p style="margin: 0 0 8px 0; font-size: 12px;"><a href="{{ site_url }}" style="color: #f9b23c; text-decoration: none;">{{ site_url }}</a></p>{% endif %}
								{% if unsubscribe_url %}<p style="margin: 0; font-size: 11px;"><a href="{{ unsubscribe_url }}" style="color: #8c8a94; text-decoration: underline;">Unsubscribe</a></p>{% endif %}
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>
