/* Mostbet-inspired global CSS for Elementor HTML blocks and shell chrome */
/* Palette source: dark ember red background, gold highlights, red CTA, warm glow accents */

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-gutter: clamp(16px, 4vw, 38px);
  --mb-gap: clamp(18px, 3vw, 34px);
  --mb-gap-lg: clamp(28px, 5vw, 58px);
  --mb-radius-sm: 12px;
  --mb-radius: 20px;
  --mb-radius-lg: 30px;

  --mb-bg: #120504;
  --mb-bg-2: #270807;
  --mb-bg-3: #3a0d09;
  --mb-panel: #210807;
  --mb-panel-2: #34100c;
  --mb-panel-3: #4a140e;

  --mb-primary: #f5bd3f;
  --mb-primary-2: #ffe88c;
  --mb-gold: #f5bd3f;
  --mb-gold-2: #ffe88c;
  --mb-red: #d51c16;
  --mb-red-2: #7b100d;
  --mb-ember: #ff6a13;
  --mb-teal: #f5bd3f;

  --mb-text: #fff7df;
  --mb-text-soft: #efd5aa;
  --mb-muted: #c39f79;
  --mb-muted-2: #9a765d;

  --mb-border: rgba(245, 189, 63, 0.22);
  --mb-border-strong: rgba(255, 232, 140, 0.46);
  --mb-line: rgba(245, 189, 63, 0.22);
  --mb-line-strong: rgba(255, 232, 140, 0.46);

  --mb-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  --mb-shadow-gold: 0 18px 42px rgba(245, 155, 31, 0.2);
  --mb-focus: 0 0 0 3px rgba(255, 232, 140, 0.34);

  --mb-section-space: clamp(26px, 5vw, 56px);
  --mb-copy-pad-start: 0px;

  color-scheme: dark;
}

body.mb-site {
  direction: ltr;
  text-align: left;
  font-family: var(--mb-font);
  color: var(--mb-text);
  background:
    radial-gradient(circle at 24% 0%, rgba(255, 92, 19, 0.34) 0 12%, transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(213, 28, 22, 0.28) 0 10%, transparent 32%),
    linear-gradient(180deg, #220705 0%, #120504 48%, #090302 100%);
}

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

.mb-article,
.mbpk-article,
.mbpk-page .mb-article,
body.mb-site .mb-site-header,
body.mb-site .mb-site-header *,
body.mb-site .mb-site-header *::before,
body.mb-site .mb-site-header *::after,
body.mb-site .mb-page-strip,
body.mb-site .mb-page-strip *,
body.mb-site .mb-page-strip *::before,
body.mb-site .mb-page-strip *::after,
body.mb-site .mb-site-footer,
body.mb-site .mb-site-footer *,
body.mb-site .mb-site-footer *::before,
body.mb-site .mb-site-footer *::after,
body.mb-site .mb-site-drawer,
body.mb-site .mb-site-drawer *,
body.mb-site .mb-site-drawer *::before,
body.mb-site .mb-site-drawer *::after {
  box-sizing: border-box;
}

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

/* Shell chrome */
.mb-site-topbar {
  color: var(--mb-text-soft);
  background: rgba(18, 5, 4, 0.9);
  border-bottom: 1px solid rgba(245, 189, 63, 0.14);
  font-size: clamp(12px, 1.4vw, 14px);
}

.mb-site-topbar__inner,
.mb-site-header__inner,
.mb-page-strip__inner,
.mb-site-footer__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding-inline: var(--mb-gutter);
}

.mb-site-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding-block: 7px;
}

.mb-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--mb-text);
  background:
    linear-gradient(180deg, rgba(42, 8, 7, 0.92), rgba(18, 5, 4, 0.82)),
    radial-gradient(circle at 50% 0%, rgba(245, 189, 63, 0.13), transparent 58%);
  border-bottom: 1px solid rgba(255, 232, 140, 0.18);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.mb-site-header__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 2vw, 18px);
  min-width: 0;
  padding-block: 10px;
}

