/* MostBet casino-inspired global CSS for Elementor HTML blocks */
/* Palette source: dark navy gaming stage, gold CTA, ruby accent, cyan glow */

body.mb-site,
.mb-site-header,
.mb-page-strip,
.mb-site-footer,
.mb-site-drawer,
.mb-article,
.mbpk-article,
.mbpk-page .mb-article {
  --mb-font: "Inter", "Noto Sans", "Segoe UI", Arial, sans-serif;

  --mb-container: 1120px;
  --mb-page-gutter: clamp(10px, 3vw, 24px);
  --mb-article-pad: clamp(14px, 3.2vw, 34px);
  --mb-section-pad: clamp(14px, 3vw, 30px);
  --mb-card-pad: clamp(16px, 2.5vw, 24px);

  --mb-bg: #020914;
  --mb-bg-2: #061a34;
  --mb-bg-3: #08264d;

  --mb-panel: rgba(5, 20, 43, 0.94);
  --mb-panel-2: rgba(8, 35, 70, 0.92);
  --mb-panel-3: rgba(12, 48, 88, 0.82);

  --mb-text: #fff8e9;
  --mb-text-soft: #d9e8fb;
  --mb-muted: #9eb7d2;
  --mb-muted-2: #708ba8;

  --mb-gold: #f7bf3f;
  --mb-gold-2: #fff0a1;
  --mb-primary: #f7bf3f;
  --mb-primary-2: #d88512;
  --mb-red: #d7194c;
  --mb-red-2: #ff386f;
  --mb-teal: #20d6ff;

  --mb-line: rgba(255, 211, 95, 0.22);
  --mb-line-strong: rgba(255, 221, 119, 0.42);
  --mb-border: rgba(255, 211, 95, 0.22);
  --mb-border-strong: rgba(255, 221, 119, 0.42);

  --mb-radius-sm: 12px;
  --mb-radius: 18px;
  --mb-radius-lg: 28px;
  --mb-radius-pill: 999px;

  --mb-shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
  --mb-shadow-soft: 0 14px 44px rgba(0, 0, 0, 0.34);
  --mb-glow-gold: 0 0 0 1px rgba(255, 222, 120, 0.24), 0 18px 48px rgba(247, 191, 63, 0.18);
  --mb-glow-cyan: 0 0 0 1px rgba(32, 214, 255, 0.22), 0 18px 48px rgba(32, 214, 255, 0.14);

  --mb-section-gap: clamp(28px, 5vw, 58px);
  --mb-inner-gap: clamp(16px, 3vw, 30px);
}

body.mb-site {
  min-height: 100vh;
  direction: ltr;
  color: var(--mb-text);
  font-family: var(--mb-font);
  background:
    radial-gradient(circle at 12% 0%, rgba(215, 25, 76, 0.34) 0, rgba(215, 25, 76, 0) 34rem),
    radial-gradient(circle at 88% 8%, rgba(247, 191, 63, 0.24) 0, rgba(247, 191, 63, 0) 28rem),
    radial-gradient(circle at 48% 58%, rgba(32, 214, 255, 0.12) 0, rgba(32, 214, 255, 0) 34rem),
    linear-gradient(135deg, #020914 0%, #061a34 46%, #020914 100%);
}

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

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

/* Site chrome */

.mb-site-topbar,
.mb-topbar {
  color: var(--mb-muted);
  background: rgba(2, 9, 20, 0.78);
  border-bottom: 1px solid rgba(255, 211, 95, 0.12);
}

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

.mb-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background:
    linear-gradient(90deg, rgba(4, 16, 35, 0.92), rgba(8, 35, 70, 0.86), rgba(4, 16, 35, 0.92));
  border-bottom: 1px solid rgba(255, 211, 95, 0.2);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.mb-site-header__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: 10px var(--mb-page-gutter);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1.8vw, 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-text);
  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;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--mb-text);
  font-weight: 900;
  letter-spacing: 0.02em;
  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,
.mb-top-menu,
.mb-top-menu__list {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
}

.mb-site-nav__link,
.mb-top-menu a,
.mb-top-menu__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 211, 95, 0.2);
  border-radius: var(--mb-radius-pill);
  color: var(--mb-text-soft);
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.15;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.mb-site-nav__link:hover,
.mb-top-menu a:hover,
.mb-top-menu__link:hover,
.mb-site-nav__link:focus-visible,
.mb-top-menu a:focus-visible,
.mb-top-menu__link:focus-visible {
  color: #1b1203;
  background: linear-gradient(180deg, var(--mb-gold-2), var(--mb-gold));
  border-color: rgba(255, 240, 161, 0.78);
  box-shadow: var(--mb-glow-gold);
  outline: none;
  transform: translateY(-1px);
}

