/* Custom styles for gutenberg blocks. */
/* .mv-singular [class*="wp-block-"] {
	margin-top: var(--default-wp-block-margin-top-bottom);
	margin-bottom: var(--default-wp-block-margin-top-bottom);
} */

.has-white-color {
	color: var(--white);
}
.has-white-background-color {
	background-color: var(--white);
}
.has-black-color {
	color: var(--black);
}
.has-black-background-color {
	background-color: var(--black);
}
.has-light-grey-color {
	color: var(--light-grey);
}
.has-light-grey-background-color {
	background-color: var(--light-grey);
}
.has-bright-cyan-color {
	color: var(--bright-cyan);
}
.has-bright-cyan-background-color {
	background-color: var(--bright-cyan);
}
.has-water-blue-color {
	color: var(--water-blue);
}
.has-water-blue-background-color {
	background-color: var(--water-blue);
}
.has-light-navy-color {
	color: var(--light-navy);
}
.has-light-navy-background-color {
	background-color: var(--light-navy);
}

.entry-content > [class*="wp-block"],
.entry-content > iframe {
	margin-top: var(--default-wp-block-margin-top-bottom);
	margin-bottom: var(--default-wp-block-margin-top-bottom);
}
.entry-content .wp-block-columns {
	gap: var(--default-text-margin); 
}

.entry-content p,
.editor-styles-wrapper .is-root-container p {
	margin-top: var(--default-text-margin);
	margin-bottom: var(--default-text-margin);
}
.entry-content ul,
.entry-content ol,
.editor-styles-wrapper .is-root-container ul,
.editor-styles-wrapper .is-root-container ol {
	margin-top: var(--default-text-margin);
	margin-bottom: var(--default-text-margin);
}

.entry-content :first-child,
.editor-styles-wrapper .is-root-container :first-child {
	margin-top: 0;
}
.entry-content :last-child,
.editor-styles-wrapper .is-root-container :last-child {
	margin-bottom: 0;
}
.entry-content .magazines-wrapper {
	padding-top: 0;
	padding-bottom: 0;
	margin-top: var(--default-text-margin);
	/* margin-bottom: var(--default-text-margin); */
}

p.has-background,
.wp-block-quote.has-background,
.wp-block-group.has-background ,
.wp-block-columns.has-background,
.wp-block-column.has-background
{
	padding: 20px;
}

figure.wp-block-gallery.has-nested-images {
	margin-left: auto;
	margin-right: auto;
}

.wp-block-quote {
	padding-left: 20px;
	border-left: 4px solid var(--water-blue);
	margin: var(--default-text-margin);
}

figcaption {
	font-style: italic;
	font-size: var(--small-font-size);
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	padding: 8px;
	overflow: hidden;
	margin: 0;
	font-style: normal;
}

.wp-block-cover-image h1:not(.has-text-color),
.wp-block-cover-image h2:not(.has-text-color),
.wp-block-cover-image h3:not(.has-text-color),
.wp-block-cover-image h4:not(.has-text-color),
.wp-block-cover-image h5:not(.has-text-color),
.wp-block-cover-image h6:not(.has-text-color),
.wp-block-cover-image p:not(.has-text-color),
.wp-block-cover h1:not(.has-text-color),
.wp-block-cover h2:not(.has-text-color),
.wp-block-cover h3:not(.has-text-color),
.wp-block-cover h4:not(.has-text-color),
.wp-block-cover h5:not(.has-text-color),
.wp-block-cover h6:not(.has-text-color),
.wp-block-cover p:not(.has-text-color) {
	color: var(--white);
}

.wp-block-media-text.is-stacked-on-mobile {
	row-gap: 20px;
	padding-bottom: 20px;
}

.wp-block-separator {
	border: none;
	height: 2px;
	background-color: var(--water-blue);
	color: var(--water-blue);
	width: 100px;
	margin-left: auto;
	margin-right: auto;
}
.wp-block-separator.is-style-wide {
	max-width: 600px;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}
.wp-block-separator.is-style-dots {
	width: 100%;
}

.mv-singular iframe {
	width: 100%;
	border: none;
	display: block;
}

.wp-block-button.is-style-fill .wp-element-button,
.editor-styles-wrapper .wp-block-button.is-style-fill .wp-element-button {
	background-color: var(--light-navy);
	font-size: 16px;
	font-weight: var(--strong-font-weight);
	line-height: 1;
	padding: 20px 30px 20px 30px;
	border-radius: 5px;
}
.wp-block-button.is-style-outline .wp-element-button,
.editor-styles-wrapper .wp-block-button.is-style-outline .wp-element-button {
	border-color: var(--light-navy);
	font-size: 16px;
	font-weight: var(--strong-font-weight);
	line-height: 1;
	padding: 20px 30px 20px 30px;
	border-radius: 5px;
	color: var(--light-navy);
}
.wp-block-button.is-style-esun-whatsapp-button .wp-element-button,
.editor-styles-wrapper .wp-block-button.is-style-esun-whatsapp-button .wp-element-button {
	background-color: #26D366;
    border-radius: 5px;
	box-shadow: var(--default-box-shadow);
	position: relative;
	color: var(--light-navy);
	font-size: 16px;
	font-weight: var(--strong-font-weight);
	line-height: 1;
	padding: 20px 30px 20px 70px;

}
.is-style-esun-whatsapp-button .wp-element-button::before {
	content: '';
	background: url('../img/icone-whatsapp-light-navy.svg');
	background-size: contain;
	background-repeat: no-repeat;
	width: 30px;
	height: 30px;
	display: block;
	position: absolute;
	top: 50%;
	left: 30px;
	transform: translateY(-50%);
}

@media only screen and (min-width: 1025px) {
	.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
		padding: 16px 10px;
		font-style: italic;
		font-weight: var(--strong-font-weight);
	}
	.wp-block-media-text.is-stacked-on-mobile {
		padding-bottom: 0;
	}
}
