/* Poppins 4.004 from Google Fonts; license: fonts/OFL.txt. */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Poppins-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Poppins-SemiBold.ttf") format("truetype");
}

/* MajorOutline premium: load after site.css, navigation.css and the Asap theme. */
body.mo-premium {
  --mo-font: "Poppins", sans-serif;
  --mo-premium-navy: #0d1b31;
  --mo-premium-pale: #d4f3f4;
  --mo-ink: #0b1930;
  --mo-muted: #455464;
  --mo-blue: #006775;
  --mo-dark: #004e5b;
  --mo-line: #dce3e7;
  --mo-soft: #f3f8f8;
  --mo-warm: #f3f8f8;
  --mo-radius: 8px;
  --mo-gutter: clamp(24px, 4.9vw, 64px);
  background: #fff;
  color: var(--mo-ink);
  font-family: var(--mo-font) !important;
  font-weight: 400 !important;
  line-height: 1.65;
  color-scheme: light;
}

body.mo-premium *,
body.mo-premium *::before,
body.mo-premium *::after {
  box-sizing: border-box;
}

/* Override the theme and plugin font shorthands without replacing icon fonts. */
body.mo-premium :where(h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea, label, summary, legend, table),
body.mo-premium :is(.mo-home, .mo-index, .mo-hub, .mo-tools-index, .mo-info, .mo-footer, .mo-button, .mo-skip-link),
body.mo-premium #menu .mo-nav-toggle,
body.mo-premium #menu .mo-nav-close,
body.mo-premium #menu .mo-nav-panel,
body.mo-premium #menu .mo-nav-panel p,
body.mo-premium #menu .mo-nav-panel a,
body.mo-premium #mo-major-comparison,
body.mo-premium #mo-program-worksheet {
  font-family: var(--mo-font) !important;
}

body.mo-premium :is(h1, h2, h3, h4, h5, h6) {
  color: var(--mo-ink);
  font-weight: 600;
  letter-spacing: -.025em;
}

body.mo-premium :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #087d89 !important;
  outline-offset: 3px;
}

body.mo-premium .mo-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  max-width: none;
  margin: 0;
  vertical-align: middle;
  object-fit: contain;
}

/* Header: the existing native menu and search retain their behavior. */
body.mo-premium .site-header {
  min-height: 76px;
  height: auto;
  margin: 0;
  background: #fff;
  color: var(--mo-ink);
  border-bottom: 1px solid #e7ebee;
  box-shadow: none;
}

body.mo-premium .site-header-content {
  display: grid;
  grid-template-columns: auto auto minmax(160px, 1fr);
  gap: 28px;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  min-height: 76px;
  height: auto;
  margin: 0 auto;
  padding: 15px var(--mo-gutter);
  overflow: visible;
}

body.mo-premium .site-header-content > .site-name {
  display: flex;
  align-items: center;
  line-height: 1;
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding: 0 28px 0 0;
  border-right: 1px solid var(--mo-line);
  white-space: nowrap;
}

body.mo-premium .site-header-content > .site-name > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  color: var(--mo-ink) !important;
  font-size: clamp(24px, 2.35vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.045em;
  text-decoration: none;
}

body.mo-premium .site-header-content > .site-name > a::before {
  content: "";
  display: block;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  background: url("brandmark.webp") center / contain no-repeat;
}

body.mo-premium .site-header-content > .mo-navigation-holder,
body.mo-premium .site-header-content > div:last-child:not(.social-desktop) {
  grid-column: 2;
  grid-row: 1;
  position: static;
  min-width: 0;
  margin: 0;
}

body.mo-premium .site-header-content > .social-desktop {
  grid-column: 3;
  grid-row: 1;
  display: block !important;
  justify-self: end;
  min-width: 0;
  width: 100%;
  max-width: 540px;
  margin: 0;
  float: none;
}

body.mo-premium .site-header-content > .social-desktop > *,
body.mo-premium .social-desktop .widget {
  margin: 0;
  padding: 0;
}

body.mo-premium .mo-header-search {
  display: flex !important;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #fff;
}

/* The ID outranks Asap's four :not() selectors on ordinary inputs. */
body.mo-premium .mo-header-search #mo-header-search {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #ccd4db;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  background: #fff !important;
  color: var(--mo-ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  box-shadow: none;
}

