/* Native disclosures render the same destinations on desktop and mobile. */
.rmag .site-header.rmag-header-shell {background:var(--rmag-panel);position:relative;z-index:20}
.rmag .site-header.rmag-header-shell > .rmag-header-ready {
  padding-block:clamp(12px,1.4vw,20px);
}
.rmag .rmag-header-ready .rmag-wordmark {white-space:nowrap}
.rmag-mega-nav {min-width:0}
.rmag-mega-nav--desktop {display:none}
.rmag .rmag-header-ready > .rmag-mega-mobile {display:block;grid-area:1/2;justify-self:end}
.rmag-mega-mobile summary,.rmag-mega-group > summary {list-style:none;cursor:pointer}
.rmag-mega-mobile summary::-webkit-details-marker,.rmag-mega-group > summary::-webkit-details-marker {display:none}
.rmag-mega-nav--mobile {
  position:absolute;inset:100% 0 auto;z-index:30;
  max-height:72vh;max-height:72dvh;overflow:auto;overscroll-behavior:contain;
  padding:12px;background:var(--rmag-panel);border-radius:0 0 12px 12px;
  box-shadow:0 22px 58px #171c3229;
}
.rmag-mega-mobile:not([open]) > .rmag-mega-nav,.rmag-mega-group:not([open]) > .rmag-mega-panel {display:none}
.rmag-mega-nav :is(a,summary) {color:var(--rmag-ink);overflow-wrap:anywhere}
.rmag-mega-nav :is(.rmag-mega-top-link,.rmag-mega-group > summary) {
  display:flex;justify-content:space-between;align-items:center;gap:.65rem;
  min-height:46px;padding:9px 12px;border-radius:8px;
  font:800 .9375rem/1.35 var(--rmag-body);text-decoration:none;
}
.rmag-mega-nav :is(.rmag-mega-top-link:hover,.rmag-mega-top-link[aria-current],.rmag-mega-group > summary:hover,.rmag-mega-group[open] > summary) {
  background:var(--rmag-soft);color:var(--rmag-accent);
}
.rmag-mega-chevron {
  flex:none;width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;
  transform:translateY(-2px) rotate(45deg);
}
.rmag-mega-group[open] > summary .rmag-mega-chevron {transform:translateY(2px) rotate(225deg)}
.rmag-mega-panel {
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,146px),1fr));gap:18px;
  padding:16px 12px 23px;background:var(--rmag-panel);
}
.rmag-mega-intro {grid-column:1/-1;min-width:0}
.rmag-mega-title {
  display:none;margin:0;font:700 clamp(1.65rem,2.5vw,2.65rem)/1.08 var(--rmag-heading);
  letter-spacing:-.046em;color:var(--rmag-ink);overflow-wrap:anywhere;
}
.rmag-mega-description {margin:0 0 10px;line-height:1.5;color:var(--rmag-muted)}
.rmag-mega-nav .rmag-mega-overview {
  display:inline-flex;align-items:center;min-height:44px;
  font-weight:800;color:var(--rmag-accent);text-decoration:underline;text-underline-offset:.2em;
}
.rmag-mega-list {min-width:0}
.rmag-mega-list > p {margin:0 0 5px;font:800 .875rem/1.4 var(--rmag-body);color:var(--rmag-muted)}
.rmag-mega-panel ul {margin:0;padding:0;list-style:none}
.rmag-mega-panel li {margin:0;padding:0}
.rmag-mega-panel li::before {content:none}
.rmag-mega-list li > ul {padding-inline-start:14px}
.rmag-mega-list li :is(a,span) {
  display:flex;align-items:center;min-height:44px;padding:6px 0;
  font-weight:700;line-height:1.4;text-decoration:none;
}
.rmag-mega-list a:is(:hover,[aria-current]),.rmag-mega-feature:hover span {
  color:var(--rmag-accent);text-decoration:underline;text-underline-offset:.2em;
}
.rmag-mega-feature {
  grid-column:1/-1;display:grid;grid-template-columns:minmax(72px,100px) minmax(0,1fr);
  align-items:center;max-width:390px;border-radius:9px;overflow:hidden;
  background:var(--rmag-soft);text-decoration:none;
}
.rmag-mega-feature img {display:block;width:100%;height:75px;object-fit:cover}
.rmag-mega-feature span {
  display:block;padding:12px 14px;
  font:700 1.15rem/1.16 var(--rmag-heading);letter-spacing:-.024em;
}
@media(max-width:1049px) {
  body.rmag .site-header.rmag-header-shell > .rmag-header-ready {
    grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto;
    min-height:64px;padding-block:10px;
  }
  body.rmag .site-header.rmag-header-shell > .rmag-header-ready .logo {grid-area:1/1;justify-self:start;min-width:0;max-width:100%}
  body.rmag .site-header.rmag-header-shell > .rmag-header-ready .rmag-wordmark {font-size:clamp(1rem,5vw,1.85rem)}
  .rmag .rmag-header-ready .rmag-custom-logo {max-width:100%;max-height:46px;width:auto;height:auto}
}
@media(min-width:1050px) {
  .rmag .rmag-header-ready > .rmag-mega-mobile {display:none}
  .rmag .rmag-header-ready > .rmag-mega-nav--desktop {
    display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:4px;
    grid-area:1/2;justify-self:stretch;
  }
  .rmag-header-right .rmag-header-ready > .rmag-mega-nav--desktop {grid-area:1/1}
  .rmag-header-center .rmag-header-ready > .rmag-mega-nav--desktop {
    grid-area:2/1/3/-1;justify-content:center;margin-top:12px;
  }
  .rmag-mega-panel {
    position:absolute;inset:100% 0 auto;z-index:30;
    grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:clamp(18px,2.7vw,36px);
    align-items:start;max-height:68vh;max-height:68dvh;overflow:auto;overscroll-behavior:contain;
    padding:clamp(22px,2.8vw,36px);border-radius:0 0 12px 12px;
    box-shadow:0 22px 58px #171c3229;
  }
  .rmag-mega-intro,.rmag-mega-feature {grid-column:auto}
  .rmag-mega-title {display:block}
  .rmag-mega-description {margin-block:12px 4px;max-width:32ch}
  .rmag-mega-list li :is(a,span) {min-height:35px}
  .rmag-mega-feature {display:block}
  .rmag-mega-feature img {height:auto;aspect-ratio:1.7}
}
