:root {
	--container: clamp(28.125rem, 100% - 10rem, 72.389rem);
}

html {
	font-size: 18px;
	font-family: "Manrope", Sans-serif, serif;
}

ul {
	padding-inline-start: 1.75rem;

	&:not(:last-child) {
		margin-block-end: 1rem;
	}
	
	li {
		line-height: 2em;
	}

	li::marker {
		color: var(--e-global-color-accent);
	}
}

.elementor-kit-7 {
	p:has(~ ul) {
		margin-bottom: 1rem;
	}

	p:last-child {
		margin-bottom: 0;
	}
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vH;
	font-size: 1rem;
}

.elementor-location-header,
body > div[data-elementor-type='header'] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9;
}

main.site-main,
body > div[data-elementor-type='wp-page'] > *:first-child {
	flex: 1;
	/*padding-top: clamp(11.5rem, 9.354rem + 4.478vw, 13rem);*/
}

body:not([class*=elementor-page-]) .site-main {
	padding: 13.889rem 1rem 5.4rem;
	max-width: 100%;

	.page-header {
		padding-inline: 0;
	}

	.page-content,
	.page-header > .entry-title {
		max-width: var(--container);
		margin: 0 auto;
		padding-inline: 0;
	}
}

body:not(.elementor-page) > .elementor-location-single > .e-con >  .elementor-widget-theme-post-content,
.page-header .entry-title, 
.site-footer .footer-inner, 
.site-footer:not(.dynamic-footer), 
.site-header .header-inner, 
.site-header:not(.dynamic-header) {
	max-width: var(--container);
	width: 100%;
	margin: 0 auto;
}

body:not(.elementor-page) > .elementor-location-single > .e-con {
	padding: 0 1rem 5rem;
}

.page-header, .site-footer, .site-footer:not(.dynamic-footer), .site-header, .site-header:not(.dynamic-header) {
	padding-inline: 1rem;
}

.e-con-boxed {
	/*padding-inline: 1rem;*/
	--padding-left: 1rem;
	--padding-right: 1rem;
	padding-inline: 1rem;
}

img {
	display: block;
}

select {
	border: initial;
	cursor: pointer;
	font-size: 16px;
	padding: 0.8em 1em 0.95em;
}

textarea {
	resize: vertical;
	display: block;
}

.elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

.elementor-heading-title > a {
	font-weight: inherit;
}

.elementor-heading-title > a,
.elementor-icon-list-item > a {
	color: inherit;
	text-decoration: inherit;
	line-height: inherit;
}

.elementor-heading-title > a,
.elementor-widget-text-editor p a {
	line-height: inherit;
	font-size: inherit;
	transition: color .25s;
}

#breadcrumbs > span,
.elementor-heading-title > a:hover,
.elementor-widget-text-editor p a:hover,
.elementor-icon-list-item > a:hover {
	color: var(--e-global-color-accent);
}

#breadcrumbs a,
#breadcrumbs > span > span {
	color: var(--e-global-color-text);
	text-decoration-color: rgba(255, 255, 255, 0.44);
	transition: color .25s;
}

#breadcrumbs a:hover {
	color: var(--e-global-color-accent);
}

#breadcrumbs > span > span {
	margin-inline: .5rem;

	&:first-child {
		margin-inline-start: 0;
	}

	&:last-child {
		margin-inline-end: 0;
	}
}

.elementor-widget-wp-widget-nav_menu {
	h5 {
		font-size: 17px;
		margin-bottom: .9rem;
		margin-top: 0;
		line-height: 1.2em;
	}

	ul {
		list-style: none;
		padding-left: 0;
	}

	li {
		margin-bottom: .65rem;
		line-height: 1.2em;
	}

	a {
		color: #fff;
		text-decoration: none;
		transition: color .25s;
		font-size: 17px;
		font-weight: 800;

		&:hover {
			color: var(--e-global-color-accent);
		}
	}
}

.elementor-widget-wp-widget-nav_menu:has(h5) {
	li {
		margin-bottom: .8rem;
	}

	a {
		font-size: 16px;
		font-weight: 600;
	}
}

.elementor-accordion-item {
	border-radius: .25rem;
	overflow: hidden;

	&:not(:last-child) {
		margin-bottom: 1.45rem;
	}
}

.elementor-accordion-title {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.7rem;

	img {
		max-width: 3.24rem;
		width: 100%;
	}
}

.elementor-post-info__terms-list {
	font-size: 0;
}

.elementor-post-info__terms-list-item {
	display: inline-block !important;
	font-size: 14px !important;
	padding: .25em .9em;
	background: var(--e-global-color-accent);
	border-radius: .25rem;

	&:not(:last-child) {
		margin-right: .5rem;
	}
}

.single-post .elementor-post-info__terms-list-item {
	padding: .5em 1.85em;
}

a.elementor-post-info__terms-list-item {
	text-decoration: none;
}

.single-post .elementor-widget-theme-post-content p:first-child {
	font-size: 1.111rem;
}

.elementor-widget-theme-post-content {
	img {
		border-radius: .25rem;
	}
}

.elementor-pagination {
	display: flex;
	align-items: center;
	justify-content: center;

	& > * {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 30px !important;
		line-height: 22px !important;
		padding: .25rem;
		background: var(--e-global-color-text);
		border-radius: .25rem;
		color: var(--e-global-color-dd3c8ca) !important;
		font-size: 20px !important;
	}

	& > .page-numbers.next,
	& > .page-numbers.prev {
		background: var(--e-global-color-accent);
	}
}

.wpcf7-form {
	display: flex;
	flex-wrap: wrap;
	gap: 1.1rem 1rem;
	color: var(--e-global-color-dd3c8ca);
}

.form-item {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
}

.form-label {
	padding-bottom: .4rem;
}

.popup-form {
	max-width: 32.1rem;
	margin: 0 auto;
}

.elementor-kit-7 .popup-form .wpcf7-submit {
	background: var(--e-global-color-dd3c8ca);
	font-size: 1rem;
	color: var(--e-global-color-text);

	&:hover {
		border-color: var(--e-global-color-dd3c8ca);
		color: var(--e-global-color-dd3c8ca);
	}
}

.dialog-lightbox-close-button {
	padding: .25rem;
	border-radius: 3rem;
}

@media (min-width: 768px) {
	.form-item {
		&.half {
			width: calc(50% - .5rem);
		}

		&.third {
			width: calc(33.33% - .666rem);
		}
	}
}

@media (max-width: 1366px) {
	html {
		font-size: 16px;
	}
}

@media (max-width: 767px) {
	.elementor-widget-wp-widget-nav_menu {
		text-align: center;
	}
}