.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,
.mb-site-brand img,
.mb-site-header .custom-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__name {
  min-width: 0;
  color: var(--mb-text);
  font-weight: 900;
  letter-spacing: 0.02em;
  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 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  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-width: 0;
  max-width: 100%;
  padding: 9px 14px;
  border: 1px solid rgba(255, 232, 140, 0.2);
  border-radius: 999px;
  color: var(--mb-text-soft);
  background: rgba(255, 232, 140, 0.06);
  text-decoration: none;
  line-height: 1.15;
  font-weight: 750;
  transition: background-color 180ms ease, color 180ms ease, border-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: #fff7df;
  background: rgba(213, 28, 22, 0.42);
  border-color: rgba(255, 232, 140, 0.5);
  outline: none;
  transform: translateY(-1px);
}

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

.mb-site-btn,
.mb-site-burger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 232, 140, 0.52);
  font-family: var(--mb-font);
  font-size: clamp(12px, 1.7vw, 14px);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.mb-site-btn {
  color: #fff7df;
  background:
    linear-gradient(180deg, #f04525 0%, var(--mb-red) 46%, #8c120e 100%);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.34);
}

.mb-site-btn--apk {
  color: var(--mb-gold-2);
  background: rgba(255, 232, 140, 0.08);
}

.mb-site-btn:hover,
.mb-site-btn:focus-visible {
  color: #fff7df;
  border-color: var(--mb-gold-2);
  outline: none;
  box-shadow: var(--mb-focus), 0 16px 34px rgba(213, 28, 22, 0.3);
}

.mb-site-burger {
  width: 38px;
  padding-inline: 0;
  color: var(--mb-gold-2);
  background: rgba(255, 232, 140, 0.08);
}

.mb-site-burger:hover,
.mb-site-burger:focus-visible {
  color: var(--mb-bg);
  background: var(--mb-gold-2);
  outline: none;
  box-shadow: var(--mb-focus);
}

.mb-page-strip {
  color: var(--mb-muted);
  background: rgba(18, 5, 4, 0.72);
  border-bottom: 1px solid rgba(245, 189, 63, 0.12);
}

.mb-page-strip__inner {
  padding-block: 8px;
}

.mb-breadcrumbs,
.mb-page-strip a {
  color: var(--mb-text-soft);
  font-size: 13px;
  line-height: 1.35;
}

.mb-page-strip a {
  text-decoration: none;
}

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

.mb-site-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  color: var(--mb-text);
  background: rgba(8, 3, 2, 0.74);
  font-family: var(--mb-font);
}

.mb-site-drawer__panel {
  height: 100%;
  min-height: 100dvh;
  color: var(--mb-text);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 106, 19, 0.23), transparent 38%),
    linear-gradient(180deg, #2a0807 0%, #120504 100%);
  border-inline-start: 1px solid rgba(255, 232, 140, 0.2);
  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 {
  color: var(--mb-text-soft);
  text-decoration: none;
}

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

.mb-site-drawer__cta {
  color: #fff7df;
  background:
    linear-gradient(180deg, #f04525 0%, var(--mb-red) 48%, #8c120e 100%);
  border-color: rgba(255, 232, 140, 0.55);
}

.mb-site-drawer__cta--apk {
  color: var(--mb-gold-2);
  background: rgba(255, 232, 140, 0.09);
}

.mb-site-footer {
  color: var(--mb-text-soft);
  background:
    radial-gradient(circle at 80% 0%, rgba(213, 28, 22, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(18, 5, 4, 0.96), #070202 100%);
  border-top: 1px solid rgba(255, 232, 140, 0.18);
}

.mb-site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 28px);
  padding-block: clamp(24px, 5vw, 44px);
}

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

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

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

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

.mb-footer-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: 100%;
  padding: 9px 13px;
  border: 1px solid rgba(255, 232, 140, 0.18);
  border-radius: 999px;
  color: var(--mb-text-soft);
  background: rgba(255, 232, 140, 0.055);
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
}

.mb-footer-nav__link:hover,
.mb-footer-nav__link:focus-visible {
  color: var(--mb-gold-2);
  border-color: rgba(255, 232, 140, 0.42);
  background: rgba(213, 28, 22, 0.28);
  outline: none;
}

/* Article root */
.mb-article,
.mbpk-article,
.mbpk-page .mb-article {
  direction: ltr;
  unicode-bidi: isolate;
  width: min(100%, var(--mb-container));
  max-width: var(--mb-container);
  min-width: 0;
  margin-inline: auto;
  padding: var(--mb-gutter);
  border: 1px solid var(--mb-border);
  border-radius: clamp(18px, 3vw, 32px);
  color: var(--mb-text);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 106, 19, 0.18), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(245, 189, 63, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(52, 12, 9, 0.98), rgba(18, 5, 4, 0.98));
  box-shadow: var(--mb-shadow);
  font-family: var(--mb-font);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.72;
  text-align: left;
}

