/* Results home page. Path: static/css/results-index.css
   Filter pills on the hero, then every event newest first under year headings. */

.ri-filters { flex-direction: column; flex-wrap: nowrap; gap: 8px; }
.ri-filters .lv-fitrow .lv-divtab { text-overflow: clip; }

.ri-year { font-size: 15px; letter-spacing: 3px; text-transform: uppercase; color: #4a5568; margin: 26px 0 10px; }
.ri-year:first-child { margin-top: 0; }

.ri-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }

.ri-card { display: flex; align-items: center; gap: 12px; min-width: 0; background: #101722; color: #fff; border-radius: 14px; border-left: 5px solid #b6ed3a; padding: 14px 16px; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,.18); transition: transform .15s ease, box-shadow .15s ease; }
.ri-card:hover, .ri-card:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.ri-card.ri-NQAC { border-left-color: #7a1f3d; }
.ri-card.ri-NQAC .lv-final-badge { color: #ffd0dc; }

.ri-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 auto; }
.ri-logo { flex: 0 0 auto; width: 76px; height: 76px; object-fit: contain; }
.ri-name { font-weight: 800; font-size: 17px; line-height: 1.2; white-space: nowrap; overflow: hidden; }
.ri-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; }
.ri-tag { background: rgba(255,255,255,.1); border-radius: 999px; padding: 3px 10px; font-weight: 600; }
.ri-date { opacity: .75; }

@media (max-width: 420px) {
    .ri-grid { grid-template-columns: 1fr; }
}
