/* Apply the Journal typography to the document body, keeping Elementor widget structure and controls. */
.hoja-page {
    color: var(--ink,#182834);
    padding-block: clamp(1.6rem,4.5vw,4rem);
}
.hoja-page .tete-rub { margin-bottom: clamp(1rem,3vw,2rem); }
.hoja-document, .hoja-contenu {
    min-width: 0;
    --e-global-typography-primary-font-family: var(--serif,Georgia,serif);
    --e-global-typography-secondary-font-family: var(--serif,Georgia,serif);
    --e-global-typography-text-font-family: var(--sans,system-ui,sans-serif);
    --e-global-typography-accent-font-family: var(--sans,system-ui,sans-serif);
}
.hoja-contenu { margin-inline: auto; max-width: 70rem; font: 400 1.04rem/1.68 var(--sans,system-ui,sans-serif); }
#contenu.hoja-page .hoja-contenu :is(h1,h2,h3,h4,h5,h6,.elementor-heading-title) {
    font-family: var(--serif,Georgia,serif) !important;
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.15;
    overflow-wrap: break-word;
}
.hoja-contenu > h1, .hoja-contenu .elementor-widget-heading h1.elementor-heading-title { font-size: clamp(2.25rem,5.6vw,4.5rem); }
.hoja-contenu > h2, .hoja-contenu .elementor-widget-heading h2.elementor-heading-title { font-size: clamp(1.65rem,3.6vw,2.8rem); }
#contenu.hoja-page .elementor-widget-text-editor,
#contenu.hoja-page .elementor-widget-text-editor :is(p,li) { font-family: var(--sans,system-ui,sans-serif) !important; line-height: 1.68; }
.hoja-contenu > :is(p,ul,ol,blockquote) { max-width: 75ch; }
.hoja-contenu > :is(h2,h3):not(:first-child) { margin-top: 1.3em; }
.hoja-contenu :is(.elementor,.elementor-section,.elementor-container,.elementor-widget-wrap,.e-con,.e-con-inner) { min-width: 0; max-width: 100%; }
.hoja-contenu .elementor-section-stretched { width: 100% !important; left: 0 !important; }
.hoja-contenu :is(img,video,iframe,figure,.wp-caption) { max-width: 100%; }
.hoja-contenu :is(figcaption,.wp-caption-text,.widget-image-caption) { font: 400 .87rem/1.5 var(--sans,system-ui,sans-serif); }
.hoja-contenu .elementor-widget-text-editor a, .hoja-contenu > p a {
    text-decoration: underline; text-underline-offset: .16em;
}
.hoja-contenu :is(a,button,input,textarea,select,summary):focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.hoja-liens, .hoja-signature { display:flex; flex-wrap:wrap; align-items:center; gap:.55rem 1.25rem; }
.hoja-liens { border-top: 1px solid var(--line,#d9d3c8); padding-top: 1rem; margin-top: 2rem; }
.hoja-signature { margin-bottom: 1.25rem; }
.hoja-signature figure,.hoja-signature p { margin: 0; }
.hoja-signature img { width: 5rem; height:auto; }

body.edition-journal.hoja-page-elementor {
    color:var(--ink,#182834); background-color:var(--paper,#faf9f6); font-family:var(--sans,system-ui,sans-serif);
}
.hoja-page-elementor .mast { background-color:#0c1d2b; color:#fff; }
.hoja-page-elementor .bas { background-color:var(--navy,#101f2c); color:#e6edea; }
.hoja-page-elementor :is(.mast,.bas) a:not(.premium-nav) { color:inherit; }
#contenu.hoja-page [data-hoja-habillage-ancien] { display:none !important; }
.hoja-page .hoja-contenu, .hoja-page .hoja-contenu > .elementor {
    --e-global-color-primary: var(--navy,#101f2c);
    --e-global-color-secondary: var(--ink,#182834);
    --e-global-color-text: var(--ink,#182834);
    --e-global-color-accent: var(--roux,#854c32);
    color: var(--ink,#182834);
}
#contenu.hoja-page .hoja-contenu :is(h1,h2,h3,h4,h5,h6,.elementor-widget-text-editor,.elementor-widget-theme-post-content):not(:where(
    [data-settings*="background_background"] *,[style*="background"] *,.has-background *,.wp-block-cover *
)) { color: var(--ink,#182834); }
#contenu.hoja-page .hoja-contenu :is(.elementor-widget-text-editor a, p a):not(.elementor-button):not(:where(
    [data-settings*="background_background"] *,[style*="background"] *,.has-background *,.wp-block-cover *
)) { color: var(--roux,#854c32); text-decoration-color:currentColor; }
.hoja-page .hoja-contenu figcaption { color:inherit; }
.hoja-page .hoja-contenu .elementor-widget-button .elementor-button {
    background-color:var(--navy,#101f2c); color:white; border-radius:2px; font-family:var(--sans,system-ui,sans-serif);
}
.hoja-page .hoja-contenu .elementor-widget-button .elementor-button:is(:hover,:focus-visible) { background-color:#294351; }
