.tinymce-content {
	color: #222;
	font-size: 16px;
	line-height: 1.8;
	word-break: break-word;
	overflow-wrap: break-word;
}

.tinymce-content * {
	box-sizing: border-box;
}

.tinymce-content::after {
	content: "";
	display: block;
	clear: both;
}

/* heading */
.tinymce-content h1,
.tinymce-content h2,
.tinymce-content h3,
.tinymce-content h4,
.tinymce-content h5,
.tinymce-content h6 {
	margin: 1.2em 0 0.6em;
	line-height: 1.4;
	font-weight: 700;
	color: #111;
}

.tinymce-content h1 {
	font-size: 2.2em;
}

.tinymce-content h2 {
	font-size: 1.9em;
}

.tinymce-content h3 {
	font-size: 1.6em;
}

.tinymce-content h4 {
	font-size: 1.35em;
}

.tinymce-content h5 {
	font-size: 1.15em;
}

.tinymce-content h6 {
	font-size: 1em;
}

/* text */
.tinymce-content p {
	margin: 0 0 1em;
}

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

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

.tinymce-content u {
	text-decoration: underline;
}

.tinymce-content s,
.tinymce-content strike {
	text-decoration: line-through;
}

.tinymce-content small {
	font-size: 0.875em;
}

.tinymce-content mark {
	padding: 0 0.15em;
	background: #fff3a3;
}

/* link */
.tinymce-content a {
	color: #1a73e8;
	text-decoration: underline;
	word-break: break-all;
}

.tinymce-content a:hover {
	opacity: 0.85;
}

/* list */
.tinymce-content ul,
.tinymce-content ol {
	margin: 0 0 1em 1.5em;
	padding: 0;
}

.tinymce-content li {
	margin: 0.3em 0;
}

.tinymce-content ul ul,
.tinymce-content ul ol,
.tinymce-content ol ul,
.tinymce-content ol ol {
	margin-top: 0.3em;
	margin-bottom: 0.3em;
}

/* quote */
.tinymce-content blockquote {
	margin: 1.25em 0;
	padding: 0.9em 1.2em;
	border-left: 4px solid #d9d9d9;
	background: #f8f8f8;
	color: #444;
}

/* line */
.tinymce-content hr {
	margin: 1.5em 0;
	border: 0;
	border-top: 1px solid #ddd;
}

/* image */
.tinymce-content img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 1em 0;
}

.tinymce-content figure {
	margin: 1em 0;
	max-width: 100%;
}

.tinymce-content figure img {
	margin: 0;
}

.tinymce-content figcaption {
	margin-top: 0.5em;
	font-size: 14px;
	line-height: 1.6;
	color: #666;
	text-align: center;
}

/* TinyMCE alignment helper classes */
.tinymce-content .align-left {
	text-align: left;
}

.tinymce-content .align-center {
	text-align: center;
}

.tinymce-content .align-right {
	text-align: right;
}

.tinymce-content .align-justify {
	text-align: justify;
}

.tinymce-content img[style*="float:left"],
.tinymce-content img[style*="float: left"] {
	float: left;
	margin: 0.4em 1.2em 0.8em 0;
	max-width: min(50%, 320px);
}

.tinymce-content img[style*="float:right"],
.tinymce-content img[style*="float: right"] {
	float: right;
	margin: 0.4em 0 0.8em 1.2em;
	max-width: min(50%, 320px);
}

/* table */
.tinymce-content table {
	width: 100%;
	max-width: 100%;
	margin: 1.25em 0;
	border-collapse: collapse;
	table-layout: auto;
}

.tinymce-content table th,
.tinymce-content table td {
	padding: 12px 14px;
	border: 1px solid #ddd;
	vertical-align: top;
}

.tinymce-content table th {
	background: #f5f5f5;
	font-weight: 700;
	color: #111;
}

.tinymce-content table tbody tr:nth-child(even) {
	background: #fafafa;
}

/* code */
.tinymce-content pre {
	overflow-x: auto;
	margin: 1.25em 0;
	padding: 14px 16px;
	border-radius: 8px;
	background: #1f2430;
	color: #f1f1f1;
	font-size: 14px;
	line-height: 1.7;
	white-space: pre-wrap;
	word-break: break-word;
}

.tinymce-content code {
	padding: 0.15em 0.35em;
	border-radius: 4px;
	background: #f3f3f3;
	font-size: 0.95em;
	font-family: Consolas, Monaco, monospace;
}

.tinymce-content pre code {
	padding: 0;
	background: transparent;
	color: inherit;
	font-size: inherit;
}

/* media */
.tinymce-content iframe,
.tinymce-content video,
.tinymce-content embed,
.tinymce-content object {
	display: block;
	max-width: 100%;
	margin: 1.25em 0;
}

.tinymce-content iframe {
	width: 100%;
	min-height: 360px;
	border: 0;
}

/* empty spacing fix */
.tinymce-content p:empty {
	display: none;
}

/* first / last spacing */
.tinymce-content > :first-child {
	margin-top: 0;
}

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

/* mobile */
@media (max-width: 768px) {
	.tinymce-content {
		font-size: 15px;
		line-height: 1.75;
	}

	.tinymce-content h1 {
		font-size: 1.9em;
	}

	.tinymce-content h2 {
		font-size: 1.65em;
	}

	.tinymce-content h3 {
		font-size: 1.45em;
	}

	.tinymce-content table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	.tinymce-content iframe {
		min-height: 220px;
	}

	.tinymce-content img[style*="float:left"],
	.tinymce-content img[style*="float: left"],
	.tinymce-content img[style*="float:right"],
	.tinymce-content img[style*="float: right"] {
		float: none;
		max-width: 100%;
		margin: 1em 0;
	}
}