/* The section keeps the original landing height. Only this absolute content
   layer changes; neither the quote nor its controls can resize the section. */
[data-section-name="section1"].leo-students-section > .rrmc-homepage-carousel-copy,
[data-section-name="section1"].leo-students-section > picture {
  visibility: hidden;
  pointer-events: none;
}
[data-section-name="section1"].leo-students-section {
  background: #151419;
  background: linear-gradient(120deg, #212027, #111015 82%);
}
.leo-students {
  position: absolute;
  z-index: 3;
  inset: clamp(116px, 17vh, 190px) max(32px, 8vw) max(32px, 5vh);
  width: auto;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-rows: 48px minmax(0, 1fr) 56px;
  gap: clamp(14px, 2.4vh, 28px);
  color: #fff;
  text-align: center;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  isolation: isolate;
}
.leo-students *, .leo-students *::before, .leo-students *::after {
  box-sizing: border-box;
}
.leo-students .leo-students-title {
  margin: 0;
  align-self: center;
  color: #f8f7f5;
  font-family: inherit;
  font-size: clamp(23px, 2.1vw, 34px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: .025em;
  text-transform: none;
  opacity: 1 !important;
  animation: none !important;
}
.leo-students-story {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 46px 24px;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  margin: 0;
}
.leo-students-quote-slot {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  align-items: center;
}
.leo-students .leo-students-quote {
  width: 100%;
  max-width: 62ch;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
  border: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(20px, 2.2vw, 34px);
  font-weight: 300;
  line-height: 1.48;
  letter-spacing: .006em;
  white-space: pre-line;
  overflow-wrap: anywhere;
  text-transform: none;
  opacity: 1 !important;
  animation: none !important;
}
.leo-students .leo-students-quote::before,
.leo-students .leo-students-quote::after { content: none; }
.leo-students .leo-students-measure {
  position: absolute;
  inset: 0 0 auto;
  height: auto;
  visibility: hidden;
  pointer-events: none;
}
.leo-students-author {
  display: block;
  align-self: center;
  width: 100%;
  color: #f8f7f5;
  font-size: clamp(14px, 1.3vw, 18px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .045em;
  overflow-wrap: anywhere;
}
.leo-students-author-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 25px;
}
.leo-students-identity-note {
  display: block;
  height: 18px;
  color: #c7c4cd;
  font-size: 11px;
  line-height: 18px;
  letter-spacing: .01em;
}
.leo-students-part {
  color: #c7c4cd;
  font-size: 12px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: .035em;
}
.leo-students-controls {
  display: grid;
  grid-template-columns: minmax(112px, 174px) minmax(65px, 110px) minmax(112px, 174px);
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 2vw, 24px);
  min-width: 0;
}
.leo-students .leo-students-button,
.leo-students .leo-students-button:visited,
.leo-students .leo-students-button:hover,
.leo-students .leo-students-button:focus,
.leo-students .leo-students-button:active {
  appearance: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 48px;
  min-width: 0;
  margin: 0;
  padding: 0 18px;
  border: 1px solid #827e8a;
  border-radius: 999px;
  background: #222027 !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 150ms ease;
}
.leo-students .leo-students-button:hover { border-color: #fff; }
.leo-students .leo-students-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.leo-students .leo-students-button:disabled {
  opacity: .42;
  cursor: default;
}
.leo-students-count {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d7d4dc;
  font-size: 13px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.leo-students .leo-students-jump {
  appearance: textfield;
  -moz-appearance: textfield;
  width: 4ch;
  min-width: 0;
  height: 38px;
  padding: 0 1px;
  border: 0;
  border-bottom: 1px solid #827e8a;
  border-radius: 0;
  outline-offset: 3px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  box-shadow: none;
}
.leo-students-jump::-webkit-inner-spin-button,
.leo-students-jump::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.leo-students-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 767px) {
  .leo-students {
    inset: 112px 27px max(25px, 4vh);
    grid-template-rows: 58px minmax(0, 1fr) 50px;
    gap: 16px;
  }
  .leo-students .leo-students-quote { font-size: 20px; line-height: 1.45; }
  .leo-students-story { gap: 10px; }
  .leo-students-controls { grid-template-columns: minmax(90px, 1fr) 66px minmax(90px, 1fr); gap: 8px; }
  .leo-students .leo-students-button { padding: 0 12px; font-size: 12px; }
  .leo-students .leo-students-jump { font-size: 16px; }
}
@media (max-width: 374px) {
  .leo-students { left: 20px; right: 20px; }
  .leo-students .leo-students-quote { font-size: 18px; }
}
@media (max-height: 600px) {
  .leo-students {
    top: 95px;
    bottom: 18px;
    grid-template-rows: 32px minmax(0, 1fr) 44px;
    gap: 9px;
  }
  .leo-students .leo-students-title { font-size: 22px; }
  .leo-students .leo-students-quote { font-size: 18px; line-height: 1.35; }
  .leo-students-story { grid-template-rows: minmax(0, 1fr) 40px 20px; gap: 5px; }
  .leo-students-author-name { line-height: 22px; }
  .leo-students-author { font-size: 13px; }
  .leo-students-part { font-size: 11px; line-height: 20px; }
  .leo-students .leo-students-button { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .leo-students .leo-students-button { transition: none; }
}
@media (min-width: 768px) and (min-height: 421px) and (max-height: 600px) {
  .leo-students .leo-students-quote { font-size: 22px; line-height: 1.42; }
}
