/* Shared language switcher and flexible text sizing. */
.top { max-width: 1440px; width: 100%; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.top .text_1 { padding: 0; width: auto; height: auto; white-space: normal; font-size: 20px; margin-right: auto; }
.top a { flex-shrink: 0; }
.top a span { padding: 0; width: auto; height: auto; }
.language-selector { flex-shrink: 0; border: 1px solid #d1d5db; border-radius: 6px; background: white; color: #111827; padding: 7px; font-size: 14px; }
html[lang="en"] .paragraph_1 { width: 620px; height: auto; font-size: 38px; line-height: 1.2; }
html[lang="en"] .paragraph_2 { width: 620px; height: auto; }
html[lang="en"] .text-wrapper_3 { display: grid; grid-template-columns: 136px 150px 150px; width: 440px; }
html[lang="en"] .text-wrapper_3 span { width: auto; margin-left: 0; }
html[lang="en"] .box_2 { height: auto; align-items: stretch; }
html[lang="en"] .box_2 > div { height: auto; min-height: 380px; padding-bottom: 24px; }
html[lang="en"] .text_14, html[lang="en"] .text_16, html[lang="en"] .text_18 { width: auto; }
html[lang="en"] .text_15, html[lang="en"] .text_17, html[lang="en"] .text_19 { height: auto; min-height: 72px; }
html[lang="en"] .p-text-wrapper_2 .text_6, html[lang="en"] .p-text-wrapper_2 .text_7 { width: 90%; height: auto; white-space: normal; }
html[lang="en"] .p-text-wrapper_2 .text_6 { font-size: 48px; }
html[lang="en"] .p-text-wrapper_2 .text_7 { font-size: 20px; line-height: 1.35; }
html[lang="en"] .p-box_6 { height: auto; padding: 50px 20px; }
html[lang="en"] .p-text-wrapper_9, html[lang="en"] .p-text-wrapper_10 { width: auto; padding: 5px 18px; height: auto; margin: 0 auto; }
html[lang="en"] .p-text_26, html[lang="en"] .p-text_29 { width: auto; height: auto; margin: 0; }
html[lang="en"] .p-text-group_7 { width: min(100%, 800px); height: auto; margin: 20px auto; gap: 15px; }
html[lang="en"] .p-text_27, html[lang="en"] .p-text_28 { width: auto; height: auto; white-space: normal; margin: 0; }
html[lang="en"] .block_5 { height: auto; min-height: 220px; }
html[lang="en"] .text_41, html[lang="en"] .text-group_16 { white-space: normal; height: auto; }
html[lang="en"] .text_41 { font-size: 18px; line-height: 24px; }
html[lang="en"] .text-group_13 { height: auto; }
html[lang="en"] .text_42 { height: auto; }
html[lang="en"] .text-wrapper_7 { width: 100px; }
html[lang="en"] .text_51 { width: auto; margin: 8px; }
html[lang="en"] .app-filter { width: auto; justify-content: center; }
html[lang="en"] .app-tab { width: auto; padding: 0 15px; }
html[lang="en"] .app-tab span { width: auto; margin: 12px 0 0; }
html[lang="en"] .us-paragraph_1, html[lang="en"] [class^="us-text_"] { height: auto; white-space: normal; }
@media (max-width: 800px) {
  .text-wrapper_1 { height: auto; }
  .top { flex-wrap: wrap; justify-content: center; gap: 12px 18px; padding: 14px; }
  .top .text_1 { flex-basis: 100%; text-align: center; margin: 0; }
  .language-selector { margin-left: 0; }
}
/* Keep the navigation links and language control on the same center line. */
.text-wrapper_1 { min-height: 80px; height: auto; }
.top { min-height: 80px; }
.top a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; line-height: 1; }
.top a span { display: block; margin: 0; line-height: 24px; }
.top a:hover span { color: #4f46e5; }
.top a:focus-visible, .language-selector:focus-visible { outline: 2px solid #4f46e5; outline-offset: 3px; border-radius: 6px; }
.language-selector { min-height: 40px; padding: 0 38px 0 12px; font: inherit; font-size: 14px; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2712%27 viewBox=%270 0 12 12%27%3E%3Cpath d=%27M2.5 4.5 6 8l3.5-3.5%27 fill=%27none%27 stroke=%27%23111827%27 stroke-width=%271.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
@media (max-width: 800px) {
  .top { min-height: 0; gap: 4px 16px; }
  .top .text_1 { margin-bottom: 4px; }
  .top a { min-height: 40px; }
}
@media (max-width: 420px) {
  .top { gap: 2px 12px; }
  .top a span { font-size: 14px; }
  .language-selector { min-height: 36px; }
}
