/**
 * Elementor wrapper bridge for first-party KIROSAV widgets.
 * Component defaults remain in the shared design-system stylesheets; this file
 * only normalizes Elementor wrappers and applies opt-in control variables.
 */

.elementor-widget[class*="elementor-widget-kirosav_"] {
	min-width: 0;
	text-align: var(--ki-widget-align, inherit);
	width: 100%;
}

.elementor-widget[class*="elementor-widget-kirosav_"] > .elementor-widget-container {
	margin: 0;
	min-width: 0;
	padding: 0;
	width: 100%;
}

/* Elementor adds editing handles around every widget. They must never become
 * layout participants or acquire intrinsic heights from component media. */
body.elementor-editor-active .elementor-widget[class*="elementor-widget-kirosav_"] {
	align-self: stretch;
	flex: 0 0 auto;
}

body.elementor-editor-active .elementor-widget[class*="elementor-widget-kirosav_"] > .elementor-widget-container > :first-child {
	width: 100%;
}

.ki-brand__logo {
	display: block;
	flex: 0 0 auto;
	height: auto;
	max-height: 4.1rem;
	object-fit: contain;
	width: auto;
}

.ki-brand--footer .ki-brand__logo {
	max-height: 5.5rem;
}

@media (max-width: 1024px) {
	.ki-brand__logo {
		max-height: 3.4rem;
	}
}

@media (max-width: 767px) {
	.ki-brand__logo {
		max-height: 3.15rem;
	}

	.ki-brand--footer .ki-brand__logo {
		max-height: 4.65rem;
	}
}
