#weglot{
	position: fixed;
	left: 35px;
	bottom: -1.5px;
	width: 100px;
	z-index: 999;
	border-radius: 0px !important;
}

body{
	background-color: white;
	overflow-x: hidden;
}

.section-hyperlink{
	cursor: pointer;
	text-decoration: underline;
}

.section-container{
	padding: 20px 20%;
	text-align: left;
	background-size: cover;
}

.white-container{
	background: #fff;
}

.offwhite-container{
	background: #f5f5f5;
}

.section-container.tight-top{
	padding-top: 0px;
}

.example-list{
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}

.example-list .list-element{
	list-style: none;
}

.example-list .list-element h4{
	text-align: center;
}

.list-element{
	padding: 2px 0;
	font-size: 17px;
	text-align: left;
}

.section-description{
	font-size: 17px;
	color: #000;
	text-align: left;
	margin: 10px 0;
}

/* Paragraphs inside sections */
.section-container p{
	font-size: 17px;
	color: #000;
	text-align: left;
	line-height: 1.6;
}

/* Headings */
h1{
	font-size: 40px;
	color: #000;
	font-weight: bold;
	text-align: left;
	padding: 20px 20% 0px 20%;
	margin-bottom: 0;
}

h2{
	font-size: 30px;
	text-align: left;
	color: #1356A4;
	font-weight: bold;
	padding: 10px 0;
	margin: 0;
}

h3{
	font-size: 26px;
	text-align: left;
	color: #000;
	font-weight: bold;
	margin: 10px 0 10px 0;
}

h4{
	font-size: 20px;
	text-align: left;
	color: #000;
	font-weight: bold;
	margin: 12px 0 6px 0;
}

/* Images inside sections */
.section-container img{
	display: block;
	max-width: calc(80% - 200px);
	height: auto;
	margin: 10px auto 20px auto;
	border-radius: 12px;
}

/* Mosaic before/after slider */
.mosaic-compare{
	position: relative;
	display: block;
	max-width: calc(80% - 200px);
	margin: 10px auto 20px auto;
	overflow: hidden;
	border-radius: 12px;
	aspect-ratio: 3 / 2; /* keep a stable, taller height on large screens */
	--mosaic-position: 50%;
}

.mosaic-compare__picture{
	position: absolute;
	inset: 0;
	display: block;
}

.mosaic-compare__picture img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: none; /* override section img max-width so it fills the slider */
	border-radius: 0; /* radius handled by .mosaic-compare */
	user-select: none;
	-webkit-user-drag: none;
	-webkit-touch-callout: none;
	pointer-events: none; /* interactions go through to the handle/slider */
	margin: 0;
}

/* Mosaic layer sits on the bottom, original sits on top and is clipped */
.mosaic-compare__picture--mosaic{
	z-index: 1;
}

.mosaic-compare__picture--original{
	z-index: 2; /* top layer */
}

.mosaic-compare__picture--original img{
	/* Show original image on the right, reveal mosaic on the left */
	/* Slight negative top/right inset avoids 1px bleed of mosaic on top/right edges */
	clip-path: inset(-1px -1px 0 var(--mosaic-position));
	-webkit-clip-path: inset(-1px -1px 0 var(--mosaic-position));
}

.mosaic-compare__slider{
	position: absolute;
	inset: 0;
	width: 100%;
	margin: 0;
	cursor: ew-resize;
	background: transparent;
	opacity: 0;
	-webkit-appearance: none;
	appearance: none;
	pointer-events: none;
}

.mosaic-compare__slider::-webkit-slider-thumb{
	-webkit-appearance: none;
	appearance: none;
}

.mosaic-compare__slider::-moz-range-thumb{
	border: none;
}

.mosaic-compare__handle{
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--mosaic-position);
	width: 0;
	border-left: 2px solid rgba(255,255,255,0.9);
	box-shadow: 0 0 0 1px rgba(0,0,0,0.3);
	pointer-events: auto; /* allow dragging by the circle/line */
	z-index: 3; /* ensure slider handle is in front of images */
}

.mosaic-compare__handle::before{
	content: '';
	position: absolute;
	top: 50%;
	left: -22.5px; /* center a 44px circle on the handle line */
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #FFF url("https://cdn.picturemosaics.com/photo-mosaic-tool/svg/cd-arrows.svg") no-repeat center center;
	box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.2),
				0 0 10px rgba(0, 0, 0, 0.6),
				inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Fullscreen / enlarged view */
.mosaic-compare__fullscreen{
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 4;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	background: rgba(0,0,0,0.6);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	cursor: pointer;
	padding: 0;
}

.mosaic-compare__fullscreen:focus-visible{
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.mosaic-compare-backdrop{
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.mosaic-compare-modal{
	position: relative;
	width: min(90vw, 1200px);
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mosaic-compare.mosaic-compare--expanded{
	max-width: 100%;
	width: 100%;
	aspect-ratio: 3 / 2;
}

.mosaic-compare__close{
	position: absolute;
	top: 15px;  /* moved 3px down */
	right: 6px; /* moved 1px to the right */
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	background: rgba(0,0,0,0.7);
	color: #ffffff;
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
}

.mosaic-compare__close:focus-visible{
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

/* Hide fullscreen button when slider is expanded in modal */
.mosaic-compare--expanded .mosaic-compare__fullscreen{
	display: none;
}

.container{
	width: 100%;
	margin: 0;
	justify-content: center;
	margin: 0 auto;
}

.contain{
	position: absolute !important;
	left: 0 !important;
	width: 100vw !important;
	overflow: hidden;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

@media (max-width: 767px){
	body{
		overflow-x: hidden;
		width: 100%;
	}
	.container{
		overflow-x: hidden;
		width: 100vw;
	}
}

@media (min-width: 2000px){
	h1{
		padding: 20px 30% 0px 30%;
	}
	.section-container{
		padding: 20px 30%;
	}
	.section-container.tight-top{
		padding: 10px 30% 20px 30%;
	}
}

@media (max-width: 900px){
	h1{
		padding: 0 6%;
	}
	.section-container{
		padding: 15px 6%;
	}
	.section-container.tight-top{
		padding-top: 8px;
	}
	.section-container img,
	.mosaic-compare{
		max-width: 100%;
	}
}

