/* Main theme tokens and shell typography contract */
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-page-gutter: clamp(14px, 3vw, 28px);
  --mb-section-pad: clamp(16px, 3vw, 32px);

  --mb-bg: #07080a;
  --mb-bg-2: #101116;
  --mb-bg-3: #171920;
  --mb-panel: #12141a;
  --mb-panel-2: #1b1e26;
  --mb-panel-3: #242731;

  --mb-primary: #9b143e;
  --mb-primary-2: #e02332;
  --mb-red: #e02332;
  --mb-gold: #d7d9dc;
  --mb-gold-2: #ffffff;
  --mb-teal: #e02332;

  --mb-text: #f5f6f8;
  --mb-text-soft: #d9dde3;
  --mb-muted: #aeb4be;
  --mb-muted-2: #7f8793;

  --mb-border: rgba(255, 255, 255, 0.13);
  --mb-line: rgba(255, 255, 255, 0.13);
  --mb-border-strong: rgba(255, 255, 255, 0.24);
  --mb-line-strong: rgba(255, 255, 255, 0.24);

  --mb-radius-sm: 10px;
  --mb-radius: 16px;
  --mb-radius-lg: 24px;
  --mb-radius-xl: 32px;

  --mb-shadow: 0 22px 60px rgba(0, 0, 0, 0.55), 0 0 42px rgba(155, 20, 62, 0.18);
  --mb-shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.38);
  --mb-glow: 0 0 0 1px rgba(224, 35, 50, 0.28), 0 22px 70px rgba(155, 20, 62, 0.28);
}

body.mb-site {
  font-family: var(--mb-font);
  color: var(--mb-text);
  background:
    radial-gradient(circle at 50% -10%, rgba(224, 35, 50, 0.20), transparent 34rem),
    radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.08), transparent 22rem),
    linear-gradient(180deg, #050608 0%, #101116 44%, #07080a 100%);
}

.mb-site-header,
.mb-page-strip,
.mb-site-footer,
.mb-site-drawer {
  font-family: var(--mb-font);
  color: var(--mb-text);
  box-sizing: border-box;
}

.mb-site-header *,
.mb-page-strip *,
.mb-site-footer *,
.mb-site-drawer * {
  box-sizing: border-box;
  min-width: 0;
}

/* Header, topbar and navigation */
.mb-topbar {
  width: 100%;
  color: var(--mb-muted);
  background: #07080a;
  border-bottom: 1px solid var(--mb-border);
}

.mb-topbar__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: 7px var(--mb-page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.mb-topbar a {
  color: var(--mb-text-soft);
  text-decoration: none;
}

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

.mb-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(8, 9, 12, 0.78);
  border-bottom: 1px solid var(--mb-border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}

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

.mb-site-brand {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mb-text);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.02em;
}

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

.mb-site-brand__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

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

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

.mb-site-nav__link,
.mb-footer-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mb-site-nav__link {
  padding: 9px 13px;
  color: var(--mb-text-soft);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.92rem;
  font-weight: 700;
}

.mb-site-nav__link:hover,
.mb-site-nav__link:focus-visible,
.mb-site-nav__link[aria-current="page"] {
  color: #ffffff;
  background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-2));
  border-color: rgba(255, 255, 255, 0.22);
  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: 8px;
  min-width: 0;
}

.mb-site-btn,
.mb-site-burger {
  flex: 0 0 auto;
}

.mb-site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  min-height: 36px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-2));
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  font-weight: 900;
  line-height: 1.1;
  box-shadow: 0 12px 30px rgba(224, 35, 50, 0.28);
  overflow-wrap: anywhere;
  white-space: normal;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.mb-site-btn:hover,
.mb-site-btn:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 16px 38px rgba(224, 35, 50, 0.36);
}

.mb-site-btn--apk {
  color: var(--mb-text);
  background: linear-gradient(180deg, #f5f6f8, #b7bcc4);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.10);
}

.mb-site-btn--apk:hover,
.mb-site-btn--apk:focus-visible {
  color: #08090c;
}

.mb-site-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--mb-border-strong);
  background: rgba(255, 255, 255, 0.08);
  color: var(--mb-text);
}

