/* Porcelain & Pastel Sage — Shared presentation for martynabrodzik.com (.mb-home) */
body:has(.mb-home) {
  --global-palette1: #224732;
  --global-palette2: #173b31;
  --global-palette3: #1b241e;
  --global-palette4: #4b584f;
  --global-palette7: #eef2ee;
  --global-palette8: #f9faf8;
  background: #f9faf8;
}
body:has(.mb-home) #masthead,
body:has(.mb-home) #colophon,
body:has(.mb-home) .entry-header { display: none; }
body:has(.mb-home) .site-container,
body:has(.mb-home) .content-container { max-width: none; padding-inline: 0; }
body:has(.mb-home) .content-area,
body:has(.mb-home) .entry-content,
body:has(.mb-home) .entry-content-wrap { margin: 0; padding: 0; }
body:has(.mb-home) .entry { box-shadow: none; border-radius: 0; background: none; }

.mb-home {
  --mb-bg: #f9faf8;
  --mb-white: #ffffff;
  --mb-mist: #eef2ee;
  --mb-sage-soft: #dce5dd;
  --mb-sage-pill: #c3d1c5;
  --mb-sage-card: #c2d0c4;
  --mb-border: #dde4dd;
  --mb-ink: #1b241e;
  --mb-muted: #4b584f;
  --mb-green: #224732;
  --mb-pale: #eef2ee;
  --mb-line: #dde4dd;
  --mb-serif: Georgia, "Times New Roman", serif;
  --mb-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--mb-ink);
  background: var(--mb-bg);
  font-family: var(--mb-sans);
  font-size: 16px;
  line-height: 1.65;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  overflow: clip;
}
.mb-home *, .mb-home *::before, .mb-home *::after { box-sizing: border-box; }
.mb-home .wp-block-group { margin-bottom: 0; }
.mb-home .wp-block-group__inner-container { display: contents; }
.mb-home .wp-block-group__inner-container > * { margin-block-start: 0; }
.mb-home :where(h1,h2,h3,h4,p,figure,ul,.wp-block-columns,.wp-block-buttons) { margin-top: 0; }
.mb-home :where(h1,h2,h3,h4) { color: var(--mb-ink); font-family: var(--mb-serif); font-weight: 400; font-style: normal; }
.mb-home h1 { font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.12; letter-spacing: -0.02em; }
.mb-home h2 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); line-height: 1.18; letter-spacing: -0.015em; margin-bottom: 18px; }
.mb-home h3 { font-size: 1.15rem; line-height: 1.35; }
.mb-home p { margin-bottom: 16px; }
.mb-home a { color: var(--mb-green); text-underline-offset: 0.22em; }
.mb-home a:hover { color: #142f27; }
.mb-home :is(a,button):focus-visible { outline: 3px solid #719986; outline-offset: 4px; }

.mb-home .mb-section { width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 56px 0; }
.mb-home .wp-block-columns { gap: 28px; margin-bottom: 0; }
.mb-home .wp-block-column { min-width: 0; }
.mb-home .wp-block-buttons { gap: 12px; }

/* Pill buttons matching Porcelain & Pastel Sage */
.mb-home .wp-block-button__link,
.mb-home .ps-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 600 0.875rem/1.35 var(--mb-sans);
  padding: 0.62rem 1.35rem;
  border-radius: 999px;
  background: var(--mb-sage-pill);
  color: var(--mb-ink);
  border: 1px solid #aebfb0;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.mb-home .wp-block-button__link:hover,
.mb-home .ps-pill-btn:hover { background: #b1c3b4; color: var(--mb-ink); }
.mb-home .mb-button-secondary .wp-block-button__link,
.mb-home .ps-pill-btn--white {
  background: var(--mb-white);
  border-color: var(--mb-border);
  color: var(--mb-ink);
}
.mb-home .mb-button-secondary .wp-block-button__link:hover,
.mb-home .ps-pill-btn--white:hover { background: var(--mb-mist); color: var(--mb-ink); }

/* Header */
.mb-home .mb-header-wrap {
  background: var(--mb-white);
  border-bottom: 1px solid var(--mb-border);
}
.mb-home .mb-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: var(--mb-white);
  border-bottom: 1px solid var(--mb-border);
}
.mb-home .mb-wordmark {
  font-family: var(--mb-serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 0 3px;
}
.mb-home .mb-wordmark a { text-decoration: none; color: var(--mb-ink); }
.mb-home .mb-tagline { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; color: var(--mb-muted); margin: 0; }
.mb-home .mb-header-actions { display: flex; align-items: center; gap: 24px; }
.mb-home .mb-navigation { font-size: 0.9rem; font-weight: 500; }
.mb-home .wp-block-navigation__container { gap: 22px; }
.mb-home .wp-block-navigation a { color: var(--mb-ink); text-decoration: none; }
.mb-home .wp-block-navigation a:hover { color: var(--mb-green); }
.mb-home .mb-header .wp-block-button__link { padding: 0.55rem 1.25rem; }

/* ---------- 1. Split Hero (Porcelain & Sage) ---------- */
.mb-home .ps-hero-band {
  background: linear-gradient(135deg, #f3f6f3 0%, #e9efe9 100%);
  border-bottom: 1px solid var(--mb-border);
  padding: 44px 0 52px;
}
.mb-home .ps-hero-band .mb-section { padding: 0; }
.mb-home .ps-hero-cols { align-items: center; gap: 44px; }
.mb-home .ps-hero-cols > .wp-block-column:first-child { flex-basis: 52%; }
.mb-home .ps-hero-cols > .wp-block-column:last-child { flex-basis: 48%; }
.mb-home .mb-hero-subtitle {
  font-family: var(--mb-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mb-green);
  margin-bottom: 10px;
}
.mb-home .mb-lead { color: var(--mb-muted); font-size: 1.02rem; line-height: 1.65; margin-bottom: 22px; max-width: 50ch; }
.mb-home .ps-glass-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(27, 36, 30, 0.06);
  border-radius: 16px;
  padding: 18px 22px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 100%;
}
.mb-home .ps-glass-card__steps {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--mb-ink);
}
.mb-home .ps-hero-photo { margin: 0; }
.mb-home .ps-hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: 16px;
  display: block;
  box-shadow: 0 14px 34px rgba(27, 36, 30, 0.08);
}

/* ---------- 2. Oval Skin Needs Strip ---------- */
.mb-home .ps-needs-band {
  background: var(--mb-white);
  border-bottom: 1px solid var(--mb-border);
  padding: 40px 0;
}
.mb-home .ps-needs-band .mb-section { padding: 0; }
.mb-home .ps-needs-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.mb-home .ps-need-pill {
  text-decoration: none;
  color: var(--mb-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.mb-home .ps-need-pill figure { margin: 0; width: 100%; }
.mb-home .ps-need-pill img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 999px;
  border: 1px solid var(--mb-border);
  display: block;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.mb-home .ps-need-pill:hover img { transform: translateY(-2px); border-color: var(--mb-green); }
.mb-home .ps-need-pill__label { font-size: 0.875rem; font-weight: 600; line-height: 1.3; margin: 0; }
.mb-home .ps-need-pill__label a { text-decoration: none; color: var(--mb-ink); }

/* ---------- 3. Four Pillars ---------- */
.mb-home .mb-section-intro { color: var(--mb-muted); max-width: 720px; }
.mb-home .mb-pillar-columns { gap: 18px; margin-top: 24px; }
.mb-home .mb-therapy-card {
  height: 100%;
  border-radius: 16px;
  background: var(--mb-white);
  border: 1px solid var(--mb-border);
  padding: 24px 22px;
  box-shadow: 0 6px 18px rgba(27, 36, 30, 0.03);
}
.mb-home .mb-card-number {
  font-family: var(--mb-serif);
  color: #697e6b;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 14px;
}
.mb-home .mb-therapy-card h3 { min-height: 48px; margin-bottom: 10px; }
.mb-home .mb-therapy-card p:not(.mb-card-number) { font-size: 0.9rem; line-height: 1.65; color: var(--mb-muted); }
.mb-home .mb-card-link { margin-top: 16px; margin-bottom: 0; font-weight: 600; font-size: 0.88rem; }
.mb-home .mb-card-link a { text-decoration: none; color: var(--mb-green); }

/* ---------- 4. Alternating Methods & Oxygen ---------- */
.mb-home .ps-methods-band {
  background: var(--mb-white);
  border-top: 1px solid var(--mb-border);
  border-bottom: 1px solid var(--mb-border);
  padding: 52px 0;
}
.mb-home .ps-methods-band .mb-section { padding: 0; }
.mb-home .mb-oxygen {
  padding: 28px;
  background: var(--mb-bg);
  border: 1px solid var(--mb-border);
  border-radius: 18px;
  align-items: center;
  gap: 36px;
}
.mb-home .mb-feature-image { margin: 0; }
.mb-home .mb-feature-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: 50% 28%;
  border-radius: 14px;
  display: block;
}
.mb-home .mb-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mb-green);
  margin-bottom: 8px;
}

