:root {
	--niftee-content-width: 1400px;
}

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

html {
	min-height: 100%;
	-webkit-text-size-adjust: 100%;
}

body {
	min-height: 100%;
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.5;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas {
	display: block;
	max-width: 100%;
	height: auto;
}

svg {
	display: block;
}

.elementor-shape svg {
	max-width: none;
}

button,
input,
select,
textarea {
	font: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 5px;
	left: 5px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 15px 23px 14px;
	clip: auto;
	background: #fff;
	color: #000;
	font-weight: 700;
	text-decoration: none;
}

.niftee-site-main {
	width: 100%;
}

.niftee-fallback-wrap {
	width: min(100% - 2rem, var(--niftee-content-width));
	margin-inline: auto;
	padding-block: 3rem;
}

.niftee-fallback-header,
.niftee-fallback-footer {
	width: min(100% - 2rem, var(--niftee-content-width));
	margin-inline: auto;
	padding-block: 1rem;
}

.niftee-fallback-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.niftee-fallback-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.niftee-entry + .niftee-entry {
	margin-top: 2rem;
}

.niftee-elementor-content {
	width: 100%;
}

/* Elementor Text Editor compatibility. */
.elementor .elementor-widget-text-editor p:first-child {
	margin-top: 0 !important;
}

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