/****
 * Global CSS for Elementor HTML blocks and optional MB site shell.
 * Palette: dark burgundy, warm gold, teal CTA, orange/red casino accents.
 ****/

/* Theme tokens shared by article and shell chrome */
body.mb-site,
.mb-site-header,
.mb-page-strip,
.mb-site-footer,
.mb-site-drawer,
.mb-article,
.mbpk-article,
.mbpk-page .mb-article {
  --mb-font: "Inter", "Noto Sans", "Segoe UI", Arial, sans-serif;
  --mb-container: 1120px;
  --mb-radius-sm: 12px;
  --mb-radius: 18px;
  --mb-radius-lg: 28px;
  --mb-space-1: 0.45rem;
  --mb-space-2: 0.75rem;
  --mb-space-3: 1rem;
  --mb-space-4: 1.35rem;
  --mb-space-5: 1.75rem;
  --mb-space-6: 2.25rem;
  --mb-section-gap: clamp(1.5rem, 3.8vw, 3.25rem);
  --mb-section-pad: clamp(1rem, 3vw, 1.75rem);

  --mb-bg: #130407;
  --mb-bg-2: #23080c;
  --mb-bg-3: #3a1110;
  --mb-panel: #211016;
  --mb-panel-2: #32151c;
  --mb-panel-3: #451a1a;

  --mb-primary: #13bfb2;
  --mb-primary-2: #0d8f89;
  --mb-teal: #15d2bd;
  --mb-gold: #f4ae34;
  --mb-gold-2: #ffe18b;
  --mb-orange: #f26722;
  --mb-red: #a51d2f;

  --mb-text: #fff7e8;
  --mb-text-soft: #f3dfc4;
  --mb-muted: #cfb79d;
  --mb-muted-2: #9f8575;

  --mb-border: rgba(244, 174, 52, 0.22);
  --mb-border-strong: rgba(255, 225, 139, 0.45);
  --mb-line: rgba(255, 255, 255, 0.12);
  --mb-line-strong: rgba(255, 225, 139, 0.38);

  --mb-shadow: 0 22px 65px rgba(0, 0, 0, 0.42);
  --mb-glow: 0 0 34px rgba(19, 191, 178, 0.18), 0 0 44px rgba(244, 174, 52, 0.11);
  --mb-focus: 0 0 0 3px rgba(19, 191, 178, 0.36);

  font-family: var(--mb-font);
}

/* Optional assembled site background */
body.mb-site {
  direction: ltr;
  text-align: start;
  color: var(--mb-text);
  font-family: var(--mb-font);
  background:
    radial-gradient(circle at 82% 8%, rgba(244, 174, 52, 0.22) 0, transparent 28%),
    radial-gradient(circle at 8% 18%, rgba(165, 29, 47, 0.28) 0, transparent 34%),
    radial-gradient(circle at 48% 0%, rgba(19, 191, 178, 0.10) 0, transparent 30%),
    linear-gradient(135deg, #120306 0%, #25080d 44%, #100407 100%);
}

/* Scoped box sizing for article and shell components */
.mb-article,
.mb-article *,
.mb-article *::before,
.mb-article *::after,
.mbpk-article,
.mbpk-article *,
.mbpk-article *::before,
.mbpk-article *::after,
.mb-site-header,
.mb-site-header *,
.mb-site-header *::before,
.mb-site-header *::after,
.mb-page-strip,
.mb-page-strip *,
.mb-site-footer,
.mb-site-footer *,
.mb-site-drawer,
.mb-site-drawer * {
  box-sizing: border-box;
}

/* Shell header, topbar, navigation */
.mb-topbar {
  width: 100%;
  color: var(--mb-muted);
  background: rgba(19, 4, 7, 0.78);
  border-bottom: 1px solid var(--mb-line);
  font-family: var(--mb-font);
}

.mb-topbar__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: 0.45rem clamp(0.9rem, 3vw, 1.25rem);
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  min-width: 0;
}

.mb-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: var(--mb-font);
  color: var(--mb-text);
  background: rgba(20, 5, 8, 0.82);
  border-bottom: 1px solid var(--mb-border);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
}

