/* In-article translator strip — free Google Language Translator */
/* Updated: share inside strip + bottom share — sws-article-share 2026-09-19c */
.glt-article-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin: 12px 0 18px;
	padding: 10px 14px;
	background: #f3f4f6;
	border-left: 4px solid #e62128;
	border-radius: 0 4px 4px 0;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.glt-article-strip__label {
	font-size: 14px;
	line-height: 1.4;
	color: #333;
	font-weight: 600;
	flex: 1 1 180px;
}

.glt-article-strip__widget {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	flex: 0 1 auto;
	min-width: 0;
}

/* Top share: right of translator inside strip */
.glt-article-strip .sws-article-share--top {
	display: flex !important;
	align-items: center;
	margin: 0 0 0 auto !important;
	padding: 0;
	clear: none;
	flex: 0 0 auto;
	position: relative !important;
	z-index: 2;
}

/* Override plugin global #flags{display:none} inside the strip only */
.glt-article-strip #flags,
.glt-article-strip #flags ul,
.nbg-glt-strip #flags,
.frr-glt-strip #flags {
	display: block !important;
	float: none !important;
	clear: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.glt-article-strip #flags ul {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

.glt-article-strip #flags li {
	display: inline-block !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.glt-article-strip #flags li:before {
	content: none !important;
}

.glt-article-strip #flags a {
	display: inline-block !important;
	visibility: visible !important;
}

.glt-article-strip #google_language_translator {
	display: block !important;
	float: none !important;
	width: auto !important;
	max-width: 100%;
	margin: 0 !important;
}

.glt-article-strip #google_language_translator select.gt_selector,
.glt-article-strip select.gt_selector {
	max-width: 100%;
	min-width: 140px;
	width: auto !important;
	float: none !important;
}

/* Narrow: label full width; widget + share on ONE row, share right */
@media (max-width: 600px) {
	.glt-article-strip {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"label label"
			"widget share";
		align-items: center;
		column-gap: 10px;
		row-gap: 10px;
		padding: 10px 12px;
	}
	.glt-article-strip__label {
		grid-area: label;
		flex: none;
		width: auto;
	}
	.glt-article-strip__widget {
		grid-area: widget;
		flex: none;
		width: auto;
		min-width: 0;
		flex-wrap: nowrap;
	}
	.glt-article-strip .sws-article-share--top {
		grid-area: share;
		margin-left: 0 !important;
		justify-self: end;
	}
	.glt-article-strip #google_language_translator select.gt_selector,
	.glt-article-strip select.gt_selector {
		min-width: 100px;
		max-width: 130px;
	}
}

/* Belt-and-suspenders: floating button must stay off sitewide */
#glt-translate-trigger,
#glt-toolbar {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Super Web Share button chrome */
.sws-article-share .sws_supernormalaction,
.sws-article-share .sws_superaction {
	position: static !important;
	bottom: auto !important;
	right: auto !important;
	left: auto !important;
	display: block !important;
	margin: 0 !important;
	z-index: auto !important;
}
.sws-article-share .superwebshare_prompt,
.sws-article-share .superwebshare_normal_button1,
.sws-article-share .superwebshare_tada {
	position: relative !important;
	font-size: 14px !important;
	line-height: 1.2 !important;
	padding: 8px 16px !important;
	border-radius: 4px !important;
	min-height: 40px !important;
	height: auto !important;
	width: auto !important;
	min-width: 0 !important;
	text-indent: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	visibility: visible !important;
	opacity: 1 !important;
}
.sws-article-share .superwebshare_prompt span {
	display: inline !important;
	text-indent: 0 !important;
}

/* Bottom share bar — after article body */
.sws-article-share--bottom {
	display: flex !important;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0 8px;
	padding: 16px 0 8px;
	border-top: 1px solid #e5e7eb;
	clear: both;
	position: relative !important;
	z-index: 2;
}
.sws-article-share__label {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	line-height: 1.3;
}

/* Kill Jannah share UI everywhere */
.share-buttons,
.share-buttons-top,
.share-buttons-bottom,
.share-buttons-mobile,
.share-buttons-sticky,
.mobile-share-buttons-spacer,
body.has-mobile-share .share-buttons-mobile {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}
