/* MetaWeb Blog Importer: editor/theme-neutral presentation helpers. */
.ubfi-toc {
	box-sizing: border-box;
	margin: 1.75em 0;
	padding: 1.35em 1.5em;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 10px;
	background: var(--ubfi-card-background, #fff);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	color: inherit;
}

.ubfi-toc-title {
	margin: 0 0 0.8em;
	font: inherit;
	font-size: 1.25em;
	font-weight: 600;
	line-height: 1.3;
	color: inherit;
}

.ubfi-toc ol {
	margin: 0;
	padding-left: 1.35em;
}

.ubfi-toc li + li {
	margin-top: 0.45em;
}

.ubfi-toc a {
	color: inherit;
	text-decoration: none;
}

.ubfi-toc a:hover,
.ubfi-toc a:focus {
	text-decoration: underline;
}

.ubfi-faq-item {
	box-sizing: border-box;
	margin: 0;
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 0;
	background: transparent;
	color: inherit;
}

.ubfi-faq-item + .ubfi-faq-item {
	border-top: 0;
}

.ubfi-faq-item summary {
	position: relative;
	box-sizing: border-box;
	padding: 0.9em 1em 0.9em 2.6em;
	cursor: pointer;
	list-style: none;
	font: inherit;
	font-weight: 500;
	line-height: 1.35;
	color: inherit;
}

.ubfi-faq-item summary::-webkit-details-marker {
	display: none;
}

.ubfi-faq-item summary::marker {
	content: '';
}

.ubfi-faq-item summary::before {
	content: '+';
	position: absolute;
	left: 0.75em;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.35em;
	font-weight: 600;
	line-height: 1;
}

.ubfi-faq-item[open] summary::before {
	content: '\2212';
}

.ubfi-faq-item[open] summary {
	border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

.ubfi-faq-answer {
	padding: 1em 1.4em 1.15em;
}

.ubfi-faq-answer > :first-child {
	margin-top: 0;
}

.ubfi-faq-answer > :last-child {
	margin-bottom: 0;
}

/* Elementor Post Content inherits Elementor typography/colours automatically. */
.elementor-widget-theme-post-content .ubfi-toc,
.elementor-widget-theme-post-content .ubfi-faq-item,
.elementor-widget-text-editor .ubfi-toc,
.elementor-widget-text-editor .ubfi-faq-item {
	font-family: inherit;
	color: inherit;
}

@media (max-width: 767px) {
	.ubfi-toc {
		padding: 1.1em 1.15em;
	}

	.ubfi-faq-item summary {
		padding-right: 0.85em;
	}
}
