/*
 * Editor styles.
 *
 * This file shipped empty, and the editor was told to load Muli and Roboto
 * while the front end loaded Arimo and Heebo, so a post never looked in the
 * editor the way it would look published. Everything here mirrors a value that
 * already exists in style.css.
 */

.editor-styles-wrapper {
    font-family: "Arimo", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #4c4f53;
    background-color: #ffffff;
}

.editor-styles-wrapper p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 15px;
}

.editor-post-title__block .editor-post-title__input,
.editor-post-title__input,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
    font-family: "Heebo", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #17181a;
    letter-spacing: -0.01em;
    -webkit-font-feature-settings: "kern" 1, "liga" 1;
    font-feature-settings: "kern" 1, "liga" 1;
}

.editor-post-title__block .editor-post-title__input,
.editor-post-title__input {
    font-size: 32px;
    line-height: 1.2;
}

.editor-styles-wrapper h1 { font-size: 29px; line-height: 1.2; }
.editor-styles-wrapper h2 { font-size: 26px; line-height: 1.25; }
.editor-styles-wrapper h3 { font-size: 23px; line-height: 1.3; }
.editor-styles-wrapper h4 { font-size: 20px; line-height: 1.35; }
.editor-styles-wrapper h5 { font-size: 17px; line-height: 1.4; }
.editor-styles-wrapper h6 { font-size: 15px; line-height: 1.45; }

.editor-styles-wrapper a {
    color: #d42929;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/*
 * The front end sets blockquote in a serif. It used to name Playfair Display,
 * which the theme never loaded, so quotes fell back to the browser default.
 */
.editor-styles-wrapper blockquote,
.editor-styles-wrapper .wp-block-quote {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 18px;
    line-height: 1.65;
    border-left: 3px solid #d42929;
    padding-left: 20px;
    margin: 0 0 40px;
    color: #2f3235;
}

.editor-styles-wrapper cite {
    display: block;
    margin-top: 10px;
    font-family: "Arimo", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    color: #6b7280;
}

.editor-styles-wrapper code,
.editor-styles-wrapper pre {
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    font-size: 14px;
    background-color: #f6f7f8;
    border-radius: 6px;
}

.editor-styles-wrapper pre {
    padding: 18px 20px;
    overflow-x: auto;
}

.editor-styles-wrapper code {
    padding: 2px 6px;
}

.editor-styles-wrapper table {
    border-collapse: collapse;
    width: 100%;
}

.editor-styles-wrapper th,
.editor-styles-wrapper td {
    border: 1px solid #e6e8ea;
    padding: 10px 12px;
    text-align: left;
}

.editor-styles-wrapper th {
    background-color: #f6f7f8;
    font-weight: 700;
}

.editor-styles-wrapper hr,
.editor-styles-wrapper .wp-block-separator {
    border: 0;
    border-top: 1px solid #e6e8ea;
    margin: 32px 0;
}

.editor-styles-wrapper img,
.editor-styles-wrapper figure img {
    border-radius: 6px;
}

.editor-styles-wrapper figcaption,
.editor-styles-wrapper .wp-block-image figcaption {
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
    text-align: center;
}

.editor-styles-wrapper .wp-block-button__link {
    background-color: #d42929;
    color: #ffffff;
    border-radius: 10px;
    font-family: "Heebo", Helvetica, Arial, sans-serif;
    font-weight: 700;
    padding: 12px 24px;
}

/* Match the sizes registered with add_theme_support( 'editor-font-sizes' ). */
.editor-styles-wrapper .has-small-font-size  { font-size: 16px; }
.editor-styles-wrapper .has-medium-font-size { font-size: 20px; }
.editor-styles-wrapper .has-large-font-size  { font-size: 25px; }
.editor-styles-wrapper .has-larger-font-size { font-size: 35px; }

/* The three block styles registered in inc/block-patterns.php. */

.editor-styles-wrapper .wp-block-quote.is-style-docile-statement {
    border-left: 0;
    padding: 24px 28px;
    background-color: #f6f7f8;
    border-radius: 10px;
    font-size: 20px;
}

.editor-styles-wrapper .wp-block-image.is-style-docile-framed img {
    border: 1px solid #e6e8ea;
    padding: 8px;
    background-color: #ffffff;
    border-radius: 10px;
}

.editor-styles-wrapper .is-style-docile-checklist {
    list-style: none;
    padding-left: 0;
}

.editor-styles-wrapper .is-style-docile-checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
}

.editor-styles-wrapper .is-style-docile-checklist li:before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.5em;
    width: 12px;
    height: 6px;
    border-left: 2px solid #d42929;
    border-bottom: 2px solid #d42929;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
