/* Mostbet-inspired global CSS for Elementor HTML blocks and optional shell chrome */

/* Theme tokens shared by the shell and the article */
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", "Noto Sans Arabic", "Segoe UI", Arial, sans-serif;
  --mb-container: 1120px;
  --mb-shell-gutter: clamp(14px, 3vw, 28px);
  --mb-gutter: clamp(16px, 3.4vw, 34px);
  --mb-section-pad: clamp(16px, 3vw, 32px);
  --mb-radius-sm: 12px;
  --mb-radius: 18px;
  --mb-radius-lg: 26px;

  --mb-bg: #140608;
  --mb-bg-2: #26090d;
  --mb-bg-3: #3a0d11;
  --mb-panel: #231014;
  --mb-panel-2: #321319;
  --mb-panel-3: #4a1718;

  --mb-primary: #c81722;
  --mb-primary-2: #ff3b22;
  --mb-red: #b8121d;
  --mb-red-2: #e43720;
  --mb-gold: #f8c94a;
  --mb-gold-2: #ff9828;
  --mb-amber: #ffd875;
  --mb-cream: #fff1bf;
  --mb-teal: #f8c94a;

  --mb-text: #fff8e8;
  --mb-text-soft: #f4d8ad;
  --mb-muted: #d1aa82;
  --mb-muted-2: #9f7b65;

  --mb-border: rgba(248, 201, 74, 0.22);
  --mb-line: rgba(248, 201, 74, 0.22);
  --mb-border-strong: rgba(248, 201, 74, 0.44);
  --mb-line-strong: rgba(248, 201, 74, 0.44);
  --mb-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  --mb-glow: 0 0 34px rgba(255, 152, 40, 0.22), 0 18px 48px rgba(0, 0, 0, 0.38);
}

body.mb-site {
  margin: 0;
  font-family: var(--mb-font);
  color: var(--mb-text);
  background:
    radial-gradient(circle at 72% 8%, rgba(255, 152, 40, 0.24) 0, rgba(255, 152, 40, 0) 34%),
    radial-gradient(circle at 12% 18%, rgba(200, 23, 34, 0.28) 0, rgba(200, 23, 34, 0) 30%),
    linear-gradient(145deg, #0f0507 0%, #21080d 42%, #120507 100%);
}

.mb-site-header,
.mb-page-strip,
.mb-site-footer,
.mb-site-drawer {
  font-family: var(--mb-font);
}

/* Scoped sizing safety for article and shell chrome */
.mb-article,
.mb-article *,
.mb-article *::before,
.mb-article *::after,
.mbpk-article,
.mbpk-article *,
.mbpk-article *::before,
.mbpk-article *::after,
.mbpk-page .mb-article,
.mbpk-page .mb-article *,
.mbpk-page .mb-article *::before,
.mbpk-page .mb-article *::after {
  box-sizing: border-box;
  min-width: 0;
}

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

/* Optional shell topbar, header, navigation, drawer, breadcrumbs, and footer */
.mb-site-topbar,
.mb-topbar {
  color: var(--mb-text-soft);
  background: linear-gradient(90deg, rgba(78, 18, 20, 0.94), rgba(28, 8, 10, 0.94));
  border-block-end: 1px solid rgba(248, 201, 74, 0.18);
  font-size: clamp(0.78rem, 1.4vw, 0.9rem);
}

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

.mb-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: var(--mb-text);
  background: linear-gradient(180deg, rgba(38, 9, 13, 0.9), rgba(20, 6, 8, 0.82));
  border-block-end: 1px solid rgba(248, 201, 74, 0.2);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mb-site-header__inner {
  width: min(var(--mb-container), calc(100% - (2 * var(--mb-shell-gutter))));
  margin-inline: auto;
  min-height: 64px;
  padding-block: 10px;
  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: flex;
  align-items: center;
  color: var(--mb-text);
  text-decoration: none;
}

.mb-site-brand__logo {
  display: block;
  max-height: clamp(26px, 7.5vw, 40px);
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  aspect-ratio: 800 / 128;
}

.mb-site-brand__text {
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--mb-text);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  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;
  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-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(248, 201, 74, 0.22);
  border-radius: 999px;
  color: var(--mb-text-soft);
  background: rgba(255, 216, 117, 0.06);
  text-decoration: none;
  font-weight: 800;
  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__link:focus-visible,
.mb-site-nav a:hover,
.mb-site-nav a:focus-visible {
  color: #1a0708;
  background: linear-gradient(180deg, var(--mb-gold), var(--mb-gold-2));
  border-color: rgba(255, 216, 117, 0.72);
  transform: translateY(-1px);
  outline: none;
}

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

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

.mb-site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 36px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 216, 117, 0.72);
  color: #210709;
  background: linear-gradient(180deg, var(--mb-gold), var(--mb-gold-2));
  box-shadow: 0 10px 24px rgba(255, 152, 40, 0.22);
  text-decoration: none;
  text-align: center;
  font-weight: 900;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
}

