/**
 * Section: Student Stories
 *
 * Desktop (Figma 207:971): 427px portrait left, 646px testimonial right,
 * 160px gutter, aligned to the baseline of the column.
 */

.vu-section--student-stories {
  padding-block: var(--vu-space-30);
}

.vu-stories {
  position: relative;
}

.vu-stories__slide {
  display: flex;
  align-items: flex-end;
  gap: 11.8%;   /* 160 / 1360 */
}

.vu-stories__slide[hidden] {
  display: none;
}

.vu-stories__media {
  flex: 0 0 31.4%;   /* 427 / 1360 */
}

.vu-stories__image {
  width: 100%;
  height: auto;
  aspect-ratio: 427 / 690;
  object-fit: cover;
}

.vu-stories__figure {
  flex: 1 1 47.5%;   /* 646 / 1360 */
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.vu-stories__mark {
  display: block;
  color: var(--vu-ink);
}

.vu-stories__quote {
  margin: 0;
  font-family: var(--vu-font-serif);
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.vu-stories__quote p + p {
  margin-block-start: var(--vu-space-5);
}

.vu-stories__attribution {
  display: flex;
  flex-direction: column;
  /* The quote sits 40px under the mark; attribution follows the quote. */
  margin-block-start: -20px;
}

.vu-stories__name {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.01em;
}

.vu-stories__cohort {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.01em;
}

/* ---------------------------------------------------------- Controls */
.vu-stories__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-start: 60px;
  /* Aligned under the testimonial column, matching the design. */
  margin-inline-start: 43.2%;
}

.vu-stories__controls[hidden] {
  display: none;
}

.vu-stories__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--vu-ink);
  border-radius: 50%;
  transition: background-color var(--vu-transition);
}

.vu-stories__arrow:hover {
  background-color: rgba(var(--vu-ink-rgb), 0.06);
}

/* Announced, not shown — the visual position is obvious from the quote. */
.vu-stories__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ================================================================
 * Mobile
 * ============================================================== */
@media (max-width: 1023px) {
  .vu-stories__slide {
    flex-direction: column;
    align-items: stretch;
    gap: var(--vu-space-8);
  }

  .vu-stories__media {
    flex: 1 1 auto;
  }

  .vu-stories__image {
   max-width: 400px;
  }

  .vu-stories__figure {
    gap: var(--vu-space-8);
  }

  .vu-stories__quote {
    font-size: 20px;
  }

  .vu-stories__attribution {
    margin-block-start: 0;
  }

  .vu-stories__controls {
    margin-inline-start: 0;
    margin-block-start: var(--vu-space-8);
  }
	.vu-stories__slide {
		align-items: flex-end;
	}
	
}
@media (max-width: 480px) {
	.vu-stories__image {
		max-width: 300px;
}
}
