/* Theme tokens: dark navy, gold, red and cream from the reference image */
body.mb-site,
.mb-topbar,
.mb-site-header,
.mb-page-strip,
.mb-site-footer,
.mb-site-drawer,
.mb-article,
.mbpk-article,
.mbpk-page .mb-article {
  --mb-font: "Inter", "Noto Sans", "Segoe UI", Arial, sans-serif;
  --mb-container: 1120px;
  --mb-radius-xs: 10px;
  --mb-radius-sm: 14px;
  --mb-radius: 22px;
  --mb-radius-lg: 30px;
  --mb-pad: clamp(16px, 3vw, 30px);
  --mb-gap: clamp(18px, 3vw, 34px);
  --mb-section-gap: clamp(34px, 6vw, 72px);

  --mb-bg: #07131f;
  --mb-bg-2: #0b2033;
  --mb-bg-3: #102b43;
  --mb-panel: #0b1b2b;
  --mb-panel-2: #112a40;
  --mb-panel-3: #17354d;

  --mb-gold: #f2c85f;
  --mb-gold-2: #ffe49a;
  --mb-gold-3: #b9872f;
  --mb-primary: #f2c85f;
  --mb-primary-2: #ffe49a;

  --mb-red: #c82024;
  --mb-red-2: #f05243;
  --mb-teal: #22d0b1;

  --mb-cream: #fff0bd;
  --mb-text: #fff7df;
  --mb-text-soft: #e7d7ac;
  --mb-muted: #aeb9c6;
  --mb-muted-2: #7f8fa0;

  --mb-border: rgba(242, 200, 95, 0.24);
  --mb-border-strong: rgba(255, 228, 154, 0.48);
  --mb-line: rgba(242, 200, 95, 0.24);
  --mb-line-strong: rgba(255, 228, 154, 0.48);

  --mb-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  --mb-shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.26);
  --mb-glow: 0 0 0 1px rgba(255, 228, 154, 0.16), 0 18px 54px rgba(242, 200, 95, 0.16);
}

/* Scoped box sizing only for the shell chrome and article area */
:is(.mb-topbar, .mb-site-header, .mb-page-strip, .mb-site-footer, .mb-site-drawer, .mb-article, .mbpk-article, .mbpk-page .mb-article),
:is(.mb-topbar, .mb-site-header, .mb-page-strip, .mb-site-footer, .mb-site-drawer, .mb-article, .mbpk-article, .mbpk-page .mb-article) *,
:is(.mb-topbar, .mb-site-header, .mb-page-strip, .mb-site-footer, .mb-site-drawer, .mb-article, .mbpk-article, .mbpk-page .mb-article) *::before,
:is(.mb-topbar, .mb-site-header, .mb-page-strip, .mb-site-footer, .mb-site-drawer, .mb-article, .mbpk-article, .mbpk-page .mb-article) *::after {
  box-sizing: border-box;
}

body.mb-site {
  font-family: var(--mb-font);
  color: var(--mb-text);
  direction: ltr;
  text-align: left;
  background:
    radial-gradient(circle at 72% 4%, rgba(200, 32, 36, 0.24) 0, rgba(200, 32, 36, 0) 24rem),
    radial-gradient(circle at 16% 18%, rgba(242, 200, 95, 0.16) 0, rgba(242, 200, 95, 0) 28rem),
    linear-gradient(135deg, #06111d 0%, #081827 45%, #0c2236 100%);
  accent-color: var(--mb-gold);
}

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

/* Site chrome */
.mb-topbar {
  width: 100%;
  color: var(--mb-text-soft);
  background: linear-gradient(90deg, rgba(7, 19, 31, 0.92), rgba(16, 43, 67, 0.86));
  border-bottom: 1px solid rgba(242, 200, 95, 0.16);
}

.mb-topbar__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: 7px clamp(14px, 3vw, 24px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.mb-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--mb-text);
  background: rgba(7, 19, 31, 0.82);
  border-bottom: 1px solid var(--mb-border);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mb-site-header__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: 10px clamp(12px, 3vw, 24px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 2vw, 18px);
  min-width: 0;
}

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

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