.mb-site-btn:hover,
.mb-site-btn:focus-visible {
  color: #210709;
  background: linear-gradient(180deg, #ffe38a, #ffac35);
  border-color: rgba(255, 241, 191, 0.9);
  outline: none;
}

.mb-site-btn--apk {
  color: var(--mb-cream);
  background: rgba(255, 216, 117, 0.08);
  border-color: rgba(248, 201, 74, 0.48);
  box-shadow: none;
}

.mb-site-btn--apk:hover,
.mb-site-btn--apk:focus-visible {
  color: #210709;
  background: linear-gradient(180deg, var(--mb-gold), var(--mb-gold-2));
}

.mb-site-burger {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(248, 201, 74, 0.35);
  border-radius: 12px;
  color: var(--mb-cream);
  background: rgba(255, 216, 117, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mb-site-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  color: var(--mb-text);
  background: rgba(10, 3, 5, 0.62);
}

.mb-site-drawer__panel {
  height: 100%;
  min-height: 100dvh;
  color: var(--mb-text);
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 152, 40, 0.18), rgba(255, 152, 40, 0) 36%),
    linear-gradient(180deg, rgba(52, 14, 19, 0.98), rgba(20, 6, 8, 0.98));
  border-inline-start: 1px solid rgba(248, 201, 74, 0.24);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

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

.mb-site-drawer__link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--mb-text-soft);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.25;
}

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

.mb-site-drawer__cta,
.mb-site-drawer__cta--apk {
  color: #210709;
  background: linear-gradient(180deg, var(--mb-gold), var(--mb-gold-2));
  border: 1px solid rgba(255, 241, 191, 0.78);
  box-shadow: 0 12px 26px rgba(255, 152, 40, 0.2);
  white-space: normal;
  overflow-wrap: anywhere;
}

.mb-site-drawer__cta--apk {
  color: var(--mb-cream);
  background: rgba(255, 216, 117, 0.08);
  border-color: rgba(248, 201, 74, 0.42);
  box-shadow: none;
}

.mb-page-strip {
  color: var(--mb-muted);
  background: linear-gradient(90deg, rgba(28, 8, 10, 0.96), rgba(58, 13, 17, 0.86), rgba(28, 8, 10, 0.96));
  border-block-end: 1px solid rgba(248, 201, 74, 0.14);
}

.mb-page-strip__inner {
  width: min(var(--mb-container), calc(100% - (2 * var(--mb-shell-gutter))));
  margin-inline: auto;
  padding-block: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.mb-breadcrumbs,
.mb-page-strip__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--mb-muted);
  font-size: 0.9rem;
  line-height: 1.3;
}

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

.mb-breadcrumbs a:hover,
.mb-page-strip a:hover {
  color: var(--mb-gold);
}

.mb-page-title {
  margin: 0;
  color: var(--mb-text);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.15;
  font-weight: 950;
}

