/* Full-bleed article hero — fills viewport edge-to-edge (no portal gutters) */

.portal-article-hero {
  --hero-h-d: 70vh;
  --hero-h-t: 60vh;
  --hero-h-m: 50vh;
  --hero-min: 280px;
  --hero-overlay: 35;
  --hero-justify-d: center;
  --hero-justify-t: var(--hero-justify-d);
  --hero-justify-m: var(--hero-justify-d);
  /* Active height: mobile → tablet → desktop. Fixed height so CMS vh wins
     (min-height alone let stacked copy inflate the band to ~full viewport).
     Desktop starts at 1025px so Wagtail tablet preview (≤1024) uses tablet vars. */
  --hero-h: var(--hero-h-m);
  --hero-min-active: var(--hero-min-m, var(--hero-min));
  --hero-justify: var(--hero-justify-m);
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: max(var(--hero-min-active), var(--hero-h));
  min-height: max(var(--hero-min-active), var(--hero-h));
  max-height: max(var(--hero-min-active), var(--hero-h));
  display: flex;
  overflow: hidden;
  background: #12100c;
  isolation: isolate;
}

@media (min-width: 768px) {
  .portal-article-hero {
    --hero-h: var(--hero-h-t);
    --hero-min-active: var(--hero-min-t, var(--hero-min));
    --hero-justify: var(--hero-justify-t);
    height: max(var(--hero-min-active), var(--hero-h));
    min-height: max(var(--hero-min-active), var(--hero-h));
    max-height: max(var(--hero-min-active), var(--hero-h));
  }
}
@media (min-width: 1025px) {
  .portal-article-hero {
    --hero-h: var(--hero-h-d);
    --hero-min-active: var(--hero-min);
    --hero-justify: var(--hero-justify-d);
    height: max(var(--hero-min-active), var(--hero-h));
    min-height: max(var(--hero-min-active), var(--hero-h));
    max-height: max(var(--hero-min-active), var(--hero-h));
  }
  .portal-article-hero__columns {
    --hero-grid-w-active: var(--hero-grid-w-d, 100%);
  }
}

/*
 * Leading hero: drop the constrained white “card” so media can be edge-to-edge.
 * Article + footer are re-carded below.
 */
.portal-shell--hero-first .portal-page {
  max-width: none;
  width: 100%;
  margin: 0;
  background: transparent;
  box-shadow: none;
}

.portal-shell--hero-first .portal-article-hero-lead {
  width: 100%;
}

.portal-shell--hero-first .portal-article {
  max-width: var(--portal-max);
  margin-left: auto;
  margin-right: auto;
  /* Air above the separate footer card — bottom shadow needs room to read. */
  margin-bottom: 28px;
  background: var(--portal-bg);
  box-shadow: 0 12px 40px rgba(23, 20, 15, 0.08);
  padding-top: 0;
}

.portal-shell--hero-first .portal-article__lead {
  padding: 15px var(--portal-pad-x) 0;
}

.portal-shell--hero-first .portal-footer {
  max-width: var(--portal-max);
  margin-left: auto;
  margin-right: auto;
  /* Tighter than the default page footer: card already has outer air. */
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 10px;
  background: var(--portal-bg);
  box-shadow: 0 12px 40px rgba(23, 20, 15, 0.08);
}

