/*
Color variables from theme.json

--wp--preset--color--black
--wp--preset--color--dark-grey
--wp--preset--color--blue-grey
--wp--preset--color--medium-grey
--wp--preset--color--white-grey
--wp--preset--color--red
--wp--preset--color--white

*/

/*
Font variables from theme.json

--wp--preset--font-family--playfair-display
--wp--preset--font-family--plus-jakarta
--wp--preset--font-family--lora

*/

/* #region paragraphs */

.elementor-widget-theme-post-content p,
.wp-block-paragraph
{
    font-family: var(--wp--preset--font-family--lora);
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--wp--preset--color--black);
    margin-block-end: 1.25rem;
    text-align: justify;
    text-wrap: pretty;
}

.has-text-align-left {
    text-align: left!important;
}

.has-text-align-right {
    text-align: right!important;
}

.has-text-align-center {
    text-align: center!important;
}

/* #endregion */

/* #region links */

.elementor-widget-theme-post-content p a,
.wp-block-paragraph a
{
    color: var(--wp--preset--color--black);
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: var(--wp--preset--color--red);
    transition: color 0.3s ease;
}

.elementor-widget-theme-post-content p a:hover {
    color: var(--wp--preset--color--dark-grey);
}

/* #endregion */

/* #region Headings */

h1,
h1.wp-block-heading {
    font-family: var(--wp--preset--font-family--playfair-display);
    color: var( --e-global-color-primary );
    line-height: 1.35em;
    font-weight: 600;
    font-size: 2.75rem;
    margin-block: 0 1.375rem;
}

h1.wp-block-heading {
    text-align: center;
}

h2.wp-block-heading,
h3.wp-block-heading,
h4.wp-block-heading,
h5.wp-block-heading,
h6.wp-block-heading {
    font-family: var(--wp--preset--font-family--plus-jakarta);
    line-height: 1.35em;
    margin-block: 2rem 1rem;
    /* text-wrap: balance; */
}

h2.wp-block-heading{

    font-size: 1.5rem;
    font-weight: 800;

}

h3.wp-block-heading{
    font-size: 1.75rem;
    font-weight: 700;

}

h4.wp-block-heading{
    font-size: 1.5rem;
    font-weight: 700;
    
}

h5.wp-block-heading{
    
}

h6.wp-block-heading{
    
}

.wp-block-heading {
  /* text-align: center; */
}

.wp-block-heading.has-text-align-left {
  text-align: left;
}

.wp-block-heading.has-text-align-right {
  text-align: right;
}


h2.elementor-heading-title,
h3.elementor-heading-title,
h4.elementor-heading-title,
h5.elementor-heading-title,
h6.elementor-heading-title {
    /* text-align: left; */
}

@media(max-width: 767px){


    h1,
    h1.wp-block-heading {
        font-size: 2rem;
    }
	
	h2.wp-block-heading {
		font-size: 1.625rem;
	}

    h3.wp-block-heading{
        font-size: 1.5rem;
    }

    h4.wp-block-heading{
        font-size: 1.25rem;        
    }

    h5.wp-block-heading{
        
    }

    h6.wp-block-heading{
        
    }
	
}

/* #endregion */

/* #region Dropcap */

.has-drop-cap:not(:focus):first-letter {
    font-family: var(--wp--preset--font-family--playfair-display);
    font-size: 5.25rem;
    margin-right: 0.125rem;
}

/* #endregion */

/* #region figures */

figcaption.wp-element-caption,
p.is-style-caption
{
    font-size: 0.75rem;
    line-height: 1.35em;
    font-weight: 400;
    font-style: normal;
    font-family: var(--wp--preset--font-family--plus-jakarta);
    color: var(--wp--preset--color--dark-grey);
    text-align: center;
}

p.is-style-caption {
    margin-bottom: 1em;
    margin-top: .5em;
}

figcaption.wp-element-caption a,
p.is-style-caption a
{
    text-decoration: underline;
    color: var(--wp--preset--color--dark-grey);
    transition-duration: 0.3s;
    font-weight: 400;
}

.wp-block-image {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.wp-block-image:first-child {
    margin-top: 0;
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
        font-size: 0.75rem;
        background: transparent;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* #endregion */

/* #region [block-quote] */

blockquote.wp-block-quote {
    margin-top: 4.5rem;
    margin-bottom: 3rem;
    position: relative;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

blockquote.wp-block-quote:before {
    content: "“";
    font-family: var(--wp--preset--font-family--playfair-display);
    font-size: 6rem;
    line-height: 0;
    font-weight: 600;
    position: absolute;
    left: 0;
    right: 0;
    top: -0.5rem;
    color: var(--wp--preset--color--red);
    text-align: center;
}

blockquote.wp-block-quote p {
    font-family: var(--wp--preset--font-family--playfair-display);;
    font-size: 1.563rem;
    font-weight: 400;
    line-height: 1.5em;
    text-align: center;
    text-wrap: balance;
    color: var(--wp--preset--color--black);
}

@media(max-width: 767px){

    blockquote.wp-block-quote p {
        font-size: 1.312rem;
    }

}

/* #endregion */

/* #region [wp-block-list] */

.wp-block-list {
    font-family: var(--wp--preset--font-family--lora);
    font-size: 1.125rem;
    line-height: 1.35em;
    margin-bottom: 1.25rem;
}

/* #endregion */
