/* Desktop carousel alignment and shared controls. */
@media (min-width: 992px) {
  .teacher-carousel, .coop-carousel, body.is-home .partner-carousel-shell, .about-page-partners .partner-carousel-shell { max-width: none; width: 100%; margin-inline: 0; padding: 0; }
  .teacher-static-grid { max-width: none; }
  .teacher-carousel-arrow, .coop-arrow, .partner-arrow { position: absolute; top: var(--carousel-image-center, 50%); bottom: auto; transform: translateY(-50%); }
  .teacher-prev, .coop-prev, .partner-prev { left: -54px; right: auto; }
  .teacher-next, .coop-next, .partner-next { right: -54px; left: auto; }
  .carousel-pagination, .partner-carousel-dots { display: flex; justify-content: center; align-items: center; gap: 0; margin-top: 20px; }
  .carousel-page-dot, .partner-carousel-dot { display: grid; place-items: center; width: 28px; height: 32px; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer; }
  .carousel-page-dot::before, .partner-carousel-dot::before { content: ''; display: block; width: 10px; height: 10px; border-radius: 50%; background: #aab2cf; }
  .carousel-page-dot.is-active::before, .partner-carousel-dot.is-active::before { background: var(--brand-600); }
  .partner-carousel-dot.is-active { background: transparent !important; }
  .faculty-stage3 .t-heading { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 4px 10px; }
  .faculty-stage3 .t-name { font-size: 18px; line-height: 1.35; font-weight: 700; }
  .faculty-stage3 .t-degree { display: inline-flex; padding: 3px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: rgba(15,27,77,.65); color: #fff; font-size: 13px; line-height: 1.35; }
  .faculty-stage3 .t-desc { display: block; margin-top: 4px; font-size: 13px; line-height: 1.55; color: #fff; }
  .faculty-stage3 .t-info { background: linear-gradient(transparent, rgba(15,27,77,.92)); }
  .faculty-stage3 .teacher-details { font-size: 15px; }
}
@media (min-width: 992px) and (max-width: 1319px) {
  .teacher-carousel, .coop-carousel, body.is-home .partner-carousel-shell, .about-page-partners .partner-carousel-shell { display: grid; grid-template-columns: 1fr auto auto auto 1fr; align-items: center; }
  .teacher-carousel-viewport, .coop-viewport, .partner-carousel { grid-column: 1 / -1; grid-row: 1; }
  .teacher-carousel-arrow, .coop-arrow, .partner-arrow { position: static; top: auto; bottom: auto; transform: none; margin-top: 20px; }
  .teacher-prev, .coop-prev, .partner-prev { grid-column: 2; grid-row: 2; }
  .carousel-pagination, .partner-carousel-dots { grid-column: 3; grid-row: 2; margin: 20px 10px 0; }
  .teacher-next, .coop-next, .partner-next { grid-column: 4; grid-row: 2; }
}
.carousel-pagination { display: flex; justify-content: center; align-items: center; margin-top: 20px; }
.carousel-page-dot { display: grid; place-items: center; width: 28px; height: 32px; padding: 0; border: 0; background: transparent; }
.carousel-page-dot::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #aab2cf; }
.carousel-page-dot.is-active::before { background: var(--brand-600); }
@media (min-width: 992px) {
 body.is-home .partner-carousel-dot, .about-page-partners .partner-carousel-dot { display: grid; place-items: center; width: 28px; height: 32px; border-radius: 0; background: transparent; }
 body.is-home .partner-carousel-dot.is-active, .about-page-partners .partner-carousel-dot.is-active { background: transparent; }
}
@media (min-width: 992px) {
 body.is-home .home-about-copy h2, body.is-home .home-advantages h2, body.is-home .home-about-details h2, body.is-home .partner-section h2,
 body .section-head :is(h2,h3), body .course-stage3 .course-block-title, body .faculty-stage3 > h3, body .enterprise-models > h3, body .enterprise-partners > h3,
 body .campus-activity > .activity-title, body .silk-road-page :is(#silk-road-featured-heading,#silk-road-list-heading), body .about-page-mission h2, body .about-page-intro h2, body .about-page-partners h2 {
  color: var(--ink-900); font-size: clamp(1.75rem,2.6vw,2.25rem); font-weight: 700; line-height: 1.25;
 }
 body .section-head .sub, body .section-head p, body .section-head .teacher-slider-hint { color:var(--ink-500); font-size:16px; }
}
.faculty-stage3 .t-desc.teacher-details { display: none; }
.faculty-stage3 .teacher-card-v2.has-details::before { content:""; position:absolute; inset:0; z-index:1; background:rgba(15,27,77,.94); opacity:0; pointer-events:none; transition:opacity 200ms ease; }
.faculty-stage3 .teacher-card-v2.has-details:is(:hover,:focus-visible)::before { opacity:1; }
.faculty-stage3 .teacher-card-v2.has-details:is(:hover,:focus-visible) .t-photo { filter:none; transform:none; }
.faculty-stage3 .teacher-card-v2.has-details:is(:hover,:focus-visible) .t-info { top:0; bottom:0; z-index:2; padding:20px; background:transparent; overflow-y:auto; scrollbar-width:none; }
.faculty-stage3 .teacher-card-v2.has-details:is(:hover,:focus-visible) .t-info::-webkit-scrollbar { display:none; }
.faculty-stage3 .teacher-card-v2.has-details:is(:hover,:focus-visible) .teacher-details { display:block; font-size:13px; line-height:1.7; color:#fff; overflow-wrap:break-word; word-break:normal; }
.faculty-stage3 .teacher-card-v2.has-details:is(:hover,:focus-visible) .teacher-details strong { color:rgba(255,255,255,.9); font-weight:700; display:inline-block; margin-top:10px; }
.faculty-stage3 .teacher-card-v2.has-details:is(:hover,:focus-visible) .teacher-details strong:first-child { margin-top:0; }
@media (min-width: 992px) {
 body .section-head { margin-bottom: 32px; }
 body .section-head h2, body .section-head h3 { margin-bottom: 0; }
 body .section-head h2 + p, body .section-head h3 + p { margin-top: 8px; }
}
