/* ==========================================================================
   Raising Explorers – reusable design effects.
   Add a class in Elementor: Advanced → CSS Classes.
   ========================================================================== */

/* re-geo – faint doodle pattern behind a section (Fixed on desktop) */
.re-geo {
  position: relative;
  isolation: isolate
}

.re-geo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--re-geo-img);
  background-size: 960px auto;
  background-repeat: repeat;
  background-position: center top;
  background-attachment: fixed;
  mix-blend-mode: multiply;
  opacity: .055;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 50%, rgba(0, 0, 0, .3), #000);
  mask-image: radial-gradient(ellipse 75% 85% at 50% 50%, rgba(0, 0, 0, .3), #000)
}

@media (hover:none) {
  .re-geo::before {
    background-attachment: scroll
  }
}

/* re-deco – decorative image/shape: never blocks clicks */
.re-deco,
.re-deco * {
  pointer-events: none !important
}

/* ---------- Testimonials (shortcode [re_testimonials]) ---------- */
.re-marq-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.re-marq-row {
  overflow: hidden;
  padding: 6px 0 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent)
}

.re-marq {
  display: flex;
  width: max-content;
  animation: re-marq var(--dur, 220s) linear infinite
}

.re-marq-r {
  animation-direction: reverse
}

.re-marq__set {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-right: 20px
}

@keyframes re-marq {
  from {
    translate: 0 0
  }

  to {
    translate: -50% 0
  }
}

.re-marq-wrap:hover .re-marq,
.re-marq-wrap:focus-within .re-marq,
.re-marq-wrap[data-paused="true"] .re-marq {
  animation-play-state: paused
}

.re-tcard {
  flex: none;
  width: min(360px, 78vw);
  box-sizing: border-box;
  margin: 0;
  padding: 24px 24px 22px;
  border-radius: 24px;
  background: #FFFFFF;
  border: 2px solid #DED2FA;
  box-shadow: 0 6px 0 #DED2FA;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: 'Nunito', system-ui, sans-serif;
  transition: translate .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease
}

.re-tcard:hover {
  translate: 0 -6px;
  border-color: #C3AEF6;
  box-shadow: 0 12px 0 #DED2FA, 0 22px 36px rgba(36, 31, 69, .10)
}

.re-tcard__q {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: .6;
  height: 28px;
  color: #FFC425
}

.re-tcard blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 15.5px;
  line-height: 1.62;
  color: #4A4566;
  font-style: normal
}

.re-tcard figcaption {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px
}

.re-tcard__tile {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 19px;
  transition: rotate .35s cubic-bezier(.3, 1.6, .5, 1), scale .35s cubic-bezier(.3, 1.6, .5, 1)
}

.re-tcard:hover .re-tcard__tile {
  rotate: 12deg !important;
  scale: 1.12
}

.re-tcard__photo {
  flex: none;
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px;
  object-fit: cover
}

.re-tcard__who {
  display: flex;
  flex-direction: column;
  line-height: 1.3
}

.re-tcard__name {
  font-weight: 800;
  font-size: 15.5px;
  color: #241F45
}

.re-tcard__role {
  font-size: 13px;
  font-weight: 700;
  color: #6B6688
}

.re-marq-toggle,
.re-marq-toggle:hover,
.re-marq-toggle:focus {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 46px !important;
  padding: 0 18px !important;
  border-radius: 14px !important;
  border: 2px solid #241F45 !important;
  background: #FFFFFF !important;
  color: #241F45 !important;
  font-family: 'Fredoka', sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  cursor: pointer;
  box-shadow: 0 4px 0 #241F45 !important;
  transition: translate .18s ease, box-shadow .18s ease
}

.re-marq-toggle:hover {
  translate: 0 -3px
}

.re-marq-toggle:active {
  translate: 0 4px;
  box-shadow: 0 1px 0 #241F45 !important
}

.re-marq-toggle span {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.re-marq-toggle__play,
.re-marq-toggle[aria-pressed="true"] .re-marq-toggle__pause {
  display: none !important
}

.re-marq-toggle[aria-pressed="true"] .re-marq-toggle__play {
  display: inline-flex !important
}

@media (prefers-reduced-motion:reduce) {
  .re-marq {
    animation: none !important
  }

  .re-marq-row {
    overflow-x: auto !important
  }

  .re-dup {
    display: none !important
  }

  .re-tcard,
  .re-tcard__tile {
    transition: none
  }
}

/* Testimonials – equal height cards + Read more */
.re-tcard {
  min-height: 290px
}

.re-tcard__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px
}

.re-tcard blockquote {
  height: calc(1.62em * 5);
  overflow: hidden;
  position: relative
}

.re-tcard blockquote.is-clipped::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.62em;
  background: linear-gradient(rgba(255, 255, 255, 0), #FFFFFF)
}

.re-tcard.is-open blockquote {
  height: auto
}

.re-tcard.is-open blockquote::after {
  display: none
}

.re-tcard figcaption {
  min-height: 40px
}

.re-tcard .re-tcard__more,
.re-tcard .re-tcard__more:hover,
.re-tcard .re-tcard__more:focus {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  min-height: 0 !important;
  padding: 2px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #6A3FC2 !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  text-decoration: none;
  cursor: pointer;
  translate: none !important
}

.re-tcard .re-tcard__more[hidden] {
  display: none !important
}

.re-tcard .re-tcard__more:hover {
  text-decoration: underline !important;
  text-underline-offset: 3px
}

.re-tcard .re-tcard__more::after {
  content: "";
  width: 12px;
  height: 12px;
  background: currentColor;
  transition: rotate .25s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat
}

.re-tcard.is-open .re-tcard__more::after {
  rotate: 180deg
}