/* Mostbet-inspired dark premium theme for Elementor HTML blocks, Azerbaijani LTR */

body.mb-site,
.mb-article,
.mbpk-article,
.mbpk-page .mb-article {
  --mb-container: 1120px;
  --mb-page-pad: clamp(16px, 3.4vw, 28px);
  --mb-section-pad: clamp(18px, 3vw, 30px);
  --mb-hero-copy-pad: clamp(18px, 3.5vw, 34px);
  --mb-gap: clamp(18px, 3vw, 34px);
  --mb-gap-sm: clamp(10px, 2vw, 16px);
  --mb-stack-gap: clamp(20px, 4vw, 42px);

  --mb-bg-0: #110604;
  --mb-bg-1: #1b0b05;
  --mb-bg-2: #2b1309;
  --mb-surface: rgba(36, 16, 8, 0.92);
  --mb-surface-2: rgba(54, 25, 11, 0.9);
  --mb-surface-3: rgba(16, 46, 64, 0.48);

  --mb-text: #fff6dc;
  --mb-text-soft: #ead8b1;
  --mb-muted: #c7ad7d;
  --mb-muted-2: #9f8557;

  --mb-gold: #e3b257;
  --mb-gold-2: #ffd985;
  --mb-gold-deep: #9e6a24;
  --mb-teal: #63ded2;
  --mb-teal-2: #2fc3bc;
  --mb-red: #f04a24;
  --mb-red-2: #ff6a35;
  --mb-navy: #123b5a;

  --mb-border: rgba(227, 178, 87, 0.28);
  --mb-border-strong: rgba(255, 217, 133, 0.48);
  --mb-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  --mb-glow: 0 0 0 1px rgba(255, 217, 133, 0.22), 0 18px 55px rgba(227, 178, 87, 0.18);
  --mb-teal-glow: 0 14px 38px rgba(99, 222, 210, 0.24);
  --mb-radius-xl: 30px;
  --mb-radius-lg: 22px;
  --mb-radius-md: 16px;
  --mb-radius-sm: 12px;

  --mb-font: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Site shell: header, strip and footer outside the article */
body.mb-site {
  direction: ltr;
  color: var(--mb-text);
  font-family: var(--mb-font);
  background:
    radial-gradient(circle at 24% 10%, rgba(255, 217, 133, 0.32) 0, rgba(255, 217, 133, 0.12) 17rem, transparent 34rem),
    radial-gradient(circle at 80% 26%, rgba(240, 74, 36, 0.18) 0, transparent 22rem),
    linear-gradient(135deg, #0d0403 0%, #221006 46%, #150805 100%);
}

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

body.mb-site .mb-site-main {
  width: 100%;
  max-width: 100%;
  padding: clamp(18px, 3vw, 34px) var(--mb-page-pad) clamp(34px, 5vw, 64px);
}

body.mb-site .mb-topbar {
  color: var(--mb-muted);
  background: rgba(10, 4, 3, 0.72);
  border-bottom: 1px solid rgba(227, 178, 87, 0.16);
}

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

body.mb-site .mb-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--mb-gap-sm);
  padding-block: 8px;
  font-size: 0.88rem;
  line-height: 1.45;
}

body.mb-site .mb-site-header {
  background:
    linear-gradient(180deg, rgba(35, 15, 7, 0.94), rgba(19, 8, 4, 0.86));
  border-bottom: 1px solid rgba(227, 178, 87, 0.2);
}

body.mb-site .mb-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2.5vw, 28px);
  padding-block: clamp(12px, 2vw, 18px);
}

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

body.mb-site .mb-site-brand__mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff7e6;
  background:
    radial-gradient(circle at 34% 30%, #ff8b42, var(--mb-red) 62%, #a82716 100%);
  box-shadow: 0 0 0 3px rgba(255, 217, 133, 0.16), 0 12px 26px rgba(240, 74, 36, 0.26);
}

body.mb-site .mb-site-brand__text {
  overflow-wrap: anywhere;
}

body.mb-site .mb-site-nav,
body.mb-site .mb-footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  padding: 7px;
  border: 1px solid rgba(227, 178, 87, 0.24);
  border-radius: 999px;
  background: rgba(255, 217, 133, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, 0.08);
}

body.mb-site .mb-site-nav a,
body.mb-site .mb-footer-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--mb-text-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