body.mo-premium .mo-header-search #mo-header-search::placeholder {
  color: #68717c;
  opacity: 1;
}

body.mo-premium .mo-header-search #mo-header-search:focus-visible {
  outline-offset: -3px;
}

body.mo-premium .mo-header-search button[type="submit"] {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--mo-blue);
  border-radius: 0 6px 6px 0;
  background: var(--mo-blue);
  color: #fff;
  cursor: pointer;
}

body.mo-premium .mo-header-search button[type="submit"]:hover {
  border-color: var(--mo-dark);
  background: var(--mo-dark);
}

body.mo-premium .mo-header-search button[type="submit"] .mo-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

body.mo-premium #menu .mo-nav-toggle {
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #d6dce2;
  border-radius: 6px;
  background: #f8f9fa;
  color: var(--mo-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

body.mo-premium #menu .mo-nav-toggle:hover,
body.mo-premium #menu .mo-nav-menu[open] > .mo-nav-toggle {
  border-color: #a5c8cd;
  background: var(--mo-premium-pale);
  color: var(--mo-ink);
}

body.mo-premium #menu .mo-nav-panel {
  left: var(--mo-gutter);
  right: var(--mo-gutter);
  max-height: calc(100vh - 92px - var(--mo-nav-admin-offset, 0px));
  max-height: calc(100dvh - 92px - var(--mo-nav-admin-offset, 0px));
  padding: 24px;
  border-color: var(--mo-line);
  border-radius: 0 0 8px 8px;
  background: #fff;
  color: var(--mo-ink);
  box-shadow: 0 16px 30px #0d1b311c;
}

body.mo-premium #menu .mo-nav-panel-head p {
  color: var(--mo-ink);
  font-size: 18px;
  font-weight: 600;
}

body.mo-premium #menu .mo-nav-close {
  border-color: var(--mo-line);
  background: var(--mo-soft);
  color: var(--mo-ink);
}

body.mo-premium #menu .mo-nav-panel .mo-nav-label {
  color: var(--mo-blue);
  font-weight: 600;
  letter-spacing: .1em;
}

body.mo-premium #menu .mo-nav-panel a {
  color: var(--mo-ink) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

body.mo-premium #menu .mo-nav-panel a:hover,
body.mo-premium #menu .mo-nav-panel a[aria-current="page"],
body.mo-premium #menu .mo-nav-panel .current-menu-item > a {
  background: var(--mo-premium-pale) !important;
  color: var(--mo-dark) !important;
}

body.mo-premium #menu .mo-nav-panel .header-menu a {
  background: var(--mo-soft);
}

body.mo-premium #menu .mo-nav-panel .mo-nav-topics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 16px !important;
}

/* Full-width homepage: no inherited article container or external title. */
body.mo-premium main.mo-premium-main,
body.mo-premium .mo-home.mo-premium-home {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--mo-ink);
  text-align: left;
}

body.mo-premium .mo-premium-hero {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  align-items: stretch;
  min-height: 410px;
  margin: 0;
  padding: 0;
  background: var(--mo-premium-navy);
  color: #fff;
}

body.mo-premium .mo-premium-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 36px clamp(26px, 3vw, 44px) 38px var(--mo-gutter);
}

body.mo-premium .mo-premium-hero-copy > .mo-kicker {
  margin: 0 0 20px !important;
  color: #fff;
  font-size: 13px !important;
  font-weight: 600;
  line-height: 1.45 !important;
  letter-spacing: .17em;
}

body.mo-premium .mo-premium-hero-copy > .mo-kicker::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 12px;
  background: #14a6b2;
}

body.mo-premium #mo-home-heading {
  margin: 0 0 16px;
  padding: 0;
  color: #fff;
  font-size: clamp(34px, 4.1vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
}

body.mo-premium .mo-premium-hero-copy > .mo-hero-intro {
  max-width: 470px;
  margin: 0 0 26px;
  color: #f2f5f9;
  font-size: clamp(17px, 1.55vw, 21px);
  font-weight: 400;
  line-height: 1.5;
}

body.mo-premium .mo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin: 0;
}

body.mo-premium .mo-hero-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-height: 50px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

