.team-section { padding: 88px 0; background: linear-gradient(180deg, #f8faff 0%, #fff 100%); }
.team-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.team-heading .eyebrow { display: inline-block; margin-bottom: 8px; color: #f47a16; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; }
.team-heading h2 { margin: 0 0 12px; color: #073295; font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.12; }
.team-heading p { margin: 0; color: #53617d; font-size: 1rem; line-height: 1.7; }
.team-grid { max-width: 1240px; margin: 0 auto; }
.team-carousel__viewport { overflow: hidden; padding: 8px 0 2px; background: transparent; }
.team-carousel__track { display: flex; gap: 24px; transition: transform .42s ease; will-change: transform; }
.team-slide { display: grid; grid-template-columns: repeat(var(--team-columns), minmax(0, 1fr)); flex: 0 0 100%; gap: 20px; align-items: start; }
.team-card { display: flex; flex-direction: column; align-self: start; width: 100%; min-height: 426px; overflow: hidden; border: 1px solid #dce5f2; border-radius: 22px; background: #fff; box-shadow: none; transition: transform .25s ease, box-shadow .25s ease; }
.team-card.is-expanded { min-height: 0; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(7, 50, 149, .10); }
.team-card__photo { position: relative; height: 250px; overflow: hidden; background: #eef2fa; }
.team-card__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(7, 36, 89, .18)); pointer-events: none; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.team-card:hover .team-card__photo img { transform: scale(1.035); }
.team-card__body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 25px 20px 24px; }
.team-card__body::before { content: ""; position: absolute; top: 0; left: 24px; width: 46px; height: 3px; border-radius: 10px; background: #f47a16; }
.team-card__body span { display: block; min-height: 2.8em; margin-bottom: 9px; color: #f47a16; font-size: .95rem; line-height: 1.4; font-weight: 800; text-transform: uppercase; letter-spacing: .025em; }
.team-card__body h3 { margin: 0 0 11px; color: #073295; font-size: 1.25rem; }
.team-card__body p { display: -webkit-box; overflow: hidden; min-height: 7.6em; margin: 0; color: #53617d; font-size: .92rem; line-height: 1.65; white-space: pre-line; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
.team-card.is-expanded .team-card__body p { display: block; min-height: 0; overflow: visible; }
.team-card__more { align-self: flex-start; margin-top: auto; padding: 15px 0 0; border: 0; color: #073295; background: transparent; font: 800 .86rem/1.3 Manrope, sans-serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.team-card__more:hover { color: #f47a16; }
.team-carousel__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 8px; }
.team-carousel__controls > button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #b8c9ee; border-radius: 50%; color: #073295; background: #fff; font-size: 1.15rem; cursor: pointer; }
.team-carousel__controls > button:hover:not(:disabled) { color: #fff; border-color: #f47a16; background: #f47a16; }
.team-carousel__controls > button:disabled { opacity: .35; cursor: not-allowed; }
.team-carousel__dots { display: flex; align-items: center; gap: 7px; }
.team-carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #c7d2e8; cursor: pointer; }
.team-carousel__dots button.is-active { width: 22px; border-radius: 20px; background: #f47a16; }
.team-admin-form { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid #e1e7f1; }
.team-form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.team-admin-list { display: grid; gap: 12px; }
.team-admin-card { display: grid; grid-template-columns: 72px minmax(180px, 1fr) auto; align-items: center; gap: 16px; padding: 14px; border: 1px solid #dce4f1; border-radius: 16px; background: #fff; }
.team-admin-card > img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; background: #eef2fa; }
.team-admin-card > div:nth-child(2) { display: grid; gap: 3px; }
.team-admin-card strong { color: #073295; }
.team-admin-card span { color: #53617d; font-size: .88rem; }
.team-admin-card small { color: #f47a16; font-weight: 700; }
.team-admin-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.team-admin-actions button:disabled { opacity: .35; cursor: not-allowed; }
@media (max-width: 900px) { .team-card__photo { height: 300px; } .team-admin-card { grid-template-columns: 64px 1fr; } .team-admin-card > img { width: 64px; height: 64px; } .team-admin-actions { grid-column: 1 / -1; justify-content: flex-start; } }
@media (max-width: 620px) { .team-section { padding: 64px 0; } .team-carousel__track { gap: 18px; } .team-slide { gap: 0; } .team-card__photo { height: 300px; } .team-card__body { padding: 22px 20px 24px; } .team-admin-card { grid-template-columns: 56px 1fr; padding: 11px; } .team-admin-card > img { width: 56px; height: 56px; border-radius: 12px; } .team-admin-actions .btn, .team-admin-actions .admin-delete-link { min-height: 38px; } }