/* Off-canvas drawer visual layer */
.mb-site-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 100;
  color: var(--mb-text);
}

.mb-site-drawer__panel {
  height: 100%;
  min-height: 100dvh;
  color: var(--mb-text);
  background:
    radial-gradient(circle at 100% 0%, rgba(224, 35, 50, 0.20), transparent 18rem),
    linear-gradient(180deg, #101116, #07080a);
  border-left: 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 {
  color: var(--mb-text-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.mb-site-drawer__link:hover,
.mb-site-drawer__link:focus-visible,
.mb-site-drawer__link[aria-current="page"] {
  color: #ffffff;
  background: rgba(224, 35, 50, 0.13);
}

.mb-site-drawer__cta,
.mb-site-drawer__cta--apk {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  font-weight: 900;
  overflow-wrap: anywhere;
  color: #ffffff;
  background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-2));
}

.mb-site-drawer__cta:hover,
.mb-site-drawer__cta:focus-visible {
  color: #ffffff;
  filter: brightness(1.08);
}

.mb-site-drawer__cta--apk {
  color: #08090c;
  background: linear-gradient(180deg, #ffffff, #b9bec7);
}

.mb-site-drawer__cta--apk:hover,
.mb-site-drawer__cta--apk:focus-visible {
  color: #08090c;
}

/* Page title and breadcrumb strip */
.mb-page-strip {
  width: 100%;
  background: rgba(10, 11, 15, 0.88);
  border-bottom: 1px solid var(--mb-border);
}

.mb-page-strip__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: 8px var(--mb-page-gutter);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mb-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

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

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

.mb-page-title {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: clamp(22px, 4vw, 42px) var(--mb-page-gutter);
  color: var(--mb-text);
}

.mb-page-title h1,
.mb-page-title p {
  max-width: 100%;
}

/* Footer */
.mb-site-footer {
  width: 100%;
  color: var(--mb-muted);
  background:
    radial-gradient(circle at 20% 0%, rgba(155, 20, 62, 0.18), transparent 22rem),
    linear-gradient(180deg, #101116, #050608);
  border-top: 1px solid var(--mb-border);
}

.mb-site-footer__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: clamp(24px, 5vw, 48px) var(--mb-page-gutter);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 40px);
}

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

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

.mb-footer-nav__list {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
}

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

.mb-footer-nav__link {
  width: 100%;
  min-height: 38px;
  padding: 9px 13px;
  color: var(--mb-text-soft);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.9rem;
  font-weight: 700;
}

.mb-footer-nav__link:hover,
.mb-footer-nav__link:focus-visible {
  color: #ffffff;
  background: rgba(224, 35, 50, 0.14);
  border-color: rgba(224, 35, 50, 0.36);
}

.mb-site-footer__copy {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: 0 var(--mb-page-gutter) clamp(18px, 3vw, 28px);
  color: var(--mb-muted-2);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* Article root and safe scoped base */
.mb-article,
.mbpk-article,
.mbpk-page .mb-article {
  box-sizing: border-box;
  direction: ltr;
  text-align: left;
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: clamp(14px, 3vw, 30px);
  padding: clamp(14px, 3vw, 28px);
  font-family: var(--mb-font);
  color: var(--mb-text);
  background:
    radial-gradient(circle at 78% 0%, rgba(224, 35, 50, 0.17), transparent 24rem),
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.07), transparent 18rem),
    linear-gradient(180deg, rgba(24, 26, 33, 0.98), rgba(9, 10, 13, 0.98));
  border: 1px solid var(--mb-border);
  border-radius: var(--mb-radius-xl);
  box-shadow: var(--mb-shadow);
  line-height: 1.7;
  overflow-wrap: break-word;
}

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

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

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

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

.mb-article a:not(.mb-btn),
.mbpk-article a:not(.mb-btn),
.mbpk-page .mb-article a:not(.mb-btn) {
  color: #ffffff;
  text-decoration-color: rgba(224, 35, 50, 0.65);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

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

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

.mb-article h1,
.mbpk-article h1,
.mbpk-page .mb-article h1 {
  font-size: clamp(2.15rem, 7vw, 4.9rem);
}

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

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

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

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

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

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

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

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

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

/* Buttons and action rows */
.mb-actions,
.mb-hero__actions,
.mb-cta__actions,
.mb-card__actions {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.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;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(135deg, #8c1238 0%, #e02332 100%);
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 34px rgba(224, 35, 50, 0.28);
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background-color 180ms ease;
}

.mb-btn:hover,
.mb-btn:focus-visible,
.mb-article a.mb-btn:hover,
.mb-article a.mb-btn:focus-visible,
.mbpk-article a.mb-btn:hover,
.mbpk-article a.mb-btn:focus-visible,
.mbpk-page .mb-article a.mb-btn:hover,
.mbpk-page .mb-article a.mb-btn:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 20px 46px rgba(224, 35, 50, 0.38);
}

.mb-btn--secondary,
.mb-article a.mb-btn--secondary,
.mbpk-article a.mb-btn--secondary,
.mbpk-page .mb-article a.mb-btn--secondary {
  color: #07080a;
  background: linear-gradient(180deg, #ffffff 0%, #c6cbd2 100%);
  border-color: rgba(255, 255, 255, 0.50);
  box-shadow: 0 14px 34px rgba(255, 255, 255, 0.10);
}

.mb-btn--secondary:hover,
.mb-btn--secondary:focus-visible,
.mb-article a.mb-btn--secondary:hover,
.mb-article a.mb-btn--secondary:focus-visible,
.mbpk-article a.mb-btn--secondary:hover,
.mbpk-article a.mb-btn--secondary:focus-visible,
.mbpk-page .mb-article a.mb-btn--secondary:hover,
.mbpk-page .mb-article a.mb-btn--secondary:focus-visible {
  color: #07080a;
}

.mb-btn--ghost,
.mb-article a.mb-btn--ghost,
.mbpk-article a.mb-btn--ghost,
.mbpk-page .mb-article a.mb-btn--ghost {
  color: var(--mb-text);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--mb-border-strong);
  box-shadow: none;
}

.mb-btn--ghost:hover,
.mb-btn--ghost:focus-visible,
.mb-article a.mb-btn--ghost:hover,
.mb-article a.mb-btn--ghost:focus-visible,
.mbpk-article a.mb-btn--ghost:hover,
.mbpk-article a.mb-btn--ghost:focus-visible,
.mbpk-page .mb-article a.mb-btn--ghost:hover,
.mbpk-page .mb-article a.mb-btn--ghost:focus-visible {
  color: #ffffff;
  background: rgba(224, 35, 50, 0.17);
}

/* Hero: image, then CTA, then copy at every breakpoint */
.mb-article .mb-hero,
.mbpk-article .mb-hero,
.mbpk-page .mb-article .mb-hero {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: 0 clamp(24px, 5vw, 54px);
  padding-inline: 0;
  padding-block-start: 0;
  padding-block-end: clamp(20px, 3.5vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "cta"
    "copy";
  gap: clamp(16px, 3vw, 28px);
  color: var(--mb-text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 74% 22%, rgba(224, 35, 50, 0.20), transparent 24rem),
    #0b0c10;
  border: 1px solid var(--mb-border);
  border-radius: var(--mb-radius-xl);
  box-shadow: var(--mb-shadow-soft);
}

.mb-hero__media {
  grid-area: media;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--mb-radius-xl);
  background: #090a0d;
  overflow: hidden;
  overflow: clip;
  box-shadow: var(--mb-glow);
  cursor: pointer;
}

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

.mb-hero__media img,
.mb-hero__media video {
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transition: transform 280ms ease, filter 280ms ease;
}

.mb-hero__media:hover img,
.mb-hero__media:focus-within img,
.mb-hero__media:hover video,
.mb-hero__media:focus-within video {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.05);
}

.mb-hero > .mb-cta {
  grid-area: cta;
  width: calc(100% - (2 * var(--mb-section-pad)));
  max-width: calc(100% - (2 * var(--mb-section-pad)));
  margin-inline: auto;
  margin-block: clamp(2px, 1vw, 8px);
}

.mb-hero__copy {
  grid-area: copy;
  width: 100%;
  max-width: 100%;
  padding-inline: var(--mb-section-pad);
}

.mb-hero__badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-block-end: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(155, 20, 62, 0.32);
  border: 1px solid rgba(224, 35, 50, 0.45);
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.mb-hero__lead {
  max-width: 100%;
  color: var(--mb-text-soft);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

/* Rows and media sections */
.mb-article .mb-row,
.mbpk-article .mb-row,
.mbpk-page .mb-article .mb-row {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: 0 clamp(22px, 4.5vw, 48px);
}

.mb-article .mb-row:not(.mb-hero),
.mbpk-article .mb-row:not(.mb-hero),
.mbpk-page .mb-article .mb-row:not(.mb-hero) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "copy";
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(16px, 3vw, 28px);
  border-radius: var(--mb-radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.018)),
    #101116;
  border: 1px solid var(--mb-border);
  box-shadow: var(--mb-shadow-soft);
}

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

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

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

