/* Base element styles: the Elementor kit globals applied to plain elements. */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	color: var(--aew-color-text);
	font-family: var(--aew-font-text);
	font-size: var(--aew-text-size);
	font-weight: var(--aew-text-weight);
	line-height: var(--aew-text-line);
	background: var(--aew-color-white);
	-webkit-font-smoothing: auto;
}

a {
	color: var(--aew-color-text);
}

a:hover {
	color: var(--aew-color-link-hover);
}

h1, h2, h3, h4, h5, h6 {
	color: var(--aew-color-primary);
	font-weight: 700;
	margin-block: 0;
}

h1 { font-family: var(--aew-font-heading); font-size: var(--aew-h1-size); line-height: var(--aew-h1-line); }
h2 { font-family: var(--aew-font-heading); font-size: var(--aew-h2-size); line-height: var(--aew-h2-line); }
h3 { font-family: var(--aew-font-accent);  font-size: var(--aew-h3-size); line-height: var(--aew-h3-line); }
h4 { font-family: var(--aew-font-accent);  font-size: var(--aew-h4-size); line-height: var(--aew-h4-line); }
h5 { font-family: var(--aew-font-accent);  font-size: var(--aew-h5-size); line-height: var(--aew-h5-line); }
h6 { font-family: var(--aew-font-accent);  font-size: var(--aew-h6-size); line-height: var(--aew-h6-line); }

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

/* Kit button */
.aew-btn {
	display: inline-block;
	background-color: var(--aew-color-accent);
	border: 2px solid var(--aew-color-accent);
	border-radius: 0;
	color: var(--aew-color-white);
	font-family: var(--aew-btn-font);
	font-size: var(--aew-btn-size);
	font-weight: var(--aew-btn-weight);
	line-height: 1;
	padding: var(--aew-btn-pad);
	text-align: center;
	text-decoration: none;
	transition: all .3s;
}

.aew-btn:hover,
.aew-btn:focus {
	color: var(--aew-color-white);
}

/* Boxed content width, matching Elementor's boxed container (1240px incl. 10px padding each side). */
.aew-container {
	width: 100%;
	max-width: var(--aew-container);
	margin-inline: auto;
	padding-inline: 10px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--aew-color-light);
	clip: auto !important;
	clip-path: none;
	color: var(--aew-color-primary);
	display: block;
	font-size: 1rem;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 12px 24px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

:focus-visible {
	outline: 2px solid var(--aew-color-accent);
	outline-offset: 2px;
}
