/* =========================================================
   JTM — Join The Movement Quote Block
   ========================================================= */

.jtm-quote-block {
  position: relative;
  width: 100%;
  height: 340px;
  background: #853694; /* JTM purple */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Decorative swirl — *inline* image, not background */
.jtm-quote-block__bg {
  position: absolute;
  top: 50%;
  left: -140px;              /* fixed offset: won't reveal more on resize */
  height: 125%;              /* “background-size: 125%” effect */
  width: auto;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  object-fit: cover;
  animation: jtmSwirlIn 0.7s ease-out 1.2s forwards;
}

/* slide in a little, but don't change base left */
@keyframes jtmSwirlIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-35px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.jtm-quote-block__inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 2;
}

.jtm-quote-block__quote {
  margin: 0 0 1.5rem;
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 400;
}

.jtm-quote-block__cite {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

/* =============== Responsive =============== */
@media (max-width: 768px) {
  .jtm-quote-block {
    height: auto;
    padding: 60px 24px 65px;
  }

  .jtm-quote-block__quote {
    font-size: 1.35rem;
  }

  /* keep it fixed on mobile too */
  .jtm-quote-block__bg {
    height: 150%;
    left: -160px;
  }
}