/*
 * The text formats of the WYSIWYG editor (inc/wysiwyg-customization.php), on the site and inside the editor.
 *
 * Rich text sits in .prose, whose headings force bold and an inherited color with !important; every rule here is
 * !important as well and doubles its class (.a.a) to outrank those. A span is Georgia italic site-wide (the #tekst#
 * markup); a span from these dropdowns is not, unless its font says so.
 */

/* Grote titel: the same heading as a section title (text_image_section's h2) */
.kroon-title.kroon-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: var(--text-3xl, 1.875rem) !important;
    font-weight: 300 !important;
    line-height: 1.25 !important;
    color: #065576 !important;
    margin: 32px 0 16px !important;
}

.kroon-title.kroon-title:first-child {
    margin-top: 0 !important;
}

@media (min-width: 640px) {
    .kroon-title.kroon-title {
        margin-bottom: 24px !important;
    }
}

@media (min-width: 1536px) {
    .kroon-title.kroon-title {
        font-size: var(--text-6xl, 3.75rem) !important;
    }
}

/* Tekstgrootte */
.kroon-size-title.kroon-size-title { font-size: var(--text-3xl, 1.875rem) !important; line-height: 1.25 !important; }
.kroon-size-xl.kroon-size-xl { font-size: 36px !important; line-height: 1.2 !important; }
.kroon-size-h1.kroon-size-h1 { font-size: 28px !important; line-height: 1.3 !important; }
.kroon-size-h2.kroon-size-h2 { font-size: 22px !important; line-height: 1.3 !important; }
.kroon-size-lg.kroon-size-lg { font-size: 20px !important; line-height: 1.6 !important; }
.kroon-size-md.kroon-size-md { font-size: 17px !important; line-height: 1.7 !important; }
.kroon-size-sm.kroon-size-sm { font-size: 15px !important; line-height: 1.6 !important; }

@media (min-width: 1536px) {
    .kroon-size-title.kroon-size-title { font-size: var(--text-6xl, 3.75rem) !important; }
    .kroon-size-xl.kroon-size-xl { font-size: 48px !important; }
}

/* Tekstkleur */
.kroon-color-primary.kroon-color-primary { color: #065576 !important; }
.kroon-color-primary-light.kroon-color-primary-light { color: #5f859f !important; }
.kroon-color-secondary.kroon-color-secondary { color: #ad1c54 !important; }
.kroon-color-dark.kroon-color-dark { color: #231f20 !important; }

/* Lettertype */
.kroon-font-light.kroon-font-light { font-family: 'Outfit', sans-serif !important; font-weight: 300 !important; font-style: normal !important; }
.kroon-font-regular.kroon-font-regular { font-family: 'Outfit', sans-serif !important; font-weight: 400 !important; font-style: normal !important; }
.kroon-font-bold.kroon-font-bold { font-family: 'Outfit', sans-serif !important; font-weight: 600 !important; font-style: normal !important; }
.kroon-font-serif-italic.kroon-font-serif-italic { font-family: 'Georgia', serif !important; font-style: italic !important; }
.kroon-font-serif.kroon-font-serif { font-family: 'Georgia', serif !important; font-style: normal !important; }

/* A span that only sets a size or color keeps the text's own font, not the site-wide italic span */
span[class*="kroon-size-"],
span[class*="kroon-color-"] {
    font-family: inherit;
    font-style: inherit;
}

/* Inside the editor: the text as the site's text blocks (.prose) show it */
body#tinymce {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.7;
    color: #3e3c34;
    background: #f7f4f2;
}

body#tinymce h1,
body#tinymce h2,
body#tinymce h3,
body#tinymce h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: inherit;
    margin: 18px 0 10px;
    line-height: 1.3;
}

body#tinymce h1 { font-size: 28px; }
body#tinymce h2 { font-size: 22px; }
body#tinymce h3 { font-size: 18px; }
body#tinymce h4 { font-size: 17px; }
body#tinymce p { margin: 0 0 12px; }
body#tinymce a { color: #0c4a6e; }
