/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


:root {
	--color-light-pink: #F4ECED;
}

header {

}

a,
a:hover {
    color: inherit;
}

.text-pretty * {
  text-wrap: pretty;
}
.text-balance * {
  text-wrap: balance;
}


/* HEADINGS */
.elementor-heading-title {
	letter-spacing: -0.01em;
	text-wrap: balance;
}



/* TEXT EDITOR */
/* .e-loop-item .elementor-widget-theme-post-content, */
.elementor-widget-text-editor {
	h1,h2,h3,h4,h5,h6 {
		font-family: "Bricolage Grotesque", sans-serif;
	}
	
	p {
		text-wrap: pretty;
	}

	p,
	ul,
	ol {
		&:is(:last-child) {
			margin-bottom: 0;
		}

		&+* {
			margin-top: 1.3em;
		}
	}

	li:not(:last-child) {
		margin-bottom: 0.7em;
	}
}



/* PRETTY LINK STYLE */
.elementor-widget-text-editor a:not(.elementor-button),
p > a {
	color: inherit;
	text-decoration: none;
	background-position-y: 0.9em;
	background-image: linear-gradient(
		transparent 10%, 
		var(--e-global-color-accent) 10%,
		var(--e-global-color-accent) 13%,
		var(--color-light-pink) 13%
	);
	background-size: auto 200%;
	background-repeat: no-repeat;
	transition: background-position-y .2s ease;

	&:hover {
		background-position-y: 50%;
	}
}

footer {
	a {
		&:hover {
			text-decoration: underline;
			text-decoration-color: white;
		}
	}
}




/* CAPTIONS */
figcaption {
	font-size: 0.9rem;
    font-style: normal;
	text-align: left;

	&.wp-caption-text {
		margin-top: 0.4em;
	}
}



/* BUTTONS */

.elementor-widget-button {
	a {
		transition: all .3s ease-in-out;
	}
	
	&.btn-invert a.elementor-button {
		background-color: white;
		color: var(--e-global-color-accent);
		
		&:hover {
			background-color: var(--color-light-pink);
		}
	}
	&.btn-sm a {
		font-size: 0.75rem;
	}
	&.btn-lg a {
		padding: 1em 2.5em;
	}
	&.disabled a {
		pointer-events: none;
	}
}


/* CONTAINER SPACING OVERRIDES */
.pt-0 {
	--padding-block-start: 0 !important;
}
.pb-0 {
	--padding-block-end: 0 !important;
}


/* IMAGES */
.img-square    img { aspect-ratio:    1; }
.img-landscape img { aspect-ratio:  4/3; }
.img-portrait  img { aspect-ratio:  3/4; }
.img-wide      img { aspect-ratio: 16/9; }
.img-tall      img { aspect-ratio: 9/16; }