.mb-copy {
  grid-area: copy;
  width: 100%;
  max-width: 100%;
  padding-block-start: 0;
  align-self: start;
}

.mb-copy > :last-child,
.mb-hero__copy > :last-child,
.mb-card__body > :last-child,
.mb-card__copy > :last-child,
.mb-cta__copy > :last-child {
  margin-block-end: 0;
}

.mb-media {
  grid-area: media;
  width: 100%;
  max-width: 100%;
  padding-block-start: 0;
  align-self: start;
  aspect-ratio: 2 / 3;
  border-radius: var(--mb-radius-lg);
  background: #090a0d;
  overflow: hidden;
  overflow: clip;
  box-shadow: var(--mb-glow);
  cursor: pointer;
}

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

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

.mb-media img,
.mb-media video {
  object-fit: cover;
  aspect-ratio: 2 / 3;
  transition: transform 280ms ease, filter 280ms ease;
}

.mb-media:hover img,
.mb-media:focus-within img,
.mb-media:hover video,
.mb-media:focus-within video {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.05);
}

/* CTA panels */
.mb-article .mb-cta,
.mbpk-article .mb-cta,
.mbpk-page .mb-article .mb-cta {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: 0 clamp(22px, 4.5vw, 48px);
  padding: clamp(18px, 3.5vw, 34px);
  border-radius: var(--mb-radius-lg);
  background:
    radial-gradient(circle at 80% 10%, rgba(224, 35, 50, 0.22), transparent 18rem),
    linear-gradient(135deg, rgba(155, 20, 62, 0.28), rgba(255, 255, 255, 0.045)),
    #111219;
  border: 1px solid rgba(224, 35, 50, 0.30);
  box-shadow: var(--mb-shadow-soft);
}

