.wp-block-heading strong,
.wp-block-post-title strong {
    color: var(--wp--preset--color--orange);
}

.is-root-container > h1.wp-block-heading, 
.entry-content > h1.wp-block-heading,
.is-root-container > h1.wp-block-post-title, 
.entry-content > h1.wp-block-post-title
{
    padding-left: calc(20% - 16px);
    position: relative;
    margin-top: var(--wp--custom--line-height-xs);
}

.is-root-container > h1.wp-block-heading::before, 
.entry-content > h1.wp-block-heading::before,
.is-root-container > h1.wp-block-post-title::before, 
.entry-content > h1.wp-block-post-title::before
 {
    content: "";
    height: 2px;
    background-color: var(--wp--preset--color--orange);
    width: calc(20% - 8px);
    position: absolute;
    bottom: 0.2rem;
    left: 0;
}

/* Styles du h1 home */
.home.is-root-container > h1.wp-block-heading, 
.home .entry-content > h1.wp-block-heading
{
    padding-left: calc(40% - 48px);
    position: relative;
    margin-top: var(--wp--custom--line-height-l);
    margin-bottom: var(--wp--custom--line-height-xxl);

}

.home.is-root-container > h1.wp-block-heading::before, 
.home .entry-content > h1.wp-block-heading::before
{
    display: none;
}

h2.wp-block-heading.has-xl-font-size {
    margin-bottom: var(--wp--preset--spacing--40);
}

h1.pagetitle {
    padding-right: 400px;
}

.home h1.pagetitle {
    padding-right: 0;
}

@media screen and (min-width: 1921px) {
    .is-root-container > h1.wp-block-heading, 
    .entry-content > h1.wp-block-heading,
    .is-root-container > h1.wp-block-post-title, 
    .entry-content > h1.wp-block-post-title
    {
        padding-left: calc((var(--wp--custom--theme-width) * 20 / 100));
    }
    .home.is-root-container > h1.wp-block-heading, 
    .home .entry-content > h1.wp-block-heading
    {
        padding-left: calc((var(--wp--custom--theme-width) * 40 / 100));
    }
}


@media screen and (max-width: 1550px) {
    h1.pagetitle {
        padding-right: 350px;
    }
}

@media screen and (max-width: 1300px) {
    h1.pagetitle {
        padding-right: 0;
    }
}

@media screen and (max-width: 782px) {
    .is-root-container > h1.wp-block-heading, 
    .entry-content > h1.wp-block-heading,
    .is-root-container > h1.wp-block-post-title, 
    .entry-content > h1.wp-block-post-title
    {
        padding-left: 0;
        text-decoration: underline;
        text-decoration-color: var(--wp--preset--color--orange);
        text-decoration-thickness: 3px;
        text-underline-offset: 0.4rem;
    }

    .section-290 .is-root-container > h1.wp-block-heading, 
    .section-290 .entry-content > h1.wp-block-heading,
    .section-290 .is-root-container > h1.wp-block-post-title, 
    .section-290 .entry-content > h1.wp-block-post-title
    {
        text-decoration-color: var(--wp--preset--color--vertclair);
    }
    
    .section-577 .is-root-container > h1.wp-block-heading, 
    .section-577 .entry-content > h1.wp-block-heading,
    .section-577 .is-root-container > h1.wp-block-post-title, 
    .section-577 .entry-content > h1.wp-block-post-title
    {
        text-decoration-color: var(--wp--preset--color--vertfonce);
    }
    
    .section-401 .is-root-container > h1.wp-block-heading, 
    .section-401 .entry-content > h1.wp-block-heading,
    .section-401 .is-root-container > h1.wp-block-post-title, 
    .section-401 .entry-content > h1.wp-block-post-title
    {
        text-decoration-color: var(--wp--preset--color--bleuclair);
    }

    .is-root-container > h1.wp-block-heading::before, 
    .entry-content > h1.wp-block-heading::before,
    .is-root-container > h1.wp-block-post-title::before, 
    .entry-content > h1.wp-block-post-title::before {
        display: none;
    }

    .home.is-root-container > h1.wp-block-heading, 
    .home .entry-content > h1.wp-block-heading,
    .is-root-container > h1.wp-block-post-title, 
    .entry-content > h1.wp-block-post-title
    {
        padding-left: 0;
        text-decoration: none;
        margin-top: var(--wp--custom--line-height-l);
        margin-bottom: var(--wp--custom--line-height-xxl);

    }

    .wp-block-heading strong,
    .wp-block-post-title strong {
        display: block;
    }

}

@media screen and (max-width: 500px) {
    .home.is-root-container > h1.wp-block-heading, 
    .home .entry-content > h1.wp-block-heading,
    .is-root-container > h1.wp-block-post-title, 
    .entry-content > h1.wp-block-post-title
    {
        margin-top: var(--wp--custom--line-height-xxl);
    }

    h2 {
        font-size: 3rem !important;
        line-height: 3rem !important;
    }
}

@media screen and (max-width: 375px) {
    h2 {
        font-size: 2.5rem !important;
        line-height: 2.5rem !important;
    }
}