/* Theme tokens and page-wide shell background */
body.mb-site {
  --mb-container: 1120px;
  --mb-shell-gutter: clamp(14px, 4vw, 28px);

  --mb-bg: #031711;
  --mb-bg-2: #063522;
  --mb-bg-3: #0b4a2f;

  --mb-panel: rgba(5, 32, 24, 0.94);
  --mb-panel-2: rgba(9, 50, 36, 0.92);
  --mb-panel-3: rgba(13, 72, 48, 0.72);

  --mb-primary: #d9b45d;
  --mb-primary-2: #f4d77f;
  --mb-gold: #d9b45d;
  --mb-gold-2: #f4d77f;
  --mb-teal: #17a66b;
  --mb-red: #f0442e;

  --mb-text: #f8fbf3;
  --mb-text-soft: #dceadc;
  --mb-muted: #a8bbad;
  --mb-muted-2: #7e9788;

  --mb-border: rgba(217, 180, 93, 0.24);
  --mb-border-strong: rgba(244, 215, 127, 0.55);
  --mb-line: rgba(217, 180, 93, 0.24);
  --mb-line-strong: rgba(244, 215, 127, 0.55);

  --mb-radius-sm: 12px;
  --mb-radius-md: 18px;
  --mb-radius-lg: 24px;
  --mb-radius-xl: 32px;

  --mb-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --mb-shadow-soft: 0 14px 38px rgba(0, 0, 0, 0.28);
  --mb-glow: 0 0 0 1px rgba(244, 215, 127, 0.18), 0 20px 58px rgba(217, 180, 93, 0.18);

  min-height: 100dvh;
  color: var(--mb-text);
  background:
    radial-gradient(circle at 82% 9%, rgba(244, 170, 75, 0.22) 0, rgba(244, 170, 75, 0) 31%),
    radial-gradient(circle at 12% 22%, rgba(23, 166, 107, 0.30) 0, rgba(23, 166, 107, 0) 34%),
    linear-gradient(135deg, #02100c 0%, #06251a 42%, #074a2d 100%);
}

/* Scoped box sizing for shell chrome */
body.mb-site .mb-site-header,
body.mb-site .mb-site-header *,
body.mb-site .mb-page-strip,
body.mb-site .mb-page-strip *,
body.mb-site .mb-site-footer,
body.mb-site .mb-site-footer *,
body.mb-site .mb-site-drawer,
body.mb-site .mb-site-drawer * {
  box-sizing: border-box;
}

/* Site header and top navigation */
body.mb-site .mb-topbar {
  width: 100%;
  color: var(--mb-muted);
  background: rgba(2, 18, 13, 0.74);
  border-block-end: 1px solid rgba(217, 180, 93, 0.16);
}

body.mb-site .mb-topbar__inner {
  width: calc(100% - (2 * var(--mb-shell-gutter)));
  max-width: var(--mb-container);
  margin-inline: auto;
  padding-block: 7px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

body.mb-site .mb-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  color: var(--mb-text);
  background: linear-gradient(180deg, rgba(4, 26, 20, 0.88), rgba(4, 26, 20, 0.74));
  border-block-end: 1px solid var(--mb-border);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.26);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

body.mb-site .mb-site-header__inner {
  width: calc(100% - (2 * var(--mb-shell-gutter)));
  max-width: var(--mb-container);
  margin-inline: auto;
  min-height: 70px;
  padding-block: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 20px);
  min-width: 0;
}

body.mb-site .mb-site-brand {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mb-text);
  text-decoration: none;
}

body.mb-site .mb-site-brand__logo {
  display: block;
  max-height: 40px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  aspect-ratio: 800 / 128;
  flex: 0 1 auto;
}

body.mb-site .mb-site-brand__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--mb-text);
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.mb-site .mb-site-nav {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

body.mb-site .mb-site-nav__list {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 5px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(217, 180, 93, 0.16);
  border-radius: 999px;
}

body.mb-site .mb-site-nav__list::-webkit-scrollbar {
  display: none;
}

body.mb-site .mb-site-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--mb-text-soft);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

body.mb-site .mb-site-nav__link:hover,
body.mb-site .mb-site-nav__link:focus-visible,
body.mb-site .mb-site-nav__link[aria-current="page"] {
  color: #092016;
  background: linear-gradient(180deg, var(--mb-primary-2), var(--mb-primary));
  outline: none;
}

body.mb-site .mb-site-header__actions {
  flex: 0 0 auto;
  flex-shrink: 0;
  min-width: 0;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

body.mb-site .mb-site-btn,
body.mb-site a.mb-site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(244, 215, 127, 0.74);
  color: #092016;
  background: linear-gradient(180deg, var(--mb-primary-2), var(--mb-primary));
  box-shadow: 0 10px 24px rgba(217, 180, 93, 0.20);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

body.mb-site .mb-site-btn:hover,
body.mb-site .mb-site-btn:focus-visible {
  color: #092016;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(217, 180, 93, 0.28);
  outline: none;
}

body.mb-site .mb-site-burger {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(244, 215, 127, 0.42);
  color: var(--mb-primary-2);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
}

/* Shell-owned drawer sizing and palette alignment */
body.mb-site .mb-site-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  color: var(--mb-text);
}

