/*
Theme Name: Writings
Description: Used to style the Gutenberg editor.
*/

.editor-styles-wrapper,
.edit-post-visual-editor,
.edit-post-visual-editor p,
.editor-visual-editor,
.editor-visual-editor p {
	font-family: 'Roboto', sans-serif !important;
    font-size: 20px;
}
.editor-post-title__input,
.editor-post-title textarea.editor-post-title__input,
.editor-block-list__block[data-type="core/heading"] h1,
.editor-block-list__block[data-type="core/heading"] h2,
.editor-block-list__block[data-type="core/heading"] h3,
.editor-block-list__block[data-type="core/heading"] h4,
.editor-block-list__block[data-type="core/heading"] h5,
.editor-block-list__block[data-type="core/heading"] h6,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
	clear: both;
    line-height: 1.25;
    margin: 0 0 0.75em;
    padding: 1.5em 0 0;
	font-family: 'Roboto', sans-serif;
	font-weight: 900;
	color: rgba(0, 0, 0, 0.85);
}

.editor-post-title textarea.editor-post-title__input,
.editor-post-title__input,
.editor-block-list__block[data-type="core/heading"] h1,
.editor-styles-wrapper h1 {
	font-size: 40px;
}

.editor-block-list__block[data-type="core/heading"] h2,
.editor-styles-wrapper h2 {
	font-size: 36px;
}

.editor-block-list__block[data-type="core/heading"] h3,
.editor-styles-wrapper h3 {
	font-size: 32px;
}

.editor-block-list__block[data-type="core/heading"] h4,
.editor-styles-wrapper h4 {
	font-size: 28px;
}

.editor-block-list__block[data-type="core/heading"] h5,
.editor-styles-wrapper h5 {
	font-size: 24px;
}

.editor-block-list__block[data-type="core/heading"] h6,
.editor-styles-wrapper h6 {
	font-size: 22px;
	text-transform: uppercase;
}

p {
	margin: 0 0 1.5em;
	padding: 0;
}

.aligncenter .blocks-rich-text {
    	text-align: center;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0;
	overflow: hidden;
	padding: 0;
	quotes: "" "";
}

blockquote:before,
blockquote:after {
	content: '';
}

blockquote cite {
	display: block;
	margin-top: 0.5em;
}

.wp-block-quote:not(.is-large),
.wp-block-freeform.blocks-editable__tinymce blockquote {
box-shadow: none;
    border-left: none;
	margin: 30px 0;
	padding-left: 40px;
}

.wp-block-quote p,
blockquote p {
    font-weight: 700;
    font-size: 110%;
    color: #000;
	margin: 0;
}

blockquote cite {
    display: block;
    text-align: right;
    font-style: italic;
}

blockquote cite:before {
    content: '- ';
}

q {
	text-align: center;
	font-size: 29px;
	font-weight: 700;
}

address {
    margin: 0 0 1.5em;
    line-height: 1.75;
	font-weight: 300;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 16px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 18px;
	font-size: 1.12rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #eee;
	text-decoration: none;
}

big {
	font-size: 120%;
}

em {
    font-style: italic;
}

hr {
	border: none;
	border-top: 1px solid rgba( 0, 0, 0, 0.13 );
	margin: 50px 0;
}

/* Special --------------- */

.has-drop-cap:first-letter {
    font-weight: 700 !important;
    font-size: 5em !important;
}

.wp-block-cover-image h2 {
    font-size: 2em;
    font-weight: 700;
}

.blocks-editable .wp-block-button__link {
	color: rgba(0, 0, 0, 0.85);
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-size: 0.9375rem;
	line-height: 1;
	height: unset;
	background-color: #222;
	border: 0;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	padding: 0.75em 2em;
	text-shadow: none;
	-webkit-transition: background 0.2s;
	transition: background 0.2s;
}

.wp-block-button .wp-block-button__link {
    border-radius: 2px;
    padding: 0.75em 2em;
    font-size: .85em;
}

.gutenberg__editor img {
    height: auto;
}

figure.wp-block-audio {
    margin: 0;
}

.wp-block-image figcaption {}

/* Patterns --------------- */

/* Latest Posts Widget Block --- */
ul.wp-block-latest-posts.front-page-section {
    margin-left: 0 !important;
}

.block-editor .wp-block-latest-posts.front-page-section {
    padding-left: 0;
}

.wp-block-latest-posts.front-page-section .wp-block-latest-posts__post-excerpt a {
    display: none;
}

.wp-block-latest-posts.front-page-section a {
    text-decoration: none;
}

.wp-block-latest-posts.front-page-section a div {
    font-size: 32px;
    font-weight: 900;
    color: #000;
}

.wp-block-latest-posts.front-page-section li {
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.9);
    margin-bottom: 35px;
}

.wp-block-latest-posts.front-page-section .alignright {
    margin: 0;
    margin-left: 1em;
}

.wp-block-latest-posts.front-page-section .alignleft {
    margin: 0;
    margin-right: 1em;
}

.wp-block-latest-posts.front-page-section .wp-block-latest-posts__post-author,
.wp-block-latest-posts.front-page-section .wp-block-latest-posts__post-date {
    font-size: 16px;
}