/**
 * Update-safe visual corrections for Licht & Schatten.
 * This file is loaded after the Kimono parent theme styles.
 */

/* Preserve the 241:64 logo ratio in the full-screen page loader. */
.pxl-loader.style-home-assistant .loader-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(80vw, 241px);
}

.lus-blog-heading {
	margin: 0 0 48px;
}

.lus-blog-heading h1 {
	margin-bottom: 14px;
}

.lus-blog-heading p {
	max-width: 760px;
	margin-bottom: 0;
}

.pxl-loader.style-home-assistant .loader-logo img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 241 / 64;
	object-fit: contain;
}

/*
 * The homepage testimonial row is a flex container. Prevent it from shrinking
 * the 69px avatar width independently of its height, which created an oval.
 */
.elementor-element-2104bb9 .pxl-testimonial-carousel1 .pxl-item--by .item-avatar {
	box-sizing: border-box;
	flex: 0 0 69px;
	width: 69px;
	min-width: 69px;
	height: 69px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
}

.elementor-element-2104bb9 .pxl-testimonial-carousel1 .pxl-item--by .item-avatar img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center;
}

/* Curated, contextual internal links appended to selected editorial pages. */
.lus-related-content {
	width: min(1170px, calc(100% - 40px));
	margin: 56px auto;
	padding: 30px;
	border: 1px solid rgba(24, 57, 82, 0.18);
	background: #f7f8f9;
}

.lus-related-content h2 {
	margin: 0 0 18px;
	font-size: clamp(24px, 3vw, 34px);
}

.lus-related-content ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px 28px;
	margin: 0;
	padding-left: 20px;
}

.lus-related-content a {
	color: #183952;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

@media (max-width: 767px) {
	.lus-related-content {
		width: min(100% - 24px, 1170px);
		margin: 38px auto;
		padding: 22px;
	}

	.lus-related-content ul {
		grid-template-columns: 1fr;
	}
}
