body.sfi-imported-post .sfi-article-shell,
body.sfi-imported-post .sfi-article-content,
body.sfi-imported-post .elementor-widget-theme-post-title,
body.sfi-imported-post .elementor-widget-post-title,
body.sfi-imported-post .entry-title,
body.sfi-imported-post .post-title,
body.sfi-imported-post main h1:first-of-type:not(.elementor-heading-title) {
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	max-width: calc(var(--sfi-reading-width, 760px) + 32px);
	width: 100%;
}

body.sfi-imported-post .sfi-article-shell,
body.sfi-imported-post .sfi-article-content,
body.sfi-imported-post .elementor-widget-theme-post-title,
body.sfi-imported-post .elementor-widget-post-title,
body.sfi-imported-post .entry-title,
body.sfi-imported-post .post-title,
body.sfi-imported-post main h1:first-of-type:not(.elementor-heading-title) {
	padding-left: 16px;
	padding-right: 16px;
}

body.sfi-imported-post .sfi-article-shell .sfi-article-content {
	padding-left: 0;
	padding-right: 0;
}

body.sfi-imported-post .elementor-widget-theme-post-title .elementor-heading-title,
body.sfi-imported-post .elementor-widget-post-title .elementor-heading-title,
body.sfi-imported-post h1.entry-title,
body.sfi-imported-post h1.post-title,
body.sfi-imported-post main h1:first-of-type:not(.elementor-heading-title),
body.sfi-imported-post .sfi-article-shell h1 {
	font-size: var(--sfi-title-font-size, 34px);
	line-height: var(--sfi-title-line-height, 1.35);
	max-width: 100%;
	overflow-wrap: anywhere;
}

body.sfi-imported-post .sfi-article-content {
	font-size: var(--sfi-body-font-size, 18px);
	line-height: var(--sfi-body-line-height, 1.8);
	overflow-wrap: anywhere;
}

body.sfi-imported-post .sfi-article-content p {
	margin-bottom: var(--sfi-paragraph-spacing, 20px);
}

body.sfi-imported-post .sfi-article-content h2,
body.sfi-imported-post .sfi-article-content h3,
body.sfi-imported-post .sfi-article-content h4 {
	line-height: 1.4;
	overflow-wrap: anywhere;
}

body.sfi-imported-post .sfi-article-content img {
	height: auto;
	max-width: 100%;
}

body.sfi-imported-post .sfi-article-content img[style*="float:left"],
body.sfi-imported-post .sfi-article-content figure[style*="float:left"] {
	float: left;
	margin-right: 1.2em;
}

body.sfi-imported-post .sfi-article-content img[style*="float:right"],
body.sfi-imported-post .sfi-article-content figure[style*="float:right"] {
	float: right;
	margin-left: 1.2em;
}

body.sfi-source-baijiahao .sfi-article-content {
	text-align: left;
}

body.sfi-source-baijiahao .sfi-article-content img:not([style*="float"]),
body.sfi-source-baijiahao .sfi-article-content figure:not([style*="float"]) {
	margin-left: 0 !important;
	margin-right: auto !important;
}

body.sfi-imported-post .sfi-article-content figure {
	box-sizing: border-box;
	max-width: 100%;
}

body.sfi-imported-post .sfi-article-content figcaption {
	font-size: .88em;
	line-height: 1.6;
	margin-top: .5em;
	text-align: center;
}

body.sfi-imported-post .sfi-article-content blockquote {
	border-left: 4px solid currentColor;
	margin-left: 0;
	padding-left: 1em;
}

body.sfi-imported-post .sfi-article-content table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

body.sfi-imported-post .sfi-article-content::after {
	clear: both;
	content: "";
	display: table;
}

@media (max-width: 767px) {
	body.sfi-imported-post .sfi-article-shell,
	body.sfi-imported-post .sfi-article-content,
	body.sfi-imported-post .elementor-widget-theme-post-title,
	body.sfi-imported-post .elementor-widget-post-title,
	body.sfi-imported-post .entry-title,
	body.sfi-imported-post .post-title,
	body.sfi-imported-post main h1:first-of-type:not(.elementor-heading-title) {
		max-width: calc(var(--sfi-reading-width, 760px) + 28px);
		padding-left: 14px;
		padding-right: 14px;
	}

	body.sfi-imported-post .sfi-article-shell .sfi-article-content {
		padding-left: 0;
		padding-right: 0;
	}

	body.sfi-imported-post .elementor-widget-theme-post-title .elementor-heading-title,
	body.sfi-imported-post .elementor-widget-post-title .elementor-heading-title,
	body.sfi-imported-post h1.entry-title,
	body.sfi-imported-post h1.post-title,
	body.sfi-imported-post main h1:first-of-type:not(.elementor-heading-title),
	body.sfi-imported-post .sfi-article-shell h1 {
		font-size: clamp(26px, 7vw, var(--sfi-title-font-size, 34px));
	}

	body.sfi-imported-post .sfi-article-content img[style*="float:left"],
	body.sfi-imported-post .sfi-article-content img[style*="float:right"],
	body.sfi-imported-post .sfi-article-content figure[style*="float:left"],
	body.sfi-imported-post .sfi-article-content figure[style*="float:right"] {
		float: none;
		margin-left: auto;
		margin-right: auto;
	}
}

body.sfi-imported-post h1.sfi-article-title {
	box-sizing: border-box !important;
	display: block !important;
	float: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: calc(var(--sfi-reading-width, 760px) + 32px) !important;
	padding-left: 16px !important;
	padding-right: 16px !important;
	width: 100% !important;
}

@media (max-width: 767px) {
	body.sfi-imported-post h1.sfi-article-title {
		max-width: calc(var(--sfi-reading-width, 760px) + 28px) !important;
		padding-left: 14px !important;
		padding-right: 14px !important;
	}
}
