/* ============================================================
 * Axismundi — core text block refinements.
 *
 * Keep this layer small: use theme.json first, and reserve this file for core
 * block details that need pseudo-elements or higher specificity than the
 * WordPress block default styles expose. Document-wide raw HTML semantic
 * baselines (mark / abbr) live in the theme's global style.css instead.
 * ============================================================ */

/* core/paragraph — drop cap
 *
 * WordPress core ships an oversized, very light drop cap:
 *   .has-drop-cap:not(:focus)::first-letter { font-size: 8.4em; font-weight: 100; ... }
 *
 * theme.json's block CSS is wrapped in :where(), so it cannot override those
 * properties without !important. This block CSS keeps the override explicit and
 * scoped to paragraph drop caps.
 */
.wp-block-paragraph.has-drop-cap:not(:focus)::first-letter,
p.has-drop-cap:not(:focus)::first-letter {
	float: left;
	font-size: 3.2em;
	font-style: normal;
	font-weight: 500;
	line-height: 0.78;
	margin-block-start: var(--wp--preset--spacing--50);
	margin-inline-end: var(--wp--preset--spacing--100);
	text-transform: none;
	color: var(--wp--preset--color--primary);
}

/* core/verse — poetry preserves line breaks but remains a text surface, not a
 * horizontally scrolling code/pre surface. Core sets overflow-x:auto, which
 * theme.json's low-specificity css cannot reliably override. */
pre.wp-block-verse {
	overflow: visible;
	white-space: pre-wrap;
}
