/* ===== CEO quote ===== */

.ceo-quote {
  position: relative;
  isolation: isolate;
  background: #f4f2ff;
  border-bottom: 1px solid #e9e9ea;
  padding: 80px 80px 48px;
  overflow: hidden;
}

.ceo-quote::after {
  content: "";
  position: absolute;
  inset: -2%;
  background: url("/higher-education/assets/adam-quote-bg.png") center 86% / cover no-repeat;
  transform: rotate(0.8deg);
  transform-origin: center;
  z-index: -1;
  pointer-events: none;
}

.ceo-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 249, 255, 0.91);
  z-index: 0;
  pointer-events: none;
}

.ceo-quote-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.ceo-quote-row {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 56px 64px;
  align-items: center;
}

.ceo-quote-photo-frame {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 1px 13px rgba(0, 0, 0, 0.22);
}

.ceo-quote-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 28% 18%;
}

.ceo-quote-content {
  margin: 0;
  min-width: 0;
}

.ceo-quote-text {
  margin: 0 0 28px;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #1f1c26;
}

.ceo-quote-attribution {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.ceo-quote-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ceo-quote-name {
  font-style: normal;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #1f1c26;
}

.ceo-quote-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9a999d;
  transition: color 0.15s ease;
  flex: none;
}

.ceo-quote-linkedin:hover {
  color: #5848f7;
}

.ceo-quote-titles {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #4c4951;
}

.ceo-quote-cmu {
  display: block;
  width: min(460px, 100%);
  height: auto;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .ceo-quote {
    padding: 56px 32px 36px;
  }

  .ceo-quote-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ceo-quote-photo-frame {
    max-width: 280px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .ceo-quote {
    padding: 48px 20px 32px;
  }

  .ceo-quote::before,
  .ceo-quote::after {
    display: none;
  }

  .ceo-quote-photo-frame {
    max-width: 220px;
  }

  .ceo-quote-text {
    font-size: 24px;
    margin-bottom: 22px;
    text-align: left;
  }
}
