/* Hedea-Tłumaczenia – przełącznik języków */
.hedea-switcher {
	list-style: none;
	margin: 0;
	padding: 0;
}
.hedea-switcher__item {
	margin: 0 0 6px;
	padding: 0;
}
.hedea-switcher a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
}
.hedea-switcher--inline {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	align-items: center;
}
.hedea-switcher--inline .hedea-switcher__item {
	margin: 0;
}
.hedea-switcher .current-lang > a {
	font-weight: 700;
}
.hedea-switcher .no-translation > a {
	opacity: 0.75;
}
.hedea-switcher__select {
	min-width: 140px;
}
.hedea-flag {
	width: 20px;
	height: 15px;
	object-fit: cover;
	border-radius: 2px;
	vertical-align: middle;
	display: inline-block;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.lang-item .hedea-flag {
	margin-right: 6px;
}
.hedea-switcher-block.alignright .hedea-switcher--inline {
	justify-content: flex-end;
}
.hedea-switcher-block.aligncenter .hedea-switcher--inline {
	justify-content: center;
}
.hedea-flag.hedea-flag--custom {
	object-fit: contain;
	box-shadow: none;
	border-radius: 0;
}

/* Warianty wyświetlania */
.hedea-switcher--flag .hedea-flag {
	width: 24px;
	height: 18px;
}
.hedea-switcher .hedea-lang-name {
	line-height: 1.2;
}
.hedea-switcher--code .hedea-lang-name,
.hedea-switcher--flag-code .hedea-lang-name {
	font-weight: 600;
	letter-spacing: 0.03em;
}

/* Lista rozwijana z flagami */
.hedea-switcher--dropdown {
	position: relative;
}
.hedea-dd {
	position: relative;
	display: inline-block;
}
.hedea-dd__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	list-style: none;
	padding: 6px 10px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 6px;
	background: #fff;
	color: inherit;
	user-select: none;
}
.hedea-dd__toggle::-webkit-details-marker {
	display: none;
}
.hedea-dd__arrow {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	margin-left: 2px;
	transition: transform 0.15s;
}
.hedea-dd[open] .hedea-dd__arrow {
	transform: rotate(180deg);
}
.hedea-dd__menu {
	position: absolute;
	z-index: 9999;
	top: calc(100% + 4px);
	left: 0;
	min-width: 100%;
	margin: 0;
	padding: 4px;
	list-style: none;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 6px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	box-sizing: border-box;
	white-space: nowrap;
}
.hedea-dd__menu .hedea-switcher__item {
	margin: 0;
}
.hedea-dd__menu a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 4px;
	color: inherit;
}
.hedea-dd__menu a:hover,
.hedea-dd__menu a:focus {
	background: rgba(0, 0, 0, 0.06);
}
.hedea-switcher-block.alignright .hedea-dd__menu {
	left: auto;
	right: 0;
}