.mb-site-brand__name {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--mb-gold-2);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

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

.mb-site-nav__list {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.mb-site-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgba(242, 200, 95, 0.18);
  border-radius: 999px;
  color: var(--mb-text-soft);
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mb-site-nav__link:hover,
.mb-site-nav__link:focus-visible,
.mb-site-nav__link[aria-current="page"] {
  color: #07131f;
  background: linear-gradient(180deg, var(--mb-gold-2), var(--mb-gold));
  border-color: rgba(255, 228, 154, 0.72);
  outline: none;
}

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

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

.mb-site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 228, 154, 0.72);
  border-radius: 999px;
  color: #07131f;
  background: linear-gradient(180deg, var(--mb-gold-2), var(--mb-gold));
  box-shadow: 0 10px 24px rgba(242, 200, 95, 0.18);
  text-decoration: none;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.mb-site-btn:hover,
.mb-site-btn:focus-visible {
  color: #07131f;
  filter: brightness(1.05);
  box-shadow: 0 14px 34px rgba(242, 200, 95, 0.28);
  transform: translateY(-1px);
  outline: none;
}

.mb-site-btn--apk {
  color: var(--mb-gold-2);
  background: rgba(242, 200, 95, 0.08);
  border-color: rgba(242, 200, 95, 0.42);
  box-shadow: none;
}

.mb-site-btn--apk:hover,
.mb-site-btn--apk:focus-visible {
  color: var(--mb-gold-2);
  background: rgba(242, 200, 95, 0.14);
}

.mb-site-burger {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242, 200, 95, 0.36);
  border-radius: 999px;
  color: var(--mb-gold-2);
  background: rgba(255, 255, 255, 0.045);
}

/* Off-canvas drawer sizing is compatible with shell.css and full viewport coverage */
.mb-site-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  color: var(--mb-text);
  background: rgba(3, 9, 16, 0.72);
}

@supports not (height: 100dvh) {
  .mb-site-drawer {
    height: 100vh;
  }
}

