/* ===== Language switcher (EN | کوردی) ===== */
.dt-lang{
	float:left;
	display:flex;
	align-items:center;
	gap:2px;
	height:70px;
	margin:0 8px 0 0;
}
.dt-lang-btn{
	display:inline-block;
	padding:6px 11px;
	border-radius:16px;
	font-size:12px;
	font-weight:700;
	line-height:1.2;
	color:inherit;
	opacity:.75;
	background:rgba(128,128,128,.16);
	transition:.2s;
}
.dt-lang-btn:hover{ opacity:1; background:rgba(128,128,128,.28); }
.dt-lang-btn.active{ opacity:1; background:var(--dt-accent,#408BEA); color:#fff; }
/* mobile header: one small button in the free space between the (centred) logo and the search icon */
.dt-lang-mobile{
	float:none;
	position:absolute;
	top:0;
	right:56px;
	left:auto;
	height:auto;
	margin:0;
	padding:12px 0;
}
.dt-lang-mobile .dt-lang-btn{ padding:5px 12px; min-width:44px; text-align:center; }

/* ===== Kurdish (RTL) ===== */
body.dt-lang-ckb,
body.dt-lang-ckb input,
body.dt-lang-ckb select,
body.dt-lang-ckb textarea,
body.dt-lang-ckb button{
	font-family:'Noto Sans Arabic','Roboto',Tahoma,Arial,sans-serif;
}
/* our header icons follow the logo on the right-hand side */
html[dir="rtl"] .dt-notify,
html[dir="rtl"] .dt-colorpicker,
html[dir="rtl"] .dt-lang{ float:right; }
html[dir="rtl"] .dt-notify{ margin:0 0 0 8px; }
html[dir="rtl"] .dt-lang{ margin:0 0 0 8px; }
/* the latin letters of "EN" keep their own direction */
.dt-lang-btn[data-lang="en"]{ direction:ltr; unicode-bidi:isolate; }
/* home extras */
html[dir="rtl"] .dt-trend-item .n{ left:auto; right:-6px; }
html[dir="rtl"] .dt-trend-item span{ text-align:left; }
html[dir="rtl"] .dt-trend{ padding-left:0; padding-right:8px; }
html[dir="rtl"] .dt-ticker i,
html[dir="rtl"] .dt-filter-apply i,
html[dir="rtl"] .dt-random-btn i{ margin-left:6px; margin-right:0; }

/* very small phones: make the mobile button a bit smaller so it never touches the logo */
@media (max-width:340px){
	.dt-lang-mobile{ right:54px; }
	.dt-lang-mobile .dt-lang-btn{ padding:4px 7px; min-width:0; font-size:11px; }
}