.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 0 auto;
  max-width: 100%;
  border-radius: var(--mb-radius-pill);
  font-family: var(--mb-font);
}

.mb-site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 240, 161, 0.78);
  color: #1b1203;
  background: linear-gradient(180deg, #fff4b8 0%, #f7bf3f 54%, #d88512 100%);
  box-shadow: 0 8px 22px rgba(247, 191, 63, 0.22);
  text-decoration: none;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.1;
  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: #1b1203;
  filter: brightness(1.06);
  box-shadow: 0 12px 30px rgba(247, 191, 63, 0.34);
  outline: none;
  transform: translateY(-1px);
}

.mb-site-btn--apk {
  color: var(--mb-gold-2);
  background: rgba(247, 191, 63, 0.08);
  border-color: rgba(255, 240, 161, 0.5);
  box-shadow: none;
}

.mb-site-btn--apk:hover,
.mb-site-btn--apk:focus-visible {
  color: #1b1203;
  background: linear-gradient(180deg, #fff4b8, #f7bf3f);
}

.mb-site-burger {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid rgba(255, 211, 95, 0.28);
  color: var(--mb-text);
  background: rgba(255, 255, 255, 0.06);
}

/* Off-canvas drawer sizing and visual theme */

.mb-site-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  color: var(--mb-text);
  background: rgba(2, 9, 20, 0.72);
  z-index: 1100;
}

.mb-site-drawer__panel {
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--mb-text);
  background:
    radial-gradient(circle at 20% 0%, rgba(215, 25, 76, 0.22), rgba(215, 25, 76, 0) 20rem),
    linear-gradient(180deg, rgba(7, 28, 58, 0.98), rgba(3, 13, 30, 0.98));
  border-inline-start: 1px solid rgba(255, 211, 95, 0.22);
  box-shadow: -22px 0 60px rgba(0, 0, 0, 0.42);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

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

.mb-site-drawer__link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mb-text-soft);
  text-decoration: none;
  border-radius: 14px;
  transition: color 180ms ease, background-color 180ms ease;
}

.mb-site-drawer__link:hover,
.mb-site-drawer__link:focus-visible {
  color: var(--mb-gold-2);
  background: rgba(247, 191, 63, 0.1);
  outline: none;
}

.mb-site-drawer__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1b1203;
  background: linear-gradient(180deg, #fff4b8 0%, #f7bf3f 56%, #d88512 100%);
  border: 1px solid rgba(255, 240, 161, 0.78);
  border-radius: var(--mb-radius-pill);
  text-align: center;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.mb-site-drawer__cta:hover,
.mb-site-drawer__cta:focus-visible {
  color: #1b1203;
  filter: brightness(1.06);
  outline: none;
}

.mb-site-drawer__cta--apk {
  color: var(--mb-gold-2);
  background: rgba(247, 191, 63, 0.08);
  border-color: rgba(255, 240, 161, 0.42);
}

.mb-site-drawer__cta--apk:hover,
.mb-site-drawer__cta--apk:focus-visible {
  color: #1b1203;
  background: linear-gradient(180deg, #fff4b8, #f7bf3f);
}

/* Compact breadcrumb / page title strip */

.mb-page-strip {
  background: rgba(3, 13, 30, 0.66);
  border-bottom: 1px solid rgba(255, 211, 95, 0.14);
}

.mb-page-strip__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: 8px var(--mb-page-gutter);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--mb-muted);
  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-teal);
  outline: none;
}

/* Footer */

.mb-site-footer {
  margin-block-start: clamp(34px, 6vw, 72px);
  color: var(--mb-muted);
  background:
    radial-gradient(circle at 18% 0%, rgba(247, 191, 63, 0.14), rgba(247, 191, 63, 0) 28rem),
    linear-gradient(180deg, rgba(5, 20, 43, 0.96), rgba(2, 9, 20, 0.98));
  border-top: 1px solid rgba(255, 211, 95, 0.2);
}