.mb-site-footer {
  margin-block-start: clamp(34px, 6vw, 72px);
  color: var(--mb-text-soft);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 152, 40, 0.13), transparent 32%),
    linear-gradient(180deg, rgba(33, 8, 12, 0.96), rgba(12, 4, 6, 0.98));
  border-block-start: 1px solid rgba(248, 201, 74, 0.2);
}

.mb-site-footer__inner {
  width: min(var(--mb-container), calc(100% - (2 * var(--mb-shell-gutter))));
  margin-inline: auto;
  padding-block: clamp(24px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
}

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

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

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

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

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

.mb-footer-nav__link,
.mb-footer-nav a {
  width: 100%;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(248, 201, 74, 0.2);
  color: var(--mb-text-soft);
  background: rgba(255, 216, 117, 0.055);
  text-decoration: none;
  text-align: center;
  font-weight: 800;
  line-height: 1.2;
}

.mb-footer-nav__link:hover,
.mb-footer-nav__link:focus-visible,
.mb-footer-nav a:hover,
.mb-footer-nav a:focus-visible {
  color: #210709;
  background: linear-gradient(180deg, var(--mb-gold), var(--mb-gold-2));
  border-color: rgba(255, 241, 191, 0.72);
  outline: none;
}

.mb-site-footer__copy {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--mb-muted-2);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Article root and scoped typography */
.mb-article,
.mbpk-article,
.mbpk-page .mb-article {
  width: 100%;
  max-width: calc(var(--mb-container) + (2 * var(--mb-gutter)));
  margin-inline: auto;
  margin-block: clamp(18px, 3vw, 34px);
  padding: clamp(18px, 3vw, 34px) var(--mb-gutter);
  box-sizing: border-box;
  direction: ltr;
  unicode-bidi: isolate;
  color: var(--mb-text);
  background:
    radial-gradient(circle at 82% 2%, rgba(255, 152, 40, 0.18), rgba(255, 152, 40, 0) 34%),
    radial-gradient(circle at 10% 8%, rgba(200, 23, 34, 0.18), rgba(200, 23, 34, 0) 30%),
    linear-gradient(180deg, rgba(34, 10, 14, 0.98), rgba(18, 6, 8, 0.98));
  border: 1px solid rgba(248, 201, 74, 0.18);
  border-radius: var(--mb-radius-lg);
  box-shadow: var(--mb-shadow);
  font-family: var(--mb-font);
  font-size: clamp(1rem, 1.2vw, 1.06rem);
  line-height: 1.72;
  text-align: start;
  overflow-wrap: anywhere;
}

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

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

.mb-article[dir="ltr"],
.mbpk-article[dir="ltr"],
.mbpk-page .mb-article[dir="ltr"],
[dir="ltr"] .mb-article,
[dir="ltr"] .mbpk-article {
  direction: ltr;
  text-align: start;
}

.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-family: var(--mb-font);
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

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

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

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

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

.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) {
  max-width: 100%;
  margin-block-start: 0;
  margin-block-end: 1em;
}

.mb-copy,
.mb-hero__copy,
.mb-cta__copy,
.mb-card__copy,
.mb-card__body,
.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),
.mbpk-page .mb-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;
}

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

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

.mb-article strong,
.mbpk-article strong,
.mbpk-page .mb-article strong {
  color: var(--mb-cream);
  font-weight: 900;
}

.mb-article a:not(.mb-btn),
.mbpk-article a:not(.mb-btn),
.mbpk-page .mb-article a:not(.mb-btn) {
  color: var(--mb-gold);
  text-decoration-color: rgba(248, 201, 74, 0.45);
  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: var(--mb-amber);
  text-decoration-color: currentColor;
}

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

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

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

.mb-article blockquote,
.mbpk-article blockquote,
.mbpk-page .mb-article blockquote {
  padding: clamp(16px, 2.5vw, 24px);
  border-inline-start: 4px solid var(--mb-gold);
  border-radius: var(--mb-radius);
  background: rgba(255, 216, 117, 0.07);
  color: var(--mb-text-soft);
}

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

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