.mb-site-header__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: 0.72rem clamp(0.9rem, 3vw, 1.25rem);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.55rem, 2vw, 1.15rem);
  min-width: 0;
}

.mb-site-brand {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--mb-text);
  text-decoration: none;
}

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

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

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

.mb-site-nav__list {
  list-style: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

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

.mb-site-nav__link,
.mb-site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  padding: 0.55rem 0.82rem;
  border: 1px solid rgba(255, 225, 139, 0.22);
  border-radius: 999px;
  color: var(--mb-text-soft);
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
  line-height: 1.15;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.mb-site-nav__link:hover,
.mb-site-nav a:hover,
.mb-site-nav__link:focus-visible,
.mb-site-nav a:focus-visible {
  color: #170507;
  background: linear-gradient(135deg, var(--mb-gold), var(--mb-gold-2));
  border-color: rgba(255, 225, 139, 0.72);
  transform: translateY(-1px);
}

.mb-site-header__actions {
  flex: 0 0 auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  min-width: 0;
}

.mb-site-btn,
.mb-site-header a.mb-site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: min(42vw, 220px);
  padding: 0.66rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 225, 139, 0.58);
  color: #170507;
  background: linear-gradient(135deg, var(--mb-gold) 0%, var(--mb-gold-2) 100%);
  box-shadow: 0 10px 25px rgba(244, 174, 52, 0.18);
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.mb-site-btn:hover,
.mb-site-header a.mb-site-btn:hover,
.mb-site-btn:focus-visible,
.mb-site-header a.mb-site-btn:focus-visible {
  color: #170507;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(244, 174, 52, 0.28);
  filter: saturate(1.08);
}

.mb-site-btn--apk,
.mb-site-header a.mb-site-btn--apk {
  color: var(--mb-text);
  background: linear-gradient(135deg, rgba(19, 191, 178, 0.95), rgba(13, 143, 137, 0.95));
  border-color: rgba(255, 225, 139, 0.35);
  box-shadow: 0 10px 25px rgba(19, 191, 178, 0.16);
}

.mb-site-btn--apk:hover,
.mb-site-header a.mb-site-btn--apk:hover,
.mb-site-btn--apk:focus-visible,
.mb-site-header a.mb-site-btn--apk:focus-visible {
  color: var(--mb-text);
  box-shadow: 0 14px 34px rgba(19, 191, 178, 0.28);
}

.mb-site-burger {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--mb-border);
  border-radius: 999px;
  color: var(--mb-text);
  background: rgba(255, 255, 255, 0.055);
}

/* Shell drawer base; deterministic shell CSS may override layout details after this file */
.mb-site-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  z-index: 1200;
  color: var(--mb-text);
  font-family: var(--mb-font);
}

.mb-site-drawer__panel {
  height: 100%;
  min-height: 100dvh;
  color: var(--mb-text);
  background:
    radial-gradient(circle at 86% 0%, rgba(244, 174, 52, 0.18) 0, transparent 32%),
    linear-gradient(180deg, #23080c 0%, #140407 100%);
  border-inline-start: 1px solid var(--mb-border);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

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

.mb-site-drawer__link,
.mb-site-drawer a:not(.mb-site-drawer__cta):not(.mb-site-drawer__cta--apk) {
  color: var(--mb-text-soft);
  text-decoration: none;
}

.mb-site-drawer__link:hover,
.mb-site-drawer a:not(.mb-site-drawer__cta):not(.mb-site-drawer__cta--apk):hover {
  color: var(--mb-gold-2);
}

.mb-site-drawer__cta,
.mb-site-drawer__cta--apk,
.mb-site-drawer a.mb-site-drawer__cta,
.mb-site-drawer a.mb-site-drawer__cta--apk {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
}

.mb-site-drawer__cta,
.mb-site-drawer a.mb-site-drawer__cta {
  color: #170507;
  background: linear-gradient(135deg, var(--mb-gold), var(--mb-gold-2));
  border-color: rgba(255, 225, 139, 0.62);
}

.mb-site-drawer__cta--apk,
.mb-site-drawer a.mb-site-drawer__cta--apk {
  color: var(--mb-text);
  background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-2));
  border-color: rgba(255, 225, 139, 0.35);
}

