/* ============================================================
   Text Block — build 1

   Generic reusable text block for main post content. Typography
   is controlled via a Type Role (per block instance) — falls back
   to normal body text when no role is chosen.
   ============================================================ */

.text-block p:first-child {
	margin-top: 0;
}

.text-block p:last-child {
	margin-bottom: 0;
}

/* Type Role — only applies when chosen; falls back to inherited body text. */
.text-block[data-tb-role] {
	font-family:    var(--tb-family,        inherit);
	font-weight:    var(--tb-weight,        inherit);
	font-style:     var(--tb-style,         normal);
	font-size:      var(--tb-size,          inherit);
	line-height:    var(--tb-line-height,   inherit);
	letter-spacing: var(--tb-letter-spacing, inherit);
	text-transform: var(--tb-text-transform, none);
	color:          var(--tb-color,         inherit);
}
