/* WFA 272 switchers v1.2.1: language + currency in the header bar,
   and no down arrows on the top-level menu on wide screens.
   The controls reuse 044's .wfa-lang styles from wfa-chrome.css, so the
   two look like one family; only the differences are here. */

.wfa-switchers {
	display: flex;
	align-items: center;
	align-self: center;
}

.wfa-switchers__lang {
	display: flex;
	align-items: center;
}

/* Currency sits right after language: no second divider, less gap. */
.wfa-lang.wfa-cur {
	margin-left: .35rem;
	padding-left: .35rem;
}

.wfa-lang.wfa-cur::before {
	display: none;
}

/* Without JavaScript nothing can be converted, so don't offer it. */
.wfa-cur {
	display: none;
}

.wfa-js .wfa-lang.wfa-cur {
	display: flex;
}

.wfa-cur__toggle {
	gap: .3rem;
}

.wfa-cur__sym {
	opacity: .6;
	letter-spacing: 0;
}

/* Options are buttons (they change the page, they don't go anywhere),
   dressed exactly like the language links. */
.wfa-cur__opt {
	display: flex;
	width: 100%;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin: 0;
	padding: var(--wfa-panel-row-y, .5rem) 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--wfa-text, #14171a);
	font-family: var(--wfa-ui, system-ui, sans-serif);
	font-size: .86rem;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
}

.wfa-cur__opt:hover,
.wfa-cur__opt:focus,
.wfa-cur__opt:focus-visible {
	background: transparent;
	color: var(--wfa-text, #14171a);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.wfa-cur__opt:focus-visible {
	outline: 2px solid var(--wfa-text, #14171a);
	outline-offset: 2px;
}

.wfa-cur__opt[aria-current="true"] {
	font-weight: 600;
}

.wfa-cur__iso {
	font-size: .72rem;
	letter-spacing: .08em;
	color: var(--wfa-muted, #5f6a70);
}

.wfa-cur__list {
	min-width: 240px;
}

/* Both panels: the same inset on all four sides. Something earlier in
   the cascade zeroes the left padding of the language panel, which put
   its text against the border. */
.wfa-switchers .wfa-lang__list {
	padding-left: var(--wfa-panel-inset, 1.5rem);
	padding-right: var(--wfa-panel-inset, 1.5rem);
}

/* GeneratePress hides every list inside .main-navigation on phones until
   the menu is opened, which included these panels. An open panel shows. */
.main-navigation .wfa-switchers details[open] > .wfa-lang__list {
	display: block;
}

/* v1.1: the full list. A filter box that stays at the top while the
   list scrolls under it, and small headings between the two groups. */
.wfa-cur__list {
	max-height: min(420px, 70vh);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-top: 0;
}

.wfa-cur__list [hidden] {
	display: none !important;
}

.main-navigation .wfa-switchers .wfa-cur__list > .wfa-cur__filter {
	position: sticky;
	top: 0;
	z-index: 1;
	margin: 0 calc(-1 * var(--wfa-panel-inset, 1.5rem));
	padding: .9rem var(--wfa-panel-inset, 1.5rem) .5rem;
	background: var(--wfa-panel-bg, #faf7f2);
	list-style: none;
}

.wfa-switchers input.wfa-cur__q {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: .5rem .65rem;
	border: 1px solid var(--wfa-panel-border, #e2dcd2);
	border-radius: 0;
	background: #fff;
	color: var(--wfa-text, #14171a);
	font-family: var(--wfa-ui, system-ui, sans-serif);
	font-size: 16px; /* 16px or iPhones zoom in on focus */
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}

.wfa-switchers input.wfa-cur__q:focus {
	background: #fff;
	border-color: var(--wfa-text, #14171a);
	outline: 1px solid var(--wfa-text, #14171a);
	outline-offset: -2px;
}

.wfa-cur__head {
	padding: .9rem 0 .2rem;
	font-family: var(--wfa-ui, system-ui, sans-serif);
	font-size: .68rem;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--wfa-muted, #5f6a70);
	list-style: none;
}

.wfa-cur__list--none::after {
	content: "No match";
	display: block;
	padding: .6rem 0 .9rem;
	font-size: .86rem;
	color: var(--wfa-muted, #5f6a70);
}

.home .wfa-cur__opt {
	color: var(--wfa-text, #14171a);
}

/* A converted amount: the pound figure is in its title. */
.wfa-cur-x {
	white-space: nowrap;
}

/* Wide screens: no down arrows on the top-level items. The menus still
   open on hover and focus; the label's own padding replaces the
   arrow's on the right so the items stay evenly spaced. */
@media (min-width: 769px) {
	.main-navigation .main-nav > ul > li.menu-item-has-children > a > .dropdown-menu-toggle {
		display: none;
	}

	.main-navigation .main-nav > ul > li.menu-item-has-children > a {
		padding-right: var(--wfa-nav-pad, .8rem);
	}

	.wfa-switchers .wfa-lang:first-child {
		margin-left: .5rem;
		padding-left: .9rem;
	}
}

/* Small tablets and narrow windows, just above the phone menu: the bar
   is at its tightest, so the items close up a little more and the globe
   drops out (the EN / ES code stays), or the controls would wrap onto a
   second line. */
@media (min-width: 769px) and (max-width: 940px) {
	html:root {
		--wfa-nav-pad: .42rem;
	}

	.wfa-switchers .wfa-lang__globe {
		display: none;
	}

	.wfa-switchers .wfa-lang:first-child {
		margin-left: .3rem;
		padding-left: .6rem;
	}
}

/* Phones: both controls sit beside the menu button, so keep them tight,
   and open the currency panel from the right edge so it stays on screen. */
@media (max-width: 768px) {
	.wfa-lang.wfa-cur {
		margin-left: .15rem;
		padding-left: .15rem;
	}

	.wfa-cur__list {
		left: auto;
		right: -3.5rem;
		min-width: 220px;
	}

	.wfa-switchers .wfa-lang__list {
		padding-left: 1.1rem;
		padding-right: 1.1rem;
	}

	.wfa-switchers .wfa-lang__item a {
		padding-left: 0;
		padding-right: 0;
	}

	.wfa-cur__opt {
		padding: 1rem 0;
		font-size: .95rem;
		border-bottom: 1px solid var(--wfa-panel-border, #e2dcd2);
	}
}

/* v1.2: Google's translate widget runs hidden. Its banner bar, the
   tooltip and highlight it adds on hover, and the 40px it pushes the
   page down by all go; the globe control is the only UI. */
.goog-te-banner-frame,
iframe.skiptranslate,
body > .skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-te-spinner-pos,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-yAWNEb-L7lbkb,
#wfa-gt {
	display: none !important;
}

html.wfa-gt-on body {
	top: 0 !important;
	position: static !important;
}

.goog-text-highlight {
	background: none !important;
	box-shadow: none !important;
}

/* v1.2.1: translated labels run longer. The footer's one-line buttons
   ("All tools" -> "Todas las herramientas") pushed phone pages sideways,
   so on a translated page they may wrap. */
html.wfa-gt-on .wfa-sitefooter a,
html.wfa-gt-on .wfa-sitefooter__cta {
	white-space: normal;
	text-align: center;
}
