/* Accessible native language dropdown; links work without JavaScript. */
#worldforexnews-prototype .wfn-language-bar{display:flex;justify-content:flex-end;flex:0 0 auto;margin:0;padding:0;border:0;font:500 14px/1.4 Arial,Tahoma,sans-serif;background:transparent;color:var(--fx-text,#122b44);position:relative;z-index:70}
.wfn-language-dropdown{position:relative;min-width:116px}
.wfn-language-dropdown summary{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:44px;padding:8px 14px;box-sizing:border-box;border:1px solid var(--fx-line,#cbd5e1);border-radius:4px;cursor:pointer;list-style:none;user-select:none}
.wfn-language-dropdown summary::-webkit-details-marker{display:none}
.wfn-language-dropdown summary::after{content:"";width:7px;height:7px;border-right:2px solid;border-bottom:2px solid;transform:rotate(45deg);margin-top:-4px}
.wfn-language-dropdown[open] summary::after{transform:rotate(225deg);margin-top:4px}
.wfn-language-options{position:absolute;inset-inline-end:0;top:calc(100% + 6px);width:220px;max-width:calc(100vw - 28px);padding:6px;background:#10283d;border:1px solid #ffffff60;border-radius:8px;box-shadow:0 12px 30px #0005;box-sizing:border-box}
.wfn-language-options a{display:flex;align-items:center;min-height:44px;padding:8px 12px;box-sizing:border-box;color:#e2edf5;text-decoration:none;border-radius:4px;direction:ltr;unicode-bidi:isolate}
.wfn-language-options a[aria-current=page]{background:#e1f4f3;color:#0c3d40;font-weight:700}
.wfn-language-options a:hover{background:#ffffff25;color:#fff}
.wfn-language-dropdown summary:focus-visible,.wfn-language-options a:focus-visible{outline:2px solid #7dd3fc;outline-offset:2px}

html[dir=rtl] body{direction:rtl;font-family:Tahoma,Arial,sans-serif}
html[dir=rtl] .brand,html[dir=rtl] .brand-wordmark,html[dir=rtl] .brand-symbol{direction:ltr;unicode-bidi:isolate}
html[dir=rtl] .wfn-language-bar{justify-content:flex-start}
html[dir=rtl] .article-heading,html[dir=rtl] .article-body,html[dir=rtl] .article-deck,html[dir=rtl] .story-card,html[dir=rtl] .company-provider-card,html[dir=rtl] .footer{ text-align:right }
html[dir=rtl] .article-body p,html[dir=rtl] .article-deck,html[dir=rtl] .story-card p{line-height:1.9}
html[dir=rtl] .article-crumbs,html[dir=rtl] .article-byline,html[dir=rtl] .article-tags{direction:rtl}
html[dir=rtl] input[type=email],html[dir=rtl] input[type=url]{direction:ltr;text-align:left}
html[dir=rtl] .feature-count,html[dir=rtl] .calendar-time,html[dir=rtl] time{unicode-bidi:plaintext}
html[dir=rtl] .carousel-progress{direction:ltr}

/* The menu belongs to the sticky header, above its navigation and the page. */
#worldforexnews-prototype .wfn-language-dropdown summary{background:var(--fx-surface,#fff);color:var(--fx-text,#122b44);min-height:40px;font-size:.84rem;padding:7px 10px;gap:12px;white-space:nowrap}
#worldforexnews-prototype .wfn-language-options{z-index:100;max-height:calc(100dvh - 160px);overflow-y:auto;overscroll-behavior:contain}
@container worldforexnewslayout (min-width:741px) and (max-width:1160px){
 #worldforexnews-prototype .header-tools{grid-column:1 / -1;grid-row:2}
 #worldforexnews-prototype .primary-nav{grid-row:3}
}
@container worldforexnewslayout (max-width:740px){
 #worldforexnews-prototype .wfn-language-options{max-height:calc(100dvh - 220px)}
}

#worldforexnews-prototype .wfn-language-options a{color:#e2edf5}
#worldforexnews-prototype .wfn-language-options a[aria-current=page]{color:#0c3d40}
#worldforexnews-prototype .wfn-language-options a:hover{color:#fff;background:#ffffff25}

.wfn-language-short{display:none}
@container worldforexnewslayout (max-width:740px){
 #worldforexnews-prototype .header-tools{grid-template-columns:minmax(0,1fr) 44px 44px 58px;gap:6px}
 #worldforexnews-prototype .header-tools .wfn-language-bar{grid-column:4;grid-row:1;justify-self:stretch}
 #worldforexnews-prototype .wfn-language-dropdown{min-width:0;width:100%}
 #worldforexnews-prototype .wfn-language-dropdown summary{min-height:44px;padding:7px 8px;gap:7px;justify-content:center}
 #worldforexnews-prototype .wfn-language-full{display:none}
 #worldforexnews-prototype .wfn-language-short{display:inline;direction:ltr;unicode-bidi:isolate;font-weight:600}
 #worldforexnews-prototype .wfn-language-dropdown summary::after{width:5px;height:5px;flex:0 0 5px}
 #worldforexnews-prototype .header-tools .saved-link,
 #worldforexnews-prototype .header-tools .theme-toggle{width:44px;min-width:44px}
 #worldforexnews-prototype .app-window.nav-open .header-tools{grid-template-columns:minmax(0,1fr) 58px}
 #worldforexnews-prototype .app-window.nav-open .header-tools .wfn-language-bar{grid-column:2}
}
