/* Shared by all homepages; no Tailwind rebuild or Netlify build step required. */
header .flex-shrink-0 { align-items: center; }
.language-dropdown { position: relative; margin-inline-start: .75rem; font-size: .875rem; line-height: 1.5; font-weight: 400; }
.language-dropdown summary { display: flex; align-items: center; gap: .3rem; cursor: pointer; list-style: none; padding: .5rem; border: 1px solid #8090a4; border-radius: 5px; color: white; white-space: nowrap; }
.language-dropdown summary::-webkit-details-marker { display: none; }
.language-dropdown[open] summary { background: #163859; }
.language-dropdown nav { position: absolute; top: calc(100% + .5rem); left: 0; width: 10rem; padding: .35rem; border: 1px solid #d1d5db; border-radius: 6px; background: white; box-shadow: 0 6px 18px #0003; text-align: start; z-index: 60; }
.language-dropdown nav a { display: block; padding: .6rem .75rem; border-radius: 3px; color: #002147; text-decoration: none; }
.language-dropdown nav a:hover, .language-dropdown nav a:focus-visible { background: #eaf0f6; }
.language-dropdown nav a[aria-current="page"] { font-weight: 700; background: #edf2f7; }
.language-dropdown summary:focus-visible, .language-dropdown a:focus-visible { outline: 2px solid #d9a441; outline-offset: 2px; }
html[dir="rtl"] .language-dropdown nav { left: auto; right: 0; }
.locale-note { max-width: 45rem; margin: 1rem auto 0; font-size: .875rem; line-height: 1.65; color: #4b5563; }
.guide-language { font-size: .85em; font-weight: 400; white-space: nowrap; }
html:not([lang="en"]) body { overflow-wrap: break-word; }
html:not([lang="en"]) #features > div > div { min-width: 0; }
html[dir="rtl"] body { font-family: Tahoma, Arial, sans-serif; line-height: 1.8; }
html[dir="rtl"] .text-left { text-align: right; }
html[dir="rtl"] header .flex-shrink-0 { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] header .space-x-6, html[dir="rtl"] header .space-x-4 { gap: 1rem; margin-inline: 0; }
html[dir="rtl"] header .space-x-6 > *, html[dir="rtl"] header .space-x-4 > * { margin: 0; }
html[dir="rtl"] #trust-signals .text-3xl.font-extrabold { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; display: inline-block; }
/* Longer localized labels use the existing mobile menu on medium-width screens. */
@media (min-width: 768px) and (max-width: 1279px) {
  header .hidden.md\:flex { display: none; }
  header .md\:hidden.flex { display: flex; }
  #mobile-menu:not(.hidden) { display: block; }
}
@media (max-width: 359px) { header .md\:hidden > a { display: none; } }
@media (max-width: 420px) { html[lang="ar"] h1 { line-height: 1.5; } }
