/* Quill rendering */

.ql-font-serif {
	font-family: serif;
}

.ql-font-monospace {
	font-family: monospace;
}

.ql-syntax {
	font-size: 0.9em;
	line-height: 1.3em;
	white-space: pre-wrap;
	max-width: 100%;
	border: 1px solid var(--color-border-gray);
	border-radius: 5px;
	background: #F8F8F8;
	margin-bottom: 5px;
	margin-top: 5px;
	padding: 20px;
	overflow: auto;
}

.ql-align-left {
	text-align: left;
}

.ql-align-center {
	text-align: center;
}

.ql-align-right {
	text-align: right;
}

blockquote {
	border: 5px solid #CCC;
	border-width: 0 0 0 4px;
	background: #F8F8F8;
	padding: 10px 20px;
	line-height: 1.7em;
}

/* Legacy options (for posts migrated from the previous site) */

.wp-caption-text {
	font-size: 0.8em;
	background: #EEE;
	padding: 10px;
}

/* Other */

.detail .content {
	/* grid allows <pre> to adjust to parent width */
	display: grid;
	font-size: 1.2em;
	margin: 40px 0 80px;
}

.detail .content * {
	display: initial;
	max-width: 100%;
	margin: 0;
}

.detail .content h1,
.detail .content h2,
.detail .content h3,
.detail .content h4,
.detail .content h5,
.detail .content h6 {
	line-height: 1.2em;
}

.detail .content p {
	line-height: 1.7em;
}

.detail .content a {
	color: var(--color-primary);
	transition: color 0.2s;
}

.detail .content a:hover {
	color: var(--color-secondary);
}

@media only screen and (max-width: 650px) {
	.detail .content {
		font-size: 1.1em;
	}
}
