/*!
 * SciPublish OJS AMI Digital - team.css : "Struktur Tim Jurnal" band on the homepage.
 * Colours follow the portal colours (Edit Portal > Identity): navy, blue, accent.
 */
.sp-team { --tm-card: 232px; position: relative; margin: 34px 0 10px; padding: 8px 0 14px; }
.sp-team_head { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 auto 22px; max-width: 1180px; padding: 0 20px; }
.sp-team .sp-team_title { margin: 0; font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; color: var(--sp-navy, #0d1f40); letter-spacing: -.01em; line-height: 1.2; text-align: center; }
.sp-team_line { flex: 1 1 0; height: 2px; position: relative; background: linear-gradient(90deg, transparent, var(--sp-blue, #0f60dc)); border-radius: 2px; max-width: 360px; }
.sp-team_line::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--sp-accent, #ffb400); }
.sp-team_line--r { background: linear-gradient(270deg, transparent, var(--sp-blue, #0f60dc)); }
.sp-team_line--r::after { right: auto; left: -4px; }
.sp-team_toggle { flex: 0 0 auto; width: 38px; height: 38px; border: 1.5px solid #cdd9ee; border-radius: 50%; background: #fff; color: var(--sp-navy, #0d1f40); cursor: pointer; font-size: 14px; box-shadow: 0 2px 6px rgba(13, 31, 64, .08); }
.sp-team_toggle:hover { border-color: var(--sp-blue, #0f60dc); color: var(--sp-blue, #0f60dc); }
.sp-team_toggle[hidden] { display: none; }

/* strip: scrolled by hand without JavaScript; the script turns it into a gently moving belt */
.sp-team_view { overflow-x: auto; scrollbar-width: thin; }
.sp-team.is-js .sp-team_view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.sp-team.is-js.is-manual .sp-team_view { overflow-x: auto; }
.sp-team.is-js.is-static .sp-team_view { -webkit-mask-image: none; mask-image: none; }
.sp-team_track { display: flex; gap: 20px; width: max-content; margin: 0; padding: 10px 20px 22px; list-style: none; }
.sp-team.is-static .sp-team_track { width: auto; justify-content: center; flex-wrap: wrap; }
.sp-team.is-run .sp-team_track { animation: spTeamRun var(--dur, 40s) linear infinite; will-change: transform; }
.sp-team.is-run:hover .sp-team_track, .sp-team.is-run:focus-within .sp-team_track, .sp-team.is-paused .sp-team_track { animation-play-state: paused; }
@keyframes spTeamRun { from { transform: translateX(0); } to { transform: translateX(calc(var(--shift, 0px) * -1)); } }
@media (prefers-reduced-motion: reduce) { .sp-team.is-run .sp-team_track { animation: none; } }

.sp-team_item { flex: 0 0 var(--tm-card); width: var(--tm-card); margin: 0; padding: 0; list-style: none; }
.sp-team .sp-team_card { display: flex; flex-direction: column; height: 100%; border-radius: 22px; background: linear-gradient(180deg, #fff, #eef4ff); border: 1px solid rgba(15, 96, 220, .10); box-shadow: 0 10px 26px rgba(13, 31, 64, .10); overflow: hidden; text-align: center; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.sp-team a.sp-team_card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(13, 31, 64, .16); }
.sp-team_photo { position: relative; display: block; aspect-ratio: 232 / 244; background: linear-gradient(160deg, #dce8ff, #c6d9fb 62%, #e9f0ff); overflow: hidden; }
.sp-team_photo::before { content: ""; position: absolute; left: 0; top: 0; width: 46px; height: 36px; background: var(--sp-blue, #0f60dc); clip-path: polygon(0 0, 100% 0, 0 100%); z-index: 2; }
.sp-team_photo::after { content: ""; position: absolute; right: 0; bottom: 0; width: 30px; height: 30px; background: var(--sp-accent, #ffb400); clip-path: polygon(100% 0, 100% 100%, 0 100%); z-index: 2; }
.sp-team_photo img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.sp-team_initials { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; font-size: 54px; font-weight: 800; color: #fff; background: linear-gradient(150deg, var(--sp-blue, #0f60dc), var(--sp-navy, #0d1f40)); opacity: .92; }
.sp-team_role { position: relative; z-index: 3; display: block; margin: -18px 14px 12px; padding: 8px 12px; border-radius: 999px; background: linear-gradient(90deg, var(--sp-navy, #0d1f40), var(--sp-blue, #0f60dc)); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.25; box-shadow: 0 6px 14px rgba(13, 31, 64, .25); }
.sp-team_body { display: flex; flex-direction: column; gap: 3px; padding: 0 14px 18px; margin-top: auto; }
.sp-team_card > .sp-team_photo + .sp-team_body { padding-top: 14px; }
.sp-team_name { font-size: 15.5px; line-height: 1.3; font-weight: 800; color: var(--sp-navy, #0d1f40); }
.sp-team_pos { font-size: 14px; line-height: 1.4; color: #4b5b73; }

@media (max-width: 640px) {
	.sp-team { --tm-card: 200px; }
	.sp-team_head { gap: 10px; }
	.sp-team_line { display: none; }
	.sp-team_initials { font-size: 44px; }
}
