/* Madbax Home — DSS skin (same font stack as /price/ pricing.css)
 * Display: Inter Display · Body: Inter · Labels: IBM Plex Mono (rsms.me/inter)
 * Surface #F2F2F2 · ink #000 · outline rgba(0,0,0,.08) · pill 100px · card ~20px
 */

@import url("https://rsms.me/inter/inter.css");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&display=swap");

.mbx-home {
  /* M3 / Madbax brand roles */
  --mbx-surface: #f2f2f2;
  --mbx-card: #ffffff;
  --mbx-on-surface: #000000;
  --mbx-on-surface-variant: rgba(0, 0, 0, 0.6);
  --mbx-label: rgba(0, 0, 0, 0.45);
  --mbx-outline: rgba(0, 0, 0, 0.08);
  --mbx-primary: #00e599;
  --mbx-on-primary: #0a0a0a;
  --mbx-accent: #ff5500;
  --mbx-radius: 100px;
  --mbx-radius-card: 20px;
  --mbx-radius-control: 8px; /* M3 corner-small */
  --mbx-font-display: InterDisplay, "Inter Display", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mbx-font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mbx-font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Legacy --md-sys-* aliases → DSS (keeps existing rules working) */
  --md-sys-color-primary: var(--mbx-primary);
  --md-sys-color-on-primary: var(--mbx-on-primary);
  --md-sys-color-surface: var(--mbx-surface);
  --md-sys-color-surface-container-lowest: var(--mbx-card);
  --md-sys-color-surface-container-high: #f0f0f0;
  --md-sys-color-surface-container-highest: #eaeaea;
  --md-sys-color-secondary-container: #c8f5e4;
  --md-sys-color-on-secondary-container: #003826;
  --md-sys-color-on-surface: var(--mbx-on-surface);
  --md-sys-color-on-surface-variant: var(--mbx-on-surface-variant);
  --md-sys-color-outline: var(--mbx-outline);
  --md-sys-color-outline-variant: rgba(0, 0, 0, 0.12);

  --md-sys-shape-corner-small: var(--mbx-radius-control);
  --md-sys-shape-corner-medium: 12px;
  --md-sys-shape-corner-extra-large: var(--mbx-radius-card);
  --md-sys-shape-corner-full: var(--mbx-radius);

  --md-sys-state-hover: 0.08;
  --md-sys-state-pressed: 0.12;
  --md-sys-state-focus: 0.12;
  --md-sys-motion: 150ms cubic-bezier(0.2, 0, 0, 1);

  --md-sys-typescale-brand: var(--mbx-font-display);
  --md-sys-typescale-plain: var(--mbx-font-body);
  --md-sys-typescale-mono: var(--mbx-font-mono);

  --mbx-card-title: var(--mbx-on-surface);
  --mbx-card-cat: var(--mbx-on-surface-variant);
  --mbx-card-date: rgba(0, 0, 0, 0.45);
  --mbx-card-bg: transparent;
  --mbx-card-border: transparent;
  --mbx-grid-cols: 4;
  --mbx-grid-gap: 24px;

  color: var(--mbx-on-surface);
  font-family: var(--mbx-font-body);
  font-feature-settings: "ss01" on, "ss02" on, "cv01" on;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

.mbx-home *,
.mbx-home *::before,
.mbx-home *::after {
  box-sizing: border-box;
}

/* ?? Type helpers ?? */
.mbx-home-hero__eyebrow {
  margin: 0 0 4px;
  font-family: var(--md-sys-typescale-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.5px;
  color: var(--md-sys-color-on-surface-variant);
}

.mbx-home-hero__title {
  margin: 0 !important;
  font-family: var(--md-sys-typescale-brand) !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  line-height: 36px !important;
  letter-spacing: 0 !important;
  color: var(--md-sys-color-on-surface) !important;
}

.mbx-home-hero__support {
  margin: 0;
  max-width: 36em;
  font-family: var(--md-sys-typescale-plain);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: var(--md-sys-color-on-surface-variant);
}

.mbx-home-hero__steps {
  margin: 8px 0 0;
  font-family: var(--md-sys-typescale-plain);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.4px;
  color: var(--md-sys-color-on-surface-variant);
}

/* ?? Hero block ?? */
.mbx-home-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 0 8px;
  max-width: 640px;
  margin-inline: auto;
  width: 100%;
}

.mbx-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

/* ?? M3 search bar ?? */
.mbx-home-hero__eyebrow,
.mbx-home-hero__title,
.mbx-home-hero__support,
.mbx-home-hero__steps {
  text-align: center;
}

.mbx-home-search {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  margin-top: 8px;
  height: 56px;
  min-height: 56px;
  padding: 0 16px;
  gap: 16px;
  border-radius: var(--md-sys-shape-corner-extra-large);
  background: var(--md-sys-color-surface-container-highest);
  border: 0;
  box-shadow: none;
  cursor: text;
}

.mbx-home-search__icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background-color: var(--md-sys-color-on-surface);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
}

.mbx-home-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-family: var(--md-sys-typescale-plain);
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  letter-spacing: 0.5px;
  color: var(--md-sys-color-on-surface) !important;
  -webkit-appearance: none;
  appearance: none;
}

.mbx-home-search__input::placeholder {
  color: var(--md-sys-color-on-surface-variant);
  opacity: 1;
}

.mbx-home-search__input::-webkit-search-decoration,
.mbx-home-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.mbx-home-search:focus-within {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}

/* ?? Buttons ?? */
.mbx-home-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 24px;
  border-radius: var(--md-sys-shape-corner-full);
  font-family: var(--md-sys-typescale-mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.1px;
  text-decoration: none !important;
  cursor: pointer;
  border: 0;
  box-shadow: none;
  transition: background-color var(--md-sys-motion), color var(--md-sys-motion), border-color var(--md-sys-motion);
}

.mbx-home-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--md-sys-motion);
}

.mbx-home-btn:hover::before {
  opacity: var(--md-sys-state-hover);
}

.mbx-home-btn:active::before {
  opacity: var(--md-sys-state-pressed);
}

.mbx-home-btn:focus-visible {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}

.mbx-home-btn--filled {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary) !important;
}

.mbx-home-btn--outlined {
  background: transparent;
  color: var(--md-sys-color-primary) !important;
  border: 1px solid var(--md-sys-color-outline);
}

/* ?? Filter chips ?? */
.mbx-home-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.mbx-home-chip {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 32px;
  min-height: 32px;
  padding: 0 16px;
  border-radius: var(--md-sys-shape-corner-small);
  border: 1px solid var(--md-sys-color-outline);
  background: transparent;
  color: var(--md-sys-color-on-surface-variant) !important;
  font-family: var(--md-sys-typescale-mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.1px;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--md-sys-motion), border-color var(--md-sys-motion), color var(--md-sys-motion), padding var(--md-sys-motion);
}

.mbx-home-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--md-sys-motion);
}

.mbx-home-chip:hover::before {
  opacity: var(--md-sys-state-hover);
}

.mbx-home-chip:active::before {
  opacity: var(--md-sys-state-pressed);
}

.mbx-home-chip:focus-visible {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}

.mbx-home-chip__check {
  display: none;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}

.mbx-home-chip.is-selected,
.mbx-home-chip[aria-current="true"] {
  background: var(--md-sys-color-secondary-container);
  border-width: 0;
  padding-left: 8px;
  padding-right: 16px;
  color: var(--md-sys-color-on-secondary-container) !important;
}

