/* ==========================================================================
   px-quote-card — Reusable donor/colleague quote card
   Figma: "Donateur quote" component
   Desktop: horizontal, circle image (185px) + teal body card
   Body overlaps 65px behind image (margin-left: -65px)
   ========================================================================== */
.px-quote-card {
  display: flex;
  align-items: stretch;
  gap: 0;
}

/* ── Circle image ── */
.px-quote-card__image {
  flex: 0 0 185px;
  width: 185px;
  height: 185px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  -webkit-mask-image: url('../img/quote-photo-mask.svg');
  -webkit-mask-size: 100% 100%;
  mask-image: url('../img/quote-photo-mask.svg');
  mask-size: 100% 100%;
}

.px-quote-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Teal body card ── */
.px-quote-card__body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--Turquoise-25);
  border-radius: 18px var(--R8) var(--R8) var(--R8);
  padding: var(--D125) var(--D1);
  margin-left: -65px;
  padding-left: calc(65px + var(--D1));
}

/* ── Quote text ── */
.px-quote-card__text {
  font-family: var(--Font-Family-Primary);
  font-size: var(--Font-Size-Body);
  font-weight: var(--px-weight-medium);
  line-height: 1.5;
  color: var(--Antraciet-100);
  margin: 0;
  quotes: none;
}

/* ── Footer (author + arrow) ── */
.px-quote-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.px-quote-card__author {
  font-family: var(--Font-Family-Primary);
  font-size: var(--Font-Size-Body-Small);
  font-weight: var(--px-weight-regular);
  font-style: normal;
  color: var(--Antraciet-100);
}

.px-quote-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--Oranje-130);
  text-decoration: none;
  transition: color var(--px-duration-fast) var(--px-ease-out);
}

.px-quote-card__arrow:hover {
  color: var(--Oranje-100);
}

.px-quote-card__arrow-icon {
  width: 14px;
  height: 14px;
  display: flex;
}

.px-quote-card__arrow-icon svg {
  width: 100%;
  height: 100%;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .px-quote-card {
    flex-direction: column;
    align-items: center;
  }

  .px-quote-card__body {
    order: -1;
    width: 100%;
    margin-left: 0;
    padding: var(--D1) var(--D1) calc(var(--D5) + var(--D1));
    border-radius: var(--R12);
  }

  .px-quote-card__image {
    flex: 0 0 auto;
    width: 187px;
    height: 187px;
    margin-top: calc(var(--D5) * -1);
  }
}
