/* Shared editor-content typography.
   Scoped to `.rich-content`, added alongside the existing wrappers on posts
   (template-parts/blog/single.php) and pages (page.php). Styles the raw
   the_content() output — core + Kadence blocks — by HTML element, so any
   admin-added content inherits the theme look.

   TYPOGRAPHY ONLY: no width / max-width / layout rules. Wrapper width stays
   owned by each template's own container (blog = its column, page = its own),
   so this class can never affect layout width.

   Migrated from blog.css's former `.blog-single__content` block. Baseline
   only (headings/links/lists/images/quotes) — it does NOT recolor specific
   Kadence block elements (buttons, countdown); those carry their own styling. */

.rich-content {
	font-size: 15px;
	line-height: 1.8;
	color: var(--text-secondary);
}

.rich-content > * {
	margin-bottom: 24px;
}

.rich-content > *:last-child {
	margin-bottom: 0;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
	color: var(--text-primary);
	line-height: 1.3;
	/*margin: 36px 0 16px;*/
}

.rich-content h2 { font-size: 26px; }
.rich-content h3 { font-size: 21px; }
.rich-content h4 { font-size: 18px; }

.rich-content a {
	color: var(--gold-color);
	text-decoration: underline;
}

.rich-content img {
	max-width: 100%;
	height: auto;
}

.rich-content blockquote {
	border-left: 3px solid var(--gold-color);
	padding: 6px 0 6px 24px;
	margin: 28px 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--text-primary);
	font-style: italic;
}

.rich-content ul,
.rich-content ol {
	padding-left: 22px;
}

.rich-content li {
	margin-bottom: 8px;
}

.modal-link-full .kt-blocks-modal-link {
  display: block;
  width: 100%;
  text-align: center;
}
