/*! STYLING FOR: */
/* Content spot, with content list and quote */
/* Important for the content spots with an alternating display of contnent, so they display in the correct row on mobile */

.content-list-quote-container .wp-block-heading {
  margin-bottom: 3.5rem;
}

.content-list-quote-container p:nth-child(even) {
  margin-bottom: 1.25rem;
}
.content-list-quote-container p:nth-of-type(2) {
  margin-bottom: 2.5rem;
}
.content-list-quote-container .wp-block-separator {
  margin-block: 2.5rem;
  color: var(--gray-20);
}

.content-list-quote-container figure img {
  border-radius: var(--border-radius-20);
  /* margin-bottom: 2.5rem; */
  max-height: 900px;
}

/* STYLING FOR WHEN A CONTENTSPOT IS INSIDE A STACKING CARD */

.wp-block-templafy-blocks-cards-stacker-item .content-list-quote-container {
  display: flex !important;
  margin-bottom: 0 !important;
  gap: 5.56rem;
  flex-direction: row !important;
}

.wp-block-templafy-blocks-cards-stacker-item
  .content-list-quote-container
  figure
  img {
  max-height: 580px !important;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  max-width: 100% !important;
}

@media (min-width: 1200px) {
  .content-list-quote-container:has(.wp-block-column:nth-child(2) figure) {
    display: grid;
  }

  .content-list-quote-container {
    flex-direction: row;
  }
  .content-list-quote-container figure img {
    border-radius: var(--border-radius-20);
    margin-bottom: 0;
  }
}
