/* Health Hub article (templates/article.php). Builds on menschem-tokens.css and health-hub.css. */
.mart { --mart-col: 900px; --mart-card: 776px; --mart-wide: 1040px; }
.mart [id] { scroll-margin-top: 120px; }

/* ---- Header --------------------------------------------------------- */
.mart .mart-head { padding: 40px var(--mc-gutter) 0; }
.mart .mart-head__inner { max-width: var(--mart-col); margin: 0 auto; text-align: center; }
.mart .mart-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; font-size: 13px; color: var(--mc-muted); text-align: left; }
.mart .mart-crumbs a:hover { color: var(--mc-navy); text-decoration: underline; }
.mart .mart-head__pill { margin: 0 0 18px; }
.mart .mart-head__pill a { display: inline-block; padding: 6px 14px; border-radius: var(--mc-pill); background: var(--mc-tint-sage); color: var(--mc-navy); font-size: 12.5px; font-weight: 600; }
.mart h1.mart-title { max-width: 14.5em; margin: 0 auto 18px; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.1; text-wrap: balance; }
.mart .mart-standfirst { max-width: 600px; margin: 0 auto 18px; font-size: 17.5px; line-height: 1.6; color: var(--mc-body); text-wrap: pretty; }
.mart .mart-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 0; margin: 0; font-size: 13px; color: var(--mc-muted); }
.mart .mart-meta span + span::before { content: "·"; margin: 0 10px; }

.mart .mart-hero { max-width: var(--mart-col); margin: 30px auto 0; }
.mart .mart-hero__media { aspect-ratio: 21 / 10; border-radius: var(--mc-radius-lg); overflow: hidden; background: var(--mc-tint-mist); }
.mart .mart-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.mart .mart-credit { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px 28px; max-width: var(--mart-card); margin: -26px auto 0; padding: 18px 26px; border-radius: var(--mc-radius); background: #fffdf9; box-shadow: 0 1px 2px rgba(29, 46, 72, .05), 0 14px 34px rgba(29, 46, 72, .09); text-align: left; }
.mart .mart-hero--noimg .mart-credit { margin-top: 0; }
.mart .mart-credit__who { display: flex; align-items: center; gap: 16px; min-width: 0; }
.mart .mart-credit__avatar { flex: none; width: 48px; height: 48px; max-width: none; border-radius: 50%; object-fit: cover; object-position: center top; background: var(--mc-tint-mist); }
.mart .mart-credit__avatar--initials { display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; letter-spacing: .04em; color: var(--mc-navy); }
.mart .mart-credit__text { display: flex; flex-direction: column; margin: 0; }
.mart .mart-credit__label { margin-bottom: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--mc-muted); }
.mart .mart-credit__name { font-size: 15.5px; font-weight: 700; color: var(--mc-navy); }
.mart a.mart-credit__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.mart .mart-credit__job { font-size: 13px; color: var(--mc-muted); }
.mart .mart-credit__reg { flex: none; display: flex; align-items: center; gap: 12px; padding-left: 28px; border-left: 1px solid var(--mc-line); color: var(--mc-navy); }
.mart .mart-credit__reg .mhub__icon { color: var(--mc-green-ink); }
.mart .mart-credit__reg > span { display: flex; flex-direction: column; font-size: 12.5px; color: var(--mc-muted); }
.mart .mart-credit__reg strong { font-size: 13.5px; font-weight: 700; color: var(--mc-navy); }
.mart .mart-credit__reg:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.mart .mart-trust-note { max-width: var(--mart-card); margin: 16px auto 0; font-size: 12.5px; line-height: 1.55; color: var(--mc-muted); text-align: left; }

/* ---- Layout: contents + body ---------------------------------------- */
.mart .mart-layout { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 60px; max-width: calc(1002px + 2 * var(--mc-gutter)); margin: 44px auto 0; padding: 0 var(--mc-gutter) 72px; align-items: start; }
.mart .mart-layout--notoc { grid-template-columns: minmax(0, 724px); justify-content: center; }
.mart .mart-toc { position: sticky; top: 112px; }
.admin-bar .mart .mart-toc { top: 144px; }
.mart .mart-toc__card { max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.admin-bar .mart .mart-toc__card { max-height: calc(100vh - 172px); }
.mart .mart-toc__card { padding: 20px 20px 18px; border-radius: var(--mc-radius); background: var(--mc-paper-2); }
.mart .mart-toc__title { margin: 0 0 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mc-navy); }
.mart .mart-toc__list { list-style: none; margin: 0; padding: 0; }
.mart .mart-toc__list li { border-bottom: 1px solid var(--mc-line); }
.mart .mart-toc__list a { display: block; padding: 11px 0; font-size: 13.5px; line-height: 1.4; color: var(--mc-body); }
.mart .mart-toc__list a:hover, .mart .mart-toc__list a.is-active { color: var(--mc-navy); font-weight: 700; }
.mart .mart-toc__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--mc-navy); }
.mart .mart-toc__back:hover { text-decoration: underline; text-underline-offset: 3px; }