/* ---------- 5. Method Steps & 5 Principles ---------- */
.mb-home .mb-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin: 28px 0 42px; }
.mb-home .mb-step { text-align: center; position: relative; }
.mb-home .mb-step-number {
  border-radius: 50%;
  width: 42px;
  height: 42px;
  line-height: 42px;
  margin: 0 auto 12px;
  color: var(--mb-ink);
  background: var(--mb-sage-pill);
  font-weight: 600;
  font-size: 0.9rem;
}
.mb-home .mb-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 21px;
  left: calc(50% + 30px);
  width: calc(100% - 60px);
  border-top: 1px solid var(--mb-border);
}
.mb-home .mb-step h3 { font-family: var(--mb-sans); font-size: 0.92rem; font-weight: 600; }
.mb-home .mb-principles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin: 22px 0 0; }
.mb-home .mb-principle {
  background: var(--mb-white);
  border: 1px solid var(--mb-border);
  border-radius: 14px;
  padding: 20px 18px;
}
.mb-home .mb-principle .mb-card-number { margin-bottom: 10px; font-size: 1.35rem; }
.mb-home .mb-principle h3 { font-family: var(--mb-sans); font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.mb-home .mb-principle p { font-size: 0.85rem; color: var(--mb-muted); margin-bottom: 0; }

/* ---------- 6. Offer Directory + Homecare Showcase ---------- */
.mb-home .mb-offer {
  background: var(--mb-mist);
  border: 1px solid var(--mb-border);
  border-radius: 18px;
  padding: 36px;
}
.mb-home .mb-directory-columns { gap: 48px; }
.mb-home .mb-treatment-list p { margin: 0; border-bottom: 1px solid var(--mb-border); }
.mb-home .mb-treatment-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 13px 0;
  color: var(--mb-ink);
}
.mb-home .mb-treatment-list a:hover { color: var(--mb-green); }
.mb-home .mb-treatment-list a span { font-size: 1.1rem; color: var(--mb-green); }