.mb-site-drawer__panel {
  height: 100%;
  min-height: 100dvh;
  color: var(--mb-text);
  background:
    radial-gradient(circle at 50% 0, rgba(242, 200, 95, 0.13), transparent 21rem),
    linear-gradient(180deg, #0b1b2b, #07131f);
  border-inline-start: 1px solid rgba(242, 200, 95, 0.22);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

@supports not (min-height: 100dvh) {
  .mb-site-drawer__panel {
    min-height: 100vh;
  }
}

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

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

.mb-site-drawer__link:hover,
.mb-site-drawer__link:focus-visible,
.mb-site-drawer__link[aria-current="page"] {
  color: #07131f;
  background: linear-gradient(180deg, var(--mb-gold-2), var(--mb-gold));
  outline: none;
}

.mb-site-drawer__cta,
.mb-site-drawer__cta--apk {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 11px 14px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.18;
  white-space: normal;
  overflow-wrap: anywhere;
}

.mb-site-drawer__cta {
  color: #07131f;
  background: linear-gradient(180deg, var(--mb-gold-2), var(--mb-gold));
  border: 1px solid rgba(255, 228, 154, 0.72);
}

.mb-site-drawer__cta--apk {
  color: var(--mb-gold-2);
  background: rgba(242, 200, 95, 0.08);
  border: 1px solid rgba(242, 200, 95, 0.34);
}

.mb-page-strip {
  width: 100%;
  color: var(--mb-muted);
  background: rgba(7, 19, 31, 0.62);
  border-bottom: 1px solid rgba(242, 200, 95, 0.12);
}

.mb-page-strip__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: 8px clamp(14px, 3vw, 24px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 0.88rem;
  line-height: 1.35;
}

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

.mb-page-strip a:hover,
.mb-page-strip a:focus-visible {
  color: var(--mb-cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mb-site-footer {
  width: 100%;
  color: var(--mb-muted);
  background:
    radial-gradient(circle at 18% 0, rgba(242, 200, 95, 0.11), transparent 24rem),
    linear-gradient(180deg, #081827, #050d16);
  border-top: 1px solid var(--mb-border);
}

.mb-site-footer__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: clamp(24px, 5vw, 46px) clamp(14px, 3vw, 24px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
}

.mb-site-footer__brand {
  min-width: 0;
  color: var(--mb-gold-2);
  font-weight: 900;
  letter-spacing: 0.03em;
}

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

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

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

.mb-footer-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(242, 200, 95, 0.18);
  border-radius: 999px;
  color: var(--mb-text-soft);
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.mb-footer-nav__link:hover,
.mb-footer-nav__link:focus-visible {
  color: #07131f;
  background: linear-gradient(180deg, var(--mb-gold-2), var(--mb-gold));
  outline: none;
}

/* Article shell */
.mb-article,
.mbpk-article,
.mbpk-page .mb-article {
  width: min(100%, var(--mb-container));
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: clamp(18px, 4vw, 42px);
  padding: var(--mb-pad);
  box-sizing: border-box;
  direction: ltr;
  text-align: left;
  font-family: var(--mb-font);
  color: var(--mb-text);
  background:
    radial-gradient(circle at 82% 2%, rgba(200, 32, 36, 0.18), transparent 22rem),
    radial-gradient(circle at 0 20%, rgba(242, 200, 95, 0.12), transparent 26rem),
    linear-gradient(180deg, rgba(13, 31, 48, 0.98), rgba(7, 19, 31, 0.98));
  border: 1px solid rgba(242, 200, 95, 0.2);
  border-radius: var(--mb-radius-lg);
  box-shadow: var(--mb-shadow);
  line-height: 1.72;
  overflow-wrap: break-word;
  word-break: normal;
}

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

.mb-article:lang(kk),
.mbpk-article:lang(kk),
.mbpk-page .mb-article:lang(kk) {
  hyphens: auto;
}

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

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

/* Typography */
:is(.mb-article, .mbpk-article, .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-gold-2);
  font-family: var(--mb-font);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
}

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

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

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

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

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

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) :is(p, li, dd, figcaption) {
  color: var(--mb-text-soft);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.72;
}

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

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) em {
  color: var(--mb-gold-2);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a:not(.mb-btn) {
  color: var(--mb-gold-2);
  text-decoration-color: rgba(255, 228, 154, 0.5);
  text-underline-offset: 0.18em;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a:not(.mb-btn):hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a:not(.mb-btn):focus-visible {
  color: var(--mb-cream);
  text-decoration-color: currentColor;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) blockquote {
  width: 100%;
  max-width: 100%;
  padding: clamp(16px, 3vw, 24px);
  border-inline-start: 4px solid var(--mb-red-2);
  border-radius: var(--mb-radius-sm);
  color: var(--mb-text);
  background: linear-gradient(90deg, rgba(200, 32, 36, 0.13), rgba(242, 200, 95, 0.06));
}

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

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) code {
  color: var(--mb-gold-2);
  background: rgba(242, 200, 95, 0.08);
  border-radius: 6px;
  padding: 0.08em 0.32em;
}

/* Full-width section text by default; narrow measure only when explicitly requested */
.mb-copy,
.mb-hero__copy,
.mb-cta__copy,
.mb-card__copy,
.mb-card__body,
.mb-list,
.mb-article :is(ul, ol),
.mbpk-article :is(ul, ol),
.mbpk-page .mb-article :is(ul, ol) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

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

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

/* Media safety */
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) :is(img, svg, video, iframe) {
  max-width: 100%;
}

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

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) iframe,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) video {
  width: 100%;
}