.portal-shell--hero-first .portal-footer--compact_legal.portal-footer--full-width {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Non-overlay: header stays in the content card width above the hero */
.portal-shell--hero-first:not(.portal-shell--hero-overlay) .portal-header {
  max-width: var(--portal-max);
  margin-left: auto;
  margin-right: auto;
  background: var(--portal-bg);
  box-shadow: 0 12px 40px rgba(23, 20, 15, 0.08);
}

/* Mid-article hero (inside constrained .portal-article): break out to viewport */
.portal-article .portal-article-hero {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* Content-column width: stay inside the white article card (no side margins) */
.portal-article .portal-article-hero--width-content,
.portal-article-hero-lead .portal-article-hero--width-content {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/*
 * Content-width + menu overlay: keep the page card constrained, but still
 * float the header over the leading hero (do not require hero-first / viewport).
 */
.portal-shell--hero-overlay.portal-shell--hero-content .portal-page {
  position: relative;
}
.portal-shell--hero-overlay.portal-shell--hero-content .portal-article-hero-lead .portal-article-hero {
  margin-top: 0;
}

/* Optional: menu overlays hero — hero from top of viewport/page */
.portal-shell--hero-overlay .portal-page {
  position: relative;
}
.portal-shell--hero-overlay .portal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 6, 4, 0.55) 0%,
    rgba(8, 6, 4, 0.2) 70%,
    rgba(8, 6, 4, 0) 100%
  );
  border-bottom: none;
  color: #f7f3ea;
  box-shadow: none;
}
.portal-shell--hero-overlay .portal-header--editorial_glass {
  background: linear-gradient(
    to bottom,
    rgba(8, 6, 4, 0.5) 0%,
    rgba(8, 6, 4, 0.3) 40%,
    rgba(8, 6, 4, 0.05) 100%
  );
  border-bottom: 1px solid rgba(247, 243, 234, 0.14);
  box-shadow: 0 8px 28px rgba(8, 6, 4, 0.12);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.portal-shell--hero-overlay .portal-header--editorial_glass .portal-auth__btn {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 5px;
  border: 1px solid rgba(232, 197, 122, 0.58);
  border-radius: 50%;
  background: rgba(8, 6, 4, 0.62);
  color: #f7f3ea;
  box-shadow:
    0 6px 18px rgba(8, 6, 4, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.portal-shell--hero-overlay .portal-header--editorial_glass .portal-auth__fallback {
  width: 30px;
  height: 30px;
  border: 0;
  color: inherit;
}

.portal-shell--hero-overlay .portal-header--editorial_glass .portal-auth__btn:hover,
.portal-shell--hero-overlay .portal-header--editorial_glass .portal-auth__btn:focus-visible,
.portal-shell--hero-overlay .portal-header--editorial_glass .portal-auth__btn[aria-expanded="true"] {
  border-color: #e8c57a;
  background: rgba(232, 197, 122, 0.2);
  color: #f4d58d;
  box-shadow:
    0 8px 22px rgba(8, 6, 4, 0.38),
    0 0 0 3px rgba(232, 197, 122, 0.1);
  transform: translateY(-1px);
}
.portal-shell--hero-overlay .portal-header .portal-word {
  color: #f7f3ea;
}
.portal-shell--hero-overlay .portal-header .portal-word__lead,
.portal-shell--hero-overlay .portal-header .portal-word__tail,
.portal-shell--hero-overlay .portal-header .portal-word b {
  color: inherit;
}
.portal-shell--hero-overlay .portal-header .portal-word-under {
  color: rgba(247, 243, 234, 0.78);
}
.portal-shell--hero-overlay .portal-header .portal-nav a {
  color: #f7f3ea;
  border-bottom-color: transparent;
}
.portal-shell--hero-overlay .portal-header .portal-nav a:hover,
.portal-shell--hero-overlay .portal-header .portal-nav a.is-on {
  border-bottom-color: #e8c57a;
}
.portal-shell--hero-overlay .portal-header .portal-cta {
  background: rgba(247, 243, 234, 0.14);
  color: #f7f3ea;
  border: 1px solid rgba(247, 243, 234, 0.45);
}
.portal-shell--hero-overlay .portal-header .portal-lang__btn {
  color: rgba(247, 243, 234, 0.85);
}
.portal-shell--hero-overlay .portal-header .portal-lang__btn:hover,
.portal-shell--hero-overlay .portal-header .portal-lang.is-open .portal-lang__btn {
  color: #e8c57a;
  border-color: rgba(247, 243, 234, 0.35);
}
.portal-shell--hero-overlay .portal-header .portal-lang__menu {
  background: rgba(18, 16, 12, 0.96);
  border-color: rgba(247, 243, 234, 0.2);
}
.portal-shell--hero-overlay .portal-header .portal-lang__option {
  color: rgba(247, 243, 234, 0.75);
}
.portal-shell--hero-overlay .portal-header .portal-lang__option:hover,
.portal-shell--hero-overlay .portal-header .portal-lang__option.is-active {
  color: #e8c57a;
}
.portal-shell--hero-overlay .portal-article-hero-lead .portal-article-hero {
  /* header is out of flow — hero starts at the top edge */
  margin-top: 0;
}

/* Optional leading-Hero overlap: move the article card, never resize the Hero. */
.portal-shell .portal-article--hero-overlap {
  --hero-content-overlap: 90px;
  position: relative;
  z-index: 5;
  margin-top: calc(-1 * var(--hero-content-overlap));
  background: var(--portal-bg);
  box-shadow: 0 -15px 25px rgba(23, 20, 15, 0.3),
    0 22px 50px rgba(23, 20, 15, 0.3);
}

/* Stronger bottom shadow needs a bit more soft-bg air before the footer card. */
.portal-shell--hero-first .portal-article--hero-overlap {
  margin-bottom: 36px;
}

/*
 * Phone + tablet: keep soft-bg gutters on the sides so the card shadow reads
 * as a float, not a full-bleed smear. Desktop (≥1280) already has natural
 * margins once viewport exceeds --portal-max.
 */
@media (max-width: 1279px) {
  .portal-shell--hero-first .portal-article,
  .portal-shell--hero-first .portal-article--hero-overlap,
  .portal-shell--hero-first .portal-footer:not(.portal-footer--full-width) {
    width: calc(100% - clamp(24px, 4vw, 48px));
    max-width: var(--portal-max);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
}

@media (max-width: 767px) {
  .portal-shell .portal-article--hero-overlap {
    --hero-content-overlap: clamp(28px, 8vw, 44px);
  }

  .portal-shell--hero-first .portal-article,
  .portal-shell--hero-first .portal-article--hero-overlap {
    margin-bottom: 20px;
  }
}

.portal-article__block--hero {
  margin: 0;
  padding: 0;
}

/* Mobile TikTok-like hero/content split. JS groups everything after the
   leading hero so the article and footer share one independently scrolling panel. */
.portal-mobile-hero-panel {
  position: relative;
  z-index: 6;
  overflow: clip;
  border-radius: 26px 26px 0 0;
  background: var(--portal-bg, #f6f4ef);
  box-shadow: 0 -12px 30px rgba(23, 20, 15, .18);
}
.portal-body--home-instance .portal-mobile-hero-panel {
  background: #080a0d;
}

/* A zero-height sticky grip preserves the rounded sheet silhouette without
   spending vertical space on a fixed toolbar. */
.portal-mobile-hero-panel__scroll-cap {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  height: 0;
  pointer-events: none;
}

.portal-mobile-hero-panel__scroll-cap::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: rgba(23, 20, 15, .2);
  transform: translateX(-50%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .48);
}

.portal-body--home-instance .portal-mobile-hero-panel__scroll-cap::after {
  background: rgba(255, 255, 255, .3);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .38);
}

/* Article card under leading hero: rounded sheet. Home strips stay square. */
.portal-article-hero-lead + .portal-article {
  overflow: clip;
  border-radius: 26px;
}
.portal-home__block--hero + .portal-home__block {
  overflow: visible;
  border-radius: 0;
}
.portal-body--home-instance .portal-home__block--hero + .portal-home__block,
.portal-body--home-instance .portal-mobile-hero-panel,
.portal-body--home-instance .portal-mobile-hero-panel > :not(.portal-footer) {
  border-radius: 0 !important;
}

@media (max-width: 1023px) {
  /* One compact H1 scale in both the initial and split states. */
  .portal-article__title {
    font-size: clamp(24px, 4.2vw, 32px);
    line-height: 1.1;
  }

  html.has-mobile-hero-panel,
  body.has-mobile-hero-panel {
    height: 100%;
    overflow: hidden !important;
  }

  .portal-page--mobile-hero-panel > .portal-mobile-hero-panel {
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(105, 99, 89, .58) transparent;
  }

  /* The reading card ends before the footer. Its own lower corners and shadow
     create the same clear content/footer seam as the desktop composition. */
  .portal-mobile-hero-panel > .portal-article,
  .portal-mobile-hero-panel > :not(.portal-footer):has(+ .portal-footer) {
    position: relative;
    z-index: 2;
    margin-bottom: 18px;
    overflow: clip;
    border-radius: 26px;
    box-shadow: 0 14px 30px rgba(23, 20, 15, .13);
  }

  .portal-mobile-hero-panel > .portal-footer {
    position: relative;
    z-index: 1;
    margin-top: 0;
    border-radius: 0;
  }

  .portal-page--mobile-hero-panel > .portal-mobile-hero-panel::-webkit-scrollbar {
    width: 4px;
  }

  .portal-page--mobile-hero-panel > .portal-mobile-hero-panel::-webkit-scrollbar-track {
    margin-top: 28px;
    margin-bottom: 28px;
    background: transparent;
  }

  .portal-page--mobile-hero-panel > .portal-mobile-hero-panel::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(105, 99, 89, .58);
  }

  .portal-body--home-instance .portal-page--mobile-hero-panel > .portal-mobile-hero-panel {
    scrollbar-color: rgba(221, 215, 204, .46) transparent;
  }

  .portal-body--home-instance .portal-page--mobile-hero-panel > .portal-mobile-hero-panel::-webkit-scrollbar-thumb {
    background: rgba(221, 215, 204, .46);
  }

  .portal-page--mobile-hero-panel > :is(.portal-article-hero-lead, .portal-home__block--hero) + .portal-mobile-hero-panel {
    margin-top: calc(-1 * var(--mobile-panel-peek, 112px));
    padding-top: 0;
    border-top: 1px solid rgba(255, 255, 255, .72);
  }

  /* Article TikTok mode starts with only a detached title card visible. The
     reading sheet itself waits below the viewport until the gesture begins. */
  .portal-page--mobile-hero-panel:not(.portal-page--home-instance) > .portal-article-hero-lead + .portal-mobile-hero-panel {
    margin-top: 0;
  }

  .portal-mobile-hero-title-dock {
    position: fixed;
    right: var(--portal-pad-x);
    bottom: max(10dvh, calc(env(safe-area-inset-bottom, 0px) + 24px));
    left: var(--portal-pad-x);
    z-index: 12;
    box-sizing: border-box;
    padding: 10px 14px 19px;
    border: 1px solid rgba(23, 20, 15, .08);
    border-radius: 24px;
    background: var(--portal-bg, #fff);
    color: var(--portal-ink, #17140f);
    box-shadow: 0 12px 34px rgba(23, 20, 15, .18);
    font-family: var(--portal-serif);
    font-size: clamp(24px, 4.2vw, 32px);
    font-weight: 600;
    line-height: 1.1;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transition: opacity .14s ease;
  }

  .portal-mobile-hero-title-dock::after {
    content: "";
    position: absolute;
    bottom: 7px;
    left: 50%;
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: rgba(23, 20, 15, .2);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .48);
    transform: translateX(-50%);
  }

  .portal-page--mobile-hero-panel:not(.is-mobile-title-released) .portal-article__title {
    visibility: hidden;
  }

  .portal-page--mobile-hero-panel.is-mobile-title-released .portal-mobile-hero-title-dock {
    opacity: 0;
    visibility: hidden;
  }

  .portal-mobile-hero-panel .portal-article--hero-overlap {
    margin-top: 0 !important;
    box-shadow: none;
  }

  .portal-mobile-hero-panel .preview-block-hint {
    display: none;
  }

  .portal-page--mobile-hero-panel .portal-mobile-hero-panel .portal-article__crumb {
    margin: 0;
    opacity: 0;
    pointer-events: none;
  }

  .portal-page--mobile-hero-panel:not(.is-mobile-hero-collapsed) .portal-article__lead > :is(
    .portal-article__tag,
    .portal-article__meta
  ) {
    display: none;
  }

  /* Keep the lead in the document flow from the first frame. Hiding it with
     display:none used to insert it late and push the scrolling content down. */
  .portal-page--mobile-hero-panel .portal-article__intro {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .36s ease, transform .44s cubic-bezier(.16, 1, .3, 1);
  }

  .portal-page.is-mobile-hero-mode.is-mobile-content-visible .portal-article__intro {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .portal-page--mobile-hero-panel:not(.is-mobile-hero-collapsed) .portal-article__title {
    margin-top: 0;
    margin-bottom: 0;
  }

  /* Use the otherwise empty air at the top of the initial sheet so a
     two-line phone title is not clipped at its lower edge. */
  .portal-page--mobile-hero-panel .portal-article__lead {
    padding-top: 3px;
  }

  html.is-mobile-hero-split,
  body.is-mobile-hero-split {
    width: 100%;
    height: 100%;
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  .portal-page.is-mobile-hero-mode {
    position: fixed;
    inset: 0;
    z-index: 1;
    width: 100%;
    max-width: none;
    height: 100dvh;
    margin: 0;
    overflow: hidden;
    background: #0b0a08;
  }

  /* Height follows --mobile-hero-current-height (finger scrub); no snap jump. */
  .portal-page.is-mobile-hero-mode > .portal-article-hero-lead {
    position: fixed;
    inset: 0 0 auto;
    z-index: 2;
    width: 100%;
    height: var(--mobile-hero-current-height, var(--mobile-hero-start-height, 100dvh));
    margin: 0;
    overflow: hidden;
    will-change: height;
    transition: none;
  }

  .portal-page.is-mobile-hero-mode > .portal-article-hero-lead .portal-article-hero {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0;
  }

  .portal-page.is-mobile-hero-mode > .portal-mobile-hero-panel {
    position: fixed;
    top: calc(
      var(--mobile-hero-current-height, var(--mobile-hero-start-height, 100dvh)) -
        var(--mobile-panel-top-inset, var(--mobile-panel-peek, 132px))
    );
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 8;
    box-sizing: border-box;
    margin: 0;
    padding-top: 0;
    overflow-x: hidden;
    /* Keep the scrollbar gutter from the first frame. Only its thumb and
       scrolling are activated once the sheet has settled. */
    overflow-y: scroll;
    border-radius: 26px 26px 0 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    border-top: 1px solid rgba(255, 255, 255, .72);
    box-shadow: 0 -14px 34px rgba(8, 6, 4, .22);
    scrollbar-gutter: stable;
    scroll-behavior: auto;
    will-change: top;
    transition: none;
  }

  /* Breadcrumbs float over the media immediately above the reading sheet. */
  .portal-page.is-mobile-hero-mode .portal-mobile-hero-panel .portal-article__crumb {
    position: fixed;
    top: max(
      8px,
      calc(
        var(--mobile-hero-current-height, var(--mobile-hero-start-height, 100dvh)) -
          var(--mobile-panel-top-inset, var(--mobile-panel-peek, 132px)) - 22px
      )
    );
    left: 16px;
    z-index: 10;
    box-sizing: border-box;
    width: max-content;
    max-width: calc(100vw - 28px);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
  }

  .portal-page.is-mobile-hero-mode .portal-article__crumb-list {
    flex-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
  }

  .portal-page.is-mobile-hero-mode .portal-article__crumb,
  .portal-page.is-mobile-hero-mode .portal-article__crumb a,
  .portal-page.is-mobile-hero-mode .portal-article__crumb [aria-current="page"] {
    color: #fff;
    font-size: 9.5px;
    line-height: 1.25;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, .98),
      0 0 5px rgba(0, 0, 0, .82),
      0 0 10px rgba(0, 0, 0, .58);
  }

  /* Keep the article in its final layout, but reveal it with the sheet. */
  .portal-page--mobile-hero-panel .portal-article__body {
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity .42s ease, transform .52s cubic-bezier(.16, 1, .3, 1);
  }

  .portal-page.is-mobile-hero-mode.is-mobile-content-visible .portal-article__body {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .portal-page.is-mobile-hero-mode.is-mobile-crumb-visible .portal-article__crumb {
    opacity: 1;
  }

  .portal-page.is-mobile-hero-mode.is-mobile-hero-collapsed .portal-article__body {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .portal-page.is-mobile-hero-mode.is-mobile-hero-collapsed .portal-article__crumb {
    pointer-events: auto;
  }

  /* Only when fully collapsed may the sheet scroll. */
  .portal-page.is-mobile-hero-mode.is-mobile-hero-collapsed > .portal-mobile-hero-panel {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .portal-page.is-mobile-hero-mode:not(.is-mobile-hero-collapsed) > .portal-mobile-hero-panel {
    scrollbar-color: transparent transparent;
  }

  .portal-page.is-mobile-hero-mode:not(.is-mobile-hero-collapsed) > .portal-mobile-hero-panel::-webkit-scrollbar-thumb {
    background: transparent;
  }

  .portal-page.is-mobile-hero-mode.is-hero-dragging > .portal-article-hero-lead,
  .portal-page.is-mobile-hero-mode.is-hero-dragging > .portal-mobile-hero-panel {
    transition: none !important;
  }

  .portal-page.is-mobile-hero-mode .portal-article--hero-overlap {
    margin-top: 0 !important;
  }

  .portal-page.is-mobile-hero-mode .portal-article__lead {
    padding-top: 3px;
  }

  .portal-page.is-mobile-hero-mode > .portal-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 30;
  }

  .portal-page.is-mobile-hero-mode .portal-article,
  .portal-page.is-mobile-hero-mode .portal-footer {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  .portal-mobile-hero-title-dock { transition-duration: .01ms; }
}

@media (max-width: 767px) {
  .portal-mobile-hero-title-dock {
    padding: 9px 12px 18px;
    border-radius: 21px;
    font-size: clamp(21px, 6.2vw, 26px);
    line-height: 1.06;
  }
  .portal-page.is-mobile-hero-mode .portal-article__crumb-item--current,
  .portal-page--hero-parallax .portal-article__crumb-item--current {
    display: none;
  }

  .portal-page.is-mobile-hero-mode .portal-article__crumb-item:nth-last-child(2)::after,
  .portal-page--hero-parallax .portal-article__crumb-item:nth-last-child(2)::after {
    display: none;
  }

  .portal-page--mobile-hero-panel > .portal-mobile-hero-panel::-webkit-scrollbar {
    width: 3px;
  }

  .portal-page--mobile-hero-panel > .portal-mobile-hero-panel::-webkit-scrollbar-track {
    margin-top: 26px;
    margin-bottom: 26px;
  }

  .portal-page--mobile-hero-panel:not(.is-mobile-hero-collapsed) .portal-article__title {
    font-size: clamp(21px, 6.2vw, 26px);
    line-height: 1.06;
  }

  .portal-article__title {
    font-size: clamp(21px, 6.2vw, 26px);
    line-height: 1.06;
  }

  .portal-mobile-hero-panel .portal-footer--compact_legal,
  .portal-mobile-hero-panel .portal-footer--compact_legal.portal-footer--full-width {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 14px 18px 16px;
    gap: 10px;
    overflow: hidden;
    font-size: 10.5px;
  }

  .portal-mobile-hero-panel .portal-footer--compact_legal .portal-footer__top {
    gap: 8px;
  }

  .portal-mobile-hero-panel .portal-footer--compact_legal .portal-footer__brand {
    min-width: 0;
    gap: 4px;
  }

  .portal-mobile-hero-panel .portal-footer--compact_legal .portal-footer__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 8px;
    width: 100%;
  }

  .portal-mobile-hero-panel .portal-footer--compact_legal .portal-footer__copy {
    width: 100%;
    font-size: 10.5px;
    line-height: 1.4;
  }

  .portal-mobile-hero-panel .portal-footer--compact_legal .portal-footer-links {
    justify-content: flex-start;
    gap: 6px 12px;
    width: 100%;
    min-width: 0;
    margin-left: 0;
    text-align: left;
    line-height: 1.35;
  }

  .portal-mobile-hero-panel .portal-footer--compact_legal .portal-footer-links a {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .portal-header,
  .portal-header--editorial_glass {
    gap: 8px;
    padding: 7px 12px;
  }
  .portal-header .portal-chrome-logo--header {
    height: 28px;
    max-width: 42vw;
  }
  .portal-header .portal-header__actions {
    gap: 4px;
  }
  .portal-header .portal-lang__btn {
    gap: 4px;
    padding: 4px 5px;
  }
  .portal-header .portal-lang__menu {
    min-width: 148px;
    padding: 4px 0;
  }
  .portal-header .portal-lang__option,
  .portal-header .portal-auth__option {
    padding: 7px 11px;
    font-size: 12px;
  }
  .portal-header .portal-auth__menu {
    min-width: 176px;
    padding: 4px 0;
  }
  .portal-header .portal-auth__menu > li.portal-auth__profile {
    padding: 9px 11px 8px;
  }
  .portal-shell--hero-overlay .portal-header--editorial_glass .portal-auth__btn,
  .portal-header .portal-auth__btn {
    width: 34px;
    height: 34px;
    padding: 3px;
  }
  .portal-shell--hero-overlay .portal-header--editorial_glass .portal-auth__fallback,
  .portal-header .portal-auth__fallback {
    width: 26px;
    height: 26px;
  }
  .portal-header .portal-nav-burger {
    width: 34px;
    height: 34px;
  }
  .portal-header--instance_dark .portal-nav--premium,
  .portal-header--instance_dark .portal-nav--rubrics {
    padding: 7px 12px 11px;
  }
  .portal-header--instance_dark .portal-rubric__toggle,
  .portal-header--instance_dark .portal-nav-flip {
    padding: 10px 3px;
  }
}
.portal-article__body > .portal-article__block--hero + .portal-article__block {
  margin-top: 1.75em;
}
.portal-article__body > .portal-article__block + .portal-article__block--hero {
  margin-top: 1.75em;
}

.portal-article-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.portal-article-hero__img,
.portal-article-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  display: block;
  border: 0;
}
.portal-article-hero__video {
  opacity: 0;
  z-index: 0;
  transition: opacity 0.32s ease;
}
.portal-article-hero.is-media-video .portal-article-hero__video {
  opacity: 1;
  z-index: 1;
}
/* During mobile hero height/top transition: keep poster only (no video layer). */
.portal-article-hero.is-hero-transition-freeze .portal-article-hero__video {
  display: none !important;
}
.portal-article-hero.is-hero-transition-freeze .portal-article-hero__img {
  z-index: 2;
  opacity: 1;
  visibility: visible;
}
.portal-article-hero--fit-cover .portal-article-hero__img,
.portal-article-hero--fit-cover .portal-article-hero__video {
  object-fit: cover;
  object-position: center;
}
.portal-article-hero--fit-contain .portal-article-hero__img,
.portal-article-hero--fit-contain .portal-article-hero__video {
  object-fit: contain;
  object-position: center;
  background: #0b0a08;
}

/* Soft premium parallax: modest overscale so travel stays gentle (Huts-like). */
.portal-article-hero--parallax {
  background: transparent;
}

/* A fixed parallax media layer must remain behind the following article.
   Explicit stacking contexts avoid Safari/Chrome promoting it above content. */
.portal-page--hero-parallax > .portal-article-hero-lead {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.portal-page--hero-parallax > .portal-article,
.portal-page--hero-parallax > .portal-footer {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

.portal-article-hero--parallax .portal-article-hero__overlay {
  background: transparent;
}

.portal-article-hero--parallax .portal-article-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: rgba(10, 8, 6, calc(var(--hero-overlay) / 100));
}

.portal-article-hero--parallax .portal-article-hero__media {
  overflow: hidden;
}
.portal-article-hero--parallax.is-parallax-active .portal-article-hero__media {
  position: fixed;
  inset: auto;
  top: var(--hero-parallax-y, 0px);
  left: var(--hero-parallax-left, 0px);
  width: var(--hero-parallax-width, 100%);
  height: var(--hero-parallax-height, 100vh);
  will-change: top;
  backface-visibility: hidden;
}

.portal-article-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(10, 8, 6, calc(var(--hero-overlay) / 100));
}

.portal-article-hero {
  --hero-header-h: 0px;
}
.portal-article-hero__content {
  /* Fill the hero band so justify-content always has free space to use.
     Inherit --hero-header-h from the hero (menu-overlay raises it). */
  position: absolute;
  inset: 0;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  padding: clamp(28px, 5vh, 56px) var(--portal-pad-x);
  padding-top: max(clamp(28px, 5vh, 56px), var(--hero-header-h, 0px));
  display: flex;
  flex-direction: column;
  justify-content: var(--hero-justify, center);
}

/* Menu overlays the hero — push copy below the absolute header. */
.portal-article-hero--menu-overlay {
  --hero-header-h: 72px;
}
.portal-shell--hero-overlay .portal-article-hero {
  --hero-header-h: 72px;
}
@media (min-width: 1025px) {
  .portal-article-hero--menu-overlay,
  .portal-shell--hero-overlay .portal-article-hero {
    --hero-header-h: 88px;
  }
}
.portal-article-hero--menu-overlay .portal-article-hero__content,
.portal-shell--hero-overlay .portal-article-hero__content {
  padding-top: var(--hero-header-h);
  padding-bottom: max(12px, var(--hero-header-h));
}

/* Desktop class hooks (preview may not have data-y-* when no overrides). */
.portal-article-hero--y-top .portal-article-hero__content {
  justify-content: flex-start;
}
.portal-article-hero--y-center .portal-article-hero__content {
  justify-content: center;
}
.portal-article-hero--y-bottom .portal-article-hero__content {
  justify-content: flex-end;
}

.portal-article-hero--x-left .portal-article-hero__columns {
  margin-right: auto;
  margin-left: 0;
}
.portal-article-hero--x-center .portal-article-hero__columns {
  margin-left: auto;
  margin-right: auto;
}
.portal-article-hero--x-right .portal-article-hero__columns {
  margin-left: auto;
  margin-right: 0;
}

.portal-article-hero__columns {
  --hero-grid-w-active: var(--hero-grid-w-d, 100%);
  display: grid;
  grid-template-columns: repeat(var(--hero-cols, 1), minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  flex: 0 0 auto;
  align-items: start;
  box-sizing: border-box;
  /* Default = viewport fill; modifiers override with !important. */
  align-self: stretch;
  width: 100%;
  max-width: none;
}
.portal-article-hero__columns--width-content {
  /* Own cap — page --portal-max may be "none" on Home. */
  align-self: center !important;
  width: 100% !important;
  max-width: min(100%, var(--portal-hero-grid-max, 1280px)) !important;
  margin-left: auto;
  margin-right: auto;
}
.portal-article-hero__columns--width-viewport {
  align-self: stretch !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0;
  margin-right: 0;
}
.portal-article-hero__columns--width-percent {
  align-self: center !important;
  width: var(--hero-grid-w-active) !important;
  max-width: 100% !important;
  margin-left: auto;
  margin-right: auto;
}
/* X position of a constrained grid (left / center / right). */
.portal-article-hero--x-left .portal-article-hero__columns--width-content,
.portal-article-hero--x-left .portal-article-hero__columns--width-percent {
  align-self: flex-start !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
.portal-article-hero--x-center .portal-article-hero__columns--width-content,
.portal-article-hero--x-center .portal-article-hero__columns--width-percent {
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.portal-article-hero--x-right .portal-article-hero__columns--width-content,
.portal-article-hero--x-right .portal-article-hero__columns--width-percent {
  align-self: flex-end !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

.portal-article-hero__col {
  --col-align: var(--col-align-d, left);
  --col-items: var(--col-items-d, flex-start);
  --col-valign: var(--col-valign-d, start);
  --col-gap: var(--col-gap-d, 0px);
  --col-pad-y: var(--col-pad-y-d, 0px);
  --col-pad-x: var(--col-pad-x-d, 0px);
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--col-gap);
  padding: var(--col-pad-y) var(--col-pad-x);
  box-sizing: border-box;
  text-align: var(--col-align);
  align-items: var(--col-items);
  align-self: var(--col-valign);
}
/* Legacy class hooks (old markup) — vars win when present. */
.portal-article-hero__col--align-left {
  text-align: left;
  align-items: flex-start;
}
.portal-article-hero__col--align-center {
  text-align: center;
  align-items: center;
}
.portal-article-hero__col--align-right {
  text-align: right;
  align-items: flex-end;
}
.portal-article-hero__col--valign-top {
  align-self: start;
}
.portal-article-hero__col--valign-center {
  align-self: center;
}
.portal-article-hero__col--valign-bottom {
  align-self: end;
}

.portal-article-hero__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

.portal-article-hero__headline {
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 650;
  max-width: 18ch;
  margin: 0 0 8px;
}
.portal-article-hero__col--align-center .portal-article-hero__headline {
  max-width: 22ch;
}
.portal-article-hero__headline p {
  margin: 0;
}
.portal-article-hero__headline i,
.portal-article-hero__headline em {
  font-style: italic;
  font-weight: inherit;
}

.portal-article-hero__body {
  margin-top: 4px;
}
.portal-article-hero__body > *:first-child {
  margin-top: 0;
}
.portal-article-hero__body > *:last-child {
  margin-bottom: 0;
}
.portal-article-hero__body p,
.portal-article-hero__body li {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
}
.portal-article-hero__body a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.portal-article-hero--tone-light .portal-article-hero__eyebrow,
.portal-article-hero--tone-light .portal-article-hero__headline,
.portal-article-hero--tone-light .portal-article-hero__body,
.portal-article-hero--tone-light .portal-article-hero__body a {
  color: #f7f3ea;
}
.portal-article-hero--tone-dark .portal-article-hero__eyebrow,
.portal-article-hero--tone-dark .portal-article-hero__headline,
.portal-article-hero--tone-dark .portal-article-hero__body,
.portal-article-hero--tone-dark .portal-article-hero__body a {
  color: var(--portal-ink);
}

.portal-body--home-instance .portal-article-hero--tone-light .portal-article-hero__eyebrow {
  color: rgba(238, 241, 244, 0.78);
}
.portal-body--home-instance .portal-article-hero__headline i,
.portal-body--home-instance .portal-article-hero__headline em {
  color: var(--hi-accent, #f0b478);
}

/* CTA (button / link) — self-contained so articles without home-instance.css still render. */
.portal-article-hero .home-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: inherit;
  align-self: auto;
}
.portal-article-hero .home-cta__label {
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.portal-article-hero .home-cta--link:hover .home-cta__label,
.portal-article-hero .home-cta--link:focus-visible .home-cta__label {
  border-bottom-color: currentColor;
}
.portal-article-hero .home-link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
}
.portal-article-hero .home-link-arrow__img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}
.portal-article-hero .home-link-arrow__fallback {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.85;
}
.portal-article-hero .home-cta--button {
  justify-content: center;
  gap: 0;
  height: 40px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.portal-article-hero .home-cta--button .home-cta__label {
  border-bottom: none;
}
.portal-article-hero--tone-light .home-cta--button {
  color: rgba(247, 243, 234, 0.92);
  border-color: rgba(247, 243, 234, 0.72);
}
.portal-article-hero--tone-light .home-cta--button:hover,
.portal-article-hero--tone-light .home-cta--button:focus-visible {
  background: rgba(247, 243, 234, 0.12);
  color: #f7f3ea;
  border-color: #f7f3ea;
}
.portal-article-hero--tone-dark .home-cta--button {
  color: var(--portal-ink, #17140f);
  border-color: rgba(23, 20, 15, 0.85);
}
.portal-article-hero--tone-dark .home-cta--button:hover,
.portal-article-hero--tone-dark .home-cta--button:focus-visible {
  background: var(--portal-ink, #17140f);
  color: #fff;
  border-color: var(--portal-ink, #17140f);
}

@media (max-width: 640px) {
  .portal-article-hero__columns {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .portal-article-hero__headline {
    max-width: none;
  }
  /* Stacked: vertical align vs neighbours no longer applies. */
  .portal-article-hero__col--valign-top,
  .portal-article-hero__col--valign-center,
  .portal-article-hero__col--valign-bottom {
    align-self: stretch;
  }
}

/* Per-breakpoint CMS overrides. These selectors are emitted only when an
   editor fills at least one tablet/mobile display field. */
@media (min-width: 768px) and (max-width: 1024px) {
  .portal-article-hero[data-responsive-hero] {
    --hero-h: var(--hero-h-t);
    --hero-min-active: var(--hero-min-t, var(--hero-min));
    height: max(var(--hero-min-active), var(--hero-h));
    min-height: max(var(--hero-min-active), var(--hero-h));
    max-height: max(var(--hero-min-active), var(--hero-h));
  }
  /* Solid overlay for articles only — home keeps its gradient (portal-home-instance.css). */
  body:not(.portal-body--home-instance)
    .portal-article-hero[data-responsive-hero]
    .portal-article-hero__overlay {
    background: rgba(10, 8, 6, calc(var(--hero-overlay-t, var(--hero-overlay)) / 100));
  }
  body:not(.portal-body--home-instance)
    .portal-article-hero--parallax[data-responsive-hero]
    .portal-article-hero__overlay {
    background: transparent;
  }
  body:not(.portal-body--home-instance)
    .portal-article-hero--parallax[data-responsive-hero]
    .portal-article-hero__media::after {
    background: rgba(10, 8, 6, calc(var(--hero-overlay-t, var(--hero-overlay)) / 100));
  }
  .portal-article-hero[data-fit-tablet="cover"] .portal-article-hero__img,
  .portal-article-hero[data-fit-tablet="cover"] .portal-article-hero__video {
    object-fit: cover;
  }
  .portal-article-hero[data-fit-tablet="contain"] .portal-article-hero__img,
  .portal-article-hero[data-fit-tablet="contain"] .portal-article-hero__video {
    object-fit: contain;
    background: #0b0a08;
  }
  /* Per-device Y must beat desktop --y-* class at tablet widths (≤1024). */
  .portal-article-hero[data-y-tablet="top"] .portal-article-hero__content {
    justify-content: flex-start;
  }
  .portal-article-hero[data-y-tablet="center"] .portal-article-hero__content {
    justify-content: center;
  }
  .portal-article-hero[data-y-tablet="bottom"] .portal-article-hero__content {
    justify-content: flex-end;
  }
  .portal-article-hero[data-x-tablet="left"] .portal-article-hero__columns {
    margin-left: 0;
    margin-right: auto;
  }
  .portal-article-hero[data-x-tablet="center"] .portal-article-hero__columns {
    margin-left: auto;
    margin-right: auto;
  }
  .portal-article-hero[data-x-tablet="right"] .portal-article-hero__columns {
    margin-left: auto;
    margin-right: 0;
  }
  .portal-article-hero__col {
    --col-align: var(--col-align-t, var(--col-align-d, left));
    --col-items: var(--col-items-t, var(--col-items-d, flex-start));
    --col-valign: var(--col-valign-t, var(--col-valign-d, start));
    --col-gap: var(--col-gap-t, var(--col-gap-d, 0px));
    --col-pad-y: var(--col-pad-y-t, var(--col-pad-y-d, 0px));
    --col-pad-x: var(--col-pad-x-t, var(--col-pad-x-d, 0px));
  }
  .portal-article-hero__columns {
    --hero-grid-w-active: var(--hero-grid-w-t, var(--hero-grid-w-d, 100%));
  }
  .portal-article-hero[data-grid-width-tablet="content"] .portal-article-hero__columns {
    align-self: center !important;
    width: 100% !important;
    max-width: min(100%, var(--portal-hero-grid-max, 1280px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .portal-article-hero[data-grid-width-tablet="viewport"] .portal-article-hero__columns {
    align-self: stretch !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .portal-article-hero[data-grid-width-tablet="percent"] .portal-article-hero__columns {
    align-self: center !important;
    width: var(--hero-grid-w-active) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .portal-article .portal-article-hero[data-width-tablet="content"] {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .portal-article .portal-article-hero[data-width-tablet="viewport"] {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

@media (max-width: 767px) {
  .portal-article-hero[data-responsive-hero] {
    --hero-h: var(--hero-h-m);
    --hero-min-active: var(--hero-min-m, var(--hero-min));
    height: max(var(--hero-min-active), var(--hero-h));
    min-height: max(var(--hero-min-active), var(--hero-h));
    max-height: max(var(--hero-min-active), var(--hero-h));
  }
  body:not(.portal-body--home-instance)
    .portal-article-hero[data-responsive-hero]
    .portal-article-hero__overlay {
    background: rgba(10, 8, 6, calc(var(--hero-overlay-m, var(--hero-overlay)) / 100));
  }
  body:not(.portal-body--home-instance)
    .portal-article-hero--parallax[data-responsive-hero]
    .portal-article-hero__overlay {
    background: transparent;
  }
  body:not(.portal-body--home-instance)
    .portal-article-hero--parallax[data-responsive-hero]
    .portal-article-hero__media::after {
    background: rgba(10, 8, 6, calc(var(--hero-overlay-m, var(--hero-overlay)) / 100));
  }
  .portal-article-hero[data-fit-mobile="cover"] .portal-article-hero__img,
  .portal-article-hero[data-fit-mobile="cover"] .portal-article-hero__video {
    object-fit: cover;
  }
  .portal-article-hero[data-fit-mobile="contain"] .portal-article-hero__img,
  .portal-article-hero[data-fit-mobile="contain"] .portal-article-hero__video {
    object-fit: contain;
    background: #0b0a08;
  }
  .portal-article-hero[data-y-mobile="top"] .portal-article-hero__content {
    justify-content: flex-start;
  }
  .portal-article-hero[data-y-mobile="center"] .portal-article-hero__content {
    justify-content: center;
  }
  .portal-article-hero[data-y-mobile="bottom"] .portal-article-hero__content {
    justify-content: flex-end;
  }
  .portal-article-hero[data-x-mobile="left"] .portal-article-hero__columns {
    margin-left: 0;
    margin-right: auto;
  }
  .portal-article-hero[data-x-mobile="center"] .portal-article-hero__columns {
    margin-left: auto;
    margin-right: auto;
  }
  .portal-article-hero[data-x-mobile="right"] .portal-article-hero__columns {
    margin-left: auto;
    margin-right: 0;
  }
  .portal-article-hero__col {
    --col-align: var(--col-align-m, var(--col-align-d, left));
    --col-items: var(--col-items-m, var(--col-items-d, flex-start));
    --col-gap: var(--col-gap-m, var(--col-gap-d, 0px));
    --col-pad-y: var(--col-pad-y-m, var(--col-pad-y-d, 0px));
    --col-pad-x: var(--col-pad-x-m, var(--col-pad-x-d, 0px));
    /* Stacked: neighbour valign N/A — stretch keeps CTA with copy. */
    --col-valign: stretch;
  }
  .portal-article-hero__columns {
    --hero-grid-w-active: var(--hero-grid-w-m, var(--hero-grid-w-d, 100%));
  }
  .portal-article-hero[data-grid-width-mobile="content"] .portal-article-hero__columns {
    align-self: center !important;
    width: 100% !important;
    max-width: min(100%, var(--portal-hero-grid-max, 1280px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .portal-article-hero[data-grid-width-mobile="viewport"] .portal-article-hero__columns {
    align-self: stretch !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .portal-article-hero[data-grid-width-mobile="percent"] .portal-article-hero__columns {
    align-self: center !important;
    width: var(--hero-grid-w-active) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .portal-article .portal-article-hero[data-width-mobile="content"] {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .portal-article .portal-article-hero[data-width-mobile="viewport"] {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .portal-article-hero[data-tone-tablet="light"] .portal-article-hero__eyebrow,
  .portal-article-hero[data-tone-tablet="light"] .portal-article-hero__headline,
  .portal-article-hero[data-tone-tablet="light"] .portal-article-hero__body,
  .portal-article-hero[data-tone-tablet="light"] .portal-article-hero__body a {
    color: #f7f3ea;
  }
  .portal-article-hero[data-tone-tablet="dark"] .portal-article-hero__eyebrow,
  .portal-article-hero[data-tone-tablet="dark"] .portal-article-hero__headline,
  .portal-article-hero[data-tone-tablet="dark"] .portal-article-hero__body,
  .portal-article-hero[data-tone-tablet="dark"] .portal-article-hero__body a {
    color: var(--portal-ink, #17140f);
  }
}

@media (max-width: 767px) {
  .portal-article-hero[data-tone-mobile="light"] .portal-article-hero__eyebrow,
  .portal-article-hero[data-tone-mobile="light"] .portal-article-hero__headline,
  .portal-article-hero[data-tone-mobile="light"] .portal-article-hero__body,
  .portal-article-hero[data-tone-mobile="light"] .portal-article-hero__body a {
    color: #f7f3ea;
  }
  .portal-article-hero[data-tone-mobile="dark"] .portal-article-hero__eyebrow,
  .portal-article-hero[data-tone-mobile="dark"] .portal-article-hero__headline,
  .portal-article-hero[data-tone-mobile="dark"] .portal-article-hero__body,
  .portal-article-hero[data-tone-mobile="dark"] .portal-article-hero__body a {
    color: var(--portal-ink, #17140f);
  }
}
