.learning-voices {
  --voice-gap: 18px;
  width: 100%;
  margin: 0;
  padding: 47px 0 42px;
  background: #f7f8f5;
  border-top: 1px solid #e8eae3;
  border-bottom: 1px solid #e8eae3;
  color: #20251f;
}
.voices-inner { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.voices-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.voices-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0; color: #687364; font-size: 11px; font-weight: 500; letter-spacing: 1px; }
.voices-eyebrow > span { width: 6px; height: 6px; background: #8da75b; border-radius: 50%; }
.voices-heading h2 { margin: 11px 0 0; color: #20251f; font-size: 32px; font-weight: 650; line-height: 1.35; letter-spacing: -1px; }
.voices-mobile-break { display: none; }
.voices-disclosure { flex: 0 0 auto; margin: 0 0 2px; color: #707969; font-size: 11px; line-height: 1.8; text-align: right; }
.voices-rail { position: relative; display: flex; gap: var(--voice-gap); overflow-x: auto; margin-top: 27px; scrollbar-width: none; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.voices-rail::-webkit-scrollbar { display: none; }
.voices-rail:focus-visible { outline: 2px solid #729146; outline-offset: 5px; border-radius: 13px; }
.voice-card { box-sizing: border-box; display: flex; flex-direction: column; flex: 0 0 calc((100% - 2 * var(--voice-gap)) / 3); min-width: 0; min-height: 244px; padding: 20px 22px 21px; background: #fff; border: 1px solid #e3e6dd; border-radius: 13px; scroll-snap-align: start; }
.voice-card-top { display: flex; align-items: center; justify-content: space-between; height: 18px; }
.voice-story-label { color: #75806c; font-size: 12px; letter-spacing: .5px; }
.voice-quote-mark { color: #b5c3a2; font: 35px/1 Georgia, serif; height: 25px; }
.voice-card blockquote { margin: 15px 0 23px; color: #41483e; font-size: 15px; font-weight: 400; line-height: 1.95; letter-spacing: .05px; }
.voice-person { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.voice-avatar { display: grid; place-items: center; flex: 0 0 35px; width: 35px; height: 35px; border-radius: 50%; font-size: 13px; font-weight: 550; }
.voice-avatar-sage { color: #67794f; background: #eaf0e1; }
.voice-avatar-sand { color: #947e38; background: #f4f0da; }
.voice-avatar-blue { color: #607784; background: #e6edf0; }
.voice-person strong { display: block; color: #343b30; font-size: 13px; font-weight: 600; line-height: 1.7; }
.voice-person p { margin: 1px 0 0; color: #707969; font-size: 12px; line-height: 1.6; }
.voices-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 18px; }
.voices-counter { color: #707969; font-size: 11px; letter-spacing: 1.2px; font-variant-numeric: tabular-nums; }
.voices-arrows { display: flex; justify-content: flex-end; gap: 8px; }
.voices-arrow { display: grid; place-items: center; width: 40px; height: 40px; padding: 7px; border: 1px solid #dfe3d8; border-radius: 50%; background: transparent; color: #4b5840; cursor: pointer; transition: background .16s, border-color .16s; }
.voices-arrow:disabled { color: #bec4b8; cursor: default; }
.voices-arrow:not(:disabled):hover { background: #edf1e6; border-color: #b3c298; }
.voices-arrow svg { width: 15px; height: 15px; }
.voices-dots { display: flex; align-items: center; gap: 1px; }
.voices-dots button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.voices-dots button::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #cdd3c4; transition: background .15s, transform .15s; }
.voices-dots button[aria-pressed='true']::after { background: #5c7540; transform: scale(1.25); }
.voices-dots button:hover::after { background: #839b65; }
.voices-controls button:focus-visible { outline: 2px solid #729146; outline-offset: 3px; }
.voices-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1000px) {
  .voices-inner { width: calc(100% - 56px); }
  .learning-voices { --voice-gap: 14px; }
  .voice-card { flex-basis: calc((100% - var(--voice-gap)) / 2); padding: 20px; }
  .voices-disclosure { max-width: 210px; }
}
@media (max-width: 760px) {
  .learning-voices { padding-block: 36px 28px; }
  .voices-inner { width: calc(100% - 40px); }
  .voices-heading { display: block; }
  .voices-eyebrow { letter-spacing: .5px; }
  .voices-heading h2 { font-size: 25px; line-height: 1.45; letter-spacing: -.7px; }
  .voices-mobile-break { display: block; }
  .voices-disclosure { max-width: none; margin-top: 12px; text-align: left; }
  .voices-rail { margin-top: 23px; }
  .voice-card { flex-basis: 100%; min-height: 244px; padding: 21px 23px; }
  .voice-card blockquote { font-size: 15px; line-height: 1.95; margin-bottom: 25px; }
  .voice-person { gap: 10px; }
  .voices-controls { grid-template-columns: 1fr auto; gap: 4px 10px; margin-top: 15px; }
  .voices-counter { grid-column: 1; grid-row: 1; }
  .voices-arrows { grid-column: 2; grid-row: 1; }
  .voices-dots { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .voices-arrow, .voices-dots button::after { transition: none; }
}

/* Reference-inspired student stories: a centered title, spacious cards, and simple pagination. */
.learning-voices {
  --voice-gap: 22px;
  padding: 72px 0 54px;
  background: #f8faf5;
  border-color: #e7eee1;
  color: #1b3929;
}
.voices-inner { width: min(1200px, calc(100% - 96px)); }
.voices-heading { display: block; text-align: center; }
.voices-heading .voices-eyebrow { justify-content: center; margin: 0 0 13px; }
.voices-heading h2 {
  max-width: 950px;
  margin: 0 auto;
  color: #1b3929;
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: clamp(31px, 3.2vw, 47px);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -1.4px;
}
.voices-disclosure { margin: 13px 0 0; color: #768574; font-size: 12px; line-height: 1.7; text-align: center; }
.voices-rail { margin-top: 48px; gap: var(--voice-gap); }
.voice-card {
  flex-basis: calc((100% - 2 * var(--voice-gap)) / 3);
  min-height: 340px;
  padding: 36px 34px 31px;
  border: 1px solid #f0eeeb;
  border-radius: 21px;
  background: #f4f2ef;
  scroll-snap-align: start;
}
.voice-card blockquote {
  margin: 0 0 30px;
  color: #545650;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.8;
  letter-spacing: 0;
}
.voice-person { gap: 16px; }
.voice-avatar {
  flex-basis: 64px;
  width: 64px;
  height: 64px;
  font-size: 21px;
  font-weight: 600;
  box-shadow: 0 5px 15px #193e2f12;
}
.voice-avatar-sage { color: #397448; background: #dcefd4; }
.voice-avatar-sand { color: #917a3f; background: #f1e8cd; }
.voice-avatar-blue { color: #526e7b; background: #dce9ec; }
.voice-person strong { color: #242b26; font-size: 17px; font-weight: 650; line-height: 1.5; }
.voice-person p { margin-top: 3px; color: #7c817b; font-size: 12px; line-height: 1.6; }
.voices-controls { margin-top: 24px; }
.voices-counter { visibility: hidden; }
.voices-arrow { width: 36px; height: 36px; border-color: #dce8d7; color: #3e724c; }
.voices-arrow:not(:disabled):hover { background: #e5f1dc; border-color: #a9cf91; }
.voices-dots { gap: 5px; }
.voices-dots button { width: 28px; height: 30px; }
.voices-dots button::after { width: 7px; height: 7px; background: #c9d4c3; }
.voices-dots button[aria-pressed='true']::after { width: 10px; height: 10px; background: #1b3929; transform: none; }
.voices-dots button:hover::after { background: #7bc466; }
.voices-controls button:focus-visible,.voices-rail:focus-visible { outline-color: #65bf59; }
@media (max-width: 1000px) {
  .voices-inner { width: calc(100% - 56px); }
  .learning-voices { --voice-gap: 16px; padding-block: 60px 46px; }
  .voice-card { min-height: 320px; padding: 29px 25px 27px; }
  .voice-card blockquote { font-size: 17px; }
}
@media (max-width: 760px) {
  .learning-voices { padding-block: 46px 34px; }
  .voices-inner { width: calc(100% - 40px); }
  .voices-heading h2 { max-width: 520px; font-size: 29px; line-height: 1.45; letter-spacing: -.8px; }
  .voices-disclosure { margin-top: 10px; font-size: 11px; }
  .voices-rail { margin-top: 27px; }
  .voice-card { flex-basis: 100%; min-height: 290px; padding: 28px 26px 25px; border-radius: 18px; }
  .voice-card blockquote { margin-bottom: 25px; font-size: 17px; line-height: 1.85; }
  .voice-avatar { flex-basis: 58px; width: 58px; height: 58px; font-size: 19px; }
  .voice-person strong { font-size: 16px; }
  .voices-controls { grid-template-columns: 1fr auto; gap: 4px 10px; margin-top: 14px; }
  .voices-counter { grid-column: 1; grid-row: 1; }
  .voices-arrows { grid-column: 2; grid-row: 1; }
  .voices-dots { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
}
