/* Lightweight shared masthead background for English and Arabic pages. */
.global-header.s-header-branded .s-header-masthead {
  background-color: #2e75b6;
  background-image: url("header-network-20261115.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Place the artwork on the full-width Arabic and English menu rows. */
@media screen {
  .global-header.s-header-branded:is([lang|="ar"], [lang|="en"]) > .s-header-inner {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    background: #fff url("arabic-menu-art.png") center / 100% auto no-repeat;
  }

  /* Retain the navigation's original alignment on wide screens. */
  @media (min-width: 801px) {
    .global-header.s-header-branded:is([lang|="ar"], [lang|="en"]) > .s-header-inner {
      padding-inline: max(32px, calc((100% - var(--s-max, 1240px)) / 2 + 32px));
    }
  }

  .global-header:is([lang|="ar"], [lang|="en"]) .s-header-inner :where(
    .s-brand, .s-nav > a, .s-language, .s-search-link, .s-menu > summary
  ) {
    color: #153f61;
    background-color: rgb(255 255 255 / 86%);
    border-radius: 8px;
  }
}
