/* Mostbet-inspired global theme CSS for Elementor HTML blocks */
/* Palette source: dark emerald casino stage, metallic gold coins, white text, orange-red star accent. */

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-shell-gutter: clamp(12px, 4vw, 24px);
  --mb-section-pad: clamp(16px, 4vw, 34px);
  --mb-radius-xs: 10px;
  --mb-radius-sm: 14px;
  --mb-radius: 22px;
  --mb-radius-lg: 30px;

  --mb-bg-0: #021a12;
  --mb-bg-1: #06331f;
  --mb-bg-2: #075934;
  --mb-bg-3: #0b7244;

  --mb-panel: #062719;
  --mb-panel-2: #083a25;
  --mb-panel-3: #0a4b30;

  --mb-primary: #e4b451;
  --mb-primary-2: #f6d986;
  --mb-gold: #e4b451;
  --mb-gold-2: #f6d986;
  --mb-accent: #ff7a18;
  --mb-red: #f04d22;
  --mb-teal: #18b66d;

  --mb-text: #fffdf2;
  --mb-text-soft: #efe3c7;
  --mb-muted: #b8c8b5;
  --mb-muted-2: #829687;

  --mb-line: rgba(228, 180, 81, 0.28);
  --mb-line-strong: rgba(246, 217, 134, 0.55);
  --mb-border: rgba(228, 180, 81, 0.28);
  --mb-border-strong: rgba(246, 217, 134, 0.55);

  --mb-shadow: 0 22px 70px rgba(0, 0, 0, 0.44);
  --mb-shadow-soft: 0 16px 44px rgba(0, 0, 0, 0.28);
  --mb-glow: 0 0 0 1px rgba(246, 217, 134, 0.28), 0 20px 54px rgba(228, 180, 81, 0.16);
  --mb-focus: 0 0 0 3px rgba(246, 217, 134, 0.34);
}

body.mb-site {
  min-height: 100%;
  margin: 0;
  font-family: var(--mb-font);
  color: var(--mb-text);
  background:
    radial-gradient(circle at 18% 5%, rgba(24, 182, 109, 0.34), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(228, 180, 81, 0.18), transparent 26rem),
    radial-gradient(circle at 50% 100%, rgba(255, 122, 24, 0.08), transparent 32rem),
    linear-gradient(135deg, var(--mb-bg-0) 0%, var(--mb-bg-1) 44%, #03170f 100%);
}

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

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

/* Header and top chrome */

.mb-topbar {
  width: 100%;
  background: rgba(2, 26, 18, 0.86);
  border-bottom: 1px solid rgba(228, 180, 81, 0.16);
  color: var(--mb-muted);
  font-size: clamp(0.78rem, 1.5vw, 0.9rem);
}

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

.mb-site-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 34, 22, 0.82);
  border-bottom: 1px solid rgba(246, 217, 134, 0.22);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

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

.mb-site-brand {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  display: inline-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-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

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

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

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

.mb-site-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  max-width: 100%;
  padding: 8px 14px;
  border: 1px solid rgba(228, 180, 81, 0.23);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--mb-text-soft);
  text-decoration: none;
  font-weight: 750;
  font-size: 0.92rem;
  line-height: 1.15;
  transition: background-color 180ms ease, 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.is-active {
  color: #08190f;
  background: linear-gradient(180deg, var(--mb-primary-2), var(--mb-primary));
  border-color: rgba(246, 217, 134, 0.84);
  outline: none;
  transform: translateY(-1px);
}

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

.mb-site-btn,
a.mb-site-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 9px 15px;
  border: 1px solid rgba(246, 217, 134, 0.72);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--mb-primary-2), var(--mb-primary));
  color: #07180f;
  text-decoration: none;
  text-align: center;
  font-weight: 900;
  font-size: clamp(0.78rem, 1.6vw, 0.94rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(228, 180, 81, 0.18);
  white-space: normal;
  overflow-wrap: anywhere;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background-color 180ms ease;
}

.mb-site-btn:hover,
.mb-site-btn:focus-visible,
a.mb-site-btn:hover,
a.mb-site-btn:focus-visible {
  color: #07180f;
  text-decoration: none;
  outline: none;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(228, 180, 81, 0.28);
}