/* Hero: single-column grid at every breakpoint, visual order image -> CTA -> copy */
.mb-hero {
  --mb-hero-pad: clamp(16px, 3vw, 32px);
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: 0 var(--mb-section-gap);
  padding-inline: 0;
  padding-block-start: 0;
  padding-block-end: clamp(18px, 3vw, 30px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "cta"
    "copy";
  gap: 0;
  min-width: 0;
  border: 1px solid rgba(242, 200, 95, 0.25);
  border-radius: var(--mb-radius-lg);
  background:
    radial-gradient(circle at 74% 10%, rgba(200, 32, 36, 0.22), transparent 23rem),
    linear-gradient(180deg, rgba(17, 42, 64, 0.96), rgba(8, 24, 39, 0.96));
  box-shadow: var(--mb-shadow), var(--mb-glow);
}

.mb-hero__media {
  grid-area: media;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border-radius: calc(var(--mb-radius-lg) - 1px);
  overflow: clip;
  background: #06111d;
  cursor: pointer;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.36);
}

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

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

.mb-hero__copy {
  grid-area: copy;
  width: 100%;
  max-width: 100%;
  padding-inline: var(--mb-hero-pad);
  padding-block: clamp(4px, 1.5vw, 12px) 0;
  min-width: 0;
}

.mb-hero__badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-block-end: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 228, 154, 0.38);
  border-radius: 999px;
  color: var(--mb-gold-2);
  background: rgba(242, 200, 95, 0.08);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: default;
}

.mb-hero__title {
  margin-block-end: 0.36em;
  color: var(--mb-gold-2);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
}

.mb-hero__lead {
  width: 100%;
  max-width: 100%;
  margin-block-end: 0;
  color: var(--mb-text);
  font-size: clamp(1.08rem, 2.2vw, 1.45rem);
  line-height: 1.55;
}

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

/* Rows */
.mb-row:not(.mb-hero) {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: 0 var(--mb-section-gap);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "copy";
  gap: var(--mb-gap);
  align-items: start;
  min-width: 0;
}

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

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

.mb-row:not(.mb-hero) > .mb-copy {
  grid-area: copy;
}

.mb-row:not(.mb-hero) > .mb-media {
  grid-area: media;
}

.mb-copy,
.mb-media {
  min-width: 0;
  padding-block-start: 0;
}

.mb-copy {
  display: block;
}

.mb-copy > :last-child {
  margin-block-end: 0;
}

.mb-media,
.mb-card__media {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  padding: 0;
  border-radius: var(--mb-radius);
  overflow: clip;
  background: #06111d;
  border: 1px solid rgba(242, 200, 95, 0.2);
  box-shadow: var(--mb-shadow-soft), 0 0 30px rgba(242, 200, 95, 0.08);
  cursor: pointer;
}

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

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

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

