/* Golden Life Spain language switcher: language codes, not country flags. */
.gls-has-language-switcher nav.trp-floating-switcher {
	top: 142px !important;
	right: 24px !important;
	left: auto !important;
	bottom: auto !important;
	width: auto !important;
	padding: 4px !important;
	overflow: visible;
	background: rgba( 12, 35, 53, 0.92 ) !important;
	border: 1px solid rgba( 227, 180, 109, 0.72 ) !important;
	border-radius: 999px !important;
	box-shadow: 0 12px 32px rgba( 3, 17, 28, 0.24 );
	backdrop-filter: blur( 10px );
	-webkit-backdrop-filter: blur( 10px );
}

.gls-has-language-switcher nav.trp-floating-switcher .trp-language-switcher-inner {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 2px;
}

.gls-has-language-switcher nav.trp-floating-switcher .trp-language-item {
	min-width: 32px;
	min-height: 32px;
	justify-content: center;
	padding: 0 9px;
	border-radius: 999px;
	background: transparent;
	transition: background-color 180ms ease, color 180ms ease;
}

.gls-has-language-switcher nav.trp-floating-switcher .trp-language-item-name {
	color: #ffffff;
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.gls-has-language-switcher nav.trp-floating-switcher .trp-language-item:hover,
.gls-has-language-switcher nav.trp-floating-switcher .trp-language-item[aria-current="page"] {
	background: #ffd796;
}

.gls-has-language-switcher nav.trp-floating-switcher .trp-language-item:hover .trp-language-item-name,
.gls-has-language-switcher nav.trp-floating-switcher .trp-language-item[aria-current="page"] .trp-language-item-name {
	color: #13293d;
}

.gls-has-language-switcher nav.trp-floating-switcher .trp-flag-image {
	display: none !important;
}

.gls-has-language-switcher nav.trp-floating-switcher .trp-language-item:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

/* On smaller screens the site selector belongs to the header and scrolls
 * away with it, so it does not cover forms, cards or the chat. */
@media ( max-width: 991px ) {
	.gls-has-language-switcher nav.trp-floating-switcher {
		position: absolute !important;
	}
}

@media ( max-width: 767px ) {
	.gls-has-language-switcher nav.trp-floating-switcher {
		top: 86px !important;
		right: 14px !important;
	}

	.gls-has-language-switcher nav.trp-floating-switcher .trp-language-item {
		min-width: 29px;
		min-height: 29px;
		padding: 0 7px;
	}
}

body.admin-bar.gls-has-language-switcher nav.trp-floating-switcher {
	top: 174px !important;
}

@media ( max-width: 782px ) {
	body.admin-bar.gls-has-language-switcher nav.trp-floating-switcher {
		top: 132px !important;
	}
}