.mb-article pre,
.mbpk-article pre,
.mbpk-page .mb-article pre {
  max-width: 100%;
  overflow: auto;
  padding: 16px;
  border-radius: var(--mb-radius);
  border: 1px solid var(--mb-border);
  background: rgba(0, 0, 0, 0.32);
  color: var(--mb-cream);
}

/* Hero: single-column grid, visual order image, CTA, copy */
.mb-hero {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: 0 clamp(26px, 5vw, 62px);
  padding-block-start: 0;
  padding-inline: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "cta"
    "copy";
  gap: 0;
  align-items: start;
  border: 1px solid rgba(248, 201, 74, 0.24);
  border-radius: var(--mb-radius-lg);
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 152, 40, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(68, 16, 18, 0.78), rgba(26, 7, 10, 0.95));
  box-shadow: var(--mb-glow);
}

.mb-hero__media {
  grid-area: media;
  width: 100%;
  max-width: 100%;
  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: hidden;
  overflow: clip;
  background: #130507;
  border-block-end: 1px solid rgba(248, 201, 74, 0.22);
  cursor: pointer;
}

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

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

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

.mb-hero__copy {
  grid-area: copy;
  width: 100%;
  max-width: 100%;
  padding: clamp(16px, 3vw, 34px) var(--mb-section-pad) clamp(20px, 4vw, 42px);
}

.mb-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin-block-end: 12px;
  padding: 7px 12px;
  border: 1px solid rgba(248, 201, 74, 0.46);
  border-radius: 999px;
  color: var(--mb-gold);
  background: rgba(255, 216, 117, 0.08);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mb-hero__title {
  margin-block-end: 0.34em;
  color: var(--mb-cream);
  text-shadow: 0 2px 0 rgba(92, 26, 10, 0.7), 0 0 28px rgba(255, 152, 40, 0.2);
}

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

.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: var(--mb-section-pad);
  margin-block: clamp(16px, 3vw, 26px) 0;
  box-sizing: border-box;
}

.mb-hero__actions,
.mb-actions {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

/* Buttons and CTA panels */
.mb-cta {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: clamp(24px, 5vw, 58px);
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(248, 201, 74, 0.28);
  border-radius: var(--mb-radius-lg);
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 216, 117, 0.17), rgba(255, 216, 117, 0) 34%),
    linear-gradient(135deg, rgba(82, 17, 19, 0.92), rgba(31, 8, 11, 0.96));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.3);
}

.mb-cta__title {
  color: var(--mb-cream);
}

.mb-cta__copy {
  color: var(--mb-text-soft);
}

