/**
 * Mayo content / block styles — frontend + block editor.
 * Editor may lack Elementor CSS variables; keep fallbacks.
 */

/* —— Quote —— */
.entry-content .wp-block-quote,
.mayo-singular .wp-block-quote,
.elementor-widget-theme-post-content .wp-block-quote,
.mayo-post-content .wp-block-quote,
.editor-styles-wrapper .wp-block-quote {
  position: relative;
  margin: 1.5em 0;
  padding: 1.5em 1.5em 1.5em 4.5em;
  border: 0;
  border-radius: var(--radius-card, 12px);
  color: #fff;
  font-weight: 500;
  quotes: none;
  background: var(--e-global-color-primary, #353d45)
    url("/wp-content/uploads/2026/07/icon-quote.svg") no-repeat top 1.5em left
    1.5em;
}

.entry-content .wp-block-quote cite,
.mayo-singular .wp-block-quote cite,
.elementor-widget-theme-post-content .wp-block-quote cite,
.mayo-post-content .wp-block-quote cite,
.editor-styles-wrapper .wp-block-quote cite {
  display: flex;
  align-items: center;
  gap: 0.75em;
  margin-top: 0.5em;
  font-style: normal;
  font-weight: 400;
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.7);
}

.entry-content .wp-block-quote cite::before,
.mayo-singular .wp-block-quote cite::before,
.elementor-widget-theme-post-content .wp-block-quote cite::before,
.mayo-post-content .wp-block-quote cite::before,
.editor-styles-wrapper .wp-block-quote cite::before {
  content: "";
  display: inline-block;
  width: 4rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

/* —— Captions —— */
.entry-content .wp-element-caption,
.mayo-singular .wp-element-caption,
.elementor-widget-theme-post-content .wp-element-caption,
.editor-styles-wrapper .wp-element-caption,
.mayo-post-content .wp-element-caption {
  font-size: 14px;
  color: #6e757d;
}

/* —— Separator (Elementor resets `.elementor hr`) —— */
.entry-content .wp-block-separator,
.mayo-singular .wp-block-separator,
.mayo-post-content .wp-block-separator,
.elementor-widget-theme-post-content .wp-block-separator,
.editor-styles-wrapper .wp-block-separator,
.elementor .mayo-singular .wp-block-separator,
.elementor .mayo-post-content .wp-block-separator,
.elementor .elementor-widget-theme-post-content .wp-block-separator,
.entry-content hr.wp-block-separator,
.mayo-singular hr.wp-block-separator,
.mayo-post-content hr.wp-block-separator {
  background-color: currentColor;
  border: 0;
  border-top: 1px solid currentColor;
  height: 0;
  /* Undo Elementor `.elementor hr { margin: 0 }` without locking a design size.
	   Block Spacing set in Gutenberg (inline / preset) still wins over this. */
  margin-block: revert;
  margin-inline: auto;
}

.entry-content .wp-block-separator.is-style-wide,
.mayo-singular .wp-block-separator.is-style-wide,
.mayo-post-content .wp-block-separator.is-style-wide,
.elementor-widget-theme-post-content .wp-block-separator.is-style-wide,
.editor-styles-wrapper .wp-block-separator.is-style-wide {
  width: 100%;
}

.entry-content .wp-block-separator.is-style-dots,
.mayo-singular .wp-block-separator.is-style-dots,
.mayo-post-content .wp-block-separator.is-style-dots,
.elementor-widget-theme-post-content .wp-block-separator.is-style-dots,
.editor-styles-wrapper .wp-block-separator.is-style-dots {
  background: none;
  border: 0;
  height: auto;
  text-align: center;
}