.mbx-home-chip.is-selected .mbx-home-chip__check,
.mbx-home-chip[aria-current="true"] .mbx-home-chip__check {
  display: block;
}

/* ?? Section label row: title + View All ?? */
.mbx-home .mbx-home-label-row,
.mbx-home-label-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.mbx-home .mbx-home-label,
.mbx-home-label {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #17191a !important;
  -webkit-text-fill-color: #17191a !important;
  font-family: var(--md-sys-typescale-brand) !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 28px !important;
  letter-spacing: -0.01em !important;
  text-decoration: none !important;
  margin: 0 !important;
}

.mbx-home-label:hover {
  color: #17191a !important;
  -webkit-text-fill-color: #17191a !important;
}

.mbx-home .mbx-home-view-all,
.mbx-home-view-all {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  margin-left: auto !important;
  min-height: 40px !important;
  padding: 0 8px !important;
  border-radius: var(--md-sys-shape-corner-full) !important;
  font-family: var(--md-sys-typescale-mono) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  letter-spacing: 0.1px !important;
  color: #5c6570 !important;
  -webkit-text-fill-color: #5c6570 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  background: transparent !important;
  box-shadow: none !important;
}

.mbx-home-view-all:hover,
.mbx-home-view-all:focus-visible {
  color: #00a86b !important;
  -webkit-text-fill-color: #00a86b !important;
  background: color-mix(in srgb, #00e599 12%, transparent) !important;
}

.mbx-home-view-all:focus-visible {
  outline: 2px solid var(--md-sys-color-primary) !important;
  outline-offset: 2px !important;
}

/* ?? Card: Academy flush ? rounded media, text below, no boxed chrome ??
 * Photos: 16:10 cover as-is (no zoom crop, no hover dim on media).
 */
.mbx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: opacity 0.15s ease;
}

.mbx-card:hover {
  opacity: 0.92;
}

.mbx-card__media {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 66.6667%;
  overflow: hidden;
  border-radius: 16px;
  background: #111;
}

.mbx-card__media img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  transform: none !important;
  inset: 0 !important;
}

.mbx-card__media:focus-visible {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}

.mbx-card__vip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: var(--md-sys-shape-corner-small);
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
  font-family: var(--md-sys-typescale-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.4px;
}

.mbx-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0 0;
  flex: 1 1 auto;
  min-height: 0;
  background: transparent;
}

.mbx-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.mbx-card a.mbx-card__cat,
.mbx-card .mbx-card__cat {
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--mbx-font-body) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 21px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: rgba(0, 0, 0, 0.45) !important;
  text-decoration: none !important;
  width: fit-content;
  background: transparent !important;
  border: 0 !important;
}

.mbx-card a.mbx-card__cat:hover {
  color: #000 !important;
}

.mbx-card .mbx-card__title {
  margin: 0 !important;
  min-height: 0;
  max-height: none;
  font-family: var(--mbx-font-body) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 24px !important;
  letter-spacing: -0.02em !important;
  color: #000 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.mbx-card .mbx-card__title a {
  color: inherit !important;
  text-decoration: none !important;
  background: transparent !important;
}

.mbx-card .mbx-card__title a:hover {
  text-decoration: none !important;
}

.mbx-card .mbx-card__date {
  margin: 0 !important;
  font-family: var(--mbx-font-body) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 21px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: rgba(0, 0, 0, 0.45) !important;
}

/* ?? Course grid ?? */
.mbx-home-grid {
  width: 100%;
}

.mbx-home-grid__list {
  display: grid;
  grid-template-columns: repeat(var(--mbx-grid-cols), minmax(0, 1fr));
  gap: var(--mbx-grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mbx-home-grid__nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.mbx-home-grid__btn {
  position: relative;
  overflow: hidden;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--md-sys-color-outline);
  border-radius: var(--md-sys-shape-corner-full);
  background: var(--md-sys-color-surface-container-lowest);
  color: #5c6570 !important;
  -webkit-text-fill-color: #5c6570 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: none;
}

.mbx-home-grid__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--md-sys-motion);
}

.mbx-home-grid__btn:hover {
  color: #17191a !important;
  -webkit-text-fill-color: #17191a !important;
}

.mbx-home-grid__btn:hover::before {
  opacity: var(--md-sys-state-hover);
}

.mbx-home-grid__btn:active::before {
  opacity: var(--md-sys-state-pressed);
}

.mbx-home-grid__btn:focus-visible {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}

.mbx-home-grid__btn[disabled] {
  opacity: 0.38;
  pointer-events: none;
}

