/* Palette derived from the reference: black/brown casino stage, warm gold, orange-red highlights, teal CTA. */

/* Shell theme tokens and page-wide background for assembled pages */
body.mb-site {
  --mb-container: 1120px;
  --mb-gutter: clamp(14px, 4vw, 28px);
  --mb-bg: #090604;
  --mb-bg-2: #1b0905;
  --mb-bg-3: #341107;
  --mb-panel: #120c09;
  --mb-panel-2: #21130c;
  --mb-card: #18100c;
  --mb-card-2: #25150c;
  --mb-primary: #11b9a8;
  --mb-primary-2: #078678;
  --mb-teal: #11b9a8;
  --mb-gold: #f7bd49;
  --mb-gold-2: #ff7a1a;
  --mb-gold-3: #ffe2a3;
  --mb-red: #d72a1f;
  --mb-text: #fff5df;
  --mb-text-soft: #e8d7ba;
  --mb-muted: #bea98b;
  --mb-muted-2: #8f7a61;
  --mb-border: rgba(247, 189, 73, 0.22);
  --mb-border-strong: rgba(247, 189, 73, 0.46);
  --mb-line: rgba(247, 189, 73, 0.22);
  --mb-line-strong: rgba(247, 189, 73, 0.46);
  --mb-shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
  --mb-glow: 0 0 32px rgba(247, 189, 73, 0.22);
  --mb-radius-sm: 12px;
  --mb-radius-md: 18px;
  --mb-radius-lg: 24px;
  --mb-radius-xl: 30px;
  color: var(--mb-text);
  background:
    radial-gradient(circle at 72% -10%, rgba(247, 189, 73, 0.36), transparent 34rem),
    radial-gradient(circle at 12% 12%, rgba(215, 42, 31, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 42%, rgba(17, 185, 168, 0.12), transparent 26rem),
    linear-gradient(135deg, #060403 0%, #160804 42%, #090604 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 *,
body.mb-site .mb-topbar,
body.mb-site .mb-topbar *,
body.mb-site .mb-page-title,
body.mb-site .mb-page-title * {
  box-sizing: border-box;
}

/* Topbar */
body.mb-site .mb-topbar {
  width: 100%;
  color: var(--mb-muted);
  background: rgba(9, 6, 4, 0.82);
  border-bottom: 1px solid rgba(247, 189, 73, 0.14);
  font: 500 0.86rem/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.mb-site .mb-topbar__inner {
  width: min(100%, var(--mb-container));
  margin-inline: auto;
  padding: 7px var(--mb-gutter);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

body.mb-site .mb-topbar a {
  color: var(--mb-gold-3);
  text-decoration: none;
}

body.mb-site .mb-topbar a:hover,
body.mb-site .mb-topbar a:focus-visible {
  color: #ffffff;
}

/* Header and horizontal navigation */
body.mb-site .mb-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  color: var(--mb-text);
  background: rgba(13, 8, 5, 0.82);
  border-bottom: 1px solid rgba(247, 189, 73, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.mb-site .mb-site-header__inner {
  width: min(100%, var(--mb-container));
  margin-inline: auto;
  padding: 10px var(--mb-gutter);
  min-width: 0;
  display: flex;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 22px);
}

body.mb-site .mb-site-brand {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  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;
}

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

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

body.mb-site .mb-site-nav__list {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body.mb-site .mb-site-nav__list > li {
  min-width: 0;
}

body.mb-site .mb-site-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--mb-text-soft);
  text-decoration: none;
  line-height: 1.15;
  font-weight: 750;
  font-size: 0.92rem;
  border: 1px solid rgba(247, 189, 73, 0.16);
  background: rgba(255, 226, 163, 0.045);
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 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: #2a1107;
  background: linear-gradient(135deg, var(--mb-gold), var(--mb-gold-2));
  border-color: rgba(255, 226, 163, 0.68);
  transform: translateY(-1px);
}

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

body.mb-site .mb-site-btn {
  display: inline-flex !important;
  width: auto;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 226, 163, 0.64);
  color: #071514;
  background: linear-gradient(135deg, #19d0bd 0%, var(--mb-primary) 48%, #08796e 100%);
  box-shadow: 0 12px 28px rgba(17, 185, 168, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  text-decoration: none;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  font-weight: 900;
  font-size: 0.9rem;
  line-height: 1.12;
  cursor: pointer;
  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: #041211;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(17, 185, 168, 0.3), 0 0 0 3px rgba(17, 185, 168, 0.16);
}

body.mb-site .mb-site-burger {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 999px;
  border: 1px solid rgba(247, 189, 73, 0.28);
  color: var(--mb-gold-3);
  background: rgba(255, 226, 163, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Horizontal nav fallback on constrained desktop widths */
@media (min-width: 900px) and (max-width: 1120px) {
  body.mb-site .mb-site-nav {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

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

/* Shell drawer viewport sizing and palette hooks */
body.mb-site .mb-site-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 1100;
  color: var(--mb-text);
  background: rgba(5, 4, 3, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.mb-site .mb-site-drawer__panel {
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--mb-text);
  background:
    radial-gradient(circle at 70% 0%, rgba(247, 189, 73, 0.2), transparent 18rem),
    linear-gradient(180deg, var(--mb-panel-2), var(--mb-panel));
  border-inline-start: 1px solid rgba(247, 189, 73, 0.2);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

body.mb-site .mb-site-drawer__nav,
body.mb-site .mb-site-drawer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.mb-site .mb-site-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--mb-text-soft);
  text-decoration: none;
  border: 1px solid rgba(247, 189, 73, 0.14);
  background: rgba(255, 226, 163, 0.045);
  font-weight: 800;
  line-height: 1.25;
}

body.mb-site .mb-site-drawer__link:hover,
body.mb-site .mb-site-drawer__link:focus-visible,
body.mb-site .mb-site-drawer__link[aria-current="page"] {
  color: #211006;
  background: linear-gradient(135deg, var(--mb-gold), var(--mb-gold-2));
  border-color: rgba(255, 226, 163, 0.55);
}

body.mb-site .mb-site-drawer__cta {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  color: #051513;
  background: linear-gradient(135deg, #19d0bd, var(--mb-primary-2));
  text-decoration: none;
  text-align: center;
  font-weight: 950;
  overflow-wrap: anywhere;
}

/* Breadcrumb and page strips */
body.mb-site .mb-page-strip {
  width: 100%;
  color: var(--mb-muted);
  background: rgba(18, 12, 9, 0.76);
  border-bottom: 1px solid rgba(247, 189, 73, 0.12);
}

body.mb-site .mb-page-strip__inner {
  width: min(100%, var(--mb-container));
  margin-inline: auto;
  padding: 8px var(--mb-gutter);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 0.86rem;
  line-height: 1.35;
}

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

body.mb-site .mb-page-strip a:hover,
body.mb-site .mb-page-strip a:focus-visible {
  color: #ffffff;
}

body.mb-site .mb-page-title {
  width: 100%;
  color: var(--mb-text);
  background:
    radial-gradient(circle at 76% 10%, rgba(247, 189, 73, 0.18), transparent 24rem),
    linear-gradient(180deg, rgba(33, 19, 12, 0.86), rgba(18, 12, 9, 0.62));
  border-bottom: 1px solid rgba(247, 189, 73, 0.14);
}

body.mb-site .mb-page-title__inner {
  width: min(100%, var(--mb-container));
  margin-inline: auto;
  padding: clamp(22px, 4vw, 42px) var(--mb-gutter);
}

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

/* Footer */
body.mb-site .mb-site-footer {
  width: 100%;
  margin-block-start: clamp(38px, 7vw, 80px);
  color: var(--mb-text-soft);
  background:
    radial-gradient(circle at 20% 0%, rgba(247, 189, 73, 0.16), transparent 24rem),
    linear-gradient(180deg, rgba(18, 12, 9, 0.94), #070504);
  border-top: 1px solid rgba(247, 189, 73, 0.18);
}

body.mb-site .mb-site-footer__inner {
  width: min(100%, var(--mb-container));
  margin-inline: auto;
  padding: clamp(28px, 5vw, 48px) var(--mb-gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(20px, 4vw, 36px);
}

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

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

body.mb-site .mb-site-footer__copy {
  margin-block-start: 12px;
  color: var(--mb-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

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

body.mb-site .mb-footer-nav__list {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 9px;
}

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

body.mb-site .mb-footer-nav__link {
  width: 100%;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--mb-text-soft);
  text-decoration: none;
  text-align: center;
  border: 1px solid rgba(247, 189, 73, 0.16);
  background: rgba(255, 226, 163, 0.045);
  font-weight: 750;
  line-height: 1.18;
}

body.mb-site .mb-footer-nav__link:hover,
body.mb-site .mb-footer-nav__link:focus-visible {
  color: #241006;
  background: linear-gradient(135deg, var(--mb-gold), var(--mb-gold-2));
}

/* Article root and tokens */
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) {
  --mb-container: 1120px;
  --mb-gutter: clamp(14px, 4vw, 28px);
  --mb-bg: #090604;
  --mb-bg-2: #1b0905;
  --mb-bg-3: #341107;
  --mb-panel: #120c09;
  --mb-panel-2: #21130c;
  --mb-card: #18100c;
  --mb-card-2: #25150c;
  --mb-primary: #11b9a8;
  --mb-primary-2: #078678;
  --mb-teal: #11b9a8;
  --mb-gold: #f7bd49;
  --mb-gold-2: #ff7a1a;
  --mb-gold-3: #ffe2a3;
  --mb-red: #d72a1f;
  --mb-text: #fff5df;
  --mb-text-soft: #e8d7ba;
  --mb-muted: #bea98b;
  --mb-muted-2: #8f7a61;
  --mb-border: rgba(247, 189, 73, 0.22);
  --mb-border-strong: rgba(247, 189, 73, 0.46);
  --mb-shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
  --mb-glow: 0 0 32px rgba(247, 189, 73, 0.22);
  --mb-radius-sm: 12px;
  --mb-radius-md: 18px;
  --mb-radius-lg: 24px;
  --mb-radius-xl: 30px;
  box-sizing: border-box;
  width: min(100%, var(--mb-container));
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: clamp(16px, 3vw, 32px);
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
  color: var(--mb-text-soft);
  background:
    radial-gradient(circle at 74% 0%, rgba(247, 189, 73, 0.16), transparent 26rem),
    radial-gradient(circle at 10% 12%, rgba(215, 42, 31, 0.12), transparent 22rem),
    linear-gradient(180deg, rgba(33, 19, 12, 0.96), rgba(9, 6, 4, 0.98));
  border: 1px solid rgba(247, 189, 73, 0.16);
  border-radius: var(--mb-radius-xl);
  box-shadow: var(--mb-shadow);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(16px, 1.08vw, 18px);
  line-height: 1.68;
  overflow-wrap: break-word;
}

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

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

/* Typography */
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) :is(h1, h2, h3, h4, h5, h6) {
  max-width: 100%;
  margin-block-start: 0;
  margin-block-end: 0.62em;
  color: var(--mb-text);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 950;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) h1 {
  font-size: clamp(2.25rem, 6vw, 5.25rem);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) h2 {
  font-size: clamp(1.85rem, 4.2vw, 3.35rem);
}

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

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) h4 {
  font-size: clamp(1.12rem, 2vw, 1.42rem);
}

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

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) :is(strong, b) {
  color: var(--mb-gold-3);
  font-weight: 900;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a:not(.mb-btn) {
  color: var(--mb-gold);
  text-decoration-color: rgba(247, 189, 73, 0.48);
  text-underline-offset: 0.18em;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a:not(.mb-btn):hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a:not(.mb-btn):focus-visible {
  color: var(--mb-gold-3);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) :is(img, svg, video, iframe, embed, object) {
  max-width: 100%;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) img {
  height: auto;
}

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

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) :is(.mb-copy, .mb-hero__copy, .mb-cta__copy, .mb-card__copy),
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) :is(.mb-copy, .mb-hero__copy, .mb-cta__copy, .mb-card__copy) :is(p, ul, ol) {
  max-width: 100%;
  margin-inline: 0;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-kicker,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-eyebrow {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-block-end: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--mb-gold-3);
  background: rgba(247, 189, 73, 0.1);
  border: 1px solid rgba(247, 189, 73, 0.26);
  font-size: 0.78rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero: single-column visual order image, CTA, copy */
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero {
  --mb-hero-pad: clamp(16px, 3.4vw, 34px);
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block-start: 0;
  margin-block-end: clamp(34px, 6vw, 72px);
  padding-inline: 0;
  padding-block-start: 0;
  padding-block-end: clamp(20px, 3.5vw, 34px);
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "cta"
    "copy";
  align-items: start;
  gap: 0;
  color: var(--mb-text-soft);
  background:
    radial-gradient(circle at 78% 10%, rgba(247, 189, 73, 0.18), transparent 24rem),
    linear-gradient(180deg, rgba(37, 21, 12, 0.78), rgba(13, 8, 5, 0.92));
  border: 1px solid rgba(247, 189, 73, 0.18);
  border-radius: var(--mb-radius-xl);
  box-shadow: var(--mb-glow);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero__media,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero > .mb-media {
  grid-area: media;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  overflow: clip;
  border-radius: var(--mb-radius-xl);
  background: #050403;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.46);
  cursor: pointer;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero__media img,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero__media picture,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero__media picture > img,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero > .mb-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease, filter 420ms ease;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero__media:hover img,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero > .mb-media:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero > .mb-cta {
  grid-area: cta;
  width: calc(100% - var(--mb-hero-pad) - var(--mb-hero-pad));
  max-width: none;
  margin-inline: var(--mb-hero-pad);
  margin-block-start: clamp(14px, 2.4vw, 24px);
  margin-block-end: clamp(18px, 3vw, 30px);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero__copy {
  grid-area: copy;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-inline: var(--mb-hero-pad);
  padding-block: 0 clamp(4px, 1vw, 10px);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-block-end: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--mb-gold-3);
  background: rgba(247, 189, 73, 0.12);
  border: 1px solid rgba(247, 189, 73, 0.3);
  font-size: 0.78rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero__copy h1 {
  margin-block-end: 0.38em;
  color: var(--mb-text);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.22), 0 0 28px rgba(247, 189, 73, 0.14);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero__lead,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-lead {
  max-width: 100%;
  color: var(--mb-text-soft);
  font-size: clamp(1.04rem, 1.8vw, 1.26rem);
  line-height: 1.62;
}

/* Rows */
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-row:not(.mb-hero) {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: clamp(30px, 5.5vw, 70px);
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "copy";
  align-items: start;
  gap: clamp(18px, 3.5vw, 34px);
}

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

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

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

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

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-copy {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-block-start: 0;
  align-self: start;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-copy > :last-child {
  margin-block-end: 0;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-media {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  padding-block-start: 0;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  overflow: clip;
  border-radius: var(--mb-radius-lg);
  background: #050403;
  border: 1px solid rgba(247, 189, 73, 0.18);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.42), 0 0 26px rgba(247, 189, 73, 0.12);
  cursor: pointer;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-media img,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-media picture,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-media picture > img,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-media video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease, filter 420ms ease, box-shadow 420ms ease;
}

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

/* Long and stack media remains full-width */
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-row--stack:not(.mb-hero) > .mb-media,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-row--long:not(.mb-hero) > .mb-media {
  width: 100%;
  max-width: 100%;
}

/* CTA and buttons */
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-cta {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: clamp(30px, 5vw, 66px);
  padding: clamp(18px, 4vw, 34px);
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 22px);
  align-items: center;
  color: var(--mb-text-soft);
  background:
    radial-gradient(circle at 92% 0%, rgba(17, 185, 168, 0.22), transparent 18rem),
    linear-gradient(135deg, rgba(37, 21, 12, 0.98), rgba(18, 12, 9, 0.96));
  border: 1px solid rgba(247, 189, 73, 0.22);
  border-radius: var(--mb-radius-lg);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-cta__copy {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-cta__copy > :last-child {
  margin-block-end: 0;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero__actions,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-cta__actions,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-actions {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) button.mb-btn,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn {
  appearance: none;
  -webkit-appearance: none;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 13px 19px;
  border-radius: 999px;
  border: 1px solid rgba(255, 226, 163, 0.64);
  color: #041312;
  background: linear-gradient(135deg, #1dd8c4 0%, var(--mb-primary) 48%, var(--mb-primary-2) 100%);
  box-shadow: 0 14px 34px rgba(17, 185, 168, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  text-decoration: none;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  font-weight: 950;
  font-size: 0.98rem;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background 180ms ease, border-color 180ms ease;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn:focus-visible,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) button.mb-btn:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) button.mb-btn:focus-visible,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn:focus-visible {
  color: #041312;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(17, 185, 168, 0.34), 0 0 0 3px rgba(17, 185, 168, 0.16);
  outline: none;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--accent,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) button.mb-btn--accent,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn--accent {
  color: #241006;
  background: linear-gradient(135deg, var(--mb-gold-3) 0%, var(--mb-gold) 48%, var(--mb-gold-2) 100%);
  border-color: rgba(255, 226, 163, 0.72);
  box-shadow: 0 14px 34px rgba(247, 189, 73, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--accent:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--accent:focus-visible,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) button.mb-btn--accent:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) button.mb-btn--accent:focus-visible,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn--accent:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn--accent:focus-visible {
  color: #241006;
  background: linear-gradient(135deg, #fff0bd 0%, #ffc85d 50%, #ff8a22 100%);
  box-shadow: 0 18px 42px rgba(247, 189, 73, 0.32), 0 0 0 3px rgba(247, 189, 73, 0.18);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--secondary,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) button.mb-btn--secondary,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn--secondary,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--ghost,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) button.mb-btn--ghost,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn--ghost {
  color: var(--mb-gold-3);
  background: rgba(255, 226, 163, 0.06);
  border-color: rgba(247, 189, 73, 0.34);
  box-shadow: none;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--secondary:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--secondary:focus-visible,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) button.mb-btn--secondary:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) button.mb-btn--secondary:focus-visible,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn--secondary:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn--secondary:focus-visible,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--ghost:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--ghost:focus-visible,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) button.mb-btn--ghost:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) button.mb-btn--ghost:focus-visible,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn--ghost:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn--ghost:focus-visible {
  color: #ffffff;
  background: rgba(247, 189, 73, 0.13);
  border-color: rgba(247, 189, 73, 0.58);
}

/* Grids and cards */
.mb-article .mb-grid,
.mbpk-article .mb-grid,
.mbpk-page .mb-article .mb-grid,
.mb-article .mb-slot-grid,
.mbpk-article .mb-slot-grid,
.mbpk-page .mb-article .mb-slot-grid {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: clamp(30px, 5.2vw, 66px);
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.8vw, 26px);
  align-items: stretch;
}

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

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  color: var(--mb-text-soft);
  background:
    radial-gradient(circle at 85% 0%, rgba(247, 189, 73, 0.12), transparent 16rem),
    linear-gradient(180deg, rgba(37, 21, 12, 0.9), rgba(18, 12, 9, 0.96));
  border: 1px solid rgba(247, 189, 73, 0.18);
  border-radius: var(--mb-radius-lg);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card__media,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card > img:first-child,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card > picture:first-child {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  overflow: clip;
  border-radius: var(--mb-radius-lg);
  background: #050403;
  cursor: pointer;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card__media img,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card__media picture,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card__media picture > img,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card > img:first-child,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card > picture:first-child,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card > picture:first-child > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease, filter 420ms ease;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card:hover .mb-card__media img,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card:hover > img:first-child {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card__body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: clamp(16px, 2.8vw, 24px);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card > :not(.mb-card__media):not(.mb-card__body):not(img):not(picture) {
  max-width: calc(100% - clamp(32px, 5.6vw, 48px));
  margin-inline: clamp(16px, 2.8vw, 24px);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card > :not(.mb-card__media):not(.mb-card__body):not(img):not(picture):first-child {
  margin-block-start: clamp(16px, 2.8vw, 24px);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card > :not(.mb-card__media):not(.mb-card__body):not(img):not(picture):last-child {
  margin-block-end: clamp(16px, 2.8vw, 24px);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card__title {
  color: var(--mb-text);
  margin-block-end: 0.5em;
}

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

/* Lists */
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) :is(ul, ol) {
  max-width: 100%;
  margin-block: 0 1.1em;
  padding-inline-start: 1.35em;
  padding-inline-end: 0;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) li {
  margin-block: 0.32em;
  padding-inline-start: 0.15em;
}

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

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-list > li {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--mb-radius-sm);
  background: rgba(255, 226, 163, 0.055);
  border: 1px solid rgba(247, 189, 73, 0.14);
}

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

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-faq details {
  break-inside: avoid;
  margin-block: 0 12px;
  padding: 0;
  border-radius: var(--mb-radius-md);
  border: 1px solid rgba(247, 189, 73, 0.18);
  background: linear-gradient(180deg, rgba(37, 21, 12, 0.86), rgba(18, 12, 9, 0.94));
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-faq summary {
  min-width: 0;
  padding: 16px 18px;
  cursor: pointer;
  color: var(--mb-text);
  font-weight: 900;
  line-height: 1.32;
  list-style-position: inside;
  overflow-wrap: anywhere;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-faq details[open] summary {
  border-bottom: 1px solid rgba(247, 189, 73, 0.14);
  color: var(--mb-gold-3);
}

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

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

/* Tables: wide tables scroll inside the wrapper only */
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  margin-block: clamp(22px, 4vw, 42px);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  border-radius: var(--mb-radius-md);
  border: 1px solid rgba(247, 189, 73, 0.18);
  background: rgba(9, 6, 4, 0.5);
  scrollbar-color: rgba(247, 189, 73, 0.68) rgba(255, 226, 163, 0.08);
  scrollbar-width: thin;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) table.mb-table {
  width: 100%;
  min-width: 620px;
  direction: ltr;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--mb-text-soft);
  background: rgba(18, 12, 9, 0.88);
  font-size: 0.94rem;
  line-height: 1.45;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) table.mb-table caption {
  caption-side: top;
  padding: 12px 14px;
  text-align: left;
  color: var(--mb-gold-3);
  font-weight: 900;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) table.mb-table :is(th, td) {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border-inline-end: 1px solid rgba(247, 189, 73, 0.12);
  border-block-end: 1px solid rgba(247, 189, 73, 0.12);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) table.mb-table th {
  color: #251006;
  background: linear-gradient(135deg, var(--mb-gold-3), var(--mb-gold));
  font-weight: 950;
}

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

/* Standalone dividers only between sections */
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) :is(hr, .mb-divider) {
  width: 100%;
  max-width: var(--mb-container);
  height: 1px;
  margin: clamp(30px, 5vw, 58px) auto;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(247, 189, 73, 0.54), rgba(17, 185, 168, 0.28), transparent);
}

/* Quotes, notes, and code */
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) blockquote,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-note {
  width: 100%;
  max-width: 100%;
  margin: clamp(20px, 3.5vw, 34px) 0;
  padding: clamp(16px, 3vw, 24px);
  border-radius: var(--mb-radius-md);
  border: 1px solid rgba(247, 189, 73, 0.22);
  border-inline-start: 4px solid var(--mb-gold);
  color: var(--mb-text-soft);
  background: rgba(255, 226, 163, 0.06);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) :is(pre, code, kbd) {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 16px;
  border-radius: var(--mb-radius-md);
  color: var(--mb-text-soft);
  background: #070504;
  border: 1px solid rgba(247, 189, 73, 0.16);
  -webkit-overflow-scrolling: touch;
}

/* Forms inside article blocks */
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) :is(input, select, textarea) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border-radius: var(--mb-radius-sm);
  border: 1px solid rgba(247, 189, 73, 0.24);
  color: var(--mb-text);
  background: rgba(5, 4, 3, 0.72);
  font: inherit;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) :is(input, select, textarea):focus {
  outline: 2px solid rgba(17, 185, 168, 0.42);
  outline-offset: 2px;
  border-color: rgba(17, 185, 168, 0.68);
}

/* Tablet grids and rows */
@media (min-width: 640px) {
  .mb-article .mb-grid,
  .mbpk-article .mb-grid,
  .mbpk-page .mb-article .mb-grid,
  .mb-article .mb-slot-grid,
  .mbpk-article .mb-slot-grid,
  .mbpk-page .mb-article .mb-slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mb-article .mb-grid > .mb-card,
  .mbpk-article .mb-grid > .mb-card,
  .mbpk-page .mb-article .mb-grid > .mb-card,
  .mb-article .mb-slot-grid > .mb-card,
  .mbpk-article .mb-slot-grid > .mb-card,
  .mbpk-page .mb-article .mb-slot-grid > .mb-card {
    grid-column: auto;
  }
}

@media (min-width: 780px) {
  :is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-cta--inline {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  :is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-cta--inline .mb-cta__actions {
    width: auto;
    justify-content: flex-end;
  }
}

@media (min-width: 900px) {
  :is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-row:not(.mb-hero):not(.mb-row--stack):not(.mb-row--long) {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
    grid-template-areas: "copy media";
    align-items: start;
  }

  :is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-row--reverse:not(.mb-hero):not(.mb-row--stack):not(.mb-row--long) {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    grid-template-areas: "media copy";
    align-items: start;
  }

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

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

/* Desktop card grids: equal 6-column system, three cards per row */
@media (min-width: 980px) {
  .mb-article .mb-grid,
  .mbpk-article .mb-grid,
  .mbpk-page .mb-article .mb-grid,
  .mb-article .mb-slot-grid,
  .mbpk-article .mb-slot-grid,
  .mbpk-page .mb-article .mb-slot-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

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

  .mb-article .mb-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mbpk-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:nth-last-child(2):nth-child(3n+1),
  .mb-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:nth-last-child(2):nth-child(3n+1),
  .mbpk-page .mb-article .mb-slot-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),
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .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),
  .mbpk-article .mb-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),
  .mb-article .mb-slot-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-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;
    gap: 0;
    align-items: stretch;
  }

  .mb-article .mb-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-page .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-slot-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;
    height: 100%;
    align-self: stretch;
  }

  .mb-article .mb-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-page .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-slot-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: center;
  }

  .mb-article .mb-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-page .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-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-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;
  }
}

/* Mobile safety */
@media (max-width: 899px) {
  body.mb-site .mb-site-nav {
    display: none;
  }

  body.mb-site .mb-site-header__inner {
    flex-direction: row !important;
    align-items: center;
  }

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

  body.mb-site .mb-site-btn {
    display: inline-flex !important;
    width: auto;
    max-width: min(42vw, 168px);
    padding: 8px 12px;
    font-size: 0.82rem;
  }

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

@media (max-width: 640px) {
  body.mb-site .mb-topbar__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  body.mb-site .mb-site-header__inner {
    padding-block: 8px;
    gap: 8px;
  }

  body.mb-site .mb-site-header__actions {
    gap: 7px;
  }

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

  body.mb-site .mb-site-btn {
    max-width: 40vw;
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  :is(.mb-article, .mbpk-article, .mbpk-page .mb-article) {
    width: 100%;
    max-width: 100%;
    padding: clamp(12px, 4vw, 16px);
    border-radius: 18px;
  }

  :is(.mb-article, .mbpk-article, .mbpk-page .mb-article) :is(.mb-row, .mb-hero, .mb-cta, .mb-grid, .mb-slot-grid, .mb-copy, .mb-media, .mb-card, .mb-card__media, .mb-table-wrap) {
    max-width: 100%;
    min-width: 0;
  }

  :is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero {
    --mb-hero-pad: clamp(12px, 4vw, 16px);
    border-radius: 18px;
    margin-block-end: 34px;
  }

  :is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero__media,
  :is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero > .mb-media {
    border-radius: 18px;
  }

  :is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-row:not(.mb-hero) {
    margin-block: 32px;
    gap: 18px;
  }

  :is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-cta {
    padding: 16px;
    border-radius: 18px;
  }

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

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

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

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

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

@media (max-width: 420px) {
  body.mb-site .mb-site-btn {
    max-width: 38vw;
    padding: 7px 9px;
    font-size: 0.75rem;
  }

  body.mb-site .mb-site-brand__text {
    font-size: 0.95rem;
  }

  :is(.mb-article, .mbpk-article, .mbpk-page .mb-article) h1 {
    font-size: clamp(2rem, 12vw, 3.1rem);
  }

  :is(.mb-article, .mbpk-article, .mbpk-page .mb-article) h2 {
    font-size: clamp(1.55rem, 9vw, 2.35rem);
  }
}

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

  :is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-media:hover img,
  :is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-card:hover .mb-card__media img,
  :is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-hero__media:hover img {
    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%;
  }
}