.mb-cta__title {
  margin-block-end: 0.45em;
}

.mb-cta__copy {
  width: 100%;
  max-width: 100%;
  color: var(--mb-text-soft);
}

.mb-cta__actions {
  margin-block-start: clamp(14px, 2vw, 22px);
}

/* Card grids */
.mb-article .mb-grid,
.mb-article .mb-slot-grid,
.mbpk-article .mb-grid,
.mbpk-article .mb-slot-grid,
.mbpk-page .mb-article .mb-grid,
.mbpk-page .mb-article .mb-slot-grid {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: 0 clamp(22px, 4.5vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2.5vw, 24px);
}

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

.mb-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(14px, 2.5vw, 20px);
  color: var(--mb-text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.020)),
    #111219;
  border: 1px solid var(--mb-border);
  border-radius: var(--mb-radius-lg);
  box-shadow: var(--mb-shadow-soft);
}

.mb-card__media {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: calc(var(--mb-radius-lg) - 4px);
  background: #090a0d;
  overflow: hidden;
  overflow: clip;
  box-shadow: 0 0 0 1px rgba(224, 35, 50, 0.20), 0 14px 34px rgba(0, 0, 0, 0.34);
  cursor: pointer;
}

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

.mb-card__media img,
.mb-card__media video {
  object-fit: cover;
  aspect-ratio: 2 / 3;
  transition: transform 280ms ease, filter 280ms ease;
}