.mart .mart-short { margin: 0 0 40px; padding: 26px 30px 12px; border-left: 3px solid #a9b8a8; border-radius: 4px var(--mc-radius) var(--mc-radius) 4px; background: var(--mc-tint-sage); }
.mart .mart-short h2 { margin: 0 0 14px; font-size: 27px; line-height: 1.2; }
.mart .mart-short p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.7; color: var(--mc-body); }

/* ---- Body copy ------------------------------------------------------ */
.mart .mart-body, .mart .mart-short { font-family: var(--mc-font-body); color: var(--mc-body); }
.mart .mart-body > :first-child { margin-top: 0; }
.mart .mart-body p { margin: 0 0 18px; font-size: 16px; line-height: 1.75; }
.mart .mart-body h2 { margin: 46px 0 16px; font-family: var(--mc-font-display); font-size: clamp(26px, 2.6vw, 31px); font-weight: 400; line-height: 1.2; letter-spacing: -.005em; color: var(--mc-navy); }
.mart .mart-body h3 { margin: 30px 0 10px; font-family: var(--mc-font-head); font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--mc-navy); }
.mart .mart-body h4 { margin: 24px 0 8px; font-family: var(--mc-font-head); font-size: 16px; font-weight: 700; color: var(--mc-navy); }
.mart .mart-body a, .mart .mart-short a { color: var(--mc-navy); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(29, 46, 72, .35); text-underline-offset: 3px; }
.mart .mart-body a:hover, .mart .mart-short a:hover { text-decoration-color: currentColor; }
.mart .mart-body ul, .mart .mart-body ol { margin: 0 0 20px; padding-left: 20px; font-size: 16px; line-height: 1.7; }
.mart .mart-body li { margin-bottom: 10px; }
.mart .mart-body li::marker { color: var(--mc-faint); }
.mart .mart-body strong { color: var(--mc-navy); }
.mart .mart-body img { border-radius: var(--mc-radius); }
.mart .mart-body figure { margin: 28px 0; }
.mart .mart-body figcaption { margin-top: 8px; font-size: 13px; color: var(--mc-muted); }
.mart .mart-body table { width: 100%; margin: 0 0 24px; border-collapse: collapse; font-size: 14.5px; }
.mart .mart-body th, .mart .mart-body td { padding: 10px 12px; border: 1px solid var(--mc-line); text-align: left; background: transparent; }
.mart .mart-body th { background: var(--mc-paper-2); color: var(--mc-navy); }