body.mb-site .mb-site-nav a:hover,
body.mb-site .mb-site-nav a:focus-visible,
body.mb-site .mb-footer-nav a:hover,
body.mb-site .mb-footer-nav a:focus-visible {
  color: #130905;
  background: linear-gradient(135deg, var(--mb-gold-2), var(--mb-gold));
  outline: none;
  transform: translateY(-1px);
}

body.mb-site .mb-site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(99, 222, 210, 0.5);
  color: #09100f;
  background: linear-gradient(135deg, var(--mb-teal), var(--mb-teal-2));
  text-decoration: none;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: var(--mb-teal-glow);
  overflow-wrap: anywhere;
}

body.mb-site .mb-page-strip {
  color: var(--mb-muted);
  border-block: 1px solid rgba(227, 178, 87, 0.16);
  background: rgba(19, 8, 4, 0.62);
}

body.mb-site .mb-page-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--mb-gap-sm);
  padding-block: 12px;
  font-size: 0.93rem;
  line-height: 1.5;
}

body.mb-site .mb-breadcrumbs,
body.mb-site .mb-page-title-strip {
  max-width: 100%;
  overflow-wrap: anywhere;
}

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

body.mb-site .mb-breadcrumbs a:hover,
body.mb-site .mb-breadcrumbs a:focus-visible {
  color: var(--mb-teal);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

body.mb-site .mb-site-footer {
  color: var(--mb-muted);
  background:
    radial-gradient(circle at 74% 0, rgba(227, 178, 87, 0.12), transparent 22rem),
    linear-gradient(180deg, rgba(20, 8, 4, 0.92), rgba(8, 3, 2, 0.96));
  border-top: 1px solid rgba(227, 178, 87, 0.2);
}

body.mb-site .mb-site-footer__inner {
  display: grid;
  gap: 18px;
  padding-block: clamp(28px, 4vw, 46px);
}

body.mb-site .mb-site-footer a {
  color: var(--mb-text-soft);
}

body.mb-site .mb-site-footer a:hover,
body.mb-site .mb-site-footer a:focus-visible {
  color: var(--mb-teal);
}

/* Article foundation */
.mb-article,
.mbpk-article,
.mbpk-page .mb-article {
  box-sizing: border-box;
  direction: ltr;
  text-align: left;
  width: 100%;
  max-width: min(calc(var(--mb-container) + var(--mb-page-pad) + var(--mb-page-pad)), 100%);
  margin-inline: auto;
  padding: var(--mb-page-pad);
  color: var(--mb-text);
  font-family: var(--mb-font);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.72;
  background:
    radial-gradient(circle at 28% 0, rgba(255, 217, 133, 0.18), transparent 26rem),
    radial-gradient(circle at 86% 12%, rgba(99, 222, 210, 0.12), transparent 20rem),
    linear-gradient(180deg, rgba(38, 17, 8, 0.97), rgba(17, 7, 4, 0.98));
  border: 1px solid rgba(227, 178, 87, 0.22);
  border-radius: var(--mb-radius-xl);
  box-shadow: var(--mb-shadow);
}

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

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

.mb-article,
.mb-article__inner,
.mb-section,
.mb-hero,
.mb-row,
.mb-copy,
.mb-media,
.mb-cta,
.mb-grid,
.mb-slot-grid,
.mb-card,
.mb-card__body,
.mb-card__copy,
.mb-table-wrap,
.mb-faq {
  min-width: 0;
}

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

/* Typography */
.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) {
  margin-block-start: 0;
  margin-block-end: 0.62em;
  color: var(--mb-text);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

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

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

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

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

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

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

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

.mb-article :is(em, i),
.mbpk-article :is(em, i),
.mbpk-page .mb-article :is(em, i) {
  color: #fff0c5;
}

.mb-article a,
.mbpk-article a,
.mbpk-page .mb-article a {
  color: var(--mb-gold-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

.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-kicker,
.mbpk-article .mb-kicker,
.mbpk-page .mb-article .mb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-block-end: 12px;
  color: var(--mb-gold-2);
  font-weight: 900;
  font-size: 0.88rem;
  line-height: 1.25;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.mb-article .mb-lead,
.mbpk-article .mb-lead,
.mbpk-page .mb-article .mb-lead {
  color: #fff0c5;
  font-size: clamp(1.06rem, 1.4vw, 1.28rem);
  line-height: 1.62;
}

.mb-article blockquote,
.mbpk-article blockquote,
.mbpk-page .mb-article blockquote {
  margin: 0 0 var(--mb-stack-gap);
  padding: clamp(16px, 3vw, 24px);
  color: var(--mb-text-soft);
  border: 1px solid rgba(227, 178, 87, 0.24);
  border-inline-start: 5px solid var(--mb-gold);
  border-radius: var(--mb-radius-md);
  background: rgba(255, 217, 133, 0.07);
}

.mb-article .mb-divider,
.mbpk-article .mb-divider,
.mbpk-page .mb-article .mb-divider {
  width: 100%;
  height: 1px;
  margin: var(--mb-stack-gap) auto;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 217, 133, 0.62), rgba(99, 222, 210, 0.38), transparent);
}

/* Full-width sections */
.mb-article .mb-section,
.mbpk-article .mb-section,
.mbpk-page .mb-article .mb-section,
.mb-article .mb-hero,
.mbpk-article .mb-hero,
.mbpk-page .mb-article .mb-hero,
.mb-article .mb-row,
.mbpk-article .mb-row,
.mbpk-page .mb-article .mb-row,
.mb-article .mb-cta,
.mbpk-article .mb-cta,
.mbpk-page .mb-article .mb-cta {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
}

.mb-article .mb-section,
.mbpk-article .mb-section,
.mbpk-page .mb-article .mb-section {
  margin-block-end: var(--mb-stack-gap);
}

/* Hero */
.mb-article .mb-hero,
.mbpk-article .mb-hero,
.mbpk-page .mb-article .mb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "copy";
  gap: 0;
  margin-block-end: var(--mb-stack-gap);
  padding-inline: 0;
  padding-block-start: 0;
  padding-block-end: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(227, 178, 87, 0.28);
  border-radius: var(--mb-radius-xl);
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 217, 133, 0.22), transparent 24rem),
    radial-gradient(circle at 86% 70%, rgba(240, 74, 36, 0.14), transparent 18rem),
    linear-gradient(180deg, rgba(53, 24, 10, 0.9), rgba(22, 9, 5, 0.96));
  box-shadow: var(--mb-glow);
}

