/* Slovenski oktet – shortcode nekdanji-clani (former members: portrait cards + bio dialog) */
.kw-alums { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 44px 24px; }
.kw-alum__card { display: flex; flex-direction: column; align-items: flex-start; width: 100%; margin: 0; padding: 0; border: 0; background: none; min-height: 0; text-align: left; text-transform: none; letter-spacing: 0; font: inherit; color: inherit; line-height: inherit; }
button.kw-alum__card { cursor: pointer; }
.kw-alum__img { display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--kw-g-3d); background: var(--kw-ink); margin-bottom: 16px; }
.kw-alum__img img, .kw-alum__ph { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: grayscale(1); transition: transform .6s var(--kw-ease); }
button.kw-alum__card:hover .kw-alum__img img { transform: scale(1.04); }
.kw-alum__role { display: block; text-transform: uppercase; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--kw-g-9a); margin-bottom: 6px; }
.kw-alum__name { display: block; font-family: var(--kw-serif); font-size: clamp(18px, 1.1vw, 21px); line-height: 1.25; color: var(--kw-white); margin-bottom: 4px; }
.kw-alum__years { display: block; font-size: 14px; color: var(--kw-g-9a); }
.kw-alum__more { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--kw-g-c9); border-bottom: 1px solid var(--kw-g-3d); padding-bottom: 2px; transition: color .25s, border-color .25s; }
button.kw-alum__card:hover .kw-alum__more { color: var(--kw-white); border-color: var(--kw-white); }
button.kw-alum__card:focus { outline: none; }
button.kw-alum__card:focus-visible { outline: 1px solid var(--kw-g-9a); outline-offset: 6px; }
/* light sections */
.kw-sec--white .kw-alum__img, .kw-sec--light .kw-alum__img { border-color: var(--kw-g-e4); background: var(--kw-light); }
.kw-sec--white .kw-alum__name, .kw-sec--light .kw-alum__name { color: var(--kw-black); }
.kw-sec--white .kw-alum__more, .kw-sec--light .kw-alum__more { color: var(--kw-black); border-color: var(--kw-g-c9); }

/* Bio dialog */
.kw-alum-dlg { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 24px; border: 0; background: none; display: none; align-items: center; justify-content: center; overscroll-behavior: contain; }
.kw-alum-dlg[open] { display: flex; animation: kw-alum-in .3s ease; }
.kw-alum-dlg::backdrop { background: rgba(0, 0, 0, .72); }
@keyframes kw-alum-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.kw-alum-dlg__box { position: relative; width: 100%; max-width: 760px; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--kw-white); padding: 48px 56px 44px; text-align: left; }
.kw-alum-dlg__close { position: absolute; top: 10px; right: 10px; background: none; border: 0; color: var(--kw-black); cursor: pointer; padding: 4px; margin: 0; min-height: 0; line-height: 0; }
.kw-alum-dlg__close svg { width: 36px; height: 38px; }
.kw-alum-dlg__close:hover { color: var(--kw-g-6b); }
.kw-alum-dlg__close:focus { outline: none; }
.kw-alum-dlg__close:focus-visible { outline: 1px solid var(--kw-g-6b); }
.kw-alum-bio__head { display: flex; align-items: flex-end; gap: 28px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--kw-g-e4); padding-right: 32px; }
.kw-alum-bio__img { flex: 0 0 auto; width: 120px; height: 160px; object-fit: cover; object-position: 50% 25%; filter: grayscale(1); border: 1px solid var(--kw-g-e4); }
.kw-alum-bio__role { text-transform: uppercase; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--kw-g-6b); margin: 0 0 8px; }
.kw-alum-bio__name { font-family: var(--kw-serif); font-weight: 400; font-size: clamp(28px, 2.2vw, 38px); line-height: 1.15; letter-spacing: -.02em; color: var(--kw-black); margin: 0 0 8px; }
.kw-alum-bio__years { font-size: 14px; color: var(--kw-g-6b); margin: 0; }
.kw-alum-bio__text p { font-size: 15px; line-height: 1.75; color: var(--kw-g-3d); margin: 0 0 1em; }
.kw-alum-bio__text p:last-child { margin-bottom: 0; }
.kw-alum-bio__text strong { color: var(--kw-black); font-weight: 600; }

@media (max-width: 849px) {
	.kw-alums { grid-template-columns: repeat(3, 1fr); gap: 32px 16px; }
	.kw-alum__more { display: none; }
	.kw-alum-dlg { padding: 0; }
	.kw-alum-dlg__box { max-width: none; height: 100%; padding: 56px 20px 32px; }
	.kw-alum-bio__head { gap: 18px; padding-right: 0; }
	.kw-alum-bio__img { width: 90px; height: 120px; }
}
@media (max-width: 549px) {
	.kw-alums { grid-template-columns: repeat(2, 1fr); }
}
