<!-- Custom unified footer -->
<footer class="md-footer">
  <div class="md-footer__unified">
    <div class="md-footer__inner md-grid">
      <div class="footer-content">
        <!-- Previous page link -->
        <div class="footer-nav-links footer-nav-prev">
          {% if page.previous_page %}
            <a href="{{ page.previous_page.url | url }}" class="md-footer__link" rel="prev">
              <span class="nav-icon">{% include ".icons/material/arrow-left.svg" %}</span>
              <span class="nav-label">{{ page.previous_page.title }}</span>
            </a>
          {% endif %}
        </div>
        
        <!-- Subscribe section inline -->
        <div class="footer-center">
          <div class="footer-subscribe-inline">
            <div class="subscribe-row-inline">
              <div class="subscribe-logo-container">
                <img src="/assets/images/adtf-logo.png" alt="Alberta Democracy Task Force" class="subscribe-logo-small" />
              </div>
              <form method="post" action="https://listmonk.albertademocracytaskforce.org/subscription/form" class="listmonk-form-inline">
                <div class="inline-form-container">
                  <input type="hidden" name="nonce" />
                  <input type="email" name="email" required placeholder="Enter your email" class="email-input-inline" />
                  <input id="d9fba-inline" type="checkbox" name="l" checked value="d9fba28f-bbfc-46b6-bfac-4bacb81bc094" hidden />
                  <input type="submit" value="Subscribe" class="subscribe-btn-inline" />
                </div>
              </form>
            </div>
          </div>
          
          <div class="md-copyright">
            {% if config.copyright %}
              <div class="md-copyright__highlight">
                {{ config.copyright }}
              </div>
            {% endif %}
          </div>
        </div>
        
        <!-- Next page link -->
        <div class="footer-nav-links footer-nav-next">
          {% if page.next_page %}
            <a href="{{ page.next_page.url | url }}" class="md-footer__link" rel="next">
              <span class="nav-label">{{ page.next_page.title }}</span>
              <span class="nav-icon">{% include ".icons/material/arrow-right.svg" %}</span>
            </a>
          {% endif %}
        </div>
      </div>
    </div>
  </div>
</footer>