/**
 * Structural Service Switcher CSS.
 *
 * Blocksy 2.1.x only keeps the first declaration in each dynamic-css put().
 * These rules must not live only in that injector or the menu stays open with
 * default list bullets.
 */

.ct-header-service-switcher {
	overflow: visible;
}

.pioneer-service-switcher {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 100%;
	box-sizing: border-box;
}

.pioneer-service-switcher__control {
	position: relative;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.pioneer-service-switcher__toggle {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	text-align: left;
	font: inherit;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
}

.pioneer-service-switcher__title {
	display: block;
	width: 100%;
	margin: 0;
}

.pioneer-service-switcher__current-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	width: fit-content;
	max-width: 100%;
}

.pioneer-service-switcher__current {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin: 0;
}

.pioneer-service-switcher__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	line-height: 0;
	transition: transform 0.15s ease;
}

.pioneer-service-switcher__control.is-open .pioneer-service-switcher__icon {
	transform: rotate(180deg);
}

.pioneer-service-switcher__icon-svg,
.pioneer-service-switcher__icon-img {
	display: block;
	object-fit: contain;
}

.pioneer-service-switcher__icon-svg path {
	fill: currentColor;
}

.pioneer-service-switcher__menu {
	position: absolute;
	z-index: 200;
	top: 100%;
	left: 0;
	margin: 0;
	padding-inline-start: 0;
	width: 100%;
	list-style: none;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(6px);
	transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
	box-sizing: border-box;
}

.pioneer-service-switcher__menu-item {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pioneer-service-switcher__control:hover .pioneer-service-switcher__menu,
.pioneer-service-switcher__control.is-open .pioneer-service-switcher__menu,
.pioneer-service-switcher__control:focus-within .pioneer-service-switcher__menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.pioneer-service-switcher__link {
	display: block;
	text-decoration: none;
}
