/* Home: portrait rows (modules' authors, repertories, the classics) and the video cards. */
.people { list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 20px; }
.person { flex: 0 1 200px; text-align: center; }
.person-link { display: flex; flex-direction: column; align-items: center; color: var(--ink); }
.portrait { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 3px solid var(--portrait-ring); background: var(--well-blog); box-shadow: 0 4px 14px var(--shadow-strong); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.person h3 { margin: 14px 0 2px; font-size: 20px; color: var(--ink-alt); }
.role { font-size: 16px; color: var(--muted); }
a.person-link:hover h3 { color: var(--link); }

.sec-videos .wrap { max-width: 1400px; }
.videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: start; }
.video { background: var(--shell); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.video-stage { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--well-blog); }
.video-stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: linear-gradient(135deg, var(--pill-1), var(--pill-3)); box-shadow: 0 4px 14px var(--shadow-strong); }
.play::after { content: ""; position: absolute; left: 24px; top: 19px; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.video-body { padding: 22px 24px 26px; }
.video-body h3 { font-size: 20px; font-weight: 400; color: var(--muted); margin-bottom: .7em; }
.video-body .text-link { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; font-size: 16px; }
@media (max-width: 1100px) { .videos { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
@media (max-width: 767px) { .person { flex-basis: 140px; } .videos { gap: 24px; } }
.per-4 .person { flex-basis: calc(25% - 15px); }
.per-5 .person { flex-basis: calc(20% - 16px); }
@media (max-width: 767px) { .per-4 .person, .per-5 .person { flex-basis: 140px; } }
