/* Class types: cards with a photo (or a coloured moon), length, level, intensity, next date. */
.hs-cls__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.hs-cls__card { display: flex; flex-direction: column; min-width: 0; border-radius: var(--h-r-lg); background: var(--h-surface); overflow: hidden; }
.hs-cls__media { --hs-cls-bg: var(--h-soft); position: relative; aspect-ratio: 16 / 9; background: var(--hs-cls-bg); color: var(--h-ink); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hs-cls__media--1 { --hs-cls-bg: var(--h-ph-2); }
.hs-cls__media--2 { --hs-cls-bg: var(--h-ph); }
.hs-cls__img, .hs-cls__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-cls__mark { width: 34%; height: auto; opacity: .9; }
.hs-cls__badge { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: var(--h-r-btn); background: var(--h-btn); color: var(--h-btn-ink); font-size: 12px; font-weight: 700; line-height: 1.3; }
.hs-cls__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.hs-cls__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.hs-w .hs-cls__name { margin: 0; font-size: 24px; line-height: 1.15; overflow-wrap: anywhere; }
.hs-cls__len { flex: none; font-size: 13px; color: var(--h-muted); white-space: nowrap; }
.hs-cls__facts { font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.hs-cls__dots { display: inline-flex; gap: 3px; margin-left: 2px; }
.hs-cls__dots i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--h-ink); }
.hs-cls__dots i.is-on { background: var(--h-ink); }
.hs-cls__text { font-size: 14px; color: var(--h-muted); }
.hs-cls__next { margin-top: auto; padding-top: 6px; font-weight: 700; }
.hs-cls__next.is-none { font-weight: 500; font-size: 14px; color: var(--h-muted); }