.mb-card__media:hover img,
.mb-card__media:focus-within img,
.mb-card__media:hover video,
.mb-card__media:focus-within video {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.05);
}

.mb-card__body {
  width: 100%;
  max-width: 100%;
}

.mb-card__title {
  margin-block-end: 0.45em;
}

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

/* Lists and feature blocks */
.mb-list,
.mb-feature-list {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

.mb-feature-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 0;
  list-style: none;
}

.mb-feature-list > li {
  padding: 14px 16px;
  border-radius: var(--mb-radius);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--mb-border);
}

.mb-check-list {
  list-style: none;
  padding-inline-start: 0;
}

.mb-check-list > li {
  position: relative;
  padding-inline-start: 1.75em;
}

.mb-check-list > li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 0.75em;
  height: 0.75em;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-2));
  box-shadow: 0 0 18px rgba(224, 35, 50, 0.45);
}

/* FAQ */
.mb-faq {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: 0 clamp(22px, 4.5vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.mb-faq details {
  width: 100%;
  max-width: 100%;
  border-radius: var(--mb-radius);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--mb-border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.mb-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  color: var(--mb-text);
  font-weight: 850;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  overflow-wrap: anywhere;
}

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

.mb-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-2));
  font-weight: 900;
  line-height: 1;
}

.mb-faq details[open] summary::after {
  content: "–";
}

.mb-faq details > :not(summary) {
  padding-inline: 18px;
  padding-block-end: 18px;
  color: var(--mb-text-soft);
}

/* Tables: scroll inside the wrapper, not the page */
.mb-table-wrap {
  width: 100%;
  max-width: 100%;
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  margin-block: 1.25rem clamp(22px, 4.5vw, 48px);
  border: 1px solid var(--mb-border);
  border-radius: var(--mb-radius);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--mb-shadow-soft);
}

table.mb-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  direction: ltr;
  color: var(--mb-text-soft);
  background: #111219;
}

table.mb-table caption {
  caption-side: top;
  padding: 12px 14px;
  color: var(--mb-text);
  font-weight: 900;
  text-align: left;
}

table.mb-table th,
table.mb-table td {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}

table.mb-table th {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(155, 20, 62, 0.82), rgba(224, 35, 50, 0.65));
  font-weight: 900;
}

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

/* Quotes, dividers and utility blocks */
.mb-article blockquote,
.mbpk-article blockquote,
.mbpk-page .mb-article blockquote {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding: clamp(16px, 3vw, 24px);
  border-inline-start: 4px solid var(--mb-primary-2);
  border-radius: var(--mb-radius);
  background: rgba(224, 35, 50, 0.10);
  color: var(--mb-text-soft);
}

.mb-divider {
  width: 100%;
  max-width: var(--mb-container);
  height: 1px;
  margin: clamp(22px, 5vw, 52px) auto;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(224, 35, 50, 0.60), rgba(255, 255, 255, 0.28), transparent);
}

.mb-note,
.mb-alert {
  width: 100%;
  max-width: 100%;
  margin-block: 0 clamp(18px, 4vw, 34px);
  padding: 16px 18px;
  border-radius: var(--mb-radius);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--mb-border);
  color: var(--mb-text-soft);
}

.mb-alert {
  background: rgba(224, 35, 50, 0.12);
  border-color: rgba(224, 35, 50, 0.32);
}

/* Embedded media */
.mb-embed {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: 0 clamp(22px, 4.5vw, 48px);
  aspect-ratio: 16 / 9;
  border-radius: var(--mb-radius-lg);
  background: #090a0d;
}

.mb-embed iframe,
.mb-embed video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

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

  .mb-feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop layout */