body.mo-premium .mo-hero-actions > .mo-primary-link {
  padding: 13px 24px;
  border: 1px solid var(--mo-premium-pale);
  border-radius: 6px;
  background: var(--mo-premium-pale);
  color: var(--mo-ink);
  text-decoration: none;
}

body.mo-premium .mo-hero-actions > .mo-primary-link:hover {
  border-color: #e8fafb;
  background: #e8fafb;
  color: var(--mo-ink);
  text-decoration: none;
}

body.mo-premium .mo-hero-actions > .mo-secondary-link {
  padding: 8px 0;
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

body.mo-premium .mo-hero-actions > .mo-secondary-link:hover {
  color: var(--mo-premium-pale);
}

body.mo-premium .mo-secondary-link .mo-icon {
  filter: brightness(0) invert(1);
}

body.mo-premium .mo-premium-hero :is(a, button):focus-visible {
  outline-color: #fff !important;
  outline-offset: 5px;
}

body.mo-premium .mo-premium-hero-media {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #d9d9cf;
}

body.mo-premium .mo-premium-hero-media > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: 68% 50%;
}

/* Open editorial cards follow the selected reference, without card borders. */
body.mo-premium .mo-premium-guides {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px var(--mo-gutter) 10px;
}

body.mo-premium .mo-premium-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 0 0 28px;
}

body.mo-premium .mo-premium-section-head h2 {
  margin: 0;
  color: var(--mo-ink);
  font-size: clamp(28px, 2.8vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.035em;
}

body.mo-premium .mo-premium-section-head > a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  color: var(--mo-blue);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.mo-premium .mo-premium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 32px 24px;
}

body.mo-premium .mo-premium-card {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.mo-premium .mo-premium-image {
  display: block;
  margin: 0;
  border-radius: 2px;
}

body.mo-premium .mo-premium-image > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  margin: 0;
  border: 0;
  border-radius: 2px;
  object-fit: cover;
  object-position: center;
}

body.mo-premium .mo-premium-card-body {
  padding: 14px 0 0;
}

body.mo-premium .mo-premium-card-body > .mo-card-type {
  margin: 0 0 6px !important;
  color: var(--mo-blue);
  font-size: 11px !important;
  font-weight: 600;
  line-height: 1.4 !important;
  letter-spacing: .1em;
}