/* CTA blocks and buttons */
.mb-cta {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: 0 var(--mb-section-gap);
  padding: clamp(18px, 4vw, 34px);
  min-width: 0;
  border: 1px solid rgba(255, 228, 154, 0.36);
  border-radius: var(--mb-radius-lg);
  background:
    radial-gradient(circle at 88% 0, rgba(200, 32, 36, 0.2), transparent 18rem),
    linear-gradient(135deg, rgba(17, 42, 64, 0.96), rgba(9, 27, 44, 0.96));
  box-shadow: var(--mb-shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  break-inside: avoid;
}

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

.mb-cta__copy > :last-child {
  margin-block-end: 0;
}

.mb-actions,
.mb-hero__actions,
.mb-cta__actions {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-block-start: clamp(16px, 3vw, 24px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.mb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 228, 154, 0.72);
  border-radius: 999px;
  box-sizing: border-box;
  color: #07131f;
  background: linear-gradient(180deg, var(--mb-cream) 0%, var(--mb-gold-2) 34%, var(--mb-gold) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 12px 28px rgba(242, 200, 95, 0.22);
  text-align: center;
  text-decoration: none;
  font-family: var(--mb-font);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn:visited,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) .mb-btn {
  color: #07131f;
  text-decoration: none;
}

.mb-btn:hover,
.mb-btn:focus-visible,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn:focus-visible {
  color: #07131f;
  filter: brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    0 16px 36px rgba(242, 200, 95, 0.32);
  transform: translateY(-1px);
  outline: none;
}

.mb-btn--accent,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--accent,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--accent:visited {
  color: #ffffff;
  background: linear-gradient(180deg, var(--mb-red-2), var(--mb-red));
  border-color: rgba(255, 200, 178, 0.42);
  box-shadow: 0 13px 30px rgba(200, 32, 36, 0.32);
}

.mb-btn--accent:hover,
.mb-btn--accent:focus-visible,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--accent:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--accent:focus-visible {
  color: #ffffff;
  background: linear-gradient(180deg, #ff6557, #d3262b);
  border-color: rgba(255, 220, 200, 0.58);
}

.mb-btn--secondary,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--secondary,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--secondary:visited {
  color: var(--mb-gold-2);
  background: rgba(242, 200, 95, 0.08);
  border-color: rgba(242, 200, 95, 0.4);
  box-shadow: none;
}

.mb-btn--secondary:hover,
.mb-btn--secondary:focus-visible,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--secondary:hover,
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn--secondary:focus-visible {
  color: var(--mb-gold-2);
  background: rgba(242, 200, 95, 0.14);
}

/* Grids and cards */
.mb-article .mb-grid,
.mbpk-article .mb-grid,
.mbpk-page .mb-article .mb-grid,
.mb-article .mb-slot-grid,
.mbpk-article .mb-slot-grid,
.mbpk-page .mb-article .mb-slot-grid {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: 0 var(--mb-section-gap);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 3vw, 26px);
  align-items: stretch;
  min-width: 0;
}

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

.mb-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  border: 1px solid rgba(242, 200, 95, 0.2);
  border-radius: var(--mb-radius);
  color: var(--mb-text-soft);
  background:
    linear-gradient(180deg, rgba(17, 42, 64, 0.9), rgba(10, 26, 42, 0.94));
  box-shadow: var(--mb-shadow-soft);
  break-inside: avoid;
}

.mb-card__media {
  border-radius: calc(var(--mb-radius) - 1px);
}

.mb-card__body {
  width: 100%;
  max-width: 100%;
  padding: clamp(16px, 3vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.mb-card__body > :last-child {
  margin-block-end: 0;
}

.mb-card__title {
  color: var(--mb-gold-2);
  margin-block-end: 0.35em;
}

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

.mb-card > :not(.mb-card__media):not(.mb-card__body) {
  max-width: calc(100% - (2 * clamp(16px, 3vw, 24px)));
  margin-inline: clamp(16px, 3vw, 24px);
}

.mb-card > :first-child:not(.mb-card__media):not(.mb-card__body) {
  margin-block-start: clamp(16px, 3vw, 24px);
}

.mb-card > :last-child:not(.mb-card__media):not(.mb-card__body) {
  margin-block-end: clamp(16px, 3vw, 24px);
}

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

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) li {
  margin-block: 0.35em;
  padding-inline-start: 0.15em;
}

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

.mb-list {
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid rgba(242, 200, 95, 0.18);
  border-radius: var(--mb-radius);
  background: rgba(255, 255, 255, 0.035);
}

.mb-list > :last-child {
  margin-block-end: 0;
}

/* FAQ */
.mb-faq {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: 0 var(--mb-section-gap);
  display: grid;
  gap: 12px;
}

.mb-faq details {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(242, 200, 95, 0.22);
  border-radius: var(--mb-radius-sm);
  background: linear-gradient(180deg, rgba(17, 42, 64, 0.86), rgba(8, 24, 39, 0.9));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  break-inside: avoid;
}

.mb-faq summary {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 16px 18px;
  color: var(--mb-gold-2);
  font-weight: 900;
  line-height: 1.28;
  cursor: pointer;
  outline: none;
}

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

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

.mb-faq details[open] summary {
  border-bottom: 1px solid rgba(242, 200, 95, 0.14);
}

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

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

/* Tables: horizontal scroll is contained inside the wrapper */
.mb-table-wrap {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  margin-block: 0 var(--mb-section-gap);
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  border: 1px solid rgba(242, 200, 95, 0.24);
  border-radius: var(--mb-radius);
  background: rgba(5, 13, 22, 0.72);
  box-shadow: var(--mb-shadow-soft);
  scrollbar-color: var(--mb-gold) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

.mb-table-wrap table {
  margin: 0;
}

table.mb-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  direction: ltr;
  color: var(--mb-text-soft);
  background: transparent;
  font-size: 0.96rem;
  line-height: 1.45;
}

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

table.mb-table th,
table.mb-table td {
  padding: 13px 15px;
  border-bottom: 1px solid rgba(242, 200, 95, 0.14);
  text-align: left;
  vertical-align: top;
}

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

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

table.mb-table tr:hover td {
  background: rgba(242, 200, 95, 0.07);
}

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

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

/* Utility blocks */
.mb-note {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: 0 var(--mb-section-gap);
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid rgba(242, 200, 95, 0.22);
  border-radius: var(--mb-radius);
  color: var(--mb-text-soft);
  background: rgba(242, 200, 95, 0.07);
}

.mb-note > :last-child {
  margin-block-end: 0;
}

.mb-divider {
  width: 100%;
  max-width: var(--mb-container);
  height: 1px;
  margin: 0 auto var(--mb-section-gap);
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(242, 200, 95, 0.42), rgba(200, 32, 36, 0.38), transparent);
}

/* Form and embedded content fit the article width */
:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) :is(input, select, textarea, button) {
  max-width: 100%;
  font-family: var(--mb-font);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(242, 200, 95, 0.26);
  border-radius: var(--mb-radius-sm);
  color: var(--mb-text);
  background: rgba(3, 9, 16, 0.68);
}