.mb-home .mb-homecare .wp-block-columns { margin-top: 24px; }
.mb-home .mb-homecare-card {
  background: var(--mb-white);
  border: 1px solid var(--mb-border);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
}
.mb-home .mb-homecare-card p { font-size: 0.9rem; color: var(--mb-muted); }

/* ---------- 7. Bottom Split: Ekspertka + Sage Booking Card ---------- */
.mb-home .ps-bottom-band {
  background: var(--mb-white);
  border-top: 1px solid var(--mb-border);
  border-bottom: 1px solid var(--mb-border);
  padding: 52px 0;
}
.mb-home .ps-bottom-band .mb-section { padding: 0; }
.mb-home .ps-bottom-cols { align-items: stretch; gap: 28px; }
.mb-home .ps-boutique-box {
  background: var(--mb-bg);
  border: 1px solid var(--mb-border);
  border-radius: 16px;
  padding: 28px;
  height: 100%;
}
.mb-home .mb-about-image { margin: 0 0 18px; }
.mb-home .mb-about-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: 50% 25%;
  border-radius: 12px;
  display: block;
}
.mb-home .ps-boutique-box ul { padding-left: 18px; font-size: 0.9rem; color: var(--mb-muted); }
.mb-home .ps-booking-card {
  background: var(--mb-sage-card);
  border-radius: 16px;
  padding: 36px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.mb-home .ps-booking-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0; }