.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%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border-radius: var(--mb-radius-xl) var(--mb-radius-xl) var(--mb-radius-md) var(--mb-radius-md);
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
  overflow: clip;
  cursor: pointer;
}

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

.mb-article .mb-hero__media img,
.mbpk-article .mb-hero__media img,
.mbpk-page .mb-article .mb-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 260ms ease, filter 260ms ease;
}

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

.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%;
  padding: clamp(20px, 4vw, 42px) var(--mb-hero-copy-pad) 0;
}

.mb-article .mb-hero__badge,
.mbpk-article .mb-hero__badge,
.mbpk-page .mb-article .mb-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-block-end: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 217, 133, 0.42);
  border-radius: 999px;
  color: var(--mb-gold-2);
  background: rgba(255, 217, 133, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, 0.08);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  pointer-events: none;
  overflow-wrap: anywhere;
}

.mb-article .mb-hero__title,
.mbpk-article .mb-hero__title,
.mbpk-page .mb-article .mb-hero__title {
  max-width: 100%;
  margin-block-end: 0.45em;
  color: var(--mb-text);
  text-shadow: 0 2px 24px rgba(227, 178, 87, 0.18);
}

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

.mb-article .mb-hero__actions,
.mbpk-article .mb-hero__actions,
.mbpk-page .mb-article .mb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-block-start: clamp(16px, 2.5vw, 26px);
}

.mb-article .mb-hero > .mb-cta,
.mbpk-article .mb-hero > .mb-cta,
.mbpk-page .mb-article .mb-hero > .mb-cta {
  grid-column: 1;
  width: calc(100% - var(--mb-hero-copy-pad) - var(--mb-hero-copy-pad));
  max-width: calc(100% - var(--mb-hero-copy-pad) - var(--mb-hero-copy-pad));
  margin-inline: var(--mb-hero-copy-pad);
  margin-block-start: clamp(18px, 3vw, 32px);
  margin-block-end: 0;
}