/* Breadcrumb and title strip */
.mb-page-strip {
  font-family: var(--mb-font);
  color: var(--mb-muted);
  background: rgba(15, 4, 7, 0.76);
  border-bottom: 1px solid var(--mb-line);
}

.mb-page-strip__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: 8px clamp(0.9rem, 3vw, 1.25rem);
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  min-width: 0;
}

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

.mb-page-strip a:hover,
.mb-page-strip a:focus-visible {
  color: var(--mb-teal);
}

.mb-page-title {
  width: 100%;
  color: var(--mb-text);
  background:
    radial-gradient(circle at 80% 10%, rgba(244, 174, 52, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(50, 21, 28, 0.92), rgba(19, 4, 7, 0.92));
  border-bottom: 1px solid var(--mb-border);
}

.mb-page-title__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: clamp(1rem, 3vw, 1.7rem) clamp(0.9rem, 3vw, 1.25rem);
}

/* Shell footer */
.mb-site-footer {
  font-family: var(--mb-font);
  color: var(--mb-muted);
  background:
    radial-gradient(circle at 12% 0%, rgba(19, 191, 178, 0.12) 0, transparent 26%),
    linear-gradient(180deg, rgba(28, 7, 11, 0.98), rgba(12, 3, 5, 1));
  border-top: 1px solid var(--mb-border);
}

.mb-site-footer__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: clamp(1.35rem, 4vw, 2.4rem) clamp(0.9rem, 3vw, 1.25rem);
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-width: 0;
}

.mb-site-footer__brand {
  flex: 0 1 260px;
  min-width: 0;
  color: var(--mb-text);
}

