/* 
===========================
    Text Block Styles  
===========================
*/

/* Paragraphe */

p {
    font-family: Manrope;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
    margin-top: 20px;
    text-align: justify;

}


/* titres */

.wp-block-heading {
    font-family: Manrope;
    font-style: normal;
    font-weight: 600;
}

h1.wp-block-heading {
    font-size: 40px;
    line-height: 50px;
    font-weight: 900;
}

h2.wp-block-heading {
    font-size: 30px;
    line-height: 40px;
    font-weight: 900;
}

h3.wp-block-heading {
    font-size: 24px;
    line-height: 30px;
    font-weight: 800;
}

h4.wp-block-heading {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
}

h5.wp-block-heading {
    font-size: 18px;
    line-height: 30px;
    font-weight: 700;
}

h6.wp-block-heading {
    font-size: 16px;
    line-height: 30px;
    font-weight: 700;
}


/* lorsqu'un element de titre en mis en gras, on lui ajoute une barre de soulignage derrière lui */
.wp-block-heading strong {
    position: relative;
    font-weight: 900;
}

.wp-block-heading strong::before {
    content: "";
    position: absolute;
    left: -2px;
    bottom: 5%;
    /* right: 0; */
    width: calc(100% + 4px);
    height: 50%;
    background-color: var(--healththeme-strong-color, rgba(157, 48, 48, 0.836));
    /* background-color: rgba(201, 112, 112, 0.50); */
    opacity: 0.3;
    transition: transform 0.3s ease-in-out;
    z-index: 0;
    border-radius: 2px;
}


/* liens */


/* liens dans du texte */
p a, li a {
    color: var(--healththeme-strong-color, #B46666);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    font-weight: 800;

    transition: all 0.2s ease-in-out;
}

p a:hover,
li a:hover {
    /* color: var(--healththeme-dark-color, #B46666); */
    text-decoration: underline;
    /* text-decoration-color: var(--healththeme-dark-color, #B46666); */
    text-decoration-thickness: 2px;
    filter: brightness(0.8);
}


/* blocs spéciaux */
p, a, li, span, div, input, textarea {
    font-size: inherit;
    font-family: inherit;
}


/* sur mobile */
@media (max-width: 768px) {
    h1.wp-block-heading {
        font-size: 30px;
        line-height: 40px;
        font-weight: 900;
    }

    h2.wp-block-heading {
        font-size: 24px;
        line-height: 30px;
        font-weight: 900;
    }

    h3.wp-block-heading {
        font-size: 20px;
        line-height: 30px;
        font-weight: 800;
    }

    h4.wp-block-heading {
        font-size: 18px;
        line-height: 30px;
        font-weight: 700;
    }

    h5.wp-block-heading {
        font-size: 16px;
        line-height: 30px;
        font-weight: 700;
    }

    h6.wp-block-heading {
        font-size: 14px;
        line-height: 30px;
        font-weight: 700;
    }
}