body.mb-site .mb-article {
  margin-block: clamp(16px, 4vw, 34px);
}

.mb-article__inner,
.mbpk-article .mb-article__inner,
.mbpk-page .mb-article .mb-article__inner {
  width: 100%;
  max-width: var(--mb-container);
  min-width: 0;
  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,
.mbpk-article a,
.mbpk-page .mb-article a {
  color: var(--mb-gold-2);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.mb-article a:hover,
.mbpk-article a:hover,
.mbpk-page .mb-article a:hover {
  color: #fff7df;
}

.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.025em;
  overflow-wrap: anywhere;
}

.mb-article h1,
.mbpk-article h1,
.mbpk-page .mb-article h1 {
  font-size: clamp(34px, 7vw, 68px);
  color: var(--mb-gold-2);
  text-shadow: 0 4px 24px rgba(255, 106, 19, 0.28);
}

.mb-article h2,
.mbpk-article h2,
.mbpk-page .mb-article h2 {
  font-size: clamp(26px, 4.5vw, 44px);
}

.mb-article h3,
.mbpk-article h3,
.mbpk-page .mb-article h3 {
  font-size: clamp(21px, 3vw, 30px);
}

.mb-article h4,
.mbpk-article h4,
.mbpk-page .mb-article h4 {
  font-size: clamp(18px, 2vw, 22px);
}

.mb-article p,
.mbpk-article p,
.mbpk-page .mb-article p {
  max-width: 100%;
  margin-block-start: 0;
  margin-block-end: 1em;
  color: var(--mb-text-soft);
  overflow-wrap: anywhere;
}

.mb-article p:last-child,
.mbpk-article p:last-child,
.mbpk-page .mb-article p:last-child {
  margin-block-end: 0;
}

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

.mb-article .mb-lead,
.mbpk-article .mb-lead,
.mbpk-page .mb-article .mb-lead {
  color: #ffe7bd;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.58;
}

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

.mb-article :is(ul, ol),
.mbpk-article :is(ul, ol),
.mbpk-page .mb-article :is(ul, ol) {
  max-width: 100%;
  margin-block: 0.35em 1.2em;
  padding-inline-start: 1.35em;
  color: var(--mb-text-soft);
}

.mb-article li,
.mbpk-article li,
.mbpk-page .mb-article li {
  max-width: 100%;
  margin-block: 0.35em;
  padding-inline-start: 0.15em;
}

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

.mb-article blockquote,
.mbpk-article blockquote,
.mbpk-page .mb-article blockquote {
  width: 100%;
  max-width: 100%;
  margin: 0 0 var(--mb-section-space);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 232, 140, 0.22);
  border-inline-start: 4px solid var(--mb-gold);
  border-radius: var(--mb-radius);
  color: #ffe7bd;
  background: rgba(255, 232, 140, 0.07);
}

