/*
 * Editor content (WordPress editor and WYSIWYG fields)
 */

/* Editor */
.editor-content > *:not(.row) {
	max-width: 100%;
	margin-bottom: 1.25rem;
}
.editor-content > *:not(.row):last-child {
	margin-bottom: 0;
}
.editor-content h1:not(:first-child),
.editor-content h2:not(:first-child),
.editor-content h3:not(:first-child),
.editor-content h4:not(:first-child),
.editor-content h5:not(:first-child),
.editor-content h6:not(:first-child) {
	margin-top: 2.5rem;
}
.editor-content hr:not(:first-child) {
	margin-top: calc(2rem + 2.5vw);
}
.single-post-section > .editor-content hr {
	margin-bottom: calc(2rem + 2.5vw);
}
.editor-content li + li {
	margin-top: 0.125em;
}
.editor-content h1,
.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5,
.editor-content h6,
.editor-content .as-h4,
.editor-content .as-h5,
.editor-content div,
.editor-content iframe {
	clear: both;
}
.editor-content iframe {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}
.editor-content p > a {
	word-break: break-word;
}
.editor-content p a {
	color: var(--color-teal);
	font-weight: 500;
	transition-property: color;
}
.editor-content p a:hover {
	color: var(--color-teal-hover);
	opacity: 1;
}
/* Compact (.editor-content.is-compact): short texts in boxes and accordions (FAQ answers, Methodology, Editorial, landing tips) */
.editor-content.is-compact > * {
	margin-top: 0;
	margin-bottom: 0.75rem;
}
.editor-content.is-compact > *:last-child {
	margin-bottom: 0;
}
.editor-content.is-compact strong {
	font-weight: 600;
}
.editor-content.is-compact ul,
.editor-content.is-compact ol {
	padding-left: 1.25rem;
}
.editor-content.is-compact li + li {
	margin-top: 0.5rem;
}
.editor-content.is-compact a,
.editor-content.is-compact p a,
.section-editorial a {
	color: var(--color-teal);
	font-weight: inherit;
	text-decoration: none;
	transition: opacity 0.25s ease-in-out;
}
.editor-content.is-compact a:hover,
.editor-content.is-compact p a:hover,
.section-editorial a:hover {
	color: var(--color-teal);
	opacity: 0.75;
}