/* Buttons */
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: 100%;
  min-width: 0;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #07110f;
  background: linear-gradient(135deg, var(--mb-teal), var(--mb-teal-2));
  box-shadow: var(--mb-teal-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
  text-decoration: none;
  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;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn:focus-visible,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn:focus-visible {
  color: #07110f;
  background: linear-gradient(135deg, #8cf7ef, var(--mb-teal));
  box-shadow: 0 18px 46px rgba(99, 222, 210, 0.32), 0 0 0 3px rgba(99, 222, 210, 0.16);
  outline: none;
  transform: translateY(-2px);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn--accent,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--accent {
  color: #fff9ee;
  background: linear-gradient(135deg, var(--mb-red-2), var(--mb-red));
  box-shadow: 0 16px 42px rgba(240, 74, 36, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn--accent:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--accent:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn--accent:focus-visible,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--accent:focus-visible {
  color: #fff9ee;
  background: linear-gradient(135deg, #ff8153, #f4542d);
  box-shadow: 0 18px 46px rgba(240, 74, 36, 0.34), 0 0 0 3px rgba(240, 74, 36, 0.16);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn--secondary,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--secondary {
  color: var(--mb-text);
  background: rgba(255, 217, 133, 0.08);
  border-color: rgba(255, 217, 133, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, 0.08);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn--secondary:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--secondary:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn--secondary:focus-visible,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--secondary:focus-visible {
  color: #130905;
  background: linear-gradient(135deg, var(--mb-gold-2), var(--mb-gold));
  border-color: rgba(255, 217, 133, 0.64);
}

/* Rows and media */
.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-end: var(--mb-stack-gap);
  padding: var(--mb-section-pad);
  border: 1px solid rgba(227, 178, 87, 0.2);
  border-radius: var(--mb-radius-lg);
  background:
    radial-gradient(circle at 82% 20%, rgba(99, 222, 210, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(48, 22, 10, 0.72), rgba(22, 9, 5, 0.74));
  box-shadow: 0 14px 46px rgba(0, 0, 0, 0.22);
}

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

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

.mb-article .mb-row > .mb-copy,
.mbpk-article .mb-row > .mb-copy,
.mbpk-page .mb-article .mb-row > .mb-copy {
  grid-area: copy;
  width: 100%;
  max-width: 100%;
  padding-block-start: 0;
}

.mb-article .mb-row > .mb-media,
.mbpk-article .mb-row > .mb-media,
.mbpk-page .mb-article .mb-row > .mb-media {
  grid-area: media;
  padding-block-start: 0;
}

.mb-article .mb-copy,
.mbpk-article .mb-copy,
.mbpk-page .mb-article .mb-copy {
  display: block;
  width: 100%;
  max-width: 100%;
}

.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-media,
.mbpk-article .mb-media,
.mbpk-page .mb-article .mb-media {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  padding: 0;
  border: 1px solid rgba(255, 217, 133, 0.24);
  border-radius: var(--mb-radius-lg);
  background: rgba(10, 4, 3, 0.28);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3), 0 0 30px rgba(227, 178, 87, 0.12);
  overflow: hidden;
  overflow: clip;
  cursor: pointer;
}

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

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

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

/* CTA blocks */
.mb-article .mb-cta,
.mbpk-article .mb-cta,
.mbpk-page .mb-article .mb-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2.5vw, 22px);
  margin-block-end: var(--mb-stack-gap);
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid rgba(99, 222, 210, 0.34);
  border-radius: var(--mb-radius-lg);
  background:
    radial-gradient(circle at 90% 12%, rgba(99, 222, 210, 0.2), transparent 18rem),
    radial-gradient(circle at 8% 90%, rgba(240, 74, 36, 0.14), transparent 16rem),
    linear-gradient(135deg, rgba(18, 59, 90, 0.52), rgba(45, 19, 9, 0.9));
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 246, 220, 0.06);
}

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

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

.mb-article .mb-cta__actions,
.mbpk-article .mb-cta__actions,
.mbpk-page .mb-article .mb-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Equal card grids */
.mb-article .mb-grid,
.mbpk-article .mb-grid,
.mbpk-page .mb-article .mb-grid,
.mb-article .mb-slot-grid,
.mbpk-article .mb-slot-grid,
.mbpk-page .mb-article .mb-slot-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 26px);
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block-end: var(--mb-stack-gap);
}

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

.mb-article .mb-card,
.mbpk-article .mb-card,
.mbpk-page .mb-article .mb-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(227, 178, 87, 0.2);
  border-radius: var(--mb-radius-lg);
  background:
    linear-gradient(180deg, rgba(52, 24, 11, 0.86), rgba(22, 9, 5, 0.88));
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.25);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.mb-article .mb-card:hover,
.mb-article .mb-card:focus-within,
.mbpk-article .mb-card:hover,
.mbpk-article .mb-card:focus-within,
.mbpk-page .mb-article .mb-card:hover,
.mbpk-page .mb-article .mb-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 217, 133, 0.42);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.34), 0 0 32px rgba(227, 178, 87, 0.13);
}

