{% scope_css %}


.quote-cards__grid {
  display: grid;
  gap: 24px; 
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  align-items: stretch;
}

@media (min-width: 1280px) {
  .quote-cards__grid {
    gap: 32px; 
  }
}

@media (max-width: 1024px) {
  .quote-cards__grid {
    grid-template-columns: 1fr;
    gap: 16px; 
  }
}


.quote-card {
  display: flex;
  flex-direction: column;

  /* Option A: fluid in Spalte, aber max 720x */
  width: 100%;
  max-width: 720px;
  height: auto;
  max-height: 600px;
  padding: 95px 60px 60px 60px;
  background: #f4f4f4;
  box-sizing: border-box;
}

/* Mobile: Höhe flexibel */
@media (max-width: 1024px) {
  .quote-card {
    height: auto;
    padding: 40px 24px;
    max-width: unset;
  }
}


.quote-card__tag-slot {
  min-height: 56px;     /* reserviert Platz */
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;  /* Luft zum Content */
}

.quote-card__tag {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;

  border-radius: 20px;
  background: #333;
  color: white;
  font-size: 14px;
  text-transform: uppercase;
}


.quote-card__content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}


.quote-card__upper {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 22px;
}

.quote-card__logo img {
  max-height: 34px;
  width: auto;
  display: block;
}

/* Quote: clamp gegen Overlap in Lower-Part */
.quote-card__quote {
  font-size: 18px;
  line-height: 150%;

  text-wrap: pretty;
  hyphens: auto;
  overflow-wrap: break-word;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7; /* stabil bei fixer Card-Höhe */
  overflow: hidden;
}

/* Mobile: mehr Zeilen erlauben, da height:auto */
@media (max-width: 1024px) {
  .quote-card__quote {
    font-size: 16px;
    -webkit-line-clamp: 12;
  }
}


.quote-card__lower {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote-card__author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quote-card__role {
  font-size: 18px;
  color: #ff5000;
}

/* Link: nutzt globales arrow-link Styling, hier nur Layout */
.quote-card__link {
  display: inline-block;
}

{% end_scope_css %}