.mb-divider,
.mb-article hr,
.mbpk-article hr,
.mbpk-page .mb-article hr {
  display: block;
  width: 100%;
  height: 1px;
  margin: var(--mb-section-space) 0;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 232, 140, 0.52), transparent);
}

/* Shared section sizing */
.mb-article :is(.mb-row, .mb-hero, .mb-cta, .mb-grid, .mb-slot-grid, .mb-faq, .mb-table-wrap),
.mbpk-article :is(.mb-row, .mb-hero, .mb-cta, .mb-grid, .mb-slot-grid, .mb-faq, .mb-table-wrap),
.mbpk-page .mb-article :is(.mb-row, .mb-hero, .mb-cta, .mb-grid, .mb-slot-grid, .mb-faq, .mb-table-wrap) {
  width: 100%;
  max-width: var(--mb-container);
  min-width: 0;
  margin-inline: auto;
}

/* Rows */
.mb-article .mb-row,
.mbpk-article .mb-row,
.mbpk-page .mb-article .mb-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "copy";
  align-items: start;
  gap: var(--mb-gap);
  margin-block: 0 var(--mb-section-space);
  padding: clamp(14px, 3vw, 28px);
  border: 1px solid rgba(255, 232, 140, 0.14);
  border-radius: var(--mb-radius-lg);
  background:
    radial-gradient(circle at 82% 8%, rgba(245, 189, 63, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 232, 140, 0.055), rgba(213, 28, 22, 0.04));
}

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

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

.mb-article .mb-row--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-article .mb-copy,
.mbpk-article .mb-copy,
.mbpk-page .mb-article .mb-copy {
  grid-area: copy;
  min-width: 0;
  max-width: 100%;
  padding-block-start: var(--mb-copy-pad-start);
  align-self: start;
}

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

.mb-article .mb-copy p,
.mb-article .mb-copy ul,
.mb-article .mb-copy ol,
.mbpk-article .mb-copy p,
.mbpk-article .mb-copy ul,
.mbpk-article .mb-copy ol,
.mbpk-page .mb-article .mb-copy p,
.mbpk-page .mb-article .mb-copy ul,
.mbpk-page .mb-article .mb-copy ol {
  max-width: 100%;
  margin-inline: 0;
}

.mb-article .mb-media,
.mbpk-article .mb-media,
.mbpk-page .mb-article .mb-media {
  grid-area: media;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 2 / 3;
  padding: 0;
  padding-block-start: 0;
  border: 1px solid rgba(255, 232, 140, 0.2);
  border-radius: var(--mb-radius-lg);
  background: #160504;
  box-shadow: var(--mb-shadow-gold);
  overflow: hidden;
  overflow: clip;
  align-self: start;
  cursor: pointer;
}

.mb-article .mb-media :is(img, picture, video),
.mbpk-article .mb-media :is(img, picture, video),
.mbpk-page .mb-article .mb-media :is(img, picture, video) {
  display: block;
  width: 100%;
  max-width: 100%;
}

.mb-article .mb-media :is(img, video),
.mbpk-article .mb-media :is(img, video),
.mbpk-page .mb-article .mb-media :is(img, video) {
  height: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

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

/* Hero: single-column grid at every breakpoint, visual order image -> CTA -> copy */
.mb-article .mb-hero,
.mbpk-article .mb-hero,
.mbpk-page .mb-article .mb-hero {
  --mb-hero-pad: clamp(16px, 4vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "cta"
    "copy";
  gap: 0;
  align-items: start;
  width: 100%;
  max-width: var(--mb-container);
  min-width: 0;
  margin-inline: auto;
  margin-block: 0 var(--mb-section-space);
  padding-inline: 0;
  padding-block-start: 0;
  padding-block-end: clamp(18px, 3.5vw, 36px);
  border: 1px solid rgba(255, 232, 140, 0.22);
  border-radius: var(--mb-radius-lg);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 106, 19, 0.28), transparent 36%),
    radial-gradient(circle at 84% 18%, rgba(245, 189, 63, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(58, 13, 9, 0.96), rgba(18, 5, 4, 0.98));
  box-shadow: var(--mb-shadow);
}

.mb-article .mb-hero__media,
.mbpk-article .mb-hero__media,
.mbpk-page .mb-article .mb-hero__media {
  grid-area: media;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  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);
  background: #140403;
  overflow: hidden;
  overflow: clip;
  cursor: pointer;
}