.mb-footer-nav {
  flex: 1 1 420px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.mb-footer-nav__list {
  list-style: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-flow: row wrap;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0.5rem;
}

.mb-footer-nav__list > li {
  flex: 1 1 auto;
  min-width: 0;
}

.mb-footer-nav__link,
.mb-footer-nav a {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 0.8rem;
  border: 1px solid rgba(255, 225, 139, 0.20);
  border-radius: 999px;
  color: var(--mb-text-soft);
  background: rgba(255, 255, 255, 0.045);
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.mb-footer-nav__link:hover,
.mb-footer-nav a:hover,
.mb-footer-nav__link:focus-visible,
.mb-footer-nav a:focus-visible {
  color: #170507;
  background: linear-gradient(135deg, var(--mb-gold), var(--mb-gold-2));
  border-color: rgba(255, 225, 139, 0.66);
}

/* Article root */
.mb-article,
.mbpk-article {
  direction: ltr;
  text-align: start;
  width: min(100%, var(--mb-container));
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: clamp(1rem, 3.2vw, 1.8rem);
  box-sizing: border-box;
  min-width: 0;
  color: var(--mb-text);
  background:
    radial-gradient(circle at 86% 0%, rgba(244, 174, 52, 0.16) 0, transparent 30%),
    radial-gradient(circle at 4% 12%, rgba(19, 191, 178, 0.12) 0, transparent 32%),
    linear-gradient(180deg, rgba(35, 8, 12, 0.98) 0%, rgba(18, 4, 7, 0.98) 100%);
  border: 1px solid var(--mb-border);
  border-radius: var(--mb-radius-lg);
  box-shadow: var(--mb-shadow);
  font-family: var(--mb-font);
  font-size: clamp(1rem, 0.92rem + 0.22vw, 1.08rem);
  line-height: 1.68;
  overflow-wrap: break-word;
}

body.mb-site .mb-article {
  margin-block: clamp(1rem, 3vw, 2rem);
}

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

/* Core typography */
.mb-article :is(h1, h2, h3, h4, h5, h6),
.mbpk-article :is(h1, h2, h3, h4, h5, h6) {
  color: var(--mb-text);
  font-family: var(--mb-font);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.018em;
  margin-block-start: 0;
  margin-block-end: 0.62em;
  text-wrap: balance;
}

.mb-article h1,
.mbpk-article h1 {
  font-size: clamp(2rem, 5.5vw, 4rem);
}

.mb-article h2,
.mbpk-article h2 {
  font-size: clamp(1.55rem, 3.8vw, 2.55rem);
}

.mb-article h3,
.mbpk-article h3 {
  font-size: clamp(1.25rem, 2.8vw, 1.8rem);
}

.mb-article h4,
.mbpk-article h4 {
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
}

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

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

.mb-article :is(ul, ol),
.mbpk-article :is(ul, ol) {
  width: 100%;
  padding-inline-start: 1.25em;
  padding-inline-end: 0;
  color: var(--mb-text-soft);
}

.mb-article li,
.mbpk-article li {
  margin-block: 0.38em;
  padding-inline-start: 0.12em;
}

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

.mb-article a:not(.mb-btn),
.mbpk-article a:not(.mb-btn) {
  color: var(--mb-gold-2);
  text-decoration: underline;
  text-decoration-color: rgba(255, 225, 139, 0.42);
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.mb-article a:not(.mb-btn):hover,
.mbpk-article a:not(.mb-btn):hover,
.mb-article a:not(.mb-btn):focus-visible,
.mbpk-article a:not(.mb-btn):focus-visible {
  color: var(--mb-teal);
  text-decoration-color: rgba(21, 210, 189, 0.58);
}

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

.mb-article img,
.mbpk-article img {
  height: auto;
}

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

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

/* Dividers must be standalone, not grid children */
.mb-article .mb-divider,
.mbpk-article .mb-divider,
.mb-article hr,
.mbpk-article hr {
  width: 100%;
  max-width: var(--mb-container);
  margin: var(--mb-section-gap) auto;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 225, 139, 0.45), rgba(19, 191, 178, 0.28), transparent);
}

/* Buttons and CTA controls */
.mb-article .mb-btn,
.mbpk-article .mb-btn,
.mb-article a.mb-btn,
.mbpk-article a.mb-btn,
.mbpk-page .mb-article a.mb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 0;
  max-width: 100%;
  padding: 0.86rem 1.15rem;
  border: 1px solid rgba(255, 225, 139, 0.55);
  border-radius: 999px;
  color: var(--mb-text);
  background: linear-gradient(135deg, var(--mb-primary) 0%, var(--mb-primary-2) 100%);
  box-shadow: 0 15px 35px rgba(19, 191, 178, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  font-family: var(--mb-font);
  font-weight: 900;
  line-height: 1.16;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background 180ms ease, border-color 180ms ease;
}

.mb-article .mb-btn:hover,
.mbpk-article .mb-btn:hover,
.mb-article a.mb-btn:hover,
.mbpk-article a.mb-btn:hover,
.mbpk-page .mb-article a.mb-btn:hover,
.mb-article .mb-btn:focus-visible,
.mbpk-article .mb-btn:focus-visible,
.mb-article a.mb-btn:focus-visible,
.mbpk-article a.mb-btn:focus-visible,
.mbpk-page .mb-article a.mb-btn:focus-visible {
  color: var(--mb-text);
  background: linear-gradient(135deg, #18d7c6 0%, #0b9c93 100%);
  border-color: rgba(255, 225, 139, 0.78);
  box-shadow: 0 18px 46px rgba(19, 191, 178, 0.32), 0 0 0 1px rgba(255, 225, 139, 0.18) inset;
  transform: translateY(-2px);
}

.mb-article .mb-btn:focus-visible,
.mbpk-article .mb-btn:focus-visible,
.mb-article a.mb-btn:focus-visible,
.mbpk-article a.mb-btn:focus-visible {
  outline: none;
  box-shadow: var(--mb-focus), 0 18px 46px rgba(19, 191, 178, 0.32);
}

.mb-article .mb-btn--accent,
.mbpk-article .mb-btn--accent,
.mb-article a.mb-btn--accent,
.mbpk-article a.mb-btn--accent,
.mbpk-page .mb-article a.mb-btn--accent {
  color: #170507;
  background: linear-gradient(135deg, var(--mb-gold) 0%, var(--mb-gold-2) 100%);
  border-color: rgba(255, 225, 139, 0.78);
  box-shadow: 0 15px 38px rgba(244, 174, 52, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.40);
}

.mb-article .mb-btn--accent:hover,
.mbpk-article .mb-btn--accent:hover,
.mb-article a.mb-btn--accent:hover,
.mbpk-article a.mb-btn--accent:hover,
.mbpk-page .mb-article a.mb-btn--accent:hover,
.mb-article .mb-btn--accent:focus-visible,
.mbpk-article .mb-btn--accent:focus-visible,
.mb-article a.mb-btn--accent:focus-visible,
.mbpk-article a.mb-btn--accent:focus-visible {
  color: #170507;
  background: linear-gradient(135deg, #ffc24a 0%, #fff0a8 100%);
  border-color: rgba(255, 225, 139, 0.92);
}

.mb-article .mb-btn--secondary,
.mbpk-article .mb-btn--secondary,
.mb-article a.mb-btn--secondary,
.mbpk-article a.mb-btn--secondary {
  color: var(--mb-gold-2);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 225, 139, 0.42);
  box-shadow: none;
}

.mb-article .mb-btn--secondary:hover,
.mbpk-article .mb-btn--secondary:hover,
.mb-article a.mb-btn--secondary:hover,
.mbpk-article a.mb-btn--secondary:hover,
.mb-article .mb-btn--secondary:focus-visible,
.mbpk-article .mb-btn--secondary:focus-visible,
.mb-article a.mb-btn--secondary:focus-visible,
.mbpk-article a.mb-btn--secondary:focus-visible {
  color: var(--mb-text);
  background: rgba(244, 174, 52, 0.13);
  border-color: rgba(255, 225, 139, 0.68);
}

/* Hero: single column at every breakpoint, visual order media -> CTA -> copy */
.mb-article .mb-hero,
.mbpk-article .mb-hero {
  --mb-hero-inline: clamp(1rem, 3vw, 1.75rem);
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: 0 var(--mb-section-gap);
  padding-inline: 0;
  padding-block-start: 0;
  padding-block-end: clamp(1rem, 3vw, 1.7rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "cta"
    "copy";
  gap: clamp(0.9rem, 2.4vw, 1.3rem);
  align-items: start;
  min-width: 0;
  border: 1px solid var(--mb-border);
  border-radius: var(--mb-radius-lg);
  background:
    radial-gradient(circle at 78% 12%, rgba(244, 174, 52, 0.18), transparent 36%),
    radial-gradient(circle at 8% 18%, rgba(19, 191, 178, 0.11), transparent 30%),
    linear-gradient(180deg, rgba(69, 26, 26, 0.74), rgba(33, 16, 22, 0.92));
  box-shadow: var(--mb-glow);
}

.mb-article .mb-hero__media,
.mbpk-article .mb-hero__media {
  grid-area: media;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  padding: 0;
  border-radius: calc(var(--mb-radius-lg) - 1px) calc(var(--mb-radius-lg) - 1px) var(--mb-radius) var(--mb-radius);
  overflow: clip;
  background: #080204;
  border-bottom: 1px solid rgba(255, 225, 139, 0.20);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
}

.mb-article .mb-hero__media img,
.mbpk-article .mb-hero__media img,
.mb-article .mb-hero__media picture,
.mbpk-article .mb-hero__media picture {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.mb-article .mb-hero__media img,
.mbpk-article .mb-hero__media img {
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease, filter 260ms ease;
}

.mb-article .mb-hero__media:hover,
.mbpk-article .mb-hero__media:hover {
  cursor: pointer;
}

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

.mb-article .mb-hero__copy,
.mbpk-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__badge,
.mbpk-article .mb-hero__badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-block-end: 0.8rem;
  padding: 0.44rem 0.72rem;
  border: 1px solid rgba(255, 225, 139, 0.34);
  border-radius: 999px;
  color: var(--mb-gold-2);
  background: rgba(255, 225, 139, 0.08);
  font-size: 0.88em;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.mb-article .mb-hero__lead,
.mbpk-article .mb-hero__lead {
  width: 100%;
  max-width: 100%;
  margin-block-end: 0;
  color: var(--mb-text-soft);
  font-size: clamp(1.04rem, 1rem + 0.45vw, 1.32rem);
  line-height: 1.62;
}

.mb-article .mb-hero__actions,
.mbpk-article .mb-hero__actions,
.mb-article .mb-cta__actions,
.mbpk-article .mb-cta__actions {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 0.72rem;
}

.mb-article .mb-hero > .mb-cta,
.mbpk-article .mb-hero > .mb-cta {
  grid-area: cta;
  width: calc(100% - (2 * var(--mb-hero-inline)));
  max-width: none;
  min-width: 0;
  margin-inline: var(--mb-hero-inline);
  margin-block: clamp(0.2rem, 1.4vw, 0.7rem) 0;
}

/* Rows and media sections */
.mb-article .mb-row,
.mbpk-article .mb-row {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block-end: var(--mb-section-gap);
  padding: var(--mb-section-pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "copy";
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  min-width: 0;
  border: 1px solid rgba(255, 225, 139, 0.16);
  border-radius: var(--mb-radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(33, 16, 22, 0.62);
}

.mb-article .mb-row--reverse,
.mbpk-article .mb-row--reverse {
  grid-template-areas:
    "copy"
    "media";
}

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

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

.mb-article .mb-copy,
.mbpk-article .mb-copy {
  grid-area: copy;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-block-start: 0;
  display: block;
  text-align: start;
}

.mb-article .mb-media,
.mbpk-article .mb-media {
  grid-area: media;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  padding-block-start: 0;
  aspect-ratio: 2 / 3;
  overflow: clip;
  border-radius: var(--mb-radius);
  border: 1px solid rgba(255, 225, 139, 0.22);
  background: #090205;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32), 0 0 30px rgba(244, 174, 52, 0.08);
}

.mb-article .mb-media a,
.mbpk-article .mb-media a,
.mb-article .mb-card__media a,
.mbpk-article .mb-card__media a {
  display: block;
  width: 100%;
  height: 100%;
}

.mb-article .mb-media img,
.mbpk-article .mb-media img,
.mb-article .mb-media picture,
.mbpk-article .mb-media picture {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.mb-article .mb-media img,
.mbpk-article .mb-media img {
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease, filter 260ms ease, box-shadow 260ms ease;
}

.mb-article .mb-media:hover,
.mbpk-article .mb-media:hover {
  cursor: pointer;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42), 0 0 38px rgba(19, 191, 178, 0.15);
}

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

/* CTA panel */
.mb-article .mb-cta,
.mbpk-article .mb-cta {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block-end: var(--mb-section-gap);
  min-width: 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.9rem, 2.5vw, 1.3rem);
  border: 1px solid rgba(255, 225, 139, 0.32);
  border-radius: var(--mb-radius-lg);
  background:
    radial-gradient(circle at 88% 4%, rgba(255, 225, 139, 0.20), transparent 32%),
    radial-gradient(circle at 0% 100%, rgba(19, 191, 178, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(69, 26, 26, 0.90), rgba(33, 16, 22, 0.96));
  box-shadow: var(--mb-glow);
}

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

.mb-article .mb-cta__copy > :last-child,
.mbpk-article .mb-cta__copy > :last-child,
.mb-article .mb-copy > :last-child,
.mbpk-article .mb-copy > :last-child {
  margin-block-end: 0;
}

/* 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-end: var(--mb-section-gap);
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2.7vw, 1.45rem);
  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%;
}

.mb-article .mb-card,
.mbpk-article .mb-card {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  color: var(--mb-text-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(33, 16, 22, 0.72);
  border: 1px solid rgba(255, 225, 139, 0.16);
  border-radius: var(--mb-radius);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.mb-article .mb-card__media,
.mbpk-article .mb-card__media {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  aspect-ratio: 2 / 3;
  overflow: clip;
  border-radius: var(--mb-radius) var(--mb-radius) 12px 12px;
  background: #090205;
  border-bottom: 1px solid rgba(255, 225, 139, 0.18);
}

.mb-article .mb-card__media img,
.mbpk-article .mb-card__media img,
.mb-article .mb-card__media picture,
.mbpk-article .mb-card__media picture {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.mb-article .mb-card__media img,
.mbpk-article .mb-card__media img {
  object-fit: cover;
  object-position: center;
  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 {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

.mb-article .mb-card__body,
.mbpk-article .mb-card__body,
.mb-article .mb-card__content,
.mbpk-article .mb-card__content {
  width: 100%;
  min-width: 0;
  padding: clamp(0.95rem, 2.4vw, 1.25rem);
}

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

.mb-article .mb-card__copy,
.mbpk-article .mb-card__copy {
  width: 100%;
  max-width: 100%;
  color: var(--mb-text-soft);
}

.mb-article .mb-card__badge,
.mbpk-article .mb-card__badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-block-end: 0.6rem;
  padding: 0.33rem 0.58rem;
  border-radius: 999px;
  color: var(--mb-gold-2);
  background: rgba(244, 174, 52, 0.10);
  border: 1px solid rgba(255, 225, 139, 0.24);
  font-size: 0.82em;
  font-weight: 800;
  line-height: 1.2;
}

.mb-article .mb-card > :last-child,
.mbpk-article .mb-card > :last-child,
.mb-article .mb-card__body > :last-child,
.mbpk-article .mb-card__body > :last-child {
  margin-block-end: 0;
}

/* FAQ */
.mb-article .mb-faq,
.mbpk-article .mb-faq {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block-end: var(--mb-section-gap);
  min-width: 0;
}

.mb-article .mb-faq details,
.mbpk-article .mb-faq details {
  width: 100%;
  max-width: 100%;
  margin-block-end: 0.75rem;
  padding: 0;
  border: 1px solid rgba(255, 225, 139, 0.18);
  border-radius: var(--mb-radius);
  background: rgba(255, 255, 255, 0.04);
  overflow: visible;
}

.mb-article .mb-faq summary,
.mbpk-article .mb-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
  padding: 1rem 1.1rem;
  color: var(--mb-text);
  font-weight: 900;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.mb-article .mb-faq summary::-webkit-details-marker,
.mbpk-article .mb-faq summary::-webkit-details-marker {
  display: none;
}

.mb-article .mb-faq summary::after,
.mbpk-article .mb-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 1.65rem;
  height: 1.65rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #170507;
  background: linear-gradient(135deg, var(--mb-gold), var(--mb-gold-2));
  font-weight: 900;
  line-height: 1;
}

.mb-article .mb-faq details[open] summary::after,
.mbpk-article .mb-faq details[open] summary::after {
  content: "−";
}

.mb-article .mb-faq details > :not(summary),
.mbpk-article .mb-faq details > :not(summary) {
  padding-inline: 1.1rem;
}

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

/* Tables: scroll only inside wrapper on narrow screens */
.mb-article .mb-table-wrap,
.mbpk-article .mb-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  margin-block: 1rem var(--mb-section-gap);
  border: 1px solid rgba(255, 225, 139, 0.18);
  border-radius: var(--mb-radius);
  background: rgba(255, 255, 255, 0.035);
}

.mb-article table.mb-table,
.mbpk-article table.mb-table {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  direction: ltr;
  color: var(--mb-text-soft);
  background: rgba(19, 4, 7, 0.78);
}

.mb-article table.mb-table th,
.mbpk-article table.mb-table th,
.mb-article table.mb-table td,
.mbpk-article table.mb-table td {
  padding: 0.82rem 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  border-inline-end: 1px solid rgba(255, 255, 255, 0.07);
  text-align: start;
  vertical-align: top;
  line-height: 1.45;
}

.mb-article table.mb-table th,
.mbpk-article table.mb-table th {
  color: #170507;
  background: linear-gradient(135deg, var(--mb-gold), var(--mb-gold-2));
  font-weight: 900;
}

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

.mb-article table.mb-table th:last-child,
.mbpk-article table.mb-table th:last-child,
.mb-article table.mb-table td:last-child,
.mbpk-article table.mb-table td:last-child {
  border-inline-end: 0;
}

.mb-article table.mb-table caption,
.mbpk-article table.mb-table caption {
  caption-side: bottom;
  padding: 0.7rem 0.9rem;
  color: var(--mb-muted);
  text-align: start;
}

/* Utility blocks */
.mb-article .mb-note,
.mbpk-article .mb-note,
.mb-article .mb-alert,
.mbpk-article .mb-alert {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block-end: var(--mb-section-gap);
  padding: clamp(0.95rem, 2.6vw, 1.25rem);
  border-radius: var(--mb-radius);
  border: 1px solid rgba(255, 225, 139, 0.24);
  background: rgba(244, 174, 52, 0.075);
  color: var(--mb-text-soft);
}

.mb-article .mb-alert,
.mbpk-article .mb-alert {
  border-color: rgba(242, 103, 34, 0.38);
  background: rgba(242, 103, 34, 0.09);
}

.mb-article .mb-kicker,
.mbpk-article .mb-kicker {
  margin-block-end: 0.55rem;
  color: var(--mb-gold-2);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82em;
}

/* Tablet grid behavior: maximum two columns below desktop */
@media (min-width: 640px) and (max-width: 979px) {
  .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));
  }
}

/* Desktop rows and grids */
@media (min-width: 860px) {
  .mb-article .mb-row,
  .mbpk-article .mb-row {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    grid-template-areas: "copy media";
    gap: clamp(1.5rem, 3.4vw, 2.6rem);
  }

  .mb-article .mb-row--reverse,
  .mbpk-article .mb-row--reverse {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    grid-template-areas: "media copy";
  }

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

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

@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(3, minmax(0, 1fr));
  }

  .mb-article .mb-grid--orphan-fix,
  .mbpk-article .mb-grid--orphan-fix,
  .mbpk-page .mb-article .mb-grid--orphan-fix,
  .mb-article .mb-slot-grid--orphan-fix,
  .mbpk-article .mb-slot-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,
  .mbpk-article .mb-grid--orphan-fix > .mb-card,
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card,
  .mb-article .mb-slot-grid--orphan-fix > .mb-card,
  .mbpk-article .mb-slot-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: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 clamp(1rem, 3vw, 1.7rem);
    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%;
    min-height: 0;
    border-radius: 0 var(--mb-radius) var(--mb-radius) 0;
  }

  .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,
  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__content,
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__content,
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__content,
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__content {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .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-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: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-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;
  }
}