body.mo-premium .mo-premium-card .mo-premium-card-title {
  margin: 0;
  color: var(--mo-ink);
  font-size: clamp(20px, 1.75vw, 24px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.035em;
}

body.mo-premium .mo-premium-card-title a {
  color: inherit;
  text-decoration: none;
}

body.mo-premium .mo-premium-card-title a:hover {
  color: var(--mo-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.mo-premium .mo-premium-card .mo-card-summary {
  margin: 8px 0 0 !important;
  color: #303b47;
  font-size: 15px;
  line-height: 1.55;
}

/* Supporting homepage sections use the same gutters as the lead cards. */
body.mo-premium .mo-premium-home > :is(.mo-section, .mo-tools-banner, .mo-home-categories, .mo-trust) {
  width: calc(100% - var(--mo-gutter) - var(--mo-gutter));
  max-width: 1312px;
  margin-right: auto;
  margin-left: auto;
}

body.mo-premium .mo-premium-home > .mo-section {
  margin-top: 48px;
  margin-bottom: 48px;
}

body.mo-premium .mo-tools-banner {
  border-color: #d2e7e9;
  border-radius: 8px;
  background: #edf8f8;
}

body.mo-premium .mo-trust {
  border-left-color: var(--mo-blue);
  border-radius: 0 6px 6px 0;
  background: var(--mo-soft);
}

body.mo-premium .mo-home-categories {
  border-color: var(--mo-line);
  border-radius: 8px;
}

body.mo-premium .mo-home-categories > summary {
  color: var(--mo-ink);
  font-weight: 600;
}

body.mo-premium .mo-home-categories li a {
  color: var(--mo-blue);
}

body.mo-premium .mo-home-categories li a:hover {
  background: var(--mo-premium-pale);
  color: var(--mo-dark);
}

/* Pages, articles and curated hubs keep their content and table layouts. */
body.mo-premium :is(.content-page, .content-loop) {
  width: 100%;
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  padding: 36px var(--mo-gutter) 48px;
  background: #fff;
  color: var(--mo-ink);
}

body.mo-premium .content-single {
  width: 100%;
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
  padding: 36px 24px 48px;
  background: #fff;
  color: var(--mo-ink);
}

body.mo-premium :is(.mo-hub, .mo-index, .mo-info, .mo-tools-index) header,
body.mo-premium :is(.mo-hub-intro, .mo-index-intro, .mo-intro) {
  background: transparent;
  color: var(--mo-ink);
}

body.mo-premium .content-single > .article-full > h1,
body.mo-premium .content-page > h1,
body.mo-premium .content-loop > h1 {
  color: var(--mo-ink);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.035em;
}

body.mo-premium .the-content,
body.mo-premium .the-content p {
  color: var(--mo-ink);
}

body.mo-premium .the-content :is(ol, ul) {
  color: var(--mo-ink) !important;
}

body.mo-premium .the-content a,
body.mo-premium :is(.mo-hub, .mo-index, .mo-info, .mo-tools-index) a {
  color: var(--mo-blue);
  text-underline-offset: 3px;
}

body.mo-premium .the-content :is(h2, h3, h4),
body.mo-premium :is(.mo-card-title, .mo-area-card h3, .mo-route-card h3) a {
  color: var(--mo-ink);
}

body.mo-premium :is(.mo-article-card, .mo-route-card, .mo-area-card, .mo-tool-card) {
  border-color: var(--mo-line);
  border-radius: 6px;
  box-shadow: none;
}

body.mo-premium .mo-route-card {
  background: var(--mo-soft);
}

body.mo-premium .article-loop .article-content :is(a, a p, h2, h3),
body.mo-premium .related-posts :is(h2, h3, a p) {
  color: var(--mo-ink);
  font-weight: 500 !important;
}

body.mo-premium .mo-button,
body.mo-premium :is(.mo-home, .mo-tools-index, .mo-index) a.mo-button {
  border-color: var(--mo-blue);
  background: var(--mo-blue);
  color: #fff;
  font-weight: 600;
}

body.mo-premium .mo-button:hover:not(:disabled) {
  border-color: var(--mo-dark);
  background: var(--mo-dark) !important;
  color: #fff !important;
}

body.mo-premium .mo-button-secondary,
body.mo-premium :is(.mo-home, .mo-tools-index, .mo-index) a.mo-button-secondary {
  border-color: #a7c9ce;
  background: #fff;
  color: var(--mo-blue);
}

body.mo-premium .mo-button-secondary:hover:not(:disabled) {
  background: var(--mo-premium-pale) !important;
  color: var(--mo-dark) !important;
}

body.mo-premium :is(.mo-directory-controls, .mo-tool-links) {
  border-color: var(--mo-line);
  border-radius: 8px;
  background: var(--mo-soft);
}

/* Tool roots declare their own variables; replace those, not grid dimensions. */
body.mo-premium #mo-major-comparison,
body.mo-premium #mo-program-worksheet {
  --mo-ink: #0b1930;
  --mo-muted: #455464;
  --mo-blue: #006775;
  --mo-dark: #004e5b;
  --mo-line: #dce3e7;
  --mo-soft: #f3f8f8;
  color: var(--mo-ink);
}

body.mo-premium #mo-major-comparison .mo-tag,
body.mo-premium #mo-program-worksheet .mo-tag {
  background: var(--mo-premium-pale);
  color: var(--mo-dark);
}

body.mo-premium #mo-major-comparison button:hover:not(:disabled),
body.mo-premium #mo-program-worksheet button:hover:not(:disabled) {
  background: var(--mo-premium-pale);
}

body.mo-premium #mo-major-comparison button.mo-primary:hover:not(:disabled),
body.mo-premium #mo-program-worksheet button.mo-primary:hover:not(:disabled) {
  background: var(--mo-dark);
}

body.mo-premium .mo-skip-link {
  z-index: 100001;
  border-color: var(--mo-blue);
  color: var(--mo-ink);
  font-weight: 600;
}

/* Footer uses the same navy as the hero; keep its real navigation intact. */
body.mo-premium > footer,
body.mo-premium > footer .content-footer {
  background: var(--mo-premium-navy) !important;
  color: #e6ecf2;
}

body.mo-premium > footer {
  margin-top: 48px;
}

body.mo-premium.home > footer {
  margin-top: 0;
}