.mb-article .mb-hero__media :is(img, picture, video),
.mbpk-article .mb-hero__media :is(img, picture, video),
.mbpk-page .mb-article .mb-hero__media :is(img, picture, video) {
  display: block;
  width: 100%;
  max-width: 100%;
}

.mb-article .mb-hero__media :is(img, video),
.mbpk-article .mb-hero__media :is(img, video),
.mbpk-page .mb-article .mb-hero__media :is(img, video) {
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 280ms ease, filter 280ms ease;
}

.mb-article .mb-hero__media:hover :is(img, video),
.mbpk-article .mb-hero__media:hover :is(img, video),
.mbpk-page .mb-article .mb-hero__media:hover :is(img, video) {
  transform: scale(1.025);
  filter: saturate(1.1) contrast(1.05);
}

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

.mb-article .mb-hero__copy p,
.mb-article .mb-hero__copy ul,
.mb-article .mb-hero__copy ol,
.mbpk-article .mb-hero__copy p,
.mbpk-article .mb-hero__copy ul,
.mbpk-article .mb-hero__copy ol,
.mbpk-page .mb-article .mb-hero__copy p,
.mbpk-page .mb-article .mb-hero__copy ul,
.mbpk-page .mb-article .mb-hero__copy ol {
  max-width: 100%;
  margin-inline: 0;
}

.mb-article .mb-hero__badge,
.mbpk-article .mb-hero__badge,
.mbpk-page .mb-article .mb-hero__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-block-end: clamp(10px, 2vw, 16px);
  padding: 7px 12px;
  border: 1px solid rgba(255, 232, 140, 0.34);
  border-radius: 999px;
  color: var(--mb-gold-2);
  background: rgba(255, 232, 140, 0.08);
  font-size: 0.82em;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: default;
}

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

/* CTA and buttons */
.mb-article .mb-cta,
.mbpk-article .mb-cta,
.mbpk-page .mb-article .mb-cta {
  width: 100%;
  max-width: var(--mb-container);
  min-width: 0;
  margin-inline: auto;
  margin-block: 0 var(--mb-section-space);
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid rgba(255, 232, 140, 0.28);
  border-radius: var(--mb-radius-lg);
  background:
    radial-gradient(circle at 80% 0%, rgba(245, 189, 63, 0.19), transparent 34%),
    linear-gradient(135deg, rgba(123, 16, 13, 0.86), rgba(42, 8, 7, 0.94));
  box-shadow: var(--mb-shadow-gold);
}

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

.mb-article .mb-cta__copy p,
.mb-article .mb-cta__copy ul,
.mb-article .mb-cta__copy ol,
.mbpk-article .mb-cta__copy p,
.mbpk-article .mb-cta__copy ul,
.mbpk-article .mb-cta__copy ol,
.mbpk-page .mb-article .mb-cta__copy p,
.mbpk-page .mb-article .mb-cta__copy ul,
.mbpk-page .mb-article .mb-cta__copy ol {
  max-width: 100%;
  margin-inline: 0;
}

.mb-article :is(.mb-actions, .mb-hero__actions, .mb-cta__actions, .mb-card__actions),
.mbpk-article :is(.mb-actions, .mb-hero__actions, .mb-cta__actions, .mb-card__actions),
.mbpk-page .mb-article :is(.mb-actions, .mb-hero__actions, .mb-cta__actions, .mb-card__actions) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-block-start: clamp(14px, 2.5vw, 22px);
}