.mb-home .ps-booking-card p { margin: 0; font-size: 0.95rem; color: var(--mb-ink); max-width: 44ch; }
.mb-home .ps-booking-card .wp-block-buttons { justify-content: center; margin-top: 8px; }
.mb-home .ps-booking-card .mb-button-primary .wp-block-button__link {
  background: var(--mb-white);
  border-color: var(--mb-white);
  color: var(--mb-ink);
}
.mb-home .ps-booking-card .mb-button-primary .wp-block-button__link:hover { background: var(--mb-mist); }
.mb-home .mb-location { font-size: 0.85rem; color: var(--mb-ink); opacity: 0.85; margin: 8px 0 0; }

/* ---------- 8. SEO Directory Section ---------- */
.mb-home .mb-seo { padding-top: 52px; }
.mb-home .mb-seo-category { margin-bottom: 44px; }
.mb-home .mb-seo-category h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.mb-home .mb-seo-category p { font-size: 0.95rem; color: var(--mb-muted); }
.mb-home .mb-seo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.mb-home .mb-seo-service {
  border: 1px solid var(--mb-border);
  background: var(--mb-white);
  border-radius: 16px;
  padding: 24px;
}
.mb-home .mb-seo-service h3 { font-size: 1.15rem; margin-bottom: 12px; }
.mb-home .mb-seo-service h3 a { text-decoration: none; color: var(--mb-ink); }
.mb-home .mb-seo-service h3 a:hover { color: var(--mb-green); }
.mb-home .mb-seo-service ul {
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--mb-muted);
  padding-left: 18px;
  margin-bottom: 0;
  columns: 2;
  column-gap: 18px;
}
.mb-home .mb-seo-service li { break-inside: avoid; }
.mb-home .mb-seo-service p { font-size: 0.9rem; }

/* Legacy CTA & About support for interior pages */
.mb-home .mb-cta { width: 100%; max-width: none; background: var(--mb-sage-card); color: var(--mb-ink); text-align: center; padding: 56px 32px; }
.mb-home .mb-cta h2 { max-width: 820px; margin-inline: auto; }
.mb-home .mb-cta p:not(.mb-eyebrow):not(.mb-location) { max-width: 720px; margin-inline: auto; }
.mb-home .mb-cta .wp-block-buttons { justify-content: center; margin-top: 22px; }
.mb-home .mb-cta .mb-button-primary .wp-block-button__link { background: var(--mb-white); border-color: var(--mb-white); color: var(--mb-ink); }
.mb-home .mb-cta .mb-button-secondary .wp-block-button__link { background: transparent; border-color: var(--mb-ink); color: var(--mb-ink); }
.mb-home .mb-about { border-top: 1px solid var(--mb-border); }
.mb-home .mb-about-columns { align-items: center; gap: 56px; }

/* Footer */
.mb-home .mb-footer {
  background: var(--mb-mist);
  border-top: 1px solid var(--mb-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 28px max(32px, calc((100% - 1240px) / 2));
  font-size: 0.85rem;
  color: var(--mb-muted);
}
.mb-home .mb-footer p { margin: 0; }
.mb-home .mb-footer a { color: var(--mb-ink); text-decoration: none; }
.mb-home .mb-footer a:hover { color: var(--mb-green); text-decoration: underline; }

/* ---------- /zabiegi/ Page Hero & Filter Catalogue (Porcelain & Pastel Sage) ---------- */
.mb-home .ps-page-hero {
  background: var(--mb-white);
  border-bottom: 1px solid var(--mb-border);
  padding: 40px 0;
}
.mb-home .ps-page-hero .mb-section { padding: 0; }
.mb-home .ps-page-hero__cols { align-items: center; gap: 36px; }
.mb-home .ps-page-hero__cols > .wp-block-column:first-child { flex-basis: 58%; }
.mb-home .ps-page-hero__cols > .wp-block-column:last-child { flex-basis: 42%; }
.mb-home .ps-page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.08; margin-bottom: 14px; }
.mb-home .ps-page-hero__lead { color: var(--mb-muted); max-width: 44ch; margin-bottom: 0; }
.mb-home .ps-page-hero__img { margin: 0; }
.mb-home .ps-page-hero__img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 18px;
  border: 1px solid var(--mb-border);
  display: block;
}

