/**
 * EMD Locale List Elementor widget — base layout (Elementor controls add the rest).
 */

.emdle-locale-widget {
	box-sizing: border-box;
}

.emdle-locale-widget--editor-placeholder {
	padding: 12px 16px;
	border: 1px dashed rgba(128, 128, 128, 0.45);
	border-radius: 4px;
	background: rgba(128, 128, 128, 0.06);
	font-size: 13px;
	line-height: 1.4;
}

.emdle-locale-widget--editor-placeholder-text {
	opacity: 0.75;
}

.emdle-locale-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.emdle-locale-item a {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.emdle-locale-empty {
	margin: 0;
}

/* Accordion: transparent panel, black header/chevron defaults, opacity-only hover */
.emdle-locale-accordion {
	background: transparent;
}

.emdle-locale-accordion-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	justify-items: start;
	width: 100%;
	background: transparent;
}

.emdle-locale-accordion-header {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	width: max-content;
	max-width: 100%;
	gap: 0.5rem;
	padding: 0.5rem 0;
	margin: 0;
	border: none;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	color: #000;
	cursor: pointer;
	text-align: left;
	font: inherit;
	line-height: 1.3;
	opacity: 1;
	transition: opacity 0.2s ease;
	-webkit-tap-highlight-color: transparent;
	appearance: none;
}

.emdle-locale-accordion-header:hover {
	background: transparent;
	color: #000;
	box-shadow: none;
	outline: none;
	opacity: 0.75;
}

.emdle-locale-accordion-header:focus {
	background: transparent;
	color: #000;
	box-shadow: none;
	outline: none;
}

.emdle-locale-accordion-header:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.emdle-locale-accordion-header:active {
	background: transparent;
}

.emdle-locale-accordion-icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #000;
	transition: transform 0.2s ease;
}

.emdle-locale-accordion--open .emdle-locale-accordion-icon-wrap {
	transform: rotate(180deg);
}

.emdle-locale-accordion-icon-fallback {
	display: inline-block;
	width: 0.5em;
	height: 0.5em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	margin-bottom: 0.15em;
}

.emdle-locale-accordion-body {
	display: none;
	overflow: hidden;
	width: 100%;
	min-width: 0;
	justify-self: stretch;
}

.emdle-locale-accordion--open .emdle-locale-accordion-body {
	display: block;
}

.emdle-locale-accordion-body .emdle-locale-list {
	margin-top: 0.25rem;
}
