/* MFOL Quote: options on top of the theme's Quote With Media styles */

/* On a color */
.mfol-q.mfol-q--filled {
  padding: var(--block-margin) var(--outer-padding);
}

/* No tall photo: the quote takes the full width */
.mfol-q.mfol-q--no-right .grid-control {
  grid-template-columns: minmax(0, 1fr);
}
.mfol-q.mfol-q--no-right .quote-with-media__left-side {
  max-width: 960px;
}

/* Video */
.mfol-q__video iframe {
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  height: auto;
  width: 100%;
}

/* Text color */
.mfol-q.mfol-look--text-white .quote-with-media__quote,
.mfol-q.mfol-look--text-white .quote-with-media__attribution,
.mfol-q.mfol-look--text-white .quote-icon {
  color: var(--color-white);
}
.mfol-q.mfol-look--text-white .quote-icon svg path {
  fill: currentColor;
}
.mfol-q.mfol-look--text-black .quote-with-media__quote,
.mfol-q.mfol-look--text-black .quote-with-media__attribution {
  color: var(--color-black);
}

/* Quote size (Large is the theme's standard) */
.mfol-q.mfol-look--head-xlarge .quote-with-media__quote {
  font-size: clamp(5.5rem, 15vw, 14rem);
}
.mfol-q.mfol-look--head-medium .quote-with-media__quote {
  font-size: clamp(3rem, 6vw, 6.5rem);
}
.mfol-q.mfol-look--head-small .quote-with-media__quote {
  font-size: clamp(2.25rem, 4vw, 4rem);
}
.mfol-q.mfol-look--head-xsmall .quote-with-media__quote {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
}
.mfol-q.mfol-look--head-condensed .quote-with-media__quote {
  font-family: var(--f-trim-slender);
  font-weight: var(--f-trim-slender-weight, 700);
}
.mfol-q.mfol-look--intro-small .quote-with-media__attribution {
  font-size: 0.875rem;
}
.mfol-q.mfol-look--intro-large .quote-with-media__attribution {
  font-size: 1.25rem;
}
.mfol-q.mfol-look--head-center .quote-with-media__text-content {
  text-align: center;
}

/* Editor */
.mfol-q__placeholder {
  align-items: center;
  background: var(--color-gray);
  border: 2px dashed var(--color-black);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  min-height: 120px;
  padding: 24px;
  text-align: center;
}

/* Same content width as the other MFOL blocks (1400px, centered), on any background */
.mfol-q.alignfull {
  padding: var(--block-margin) var(--outer-padding);
}
.mfol-q > .grid-control {
  margin-left: auto;
  margin-right: auto;
  max-width: 1400px;
}
/* The theme caps Quote blocks at the text column's width; let the MFOL Quote span the page like the others */
.gutenberg-content .mfol-q.alignfull {
  max-width: none;
}
