/* Hide blocks per language: add class rb-only-en / rb-only-de (e.g. Elementor → Advanced → CSS Classes).
   The language is set on <html data-rb-lang="…"> by JavaScript before the page is painted. */
html[data-rb-lang="de"] .rb-only-en,
html[data-rb-lang="en"] .rb-only-de { display: none !important; }

/* Wrappers added by the plugin itself do not affect the layout. */
.rb-wrap { display: contents; }

.rb-switcher.rb-buttons {
	display: inline-flex;
	gap: 2px;
	padding: 3px;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid rgba(20, 30, 60, 0.18);
	font: 600 13px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.rb-switcher .rb-switch {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 999px;
	color: #1d2744;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}
.rb-switcher .rb-switch:hover { background: rgba(29, 39, 68, 0.08); color: #1d2744; }
.rb-switcher .rb-switch.is-active { background: #1d2744; color: #ffffff; }
.rb-switcher .rb-switch:focus-visible { outline: 2px solid #3b6fe0; outline-offset: 2px; }

.rb-switcher.rb-floating {
	position: fixed;
	bottom: calc(18px + env(safe-area-inset-bottom, 0px));
	z-index: 99999;
	box-shadow: 0 4px 16px rgba(20, 30, 60, 0.16);
}
.rb-floating.rb-pos-right { right: 18px; }
.rb-floating.rb-pos-left { left: 18px; }

.rb-dropdown .rb-select {
	padding: 6px 28px 6px 10px;
	border-radius: 6px;
	border: 1px solid rgba(20, 30, 60, 0.25);
	font-size: 14px;
	background-color: #fff;
	color: #1d2744;
}

@media (prefers-reduced-motion: reduce) {
	.rb-switcher .rb-switch { transition: none; }
}