.mb-site-btn--outline,
.mb-site-btn--apk {
  background: rgba(8, 58, 37, 0.72);
  color: var(--mb-primary-2);
  border-color: rgba(246, 217, 134, 0.48);
  box-shadow: none;
}

.mb-site-btn--outline:hover,
.mb-site-btn--outline:focus-visible,
.mb-site-btn--apk:hover,
.mb-site-btn--apk:focus-visible {
  background: rgba(228, 180, 81, 0.14);
  color: var(--mb-primary-2);
}

.mb-site-burger {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(228, 180, 81, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--mb-text);
}

/* Drawer colors and viewport-safe sizing */

.mb-site-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  color: var(--mb-text);
  background: rgba(0, 0, 0, 0.58);
  z-index: 100;
}

.mb-site-drawer__panel {
  height: 100%;
  min-height: 100dvh;
  color: var(--mb-text);
  background:
    radial-gradient(circle at 85% 0%, rgba(228, 180, 81, 0.16), transparent 18rem),
    linear-gradient(180deg, #062719, #03170f);
  border-inline-start: 1px solid rgba(246, 217, 134, 0.24);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

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

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

.mb-site-drawer__link:hover,
.mb-site-drawer__link:focus-visible,
.mb-site-drawer__link.is-active {
  color: #08190f;
  background: linear-gradient(180deg, var(--mb-primary-2), var(--mb-primary));
  outline: none;
}

.mb-site-drawer__cta,
a.mb-site-drawer__cta {
  max-width: 100%;
  color: #07180f;
  background: linear-gradient(180deg, var(--mb-primary-2), var(--mb-primary));
  border-color: rgba(246, 217, 134, 0.75);
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}

.mb-site-drawer__cta--apk,
a.mb-site-drawer__cta--apk {
  color: var(--mb-primary-2);
  background: rgba(8, 58, 37, 0.72);
  border-color: rgba(246, 217, 134, 0.45);
}

/* Breadcrumb and title strip */

.mb-page-strip {
  width: 100%;
  background: rgba(2, 26, 18, 0.58);
  border-bottom: 1px solid rgba(228, 180, 81, 0.14);
}

.mb-page-strip__inner {
  width: min(calc(100% - var(--mb-shell-gutter) - var(--mb-shell-gutter)), var(--mb-container));
  max-width: 100%;
  margin-inline: auto;
  padding-block: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mb-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

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

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

.mb-page-title {
  width: min(calc(100% - var(--mb-shell-gutter) - var(--mb-shell-gutter)), var(--mb-container));
  max-width: 100%;
  margin-inline: auto;
  padding-block: clamp(22px, 4vw, 42px);
  color: var(--mb-text);
}

.mb-page-title h1,
.mb-page-title .mb-page-title__heading {
  margin-block: 0 0.45em;
  color: var(--mb-text);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

/* Footer */

.mb-site-footer {
  margin-block-start: clamp(34px, 7vw, 76px);
  background:
    radial-gradient(circle at 12% 0%, rgba(228, 180, 81, 0.13), transparent 24rem),
    linear-gradient(180deg, rgba(6, 39, 25, 0.86), rgba(2, 18, 12, 0.96));
  border-top: 1px solid rgba(246, 217, 134, 0.22);
}

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

.mb-site-footer__brand {
  display: grid;
  gap: 10px;
  color: var(--mb-muted);
  line-height: 1.55;
}

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

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

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

.mb-footer-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: 100%;
  max-width: 100%;
  padding: 9px 13px;
  border: 1px solid rgba(228, 180, 81, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mb-text-soft);
  text-decoration: none;
  text-align: center;
  font-weight: 750;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.mb-footer-nav__link:hover,
.mb-footer-nav__link:focus-visible {
  color: #07180f;
  background: linear-gradient(180deg, var(--mb-primary-2), var(--mb-primary));
  border-color: rgba(246, 217, 134, 0.8);
  outline: none;
}

.mb-site-footer__copy {
  grid-column: 1 / -1;
  margin-block-start: 6px;
  padding-block-start: 18px;
  border-top: 1px solid rgba(228, 180, 81, 0.16);
  color: var(--mb-muted-2);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Article root and base typography */

.mb-article,
.mbpk-article,
.mbpk-page .mb-article {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  padding: clamp(16px, 4vw, 32px);
  box-sizing: border-box;
  direction: ltr;
  text-align: left;
  font-family: var(--mb-font);
  color: var(--mb-text);
  background:
    radial-gradient(circle at 0% 0%, rgba(24, 182, 109, 0.16), transparent 24rem),
    radial-gradient(circle at 100% 8%, rgba(228, 180, 81, 0.12), transparent 22rem),
    linear-gradient(180deg, rgba(6, 39, 25, 0.98), rgba(3, 23, 15, 0.98));
  border: 1px solid rgba(246, 217, 134, 0.17);
  border-radius: var(--mb-radius-lg);
  box-shadow: var(--mb-shadow);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

.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.08;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.mb-article h1,
.mbpk-article h1,
.mbpk-page .mb-article h1 {
  font-size: clamp(2.15rem, 6vw, 4.85rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

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

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

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

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

.mb-article :is(p, li, dd),
.mbpk-article :is(p, li, dd),
.mbpk-page .mb-article :is(p, li, dd) {
  color: var(--mb-text-soft);
  font-size: clamp(1rem, 1.5vw, 1.075rem);
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.mb-article a,
.mbpk-article a,
.mbpk-page .mb-article a {
  color: var(--mb-primary-2);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

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

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

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

.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-muted,
.mbpk-article .mb-muted,
.mbpk-page .mb-article .mb-muted {
  color: var(--mb-muted);
}

.mb-article .mb-kicker,
.mb-article .mb-eyebrow,
.mbpk-article .mb-kicker,
.mbpk-article .mb-eyebrow,
.mbpk-page .mb-article .mb-kicker,
.mbpk-page .mb-article .mb-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-block-end: 12px;
  padding: 6px 11px;
  border: 1px solid rgba(246, 217, 134, 0.36);
  border-radius: 999px;
  background: rgba(228, 180, 81, 0.1);
  color: var(--mb-primary-2);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

/* Lists */

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

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

.mb-article li::marker,
.mbpk-article li::marker,
.mbpk-page .mb-article li::marker {
  color: var(--mb-primary);
}

/* Hero: image, then CTA, then copy at every breakpoint */

.mb-article .mb-hero,
.mbpk-article .mb-hero,
.mbpk-page .mb-article .mb-hero {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: 0 clamp(28px, 6vw, 70px);
  padding-inline: 0;
  padding-block-start: 0;
  padding-block-end: clamp(18px, 4vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "cta"
    "copy";
  gap: 0;
  align-items: start;
  border: 1px solid rgba(246, 217, 134, 0.22);
  border-radius: var(--mb-radius-lg);
  background:
    radial-gradient(circle at 80% 18%, rgba(228, 180, 81, 0.16), transparent 20rem),
    linear-gradient(180deg, rgba(8, 58, 37, 0.92), rgba(4, 27, 18, 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: calc(var(--mb-radius-lg) - 1px) calc(var(--mb-radius-lg) - 1px) var(--mb-radius) var(--mb-radius);
  background: #04170f;
  overflow: hidden;
  overflow: clip;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.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;
  object-position: center;
  transition: transform 260ms ease, filter 260ms ease;
  cursor: pointer;
}

.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-inline: var(--mb-section-pad);
  padding-block: clamp(18px, 4vw, 34px) 0;
}

.mb-article .mb-hero__copy > *,
.mbpk-article .mb-hero__copy > *,
.mbpk-page .mb-article .mb-hero__copy > * {
  max-width: 100%;
}

.mb-article .mb-hero__badge,
.mbpk-article .mb-hero__badge,
.mbpk-page .mb-article .mb-hero__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-block-end: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(246, 217, 134, 0.4);
  border-radius: 999px;
  background: rgba(228, 180, 81, 0.11);
  color: var(--mb-primary-2);
  font-size: clamp(0.78rem, 1.5vw, 0.92rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mb-article .mb-hero__lead,
.mbpk-article .mb-hero__lead,
.mbpk-page .mb-article .mb-hero__lead {
  width: 100%;
  max-width: 100%;
  color: var(--mb-text-soft);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.62;
}

.mb-article .mb-hero > .mb-cta,
.mbpk-article .mb-hero > .mb-cta,
.mbpk-page .mb-article .mb-hero > .mb-cta {
  grid-area: cta;
  width: calc(100% - var(--mb-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: clamp(14px, 3vw, 22px) 0;
}

/* Rows and media sections */

.mb-article .mb-row,
.mbpk-article .mb-row,
.mbpk-page .mb-article .mb-row {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: 0 clamp(26px, 5vw, 58px);
  padding: clamp(16px, 3.5vw, 30px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "copy";
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
  border: 1px solid rgba(246, 217, 134, 0.17);
  border-radius: var(--mb-radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(228, 180, 81, 0.08), transparent 20rem),
    linear-gradient(180deg, rgba(8, 58, 37, 0.7), rgba(5, 35, 23, 0.72));
  box-shadow: var(--mb-shadow-soft);
  break-inside: avoid;
}

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

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

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

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

.mb-article .mb-copy > *,
.mb-article .mb-copy :is(p, ul, ol),
.mbpk-article .mb-copy > *,
.mbpk-article .mb-copy :is(p, ul, ol),
.mbpk-page .mb-article .mb-copy > *,
.mbpk-page .mb-article .mb-copy :is(p, ul, ol) {
  max-width: 100%;
}

.mb-article .mb-media,
.mbpk-article .mb-media,
.mbpk-page .mb-article .mb-media {
  grid-area: media;
  width: 100%;
  max-width: 100%;
  padding: 0;
  padding-block-start: 0;
  align-self: start;
  aspect-ratio: 2 / 3;
  border-radius: var(--mb-radius);
  background: #04170f;
  overflow: hidden;
  overflow: clip;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(246, 217, 134, 0.16);
}

.mb-article .mb-row--stack:not(.mb-hero) > .mb-media,
.mb-article .mb-row--long:not(.mb-hero) > .mb-media,
.mbpk-article .mb-row--stack:not(.mb-hero) > .mb-media,
.mbpk-article .mb-row--long:not(.mb-hero) > .mb-media,
.mbpk-page .mb-article .mb-row--stack:not(.mb-hero) > .mb-media,
.mbpk-page .mb-article .mb-row--long:not(.mb-hero) > .mb-media {
  width: 100%;
  max-width: 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;
  object-position: center;
  transition: transform 260ms ease, filter 260ms ease;
  cursor: pointer;
}

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

/* Buttons and CTAs */

.mb-article .mb-btn,
.mb-article a.mb-btn,
.mbpk-article .mb-btn,
.mbpk-article a.mb-btn,
.mbpk-page .mb-article .mb-btn,
.mbpk-page .mb-article a.mb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid rgba(246, 217, 134, 0.72);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--mb-primary-2), var(--mb-primary));
  color: #07180f;
  text-decoration: none;
  text-align: center;
  font-weight: 950;
  font-size: clamp(0.95rem, 1.7vw, 1.05rem);
  line-height: 1.16;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 32px rgba(228, 180, 81, 0.22);
  white-space: normal;
  overflow-wrap: anywhere;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.mb-article .mb-btn:hover,
.mb-article .mb-btn:focus-visible,
.mb-article a.mb-btn:hover,
.mb-article a.mb-btn:focus-visible,
.mbpk-article .mb-btn:hover,
.mbpk-article .mb-btn:focus-visible,
.mbpk-article a.mb-btn:hover,
.mbpk-article a.mb-btn:focus-visible,
.mbpk-page .mb-article .mb-btn:hover,
.mbpk-page .mb-article .mb-btn:focus-visible,
.mbpk-page .mb-article a.mb-btn:hover,
.mbpk-page .mb-article a.mb-btn:focus-visible {
  color: #07180f;
  text-decoration: none;
  outline: none;
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(228, 180, 81, 0.32);
}

.mb-article .mb-btn--accent,
.mb-article a.mb-btn--accent,
.mbpk-article .mb-btn--accent,
.mbpk-article a.mb-btn--accent,
.mbpk-page .mb-article .mb-btn--accent,
.mbpk-page .mb-article a.mb-btn--accent {
  background: linear-gradient(180deg, #ff9442, var(--mb-accent));
  border-color: rgba(255, 148, 66, 0.82);
  color: #07180f;
}

.mb-article .mb-btn--accent:hover,
.mb-article .mb-btn--accent:focus-visible,
.mb-article a.mb-btn--accent:hover,
.mb-article a.mb-btn--accent:focus-visible,
.mbpk-article .mb-btn--accent:hover,
.mbpk-article .mb-btn--accent:focus-visible,
.mbpk-article a.mb-btn--accent:hover,
.mbpk-article a.mb-btn--accent:focus-visible,
.mbpk-page .mb-article .mb-btn--accent:hover,
.mbpk-page .mb-article .mb-btn--accent:focus-visible,
.mbpk-page .mb-article a.mb-btn--accent:hover,
.mbpk-page .mb-article a.mb-btn--accent:focus-visible {
  color: #07180f;
}

.mb-article .mb-btn--secondary,
.mb-article a.mb-btn--secondary,
.mbpk-article .mb-btn--secondary,
.mbpk-article a.mb-btn--secondary,
.mbpk-page .mb-article .mb-btn--secondary,
.mbpk-page .mb-article a.mb-btn--secondary {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(246, 217, 134, 0.46);
  color: var(--mb-primary-2);
  box-shadow: none;
}

.mb-article .mb-btn--secondary:hover,
.mb-article .mb-btn--secondary:focus-visible,
.mb-article a.mb-btn--secondary:hover,
.mb-article a.mb-btn--secondary:focus-visible,
.mbpk-article .mb-btn--secondary:hover,
.mbpk-article .mb-btn--secondary:focus-visible,
.mbpk-article a.mb-btn--secondary:hover,
.mbpk-article a.mb-btn--secondary:focus-visible,
.mbpk-page .mb-article .mb-btn--secondary:hover,
.mbpk-page .mb-article .mb-btn--secondary:focus-visible,
.mbpk-page .mb-article a.mb-btn--secondary:hover,
.mbpk-page .mb-article a.mb-btn--secondary:focus-visible {
  background: rgba(228, 180, 81, 0.14);
  color: var(--mb-primary-2);
  border-color: rgba(246, 217, 134, 0.68);
}

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

.mb-article .mb-hero__actions > *,
.mb-article .mb-cta__actions > *,
.mbpk-article .mb-hero__actions > *,
.mbpk-article .mb-cta__actions > *,
.mbpk-page .mb-article .mb-hero__actions > *,
.mbpk-page .mb-article .mb-cta__actions > * {
  min-width: 0;
  max-width: 100%;
}

.mb-article .mb-cta,
.mbpk-article .mb-cta,
.mbpk-page .mb-article .mb-cta {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: 0 clamp(26px, 5vw, 58px);
  padding: clamp(18px, 4vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 3vw, 22px);
  align-items: start;
  border: 1px solid rgba(246, 217, 134, 0.24);
  border-radius: var(--mb-radius);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 122, 24, 0.12), transparent 18rem),
    radial-gradient(circle at 5% 0%, rgba(228, 180, 81, 0.12), transparent 20rem),
    linear-gradient(135deg, rgba(10, 75, 48, 0.88), rgba(5, 31, 20, 0.94));
  box-shadow: var(--mb-glow);
  break-inside: avoid;
}

.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 > *,
.mb-article .mb-cta__copy :is(p, ul, ol),
.mbpk-article .mb-cta__copy > *,
.mbpk-article .mb-cta__copy :is(p, ul, ol),
.mbpk-page .mb-article .mb-cta__copy > *,
.mbpk-page .mb-article .mb-cta__copy :is(p, ul, ol) {
  max-width: 100%;
}

/* Card grids */

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

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

.mb-article .mb-card,
.mbpk-article .mb-card,
.mbpk-page .mb-article .mb-card {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 0;
  border: 1px solid rgba(246, 217, 134, 0.18);
  border-radius: var(--mb-radius);
  background:
    linear-gradient(180deg, rgba(8, 58, 37, 0.84), rgba(5, 31, 20, 0.94));
  box-shadow: var(--mb-shadow-soft);
  min-height: 100%;
  color: var(--mb-text-soft);
  break-inside: avoid;
}

.mb-article a.mb-card,
.mbpk-article a.mb-card,
.mbpk-page .mb-article a.mb-card {
  color: var(--mb-text-soft);
  text-decoration: none;
}

.mb-article .mb-card__media,
.mbpk-article .mb-card__media,
.mbpk-page .mb-article .mb-card__media {
  width: 100%;
  max-width: 100%;
  padding: 0;
  aspect-ratio: 2 / 3;
  border-radius: var(--mb-radius) var(--mb-radius) var(--mb-radius-sm) var(--mb-radius-sm);
  background: #04170f;
  overflow: hidden;
  overflow: clip;
}

.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;
  object-position: center;
  transition: transform 260ms ease, filter 260ms ease;
  cursor: pointer;
}

.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 {
  width: 100%;
  max-width: 100%;
  padding: clamp(15px, 3vw, 22px);
  display: grid;
  align-content: start;
  gap: 10px;
}

.mb-article .mb-card__title,
.mbpk-article .mb-card__title,
.mbpk-page .mb-article .mb-card__title {
  margin-block: 0 0.35em;
  color: var(--mb-text);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.12;
}

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

.mb-article .mb-card__copy :is(p, ul, ol),
.mbpk-article .mb-card__copy :is(p, ul, ol),
.mbpk-page .mb-article .mb-card__copy :is(p, ul, ol) {
  max-width: 100%;
}

/* FAQ */

.mb-article .mb-faq,
.mbpk-article .mb-faq,
.mbpk-page .mb-article .mb-faq {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block: 0 clamp(26px, 5vw, 58px);
  display: grid;
  gap: 12px;
}

.mb-article .mb-faq details,
.mbpk-article .mb-faq details,
.mbpk-page .mb-article .mb-faq details {
  border: 1px solid rgba(246, 217, 134, 0.18);
  border-radius: var(--mb-radius-sm);
  background: rgba(8, 58, 37, 0.58);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.mb-article .mb-faq summary,
.mbpk-article .mb-faq summary,
.mbpk-page .mb-article .mb-faq summary {
  cursor: pointer;
  list-style-position: outside;
  padding: 16px 18px;
  color: var(--mb-text);
  font-weight: 900;
  line-height: 1.25;
  outline: none;
}

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

.mb-article .mb-faq details[open] summary,
.mbpk-article .mb-faq details[open] summary,
.mbpk-page .mb-article .mb-faq details[open] summary {
  border-bottom: 1px solid rgba(246, 217, 134, 0.14);
}

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

/* Tables: wide tables scroll inside the wrapper only */

.mb-article .mb-table-wrap,
.mbpk-article .mb-table-wrap,
.mbpk-page .mb-article .mb-table-wrap {
  width: 100%;
  max-width: 100%;
  margin-block: 0 clamp(26px, 5vw, 58px);
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  border: 1px solid rgba(246, 217, 134, 0.2);
  border-radius: var(--mb-radius-sm);
  background: rgba(3, 23, 15, 0.82);
  box-shadow: var(--mb-shadow-soft);
}

.mb-article table.mb-table,
.mbpk-article table.mb-table,
.mbpk-page .mb-article table.mb-table {
  width: 100%;
  min-width: 620px;
  max-width: none;
  direction: ltr;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--mb-text-soft);
  background: transparent;
  font-size: 0.96rem;
  line-height: 1.45;
}

.mb-article table.mb-table th,
.mb-article table.mb-table td,
.mbpk-article table.mb-table th,
.mbpk-article table.mb-table td,
.mbpk-page .mb-article table.mb-table th,
.mbpk-page .mb-article table.mb-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(246, 217, 134, 0.14);
  text-align: left;
  vertical-align: top;
}

.mb-article table.mb-table th,
.mbpk-article table.mb-table th,
.mbpk-page .mb-article table.mb-table th {
  color: #07180f;
  background: linear-gradient(180deg, var(--mb-primary-2), var(--mb-primary));
  font-weight: 950;
}

.mb-article table.mb-table tr:last-child td,
.mbpk-article table.mb-table tr:last-child td,
.mbpk-page .mb-article table.mb-table tr:last-child td {
  border-bottom: 0;
}

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

/* Standalone dividers only */

.mb-article .mb-divider,
.mbpk-article .mb-divider,
.mbpk-page .mb-article .mb-divider {
  width: 100%;
  max-width: var(--mb-container);
  height: 1px;
  margin: clamp(24px, 5vw, 54px) auto;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(246, 217, 134, 0.58), transparent);
}

/* Direction compatibility */

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

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

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

/* Responsive layout */

@media (max-width: 1023px) {
  .mb-site-header__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

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

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

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

  .mb-site-btn,
  a.mb-site-btn {
    display: inline-flex !important;
  }
}

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

  .mb-footer-nav__list > li {
    flex: 1 1 calc(50% - 9px);
  }
}

@media (max-width: 640px) {
  .mb-article,
  .mbpk-article,
  .mbpk-page .mb-article {
    max-width: 100%;
    border-radius: clamp(18px, 6vw, 26px);
    padding: clamp(14px, 4vw, 18px);
  }

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

  .mb-article .mb-hero,
  .mbpk-article .mb-hero,
  .mbpk-page .mb-article .mb-hero {
    border-radius: clamp(18px, 6vw, 26px);
  }

  .mb-article .mb-hero__media,
  .mbpk-article .mb-hero__media,
  .mbpk-page .mb-article .mb-hero__media {
    border-radius: clamp(18px, 6vw, 26px) clamp(18px, 6vw, 26px) var(--mb-radius-sm) var(--mb-radius-sm);
  }

  .mb-article .mb-row,
  .mb-article .mb-cta,
  .mbpk-article .mb-row,
  .mbpk-article .mb-cta,
  .mbpk-page .mb-article .mb-row,
  .mbpk-page .mb-article .mb-cta {
    padding: clamp(14px, 4vw, 18px);
    border-radius: clamp(16px, 5vw, 22px);
  }

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

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

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

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

@media (min-width: 860px) {
  .mb-article .mb-row:not(.mb-hero):not(.mb-row--stack):not(.mb-row--long),
  .mbpk-article .mb-row:not(.mb-hero):not(.mb-row--stack):not(.mb-row--long),
  .mbpk-page .mb-article .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-article .mb-row--reverse:not(.mb-hero):not(.mb-row--stack):not(.mb-row--long),
  .mbpk-article .mb-row--reverse:not(.mb-hero):not(.mb-row--stack):not(.mb-row--long),
  .mbpk-page .mb-article .mb-row--reverse:not(.mb-hero):not(.mb-row--stack):not(.mb-row--long) {
    grid-template-areas: "media copy";
  }

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

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

  .mb-article .mb-cta,
  .mbpk-article .mb-cta,
  .mbpk-page .mb-article .mb-cta {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    align-items: center;
  }

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

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

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

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

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

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

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

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

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

@media (max-width: 420px) {
  .mb-site-header__inner {
    gap: 6px;
  }

  .mb-site-btn,
  a.mb-site-btn {
    padding-inline: 10px;
    min-height: 34px;
    font-size: 0.76rem;
  }

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

  .mb-footer-nav__list > li {
    flex-basis: 100%;
  }
}

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

  .mb-site-nav__link:hover,
  .mb-site-btn:hover,
  .mb-article .mb-btn:hover,
  .mb-article .mb-hero__media:hover img,
  .mb-article .mb-media:hover img,
  .mb-article .mb-card:hover .mb-card__media img,
  .mbpk-article .mb-btn:hover,
  .mbpk-article .mb-hero__media:hover img,
  .mbpk-article .mb-media:hover img,
  .mbpk-article .mb-card:hover .mb-card__media img,
  .mbpk-page .mb-article .mb-btn:hover,
  .mbpk-page .mb-article .mb-hero__media:hover img,
  .mbpk-page .mb-article .mb-media:hover img,
  .mbpk-page .mb-article .mb-card:hover .mb-card__media img {
    transform: none;
  }
}
/* Ссылки внутри юридических страниц: их разметка пришла из архива без наших классов,
   и браузер красил их дефолтным синим поверх тёмного фона. Цвет — тот же токен, что
   у ссылок статьи. */
.mb-site-main a:not([class]) {
  color: var(--mb-accent, #f5c518);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mb-site-main a:not([class]):hover { opacity: .85; }

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