.mb-article .mb-btn,
.mbpk-article .mb-btn,
.mbpk-page .mb-article .mb-btn,
.mb-article a.mb-btn,
.mbpk-article a.mb-btn,
.mbpk-page .mb-article a.mb-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 232, 140, 0.58);
  border-radius: 999px;
  box-sizing: border-box;
  color: #fff7df;
  background:
    linear-gradient(180deg, #ff4a27 0%, var(--mb-red) 46%, #87110d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 34px rgba(213, 28, 22, 0.26);
  font-family: var(--mb-font);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.34);
  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-article .mb-btn:hover,
.mbpk-article .mb-btn:hover,
.mbpk-page .mb-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,
.mbpk-page .mb-article .mb-btn:focus-visible {
  color: #fff7df;
  border-color: var(--mb-gold-2);
  background:
    linear-gradient(180deg, #ff613f 0%, #df211a 48%, #9b150f 100%);
  box-shadow: var(--mb-focus), 0 20px 44px rgba(213, 28, 22, 0.38);
  outline: none;
  transform: translateY(-1px);
}

.mb-article .mb-btn--accent,
.mbpk-article .mb-btn--accent,
.mbpk-page .mb-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: #240805;
  background:
    linear-gradient(180deg, #fff1a6 0%, var(--mb-gold) 48%, #c97916 100%);
  border-color: rgba(255, 241, 166, 0.9);
  text-shadow: none;
}

.mb-article .mb-btn--accent:hover,
.mbpk-article .mb-btn--accent:hover,
.mbpk-page .mb-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,
.mbpk-page .mb-article .mb-btn--accent:focus-visible {
  color: #240805;
  background:
    linear-gradient(180deg, #fff7c4 0%, #ffd95c 48%, #d88a18 100%);
}

.mb-article .mb-btn--secondary,
.mbpk-article .mb-btn--secondary,
.mbpk-page .mb-article .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-gold-2);
  background: rgba(255, 232, 140, 0.075);
  border-color: rgba(255, 232, 140, 0.36);
  box-shadow: none;
  text-shadow: none;
}

.mb-article .mb-btn--secondary:hover,
.mbpk-article .mb-btn--secondary:hover,
.mbpk-page .mb-article .mb-btn--secondary:hover,
.mb-article a.mb-btn--secondary:hover,
.mbpk-article a.mb-btn--secondary:hover,
.mbpk-page .mb-article a.mb-btn--secondary:hover,
.mb-article .mb-btn--secondary:focus-visible,
.mbpk-article .mb-btn--secondary:focus-visible,
.mbpk-page .mb-article .mb-btn--secondary:focus-visible {
  color: var(--mb-gold-2);
  background: rgba(213, 28, 22, 0.28);
  border-color: rgba(255, 232, 140, 0.58);
}

/* Grids and cards */
.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 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 3vw, 26px);
  align-items: stretch;
  width: 100%;
  max-width: var(--mb-container);
  min-width: 0;
  margin-inline: auto;
  margin-block: 0 var(--mb-section-space);
}

.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%;
  max-width: 100%;
  min-width: 0;
}

.mb-article .mb-card,
.mbpk-article .mb-card,
.mbpk-page .mb-article .mb-card {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 18px);
  min-width: 0;
  max-width: 100%;
  padding: clamp(14px, 2.6vw, 22px);
  border: 1px solid rgba(255, 232, 140, 0.16);
  border-radius: var(--mb-radius);
  background:
    radial-gradient(circle at 85% 0%, rgba(245, 189, 63, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 232, 140, 0.055), rgba(58, 13, 9, 0.34));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

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

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

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

.mb-article .mb-card__copy p,
.mb-article .mb-card__copy ul,
.mb-article .mb-card__copy ol,
.mbpk-article .mb-card__copy p,
.mbpk-article .mb-card__copy ul,
.mbpk-article .mb-card__copy ol,
.mbpk-page .mb-article .mb-card__copy p,
.mbpk-page .mb-article .mb-card__copy ul,
.mbpk-page .mb-article .mb-card__copy ol {
  max-width: 100%;
  margin-inline: 0;
}