.mb-home .ps-catalogue-section {
  background: linear-gradient(180deg, #eef3ee 0%, var(--mb-bg) 700px);
  padding: 36px 0 64px;
}
.mb-home .ps-catalogue-section .mb-section { padding: 0; }
.mb-home .ps-treatment-filters {
  padding: 24px 28px 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--mb-border);
  box-shadow: 0 14px 45px rgba(45, 65, 48, 0.07);
}
.mb-home .ps-treatment-filters[hidden],
.mb-home .empty-state[hidden],
.mb-home .treatment-card[hidden] { display: none; }
.mb-home .ps-filters-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  font: 600 0.75rem/1.4 var(--mb-sans);
  text-transform: uppercase;
  letter-spacing: 0.17em;
  margin: 0 0 8px;
}
.mb-home .ps-filters-heading::after { content: ""; height: 1px; flex: 1; background: var(--mb-border); }
.mb-home .ps-filter-row {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding-block: 20px;
  border-bottom: 1px solid var(--mb-border);
}
.mb-home .ps-filter-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  font: italic 400 1.45rem/1.2 var(--mb-serif);
  color: var(--mb-ink);
}
.mb-home .ps-filter-number { color: #697e6b; font-size: 1.85rem; font-variant-numeric: tabular-nums; }
.mb-home .filter-pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mb-home .ps-filter-row--type .filter-pills { grid-template-columns: 1.1fr repeat(4, minmax(0, 1fr)); }
.mb-home .filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #b7c5b9;
  border-radius: 999px;
  color: var(--mb-ink);
  background: var(--mb-white);
  font: 500 0.84rem/1.35 var(--mb-sans);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.mb-home .filter-pill:hover { background: var(--mb-mist); border-color: #738b77; }
.mb-home .filter-pill[aria-pressed="true"] {
  background: var(--mb-sage-pill);
  border-color: #879e8b;
  color: var(--mb-ink);
  font-weight: 600;
}
.mb-home .filter-pill[aria-pressed="true"]::before {
  content: "";
  width: 0.45rem;
  height: 0.75rem;
  flex: 0 0 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  margin-right: 2px;
}
.mb-home .ps-filter-choice { flex-direction: column; border-radius: 16px; padding: 10px 6px; }
.mb-home .ps-filter-row--type .filter-pill[aria-pressed="true"]::before { display: none; }
.mb-home .ps-filter-row--type .filter-pill:first-child[aria-pressed="true"]::before { display: block; }
.mb-home .ps-filter-icon { width: 22px; height: 22px; flex-shrink: 0; }
.mb-home .ps-filter-choice--bankietowy .ps-filter-icon { color: #4d7559; }
.mb-home .ps-filter-choice--zluszczajacy .ps-filter-icon { color: #956026; }
.mb-home .ps-filter-choice--pielegnacyjny .ps-filter-icon { color: #566d88; }
.mb-home .ps-filter-choice--rytual .ps-filter-icon { color: #7c627f; }
.mb-home .filters-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-block: 14px;
  font-size: 0.875rem;
}
.mb-home .filters-status strong { font-weight: 500; }
.mb-home .ps-filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  background: transparent;
  color: var(--mb-ink);
  font: 500 0.875rem var(--mb-sans);
  cursor: pointer;
}
.mb-home .ps-filter-reset:hover { background: var(--mb-mist); }
.mb-home .ps-filter-guidance {
  margin: 18px auto 24px;
  text-align: center;
  font: italic 1.02rem/1.5 var(--mb-serif);
  color: var(--mb-muted);
}
.mb-home .empty-state {
  background: var(--mb-white);
  border: 1px solid var(--mb-border);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  margin-bottom: 24px;
}
.mb-home .treatments-list.ps-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.mb-home .treatment-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: var(--mb-white);
  border: 1px solid var(--mb-border);
  box-shadow: 0 6px 20px rgba(27, 36, 30, 0.03);
}
.mb-home .treatment-card__img-top {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--mb-border);
  display: block;
}
.mb-home .treatment-card__brand {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--mb-green);
}
.mb-home .treatment-card__title {
  font-family: var(--mb-serif);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0;
}
.mb-home .treatment-card__summary {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--mb-muted);
  margin: 0;
}
.mb-home .treatment-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.mb-home .badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--mb-mist);
  color: var(--mb-ink);
}
.mb-home .treatment-card__actions {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Interior pages reuse (.mb-subhero, .mb-detail-grid, etc.) ---------- */
body:has(.mb-home) .content-wrap { display: block; }
body:has(.mb-home) .primary-sidebar,
body:has(.mb-home) .secondary-sidebar { display: none; }
body.single-post:has(.mb-home) .content-container.site-container { width: 100%; max-width: none; margin-inline: 0; }
body.single-post .mb-home.alignfull { width: 100% !important; }
body.single-post:has(.mb-home) .single-entry { margin-inline: 0; }
.mb-home .mb-breadcrumb-wrap { padding-top: 18px; padding-bottom: 0; }
.mb-home .mb-breadcrumb { color: var(--mb-muted); font-size: 12px; line-height: 1.65; margin: 0; }
.mb-home .mb-breadcrumb a { text-decoration: none; }
.mb-home .mb-subhero { padding-top: 40px; padding-bottom: 48px; }
.mb-home .mb-subhero-columns { align-items: center; gap: 56px; }
.mb-home .mb-subhero-columns > .wp-block-column:first-child { flex-basis: 62%; }
.mb-home .mb-subhero-columns > .wp-block-column:last-child { flex-basis: 38%; }
.mb-home .mb-subhero h1 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.12; margin-bottom: 20px; }
.mb-home .mb-subhero .mb-eyebrow { color: var(--mb-green); margin-bottom: 14px; }
.mb-home .mb-subhero-lead { color: var(--mb-muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 24px; }
.mb-home .mb-subhero-photo { margin: 0; }
.mb-home .mb-subhero-photo img { width: 100%; height: 420px; border-radius: 18px; object-fit: cover; object-position: 50% 26%; }
.mb-home .mb-subhero-simple { max-width: 960px; padding-top: 52px; }
.mb-home .mb-subpage-content { padding-top: 12px; padding-bottom: 48px; }
.mb-home .mb-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.mb-home .mb-detail-card { background: var(--mb-white); border: 1px solid var(--mb-border); border-radius: 18px; padding: 30px; }
.mb-home .mb-detail-card h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.28; margin-bottom: 16px; }
.mb-home .mb-detail-card h3 { font-size: 1.1rem; }
.mb-home .mb-detail-card p { font-size: 0.96rem; line-height: 1.75; }
.mb-home .mb-detail-card ul,
.mb-home .mb-detail-card ol { font-size: 0.96rem; line-height: 1.75; margin: 0 0 14px; padding-left: 22px; }
.mb-home .mb-detail-card li { margin-bottom: 8px; }
.mb-home .mb-detail-card li::marker { color: var(--mb-green); font-weight: 600; }
.mb-home .mb-detail-card :last-child { margin-bottom: 0; }
.mb-home .mb-detail-wide,
.mb-home .mb-detail-faq,
.mb-home .mb-detail-contact { grid-column: 1 / -1; }
.mb-home .mb-detail-contact { background: var(--mb-mist); }
.mb-home .mb-detail-faq { padding: 18px 0; background: transparent; border: 0; }
.mb-home .mb-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.mb-home .mb-faq-card { border-radius: 16px; padding: 24px; background: var(--mb-white); border: 1px solid var(--mb-border); }
.mb-home .mb-faq-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.mb-home .mb-faq-card p { font-size: 0.9rem; color: var(--mb-muted); }
.mb-home .mb-story-panels { max-width: 960px; margin: 0 auto; }
.mb-home .mb-story-panels .mb-detail-card { padding: 36px; margin-bottom: 24px; }
.mb-home .mb-contact-panel { padding: 32px; border-radius: 18px; background: var(--mb-mist); border: 1px solid var(--mb-border); }
.mb-home .mb-contact-city { color: var(--mb-muted); }
.mb-home .mb-related { border-top: 1px solid var(--mb-border); padding-top: 38px; }
.mb-home .mb-related-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mb-home .mb-related-links p { margin: 0; }
.mb-home .mb-related-links a {
  display: block;
  height: 100%;
  border-radius: 14px;
  border: 1px solid var(--mb-border);
  background: var(--mb-white);
  padding: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  text-decoration: none;
}
.mb-home .mb-related-links a:hover { border-color: var(--mb-green); }
.mb-home .mb-kind-legal .mb-subpage-content { max-width: 960px; }