body.mb-site .mb-site-drawer__panel {
  height: 100%;
  min-height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
  color: var(--mb-text);
  background:
    radial-gradient(circle at 85% 8%, rgba(217, 180, 93, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(5, 34, 25, 0.98), rgba(3, 21, 16, 0.98));
  border-inline-start: 1px solid rgba(217, 180, 93, 0.22);
}

body.mb-site .mb-site-drawer__panel::-webkit-scrollbar {
  display: none;
}

body.mb-site .mb-site-drawer__link {
  color: var(--mb-text-soft);
  text-decoration: none;
  border-color: rgba(217, 180, 93, 0.18);
}

body.mb-site .mb-site-drawer__link:hover,
body.mb-site .mb-site-drawer__link:focus-visible {
  color: #092016;
  background: linear-gradient(180deg, var(--mb-primary-2), var(--mb-primary));
  outline: none;
}

body.mb-site .mb-site-drawer__cta,
body.mb-site a.mb-site-drawer__cta {
  color: #092016;
  background: linear-gradient(180deg, var(--mb-primary-2), var(--mb-primary));
  border-color: rgba(244, 215, 127, 0.72);
  text-decoration: none;
}

/* Compact breadcrumb and page title strip */
body.mb-site .mb-page-strip {
  width: 100%;
  color: var(--mb-muted);
  background: rgba(2, 18, 13, 0.54);
  border-block-end: 1px solid rgba(217, 180, 93, 0.14);
}

body.mb-site .mb-page-strip__inner {
  width: calc(100% - (2 * var(--mb-shell-gutter)));
  max-width: var(--mb-container);
  margin-inline: auto;
  padding-block: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

body.mb-site .mb-page-strip a {
  color: var(--mb-primary-2);
  text-decoration: none;
}

body.mb-site .mb-page-title {
  width: calc(100% - (2 * var(--mb-shell-gutter)));
  max-width: var(--mb-container);
  margin-inline: auto;
  padding-block: clamp(18px, 4vw, 38px);
  color: var(--mb-text);
}

body.mb-site .mb-page-title h1 {
  margin: 0;
  color: var(--mb-text);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

/* Site footer */
body.mb-site .mb-site-footer {
  width: 100%;
  margin-block-start: clamp(34px, 7vw, 86px);
  color: var(--mb-text-soft);
  background:
    radial-gradient(circle at 80% 20%, rgba(217, 180, 93, 0.13), transparent 32%),
    linear-gradient(180deg, rgba(4, 30, 22, 0.86), rgba(2, 14, 10, 0.96));
  border-block-start: 1px solid var(--mb-border);
}

body.mb-site .mb-site-footer__inner {
  width: calc(100% - (2 * var(--mb-shell-gutter)));
  max-width: var(--mb-container);
  margin-inline: auto;
  padding-block: clamp(28px, 5vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.65fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: start;
}

body.mb-site .mb-site-footer__brand {
  min-width: 0;
}

body.mb-site .mb-site-footer__logo {
  display: block;
  max-height: 42px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  aspect-ratio: 800 / 128;
}

body.mb-site .mb-site-footer__copy {
  margin-block: 14px 0;
  color: var(--mb-muted);
  line-height: 1.65;
}

body.mb-site .mb-footer-nav {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
}

body.mb-site .mb-footer-nav__list {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid rgba(217, 180, 93, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
}

body.mb-site .mb-footer-nav__list > li {
  flex: 1 1 auto;
  min-width: min(100%, 130px);
}

body.mb-site .mb-footer-nav__link {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--mb-text-soft);
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

body.mb-site .mb-footer-nav__link:hover,
body.mb-site .mb-footer-nav__link:focus-visible {
  color: #092016;
  background: linear-gradient(180deg, var(--mb-primary-2), var(--mb-primary));
  outline: none;
}

/* Article root and safe scoped foundation */
.mb-article,
.mbpk-article,
.mbpk-page .mb-article {
  --mb-container: 1120px;
  --mb-section-pad: clamp(16px, 3vw, 30px);

  --mb-bg: #031711;
  --mb-bg-2: #063522;
  --mb-bg-3: #0b4a2f;

  --mb-panel: rgba(5, 32, 24, 0.94);
  --mb-panel-2: rgba(9, 50, 36, 0.92);
  --mb-panel-3: rgba(13, 72, 48, 0.72);

  --mb-primary: #d9b45d;
  --mb-primary-2: #f4d77f;
  --mb-gold: #d9b45d;
  --mb-gold-2: #f4d77f;
  --mb-teal: #17a66b;
  --mb-red: #f0442e;

  --mb-text: #f8fbf3;
  --mb-text-soft: #dceadc;
  --mb-muted: #a8bbad;
  --mb-muted-2: #7e9788;

  --mb-border: rgba(217, 180, 93, 0.24);
  --mb-border-strong: rgba(244, 215, 127, 0.55);
  --mb-line: rgba(217, 180, 93, 0.24);
  --mb-line-strong: rgba(244, 215, 127, 0.55);

  --mb-radius-sm: 12px;
  --mb-radius-md: 18px;
  --mb-radius-lg: 24px;
  --mb-radius-xl: 32px;

  --mb-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --mb-shadow-soft: 0 14px 38px rgba(0, 0, 0, 0.28);
  --mb-glow: 0 0 0 1px rgba(244, 215, 127, 0.18), 0 20px 58px rgba(217, 180, 93, 0.18);

  box-sizing: border-box;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
  width: min(100%, var(--mb-container));
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: clamp(16px, 3vw, 30px);
  color: var(--mb-text-soft);
  background:
    radial-gradient(circle at 84% 2%, rgba(217, 180, 93, 0.16), transparent 32%),
    radial-gradient(circle at 8% 18%, rgba(23, 166, 107, 0.16), transparent 35%),
    linear-gradient(180deg, rgba(5, 33, 24, 0.98), rgba(3, 20, 15, 0.98));
  border: 1px solid rgba(217, 180, 93, 0.20);
  border-radius: var(--mb-radius-xl);
  box-shadow: var(--mb-shadow);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans", sans-serif;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.7;
}

.mb-article,
.mb-article *,
.mb-article *::before,
.mb-article *::after,
.mbpk-article,
.mbpk-article *,
.mbpk-article *::before,
.mbpk-article *::after,
.mbpk-page .mb-article,
.mbpk-page .mb-article *,
.mbpk-page .mb-article *::before,
.mbpk-page .mb-article *::after {
  box-sizing: border-box;
}

.mb-article__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  min-width: 0;
}

.mb-article img,
.mbpk-article img,
.mbpk-page .mb-article img,
.mb-article video,
.mbpk-article video,
.mbpk-page .mb-article video {
  max-width: 100%;
  height: auto;
}

.mb-article :is(p, h1, h2, h3, h4, h5, h6, li, blockquote, figcaption),
.mbpk-article :is(p, h1, h2, h3, h4, h5, h6, li, blockquote, figcaption),
.mbpk-page .mb-article :is(p, h1, h2, h3, h4, h5, h6, li, blockquote, figcaption) {
  overflow-wrap: anywhere;
}

.mb-article :is(h1, h2, h3, h4, h5, h6),
.mbpk-article :is(h1, h2, h3, h4, h5, h6),
.mbpk-page .mb-article :is(h1, h2, h3, h4, h5, h6) {
  margin-block-start: 0;
  margin-block-end: 0.62em;
  color: var(--mb-text);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.028em;
}

.mb-article h1,
.mbpk-article h1,
.mbpk-page .mb-article h1 {
  font-size: clamp(2.25rem, 5.8vw, 4.75rem);
  line-height: 1.02;
}

.mb-article h2,
.mbpk-article h2,
.mbpk-page .mb-article h2 {
  font-size: clamp(1.75rem, 3.6vw, 3rem);
}

.mb-article h3,
.mbpk-article h3,
.mbpk-page .mb-article h3 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.mb-article h4,
.mbpk-article h4,
.mbpk-page .mb-article h4 {
  font-size: clamp(1.16rem, 1.9vw, 1.45rem);
}

.mb-article :is(p, ul, ol, dl, blockquote, figure),
.mbpk-article :is(p, ul, ol, dl, blockquote, figure),
.mbpk-page .mb-article :is(p, ul, ol, dl, blockquote, figure) {
  margin-block-start: 0;
  margin-block-end: 1em;
  max-width: 100%;
}

.mb-article :is(p, li),
.mbpk-article :is(p, li),
.mbpk-page .mb-article :is(p, li) {
  color: var(--mb-text-soft);
}

.mb-article a:not(.mb-btn),
.mbpk-article a:not(.mb-btn),
.mbpk-page .mb-article a:not(.mb-btn) {
  color: var(--mb-primary-2);
  text-decoration-color: rgba(244, 215, 127, 0.46);
  text-underline-offset: 0.18em;
}

.mb-article a:not(.mb-btn):hover,
.mbpk-article a:not(.mb-btn):hover,
.mbpk-page .mb-article a:not(.mb-btn):hover {
  color: #fff1ba;
  text-decoration-color: currentColor;
}

.mb-article .mb-measure,
.mbpk-article .mb-measure,
.mbpk-page .mb-article .mb-measure {
  max-width: min(72ch, 100%);
  margin-inline: auto;
}

/* Full-width section text by default */
.mb-article :is(.mb-copy, .mb-hero__copy, .mb-cta__copy, .mb-card__body, .mb-card__copy),
.mbpk-article :is(.mb-copy, .mb-hero__copy, .mb-cta__copy, .mb-card__body, .mb-card__copy),
.mbpk-page .mb-article :is(.mb-copy, .mb-hero__copy, .mb-cta__copy, .mb-card__body, .mb-card__copy),
.mb-article :is(.mb-copy, .mb-hero__copy, .mb-cta__copy, .mb-card__body, .mb-card__copy) :is(p, ul, ol),
.mbpk-article :is(.mb-copy, .mb-hero__copy, .mb-cta__copy, .mb-card__body, .mb-card__copy) :is(p, ul, ol),
.mbpk-page .mb-article :is(.mb-copy, .mb-hero__copy, .mb-cta__copy, .mb-card__body, .mb-card__copy) :is(p, ul, ol) {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

/* Lists */
.mb-article :is(ul, ol),
.mbpk-article :is(ul, ol),
.mbpk-page .mb-article :is(ul, ol) {
  padding-inline-start: 1.35em;
  padding-inline-end: 0;
}

.mb-article li + li,
.mbpk-article li + li,
.mbpk-page .mb-article li + li {
  margin-block-start: 0.35em;
}

.mb-article li::marker,
.mbpk-article li::marker,
.mbpk-page .mb-article li::marker {
  color: var(--mb-primary-2);
  font-weight: 900;
}

/* Buttons and actions */
.mb-article .mb-btn,
.mb-article a.mb-btn,
.mbpk-article .mb-btn,
.mbpk-article a.mb-btn,
.mbpk-page .mb-article .mb-btn,
.mbpk-page .mb-article a.mb-btn {
  --mb-btn-bg: linear-gradient(180deg, var(--mb-primary-2), var(--mb-primary));
  --mb-btn-text: #082016;

  width: auto;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 48px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(244, 215, 127, 0.72);
  border-radius: 999px;
  color: var(--mb-btn-text);
  background: var(--mb-btn-bg);
  box-shadow: 0 14px 28px rgba(217, 180, 93, 0.20);
  text-decoration: none;
  text-align: center;
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.18;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.mb-article .mb-btn:hover,
.mb-article .mb-btn:focus-visible,
.mb-article a.mb-btn:hover,
.mb-article a.mb-btn:focus-visible,
.mbpk-article .mb-btn:hover,
.mbpk-article .mb-btn:focus-visible,
.mbpk-article a.mb-btn:hover,
.mbpk-article a.mb-btn:focus-visible,
.mbpk-page .mb-article .mb-btn:hover,
.mbpk-page .mb-article .mb-btn:focus-visible,
.mbpk-page .mb-article a.mb-btn:hover,
.mbpk-page .mb-article a.mb-btn:focus-visible {
  color: var(--mb-btn-text);
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(217, 180, 93, 0.28);
  outline: none;
}

.mb-article .mb-btn--secondary,
.mb-article a.mb-btn--secondary,
.mbpk-article .mb-btn--secondary,
.mbpk-article a.mb-btn--secondary,
.mbpk-page .mb-article .mb-btn--secondary,
.mbpk-page .mb-article a.mb-btn--secondary {
  --mb-btn-bg: rgba(255, 255, 255, 0.055);
  --mb-btn-text: var(--mb-primary-2);

  color: var(--mb-btn-text);
  background: var(--mb-btn-bg);
  border-color: rgba(244, 215, 127, 0.58);
  box-shadow: none;
}

.mb-article .mb-btn--secondary:hover,
.mb-article .mb-btn--secondary:focus-visible,
.mb-article a.mb-btn--secondary:hover,
.mb-article a.mb-btn--secondary:focus-visible,
.mbpk-article .mb-btn--secondary:hover,
.mbpk-article .mb-btn--secondary:focus-visible,
.mbpk-article a.mb-btn--secondary:hover,
.mbpk-article a.mb-btn--secondary:focus-visible,
.mbpk-page .mb-article .mb-btn--secondary:hover,
.mbpk-page .mb-article .mb-btn--secondary:focus-visible,
.mbpk-page .mb-article a.mb-btn--secondary:hover,
.mbpk-page .mb-article a.mb-btn--secondary:focus-visible {
  --mb-btn-bg: linear-gradient(180deg, var(--mb-primary-2), var(--mb-primary));
  --mb-btn-text: #082016;

  color: var(--mb-btn-text);
  background: var(--mb-btn-bg);
}

.mb-article .mb-btn--accent,
.mb-article a.mb-btn--accent,
.mbpk-article .mb-btn--accent,
.mbpk-article a.mb-btn--accent,
.mbpk-page .mb-article .mb-btn--accent,
.mbpk-page .mb-article a.mb-btn--accent {
  --mb-btn-bg: linear-gradient(180deg, #ff6a3c, var(--mb-red));
  --mb-btn-text: #ffffff;

  color: var(--mb-btn-text);
  background: var(--mb-btn-bg);
  border-color: rgba(255, 133, 83, 0.72);
  box-shadow: 0 16px 34px rgba(240, 68, 46, 0.24);
}

.mb-hero__actions,
.mb-cta__actions,
.mb-card__actions,
.mb-actions {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Hero: image, then CTA, then copy in one full-width column */
.mb-article .mb-hero,
.mbpk-article .mb-hero,
.mbpk-page .mb-article .mb-hero {
  --mb-hero-inline: var(--mb-section-pad);

  width: 100%;
  max-width: var(--mb-container);
  min-width: 0;
  margin-inline: auto;
  margin-block-start: 0;
  margin-block-end: clamp(28px, 5vw, 58px);
  padding-inline: 0;
  padding-block-start: 0;
  padding-block-end: clamp(18px, 3vw, 30px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "cta"
    "copy";
  row-gap: clamp(14px, 2vw, 22px);
  align-items: start;
  border-radius: var(--mb-radius-xl);
  border: 1px solid rgba(217, 180, 93, 0.20);
  background:
    radial-gradient(circle at 78% 12%, rgba(217, 180, 93, 0.16), transparent 31%),
    linear-gradient(180deg, rgba(8, 45, 33, 0.78), rgba(4, 25, 19, 0.78));
  box-shadow: var(--mb-shadow-soft);
}

.mb-article .mb-hero__media,
.mbpk-article .mb-hero__media,
.mbpk-page .mb-article .mb-hero__media {
  grid-area: media;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--mb-radius-xl);
  overflow: hidden;
  overflow: clip;
  background: #071e17;
  box-shadow: var(--mb-glow);
  cursor: pointer;
}

.mb-article .mb-hero__media > :is(a, picture),
.mbpk-article .mb-hero__media > :is(a, picture),
.mbpk-page .mb-article .mb-hero__media > :is(a, picture) {
  display: block;
  width: 100%;
  height: 100%;
}

.mb-article .mb-hero__media img,
.mbpk-article .mb-hero__media img,
.mbpk-page .mb-article .mb-hero__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.mb-article .mb-hero__media:hover img,
.mbpk-article .mb-hero__media:hover img,
.mbpk-page .mb-article .mb-hero__media:hover img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.04);
}

.mb-article .mb-hero__copy,
.mbpk-article .mb-hero__copy,
.mbpk-page .mb-article .mb-hero__copy {
  grid-area: copy;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-inline: var(--mb-hero-inline);
  padding-block: 0;
}

.mb-article .mb-hero > .mb-cta,
.mbpk-article .mb-hero > .mb-cta,
.mbpk-page .mb-article .mb-hero > .mb-cta {
  grid-area: cta;
  width: calc(100% - var(--mb-hero-inline) - var(--mb-hero-inline));
  max-width: calc(100% - var(--mb-hero-inline) - var(--mb-hero-inline));
  min-width: 0;
  margin-inline: var(--mb-hero-inline);
  margin-block: clamp(4px, 1vw, 10px);
}

.mb-article .mb-hero__badge,
.mbpk-article .mb-hero__badge,
.mbpk-page .mb-article .mb-hero__badge {
  width: fit-content;
  max-width: 100%;
  margin-block-end: 14px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(244, 215, 127, 0.68);
  color: var(--mb-primary-2);
  background: rgba(217, 180, 93, 0.08);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  pointer-events: none;
  cursor: default;
}

.mb-article .mb-hero__lead,
.mbpk-article .mb-hero__lead,
.mbpk-page .mb-article .mb-hero__lead {
  width: 100%;
  max-width: 100%;
  margin-block-end: 0;
  color: var(--mb-text-soft);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

/* CTA sections */
.mb-article .mb-cta,
.mbpk-article .mb-cta,
.mbpk-page .mb-article .mb-cta {
  width: 100%;
  max-width: var(--mb-container);
  min-width: 0;
  margin-inline: auto;
  margin-block-end: clamp(24px, 4vw, 46px);
  padding: clamp(18px, 3.5vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border-radius: var(--mb-radius-lg);
  border: 1px solid rgba(244, 215, 127, 0.28);
  background:
    radial-gradient(circle at 88% 18%, rgba(217, 180, 93, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(12, 70, 47, 0.88), rgba(5, 30, 23, 0.92));
  box-shadow: var(--mb-shadow-soft);
}

.mb-article .mb-cta__title,
.mbpk-article .mb-cta__title,
.mbpk-page .mb-article .mb-cta__title {
  margin-block-end: 0.4em;
}

.mb-article .mb-cta__copy,
.mbpk-article .mb-cta__copy,
.mbpk-page .mb-article .mb-cta__copy {
  color: var(--mb-text-soft);
}

/* Rows and media sections */
.mb-article .mb-row:not(.mb-hero),
.mbpk-article .mb-row:not(.mb-hero),
.mbpk-page .mb-article .mb-row:not(.mb-hero) {
  --mb-row-top-pad: 0px;

  width: 100%;
  max-width: var(--mb-container);
  min-width: 0;
  margin-inline: auto;
  margin-block-end: clamp(26px, 5vw, 58px);
  padding: clamp(16px, 3vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "copy";
  gap: clamp(18px, 3.5vw, 42px);
  align-items: start;
  border-radius: var(--mb-radius-lg);
  border: 1px solid rgba(217, 180, 93, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
}

.mb-article .mb-row--stack:not(.mb-hero),
.mb-article .mb-row--long:not(.mb-hero),
.mbpk-article .mb-row--stack:not(.mb-hero),
.mbpk-article .mb-row--long:not(.mb-hero),
.mbpk-page .mb-article .mb-row--stack:not(.mb-hero),
.mbpk-page .mb-article .mb-row--long:not(.mb-hero) {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "copy";
}

.mb-article .mb-row--reverse:not(.mb-hero),
.mbpk-article .mb-row--reverse:not(.mb-hero),
.mbpk-page .mb-article .mb-row--reverse:not(.mb-hero) {
  grid-template-areas:
    "copy"
    "media";
}

.mb-article .mb-row:not(.mb-hero) > .mb-copy,
.mbpk-article .mb-row:not(.mb-hero) > .mb-copy,
.mbpk-page .mb-article .mb-row:not(.mb-hero) > .mb-copy {
  grid-area: copy;
}

.mb-article .mb-row:not(.mb-hero) > .mb-media,
.mbpk-article .mb-row:not(.mb-hero) > .mb-media,
.mbpk-page .mb-article .mb-row:not(.mb-hero) > .mb-media {
  grid-area: media;
}

.mb-article .mb-copy,
.mb-article .mb-media,
.mbpk-article .mb-copy,
.mbpk-article .mb-media,
.mbpk-page .mb-article .mb-copy,
.mbpk-page .mb-article .mb-media {
  min-width: 0;
  max-width: 100%;
  padding-block-start: var(--mb-row-top-pad);
}

.mb-article .mb-copy,
.mbpk-article .mb-copy,
.mbpk-page .mb-article .mb-copy {
  width: 100%;
  display: block;
}

.mb-article .mb-media,
.mbpk-article .mb-media,
.mbpk-page .mb-article .mb-media {
  width: 100%;
  margin: 0;
  padding: 0;
  aspect-ratio: 2 / 3;
  border-radius: var(--mb-radius-lg);
  overflow: hidden;
  overflow: clip;
  background: #071e17;
  box-shadow: var(--mb-glow);
  cursor: pointer;
}

.mb-article .mb-row--stack:not(.mb-hero) > .mb-media,
.mb-article .mb-row--long:not(.mb-hero) > .mb-media,
.mbpk-article .mb-row--stack:not(.mb-hero) > .mb-media,
.mbpk-article .mb-row--long:not(.mb-hero) > .mb-media,
.mbpk-page .mb-article .mb-row--stack:not(.mb-hero) > .mb-media,
.mbpk-page .mb-article .mb-row--long:not(.mb-hero) > .mb-media {
  width: 100%;
}

.mb-article .mb-media > :is(a, picture),
.mbpk-article .mb-media > :is(a, picture),
.mbpk-page .mb-article .mb-media > :is(a, picture) {
  display: block;
  width: 100%;
  height: 100%;
}

.mb-article .mb-media img,
.mbpk-article .mb-media img,
.mbpk-page .mb-article .mb-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.mb-article .mb-media:hover img,
.mbpk-article .mb-media:hover img,
.mbpk-page .mb-article .mb-media:hover img {
  transform: scale(1.04);
  filter: saturate(1.06) contrast(1.04);
}

/* Cards and equal-column grids */
.mb-article .mb-grid,
.mb-article .mb-slot-grid,
.mbpk-article .mb-grid,
.mbpk-article .mb-slot-grid,
.mbpk-page .mb-article .mb-grid,
.mbpk-page .mb-article .mb-slot-grid {
  width: 100%;
  max-width: var(--mb-container);
  min-width: 0;
  margin-inline: auto;
  margin-block-end: clamp(26px, 5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 3vw, 26px);
  align-items: stretch;
}

.mb-article .mb-grid > .mb-card,
.mb-article .mb-slot-grid > .mb-card,
.mbpk-article .mb-grid > .mb-card,
.mbpk-article .mb-slot-grid > .mb-card,
.mbpk-page .mb-article .mb-grid > .mb-card,
.mbpk-page .mb-article .mb-slot-grid > .mb-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.mb-article .mb-card,
.mbpk-article .mb-card,
.mbpk-page .mb-article .mb-card {
  min-width: 0;
  max-width: 100%;
  padding: clamp(14px, 2.4vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: var(--mb-radius-lg);
  border: 1px solid rgba(217, 180, 93, 0.17);
  background:
    radial-gradient(circle at 90% 8%, rgba(217, 180, 93, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.mb-article .mb-card__media,
.mbpk-article .mb-card__media,
.mbpk-page .mb-article .mb-card__media {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  aspect-ratio: 2 / 3;
  border-radius: calc(var(--mb-radius-lg) - 6px);
  overflow: hidden;
  overflow: clip;
  background: #071e17;
  box-shadow: 0 0 0 1px rgba(244, 215, 127, 0.16);
  cursor: pointer;
}

.mb-article .mb-card__media > :is(a, picture),
.mbpk-article .mb-card__media > :is(a, picture),
.mbpk-page .mb-article .mb-card__media > :is(a, picture) {
  display: block;
  width: 100%;
  height: 100%;
}

.mb-article .mb-card__media img,
.mbpk-article .mb-card__media img,
.mbpk-page .mb-article .mb-card__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.mb-article .mb-card:hover .mb-card__media img,
.mbpk-article .mb-card:hover .mb-card__media img,
.mbpk-page .mb-article .mb-card:hover .mb-card__media img {
  transform: scale(1.04);
  filter: saturate(1.06) contrast(1.04);
}

.mb-article .mb-card__body,
.mbpk-article .mb-card__body,
.mbpk-page .mb-article .mb-card__body {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.mb-article .mb-card__title,
.mbpk-article .mb-card__title,
.mbpk-page .mb-article .mb-card__title {
  margin-block-end: 0.45em;
}

.mb-article .mb-card__copy,
.mbpk-article .mb-card__copy,
.mbpk-page .mb-article .mb-card__copy {
  color: var(--mb-text-soft);
}

/* FAQ */
.mb-article .mb-faq,
.mbpk-article .mb-faq,
.mbpk-page .mb-article .mb-faq {
  width: 100%;
  max-width: var(--mb-container);
  min-width: 0;
  margin-inline: auto;
  margin-block-end: clamp(26px, 5vw, 58px);
}

.mb-article .mb-faq details,
.mbpk-article .mb-faq details,
.mbpk-page .mb-article .mb-faq details {
  border: 1px solid rgba(217, 180, 93, 0.18);
  border-radius: var(--mb-radius-md);
  background: rgba(255, 255, 255, 0.045);
}

.mb-article .mb-faq details + details,
.mbpk-article .mb-faq details + details,
.mbpk-page .mb-article .mb-faq details + details {
  margin-block-start: 12px;
}

.mb-article .mb-faq summary,
.mbpk-article .mb-faq summary,
.mbpk-page .mb-article .mb-faq summary {
  padding: 16px 18px;
  color: var(--mb-text);
  font-weight: 900;
  line-height: 1.35;
  cursor: pointer;
}

.mb-article .mb-faq summary::marker,
.mbpk-article .mb-faq summary::marker,
.mbpk-page .mb-article .mb-faq summary::marker {
  color: var(--mb-primary-2);
}

.mb-article .mb-faq details > :not(summary),
.mbpk-article .mb-faq details > :not(summary),
.mbpk-page .mb-article .mb-faq details > :not(summary) {
  padding-inline: 18px;
}

.mb-article .mb-faq details > :last-child,
.mbpk-article .mb-faq details > :last-child,
.mbpk-page .mb-article .mb-faq details > :last-child {
  padding-block-end: 16px;
  margin-block-end: 0;
}

/* Tables: wide tables scroll only inside the wrapper */
.mb-article .mb-table-wrap,
.mbpk-article .mb-table-wrap,
.mbpk-page .mb-article .mb-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  margin-block: 18px clamp(28px, 5vw, 54px);
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  border: 1px solid rgba(217, 180, 93, 0.22);
  border-radius: var(--mb-radius-md);
  background: rgba(3, 20, 15, 0.80);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  scrollbar-color: var(--mb-primary) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.mb-article table.mb-table,
.mbpk-article table.mb-table,
.mbpk-page .mb-article table.mb-table {
  width: 100%;
  min-width: 620px;
  margin: 0;
  direction: ltr;
  text-align: left;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--mb-text-soft);
  background: transparent;
}

.mb-article table.mb-table caption,
.mbpk-article table.mb-table caption,
.mbpk-page .mb-article table.mb-table caption {
  padding: 12px 14px;
  color: var(--mb-muted);
  text-align: left;
  caption-side: bottom;
}

.mb-article table.mb-table th,
.mb-article table.mb-table td,
.mbpk-article table.mb-table th,
.mbpk-article table.mb-table td,
.mbpk-page .mb-article table.mb-table th,
.mbpk-page .mb-article table.mb-table td {
  padding: 13px 14px;
  vertical-align: top;
  border-block-end: 1px solid rgba(217, 180, 93, 0.14);
  border-inline-end: 1px solid rgba(217, 180, 93, 0.10);
}

.mb-article table.mb-table th,
.mbpk-article table.mb-table th,
.mbpk-page .mb-article table.mb-table th {
  color: #082016;
  background: linear-gradient(180deg, var(--mb-primary-2), var(--mb-primary));
  font-weight: 900;
}

.mb-article table.mb-table tr:nth-child(even) td,
.mbpk-article table.mb-table tr:nth-child(even) td,
.mbpk-page .mb-article table.mb-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.035);
}

.mb-article table.mb-table tr:last-child td,
.mbpk-article table.mb-table tr:last-child td,
.mbpk-page .mb-article table.mb-table tr:last-child td {
  border-block-end: 0;
}

/* Quotes, dividers, and utility blocks */
.mb-article blockquote,
.mbpk-article blockquote,
.mbpk-page .mb-article blockquote {
  padding: clamp(16px, 3vw, 24px);
  border-inline-start: 4px solid var(--mb-primary);
  border-radius: var(--mb-radius-md);
  color: var(--mb-text);
  background: rgba(217, 180, 93, 0.08);
}

.mb-article .mb-divider,
.mbpk-article .mb-divider,
.mbpk-page .mb-article .mb-divider {
  width: 100%;
  max-width: var(--mb-container);
  height: 1px;
  margin: clamp(26px, 5vw, 56px) auto;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(244, 215, 127, 0.54), transparent);
}

.mb-article .mb-note,
.mbpk-article .mb-note,
.mbpk-page .mb-article .mb-note {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block-end: clamp(20px, 4vw, 42px);
  padding: 16px 18px;
  border-radius: var(--mb-radius-md);
  border: 1px solid rgba(23, 166, 107, 0.32);
  color: var(--mb-text-soft);
  background: rgba(23, 166, 107, 0.09);
}

/* Tablet grid behavior: never more than two card columns below 980px */
@media (min-width: 640px) {
  .mb-article .mb-grid,
  .mb-article .mb-slot-grid,
  .mbpk-article .mb-grid,
  .mbpk-article .mb-slot-grid,
  .mbpk-page .mb-article .mb-grid,
  .mbpk-page .mb-article .mb-slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop layouts */
@media (min-width: 860px) {
  .mb-article .mb-row:not(.mb-row--stack):not(.mb-row--long):not(.mb-hero),
  .mbpk-article .mb-row:not(.mb-row--stack):not(.mb-row--long):not(.mb-hero),
  .mbpk-page .mb-article .mb-row:not(.mb-row--stack):not(.mb-row--long):not(.mb-hero) {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    grid-template-areas: "media copy";
  }

  .mb-article .mb-row--reverse:not(.mb-row--stack):not(.mb-row--long):not(.mb-hero),
  .mbpk-article .mb-row--reverse:not(.mb-row--stack):not(.mb-row--long):not(.mb-hero),
  .mbpk-page .mb-article .mb-row--reverse:not(.mb-row--stack):not(.mb-row--long):not(.mb-hero) {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    grid-template-areas: "copy media";
  }

  .mb-article .mb-cta--split,
  .mbpk-article .mb-cta--split,
  .mbpk-page .mb-article .mb-cta--split {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .mb-article .mb-cta--split .mb-cta__actions,
  .mbpk-article .mb-cta--split .mb-cta__actions,
  .mbpk-page .mb-article .mb-cta--split .mb-cta__actions {
    justify-content: flex-end;
  }
}

@media (min-width: 980px) {
  .mb-article .mb-grid,
  .mb-article .mb-slot-grid,
  .mbpk-article .mb-grid,
  .mbpk-article .mb-slot-grid,
  .mbpk-page .mb-article .mb-grid,
  .mbpk-page .mb-article .mb-slot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mb-article .mb-grid--orphan-fix,
  .mb-article .mb-slot-grid--orphan-fix,
  .mbpk-article .mb-grid--orphan-fix,
  .mbpk-article .mb-slot-grid--orphan-fix,
  .mbpk-page .mb-article .mb-grid--orphan-fix,
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .mb-article .mb-grid--orphan-fix > .mb-card,
  .mb-article .mb-slot-grid--orphan-fix > .mb-card,
  .mbpk-article .mb-grid--orphan-fix > .mb-card,
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card,
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card,
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card {
    grid-column: span 2;
  }

  .mb-article .mb-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .mbpk-article .mb-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2) {
    grid-column: span 3;
  }

  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto;
    column-gap: clamp(18px, 3vw, 34px);
    row-gap: 0;
    align-items: stretch;
  }

  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__media,
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__media,
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__media,
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__media,
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__media,
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__media {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    height: 100%;
  }

  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__body,
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__body,
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__body,
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__body,
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__body,
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__body {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > :not(.mb-card__media):not(.mb-card__body),
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > :not(.mb-card__media):not(.mb-card__body),
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > :not(.mb-card__media):not(.mb-card__body),
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > :not(.mb-card__media):not(.mb-card__body),
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > :not(.mb-card__media):not(.mb-card__body),
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > :not(.mb-card__media):not(.mb-card__body) {
    grid-column: 1;
    min-width: 0;
    max-width: 100%;
  }
}

/* Shell responsive behavior */
@media (max-width: 900px) {
  body.mb-site .mb-site-header__inner {
    min-height: 62px;
    gap: 8px;
  }

  body.mb-site .mb-site-nav {
    display: none;
  }

  body.mb-site .mb-site-brand__logo {
    max-height: clamp(26px, 7.5vw, 40px);
  }

  body.mb-site .mb-site-btn,
  body.mb-site a.mb-site-btn {
    display: inline-flex;
    width: auto;
    max-width: 42vw;
    padding: 8px 12px;
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.mb-site .mb-site-burger {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  body.mb-site .mb-site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  body.mb-site .mb-footer-nav__list > li {
    min-width: min(100%, 150px);
  }
}

/* Mobile hardening: no viewport overflow, buttons fit, tables scroll internally */
@media (max-width: 639px) {
  body.mb-site .mb-topbar__inner,
  body.mb-site .mb-site-header__inner,
  body.mb-site .mb-page-strip__inner,
  body.mb-site .mb-page-title,
  body.mb-site .mb-site-footer__inner {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  body.mb-site .mb-topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .mb-article,
  .mbpk-article,
  .mbpk-page .mb-article {
    width: 100%;
    max-width: 100%;
    padding-inline: clamp(14px, 4vw, 18px);
    border-radius: clamp(18px, 6vw, 28px);
  }

  .mb-article .mb-hero,
  .mb-article .mb-row:not(.mb-hero),
  .mb-article .mb-cta,
  .mb-article .mb-grid,
  .mb-article .mb-slot-grid,
  .mb-article .mb-faq,
  .mb-article .mb-table-wrap,
  .mbpk-article .mb-hero,
  .mbpk-article .mb-row:not(.mb-hero),
  .mbpk-article .mb-cta,
  .mbpk-article .mb-grid,
  .mbpk-article .mb-slot-grid,
  .mbpk-article .mb-faq,
  .mbpk-article .mb-table-wrap,
  .mbpk-page .mb-article .mb-hero,
  .mbpk-page .mb-article .mb-row:not(.mb-hero),
  .mbpk-page .mb-article .mb-cta,
  .mbpk-page .mb-article .mb-grid,
  .mbpk-page .mb-article .mb-slot-grid,
  .mbpk-page .mb-article .mb-faq,
  .mbpk-page .mb-article .mb-table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .mb-article .mb-row:not(.mb-hero),
  .mbpk-article .mb-row:not(.mb-hero),
  .mbpk-page .mb-article .mb-row:not(.mb-hero) {
    padding: clamp(14px, 4vw, 18px);
    gap: 18px;
  }

  .mb-article .mb-hero,
  .mbpk-article .mb-hero,
  .mbpk-page .mb-article .mb-hero {
    --mb-hero-inline: clamp(14px, 4vw, 18px);
    row-gap: 14px;
  }

  .mb-article .mb-hero > .mb-cta,
  .mbpk-article .mb-hero > .mb-cta,
  .mbpk-page .mb-article .mb-hero > .mb-cta {
    width: calc(100% - var(--mb-hero-inline) - var(--mb-hero-inline));
    max-width: calc(100% - var(--mb-hero-inline) - var(--mb-hero-inline));
    margin-inline: var(--mb-hero-inline);
  }

  .mb-article .mb-hero__actions,
  .mb-article .mb-cta__actions,
  .mb-article .mb-card__actions,
  .mb-article .mb-actions,
  .mbpk-article .mb-hero__actions,
  .mbpk-article .mb-cta__actions,
  .mbpk-article .mb-card__actions,
  .mbpk-article .mb-actions,
  .mbpk-page .mb-article .mb-hero__actions,
  .mbpk-page .mb-article .mb-cta__actions,
  .mbpk-page .mb-article .mb-card__actions,
  .mbpk-page .mb-article .mb-actions {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .mb-article .mb-btn,
  .mb-article a.mb-btn,
  .mbpk-article .mb-btn,
  .mbpk-article a.mb-btn,
  .mbpk-page .mb-article .mb-btn,
  .mbpk-page .mb-article a.mb-btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-inline: 14px;
  }

  .mb-article .mb-media,
  .mb-article .mb-media img,
  .mb-article .mb-hero__media,
  .mb-article .mb-hero__media img,
  .mb-article .mb-card__media,
  .mb-article .mb-card__media img,
  .mbpk-article .mb-media,
  .mbpk-article .mb-media img,
  .mbpk-article .mb-hero__media,
  .mbpk-article .mb-hero__media img,
  .mbpk-article .mb-card__media,
  .mbpk-article .mb-card__media img,
  .mbpk-page .mb-article .mb-media,
  .mbpk-page .mb-article .mb-media img,
  .mbpk-page .mb-article .mb-hero__media,
  .mbpk-page .mb-article .mb-hero__media img,
  .mbpk-page .mb-article .mb-card__media,
  .mbpk-page .mb-article .mb-card__media img {
    max-width: 100%;
  }

  .mb-article table.mb-table,
  .mbpk-article table.mb-table,
  .mbpk-page .mb-article table.mb-table {
    min-width: 620px;
  }

  .mb-article table.mb-table th,
  .mb-article table.mb-table td,
  .mbpk-article table.mb-table th,
  .mbpk-article table.mb-table td,
  .mbpk-page .mb-article table.mb-table th,
  .mbpk-page .mb-article table.mb-table td {
    white-space: nowrap;
  }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  .mb-article .mb-btn,
  .mb-article .mb-media img,
  .mb-article .mb-hero__media img,
  .mb-article .mb-card__media img,
  .mbpk-article .mb-btn,
  .mbpk-article .mb-media img,
  .mbpk-article .mb-hero__media img,
  .mbpk-article .mb-card__media img,
  .mbpk-page .mb-article .mb-btn,
  .mbpk-page .mb-article .mb-media img,
  .mbpk-page .mb-article .mb-hero__media img,
  .mbpk-page .mb-article .mb-card__media img,
  body.mb-site .mb-site-btn,
  body.mb-site .mb-site-nav__link,
  body.mb-site .mb-footer-nav__link {
    transition: none;
  }

  .mb-article .mb-btn:hover,
  .mb-article .mb-media:hover img,
  .mb-article .mb-hero__media:hover img,
  .mb-article .mb-card:hover .mb-card__media img,
  .mbpk-article .mb-btn:hover,
  .mbpk-article .mb-media:hover img,
  .mbpk-article .mb-hero__media:hover img,
  .mbpk-article .mb-card:hover .mb-card__media img,
  .mbpk-page .mb-article .mb-btn:hover,
  .mbpk-page .mb-article .mb-media:hover img,
  .mbpk-page .mb-article .mb-hero__media:hover img,
  .mbpk-page .mb-article .mb-card:hover .mb-card__media img,
  body.mb-site .mb-site-btn:hover {
    transform: none;
  }
}

/* fair-pages-kit: Beautiful Site TOC (converter-injected) */
.mb-article .mb-toc,
.mbpk-article .mb-toc,
.mbpk-page .mb-article .mb-toc {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block-end: var(--mb-stack-gap, var(--mb-space-7, clamp(20px, 4vw, 42px)));
  padding: clamp(20px, 4vw, 36px) var(--mb-page-pad, var(--mb-gutter, clamp(16px, 3.4vw, 28px)));
  border: 1px solid var(--mb-border, rgba(255, 255, 255, 0.12));
  border-radius: var(--mb-radius-lg, 22px);
  background:
    radial-gradient(circle at 88% 10%, rgba(227, 178, 87, 0.12), transparent 16rem),
    linear-gradient(180deg, rgba(36, 16, 8, 0.94), rgba(27, 11, 5, 0.88));
  box-shadow: var(--mb-shadow, 0 22px 70px rgba(0, 0, 0, 0.42));
}

.mb-article .mb-toc__summary,
.mbpk-article .mb-toc__summary,
.mbpk-page .mb-article .mb-toc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mb-article .mb-toc__summary::-webkit-details-marker,
.mbpk-article .mb-toc__summary::-webkit-details-marker,
.mbpk-page .mb-article .mb-toc__summary::-webkit-details-marker {
  display: none;
}

.mb-article .mb-toc__summary::after,
.mbpk-article .mb-toc__summary::after,
.mbpk-page .mb-article .mb-toc__summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--mb-border-strong, rgba(255, 255, 255, 0.24));
  border-radius: var(--mb-radius-sm, 12px);
  color: var(--mb-gold-2, #ffd985);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mb-article .mb-toc[open] .mb-toc__summary::after,
.mbpk-article .mb-toc[open] .mb-toc__summary::after,
.mbpk-page .mb-article .mb-toc[open] .mb-toc__summary::after {
  content: "−";
}

.mb-article .mb-toc__title,
.mbpk-article .mb-toc__title,
.mbpk-page .mb-article .mb-toc__title {
  margin: 0;
  color: var(--mb-gold-2, #ffd985);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.25;
}

.mb-article .mb-toc__list,
.mbpk-article .mb-toc__list,
.mbpk-page .mb-article .mb-toc__list {
  margin: clamp(14px, 2.5vw, 20px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(8px, 1.5vw, 12px);
}

.mb-article .mb-toc__list--sub,
.mbpk-article .mb-toc__list--sub,
.mbpk-page .mb-article .mb-toc__list--sub {
  margin: clamp(8px, 1.5vw, 10px) 0 0;
  padding-left: clamp(12px, 2vw, 18px);
  border-left: 1px solid var(--mb-border, rgba(255, 255, 255, 0.12));
}

.mb-article .mb-toc__item,
.mbpk-article .mb-toc__item,
.mbpk-page .mb-article .mb-toc__item {
  margin: 0;
}

.mb-article .mb-toc__link,
.mbpk-article .mb-toc__link,
.mbpk-page .mb-article .mb-toc__link {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--mb-radius-sm, 12px);
  color: var(--mb-text, var(--mb-ink, #f2f2ee));
  text-decoration: none;
  background: rgba(255, 246, 220, 0.03);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.mb-article .mb-toc__num,
.mbpk-article .mb-toc__num,
.mbpk-page .mb-article .mb-toc__num {
  flex: 0 0 auto;
  min-width: 2.2rem;
  color: var(--mb-gold, #e3b257);
  font-variant-numeric: tabular-nums;
}

.mb-article .mb-toc__text,
.mbpk-article .mb-toc__text,
.mbpk-page .mb-article .mb-toc__text {
  flex: 1 1 auto;
}

.mb-article .mb-toc__link:hover,
.mbpk-article .mb-toc__link:hover,
.mbpk-page .mb-article .mb-toc__link:hover,
.mb-article .mb-toc__link:focus-visible,
.mbpk-article .mb-toc__link:focus-visible,
.mbpk-page .mb-article .mb-toc__link:focus-visible {
  color: var(--mb-gold-2, #ffd985);
  border-color: var(--mb-border-strong, rgba(255, 255, 255, 0.24));
  background: rgba(227, 178, 87, 0.08);
}

@media (max-width: 640px) {
  .mb-article .mb-toc,
  .mbpk-article .mb-toc,
  .mbpk-page .mb-article .mb-toc {
    max-width: 100%;
  }
}