.mb-cta__actions {
  width: 100%;
  max-width: 100%;
  margin-block-start: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  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: 12px 20px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 241, 191, 0.72);
  border-radius: 999px;
  color: #210709;
  background: linear-gradient(180deg, var(--mb-gold) 0%, var(--mb-gold-2) 100%);
  box-shadow: 0 12px 28px rgba(255, 152, 40, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  text-decoration: none;
  text-align: center;
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, 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: #210709;
  background: linear-gradient(180deg, #ffe58f 0%, #ffaf38 100%);
  border-color: rgba(255, 248, 220, 0.9);
  box-shadow: 0 15px 34px rgba(255, 152, 40, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  transform: translateY(-1px);
  outline: none;
}

.mb-btn--primary,
.mb-article a.mb-btn--primary,
.mbpk-article a.mb-btn--primary,
.mbpk-page .mb-article a.mb-btn--primary {
  color: var(--mb-cream);
  background: linear-gradient(180deg, var(--mb-primary-2), var(--mb-primary));
  border-color: rgba(255, 216, 117, 0.62);
  text-shadow: 0 1px 0 rgba(80, 0, 0, 0.44);
}

.mb-btn--primary:hover,
.mb-btn--primary:focus-visible,
.mb-article a.mb-btn--primary:hover,
.mb-article a.mb-btn--primary:focus-visible,
.mbpk-article a.mb-btn--primary:hover,
.mbpk-article a.mb-btn--primary:focus-visible,
.mbpk-page .mb-article a.mb-btn--primary:hover,
.mbpk-page .mb-article a.mb-btn--primary:focus-visible {
  color: var(--mb-cream);
  background: linear-gradient(180deg, #ff4d30, #d91d25);
}

.mb-btn--secondary,
.mb-article a.mb-btn--secondary,
.mbpk-article a.mb-btn--secondary,
.mbpk-page .mb-article a.mb-btn--secondary {
  color: var(--mb-cream);
  background: rgba(255, 216, 117, 0.07);
  border-color: rgba(248, 201, 74, 0.44);
  box-shadow: none;
}

.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: #210709;
  background: linear-gradient(180deg, var(--mb-gold), var(--mb-gold-2));
  border-color: rgba(255, 241, 191, 0.82);
}

.mb-btn--accent,
.mb-article a.mb-btn--accent,
.mbpk-article a.mb-btn--accent,
.mbpk-page .mb-article a.mb-btn--accent {
  color: #210709;
  background: linear-gradient(180deg, var(--mb-gold), var(--mb-gold-2));
}

/* Rows and media sections */
.mb-row {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: clamp(24px, 5vw, 58px);
  padding: var(--mb-section-pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "copy";
  align-items: start;
  gap: clamp(18px, 3.2vw, 38px);
  border: 1px solid rgba(248, 201, 74, 0.16);
  border-radius: var(--mb-radius-lg);
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 152, 40, 0.1), rgba(255, 152, 40, 0) 34%),
    linear-gradient(180deg, rgba(255, 216, 117, 0.045), rgba(255, 216, 117, 0.02));
}

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

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

.mb-row--stack.mb-row--reverse:not(.mb-hero),
.mb-row--long.mb-row--reverse: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-media {
  grid-area: media;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  padding: 0;
  align-self: start;
  border-radius: var(--mb-radius);
  border: 1px solid rgba(248, 201, 74, 0.22);
  background: #120507;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34), 0 0 28px rgba(255, 152, 40, 0.12);
  overflow: hidden;
  overflow: clip;
  cursor: pointer;
}

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

.mb-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease, filter 260ms ease, box-shadow 260ms ease;
}

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

/* 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: clamp(24px, 5vw, 58px);
  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 {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  border: 1px solid rgba(248, 201, 74, 0.18);
  border-radius: var(--mb-radius);
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 152, 40, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(58, 16, 18, 0.76), rgba(28, 8, 11, 0.94));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.mb-card:hover,
.mb-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(248, 201, 74, 0.42);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34), 0 0 30px rgba(255, 152, 40, 0.12);
}

.mb-card__media {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  padding: 0;
  border-radius: calc(var(--mb-radius) - 1px) calc(var(--mb-radius) - 1px) 12px 12px;
  background: #120507;
  overflow: hidden;
  overflow: clip;
  cursor: pointer;
}

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

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

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

.mb-card__body {
  width: 100%;
  max-width: 100%;
  padding: clamp(15px, 2.5vw, 22px);
}

.mb-card__title {
  margin-block-start: 0;
  margin-block-end: 0.45em;
  color: var(--mb-cream);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.2;
  font-weight: 950;
}

.mb-card__copy {
  margin-block-end: 0;
  color: var(--mb-text-soft);
  line-height: 1.62;
}

.mb-card > :not(.mb-card__media):not(.mb-card__body) {
  margin-inline: clamp(15px, 2.5vw, 22px);
}

.mb-card > :not(.mb-card__media):not(.mb-card__body):first-child {
  margin-block-start: clamp(15px, 2.5vw, 22px);
}

.mb-card > :not(.mb-card__media):not(.mb-card__body):last-child {
  margin-block-end: clamp(15px, 2.5vw, 22px);
}

/* FAQ */
.mb-faq {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: clamp(24px, 5vw, 58px);
}