.mb-article .mb-card__media,
.mbpk-article .mb-card__media,
.mbpk-page .mb-article .mb-card__media {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 2 / 3;
  padding: 0;
  border: 1px solid rgba(255, 232, 140, 0.18);
  border-radius: calc(var(--mb-radius) - 4px);
  background: #160504;
  overflow: hidden;
  overflow: clip;
  cursor: pointer;
}

.mb-article .mb-card__media :is(img, picture, video),
.mbpk-article .mb-card__media :is(img, picture, video),
.mbpk-page .mb-article .mb-card__media :is(img, picture, video) {
  display: block;
  width: 100%;
  max-width: 100%;
}

.mb-article .mb-card__media :is(img, video),
.mbpk-article .mb-card__media :is(img, video),
.mbpk-page .mb-article .mb-card__media :is(img, video) {
  height: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 240ms ease, filter 240ms ease;
}

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

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

.mb-article .mb-faq details,
.mbpk-article .mb-faq details,
.mbpk-page .mb-article .mb-faq details {
  min-width: 0;
  margin-block-end: 12px;
  padding: clamp(14px, 2.5vw, 20px);
  border: 1px solid rgba(255, 232, 140, 0.16);
  border-radius: var(--mb-radius);
  background: rgba(255, 232, 140, 0.055);
}

.mb-article .mb-faq details[open],
.mbpk-article .mb-faq details[open],
.mbpk-page .mb-article .mb-faq details[open] {
  border-color: rgba(255, 232, 140, 0.34);
  background: rgba(213, 28, 22, 0.16);
}

.mb-article .mb-faq summary,
.mbpk-article .mb-faq summary,
.mbpk-page .mb-article .mb-faq summary {
  color: var(--mb-text);
  font-weight: 900;
  line-height: 1.35;
  cursor: pointer;
  overflow-wrap: anywhere;
}

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

.mb-article .mb-faq details > :not(summary),
.mbpk-article .mb-faq details > :not(summary),
.mbpk-page .mb-article .mb-faq details > :not(summary) {
  margin-block-start: 12px;
}

/* Tables */
.mb-article .mb-table-wrap,
.mbpk-article .mb-table-wrap,
.mbpk-page .mb-article .mb-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-block: 0 var(--mb-section-space);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  touch-action: pan-x;
  border: 1px solid rgba(255, 232, 140, 0.18);
  border-radius: var(--mb-radius);
  background: rgba(18, 5, 4, 0.58);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

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

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

.mb-article table.mb-table :is(th, td),
.mbpk-article table.mb-table :is(th, td),
.mbpk-page .mb-article table.mb-table :is(th, td) {
  padding: 13px 15px;
  border-bottom: 1px solid rgba(255, 232, 140, 0.13);
  vertical-align: top;
}

.mb-article table.mb-table th,
.mbpk-article table.mb-table th,
.mbpk-page .mb-article table.mb-table th {
  color: var(--mb-gold-2);
  background: rgba(255, 232, 140, 0.09);
  font-weight: 900;
}

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

.mb-article table.mb-table tbody tr:hover td,
.mbpk-article table.mb-table tbody tr:hover td,
.mbpk-page .mb-article table.mb-table tbody tr:hover td {
  background: rgba(213, 28, 22, 0.16);
}

/* Embedded content and code */
.mb-article .mb-embed,
.mbpk-article .mb-embed,
.mbpk-page .mb-article .mb-embed {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-block: 0 var(--mb-section-space);
  border-radius: var(--mb-radius);
}

.mb-article .mb-embed iframe,
.mbpk-article .mb-embed iframe,
.mbpk-page .mb-article .mb-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: var(--mb-radius);
}

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

.mb-article pre,
.mbpk-article pre,
.mbpk-page .mb-article pre {
  max-width: 100%;
  margin-block: 0 var(--mb-section-space);
  padding: 16px;
  border: 1px solid rgba(255, 232, 140, 0.16);
  border-radius: var(--mb-radius);
  color: #ffe7bd;
  background: rgba(0, 0, 0, 0.28);
  overflow-x: auto;
}

