<section class="ob-sec pr-premium" id="premium">
  <div class="ob-hrow"><h2 class="ob-h">Premium extras</h2><p class="ob-hs">{% if premium.unlocked %}Unlocked after {{ premium.unlocks_after_days }} days paid{% else %}Locked until 30 days paid{% endif %}</p></div>
  {% if not premium.unlocked %}
  <div class="pr-lock-block">
    <svg viewBox="0 0 24 24" aria-hidden="true"><rect x="5" y="11" width="14" height="9" rx="2"/><path d="M8 11V8a4 4 0 018 0v3"/></svg>
    <div>
      <h3>These extras stay private</h3>
      <p>Fleet, announcements, course prices, jobs, intake dates and booking links unlock only after the school has paid for {{ premium.unlocks_after_days }} days. When Premium ends they go private again. This is a real lock, not a blur.</p>
      <ul>{% for m in premium.modules %}<li>{{ m.title }}</li>{% endfor %}</ul>
    </div>
  </div>
  {% else %}
  <p class="pr-sample-tag">SAMPLE extras · layout still to be designed for launch (ATO-11). Counts and dates are mock.</p>
  {% if premium.fleet %}
  <div class="ob-card pr-mod">
    <h3>Fleet</h3>
    <ul class="pr-fleet">{% for f in premium.fleet %}<li><b>{{ f.type }}</b> <span>{{ f.count }}</span></li>{% endfor %}</ul>
  </div>
  {% endif %}
  {% if premium.announcements %}
  <div class="ob-card pr-mod">
    <h3>Announcements</h3>
    {% for a in premium.announcements %}<p><b>{{ a.title }}</b> <small>{{ a.when }}</small><br>{{ a.text }}</p>{% endfor %}
  </div>
  {% endif %}
  {% if premium.prices %}
  <div class="ob-card pr-mod">
    <h3>Course prices</h3>
    {% for p in premium.prices %}<p><b>{{ p.name }}</b> · {{ p.price }} <small>Updated {{ p.updated }}</small></p>{% endfor %}
  </div>
  {% endif %}
  {% if premium.jobs %}
  <div class="ob-card pr-mod">
    <h3>Jobs</h3>
    {% for j in premium.jobs %}<p><b>{{ j.title }}</b> · {{ j.when }}<br>{{ j.text }}</p>{% endfor %}
  </div>
  {% endif %}
  {% if premium.intake %}
  <div class="ob-card pr-mod">
    <h3>Intake dates</h3>
    {% for i in premium.intake %}<p><b>{{ i.name }}</b> · {{ i.date }} · {{ i.seats }}</p>{% endfor %}
  </div>
  {% endif %}
  {% if premium.booking %}
  <div class="ob-card pr-mod">
    <h3>Booking</h3>
    <p><a class="pr-btn is-primary" href="{{ premium.booking.href }}">{{ premium.booking.label }}</a></p>
  </div>
  {% endif %}
  {% endif %}
</section>
