/* 5-Per-Row Alternating Teacher Slider (All Themes) */
.guru-slider-viewport { position: relative; }
.guru-slide { display: none; gap: 18px; }
.guru-slide.is-active { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); animation: guruSlideIn .5s cubic-bezier(.16, 1, .3, 1); }
@keyframes guruSlideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.guru-card-item { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(15,23,42,.04); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.guru-card-item:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(15,23,42,.08); border-color: #cbd5e1; }
.guru-card-photo { position: relative; width: 100%; aspect-ratio: 4 / 5; background: #f1f5f9; overflow: hidden; }
.guru-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .4s ease; }
.guru-card-item:hover .guru-card-photo img { transform: scale(1.04); }
.guru-card-edu { position: absolute; top: 10px; left: 10px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: rgba(255,255,255,.94); color: #0f172a; padding: 3px 8px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.guru-card-body { padding: 14px; display: flex; flex-direction: column; flex: 1; text-align: left; }
.guru-card-name { font-size: .92rem; font-weight: 800; color: #0f172a; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.guru-card-role { font-size: .78rem; font-weight: 600; color: #b45309; margin: 4px 0 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.guru-card-major { font-size: .72rem; color: #64748b; margin-top: auto; padding-top: 8px; border-top: 1px solid #f1f5f9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

.lp-madrasah .guru-card-item { border-color: #e5c776; }
.lp-madrasah .guru-card-edu { background: #064e3b; color: #ffffff; }
.lp-madrasah .guru-card-name { font-family: 'Playfair Display', serif; color: #064e3b; }
.lp-madrasah .guru-card-role { color: #9a742e; }
.lp-modern .guru-card-edu { background: #f97316; color: #ffffff; }
.lp-modern .guru-card-role { color: #0284c7; }
.lp-ceria .guru-card-edu { background: #00848c; color: #ffffff; }
.lp-ceria .guru-card-role { color: #00848c; }

.guru-slider-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; }
.guru-slider-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #cbd5e1; background: #ffffff; color: #0f172a; display: grid; place-items: center; cursor: pointer; font-size: .82rem; transition: all .2s; }
.guru-slider-btn:hover { background: #0a1628; color: #ffffff; border-color: #0a1628; }
.guru-slider-dots { display: flex; align-items: center; gap: 8px; }
.guru-slider-dot { width: 9px; height: 9px; border-radius: 9999px; border: 0; padding: 0; background: #cbd5e1; cursor: pointer; transition: all .25s ease; }
.guru-slider-dot.is-active { width: 24px; background: #0a1628; }
.lp-madrasah .guru-slider-dot.is-active, .lp-madrasah .guru-slider-btn:hover { background: #064e3b; border-color: #064e3b; }
.lp-modern .guru-slider-dot.is-active, .lp-modern .guru-slider-btn:hover { background: #0284c7; border-color: #0284c7; }
.lp-ceria .guru-slider-dot.is-active, .lp-ceria .guru-slider-btn:hover { background: #00848c; border-color: #00848c; }

@media (max-width: 1024px) { .guru-slide.is-active { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .guru-slide.is-active { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .guru-card-body { padding: 11px; } }
@media (prefers-reduced-motion: reduce) { .guru-slide.is-active { animation: none; } }

/* Lembaga Filter Pills */
.lp-lembaga-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-bottom: 22px; }
.lp-lembaga-pill { border: 1px solid #cbd5e1; background: #ffffff; color: #475569; padding: 7px 15px; border-radius: 9999px; font-size: .78rem; font-weight: 700; cursor: pointer; transition: all .2s; }
.lp-lembaga-pill:hover { border-color: #94a3b8; color: #0f172a; }
.lp-lembaga-pill.is-active { background: #0a1628; color: #ffffff; border-color: #0a1628; }
.lp-madrasah .lp-lembaga-pill.is-active { background: #064e3b; border-color: #064e3b; }
.lp-modern .lp-lembaga-pill.is-active { background: #0284c7; border-color: #0284c7; }
.lp-ceria .lp-lembaga-pill.is-active { background: #00848c; border-color: #00848c; }