.mbx-home-grid__btn svg {
  position: relative;
  z-index: 1;
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 24px;
  fill: currentColor !important;
  stroke: none !important;
  color: inherit !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.mbx-home-grid__btn svg path {
  fill: currentColor !important;
  stroke: none !important;
  opacity: 1 !important;
}

.mbx-home-grid__empty {
  padding: 24px 16px;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 14px;
  line-height: 20px;
}

/* ?? Homepage canvas (do NOT override Elementor padding/margin/width) ?? */
.page-id-24241 .elementor-location-single,
.page-id-24241 .site-content,
.page-id-24241 .elementor-24241 {
  background: #f2f2f2;
}

/* Soft defaults only ? Elementor Advanced spacing wins without !important fights */
.page-id-24241 .elementor-widget-madbax-home-hero {
  margin-bottom: 28px;
}

.page-id-24241 .elementor-widget-madbax-home-chips {
  margin-bottom: 12px;
}

.page-id-24241 .elementor-widget-madbax-home-label {
  margin-top: 48px;
  margin-bottom: 16px;
}

.page-id-24241 .elementor-widget-madbax-home-grid,
.page-id-24241 .elementor-widget-madbax-course-slider {
  margin-bottom: 8px;
}

/* Room for slider arrows ? do not overlap cards */
.page-id-24241 .mbx-cs {
  padding-left: 48px;
  padding-right: 48px;
}

.page-id-24241 .mbx-cs__nav--prev {
  left: 0;
}

.page-id-24241 .mbx-cs__nav--next {
  right: 0;
}

/* Flush cards ? no forced equal text block heights */
.page-id-24241 .mbx-card .mbx-card__title,
.page-id-24241 .mbx-cs .mbx-cs__title {
  min-height: 0 !important;
  max-height: none !important;
}

.page-id-24241 .mbx-card__body,
.page-id-24241 .mbx-cs__body {
  min-height: 0;
}

/* ?? Adaptive layout (M3 compact ? medium ? expanded) ??
 * SUMMARY: mobile margins 16; one primary filled CTA; equal gutters;
 * touch targets ?48dp for buttons; chips may stay 32dp height.
 */

/* Medium / tablet */
@media (max-width: 1024px) {
  .mbx-home-grid {
    --mbx-grid-cols: 2;
  }

  .page-id-24241 .mbx-cs {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* Compact phone ? grid cols only; leave Elementor container padding alone */
@media (max-width: 599px) {
  .page-id-24241 .elementor-widget-madbax-home-label {
    margin-top: 28px;
    margin-bottom: 12px;
  }

  .page-id-24241 .mbx-cs {
    padding-left: 0;
    padding-right: 0;
  }

  .page-id-24241 .mbx-cs__nav {
    display: none !important;
  }

  .mbx-home-hero {
    gap: 16px;
    max-width: none;
    padding: 0;
  }

  .mbx-home-hero__title {
    font-size: 24px !important;
    line-height: 32px !important;
    font-weight: 600 !important;
  }

  .mbx-home-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  /* One filled primary per view ? full width 48dp */
  .mbx-home-hero__actions .mbx-home-btn--filled {
    width: 100%;
    min-height: 48px;
  }

  /* Secondary = text button (M3), not second fat CTA */
  .mbx-home-hero__actions .mbx-home-btn--outlined {
    width: 100%;
    min-height: 40px;
    border: 0;
    color: var(--md-sys-color-primary) !important;
    background: transparent;
  }

  /* Chip set: horizontal scroll, not crushed wrap */
  .mbx-home-chips {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 4px 16px;
    gap: 8px;
  }

  .mbx-home-chips::-webkit-scrollbar {
    display: none;
  }

  .mbx-home-chip {
    flex: 0 0 auto;
  }

  .mbx-home-label {
    font-size: 18px;
    line-height: 24px;
  }

  .mbx-home-grid {
    --mbx-grid-cols: 1 !important;
    --mbx-grid-gap: 16px;
  }

  .mbx-card__body {
    padding: 10px 2px 0;
    min-height: 0;
    gap: 4px;
  }

  .page-id-24241 .mbx-card .mbx-card__title {
    min-height: 0 !important;
    max-height: none !important;
  }

  .mbx-home-grid__nav {
    margin-top: 12px;
    gap: 8px;
  }

  .mbx-home-grid__btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }
}

/* Large phones / small tablets: 2 columns still readable */
@media (min-width: 600px) and (max-width: 1024px) {
  .mbx-home-grid {
    --mbx-grid-cols: 2 !important;
  }
}

/* Home content width is owned by plugin Madbax Shell Width (Settings → Madbax Width).
 * Do not re-lock Elementor / page-id-24241 to a fixed px here — that fought the slider. */
.page-id-24241 .elementor-24241 .elementor-widget,
.page-id-24241 .elementor-24241 .elementor-widget-container {
  width: 100%;
  max-width: 100%;
}

/* ?? Explore Hub (CGLTG+-inspired, Madbax M3) ?? */
.mbx-home-explore {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
}

.mbx-home-explore__icons {
  position: sticky;
  top: var(--mbx-chrome-offset, 64px);
  z-index: 30;
  padding: 10px 0 12px;
  border-radius: 0;
  background: color-mix(in srgb, var(--mbx-surface, #f2f2f2) 94%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mbx-home-explore__icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px 8px;
  justify-items: center;
}

.mbx-home-explore__icon-item {
  margin: 0;
  width: 100%;
  max-width: 104px;
}

.mbx-home-explore__icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: var(--md-sys-color-on-surface) !important;
  transition: opacity var(--md-sys-motion);
}

.mbx-home-explore__icon:hover { opacity: 1; }

.mbx-home-explore__icon:focus-visible {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 4px;
  border-radius: 14px;
}

.mbx-home-explore__icon-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: #f5f5f5;
  border: 0;
  color: #000;
  font-family: var(--md-sys-typescale-brand);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  box-shadow: none;
  transition: background 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.mbx-home-explore__icon-mark.has-logo img,
.mbx-home-explore__icon-mark.has-logo svg {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  /* Color Foundation: monochrome black glyphs on soft gray tile */
  filter: brightness(0);
}

/* Soft lift — keep gray tile (no brand fill) */
.mbx-home-explore__icon:hover .mbx-home-explore__icon-mark,
.mbx-home-explore__icon:focus-visible .mbx-home-explore__icon-mark {
  transform: translateY(-2px);
  background: #eeeeee;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  outline: none;
}

/* Color Foundation — one neutral tile for every tool */
.mbx-home-explore__icon-mark--after-effects,
.mbx-home-explore__icon-mark--blender,
.mbx-home-explore__icon-mark--cinema-4d,
.mbx-home-explore__icon-mark--ai,
.mbx-home-explore__icon-mark--houdini,
.mbx-home-explore__icon-mark--unreal,
.mbx-home-explore__icon-mark--maya,
.mbx-home-explore__icon-mark--zbrush,
.mbx-home-explore__icon-mark--photoshop,
.mbx-home-explore__icon-mark--plain {
  background: #f5f5f5;
  box-shadow: none;
}

.mbx-home-explore__icon-mark--ai.has-logo img,
.mbx-home-explore__icon-mark--ai.has-logo svg,
.mbx-home-explore__icon-mark--houdini.has-logo img,
.mbx-home-explore__icon-mark--houdini.has-logo svg {
  width: 18px;
  height: 18px;
}

.mbx-home-explore__icon:hover .mbx-home-explore__icon-mark--ai,
.mbx-home-explore__icon:focus-visible .mbx-home-explore__icon-mark--ai,
.mbx-home-explore__icon:hover .mbx-home-explore__icon-mark--houdini,
.mbx-home-explore__icon:focus-visible .mbx-home-explore__icon-mark--houdini {
  background: #eeeeee;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.mbx-home-explore__icon-label {
  color: rgba(0, 0, 0, 0.45);
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
  font-family: var(--md-sys-typescale-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow: hidden;
}

.mbx-home-explore__trending {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mbx-home-explore__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.mbx-home-explore__eyebrow {
  margin: 0 0 4px;
  font-family: var(--md-sys-typescale-plain);
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #008f5a;
}

.mbx-home-explore__title {
  margin: 0 !important;
  font-family: var(--md-sys-typescale-brand) !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  line-height: 36px !important;
  color: var(--md-sys-color-on-surface) !important;
}

.mbx-home-explore__head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mbx-home-explore__more {
  font-family: var(--md-sys-typescale-plain);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--md-sys-color-on-secondary-container) !important;
  text-decoration: none !important;
}

.mbx-home-explore__more:hover { text-decoration: underline !important; }

.mbx-home-explore__nav {
  display: inline-flex;
  gap: 8px;
}

.mbx-home-explore__nav-btn {
  appearance: none;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--md-sys-shape-corner-full);
  border: 1px solid var(--md-sys-color-outline-variant);
  background: var(--md-sys-color-surface-container-lowest);
  color: var(--md-sys-color-on-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--md-sys-motion), border-color var(--md-sys-motion);
  font-size: 0;
  line-height: 0;
}

.mbx-home-explore__nav-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  box-sizing: border-box;
}

.mbx-home-explore__nav-btn--prev::before {
  transform: translate(2px, 0) rotate(135deg);
}

.mbx-home-explore__nav-btn--next::before {
  transform: translate(-2px, 0) rotate(-45deg);
}

.mbx-home-explore__nav-btn:hover:not(:disabled) {
  background: var(--md-sys-color-secondary-container);
  border-color: transparent;
}

.mbx-home-explore__nav-btn:disabled {
  opacity: 0.38;
  cursor: default;
}

.mbx-home-explore__track-wrap { overflow: hidden; }

.mbx-home-explore__track {
  list-style: none;
  margin: 0;
  padding: 0 2px 8px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mbx-home-explore__track::-webkit-scrollbar { display: none; }

.mbx-home-explore__slide {
  margin: 0;
  flex: 0 0 min(320px, 78vw);
  scroll-snap-align: start;
}

.mbx-home-explore__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none !important;
  color: inherit !important;
  height: 100%;
}

.mbx-home-explore__card-media {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 66.6667%;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
}

.mbx-home-explore__card-media img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  transform: none !important;
  transition: opacity var(--md-sys-motion);
}

.mbx-home-explore__card:hover .mbx-home-explore__card-media img { opacity: 0.92; }

.mbx-home-explore__card-num {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-family: var(--md-sys-typescale-mono);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.mbx-home-explore__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-family: var(--md-sys-typescale-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.mbx-home-explore__badge--new {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}

.mbx-home-explore__badge--vip {
  right: 10px;
  left: auto;
  background: #0a0a0a;
  color: #fff;
}

.mbx-home-explore__card-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.mbx-home-explore__card-cat {
  font-family: var(--mbx-font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-transform: none;
  color: rgba(0, 0, 0, 0.55);
}

.mbx-home-explore__card-title {
  margin-top: 8px;
  font-family: var(--mbx-font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mbx-home-explore__empty {
  padding: 24px;
  color: var(--md-sys-color-on-surface-variant);
}

@media (max-width: 1024px) {
  .mbx-home-explore__icon-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .mbx-home-explore { gap: 28px; }
  .mbx-home-explore__icons {
    padding: 16px 8px 4px;
    margin: 0 -4px;
  }
  .mbx-home-explore__icon-list {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 0 8px 8px;
    scrollbar-width: none;
  }
  .mbx-home-explore__icon-list::-webkit-scrollbar { display: none; }
  .mbx-home-explore__icon-item {
    flex: 0 0 76px;
    max-width: none;
  }
  .mbx-home-explore__icon-mark {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }
  .mbx-home-explore__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .mbx-home-explore__title {
    font-size: 22px !important;
    line-height: 28px !important;
  }
  .mbx-home-explore__nav-btn {
    width: 48px;
    height: 48px;
  }
}

/* Explore Page — DSS membership canvas */
.mbx-home-explore-page {
  --mbx-paper: #f2f2f2;
  --mbx-paper-2: #ffffff;
  --mbx-ink: #000000;
  --mbx-line: rgba(0, 0, 0, 0.08);
  --mbx-section-accent: #00e599;
  --mbx-banner-media-inset: 50%;
  --mbx-page-dots: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 64px;
  box-sizing: border-box;
  color: var(--mbx-ink);
  background-color: var(--mbx-paper);
  background-image: none;
}

/* Content shell — baseline; live max comes from Madbax Width (#madbax-shell-width) */
.mbx-home-shell {
  width: min(1440px, 100% - 120px);
  margin-inline: auto;
  box-sizing: border-box;
  max-width: none;
}

@media (max-width: 1560px) {
  .mbx-home-shell {
    width: calc(100% - 64px);
  }
}

@media (max-width: 1100px) {
  .mbx-home-shell {
    width: calc(100% - 32px);
  }
}

@media (max-width: 560px) {
  .mbx-home-shell {
    width: calc(100% - 24px);
  }
}

.mbx-home-hero-band {
  padding: 24px 0 0;
  background: transparent;
  position: relative;
}

/* Stable document H1 — not empty theme entry-title */
.mbx-home-page-title {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.mbx-explore-home h1.entry-title:empty,
body.mbx-explore-home .entry-header:has(h1:empty),
body.mbx-explore-home h1:empty:not(.mbx-home-page-title) {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.mbx-home-banner__slide--intro .mbx-home-banner__fallback {
  background: linear-gradient(135deg, #0a0a0a 0%, #111114 45%, #003826 100%);
}

.mbx-home-band {
  padding: 28px 0 52px;
  border-top: 1px solid var(--mbx-line);
}

.mbx-home-band--trending,
.mbx-home-band--series {
  background-color: #ffffff;
  background-image: none;
}

.mbx-home-band--updated,
.mbx-home-band--catalogue {
  background-color: #f2f2f2;
  background-image: none;
}

.mbx-home-band--catalogue-alt {
  background-color: #ffffff;
}

.mbx-home-band--member {
  background-color: #f2f2f2;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 0 34px;
}

.mbx-home-explore-page__recent {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mbx-home-explore-page__block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* CGLTG section-header */
.mbx-home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  margin-bottom: 24px;
  padding-left: 16px;
}

.mbx-home-section-head__text {
  position: relative;
  min-width: 0;
}

.mbx-home-section-head__text::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 0;
  bottom: 2px;
  width: 4px;
  border-radius: 4px;
  background: var(--accent, var(--md-sys-color-primary, #00e599));
}

.mbx-home-section-head__eyebrow {
  display: block;
  margin: 0;
  color: rgba(0, 0, 0, 0.6);
  letter-spacing: 0;
  font-family: var(--mbx-font-mono);
  font-size: 10px;
  font-weight: 400;
  line-height: 15px;
  text-transform: uppercase;
}

.mbx-home-section-head__title,
.mbx-home .mbx-home-section-head__title {
  margin: 6px 0 0;
  font-family: var(--mbx-font-display) !important;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--mbx-ink);
  text-transform: none;
}

.mbx-home-section-head__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: rgba(0, 0, 0, 0.6) !important;
  font-family: var(--mbx-font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none !important;
  white-space: nowrap;
}

.mbx-home-section-head__more:hover {
  color: var(--mbx-ink) !important;
}

@media (max-width: 720px) {
  .mbx-home-section-head__title,
  .mbx-home .mbx-home-section-head__title {
    font-size: 20px;
  }
}

/* CGLTG home-nav-panel: proof + icons */
.mbx-home-nav-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--mbx-line);
  border-radius: 10px;
  margin-top: 16px;
  margin-bottom: 46px;
  overflow: hidden;
}

.mbx-home-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--mbx-line);
  overflow: hidden;
}

.mbx-home-proof > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 68px;
  padding: 0 22px;
  border-right: 1px solid var(--mbx-line);
}

.mbx-home-proof > div:last-child {
  border-right: 0;
}

.mbx-home-proof strong {
  font-family: var(--md-sys-typescale-mono);
  font-size: 13px;
  letter-spacing: -0.02em;
  color: var(--mbx-ink);
}

.mbx-home-proof span {
  margin-top: 6px;
  color: #8b8983;
  font-size: 12px;
}

.mbx-home-nav-panel__icons {
  padding: 20px 16px 22px;
  background: transparent;
}

.mbx-home-nav-panel .mbx-home-explore__icons {
  padding: 0;
  background: transparent;
}

.mbx-home-nav-panel .mbx-home-explore__icon-list {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 14px;
  justify-items: center;
}

@media (max-width: 900px) {
  .mbx-home-nav-panel .mbx-home-explore__icon-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .mbx-home-nav-panel .mbx-home-explore__icon-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.mbx-home-nav-panel .mbx-home-explore__icon-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

/* Trending rail — CGLTG horizontal-course-list */
.mbx-home-band--trending .mbx-home-explore__track-wrap {
  position: relative;
}

.mbx-home-band--trending .mbx-home-explore__track-wrap {
  position: relative;
  padding-inline: 22px;
}

.mbx-home-band--trending .mbx-home-explore__nav {
  position: absolute;
  inset: 0 0 auto 0;
  height: 66.6667%;
  max-height: 220px;
  pointer-events: none;
  z-index: 3;
}

.mbx-home-band--trending .mbx-home-explore__nav-btn {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  border: 1px solid var(--mbx-line);
  background: #fff;
  color: var(--mbx-ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.mbx-home-band--trending .mbx-home-explore__nav-btn--prev { left: 0; }
.mbx-home-band--trending .mbx-home-explore__nav-btn--next { right: 0; }

.mbx-home-band--trending .mbx-home-explore__nav-btn:disabled {
  opacity: 0.35;
}

.mbx-home-band--trending .mbx-home-explore__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1px 1px 15px;
  scrollbar-width: thin;
}

.mbx-home-band--trending .mbx-home-explore__slide {
  flex: 0 0 18.4%;
  min-width: 0;
  scroll-snap-align: start;
}

.mbx-home-explore__card-soft {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  color: #fff;
  font-family: var(--md-sys-typescale-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.mbx-home-grid--five {
  --mbx-grid-cols: 5;
}

.mbx-home-grid--catalogue {
  gap: 32px 24px;
}

@media (max-width: 1100px) {
  .mbx-home-proof {
    grid-template-columns: repeat(2, 1fr);
  }
  .mbx-home-band--trending .mbx-home-explore__slide {
    flex-basis: 28%;
  }
  .mbx-home-grid--five {
    --mbx-grid-cols: 3 !important;
  }
}

@media (max-width: 720px) and (min-width: 600px) {
  .mbx-home-proof {
    grid-template-columns: 1fr;
  }
  .mbx-home-proof > div {
    border-right: 0;
    border-bottom: 1px solid var(--mbx-line);
  }
  .mbx-home-band--trending .mbx-home-explore__slide {
    flex-basis: 42%;
  }
  .mbx-home-grid--five {
    --mbx-grid-cols: 2 !important;
  }
}

@media (max-width: 599px) {
  .mbx-home-proof {
    grid-template-columns: 1fr;
  }
  .mbx-home-proof > div {
    border-right: 0;
    border-bottom: 1px solid var(--mbx-line);
  }
  .mbx-home-band--trending .mbx-home-explore__slide {
    flex: 0 0 78%;
    max-width: 78%;
  }
  /* Phone: 2 tight columns — do not inherit desktop 5-col math */
  .mbx-home-grid--five {
    --mbx-grid-cols: 2 !important;
    --mbx-grid-gap: 12px;
  }
  .mbx-home-grid--catalogue {
    --mbx-grid-cols: 2 !important;
    --mbx-grid-gap: 12px;
  }
}

/* Membership — dark panel + live /price tier cards */
.mbx-home-membership {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 1.05fr);
  align-items: center;
  gap: 34px;
  padding: 32px;
  overflow: hidden;
  border-radius: var(--mbx-radius-card, 20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(0, 229, 153, 0.12), transparent 55%),
    linear-gradient(160deg, #121212 0%, #0a0a0a 100%);
  box-shadow: none;
  color: #f5f5f5;
}

.mbx-home-membership::before {
  display: none;
}

.mbx-home-membership__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.mbx-home-membership__eyebrow {
  font-family: var(--mbx-font-mono);
  color: rgba(245, 245, 245, 0.5);
  letter-spacing: 0.06em;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
}

.mbx-home-membership__title {
  margin: 12px 0 12px;
  font-family: var(--mbx-font-display);
  color: #ffffff;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.mbx-home-membership__subtitle {
  margin: 0;
  max-width: 480px;
  font-family: var(--mbx-font-body);
  color: rgba(245, 245, 245, 0.65);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* Color Foundation feature rows (icon tile + title + mono meta) */
.mbx-home-membership__features {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}

.mbx-home-membership__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  min-width: 0;
}

.mbx-home-membership__feat-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f5f5f5;
  color: #000;
}

.mbx-home-membership__feat-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.mbx-home-membership__feat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mbx-home-membership__feat-text strong {
  font-family: var(--mbx-font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.mbx-home-membership__feat-text small {
  font-family: var(--mbx-font-mono);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.55);
}

/* Color Foundation check list */
.mbx-home-membership__checks {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
}

.mbx-home-membership__checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-family: var(--mbx-font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(245, 245, 245, 0.78);
}

.mbx-home-membership__check {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.mbx-home-membership__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mbx-font-body);
  min-height: 48px;
  margin-top: 22px;
  padding: 0 24px;
  border-radius: var(--mbx-radius, 100px);
  border: 0;
  background: #00e599;
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none !important;
}

.mbx-home-membership__cta:hover {
  background: #33ebab;
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a !important;
}

.mbx-home-membership__plans {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.mbx-home-membership__plan {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 188px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f5f5f5;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.mbx-home-membership__plan--starter {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(45, 212, 224, 0.45), transparent 60%),
    linear-gradient(145deg, #062024 0%, #0f5c66 55%, #071013 100%);
}

.mbx-home-membership__plan--pro,
.mbx-home-membership__plan--gold {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(91, 125, 255, 0.5), transparent 60%),
    linear-gradient(145deg, #0a0f24 0%, #233d99 55%, #080b16 100%);
}

.mbx-home-membership__plan--lifetime,
.mbx-home-membership__plan--diamond {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(242, 201, 76, 0.45), transparent 60%),
    linear-gradient(145deg, #241a06 0%, #8a6a16 55%, #0a0f0c 100%);
}

.mbx-home-membership__plan header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mbx-home-membership__plan header span {
  font-family: var(--md-sys-typescale-mono);
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.72);
}

.mbx-home-membership__plan header em {
  font-family: var(--md-sys-typescale-mono);
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0a0a0a;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
}

.mbx-home-membership__plan h3 {
  margin: 18px 0 6px;
  font-family: var(--md-sys-typescale-brand);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #ffffff;
}

.mbx-home-membership__plan > p {
  margin: 0;
  min-height: 36px;
  color: rgba(245, 245, 245, 0.78);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
}

.mbx-home-membership__plan-prices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 17px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mbx-home-membership__plan-prices span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mbx-home-membership__plan-prices small {
  font-family: var(--md-sys-typescale-mono);
  color: rgba(245, 245, 245, 0.62);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.mbx-home-membership__plan-prices strong {
  margin-top: 2px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #ffffff;
}

@media (max-width: 1100px) {
  .mbx-home-membership {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .mbx-home-membership__plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .mbx-home-membership {
    padding: 22px;
  }
  .mbx-home-membership__title {
    font-size: 28px;
    line-height: 1.12;
  }
  .mbx-home-membership__plans {
    grid-template-columns: 1fr;
  }
}

/* Curated Series — dark tab sidebar + product grid (CGLTG-style) */
.mbx-home-series {
  display: grid;
  grid-template-columns: 265px 1fr;
  gap: 16px;
  align-items: stretch;
}

.mbx-home-series__sidebar {
  background: #171718;
  border-radius: 14px;
  padding: 27px 24px 19px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  color: #fff;
}

.mbx-home-series__sidebar::after {
  content: "";
  position: absolute;
  top: -54px;
  right: -40px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 229, 153, 0.35),
    rgba(141, 124, 255, 0.12) 45%,
    transparent 70%
  );
  pointer-events: none;
}

.mbx-home-series__side-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mbx-home-series__badge {
  margin: 0;
  font-family: var(--md-sys-typescale-mono);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--md-sys-color-primary, #00e599);
  text-transform: uppercase;
}

.mbx-home-series__side-title {
  margin: 13px 0 0;
  font-family: var(--md-sys-typescale-brand);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.25;
}

.mbx-home-series__tabs {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  position: relative;
  z-index: 1;
}

.mbx-home-series__tabs li {
  margin: 0;
  padding: 0;
}

.mbx-home-series__tab {
  width: 100%;
  min-height: 47px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0;
  background: transparent;
  color: #fff !important;
  font-family: var(--md-sys-typescale-mono);
  text-align: left;
  cursor: pointer;
  outline: 0;
  transition: color 0.2s, padding 0.2s, background 0.2s;
}

.mbx-home-series__tabs li:first-child .mbx-home-series__tab {
  border-top: 0;
}

.mbx-home-series__tab:hover,
.mbx-home-series__tab:focus-visible {
  color: var(--md-sys-color-primary, #00e599) !important;
  padding-left: 5px;
}

.mbx-home-series__tab.is-active {
  color: var(--md-sys-color-primary, #00e599) !important;
  background: rgba(0, 229, 153, 0.1);
  border-radius: 8px;
  width: calc(100% + 18px);
  margin-inline: -9px;
  padding: 0 9px;
  border-top-color: transparent;
}

.mbx-home-series__tab-num {
  font-size: 7px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.36);
  min-width: 0;
}

.mbx-home-series__tab-label {
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
}

.mbx-home-series__tab-chevron {
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  opacity: 1;
  transition: transform 0.2s;
}

.mbx-home-series__tab.is-active .mbx-home-series__tab-chevron {
  transform: translateX(2px);
}

.mbx-home-series__panels {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  border: 1px solid #e2e0da;
  padding: 19px 20px 20px;
  min-width: 0;
}

.mbx-home-series__panel {
  display: none;
}

.mbx-home-series__panel.is-active {
  display: block;
}

.mbx-home-series__panel-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e2e0da;
}

.mbx-home-series__panel-eyebrow {
  font-family: var(--md-sys-typescale-mono);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: #8d7cff;
  text-transform: uppercase;
}

.mbx-home-series__panel-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #171718;
  line-height: 1.2;
}

.mbx-home-series__panel-count {
  font-family: var(--md-sys-typescale-mono);
  color: #929088;
  font-size: 8px;
  text-decoration: none !important;
  white-space: nowrap;
}

.mbx-home-series__panel-count:hover {
  color: #171718;
}

.mbx-home-series .mbx-home-grid {
  --mbx-grid-cols: 3 !important;
}

.mbx-home-series .mbx-home-grid .mbx-card__title,
.mbx-home-series .mbx-home-grid .mbx-card__title a {
  font-size: 11px !important;
  line-height: 1.35 !important;
  min-height: 32px;
}

@media (max-width: 860px) {
  .mbx-home-series {
    grid-template-columns: 1fr;
  }
  .mbx-home-series .mbx-home-grid {
    --mbx-grid-cols: 2 !important;
  }
}

@media (max-width: 560px) {
  .mbx-home-series .mbx-home-grid {
    --mbx-grid-cols: 1 !important;
  }
}

/* Banner hero — exact CGLTG .hero-wrap (1200×360, text left / image right) */
.mbx-home-banner {
  width: 100%;
}

.mbx-home-banner__viewport {
  position: relative;
  width: 100%;
  height: var(--mbx-banner-h, 360px);
  min-height: var(--mbx-banner-h, 360px);
  border-radius: 12px;
  overflow: hidden;
  background: #cec5ff;
  border: 1px solid rgba(17, 17, 19, 0.08);
  box-shadow: 0 12px 34px rgba(41, 35, 27, 0.07);
}

.mbx-home-banner__track {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  position: relative;
}

.mbx-home-banner__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #cec5ff;
  color: #171713;
  z-index: 0;
  transition: opacity 280ms cubic-bezier(0.2, 0, 0, 1);
}

.mbx-home-banner__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.mbx-home-banner__slide--lavender { background: #cec5ff; color: #171713; }
.mbx-home-banner__slide--ember { background: #ffc8b2; color: #171713; }
.mbx-home-banner__slide--cyan { background: #bfe2f1; color: #171713; }
.mbx-home-banner__slide--dark { background: #111114; color: #ffffff; }

.mbx-home-banner__hit {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.mbx-home-banner__media {
  position: absolute;
  /* Text left / image right — keep media clear of the content column */
  inset: 0 0 0 var(--mbx-banner-media-inset, 50%);
  overflow: hidden;
  z-index: 1;
}

.mbx-home-banner__img,
.mbx-home-banner__fallback {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  filter: saturate(0.85) contrast(1.03);
  transform: none !important;
  margin: 0 !important;
  display: block !important;
}

.mbx-home-banner__fallback {
  background: linear-gradient(135deg, #0a0a0a 0%, #003826 55%, #00e599 140%);
  filter: none;
}

.mbx-home-banner__fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* Stronger left wash so cover-art typography cannot bleed into the title column */
  background: linear-gradient(
    90deg,
    #cec5ff 0%,
    rgba(206, 197, 255, 0.98) 10%,
    rgba(206, 197, 255, 0.72) 28%,
    rgba(206, 197, 255, 0.18) 58%,
    rgba(255, 255, 255, 0.04) 100%
  );
}

.mbx-home-banner__slide--ember .mbx-home-banner__fade {
  background: linear-gradient(
    90deg,
    #ffc8b2 0%,
    rgba(255, 200, 178, 0.98) 10%,
    rgba(255, 200, 178, 0.72) 28%,
    rgba(255, 200, 178, 0.18) 58%,
    rgba(255, 255, 255, 0.04) 100%
  );
}

.mbx-home-banner__slide--cyan .mbx-home-banner__fade {
  background: linear-gradient(
    90deg,
    #bfe2f1 0%,
    rgba(191, 226, 241, 0.98) 10%,
    rgba(191, 226, 241, 0.72) 28%,
    rgba(191, 226, 241, 0.18) 58%,
    rgba(255, 255, 255, 0.04) 100%
  );
}

.mbx-home-banner__slide--dark .mbx-home-banner__fade {
  background: linear-gradient(
    90deg,
    #111114 0%,
    rgba(17, 17, 20, 0.98) 12%,
    rgba(17, 17, 20, 0.7) 30%,
    rgba(17, 17, 20, 0.12) 60%,
    rgba(17, 17, 20, 0.03) 100%
  );
}

.mbx-home-banner__content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  z-index: 3;
  width: 48%;
  max-width: 48%;
  padding: 42px 4vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  pointer-events: none;
  box-sizing: border-box;
}

.mbx-home-banner__eyebrow {
  margin: 0 0 12px;
  font-family: var(--mbx-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.78;
}

.mbx-home-banner__title {
  margin: 0 !important;
  max-width: 100%;
  font-family: var(--mbx-font-display);
  font-size: clamp(28px, 3.2vw, 40px) !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em !important;
  color: inherit !important;
  display: flex;
  flex-direction: column;
}

.mbx-home-banner__title span {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mbx-home-banner__desc {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  font-family: var(--md-sys-typescale-plain);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(17, 17, 19, 0.66);
}

.mbx-home-banner__slide--dark .mbx-home-banner__desc {
  color: rgba(255, 255, 255, 0.62);
}

.mbx-home-banner__cta {
  pointer-events: auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  margin-top: 22px;
  padding: 0 24px;
  border-radius: var(--mbx-radius, 100px);
  background: #000000 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: var(--mbx-font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  border: 1px solid transparent;
}

.mbx-home-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.mbx-home-banner__actions .mbx-home-banner__cta {
  margin-top: 0;
}

.mbx-home-banner__cta--secondary {
  /* Demoted secondary — text action, not equal pill (design-review criterion 2) */
  background: transparent !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  border-color: transparent !important;
  min-width: 0;
  min-height: 40px;
  padding: 0 8px;
  font-weight: 500;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.mbx-home-banner__cta--secondary .mbx-home-banner__cta-icon {
  display: none;
}

.mbx-home-banner__slide--dark .mbx-home-banner__cta {
  background: #ffffff !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

.mbx-home-banner__slide--dark .mbx-home-banner__cta--secondary {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.88) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.88) !important;
  border-color: transparent !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.mbx-home-banner__side {
  font-family: var(--md-sys-typescale-mono);
  position: absolute;
  top: 24px;
  left: auto;
  right: 26px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: rgba(255, 255, 255, 0.92);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: right;
  pointer-events: none;
  /* Label sits on the slide photo — shadow keeps it readable on light/dark areas. */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 1px 10px rgba(0, 0, 0, 0.35);
}

.mbx-home-banner__controls {
  position: absolute;
  left: auto;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* M3 / Apple HIG minimum touch target is 44-48px — was 29x29 (fails). */
.mbx-home-banner__btn {
  font-family: var(--md-sys-typescale-mono);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.mbx-home-banner__btn:hover {
  background: rgba(255, 255, 255, 0.13);
}

.mbx-home-banner__btn:focus-visible {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}

.mbx-home-banner__count {
  font-family: var(--md-sys-typescale-mono);
  color: rgba(255, 255, 255, 0.74);
  font-variant-numeric: tabular-nums;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Popcorn Inc. partner ad — tall hero (16:9 reference art at content width) */
.mbx-home-banner--popcorn-ad .mbx-home-banner__viewport {
  height: var(--mbx-popcorn-banner-h, 576px);
  min-height: var(--mbx-popcorn-banner-h, 576px);
}

.mbx-home-banner--popcorn-ad .mbx-home-banner__slide--popcorn-ad .mbx-home-banner__content {
  width: 46%;
  max-width: 46%;
  padding-right: 28px;
}

.mbx-home-banner--popcorn-ad .mbx-home-banner__slide--popcorn-ad .mbx-home-banner__media {
  inset: 0 0 0 46%;
}

.mbx-home-banner--popcorn-ad .mbx-home-banner__slide--popcorn-ad .mbx-home-banner__title {
  font-size: clamp(1.35rem, 2.2vw, 2.125rem) !important;
  line-height: 1.2 !important;
}

.mbx-home-banner--popcorn-ad .mbx-home-banner__slide--popcorn-ad .mbx-home-banner__img {
  object-position: center right !important;
  filter: none;
}

.mbx-home-banner--popcorn-ad .mbx-home-banner__slide--popcorn-ad .mbx-home-banner__cta {
  justify-content: flex-start !important;
  gap: 10px !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100%;
  padding: 0 18px !important;
  white-space: nowrap;
}

.mbx-home-banner--popcorn-ad .mbx-home-banner__slide--popcorn-ad .mbx-home-banner__cta-label {
  display: inline;
  white-space: nowrap;
}

.mbx-home-banner--popcorn-ad .mbx-home-banner__slide--popcorn-ad .mbx-home-banner__cta-icon {
  flex-shrink: 0;
}

.mbx-home-banner--popcorn-ad .mbx-home-banner__slide--popcorn-ad .mbx-home-banner__cta strong,
.mbx-home-banner--popcorn-ad .mbx-home-banner__slide--popcorn-ad .mbx-home-banner__cta b {
  font-weight: 800 !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  letter-spacing: 0.06em;
}

@media (max-width: 767px) {
  .mbx-home-banner--popcorn-ad .mbx-home-banner__viewport {
    height: auto !important;
    min-height: 0 !important;
  }

  .mbx-home-banner--popcorn-ad .mbx-home-banner__slide--popcorn-ad .mbx-home-banner__content {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
  }

  .mbx-home-banner--popcorn-ad .mbx-home-banner__slide--popcorn-ad .mbx-home-banner__media {
    inset: auto;
  }
}

@media (max-width: 767px) {
  .mbx-home-explore-page {
    gap: 28px;
    padding: 12px 0 40px;
  }
  /*
   * Stacked banner: copy + CTA first, full-width cover below.
   * Fixed 240–300px height + overflow:hidden was clipping View Group Buy.
   */
  .mbx-home-banner__viewport {
    height: auto !important;
    min-height: 0 !important;
  }
  .mbx-home-banner__track {
    height: auto;
  }
  .mbx-home-banner__slide {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }
  .mbx-home-banner__slide.is-active {
    position: relative;
    inset: auto;
  }
  .mbx-home-banner__media {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    order: 2;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10;
    min-height: 168px;
    flex: 0 0 auto;
  }
  .mbx-home-banner__img,
  .mbx-home-banner__fallback,
  .mbx-home-banner__video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .mbx-home-banner__content {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    order: 1;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 18px 16px 14px !important;
    justify-content: flex-start;
  }
  .mbx-home-banner__title {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }
  .mbx-home-banner__title span {
    -webkit-line-clamp: 2;
  }
  .mbx-home-banner__desc {
    max-width: 100%;
    margin-top: 8px;
    font-size: 12px;
  }
  .mbx-home-banner__desc span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .mbx-home-banner__cta {
    margin-top: 14px !important;
    min-width: 0;
    align-self: flex-start;
  }
  .mbx-home-banner__side {
    display: none;
  }
  .mbx-home-banner__fade {
    background: linear-gradient(
      180deg,
      rgba(206, 197, 255, 0.55) 0%,
      rgba(206, 197, 255, 0.12) 42%,
      rgba(206, 197, 255, 0) 100%
    ) !important;
  }
  .mbx-home-banner__slide--ember .mbx-home-banner__fade {
    background: linear-gradient(
      180deg,
      rgba(255, 200, 178, 0.55) 0%,
      rgba(255, 200, 178, 0.12) 42%,
      rgba(255, 200, 178, 0) 100%
    ) !important;
  }
  .mbx-home-banner__slide--cyan .mbx-home-banner__fade {
    background: linear-gradient(
      180deg,
      rgba(191, 226, 241, 0.55) 0%,
      rgba(191, 226, 241, 0.12) 42%,
      rgba(191, 226, 241, 0) 100%
    ) !important;
  }
  .mbx-home-banner__slide--dark .mbx-home-banner__fade {
    background: linear-gradient(
      180deg,
      rgba(17, 17, 20, 0.72) 0%,
      rgba(17, 17, 20, 0.2) 45%,
      rgba(17, 17, 20, 0) 100%
    ) !important;
  }
}

/* Front page: hide theme sidebar / breadcrumbs / narrow content wrappers */
body.mbx-explore-home .options_layout_wrapper .sidebar,
body.mbx-explore-home aside.sidebar,
body.mbx-explore-home .jl_sidebar,
body.mbx-explore-home #sidebar,
body.mbx-explore-home .widget-area,
body.mbx-explore-home .breadcrumb,
body.mbx-explore-home .jl_breadcrumbs,
body.mbx-explore-home .woocommerce-breadcrumb,
body.mbx-explore-home .elementor-location-header .elementor-widget-breadcrumbs {
  display: none !important;
}

body.mbx-explore-home .content_wrapper,
body.mbx-explore-home .options_layout_wrapper,
body.mbx-explore-home .jl_content,
body.mbx-explore-home #content,
body.mbx-explore-home .site-content,
body.mbx-explore-home .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
}

body.mbx-explore-home .elementor-section.elementor-section-boxed > .elementor-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* —— Phone / tablet Explore: keep banner visible even if Elementor hid it ——
 * Icons / Membership / Series stay hideable via Elementor hide_mobile.
 */
@media (max-width: 1024px) {
  body.mbx-explore-home .elementor-widget-madbax-home-explore-banner.elementor-hidden-mobile,
  body.mbx-explore-home .elementor-widget-madbax-home-explore-banner.elementor-hidden-tablet,
  body.mbx-explore-home .elementor-element.elementor-hidden-mobile.elementor-widget-madbax-home-explore-banner,
  body.mbx-explore-home .elementor-element.elementor-hidden-tablet.elementor-widget-madbax-home-explore-banner {
    display: block !important;
  }
}

/* Compact / phone Explore polish (Elementor mobile ≤767) */
@media (max-width: 767px) {
  html:has(body.mbx-explore-home),
  body.mbx-explore-home {
    overflow-x: clip;
  }

  body.mbx-explore-home .mbx-home-explore-page,
  body.mbx-explore-home .mbx-home-shell {
    overflow-x: clip;
    max-width: 100%;
  }

  .mbx-home-shell {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  .mbx-home-banner,
  .mbx-home-banner__viewport,
  .mbx-home-nav-panel,
  .mbx-home-grid,
  .mbx-home-grid__list,
  .mbx-home-membership,
  .mbx-home-series,
  .mbx-home-band .mbx-home-shell {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .mbx-home-banner__content {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    max-width: none !important;
  }

  .mbx-home-proof strong,
  .mbx-home-proof span {
    overflow-wrap: anywhere;
  }

  .mbx-home-membership__title {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .mbx-home-band {
    padding: 20px 0 28px;
  }

  .mbx-home-hero-band {
    padding: 12px 0 0;
  }

  .mbx-home-band--member {
    padding: 4px 0 24px;
  }

  .mbx-home-section-head {
    margin-bottom: 14px;
    gap: 10px;
  }

  .mbx-home-section-head__title,
  .mbx-home .mbx-home-section-head__title {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  .mbx-home-nav-panel {
    margin-bottom: 28px;
  }

  .mbx-home-proof {
    grid-template-columns: 1fr 1fr !important;
  }

  .mbx-home-proof > div {
    min-height: 56px;
    padding: 10px 14px;
    border-right: 0 !important;
    border-bottom: 1px solid var(--mbx-line);
  }

  .mbx-home-proof > div:nth-child(odd) {
    border-right: 1px solid var(--mbx-line) !important;
  }

  .mbx-home-proof > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  /* Icons: 4-up grid, no crushed desktop 9-col */
  .mbx-home-nav-panel .mbx-home-explore__icon-list,
  .mbx-home-explore__icons .mbx-home-explore__icon-list {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    overflow: visible !important;
    gap: 10px 6px !important;
    padding: 0 0 4px !important;
    justify-items: center;
  }

  .mbx-home-nav-panel .mbx-home-explore__icon-item,
  .mbx-home-explore__icon-item {
    flex: none !important;
    width: 100% !important;
    max-width: 80px !important;
  }

  .mbx-home-nav-panel .mbx-home-explore__icon-mark,
  .mbx-home-explore__icon-mark {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }

  .mbx-home-explore__icon-label {
    font-size: 10px !important;
    line-height: 1.2 !important;
    text-align: center;
  }

  .mbx-home-grid--five,
  .mbx-home-grid--catalogue {
    --mbx-grid-cols: 2 !important;
    --mbx-grid-gap: 12px;
  }

  .mbx-home-band--trending .mbx-home-explore__slide {
    flex: 0 0 78% !important;
    max-width: 78% !important;
  }

  /* Trending: one card + peek; hide overlapping desktop arrows */
  .mbx-home-band--trending .mbx-home-explore__track-wrap {
    padding-inline: 0;
  }

  .mbx-home-band--trending .mbx-home-explore__nav {
    display: none !important;
  }

  .mbx-home-band--trending .mbx-home-explore__track {
    gap: 10px;
    padding-bottom: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .mbx-home-band--trending .mbx-home-explore__track::-webkit-scrollbar {
    display: none;
  }

  .mbx-home-banner__viewport {
    height: auto !important;
    min-height: 0 !important;
    border-radius: 10px;
  }

  .mbx-home-banner__cta {
    min-height: 44px;
    padding: 0 16px;
    pointer-events: auto;
    font-size: 13px !important;
  }

  .mbx-home-banner__controls {
    left: 12px;
    right: auto;
    bottom: 12px;
  }

  /* Membership: single column, no 440px min track */
  .mbx-home-membership {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 20px 16px !important;
    border-radius: 14px;
    min-width: 0 !important;
  }

  .mbx-home-membership__copy,
  .mbx-home-membership__subtitle {
    min-width: 0;
    max-width: 100%;
  }

  .mbx-home-membership__subtitle {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .mbx-home-membership__title {
    font-size: 24px !important;
    line-height: 1.15 !important;
  }

  .mbx-home-membership__plans {
    grid-template-columns: 1fr !important;
  }

  .mbx-home-membership__plan {
    min-width: 0;
  }

  .mbx-home-membership__plan-prices {
    gap: 8px;
  }

  .mbx-home-membership__cta {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  /* Series: stack sidebar above grid */
  .mbx-home-series {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .mbx-home-series__sidebar {
    min-height: 0;
    padding: 18px 16px 14px;
  }

  .mbx-home-series .mbx-home-grid {
    --mbx-grid-cols: 2 !important;
    --mbx-grid-gap: 12px;
  }

  .mbx-card .mbx-card__title {
    font-size: 16px !important;
    line-height: 24px !important;
  }
}
/* end mobile membership / grid */

/* Cookie / GDPR (Bopea #jl-gdpr) — do not bury page CTAs under a full-width strip */
body.mbx-chrome-on #jl-gdpr,
body.mbx-explore-home #jl-gdpr {
  z-index: 150000 !important;
  left: 16px !important;
  right: auto !important;
  bottom: 16px !important;
  width: auto !important;
  max-width: min(420px, calc(100vw - 32px)) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;
}

/* Accept = high-contrast filled action (a11y / design-review) */
body.mbx-chrome-on #jl-gdpr button,
body.mbx-explore-home #jl-gdpr button,
body.mbx-chrome-on #jl-gdpr .jl_cookie_btn,
body.mbx-explore-home #jl-gdpr .jl_cookie_btn,
body.mbx-chrome-on #jl-gdpr a.jl_cookie_btn,
body.mbx-explore-home #jl-gdpr a.jl_cookie_btn,
body.mbx-chrome-on #jl-gdpr [class*="cookie_btn"],
body.mbx-explore-home #jl-gdpr [class*="cookie_btn"],
body.mbx-chrome-on #jl-gdpr a.jl-gdpr-accept,
body.mbx-explore-home #jl-gdpr a.jl-gdpr-accept,
body.mbx-chrome-on #jl-gdpr #jl-gdpr-accept,
body.mbx-explore-home #jl-gdpr #jl-gdpr-accept {
  background: #000000 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 0 !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

body.mbx-chrome-on:has(#jl-gdpr),
body.mbx-explore-home:has(#jl-gdpr) {
  padding-bottom: 120px !important;
}

@media (max-width: 720px) {
  body.mbx-chrome-on #jl-gdpr,
  body.mbx-explore-home #jl-gdpr {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    max-width: none !important;
    width: auto !important;
  }
}

/* Long catalogue titles — hard clamp */
.mbx-home-explore__card-title,
.mbx-card .mbx-card__title,
.mbx-home-series .mbx-home-grid .mbx-card__title,
.mbx-home-series .mbx-home-grid .mbx-card__title a {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-height: none;
}
