/* Cursistenfoto's: theme-owned presentation of provider-owned review media. */
.kw-student-gallery-page{background:#fff}
.kw-student-gallery{padding:88px 0 108px;background:linear-gradient(180deg,#fff,color-mix(in srgb,var(--pink-soft) 22%,#fff))}
.kw-student-gallery__head{max-width:820px;margin:0 auto 44px;text-align:center}
.kw-student-gallery__head .kw-kicker{margin:0;color:var(--pink)}
.kw-student-gallery__head h2{margin:8px 0 12px;font-size:var(--kw-type-h2-size);line-height:1.04;letter-spacing:-.045em}
.kw-student-gallery__head>p:last-child{margin:0;color:var(--muted);font-size:var(--kw-type-text-size)}
.kw-student-gallery__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:1480px;margin:0 auto}
.kw-student-gallery__item{position:relative;overflow:hidden;aspect-ratio:4/3;margin:0;border-radius:var(--kw-radius-card);background:var(--pink-soft);box-shadow:0 16px 42px rgba(55,40,35,.11)}
.kw-student-gallery__item:nth-child(6n+2),.kw-student-gallery__item:nth-child(6n+5){aspect-ratio:1/1}
.kw-student-gallery__item button{width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.kw-student-gallery__item>button img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease,filter .35s ease}
.kw-student-gallery__item>button:is(:hover,:focus-visible) img{transform:scale(1.035);filter:saturate(1.05)}
.kw-student-gallery__source{display:flex;align-items:center;justify-content:center;gap:22px;margin-top:38px;color:var(--muted);font-size:var(--kw-type-compact-meta-size)}
.kw-student-gallery__source a{color:var(--pink);font-weight:800;text-decoration:underline;text-underline-offset:4px}
.kw-student-gallery__empty{max-width:760px;margin:0 auto;padding:36px;text-align:center}
.kw-student-gallery__empty h3{margin:0 0 8px}.kw-student-gallery__empty p{margin:0;color:var(--muted)}
.kw-student-gallery__dialog{max-width:min(92vw,1200px);max-height:90vh;padding:0;border:0;border-radius:24px;background:#111;box-shadow:0 28px 90px rgba(0,0,0,.35)}
.kw-student-gallery__dialog::backdrop{background:rgba(14,9,11,.78);backdrop-filter:blur(5px)}
.kw-student-gallery__dialog>button{position:absolute;z-index:2;top:14px;right:14px;display:grid;width:44px;height:44px;padding:0;place-items:center;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:var(--ink);font-size:1.6rem;cursor:pointer}
.kw-student-gallery__dialog img{display:block;max-width:92vw;max-height:90vh;width:auto;height:auto;margin:auto}
@media(max-width:1100px){.kw-student-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.kw-student-gallery{padding:58px 0 72px}.kw-student-gallery__head{margin-bottom:28px;text-align:left}.kw-student-gallery__grid{grid-template-columns:1fr 1fr;gap:10px}.kw-student-gallery__item,.kw-student-gallery__item:nth-child(n){aspect-ratio:1/1;border-radius:18px}.kw-student-gallery__source{align-items:flex-start;flex-direction:column;gap:7px;margin-top:28px}}
@media(max-width:480px){.kw-student-gallery__grid{grid-template-columns:1fr}}