.mb-site-footer__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: clamp(26px, 5vw, 48px) var(--mb-page-gutter);
  display: grid;
  /* было 0.78fr + 1.22fr: меню зажималось в узкую колонку и сворачивалось
     в рваный столбик. Футер — одна колонка, как на отгруженных. */
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 4vw, 44px);
  align-items: start;
}

.mb-site-footer__brand {
  min-width: 0;
}

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

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

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

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

.mb-footer-nav__link {
  width: 100%;
  min-height: 34px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 211, 95, 0.16);
  border-radius: var(--mb-radius-pill);
  color: var(--mb-text-soft);
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.15;
}

.mb-footer-nav__link:hover,
.mb-footer-nav__link:focus-visible {
  color: #1b1203;
  background: linear-gradient(180deg, var(--mb-gold-2), var(--mb-gold));
  border-color: rgba(255, 240, 161, 0.7);
  outline: none;
}

/* Article root */

.mb-article,
.mbpk-article,
.mbpk-page .mb-article {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: var(--mb-article-pad);
  box-sizing: border-box;
  direction: ltr;
  text-align: left;
  color: var(--mb-text-soft);
  font-family: var(--mb-font);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.72;
  background:
    radial-gradient(circle at 12% 2%, rgba(215, 25, 76, 0.18), rgba(215, 25, 76, 0) 26rem),
    radial-gradient(circle at 90% 0%, rgba(247, 191, 63, 0.14), rgba(247, 191, 63, 0) 24rem),
    linear-gradient(180deg, rgba(6, 24, 50, 0.96), rgba(3, 13, 30, 0.98));
  border: 1px solid rgba(255, 211, 95, 0.18);
  border-radius: var(--mb-radius-lg);
  box-shadow: var(--mb-shadow);
}

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

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

