/* Ezidi Times Multilingual — public language controls */
.etm-language-switcher{
	position:relative;
	z-index:10020;
	flex:0 0 auto;
	font:inherit;
	color:inherit;
}
.etm-language-switcher summary{
	list-style:none;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:.38rem;
	height:40px;
	min-width:58px;
	padding:0 10px;
	box-sizing:border-box;
	cursor:pointer;
	border:1px solid var(--et-border,rgba(127,127,127,.24));
	border-radius:999px;
	background:var(--et-surface-soft,rgba(127,127,127,.06));
	white-space:nowrap;
	font-size:12px;
	font-weight:750;
	letter-spacing:.035em;
	transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
.etm-language-switcher summary::-webkit-details-marker{display:none}
.etm-language-switcher summary:hover,
.etm-language-switcher summary:focus-visible,
.etm-language-switcher[open] summary{
	background:var(--et-accent-soft,rgba(127,127,127,.11));
	border-color:var(--et-accent-deep,rgba(127,127,127,.38));
}
.etm-language-switcher summary:hover{transform:translateY(-1px)}
.etm-language-switcher summary:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.etm-globe{display:inline-grid;place-items:center;width:19px;height:19px;line-height:1}
.etm-globe svg{display:block;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.etm-current{line-height:1}
.etm-current-code{display:none}
.etm-chevron{font-size:11px;line-height:1;opacity:.68;transform:translateY(-1px)}
.etm-language-menu{
	position:absolute;
	top:calc(100% + 8px);
	right:0;
	width:min(244px,calc(100vw - 24px));
	max-height:min(68vh,560px);
	overflow:auto;
	overscroll-behavior:contain;
	padding:7px;
	box-sizing:border-box;
	background:var(--et-surface,#fff);
	color:var(--et-text,#171717);
	border:1px solid var(--et-border,rgba(127,127,127,.22));
	border-radius:12px;
	box-shadow:0 18px 50px rgba(0,0,0,.16);
}
.etm-language-option{
	display:flex;
	justify-content:space-between;
	align-items:center;
	gap:12px;
	min-height:38px;
	padding:8px 10px;
	box-sizing:border-box;
	border-radius:8px;
	color:inherit!important;
	text-decoration:none!important;
	font-size:13px;
	font-weight:560;
}
.etm-language-option:hover,
.etm-language-option:focus-visible{background:rgba(127,127,127,.10)}
.etm-language-option:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
.etm-language-option.is-current{font-weight:780;background:rgba(127,127,127,.08)}
.etm-language-option small{font-size:9px;text-transform:uppercase;letter-spacing:.09em;opacity:.62}

/* The header control is deliberately persistent at every viewport width. */
.header-actions>.etm-language-switcher{display:block!important;visibility:visible!important;opacity:1!important}
.header-actions{flex-wrap:nowrap!important}

/* Compact the permanent header control before the theme swaps to its mobile nav. */
@media(max-width:1320px){
	.header-actions>.etm-language-switcher .etm-current-full{display:none}
	.header-actions>.etm-language-switcher .etm-current-code{display:inline}
	.header-actions>.etm-language-switcher summary{min-width:58px;padding-inline:9px}
}
@media(max-width:520px){
	.header-actions{gap:5px!important}
	.header-actions>.etm-language-switcher summary{width:40px;min-width:40px;padding:0}
	.header-actions>.etm-language-switcher .etm-current-code,
	.header-actions>.etm-language-switcher .etm-chevron{display:none}
	.header-actions>.etm-language-switcher .etm-language-menu{right:0}
}

/* A second, full-width language control remains available inside the drawer. */
.etm-mobile-switcher{margin:10px 18px 8px}
.etm-mobile-switcher summary{
	width:100%;
	min-width:0;
	justify-content:flex-start;
	padding:0 12px;
}
.etm-mobile-switcher .etm-current-full{display:inline}
.etm-mobile-switcher .etm-current-code{display:none}
.etm-mobile-switcher .etm-chevron{margin-left:auto}
.etm-mobile-switcher .etm-language-menu{
	position:relative;
	top:6px;
	right:auto;
	left:auto;
	width:100%;
	max-height:42vh;
	box-shadow:none;
}

/* Last-resort adapter if a future theme removes .header-actions. */
.etm-switcher-fallback{
	position:fixed;
	top:12px;
	right:12px;
	z-index:99999;
	background:var(--et-surface,#fff);
	border-radius:999px;
	box-shadow:0 8px 25px rgba(0,0,0,.15)
}
body.admin-bar .etm-switcher-fallback{top:44px}

html[dir="rtl"] body.etm-rtl{direction:rtl;text-align:right}
html[dir="rtl"] .etm-language-menu{right:auto;left:0}
html[dir="rtl"] .footer-explore-arrow,html[dir="rtl"] .text-link span[aria-hidden="true"]{transform:scaleX(-1)}
.etm-unavailable-notice{padding:9px 0;background:#f6f1e8;border-bottom:1px solid rgba(127,127,127,.18);font-size:13px;font-weight:600}.etm-unavailable-notice .shell{margin-inline:auto}


/* Multilingual homepage: preserve the publication's section architecture before content exists. */
.etm-home-empty{
	display:flex;
	align-items:center;
	justify-content:center;
	min-height:118px;
	padding:24px;
	box-sizing:border-box;
	border:1px dashed var(--et-border,rgba(127,127,127,.28));
	border-radius:12px;
	background:var(--et-surface-soft,rgba(127,127,127,.035));
	color:var(--et-text-muted,#6f6a66);
	text-align:center;
	font-size:13px;
	line-height:1.55;
}
.etm-home-empty-lead{min-height:280px}
.etm-home-empty p{margin:0;max-width:44rem}
.scholarly-ad.etm-unavailable-link,
.scholarly-ad .etm-unavailable-link{cursor:default}
