/* Arabic footer copyright clearance; versioned1-to30page rollout. */
@media (min-width:1101px){html[lang="ar"] .footer__bottom .footer__copyright{margin-block-end:100px}}

/* Russian archive fact labels: retain the existing grid and wrap within its cells. */
html[lang="ru"] .project-card dl dt,html[lang="ru"] .project-card dl dd,html[lang="ru"] .ongoing-card dl dt,html[lang="ru"] .ongoing-card dl dd{min-width:0;overflow-wrap:anywhere}

/* RTL chat toggle must align to physical right within the inherited RTL grid. */
html[dir="rtl"] .hg-chat{justify-items:start}

/* Clear fixed chat controls from the Arabic footer below desktop alignment. */
@media (max-width:1100px){html[dir="rtl"] .footer{padding-bottom:160px}}

/* Fit the Arabic chat panel inside the scrollbar-reduced mobile viewport. */
@media (max-width:1100px){html[dir="rtl"] .hg-chat__panel{max-width:calc(100vw - 36px)}}