body.mo-premium > footer .content-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.mo-premium > footer .content-footer .widget-bottom-area {
  margin: 0;
  padding: 0;
}

body.mo-premium .mo-footer {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 46px var(--mo-gutter) 28px;
  color: #e6ecf2;
}

body.mo-premium .content-footer .mo-footer :is(p, li) {
  font-size: 14px !important;
  line-height: 1.65;
}

body.mo-premium .content-footer .mo-footer p {
  margin: 0 0 14px !important;
}

body.mo-premium .mo-footer h2 {
  color: #fff;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -.035em;
}

body.mo-premium .mo-footer h3 {
  color: var(--mo-premium-pale);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
}

body.mo-premium .content-footer .mo-footer a {
  color: #f4f7fa;
}

body.mo-premium .content-footer .mo-footer a:hover {
  color: var(--mo-premium-pale);
}

body.mo-premium .mo-footer-note {
  border-color: #344256;
  color: #b9c6d4;
}

body.mo-premium .mo-footer :is(a, button, input):focus-visible {
  outline-color: var(--mo-premium-pale) !important;
}

@media (max-width: 1100px) {
  body.mo-premium .site-header-content {
    gap: 18px;
  }

  body.mo-premium .site-header-content > .site-name {
    padding-right: 18px;
  }

  body.mo-premium .site-header-content > .site-name > a::before {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  body.mo-premium .mo-premium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.mo-premium .mo-hero-actions {
    gap: 8px 20px;
  }

  body.mo-premium .mo-hero-actions > a {
    font-size: 14px;
  }

  body.mo-premium .mo-hero-actions > .mo-primary-link {
    padding: 12px 18px;
  }
}

@media (max-width: 1050px) {
  body.mo-premium .content-single > .article-full,
  body.mo-premium .content-page > .article-full {
    padding: 0 !important;
  }
}

@media (max-width: 760px) {
  body.mo-premium .site-header-content {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    min-height: 112px;
    padding: 8px 16px;
  }

  body.mo-premium .site-header-content > .site-name {
    padding: 0;
    border: 0;
  }

  body.mo-premium .site-header-content > .site-name > a {
    gap: 8px;
    font-size: 24px;
  }

  body.mo-premium .site-header-content > .social-desktop {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
  }

  body.mo-premium .site-header-content > .mo-navigation-holder,
  body.mo-premium .site-header-content > div:last-child:not(.social-desktop) {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  body.mo-premium #menu .mo-nav-toggle {
    gap: 7px;
    padding: 10px 12px;
    font-size: 13px;
  }

  body.mo-premium #menu .mo-nav-toggle .mo-icon {
    width: 20px;
    height: 20px;
  }

  body.mo-premium #menu .mo-nav-panel {
    left: 12px;
    right: 12px;
    max-height: calc(100vh - 132px - var(--mo-nav-admin-offset, 0px));
    max-height: calc(100dvh - 132px - var(--mo-nav-admin-offset, 0px));
    padding: 16px;
  }

  body.mo-premium #menu .mo-nav-panel .mo-nav-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.mo-premium .mo-premium-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  body.mo-premium .mo-premium-hero-copy {
    padding: 24px var(--mo-gutter) 24px;
  }

  body.mo-premium .mo-premium-hero-copy > .mo-kicker {
    margin-bottom: 14px !important;
    font-size: 12px !important;
    letter-spacing: .15em;
  }

  body.mo-premium .mo-premium-hero-copy > .mo-kicker::after {
    width: 36px;
    height: 3px;
    margin-top: 10px;
  }

  body.mo-premium #mo-home-heading {
    max-width: 560px;
    margin-bottom: 12px;
    font-size: clamp(30px, 6.1vw, 42px);
    line-height: 1.1;
  }

  body.mo-premium .mo-premium-hero-copy > .mo-hero-intro {
    max-width: 560px;
    margin-bottom: 18px;
    font-size: 17px;
  }

  body.mo-premium .mo-hero-actions > .mo-primary-link {
    min-height: 44px;
    padding: 10px 22px;
    font-size: 14px;
  }

  /* The selected mobile composition has one primary hero action. */
  body.mo-premium .mo-hero-actions > .mo-secondary-link {
    display: none;
  }

  body.mo-premium .mo-premium-hero-media {
    width: 100%;
    aspect-ratio: 2.1 / 1;
  }

  body.mo-premium .mo-premium-hero-media > img {
    object-position: center;
  }

  body.mo-premium .mo-premium-guides {
    padding-top: 24px;
  }

  body.mo-premium .mo-premium-section-head {
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 20px;
  }

  body.mo-premium .mo-premium-section-head h2 {
    font-size: 28px;
  }

  body.mo-premium .mo-premium-section-head > a {
    min-height: 32px;
    font-size: 14px;
  }

  body.mo-premium .mo-premium-home > .mo-section {
    margin-top: 36px;
    margin-bottom: 36px;
  }

  body.mo-premium :is(.content-page, .content-loop, .content-single) {
    padding-top: 28px;
    padding-bottom: 36px;
  }

  body.mo-premium .mo-footer {
    padding-top: 36px;
  }
}