@media (min-width: 800px) {
  .mb-article .mb-row:not(.mb-hero),
  .mbpk-article .mb-row:not(.mb-hero),
  .mbpk-page .mb-article .mb-row:not(.mb-hero) {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    grid-template-areas: "copy media";
    align-items: start;
  }

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

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

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

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

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

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

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

  .mb-article .mb-grid.mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mb-article .mb-slot-grid.mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mbpk-article .mb-grid.mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mbpk-article .mb-slot-grid.mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mbpk-page .mb-article .mb-grid.mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mbpk-page .mb-article .mb-slot-grid.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(280px, 0.88fr);
    grid-template-rows: auto;
    align-items: stretch;
    gap: clamp(18px, 3vw, 34px);
  }

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

  .mb-article .mb-grid.mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__body,
  .mb-article .mb-slot-grid.mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__body,
  .mbpk-article .mb-grid.mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__body,
  .mbpk-article .mb-slot-grid.mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__body,
  .mbpk-page .mb-article .mb-grid.mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__body,
  .mbpk-page .mb-article .mb-slot-grid.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-feature-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Mobile containment and usability */
@media (max-width: 1023px) {
  .mb-site-brand__logo {
    max-height: clamp(26px, 7.5vw, 40px);
    max-width: 100%;
    width: auto;
    height: auto;
  }

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

  .mb-site-btn {
    display: inline-flex;
  }

  .mb-site-header__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 767px) {
  .mb-site-footer__inner {
    flex-direction: column;
  }

  .mb-site-footer__brand {
    flex-basis: auto;
    width: 100%;
  }
}

@media (max-width: 639px) {
  .mb-article,
  .mbpk-article,
  .mbpk-page .mb-article {
    max-width: 100%;
    margin-block: 0;
    border-radius: 0;
    padding-inline: clamp(12px, 4vw, 18px);
  }

  .mb-article .mb-hero,
  .mbpk-article .mb-hero,
  .mbpk-page .mb-article .mb-hero,
  .mb-article .mb-row:not(.mb-hero),
  .mbpk-article .mb-row:not(.mb-hero),
  .mbpk-page .mb-article .mb-row:not(.mb-hero),
  .mb-article .mb-cta,
  .mbpk-article .mb-cta,
  .mbpk-page .mb-article .mb-cta {
    max-width: 100%;
  }

  .mb-actions,
  .mb-hero__actions,
  .mb-cta__actions,
  .mb-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mb-btn,
  .mb-article a.mb-btn,
  .mbpk-article a.mb-btn,
  .mbpk-page .mb-article a.mb-btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .mb-hero > .mb-cta {
    width: calc(100% - (2 * var(--mb-section-pad)));
    max-width: calc(100% - (2 * var(--mb-section-pad)));
  }

  table.mb-table {
    min-width: 560px;
  }

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

  .mb-table-wrap {
    max-width: 100%;
  }

  .mb-site-header__inner {
    padding-inline: clamp(8px, 2.6vw, 14px);
    gap: 7px;
  }

  .mb-site-brand {
    flex: 1 1 0;
  }

  .mb-site-header__actions {
    gap: 6px;
  }

  .mb-site-btn {
    min-height: 30px;
    padding: 7px 10px;
    font-size: 0.82rem;
  }

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

/* Direction compatibility */
.mb-article[dir="rtl"],
.mbpk-article[dir="rtl"],
.mbpk-page .mb-article[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

.mb-article[dir="rtl"] table.mb-table,
.mbpk-article[dir="rtl"] table.mb-table,
.mbpk-page .mb-article[dir="rtl"] table.mb-table {
  direction: rtl;
}

.mb-article[dir="rtl"] table.mb-table caption,
.mb-article[dir="rtl"] table.mb-table th,
.mb-article[dir="rtl"] table.mb-table td,
.mbpk-article[dir="rtl"] table.mb-table caption,
.mbpk-article[dir="rtl"] table.mb-table th,
.mbpk-article[dir="rtl"] table.mb-table td,
.mbpk-page .mb-article[dir="rtl"] table.mb-table caption,
.mbpk-page .mb-article[dir="rtl"] table.mb-table th,
.mbpk-page .mb-article[dir="rtl"] table.mb-table td {
  text-align: right;
}

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
  .mb-article *,
  .mb-article *::before,
  .mb-article *::after,
  .mbpk-article *,
  .mbpk-article *::before,
  .mbpk-article *::after,
  .mbpk-page .mb-article *,
  .mbpk-page .mb-article *::before,
  .mbpk-page .mb-article *::after,
  .mb-site-header *,
  .mb-site-footer *,
  .mb-site-drawer * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

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