/* Short plain lists: two-column checklist */
.mart .mart-body ul.mart-checks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; margin: 4px 0 24px; padding: 0; }
.mart .mart-body ul.mart-checks li { margin: 0; padding: 12px 14px 12px 42px; border-radius: var(--mc-radius-sm); background-color: var(--mc-paper-2); background-repeat: no-repeat; background-position: 14px 13px; background-size: 18px 18px; font-size: 14.5px; line-height: 1.45; color: var(--mc-navy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d6a54' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m8.5 12 2.4 2.4 4.6-4.8'/%3E%3C/svg%3E"); }

/* "1. Title" sub-headings: numbered rows */
.mart .mart-step { display: grid; grid-template-columns: 46px minmax(0, 1fr); padding: 20px 0 6px; border-bottom: 1px solid var(--mc-line); }
.mart .mart-step__n { font-family: var(--mc-font-display); font-size: 25px; line-height: 1.1; color: #8ea08f; }
.mart .mart-body .mart-step h3 { margin: 2px 0 6px; font-size: 16.5px; }
.mart .mart-body .mart-step p { margin-bottom: 14px; font-size: 14.5px; line-height: 1.65; }
.mart .mart-body .mart-step + h2 { margin-top: 50px; }

/* Quote block = callout */
.mart .mart-body blockquote { margin: 26px 0; padding: 18px 22px 4px 54px; border: 0; border-radius: var(--mc-radius); background-color: var(--mc-tint-sage); background-repeat: no-repeat; background-position: 20px 19px; background-size: 20px 20px; font-style: normal; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d6a54' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v6c0 4.3 3 7.6 7 9 4-1.4 7-4.7 7-9V6l-7-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.mart .mart-body blockquote p { margin-bottom: 14px; font-size: 14.5px; line-height: 1.6; }

/* Note on your health */
.mart .mart-note { margin-top: 44px; padding: 26px 0 28px; border-top: 1px solid var(--mc-line); border-bottom: 1px solid var(--mc-line); }
.mart .mart-note h2 { margin: 0 0 8px; font-family: var(--mc-font-head); font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--mc-navy); }
.mart .mart-note p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.6; color: var(--mc-muted); }
.mart .mart-note__link { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--mc-navy); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Treatments ----------------------------------------------------- */
.mart .mart-treat { padding: 64px 0 60px; background: var(--mc-tint-mist); }
.mart .mart-treat .mhub__wrap,
.mart .mart-related .mhub__wrap { max-width: calc(var(--mart-wide) + 2 * var(--mc-gutter)); }
.mart .mart-treat__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.mart .mart-treat__head h2 { margin: 0 0 12px; font-size: clamp(28px, 3vw, 37px); line-height: 1.12; }
.mart .mart-treat__text { max-width: 560px; margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--mc-body); }
.mart .mart-treat__all { flex: none; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--mc-navy); }
.mart .mart-treat__all span { text-decoration: underline; text-underline-offset: 4px; }
.mart .mart-treat__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mart .mart-product { display: flex; flex-direction: column; border-radius: var(--mc-radius); overflow: hidden; background: #fffdf9; color: var(--mc-navy); transition: transform .2s, box-shadow .2s; }
.mart .mart-product:hover { transform: translateY(-2px); box-shadow: var(--mc-shadow); }
.mart .mart-product__media { position: relative; display: flex; align-items: center; justify-content: center; height: 150px; padding: 16px; background: linear-gradient(180deg, #fffdf9 0 46%, var(--mc-paper-2) 46% 100%); }
.mart .mart-product__img { width: auto; max-width: 70%; height: 100%; max-height: 118px; object-fit: contain; }
.mart .mart-product__badge { position: absolute; top: 12px; right: 12px; padding: 5px 11px; border-radius: var(--mc-pill); background: var(--mc-tint-sage); font-size: 11.5px; font-weight: 600; color: var(--mc-navy); }
.mart .mart-product__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.mart .mart-product__kind { margin-bottom: 6px; font-size: 12.5px; color: var(--mc-muted); }
.mart .mart-product__name { margin-bottom: 8px; font-family: var(--mc-font-head); font-size: 19px; font-weight: 700; line-height: 1.25; }
.mart .mart-product__line { font-size: 14px; line-height: 1.5; color: var(--mc-body); }
.mart .mart-product__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; font-size: 13.5px; font-weight: 700; }
.mart .mart-treat__note { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0 0; padding: 14px 18px; border-radius: 10px; background: rgba(255, 253, 249, .7); font-size: 13px; line-height: 1.55; color: var(--mc-body); }
.mart .mart-treat__note .mhub__icon { width: 18px; height: 18px; margin-top: 1px; color: var(--mc-green-ink); }
.mart .mart-treat__note strong { color: var(--mc-navy); }

/* ---- Related -------------------------------------------------------- */
.mart .mart-related { padding: 60px 0 76px; background: var(--mc-paper-2); }
.mart h2.mart-related__title { margin: 0 0 30px; font-size: clamp(28px, 3vw, 37px); line-height: 1.12; }

/* ---- Responsive ----------------------------------------------------- */
@media (max-width: 960px) {
  .mart .mart-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: calc(724px + 2 * var(--mc-gutter)); }
  .mart .mart-toc, .admin-bar .mart .mart-toc { position: static; }
  .mart .mart-toc__card, .admin-bar .mart .mart-toc__card { max-height: none; overflow: visible; }
  .mart .mart-treat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mart .mart-treat__head { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 700px) {
  .mart .mart-head { padding-top: 24px; }
  .mart .mart-crumbs { margin-bottom: 22px; }
  .mart .mart-hero__media { aspect-ratio: 16 / 10; }
  .mart .mart-credit { flex-direction: column; align-items: flex-start; margin: -20px 12px 0; padding: 16px 18px; }
  .mart .mart-credit__reg { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--mc-line); width: 100%; }
  .mart .mart-trust-note { margin-left: 12px; margin-right: 12px; }
  .mart .mart-layout { margin-top: 32px; padding-bottom: 52px; }
  .mart .mart-short { padding: 22px 20px 8px; }
  .mart .mart-body ul.mart-checks { grid-template-columns: 1fr; }
  .mart .mart-step { grid-template-columns: 40px minmax(0, 1fr); }
  .mart .mart-treat { padding: 48px 0; }
  .mart .mart-treat__grid { grid-template-columns: 1fr; }
  .mart .mart-related { padding: 48px 0 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .mart .mart-product { transition: none; }
}

/* ---- Elementor-built article bodies that could not be unwrapped ------- */
.mart .mart-body .elementor-widget-text-editor,
.mart .mart-body .elementor-widget-text-editor p,
.mart .mart-body .elementor-widget-text-editor li { color: inherit; font-family: inherit; }
.mart .mart-body .elementor .e-con, .mart .mart-body .elementor .e-con-inner { padding-left: 0; padding-right: 0; max-width: none; }

