/* Keep the two existing desktop rows and give the mark its own column. */
@media (min-width:981px) {
  :root.website-portal:not([data-font-size="200"]) .next-header {
    --wrn-header-mark-width: 136px;
    --wrn-header-mark-gap: 18px;
  }

  :root.website-portal:not([data-font-size="200"]) .next-header__inner,
  :root.website-portal:not([data-font-size="200"]) .next-header .bottom-nav {
    padding-inline-start: calc(var(--wrn-header-mark-width) + var(--wrn-header-mark-gap));
  }

  :root.website-portal:not([data-font-size="200"]) .next-header .brand {
    position: absolute;
    z-index: 1;
    inset-block: 0;
    inset-inline-start: max(18px, calc((100% - 1180px) / 2));
    width: var(--wrn-header-mark-width);
    min-width: 0;
    max-width: var(--wrn-header-mark-width);
    height: auto;
  }

  :root.website-portal:not([data-font-size="200"]) .next-header .brand .brand-app-icon {
    width: 100%;
    height: 100%;
    object-position: center bottom;
  }

  :root.website-portal:not([data-font-size="200"]) .next-header .brand-theme-line {
    top: auto;
    bottom: 24%;
    width: 100%;
  }
}

@media (min-width:981px) {
  :root.website-portal:not([data-font-size="200"]) .next-header .bottom-nav button {
    font-size: 1rem;
    line-height: 1.2;
  }
}

.website-portal .home-lead-grid .home-hero__image img,
.website-portal .home-headline img,
.website-portal .home-sports li img,
.website-portal .news-card__image img,
.website-portal .article-image-gallery img,
.website-portal .article-lead-image {
  object-fit: contain;
  object-position: center;
}

.website-portal .article-lead-image-link,
.website-portal .article-inline-image,
.website-portal .article-image-gallery {
  box-sizing: border-box;
  max-inline-size: 100%;
  min-inline-size: 0;
  margin-inline: auto;
}

.website-portal .article-inline-image {
  transform: none;
}

.website-portal .article-inline-image img,
.website-portal .article-body img {
  display: block;
  max-inline-size: 100%;
  height: auto;
  object-fit: contain;
}