:is(.mb-article, .mbpk-article, .mbpk-page .mb-article) :is(input, select, textarea):focus {
  border-color: var(--mb-gold);
  outline: 3px solid rgba(242, 200, 95, 0.18);
}

/* Tablet */
@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));
  }
}

/* Side-by-side rows begin only when there is enough width */
@media (min-width: 780px) {
  .mb-row:not(.mb-hero):not(.mb-row--stack):not(.mb-row--long) {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    grid-template-areas: "copy media";
  }

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

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

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

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

  .mb-article .mb-grid--orphan-fix > .mb-card: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-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-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: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, 1fr) minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 0 clamp(18px, 3vw, 30px);
    align-items: stretch;
  }

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

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

/* Mobile safeguards */
@media (max-width: 979px) {
  .mb-site-nav__list {
    justify-content: flex-start;
  }

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

  .mb-site-btn {
    min-height: 32px;
    padding: 7px 10px;
    font-size: clamp(0.72rem, 2.7vw, 0.86rem);
  }

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

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

@media (max-width: 767px) {
  .mb-site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .mb-article,
  .mbpk-article,
  .mbpk-page .mb-article {
    width: 100%;
    max-width: 100%;
    margin-block: 0;
    border-radius: 0;
    border-inline: 0;
  }

  .mb-hero {
    border-radius: var(--mb-radius);
  }

  .mb-hero__media {
    border-radius: calc(var(--mb-radius) - 1px);
  }
}

@media (max-width: 639px) {
  .mb-site-header__inner {
    padding-inline: 10px;
    gap: 6px;
  }

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

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

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

  .mb-btn,
  :is(.mb-article, .mbpk-article, .mbpk-page .mb-article) a.mb-btn {
    width: 100%;
    max-width: 100%;
  }

  .mb-cta {
    padding: clamp(16px, 5vw, 22px);
  }

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

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

  .mb-table-wrap {
    margin-block-end: clamp(30px, 8vw, 46px);
  }
}

@media (max-width: 420px) {
  .mb-site-btn {
    max-inline-size: 40vw;
    padding-inline: 8px;
  }

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

  .mb-hero {
    --mb-hero-pad: 14px;
  }

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

@supports not (overflow: clip) {
  .mb-hero__media,
  .mb-media,
  .mb-card__media {
    overflow: hidden;
  }
}

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

  .mb-site-btn:hover,
  .mb-btn:hover,
  .mb-hero__media:hover img,
  .mb-media:hover img,
  .mb-card__media:hover img {
    transform: none;
  }
}

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

