/**
 * Block editor styles.
 *
 * Mirrors the front-end typography from style.css so what the editor shows is
 * what the visitor gets. Values here are kept deliberately in step with the
 * `body` and `h1`-`h6` rules in style.css - if those change, change these too.
 */

.wp-block {
	max-width: 780px;
}

.wp-block[data-align="wide"],
.wp-block[data-align="full"] {
	max-width: none;
}

.editor-styles-wrapper {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #000;
	background: #fafafa;
}

.editor-styles-wrapper p {
	font-family: 'Lato', sans-serif;
	line-height: 1.5;
}

/* Headings use Bellefair on the front end. */
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6,
.editor-post-title__block .editor-post-title__input {
	font-family: 'Bellefair', serif;
	font-weight: 500;
	color: #000;
	clear: both;
	line-height: 1.3em;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.editor-styles-wrapper h1,
.editor-post-title__block .editor-post-title__input {
	font-size: 2.4em;
}

.editor-styles-wrapper h2 {
	font-size: 2.2em;
}

.editor-styles-wrapper h3 {
	font-size: 2em;
}

.editor-styles-wrapper h4 {
	font-size: 1.8em;
}

.editor-styles-wrapper h5 {
	font-size: 1.6em;
}

.editor-styles-wrapper h6 {
	font-size: 1.4em;
}

/* Matches the front-end blockquote. */
.editor-styles-wrapper blockquote,
.editor-styles-wrapper .wp-block-quote {
	font-family: 'Playfair Display', serif;
	font-size: 18px;
	line-height: 1.65;
	border: none;
}

.editor-styles-wrapper .wp-block-pullquote blockquote {
	padding: 0;
}

.editor-styles-wrapper figcaption,
.editor-styles-wrapper .wp-block-image figcaption {
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	color: #767676;
}

.editor-styles-wrapper table th,
.editor-styles-wrapper table td {
	border: 1px solid #e6e6e6;
	padding: 8px;
}

.editor-styles-wrapper code,
.editor-styles-wrapper pre {
	font-family: Menlo, Consolas, monospace;
	font-size: 15px;
}

/**
 * 99.0 - Block style variations
 * -------------------------------------------------------------
 * Backs the styles registered in templatesell/block-patterns.php.
 */

.editor-styles-wrapper .wp-block-quote.is-style-promos-bordered {
	border-left: 4px solid #000;
	padding-left: 1.25rem;
	font-family: 'Playfair Display', serif;
	font-style: normal;
}

.editor-styles-wrapper .wp-block-image.is-style-promos-rounded img {
	border-radius: 12px;
}

.editor-styles-wrapper .wp-block-separator.is-style-promos-wide-rule {
	border: none;
	border-bottom: 2px solid currentColor;
	max-width: 100%;
	opacity: 0.25;
}
