<?php
    /** @var array{title: string, href: string, image: string, month: string, day: string, datetime_attr: string, time_label: string, featured: bool, price: string, stock: string} $event */
?>
<div class="col-md-6 col-xl-4">
    <article class="rt-event-card h-100 d-flex flex-column">
        <a href="<?php echo e($event['href']); ?>" class="ratio ratio-1x1 text-decoration-none d-block overflow-hidden">
            <img src="<?php echo e($event['image']); ?>" alt="<?php echo e($event['title']); ?>" class="object-fit-cover w-100 h-100" loading="lazy" width="600" height="600">
        </a>
        <div class="p-3 p-md-4 flex-grow-1 d-flex flex-column">
            <div class="d-flex gap-3 mb-3">
                <div class="rt-date-badge text-white" datetime="<?php echo e($event['datetime_attr']); ?>">
                    <div class="month"><?php echo e($event['month']); ?></div>
                    <div class="day"><?php echo e($event['day']); ?></div>
                </div>
                <div class="flex-grow-1 min-w-0">
                    <h3 class="h5 mb-2">
                        <a href="<?php echo e($event['href']); ?>" class="link-light text-decoration-none"><?php echo e($event['title']); ?></a>
                    </h3>
                    <div class="small text-secondary mb-2">
                        <?php if(! empty($event['featured'])): ?>
                            <span class="rt-badge-featured text-uppercase me-2"><?php echo e(__('Destacado')); ?></span>
                        <?php endif; ?>
                        <span><?php echo e($event['time_label']); ?></span>
                    </div>
                </div>
            </div>
            <div class="mt-auto pt-2 border-top border-secondary border-opacity-25">
                <div class="d-flex flex-wrap align-items-center justify-content-between gap-2">
                    <a href="<?php echo e($event['href']); ?>" class="btn btn-sm rt-btn-cherry px-3"><?php echo e(__('Adquirir entradas')); ?></a>
                    <span class="fw-bold text-white d-none rt-event-card__price"><?php echo e($event['price']); ?></span>
                </div>
                <p class="small text-secondary mb-0 mt-2"><?php echo e($event['stock']); ?></p>
            </div>
        </div>
    </article>
</div>
<?php /**PATH /var/www/html/resources/views/landing/partials/event-card.blade.php ENDPATH**/ ?>