/* ==========================================================================
   ebg elements - text. Block styles for core/paragraph, picked in the editor:
   is-style-ebg-subtitle       accent uppercase label with glyph (ebg .sub-title, light)
   is-style-ebg-subtitle-chip  dashed chip label (ebg .banner-content .sub-title, dark panels)
   Glyph per instance: --ebg-glyph, defaults to the box glyph.
   ========================================================================== */

@layer components {

	.is-style-ebg-subtitle,
	.is-style-ebg-subtitle-chip {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		font-size: var(--fs-14);
		font-weight: 700;
		line-height: 1;
		letter-spacing: 1.4px;
		text-transform: uppercase;

		&::before {
			content: var(--ebg-glyph, "\e90d");
			font-family: "ebg-icons";
			font-size: var(--fs-22);
			font-weight: normal;
			color: var(--ebg-accent);
		}
	}

	.is-style-ebg-subtitle { color: var(--ebg-accent); }

	.is-style-ebg-subtitle-chip {
		--ebg-glyph: "\e91b";

		gap: 8px;
		padding: 6px 10px;
		border: 1px dashed var(--ebg-chip-line, #313D3D);
		border-radius: 4px;
		color: #FFFFFF;
	}
}