/* Tablet */
@media (min-width: 640px) {
  .mb-article :is(.mb-actions, .mb-hero__actions, .mb-cta__actions, .mb-card__actions),
  .mbpk-article :is(.mb-actions, .mb-hero__actions, .mb-cta__actions, .mb-card__actions),
  .mbpk-page .mb-article :is(.mb-actions, .mb-hero__actions, .mb-cta__actions, .mb-card__actions) {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

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

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

/* Desktop */
@media (min-width: 980px) {
  .mb-site-footer__inner {
    grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
    align-items: start;
  }

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

  .mb-article .mb-row--reverse:not(.mb-row--stack):not(.mb-row--long):not(.mb-hero),
  .mbpk-article .mb-row--reverse:not(.mb-row--stack):not(.mb-row--long):not(.mb-hero),
  .mbpk-page .mb-article .mb-row--reverse:not(.mb-row--stack):not(.mb-row--long):not(.mb-hero) {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    grid-template-areas: "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";
  }

  .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-slot-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .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-slot-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: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-slot-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:last-child:nth-child(3n+2) {
    grid-column: span 3;
  }

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

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

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

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

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

/* Mobile safeguards */
@media (max-width: 639.98px) {
  .mb-site-topbar__inner {
    flex-wrap: wrap;
  }

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

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

  .mb-article .mb-row,
  .mbpk-article .mb-row,
  .mbpk-page .mb-article .mb-row {
    padding: 14px;
    gap: 18px;
  }

  .mb-article .mb-hero,
  .mbpk-article .mb-hero,
  .mbpk-page .mb-article .mb-hero {
    --mb-hero-pad: clamp(14px, 4.6vw, 18px);
  }

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

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

/* Direction compatibility for RTL pages if the wrapper is reused */
[dir="rtl"] body.mb-site,
body.mb-site[dir="rtl"],
[dir="rtl"] .mb-article,
[dir="rtl"] .mbpk-article,
[dir="rtl"] .mbpk-page .mb-article {
  direction: rtl;
  text-align: right;
}

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

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

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .mb-site-nav__link,
  .mb-site-nav a,
  .mb-site-btn,
  .mb-site-burger,
  .mb-article .mb-btn,
  .mbpk-article .mb-btn,
  .mbpk-page .mb-article .mb-btn,
  .mb-article .mb-media :is(img, video),
  .mbpk-article .mb-media :is(img, video),
  .mbpk-page .mb-article .mb-media :is(img, video),
  .mb-article .mb-card__media :is(img, video),
  .mbpk-article .mb-card__media :is(img, video),
  .mbpk-page .mb-article .mb-card__media :is(img, video),
  .mb-article .mb-hero__media :is(img, video),
  .mbpk-article .mb-hero__media :is(img, video),
  .mbpk-page .mb-article .mb-hero__media :is(img, video) {
    transition: none;
  }

  .mb-site-nav__link:hover,
  .mb-site-nav a:hover,
  .mb-article .mb-btn:hover,
  .mbpk-article .mb-btn:hover,
  .mbpk-page .mb-article .mb-btn:hover,
  .mb-article .mb-media:hover :is(img, video),
  .mbpk-article .mb-media:hover :is(img, video),
  .mbpk-page .mb-article .mb-media:hover :is(img, video),
  .mb-article .mb-card:hover .mb-card__media :is(img, video),
  .mbpk-article .mb-card:hover .mb-card__media :is(img, video),
  .mbpk-page .mb-article .mb-card:hover .mb-card__media :is(img, video),
  .mb-article .mb-hero__media:hover :is(img, video),
  .mbpk-article .mb-hero__media:hover :is(img, video),
  .mbpk-page .mb-article .mb-hero__media:hover :is(img, video) {
    transform: none;
  }
}
/* Подпись 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%;
  }
}