@media (max-width: 600px) {
  body.mo-premium .site-header-content > .site-name > a {
    font-size: 22px;
  }

  body.mo-premium .site-header-content > .site-name > a::before {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }

  body.mo-premium #menu .mo-nav-panel .header-menu,
  body.mo-premium #menu .mo-nav-panel .mo-nav-topics,
  body.mo-premium .mo-home-categories ul,
  body.mo-premium .mo-premium-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.mo-premium #menu .mo-nav-panel .header-menu a {
    justify-content: flex-start;
    text-align: left;
  }

  body.mo-premium #mo-home-heading {
    max-width: 430px;
    font-size: clamp(30px, 8.8vw, 40px);
  }

  body.mo-premium .mo-premium-hero-copy > .mo-hero-intro {
    font-size: 16px;
    line-height: 1.5;
  }

  body.mo-premium .mo-premium-guides {
    padding-right: 16px;
    padding-left: 16px;
  }

  body.mo-premium .mo-premium-section-head {
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
  }

  body.mo-premium .mo-premium-section-head h2 {
    flex: 1 1 auto;
    min-width: 0;
    font-size: clamp(17px, 4.6vw, 19px);
    line-height: 1.25;
  }

  body.mo-premium .mo-premium-section-head > a {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 4px;
    min-height: 44px;
    font-size: 12px;
    white-space: nowrap;
  }

  body.mo-premium .mo-premium-section-head > a .mo-icon {
    width: 16px;
    height: 16px;
  }

  body.mo-premium .mo-premium-grid {
    row-gap: 30px;
  }

  body.mo-premium .mo-premium-card .mo-premium-card-title {
    font-size: 22px;
  }

  body.mo-premium .mo-premium-card .mo-card-summary {
    font-size: 15px;
  }

  body.mo-premium.category .content-loop {
    padding-right: var(--mo-gutter);
    padding-left: var(--mo-gutter);
  }
}

@media (max-width: 360px) {
  body.mo-premium .site-header-content {
    column-gap: 8px;
  }

  body.mo-premium .site-header-content > .site-name > a {
    gap: 6px;
    font-size: 19px;
  }

  body.mo-premium .site-header-content > .site-name > a::before {
    flex-basis: 25px;
    width: 25px;
    height: 25px;
  }

  body.mo-premium #menu .mo-nav-toggle {
    gap: 6px;
    padding-right: 9px;
    padding-left: 9px;
    font-size: 12px;
  }

}

@media (prefers-reduced-motion: reduce) {
  body.mo-premium :is(a, button, input, textarea, img) {
    transition: none !important;
  }
}

@media print {
  body.mo-premium {
    background: #fff;
    color: #000;
  }

  body.mo-premium .mo-premium-hero {
    display: block;
    min-height: 0;
    background: #fff;
    color: #000;
  }

  body.mo-premium .mo-premium-hero-copy {
    padding: 0;
  }

  body.mo-premium .mo-premium-hero-copy > :is(.mo-kicker, .mo-hero-intro),
  body.mo-premium #mo-home-heading {
    color: #000;
  }

  body.mo-premium .mo-hero-actions,
  body.mo-premium .mo-premium-hero-media {
    display: none;
  }

  body.mo-premium .mo-premium-guides {
    padding: 24px 0;
  }

  body.mo-premium .mo-premium-card {
    break-inside: avoid;
  }
}
