/* Classic editor / WYSIWYG body — scoped so reference-ui global reset stays on UI chrome */

.entry-content > :first-child {
	margin-top: 0;
}

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

.entry-content p {
	margin: 0 0 1em;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1em;
	padding-left: 1.5em;
	list-style-position: outside;
}

.entry-content ul {
	list-style-type: disc;
}

.entry-content ol {
	list-style-type: decimal;
}

.entry-content ul ul {
	list-style-type: circle;
}

.entry-content ul ul ul {
	list-style-type: square;
}

.entry-content ol ol {
	list-style-type: lower-alpha;
}

.entry-content ol ol ol {
	list-style-type: lower-roman;
}

.entry-content li {
	margin-bottom: 0.35em;
}

.entry-content li > ul,
.entry-content li > ol {
	margin-top: 0.35em;
	margin-bottom: 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin: 1.25em 0 0.5em;
	color: var(--ink, #1a2a35);
	font-weight: 700;
	line-height: 1.25;
}

.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content h4:first-child,
.entry-content h5:first-child,
.entry-content h6:first-child {
	margin-top: 0;
}

.entry-content blockquote {
	margin: 1em 0;
	padding: 0.25em 0 0.25em 1em;
	border-left: 3px solid var(--line-strong, #c4cecc);
	color: inherit;
}

.entry-content a {
	color: var(--blue, #1f5f8b);
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.entry-content a:hover,
.entry-content a:focus-visible {
	color: var(--ink, #1a2a35);
}

.entry-content strong,
.entry-content b {
	font-weight: 700;
}

.entry-content em,
.entry-content i {
	font-style: italic;
}

.entry-content figure {
	margin: 1em 0;
}

.entry-content img {
	height: auto;
}

.entry-content .alignleft {
	float: left;
	margin: 0.25em 1.25em 1em 0;
}

.entry-content .alignright {
	float: right;
	margin: 0.25em 0 1em 1.25em;
}

.entry-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.entry-content .wp-caption {
	max-width: 100%;
	margin: 1em 0;
}

.entry-content .wp-caption img {
	display: block;
	margin: 0 auto;
}

.entry-content .wp-caption-text {
	margin: 0.5em 0 0;
	font-size: 0.9em;
	color: var(--muted, #607080);
	text-align: center;
}

.entry-content table {
	width: 100%;
	margin: 0 0 1em;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 0.5em 0.75em;
	border: 1px solid var(--line, #dce3e8);
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	font-weight: 700;
	background: var(--sky-soft, #e7f1f7);
}

.entry-content pre {
	margin: 0 0 1em;
	padding: 0.75em 1em;
	overflow-x: auto;
	font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
	font-size: 0.92em;
	line-height: 1.5;
	background: var(--sky-soft, #e7f1f7);
	border-radius: 6px;
}

.entry-content code {
	font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
	font-size: 0.92em;
}

.entry-content pre code {
	font-size: inherit;
}

.entry-content hr {
	margin: 1.5em 0;
	border: 0;
	border-top: 1px solid var(--line, #dce3e8);
}

.entry-content::after {
	content: "";
	display: table;
	clear: both;
}
