.mentor-quotes {
  --quote-navy: #0a1147;
  --quote-cyan: #85eaf4;
  --quote-cream: #fff1b7;
  width: 100%;
  max-width: 980px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.mentor-quotes-title {
  margin: 0 0 1.25rem !important;
  color: var(--quote-navy) !important;
  font-family: "Titan One", Impact, cursive !important;
  font-size: clamp(1.8rem, 4vw, 2.65rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.1 !important;
  text-transform: none !important;
}

.mentor-quotes-viewport {
  display: grid;
  min-height: 285px;
  padding: clamp(1.6rem, 4vw, 3rem);
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(10, 17, 71, .08);
  border-radius: 22px;
  background:
    radial-gradient(500px 180px at 8% 0%, rgba(133, 234, 244, .23), transparent 68%),
    #fff;
  box-shadow: 0 18px 44px rgba(10, 17, 71, .10);
}

.mentor-quote {
  width: 100%;
  max-width: 790px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  animation: mentor-quote-fade .5s ease both;
}

.mentor-quote[hidden] {
  display: none !important;
}

.mentor-quote blockquote {
  position: relative;
  margin: 0 !important;
  padding: 2rem 0 0 !important;
  border: 0 !important;
  color: #172044 !important;
  font-family: "IBM Plex Serif", Georgia, serif !important;
  font-size: clamp(1.05rem, 2.1vw, 1.3rem) !important;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0 !important;
  line-height: 1.7 !important;
  text-transform: none !important;
}

.mentor-quote blockquote::before {
  content: "“";
  position: absolute;
  top: -.85rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--quote-cyan);
  font-family: Georgia, serif;
  font-size: 5.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.mentor-quote figcaption {
  margin-top: 1.25rem;
  color: var(--quote-navy);
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
}

.mentor-quotes-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.15rem;
}

.mentor-quotes-control {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 0 .15rem !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--quote-navy) !important;
  box-shadow: none !important;
  color: var(--quote-cyan) !important;
  font-family: Georgia, serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: none !important;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

.mentor-quotes-control:hover,
.mentor-quotes-control:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(10, 17, 71, .2) !important;
}

.mentor-quotes-control:focus-visible {
  outline: 3px solid var(--quote-cream);
  outline-offset: 3px;
}

.mentor-quotes-status {
  min-width: 3.75rem;
  color: var(--quote-navy);
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: .95rem;
  font-weight: 700;
}

@keyframes mentor-quote-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .mentor-quotes {
    margin-top: 2rem;
  }

  .mentor-quotes-viewport {
    min-height: 380px;
    padding: 1.4rem;
  }

  .mentor-quote blockquote {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mentor-quote {
    animation: none;
  }
}