.mb-faq__title {
  margin-block-end: 0.7em;
}

.mb-faq details {
  width: 100%;
  border: 1px solid rgba(248, 201, 74, 0.18);
  border-radius: var(--mb-radius);
  background: rgba(255, 216, 117, 0.045);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.mb-faq details + details {
  margin-block-start: 12px;
}

.mb-faq summary {
  cursor: pointer;
  padding: 16px 18px;
  color: var(--mb-cream);
  font-weight: 900;
  line-height: 1.35;
  list-style-position: inside;
}

.mb-faq summary::marker {
  color: var(--mb-gold);
}

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

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

/* Tables with internal mobile scroll */
.mb-table-wrap {
  width: 100%;
  max-width: 100%;
  margin-block: clamp(20px, 4vw, 42px);
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  border: 1px solid rgba(248, 201, 74, 0.22);
  border-radius: var(--mb-radius);
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.mb-table-wrap::-webkit-scrollbar {
  height: 10px;
}

.mb-table-wrap::-webkit-scrollbar-track {
  background: rgba(255, 216, 117, 0.08);
  border-radius: 999px;
}

.mb-table-wrap::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--mb-primary), var(--mb-gold-2));
  border-radius: 999px;
}

table.mb-table {
  width: 100%;
  min-width: 560px;
  max-width: none;
  direction: ltr;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--mb-text-soft);
  background: rgba(18, 5, 7, 0.72);
  text-align: start;
}

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

table.mb-table th,
table.mb-table td {
  padding: 13px 14px;
  border-block-end: 1px solid rgba(248, 201, 74, 0.14);
  border-inline-end: 1px solid rgba(248, 201, 74, 0.1);
  vertical-align: top;
  text-align: start;
}

table.mb-table th {
  color: #210709;
  background: linear-gradient(180deg, var(--mb-gold), var(--mb-gold-2));
  font-weight: 950;
}

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

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

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

/* Embeds, dividers, and utility surfaces */
.mb-embed {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: clamp(24px, 5vw, 58px);
  border-radius: var(--mb-radius);
  overflow: hidden;
  overflow: clip;
  border: 1px solid rgba(248, 201, 74, 0.18);
  background: rgba(0, 0, 0, 0.28);
}

.mb-embed iframe,
.mb-embed video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

.mb-divider,
.mb-article hr,
.mbpk-article hr,
.mbpk-page .mb-article hr {
  width: 100%;
  max-width: var(--mb-container);
  height: 1px;
  margin: clamp(24px, 5vw, 58px) auto;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(248, 201, 74, 0.5), rgba(200, 23, 34, 0.42), transparent);
}

.mb-note,
.mb-callout {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: clamp(20px, 4vw, 42px);
  padding: clamp(16px, 3vw, 26px);
  border-radius: var(--mb-radius);
  border: 1px solid rgba(248, 201, 74, 0.24);
  background: rgba(255, 216, 117, 0.07);
  color: var(--mb-text-soft);
}

/* Forms inside article blocks */
.mb-article :is(input, select, textarea),
.mbpk-article :is(input, select, textarea),
.mbpk-page .mb-article :is(input, select, textarea) {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(248, 201, 74, 0.28);
  border-radius: 12px;
  color: var(--mb-text);
  background: rgba(0, 0, 0, 0.24);
  font-family: var(--mb-font);
}

.mb-article :is(input, select, textarea):focus,
.mbpk-article :is(input, select, textarea):focus,
.mbpk-page .mb-article :is(input, select, textarea):focus {
  border-color: rgba(248, 201, 74, 0.66);
  box-shadow: 0 0 0 3px rgba(248, 201, 74, 0.14);
  outline: none;
}

/* Tablet layout */
@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-cta__actions,
  .mb-hero__actions,
  .mb-actions {
    flex-direction: row;
  }

  .mb-btn,
  .mb-article a.mb-btn,
  .mbpk-article a.mb-btn,
  .mbpk-page .mb-article a.mb-btn {
    width: auto;
  }
}

