.langswitch-wrap {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 40px;
	width: min(100%, 1280px);
	max-width: 1280px;
	margin: 40px auto 0;
	margin-left: auto !important;
	margin-right: auto !important;
	align-self: center;
	float: none;
	background: transparent !important;
	box-sizing: border-box;
}

.langswitch-grid {
	display: flex;
	padding: 32px;
	align-items: flex-start;
	align-content: flex-start;
	gap: 24px 32px;
	align-self: stretch;
	flex-wrap: wrap;
	width: 100%;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.7);
	box-sizing: border-box;
}

.langchange {
	display: flex;
	position: relative;
	width: calc((100% - (32px * 3)) / 4);
	flex: 0 0 calc((100% - (32px * 3)) / 4);
	padding: 16px;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	border-radius: 12px;
	border: 1.5px solid transparent;
	background: transparent;
	min-height: 102px;
	color: #171717;
	box-sizing: border-box;
}

.langchange--interactive {
	cursor: pointer;
}

.langchange--languages-only {
	cursor: default;
}

.langchange:hover,
.langchange:focus-within,
.langchange.active {
	border-color: rgba(23, 23, 23, 0.08);
	outline: none;
}

.langchange__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.langchange__flag {
	display: block;
	width: 28.8px;
	height: 16px;
	object-fit: cover;
}

.langchange__name {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.32px;
	color: #171717;
}

.langchange__languages {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.28px;
	color: #171717 !important;
}

.langchange__language {
	position: relative;
	color: #171717 !important;
	-webkit-text-fill-color: #171717;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	padding-bottom: 4px;
	transition: color 220ms ease;
}

.langchange__language::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 2px;
	width: 0;
	height: 6px;
	background: #a3ff8c;
	transition: width 220ms ease;
}

.langchange__language:hover::after,
.langchange__language:focus-visible::after {
	width: 100%;
}

.langchange__language:hover,
.langchange__language:focus-visible,
.langchange__language:visited,
.langchange__language:active {
	color: #171717 !important;
	-webkit-text-fill-color: #171717;
}

.langchange--interactive:focus-visible {
	outline: 1px solid rgba(23, 23, 23, 0.12);
	outline-offset: 2px;
}

.langchange__language:focus-visible {
	outline: none;
}

@media (max-width: 1280px) {
	.langswitch-wrap {
		width: min(100%, calc(100% - 48px));
		max-width: 100%;
	}

	.langswitch-grid {
		padding: 24px;
		gap: 24px;
	}

	.langchange {
		width: calc((100% - (24px * 2)) / 3);
		flex: 0 0 calc((100% - (24px * 2)) / 3);
	}
}

@media (max-width: 820px) {
	.langswitch-wrap {
		width: min(100%, calc(100% - 32px));
		margin: 16px auto 0;
		gap: 24px;
	}

	.langswitch-grid {
		padding: 16px;
		gap: 12px;
		border-radius: 16px;
	}

	.langchange {
		width: calc((100% - 16px) / 2);
		flex: 0 0 calc((100% - 16px) / 2);
	}
}

@media (max-width: 360px) {
	.langswitch-wrap {
		width: min(100%, calc(100% - 24px));
	}

	.langswitch-grid {
		padding: 16px;
		gap: 8px;
	}

	.langchange {
		width: 100%;
		flex: 0 0 100%;
	}
}

.et_pb_section:has(.langswitch-wrap),
.et_pb_row:has(.langswitch-wrap),
.et_pb_column:has(.langswitch-wrap),
.et_pb_module:has(.langswitch-wrap),
.et_pb_text:has(.langswitch-wrap) {
	background: transparent !important;
}

.et_pb_row:has(.langswitch-wrap) {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.et_pb_column:has(.langswitch-wrap),
.et_pb_module:has(.langswitch-wrap),
.et_pb_code_inner:has(.langswitch-wrap) {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
