/* ============================================
   Top Bar
   ============================================ */

.ra-topbar {
	background: var(--ra-red); /* #be2a08 */
	color: #fff;
	font-family: var(--ra-font-ui);
	font-size: 14px;
}

.ra-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--ra-space-4);
	min-height: 42px;
}

.ra-topbar__left {
	display: flex;
	align-items: center;
	gap: var(--ra-space-5);
}

.ra-topbar__right {
	display: flex;
	align-items: center;
}

.ra-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255,255,255,0.95);
	font-weight: 500;
}
.ra-topbar__item:hover { color: var(--ra-mint); }
.ra-topbar__item .ra-icon { color: rgba(255,255,255,0.9); }

.ra-lang-switcher {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #fff;
	font-size: 13px;
}

/* TranslatePress baseline */
.ra-lang-switcher .trp-language-switcher,
.ra-lang-switcher .trp-ls-shortcode-language {
	background: transparent !important;
	color: #fff !important;
	border: 1px solid rgba(255,255,255,0.35) !important;
	border-radius: var(--ra-radius-sm);
	padding: 4px 10px;
	font-size: 13px;
	font-family: var(--ra-font-ui);
	cursor: pointer;
}
.ra-lang-switcher .trp-ls-shortcode-language:hover {
	border-color: #fff !important;
	background: rgba(255,255,255,0.15) !important;
}

/* GTranslate fallback select */
.ra-lang-switcher--gt select,
.ra-lang-switcher select {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255,255,255,0.35);
	border-radius: var(--ra-radius-sm);
	padding: 4px 10px;
	font-size: 13px;
	font-family: var(--ra-font-ui);
	cursor: pointer;
}
.ra-lang-switcher select option { color: #333; background: #fff; }

.ra-lang-switcher img {
	display: inline-block;
	vertical-align: middle;
	border-radius: 2px;
}
.ra-lang-switcher--missing {
	opacity: 0.6;
	font-size: 18px;
	padding: 0 4px;
}

@media (max-width: 720px) {
	.ra-topbar__inner {
		flex-wrap: wrap;
		padding-block: 6px;
	}
	.ra-topbar__left {
		gap: var(--ra-space-4);
		flex-wrap: wrap;
	}
	.ra-topbar__item span { font-size: 12px; }
}

@media (max-width: 480px) {
	.ra-topbar__item span { display: none; }
	.ra-topbar__item .ra-icon { width: 18px; height: 18px; }
}
