/* The user-requested shared teacher photo is an explicitly labeled preview placeholder. */
.experts-section { background: #f5f7fa; }
#experts { scroll-margin-top: 120px; }
.experts-section .section-title { margin-bottom: 44px; }
.experts-section .education-subtitle { margin-top: 18px; }
.experts-window { position: relative; }
.experts-window::after { content: ''; position: absolute; inset: 0 0 20px auto; width: 28px; background: linear-gradient(90deg,transparent,#f5f7fa); pointer-events: none; }
.experts-rail { display: flex; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 2px 24px; cursor: grab; touch-action: pan-x pan-y; }
.experts-rail::-webkit-scrollbar { display: none; }
.experts-rail.is-looping { scroll-snap-type: none; scroll-behavior: auto; overflow-anchor: none; }
.experts-rail.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.expert-card { flex: 0 0 clamp(232px,18vw,280px); min-width: 0; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 8px 18px #263d5910; scroll-snap-align: start; }
.expert-portrait { aspect-ratio: 4 / 3; position: relative; overflow: hidden; background: #e8eef7; display: grid; place-items: center; color: #49678e; }
.expert-portrait > span { font-size: 64px; font-weight: 500; }
.expert-portrait.institution { background: #e4eef1; color: #3d6b79; }
.expert-portrait.institution > span { font-size: 38px; }
.expert-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 16%; }
.expert-preview-note { margin: -20px 0 24px; font-size: 12px; line-height: 1.7; text-align: center; color: #667385; }
.expert-copy { padding: 22px 22px 28px; min-height: 138px; }
.expert-copy h3 { font-size: 21px; line-height: 1.5; font-weight: 600; color: #263344; margin-bottom: 8px; }
.expert-copy p { font-size: 14px; line-height: 1.8; color: #667385; }
.experts-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; }
.experts-controls > p { font-size: 13px; color: #667385; font-variant-numeric: tabular-nums; }
.experts-actions { display: flex; align-items: center; gap: 12px; }
.experts-pause { min-height: 44px; padding: 8px 12px; font-size: 13px; color: #52637d; }
.experts-arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #d8e1ef; border-radius: 50%; background: #fff; color: #476294; transition: background .18s,color .18s; }
.experts-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.experts-arrow:hover { background: #e9efff; color: #315cce; }
.experts-carousel :focus-visible { outline: 2px solid #506bf2; outline-offset: 3px; }
@media (max-width: 680px) {
  .experts-rail { gap: 16px; }
  .expert-card { flex-basis: 82%; }
  .expert-copy { padding: 20px; min-height: 132px; }
  .expert-copy h3 { font-size: 20px; }
  .experts-controls { gap: 8px; }
  .experts-actions { gap: 8px; }
  .experts-pause { padding-inline: 4px; font-size: 12px; }
  .experts-controls > p { font-size: 12px; }
}
