/* TS2 DEV — kursy Moodle (siatka okładek). Kroje i kolory z szablonu; tu tylko układ. */
.ts2-moodle__tytul { margin-block: 0 .75rem; }
.ts2-moodle__wstep { max-width: 70ch; margin-block: 0 1.5rem; }
.ts2-moodle__komunikat { padding: 1rem 0; }
.ts2-moodle__siatka { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 1.5rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); }
.ts2-moodle__kurs { display: flex; flex-direction: column; gap: .5rem; margin: 0; }
.ts2-moodle__okladka { display: block; line-height: 0; }
.ts2-moodle__okladka img { width: 100%; height: auto; box-shadow: 0 1px 4px rgb(0 0 0 / .18); }
.ts2-moodle__nazwa { font-size: 1.05rem; line-height: 1.3; margin: .25rem 0 0; }
.ts2-moodle__cena { font-weight: 700; margin: 0; }
.ts2-moodle__opis { font-size: .925rem; }
.ts2-moodle__opis > :last-child { margin-bottom: 0; }
.ts2-moodle__przycisk { align-self: flex-start; margin-top: auto; padding: .45rem 1rem; border-radius: .25rem;
	background: var(--ts2-moodle-akcent, var(--wyd-kolor, var(--cassiopeia-color-primary, #224faa))); color: #fff; text-decoration: none; font-weight: 600; }
.ts2-moodle__przycisk:hover, .ts2-moodle__przycisk:focus-visible { color: #fff; filter: brightness(1.1); text-decoration: underline; }