/* Mobile safety: no element should stick out past viewport */
@media (max-width: 639px) {
  .mb-site-header__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    padding-inline: clamp(0.65rem, 3.5vw, 0.95rem);
  }

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

  .mb-site-brand__name {
    font-size: 0.92rem;
  }

  .mb-site-header__actions {
    gap: 0.35rem;
  }

  .mb-site-btn,
  .mb-site-header a.mb-site-btn {
    max-width: 44vw;
    padding: 0.52rem 0.66rem;
    font-size: 0.86rem;
  }

  .mb-site-burger {
    width: 34px;
    height: 34px;
  }

  .mb-article,
  .mbpk-article {
    width: 100%;
    max-width: 100%;
    padding: clamp(0.85rem, 4vw, 1rem);
    border-radius: 20px;
  }

  .mb-article .mb-hero,
  .mbpk-article .mb-hero,
  .mb-article .mb-row,
  .mbpk-article .mb-row,
  .mb-article .mb-cta,
  .mbpk-article .mb-cta,
  .mb-article .mb-grid,
  .mbpk-article .mb-grid,
  .mb-article .mb-slot-grid,
  .mbpk-article .mb-slot-grid,
  .mb-article .mb-faq,
  .mbpk-article .mb-faq,
  .mb-article .mb-table-wrap,
  .mbpk-article .mb-table-wrap {
    max-width: 100%;
  }

  .mb-article .mb-row,
  .mbpk-article .mb-row,
  .mb-article .mb-cta,
  .mbpk-article .mb-cta {
    padding: clamp(0.85rem, 4vw, 1rem);
  }

  .mb-article .mb-hero,
  .mbpk-article .mb-hero {
    --mb-hero-inline: clamp(0.85rem, 4vw, 1rem);
  }

  .mb-article .mb-hero__actions,
  .mbpk-article .mb-hero__actions,
  .mb-article .mb-cta__actions,
  .mbpk-article .mb-cta__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
  }

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

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

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

  .mb-site-footer__inner {
    flex-direction: column;
  }

  .mb-footer-nav__list {
    justify-content: stretch;
  }

  .mb-footer-nav__list > li {
    flex: 1 1 min(180px, 100%);
  }
}

/* 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%;
  }
}

