/* Preserve the regional two-column picker while allowing long names to wrap in Iraq. */
@layer pf-iq-mobile {
  @media (max-width: 640px) {
    html[lang="ar"][dir="rtl"] #pf-regional-country .pf-country-list > li:not(:first-child) > a {
      gap: 6px !important;
      padding-inline: 6px !important;
    }

    html[lang="ar"][dir="rtl"] #pf-regional-country .pf-country-name {
      white-space: normal !important;
      overflow-wrap: normal !important;
    }
  }

  @media (max-width: 374px) {
    html[lang="ar"][dir="rtl"] #pf-regional-country .pf-country-list {
      grid-template-columns: minmax(0, 1fr) !important;
    }
  }
}
