/* Reusable section heading + card grid (courses now; types, insights later) */
.rv-section-head { max-width: 46rem; margin-bottom: 2rem; }
.rv-section-head h2 { margin-bottom: .4rem; }
.rv-section-head p { margin: 0; color: var(--rv-muted); }
.rv-section-foot { margin: 2rem 0 0; text-align: center; }

.rv-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

.rv-card { display: flex; flex-direction: column; height: 100%; background: var(--rv-white); border: 1px solid var(--rv-border); border-radius: var(--rv-radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.rv-card:hover { border-color: var(--rv-blue); box-shadow: var(--rv-shadow); }
.rv-card__media { aspect-ratio: 16 / 10; background: var(--rv-gray-light); }
.rv-card__media img { width: 100%; height: 100%; object-fit: cover; }
.rv-card__media--empty { background: linear-gradient(135deg, var(--rv-navy), var(--rv-blue)); }
.rv-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.rv-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 .5rem; font-size: var(--rv-fs-sm); }
.rv-card__type { color: var(--rv-blue); font-weight: 600; }
.rv-card__badge { padding: .1rem .6rem; color: var(--rv-navy); background: var(--rv-blue-light); border-radius: 999px; font-weight: 600; }
.rv-card__title { margin: 0 0 .5rem; font-size: var(--rv-fs-h3); }
.rv-card__text { margin: 0 0 .9rem; color: var(--rv-muted); font-size: var(--rv-fs-sm); }
.rv-card__schedule { display: flex; align-items: center; gap: .5rem; margin: 0 0 1rem; font-size: var(--rv-fs-sm); font-weight: 500; color: var(--rv-text); }
.rv-card__schedule svg { flex: none; color: var(--rv-blue); }
.rv-card__action { margin: auto 0 0; }
.rv-btn--sm { padding: .55rem 1.1rem; font-size: var(--rv-fs-sm); }
