/* Shared Arabic templates retain their original colours, spacing and components. */
html[lang="it"] { direction:ltr; }
html[lang="it"] .button,html[lang="it"] .department-door,html[lang="it"] .home-sector-buttons a,html[lang="it"] .nav a { white-space:normal; overflow-wrap:anywhere; hyphens:auto; }
html[lang="it"] .brand small { line-height:1.45; }
html[lang="it"] .visitor-register-link { white-space:normal!important; overflow-wrap:anywhere; line-height:1.35; text-align:center; }
html[lang="it"] .mobile-language-links { display:none; }
@media(max-width:600px){html[lang="it"] .mobile-language-links{display:flex;gap:.5rem;flex-wrap:wrap;padding:.75rem}html[lang="it"] .visitor-register-link{font-size:12px!important;padding:.55rem .5rem!important}}
html[lang="it"] .identity>*,html[lang="it"] .home-sector-buttons>* { min-width:0; }
html[lang="it"] .uhrda-union-name { color:var(--red,#e6332a); }
html[lang="it"] input,html[lang="it"] textarea,html[lang="it"] select { direction:ltr; }
html[lang="it"] [lang="ar"] { direction:rtl; }
@media(max-width:600px){html[lang="it"] input,html[lang="it"] select,html[lang="it"] textarea {font-size:16px}html[lang="it"] .brand small{overflow-wrap:anywhere;hyphens:auto}}

/* Keep the mobile visitor button below the menu hit area. */
@media(max-width:600px){html[lang="it"] header .identity>.visitor-register-link{align-self:flex-end;margin-bottom:8px!important}}
