<?= $this->extend('layout/email_layout') ?>

<?= $this->section('content') ?>
<div style="font-size:16px; font-family:Arial, Helvetica, sans-serif; color:#333;">
  <p style="margin:0 0 12px 0;line-height:1.5;">
    Dear <?= esc($parent_name ?? 'Parent/Guardian') ?>,
  </p>

  <p style="margin:0 0 12px 0;line-height:1.5;">
    We’re reaching out regarding <strong><?= esc($student_name ?? 'your student') ?></strong>
    <?php if (!empty($class_section_name)): ?>(<?= esc($class_section_name) ?>)<?php endif; ?>
    <?php if (!empty($date_fmt)): ?> on <?= esc($date_fmt) ?><?php endif; ?>.
    We noticed recent unexcused absences<?php if (!empty($semester) && !empty($school_year)): ?> during
    <?= esc($semester) ?> <?= esc($school_year) ?><?php endif; ?>. Please let us know in advance about any upcoming absences.
  </p>

  <p style="margin:0 0 12px 0;line-height:1.5;">
    If there are special circumstances we should be aware of, please contact the school at
    <a href="mailto:alrahma.isgl@gmail.com">school email</a>.
  </p>

  <p style="margin:0 0 12px 0;line-height:1.5;">
    Thank you,<br>
    Al Rahma Sunday School
  </p>
</div>
<?= $this->endSection() ?>
