/* ═══════════════════════════════════════════════════════
   Tiquea Event Suite — Listing CSS v2.0.0
   ═══════════════════════════════════════════════════════ */

.tes-grid {
    display: grid;
    gap: 20px;
    width: 100%;
}
.tes-columns-1 { grid-template-columns: 1fr; }
.tes-columns-2 { grid-template-columns: repeat(2, 1fr); }
.tes-columns-3 { grid-template-columns: repeat(3, 1fr); }
.tes-columns-4 { grid-template-columns: repeat(4, 1fr); }

.tes-event-card {
    display: block;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.tes-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,.28);
    text-decoration: none;
}

.tes-event-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.tes-event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.tes-event-card:hover .tes-event-img {
    transform: scale(1.04);
}
.tes-no-image {
    width: 100%; height: 100%;
    background: #1a1a2e;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 18px;
    padding: 16px; text-align: center;
}

/* Badge */
.tes-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: #00c7b1;
    color: #fff;
    font-size: 11px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .8px;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

/* Buy bar */
.tes-buy-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #00c7b1;
    padding: 11px 16px;
    transition: background .2s;
}
.tes-event-card:hover .tes-buy-bar {
    background: #009e8e;
}
.tes-dot {
    width: 8px; height: 8px;
    background: #fff; border-radius: 50%;
    flex-shrink: 0;
    animation: tes-pulse 1.8s ease-in-out infinite;
}
.tes-buy-text {
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.tes-hand { font-size: 16px; }

@keyframes tes-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(.7); }
}

.tes-no-events { color: #666; font-style: italic; }

/* Responsive */
@media (max-width: 900px) {
    .tes-columns-4 { grid-template-columns: repeat(2, 1fr); }
    .tes-columns-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .tes-columns-2,
    .tes-columns-3,
    .tes-columns-4 { grid-template-columns: 1fr; }
}
