#ceuvel-typography {
    --ceuvel-paragraph-gap: 1rem;
    --ceuvel-paragraph-line-height: 1.5;
    --ceuvel-button-green: #739473;
    --ceuvel-button-hover: #567457;
    --ceuvel-required-red: #d63637;
}

/* Titles in covers and articles, navigation and the homepage tiles retain their layout. */
#ceuvel-typography :is(h2, h3, h4, h5:where(.wp-block-heading, .stk-block-heading__text)):not(:where(.cover *, .navbar *, footer *, .widget *, .ceuvel-type-preserve *, .entry-title, .wp-block-post-title, .col-sm-8 h3.m-b-0, .screen-reader-text, .wp-block-pullquote *)) {
    font-family: "Nexa", sans-serif !important;
    font-size: var(--ceuvel-subheading-size) !important;
    font-weight: 700 !important;
    font-style: normal !important;
    text-align: left !important;
    line-height: 1.2 !important;
    margin-block: 1.1em .45em !important;
}

#ceuvel-typography h2 {
    --ceuvel-subheading-size: 30px;
}

#ceuvel-typography h3 {
    --ceuvel-subheading-size: 24px;
}

#ceuvel-typography h4 {
    --ceuvel-subheading-size: 18px;
}

#ceuvel-typography h5 {
    --ceuvel-subheading-size: 16px;
}

#ceuvel-typography :is(.container, .entry-content) p:not(:where(footer *, .widget *, .ceuvel-type-preserve *, blockquote *, .wp-block-pullquote *, .stk-block-blockquote *, form *, .wpforms-container *, .wp-caption-text, .wp-element-caption, .ugb-card__subtitle, .stk-subtitle, .stk-block-subtitle__text, .ceuvel-publication-meta, .ceuvel-type-month-date, .screen-reader-text)) {
    font-family: "Raleway", sans-serif !important;
    font-size: 14px !important;
    line-height: var(--ceuvel-paragraph-line-height) !important;
    text-align: left !important;
    margin-block: 0 var(--ceuvel-paragraph-gap) !important;
}

#ceuvel-typography .stk-block-text:not(:where(footer *, .ceuvel-type-preserve *, blockquote *, .stk-block-blockquote *)):has(> p:not(.ceuvel-type-month-date, .ceuvel-type-quote)) {
    margin-block: 0 var(--ceuvel-paragraph-gap) !important;
}

#ceuvel-typography .stk-block-text:not(:where(footer *, .ceuvel-type-preserve *)) > p:not(.ceuvel-type-month-date) {
    margin-block: 0 !important;
}

#ceuvel-typography :is(p.ceuvel-type-intro, .ceuvel-type-intro > p) {
    font-family: "Raleway", sans-serif !important;
    font-size: clamp(23px, 4vw, 30px) !important;
    font-weight: 200 !important;
    font-style: italic !important;
    text-align: center !important;
    line-height: 1.3 !important;
}

#ceuvel-typography :is(p.ceuvel-type-intro, .ceuvel-type-intro > p) :is(strong, b) {
    font-weight: inherit !important;
}

#ceuvel-typography :is(p.ceuvel-type-instruction, .ceuvel-type-instruction > p) {
    font-family: "Raleway", sans-serif !important;
    font-size: 18px !important;
    line-height: var(--ceuvel-paragraph-line-height) !important;
    text-align: left !important;
}

#ceuvel-typography :is(blockquote, .wp-block-pullquote, .stk-block-blockquote, p.ceuvel-type-quote):not(:where(.ceuvel-type-preserve *)) {
    border: 0 !important;
    padding-block: 0 !important;
    margin-block: 1.5rem !important;
}

#ceuvel-typography :is(blockquote, .wp-block-pullquote, .stk-block-blockquote, p.ceuvel-type-quote, .ceuvel-type-quote > p):not(:where(.ceuvel-type-preserve *)),
#ceuvel-typography :is(blockquote, .wp-block-pullquote, .stk-block-blockquote, .ceuvel-type-quote) :is(p, em, strong, b):not(:where(cite *, .ceuvel-type-preserve *)) {
    font-family: "Raleway", sans-serif !important;
    font-size: clamp(22px, 4vw, 27px) !important;
    font-weight: 100 !important;
    font-style: italic !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

#ceuvel-typography :is(blockquote, .wp-block-pullquote, .stk-block-blockquote) p {
    margin-block: 0 .75em !important;
}

#ceuvel-typography :is(blockquote, .wp-block-pullquote, .stk-block-blockquote) p:last-child {
    margin-bottom: 0 !important;
}

#ceuvel-typography .stk-block-text:has(> p.ceuvel-type-quote):not(:where(.ceuvel-type-preserve *)) {
    margin-block: 1.5rem !important;
}

#ceuvel-typography .stk-block-text > p.ceuvel-type-quote:not(:where(.ceuvel-type-preserve *)) {
    margin-block: 0 !important;
}

/* Text actions across Bootstrap, WordPress, Stackable and the forms. */
#ceuvel-typography :is(a.btn, button.btn, summary.btn, .wp-block-button__link, .wp-block-file__button, .stk-button, .wpforms-submit, form :is(button, input)[type="submit"]):not(:where(.btn-hexagon, .ceuvel-type-preserve *, .social *, .navbar *, .stk-block-social-buttons *, .stk-block-carousel__button, [role="tab"])) {
    background: var(--ceuvel-button-green) !important;
    border: 1px solid transparent !important;
    border-radius: 50px !important;
    box-shadow: none !important;
    color: #fff !important;
    font-family: "Raleway", sans-serif !important;
    font-weight: 300 !important;
    font-size: 14px !important;
    line-height: 1.43 !important;
    padding: 10px 16px !important;
    height: auto !important;
    min-height: 0 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
}

#ceuvel-typography .stk-button__inner-text:not(:where(.ceuvel-type-preserve *, .stk-block-social-buttons *)) {
    color: inherit !important;
    font: inherit !important;
}

#ceuvel-typography :is(a.btn, button.btn, summary.btn, .wp-block-button__link, .wp-block-file__button, .stk-button, .wpforms-submit, form :is(button, input)[type="submit"]):not(:where(.btn-hexagon, .ceuvel-type-preserve *, .social *, .navbar *, .stk-block-social-buttons *, .stk-block-carousel__button, [role="tab"])):hover {
    background-color: var(--ceuvel-button-hover) !important;
}

#ceuvel-typography :is(.wpforms-container, .ceuvel-amb-form, #mc_embed_signup) :is(label, legend) {
    font-family: "Raleway", sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: var(--ceuvel-paragraph-line-height) !important;
}

#ceuvel-typography :is(.wpforms-required-label, .ceuvel-required) {
    color: var(--ceuvel-required-red) !important;
}

#ceuvel-typography .ceuvel-type-month-date {
    text-transform: lowercase !important;
}
