/* =========================================================
   ROSTOCHEK — programs.css
   Каталог программ, фильтр, сетка карточек, страница одной программы.
   ========================================================= */

.rst-flagship-row { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.rst-flagship-card { flex: 1 1 280px; }

.rst-filter {
	display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-end;
	background: var(--rst-white); border-radius: 20px; padding: 1.5rem; margin-bottom: 2.5rem;
}
.rst-filter__group { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; font-weight: 600; }
.rst-filter__group select { padding: 0.6em 1em; border-radius: 10px; border: 2px solid var(--rst-sky); background: var(--rst-paper); }
.rst-filter__reset { align-self: center; color: var(--rst-ink); text-decoration: underline; font-size: 0.9rem; }

.rst-program-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.75rem;
}
.rst-program-grid--compact { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.rst-program-card__image { border-radius: 16px; overflow: hidden; margin-bottom: 1rem; aspect-ratio: 4/3; background: var(--rst-sky); display: flex; align-items: center; justify-content: center; }
.rst-program-card__image img { width: 100%; height: 100%; object-fit: cover; }
.rst-program-card__image-stub { font-size: 0.85rem; text-align: center; padding: 1rem; }
.rst-program-card__title { margin: 0 0 0.3rem; font-size: 1.3rem; }
.rst-program-card__age { margin: 0 0 0.5rem; font-weight: 600; font-size: 0.9rem; opacity: 0.75; }
.rst-program-card__result { margin: 0; }

/* --- Страница одной программы --- */
.rst-program-hero { text-align: center; }
.rst-program-hero__image { border-radius: 24px; overflow: hidden; margin-bottom: 2rem; max-height: 480px; }
.rst-program-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.rst-program-hero__age { font-weight: 600; opacity: 0.8; }
.rst-program-hero__promise { font-size: 1.3rem; max-width: 620px; margin: 0.5rem auto 1.5rem; }

.rst-effects-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.rst-effects-list li { background: var(--rst-white); border-radius: 14px; padding: 1rem 1.25rem; }
.rst-effects-list li::before { content: "🌱 "; }

.rst-teacher-row, .rst-review-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