/* Desktop rows and desktop card grid */
@media (min-width: 880px) {
  .mb-row {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    grid-template-areas: "copy media";
  }

  .mb-row--reverse {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    grid-template-areas: "media copy";
  }

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

  .mb-row--stack.mb-row--reverse:not(.mb-hero),
  .mb-row--long.mb-row--reverse: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--orphan-fix,
  .mb-article .mb-slot-grid--orphan-fix,
  .mbpk-article .mb-grid--orphan-fix,
  .mbpk-article .mb-slot-grid--orphan-fix,
  .mbpk-page .mb-article .mb-grid--orphan-fix,
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

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

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

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

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

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

  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n + 1):not(:has(.mb-card__body)),
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n + 1):not(:has(.mb-card__body)),
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n + 1):not(:has(.mb-card__body)),
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n + 1):not(:has(.mb-card__body)),
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n + 1):not(:has(.mb-card__body)),
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n + 1):not(:has(.mb-card__body)) {
    grid-template-rows: auto auto;
  }

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

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

  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n + 1):not(:has(.mb-card__body)) > .mb-card__copy,
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n + 1):not(:has(.mb-card__body)) > .mb-card__copy,
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n + 1):not(:has(.mb-card__body)) > .mb-card__copy,
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n + 1):not(:has(.mb-card__body)) > .mb-card__copy,
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n + 1):not(:has(.mb-card__body)) > .mb-card__copy,
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n + 1):not(:has(.mb-card__body)) > .mb-card__copy {
    grid-row: 2;
  }
}

/* Mobile safety: no horizontal overflow, full-width touch targets, and internal table scroll */
@media (max-width: 639.98px) {
  .mb-site-header__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

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

  .mb-site-header__actions {
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }

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

  .mb-site-burger {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

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

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

  .mb-article,
  .mbpk-article,
  .mbpk-page .mb-article {
    max-width: 100%;
    margin-block: 0 clamp(20px, 5vw, 34px);
    border-radius: 0;
    border-inline: 0;
    padding-inline: var(--mb-gutter);
  }

  .mb-hero,
  .mb-row,
  .mb-cta,
  .mb-faq,
  .mb-note,
  .mb-callout,
  .mb-embed,
  .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: 100%;
  }

  .mb-row,
  .mb-cta {
    padding: clamp(15px, 4vw, 20px);
  }

  .mb-hero__copy {
    padding-inline: var(--mb-section-pad);
  }

  .mb-cta__actions,
  .mb-hero__actions,
  .mb-actions {
    width: 100%;
    max-width: 100%;
    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%;
  }

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

  .mb-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  table.mb-table {
    min-width: 560px;
    width: 100%;
    max-width: none;
  }

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mb-site-nav__link,
  .mb-site-nav a,
  .mb-site-btn,
  .mb-btn,
  .mb-media img,
  .mb-hero__media img,
  .mb-card,
  .mb-card__media img {
    transition: none;
  }

  .mb-btn:hover,
  .mb-btn:focus-visible,
  .mb-card:hover,
  .mb-card:focus-within,
  .mb-site-nav__link:hover,
  .mb-site-nav__link:focus-visible {
    transform: none;
  }
}

/* Self-check: tables scroll inside .mb-table-wrap, content buttons fit their containers, text stays full-width by default, and mobile media is constrained. */
/* Подпись CTA-блока: раньше была <h3> и давала пропуск уровня h1→h3 (стандарт флота §1.4).
   Тег сменён на <p>, типографика сохранена один в один. */
.mb-article .mb-cta__title,
.mbpk-article .mb-cta__title {
  color: var(--mb-text);
  font-family: var(--mb-font);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-block-start: 0;
  margin-block-end: 0.62em;
  overflow-wrap: anywhere;
  break-after: avoid;
  font-size: clamp(1.32rem, 3vw, 2rem);
}

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