.mb-article img,
.mbpk-article img,
.mbpk-page .mb-article img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.mb-article a:not(.mb-btn),
.mbpk-article a:not(.mb-btn),
.mbpk-page .mb-article a:not(.mb-btn) {
  color: var(--mb-gold-2);
  text-decoration-color: rgba(255, 240, 161, 0.48);
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.mb-article a:not(.mb-btn):hover,
.mbpk-article a:not(.mb-btn):hover,
.mbpk-page .mb-article a:not(.mb-btn):hover,
.mb-article a:not(.mb-btn):focus-visible,
.mbpk-article a:not(.mb-btn):focus-visible,
.mbpk-page .mb-article a:not(.mb-btn):focus-visible {
  color: var(--mb-teal);
  text-decoration-color: rgba(32, 214, 255, 0.72);
  outline: none;
}

.mb-article p,
.mbpk-article p,
.mbpk-page .mb-article p {
  margin-block: 0 1em;
  max-width: 100%;
  overflow-wrap: break-word;
}

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

.mb-article h1,
.mb-article h2,
.mb-article h3,
.mb-article h4,
.mb-article h5,
.mb-article h6,
.mbpk-article h1,
.mbpk-article h2,
.mbpk-article h3,
.mbpk-article h4,
.mbpk-article h5,
.mbpk-article h6,
.mbpk-page .mb-article h1,
.mbpk-page .mb-article h2,
.mbpk-page .mb-article h3,
.mbpk-page .mb-article h4,
.mbpk-page .mb-article h5,
.mbpk-page .mb-article h6 {
  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: break-word;
}

.mb-article h1,
.mbpk-article h1,
.mbpk-page .mb-article h1 {
  font-size: clamp(2rem, 5.2vw, 4.35rem);
  text-shadow: 0 8px 34px rgba(247, 191, 63, 0.18);
}

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

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

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

.mb-article .mb-eyebrow,
.mbpk-article .mb-eyebrow,
.mbpk-page .mb-article .mb-eyebrow {
  margin-block-end: 0.7rem;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 6px 11px;
  border: 1px solid rgba(255, 211, 95, 0.35);
  border-radius: var(--mb-radius-pill);
  color: var(--mb-gold-2);
  background: rgba(247, 191, 63, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.mb-article .mb-lead,
.mbpk-article .mb-lead,
.mbpk-page .mb-article .mb-lead {
  color: var(--mb-text-soft);
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
  line-height: 1.62;
}

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

/* Full-width section text by default */

.mb-copy,
.mb-hero__copy,
.mb-cta__copy,
.mb-card__copy,
.mb-card__body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

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

/* Hero: single-column grid at every breakpoint, visual order media -> CTA -> copy */

.mb-hero {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block-end: var(--mb-section-gap);
  padding-inline: 0;
  padding-block-start: 0;
  padding-block-end: clamp(18px, 3vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "cta"
    "copy";
  gap: 0;
  min-width: 0;
  border: 1px solid rgba(255, 211, 95, 0.22);
  border-radius: var(--mb-radius-lg);
  background:
    radial-gradient(circle at 22% 8%, rgba(215, 25, 76, 0.22), rgba(215, 25, 76, 0) 26rem),
    radial-gradient(circle at 82% 10%, rgba(32, 214, 255, 0.14), rgba(32, 214, 255, 0) 25rem),
    linear-gradient(180deg, rgba(8, 35, 70, 0.88), rgba(3, 13, 30, 0.92));
  box-shadow: var(--mb-shadow-soft);
}

.mb-hero__media {
  grid-area: media;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  overflow: clip;
  border-radius: calc(var(--mb-radius-lg) - 1px);
  background: #061a34;
  box-shadow: var(--mb-glow-cyan);
}

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

.mb-hero__media picture {
  height: 100%;
}

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

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

.mb-hero > .mb-cta {
  grid-area: cta;
  width: calc(100% - var(--mb-section-pad) - var(--mb-section-pad));
  max-width: calc(100% - var(--mb-section-pad) - var(--mb-section-pad));
  margin-inline: var(--mb-section-pad);
  margin-block-start: clamp(16px, 2.8vw, 30px);
  margin-block-end: clamp(14px, 2.4vw, 26px);
}

.mb-hero__copy {
  grid-area: copy;
  padding-inline: var(--mb-section-pad);
  padding-block: clamp(6px, 1vw, 12px) 0;
}

.mb-hero__badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-block-end: 0.85rem;
  padding: 6px 12px;
  border: 1px solid rgba(255, 211, 95, 0.38);
  border-radius: var(--mb-radius-pill);
  color: var(--mb-gold-2);
  background: rgba(247, 191, 63, 0.1);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1.15;
  text-transform: uppercase;
  pointer-events: none;
}

.mb-hero__title {
  margin-block-end: 0.28em;
}

.mb-hero__lead {
  margin-block-end: 0;
  color: var(--mb-text-soft);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.58;
}

.mb-hero__actions {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-block-start: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Rows */

.mb-row:not(.mb-hero) {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block-end: var(--mb-section-gap);
  padding: clamp(16px, 3vw, 30px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "copy";
  gap: var(--mb-inner-gap);
  align-items: start;
  min-width: 0;
  border: 1px solid rgba(255, 211, 95, 0.16);
  border-radius: var(--mb-radius-lg);
  background:
    linear-gradient(135deg, rgba(9, 35, 71, 0.74), rgba(3, 13, 30, 0.66));
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.22);
}

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

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

.mb-row:not(.mb-hero) > .mb-copy,
.mb-row:not(.mb-hero) > .mb-media {
  padding-block-start: 0;
  min-width: 0;
  max-width: 100%;
}

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

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

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

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

/* Media blocks: flush images in rounded containers */

.mb-media {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  overflow: clip;
  border-radius: var(--mb-radius-lg);
  background: #061a34;
  box-shadow: var(--mb-glow-cyan);
}

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

.mb-media picture {
  height: 100%;
}

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

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

.mb-media--contain {
  padding: clamp(10px, 2vw, 18px);
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}

.mb-media--contain img {
  object-fit: contain;
}

/* CTA and buttons */

.mb-cta {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block-end: var(--mb-section-gap);
  padding: clamp(18px, 3.4vw, 34px);
  min-width: 0;
  border: 1px solid rgba(255, 211, 95, 0.28);
  border-radius: var(--mb-radius-lg);
  color: var(--mb-text);
  background:
    radial-gradient(circle at 18% 15%, rgba(247, 191, 63, 0.2), rgba(247, 191, 63, 0) 24rem),
    radial-gradient(circle at 88% 20%, rgba(215, 25, 76, 0.18), rgba(215, 25, 76, 0) 22rem),
    linear-gradient(135deg, rgba(10, 43, 86, 0.94), rgba(4, 16, 35, 0.94));
  box-shadow: var(--mb-glow-gold);
}

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

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

.mb-cta__actions {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-block-start: clamp(14px, 2.5vw, 24px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.mb-btn,
.mb-article a.mb-btn,
.mbpk-article a.mb-btn,
.mbpk-page .mb-article a.mb-btn {
  --mb-btn-color: #1b1203;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 240, 161, 0.82);
  border-radius: var(--mb-radius-pill);
  color: var(--mb-btn-color);
  background: linear-gradient(180deg, #fff4b8 0%, #f7bf3f 52%, #d88512 100%);
  box-shadow: 0 14px 34px rgba(247, 191, 63, 0.28);
  font-family: var(--mb-font);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.12;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.mb-btn:hover,
.mb-article a.mb-btn:hover,
.mbpk-article a.mb-btn:hover,
.mbpk-page .mb-article a.mb-btn:hover,
.mb-btn:focus-visible,
.mb-article a.mb-btn:focus-visible,
.mbpk-article a.mb-btn:focus-visible,
.mbpk-page .mb-article a.mb-btn:focus-visible {
  color: var(--mb-btn-color);
  filter: brightness(1.06);
  border-color: rgba(255, 246, 190, 0.98);
  box-shadow: 0 18px 44px rgba(247, 191, 63, 0.38);
  outline: none;
  transform: translateY(-1px);
}

.mb-btn--secondary,
.mb-article a.mb-btn--secondary,
.mbpk-article a.mb-btn--secondary,
.mbpk-page .mb-article a.mb-btn--secondary {
  --mb-btn-color: var(--mb-gold-2);
  color: var(--mb-btn-color);
  background: rgba(247, 191, 63, 0.08);
  border-color: rgba(255, 240, 161, 0.42);
  box-shadow: none;
}

.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-btn--secondary:focus-visible,
.mb-article a.mb-btn--secondary:focus-visible,
.mbpk-article a.mb-btn--secondary:focus-visible,
.mbpk-page .mb-article a.mb-btn--secondary:focus-visible {
  color: var(--mb-btn-color);
  background: rgba(247, 191, 63, 0.15);
  box-shadow: 0 14px 34px rgba(247, 191, 63, 0.14);
}

.mb-btn--accent,
.mb-article a.mb-btn--accent,
.mbpk-article a.mb-btn--accent,
.mbpk-page .mb-article a.mb-btn--accent {
  --mb-btn-color: #ffffff;
  color: var(--mb-btn-color);
  background: linear-gradient(180deg, #ff4b7b, #d7194c 62%, #9e0f34);
  border-color: rgba(255, 140, 170, 0.72);
  box-shadow: 0 14px 34px rgba(215, 25, 76, 0.3);
}

.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-btn--accent:focus-visible,
.mb-article a.mb-btn--accent:focus-visible,
.mbpk-article a.mb-btn--accent:focus-visible,
.mbpk-page .mb-article a.mb-btn--accent:focus-visible {
  color: var(--mb-btn-color);
  filter: brightness(1.08);
  box-shadow: 0 18px 44px rgba(215, 25, 76, 0.4);
}

/* 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-end: var(--mb-section-gap);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.6vw, 26px);
  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 {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(255, 211, 95, 0.16);
  border-radius: var(--mb-radius-lg);
  color: var(--mb-text-soft);
  background:
    linear-gradient(180deg, rgba(10, 43, 86, 0.78), rgba(4, 16, 35, 0.86));
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.mb-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 211, 95, 0.34);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34), 0 0 32px rgba(247, 191, 63, 0.1);
}

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

.mb-card__media img,
.mb-card__media picture,
.mb-card > img:first-child {
  display: block;
  width: 100%;
  max-width: 100%;
}

.mb-card__media picture {
  height: 100%;
}

.mb-card__media img,
.mb-card > img:first-child {
  height: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  cursor: pointer;
  transition: transform 260ms ease, filter 260ms ease;
}

.mb-card > img:first-child {
  border-radius: calc(var(--mb-radius-lg) - 1px) calc(var(--mb-radius-lg) - 1px) 0 0;
}

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

.mb-card__body {
  padding: var(--mb-card-pad);
}

.mb-card__title {
  margin-block-end: 0.48em;
  color: var(--mb-text);
  font-size: clamp(1.12rem, 1.8vw, 1.42rem);
  line-height: 1.18;
}

.mb-card__copy {
  color: var(--mb-muted);
  line-height: 1.62;
}

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

/* Lists */

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

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

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

.mb-list {
  width: 100%;
  max-width: 100%;
  display: grid;
  gap: 10px;
}

.mb-list--check {
  margin: 0 0 1.1em;
  padding: 0;
  list-style: none;
}

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

.mb-list--check > li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--mb-gold);
  font-weight: 950;
}

/* FAQ */

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

.mb-faq details {
  border: 1px solid rgba(255, 211, 95, 0.16);
  border-radius: var(--mb-radius);
  background: rgba(8, 35, 70, 0.58);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

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

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

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

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

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

/* Tables: page stays fixed, wide tables scroll inside the wrapper */

.mb-table-wrap {
  width: 100%;
  max-width: 100%;
  margin-block: clamp(18px, 3vw, 30px) var(--mb-section-gap);
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  border: 1px solid rgba(255, 211, 95, 0.18);
  border-radius: var(--mb-radius);
  background: rgba(3, 13, 30, 0.56);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  scrollbar-color: rgba(247, 191, 63, 0.72) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

table.mb-table {
  width: 100%;
  min-width: 580px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  direction: ltr;
  color: var(--mb-text-soft);
  background: transparent;
  font-size: 0.95rem;
  line-height: 1.45;
}

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

table.mb-table th,
table.mb-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255, 211, 95, 0.12);
  text-align: left;
  vertical-align: middle;
}

table.mb-table th {
  color: #1b1203;
  background: linear-gradient(180deg, #fff1a8, #f7bf3f);
  font-weight: 950;
}

table.mb-table td {
  background: rgba(255, 255, 255, 0.025);
}

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

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

/* Figures and standalone dividers */

.mb-article figure,
.mbpk-article figure,
.mbpk-page .mb-article figure {
  width: 100%;
  max-width: 100%;
  margin: 0 0 var(--mb-section-gap);
}

.mb-article figcaption,
.mbpk-article figcaption,
.mbpk-page .mb-article figcaption {
  margin-block-start: 0.7rem;
  color: var(--mb-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.mb-divider,
hr.mb-divider {
  width: 100%;
  max-width: var(--mb-container);
  height: 1px;
  margin: var(--mb-section-gap) auto;
  border: 0;
  background: linear-gradient(90deg, rgba(247, 191, 63, 0), rgba(247, 191, 63, 0.5), rgba(32, 214, 255, 0.3), rgba(247, 191, 63, 0));
}

/* Direction helpers */

.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,
.mbpk-article[dir="rtl"] table.mb-table caption,
.mbpk-page .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 th,
.mbpk-article[dir="rtl"] table.mb-table td,
.mbpk-page .mb-article[dir="rtl"] table.mb-table th,
.mbpk-page .mb-article[dir="rtl"] table.mb-table td {
  text-align: right;
}

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

/* Desktop */

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

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

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

@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;
    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,
  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > img:first-child,
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > img:first-child,
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > img:first-child,
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > img:first-child,
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > img:first-child,
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > img:first-child {
    grid-column: 2;
    grid-row: 1;
    border-radius: 0 calc(var(--mb-radius-lg) - 1px) calc(var(--mb-radius-lg) - 1px) 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) > .mb-card__title,
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__title,
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__title,
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__title,
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__title,
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__title,
  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__copy,
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__copy,
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__copy,
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__copy,
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__copy,
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__copy {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    padding-inline: var(--mb-card-pad);
  }
}

/* Mobile safeguards */

@media (max-width: 1023.98px) {
  .mb-site-header__inner {
    flex-direction: row;
    padding-block: 7px;
  }

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

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

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

  .mb-site-header__actions > .mb-site-btn {
    min-height: 30px;
    max-width: min(42vw, 11.5rem);
    padding: 6px 10px;
    font-size: 0.78rem;
    line-height: 1.05;
  }

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

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

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

  .mb-hero,
  .mb-row:not(.mb-hero),
  .mb-cta,
  .mb-faq,
  .mb-table-wrap,
  .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 {
    max-width: 100%;
  }

  .mb-row:not(.mb-hero),
  .mb-cta {
    padding: clamp(14px, 4vw, 18px);
  }

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

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

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

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

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

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

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

/* Motion preference */

@media (prefers-reduced-motion: reduce) {
  .mb-article *,
  .mbpk-article *,
  .mbpk-page .mb-article *,
  .mb-site-header *,
  .mb-site-footer *,
  .mb-site-drawer * {
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    scroll-behavior: auto;
  }
}
/* Подпись 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%;
  }
}