/* Responsive */
@media (max-width: 1100px) {
  .mb-home .ps-needs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mb-home .treatments-list.ps-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mb-home .ps-filter-row { grid-template-columns: 190px minmax(0, 1fr); gap: 12px; }
  .mb-home .ps-filter-row--need .filter-pills,
  .mb-home .ps-filter-row--type .filter-pills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mb-home .ps-filter-row--season .filter-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mb-home .mb-pillar-columns { flex-wrap: wrap !important; }
  .mb-home .mb-pillar-columns > .wp-block-column { flex-basis: calc(50% - 9px) !important; }
  .mb-home .mb-principles { grid-template-columns: repeat(3, 1fr); }
  .mb-home .mb-related-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 781px) {
  .mb-home .mb-section { width: calc(100% - 36px); padding: 40px 0; }
  .mb-home .mb-header { padding: 16px 18px; gap: 14px; }
  .mb-home .mb-header-actions .wp-block-buttons { display: none; }
  .mb-home .mb-navigation .wp-block-navigation__responsive-container.is-menu-open { padding: 28px; background: var(--mb-white); color: var(--mb-ink); }
  .mb-home .ps-hero-band { padding: 28px 0 36px; }
  .mb-home .ps-hero-cols { gap: 24px; }
  .mb-home .ps-needs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .mb-home .ps-need-pill img { height: 92px; }
  .mb-home .mb-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .mb-home .mb-step h3 { font-size: 0.72rem; }
  .mb-home .mb-step-number { width: 32px; height: 32px; line-height: 32px; font-size: 0.8rem; }
  .mb-home .mb-step:not(:last-child)::after { top: 16px; left: calc(50% + 20px); width: calc(100% - 36px); }
  .mb-home .mb-principles,
  .mb-home .mb-seo-grid,
  .mb-home .mb-detail-grid,
  .mb-home .mb-faq-grid,
  .mb-home .treatments-list.ps-grid-3 { grid-template-columns: 1fr; }
  .mb-home .mb-seo-service ul { columns: 1; }
  .mb-home .ps-filter-row { grid-template-columns: 1fr; gap: 12px; }
  .mb-home .ps-filter-row--need .filter-pills,
  .mb-home .ps-filter-row--type .filter-pills,
  .mb-home .ps-filter-row--season .filter-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mb-home .ps-page-hero__img img { height: 190px; }
  .mb-home .mb-footer { flex-direction: column; align-items: flex-start; padding: 24px 18px; }
  .mb-home .mb-subhero-columns > .wp-block-column { flex-basis: 100% !important; }
  .mb-home .mb-subhero-photo img { height: 340px; }
  .mb-home .mb-related-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .mb-home *, .mb-home *::before { transition: none !important; }
}