.mb-article .mb-card__media,
.mbpk-article .mb-card__media,
.mbpk-page .mb-article .mb-card__media {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  padding: 0;
  border-radius: var(--mb-radius-lg) var(--mb-radius-lg) var(--mb-radius-sm) var(--mb-radius-sm);
  background: rgba(10, 4, 3, 0.28);
  overflow: hidden;
  overflow: clip;
  cursor: pointer;
}

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

.mb-article .mb-card__media img,
.mbpk-article .mb-card__media img,
.mbpk-page .mb-article .mb-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 260ms ease, filter 260ms ease;
}

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

.mb-article .mb-card__body,
.mbpk-article .mb-card__body,
.mbpk-page .mb-article .mb-card__body {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  padding: clamp(16px, 2.8vw, 24px);
}

.mb-article .mb-card__title,
.mbpk-article .mb-card__title,
.mbpk-page .mb-article .mb-card__title {
  margin-block-end: 0.25em;
}

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

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

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

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

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

.mb-article .mb-check-list,
.mbpk-article .mb-check-list,
.mbpk-page .mb-article .mb-check-list {
  list-style: none;
  padding-inline-start: 0;
}

.mb-article .mb-check-list li,
.mbpk-article .mb-check-list li,
.mbpk-page .mb-article .mb-check-list li {
  position: relative;
  padding-inline-start: 1.7em;
}

.mb-article .mb-check-list li::before,
.mbpk-article .mb-check-list li::before,
.mbpk-page .mb-article .mb-check-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0.08em;
  color: var(--mb-teal);
  font-weight: 900;
}

/* FAQ */
.mb-article .mb-faq,
.mbpk-article .mb-faq,
.mbpk-page .mb-article .mb-faq {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block-end: var(--mb-stack-gap);
}

.mb-article .mb-faq details,
.mbpk-article .mb-faq details,
.mbpk-page .mb-article .mb-faq details {
  border: 1px solid rgba(227, 178, 87, 0.22);
  border-radius: var(--mb-radius-md);
  background: rgba(255, 217, 133, 0.055);
}

.mb-article .mb-faq summary,
.mbpk-article .mb-faq summary,
.mbpk-page .mb-article .mb-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  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[open],
.mbpk-article .mb-faq details[open],
.mbpk-page .mb-article .mb-faq details[open] {
  border-color: rgba(99, 222, 210, 0.32);
  background:
    radial-gradient(circle at 92% 0, rgba(99, 222, 210, 0.11), transparent 12rem),
    rgba(255, 217, 133, 0.07);
}

.mb-article .mb-faq details > :not(summary),
.mbpk-article .mb-faq details > :not(summary),
.mbpk-page .mb-article .mb-faq details > :not(summary) {
  margin-inline: 18px;
  margin-block: 0 16px;
  max-width: 100%;
}

/* Tables: horizontal scroll stays inside the wrapper */
.mb-article .mb-table-wrap,
.mbpk-article .mb-table-wrap,
.mbpk-page .mb-article .mb-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-block: clamp(18px, 3vw, 28px) var(--mb-stack-gap);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-inline: contain;
  border: 1px solid rgba(227, 178, 87, 0.24);
  border-radius: var(--mb-radius-md);
  background: rgba(12, 5, 3, 0.38);
}

.mb-article table.mb-table,
.mbpk-article table.mb-table,
.mbpk-page .mb-article table.mb-table {
  width: 100%;
  min-width: 580px;
  direction: ltr;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--mb-text-soft);
  background: rgba(24, 10, 5, 0.88);
  table-layout: auto;
}

.mb-article table.mb-table caption,
.mbpk-article table.mb-table caption,
.mbpk-page .mb-article table.mb-table caption {
  caption-side: top;
  padding: 12px 14px;
  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 14px;
  border-block-end: 1px solid rgba(227, 178, 87, 0.16);
  border-inline-end: 1px solid rgba(227, 178, 87, 0.12);
  text-align: left;
  vertical-align: middle;
}

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

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

