<?php
$title = (string) ($title ?? '');
$hint = (string) ($hint ?? '');
$icon = (string) ($icon ?? '');
?>
<div class="rec-section-head">
  <?php if ($icon !== ''): ?>
    <span class="rec-section-icon"><i class="bi <?= e($icon) ?>"></i></span>
  <?php endif; ?>
  <div class="min-w-0">
    <h2 class="rec-section-title"><?= e($title) ?></h2>
    <?php if ($hint !== ''): ?>
      <p class="rec-section-hint"><?= e($hint) ?></p>
    <?php endif; ?>
  </div>
</div>
