/* UI audit 6 (nooria_ui_audit_6.pptx, 01.12.2026). Loaded last on every page (inc/ui-audit-6.php). */

/* #01 Arabic: the announcement bar was empty most of the time. Its script slides the track to the left
   (translateX(-N × 100%)), but in a right-to-left row the next slides are laid out to the LEFT of the first one,
   so every step showed an empty frame. The row of slides stays left-to-right; each line keeps its own direction. */
.top_banner_track { direction: ltr; }
.top_banner a.top_banner_text { unicode-bidi: plaintext; }

/* #02 phones: a 73px white stripe under the dark footer on every page — the footer's bottom margin left for a
   bottom bar the site doesn't have. */
@media (max-width: 768px) {
    .site-footer { margin-bottom: 0; }
}

/* #03 home page on phones: one 16px side margin for every section — Scientific Advisory Board and Latest
   highlights had 24px, so the headings' left edge jumped. */
@media (max-width: 767px) {
    .home .sabv2__inner,
    .home .press-split:not(.personalized-faq) .press-split__inner { padding-left: 16px; padding-right: 16px; }
}

/* #04 tablets: the Latest highlights previews were a narrow 140×200 column that cropped landscape pictures (the
   words on them were cut in half). The preview is wider and keeps the picture's own proportions. */
@media (min-width: 561px) and (max-width: 1199px) {
    .home .press-side__link { grid-template-columns: 240px 1fr; }
    .home .press-side__media img { height: auto; }
}