.mb-article table.mb-table tbody tr:nth-child(even),
.mbpk-article table.mb-table tbody tr:nth-child(even),
.mbpk-page .mb-article table.mb-table tbody tr:nth-child(even) {
  background: rgba(255, 217, 133, 0.045);
}

.mb-article table.mb-table tbody tr:hover,
.mbpk-article table.mb-table tbody tr:hover,
.mbpk-page .mb-article table.mb-table tbody tr:hover {
  background: rgba(99, 222, 210, 0.07);
}

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

  .mb-article .mb-cta,
  .mbpk-article .mb-cta,
  .mbpk-page .mb-article .mb-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .mb-article .mb-cta__actions,
  .mbpk-article .mb-cta__actions,
  .mbpk-page .mb-article .mb-cta__actions {
    justify-content: flex-end;
  }
}

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

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

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

  .mb-article .mb-row--stack > .mb-media,
  .mb-article .mb-row--long > .mb-media,
  .mbpk-article .mb-row--stack > .mb-media,
  .mbpk-article .mb-row--long > .mb-media,
  .mbpk-page .mb-article .mb-row--stack > .mb-media,
  .mbpk-page .mb-article .mb-row--long > .mb-media {
    width: 100%;
    max-width: 100%;
  }

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

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

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

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

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

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

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

/* Mobile safety */
@media (max-width: 767px) {
  body.mb-site .mb-site-header__inner,
  body.mb-site .mb-topbar__inner,
  body.mb-site .mb-page-strip__inner {
    align-items: stretch;
    flex-direction: column;
  }

  body.mb-site .mb-site-brand {
    justify-content: center;
  }

  body.mb-site .mb-site-nav {
    width: 100%;
    border-radius: var(--mb-radius-lg);
  }

  body.mb-site .mb-site-nav a {
    flex: 1 1 calc(50% - 8px);
    padding-inline: 10px;
  }

  body.mb-site .mb-site-btn {
    width: 100%;
  }
}

@media (max-width: 639px) {
  .mb-article,
  .mbpk-article,
  .mbpk-page .mb-article {
    width: 100%;
    max-width: 100%;
    padding-inline: clamp(14px, 4.5vw, 18px);
    border-radius: var(--mb-radius-lg);
  }

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

  .mb-article .mb-row,
  .mbpk-article .mb-row,
  .mbpk-page .mb-article .mb-row,
  .mb-article .mb-cta,
  .mbpk-article .mb-cta,
  .mbpk-page .mb-article .mb-cta {
    padding: clamp(16px, 5vw, 20px);
  }

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

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

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

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

@media (max-width: 380px) {
  body.mb-site .mb-site-nav a,
  body.mb-site .mb-footer-nav a {
    flex-basis: 100%;
  }

  .mb-article .mb-hero__copy,
  .mbpk-article .mb-hero__copy,
  .mbpk-page .mb-article .mb-hero__copy {
    padding-inline: 16px;
  }

  .mb-article .mb-hero > .mb-cta,
  .mbpk-article .mb-hero > .mb-cta,
  .mbpk-page .mb-article .mb-hero > .mb-cta {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    margin-inline: 16px;
  }
}

/* Direction helpers if a block is explicitly marked differently */
.mb-article[dir="rtl"],
.mbpk-article[dir="rtl"],
.mbpk-page .mb-article[dir="rtl"],
.mb-article.mb-rtl,
.mbpk-article.mb-rtl,
.mbpk-page .mb-article.mb-rtl {
  direction: rtl;
  text-align: right;
}

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

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

/* Accessible focus and reduced motion */
.mb-article :is(a, button, summary, [tabindex]):focus-visible,
.mbpk-article :is(a, button, summary, [tabindex]):focus-visible,
.mbpk-page .mb-article :is(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid rgba(99, 222, 210, 0.72);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .mb-article *,
  .mbpk-article *,
  .mbpk-page .mb-article *,
  body.mb-site .mb-site-header *,
  body.mb-site .mb-site-footer * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* fair-pages-kit: Beautiful Site TOC (converter-injected) */
.mb-article .mb-toc,
.mbpk-article .mb-toc,
.mbpk-page .mb-article .mb-toc {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block-end: var(--mb-stack-gap);
  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%;
  }
}

