/* Category pages (Wellness, Nutrition, Fitness, Weight Management, Sleep & Recovery, Healthy Living).
   Two layout families share these rules:
   A = Wellness / Nutrition  (side-image topic cards, editor's picks band, review steps, lead magnet)
   B = Fitness / Weight Management / Sleep & Recovery / Healthy Living (photo topic cards, product + compare panels) */

/* ---------- Hero ---------- */
.cat-hero .hero__inner { min-height: clamp(360px, 31vw, 450px); }
.cat-hero .breadcrumb { margin-bottom: .6rem; }
.cat-hero .eyebrow { margin-bottom: .35rem; color: var(--muted); }
.cat-hero__title {
  font-size: clamp(2.5rem, 1.5rem + 4vw, 4.3rem); font-weight: 800; letter-spacing: -.035em;
  color: var(--teal-900); margin: 0 0 .2em; line-height: 1.02;
}
.cat-hero__tagline { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.08rem, 1rem + .5vw, 1.32rem); color: var(--ink); margin: 0 0 .55rem; }
.cat-hero .hero__lead { max-width: 33rem; margin-bottom: 0; }
.cat-hero .hero__actions { margin-top: 1.25rem; }
.cat-hero .hero__checks { margin-top: 1.1rem; gap: .5rem 1.25rem; }
@media (min-width: 901px) { .cat-hero .hero__copy { max-width: 640px; } }
/* Long H1 (Weight Management): one line on desktop, like the design */
@media (min-width: 901px) {
  .cat-hero--wide .hero__copy { max-width: 700px; }
  .cat-hero--wide .cat-hero__title { font-size: clamp(2.5rem, 1.2rem + 3.1vw, 3.7rem); white-space: nowrap; }
  .cat-hero--wide .hero__lead { max-width: 37rem; }
}
.cat-hero .hero__checks .icon { width: 1.35em; height: 1.35em; }
.cat-hero__script {
  font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.6rem); text-align: center;
  text-shadow: 0 0 12px rgba(255, 255, 255, .9), 0 0 3px rgba(255, 255, 255, .8);
}
.cat-hero__script--panel {
  padding: 1.6rem 1.4rem; border-radius: 50%; text-shadow: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, .88) 70%, rgba(255, 255, 255, 0));
}
.cat-hero__script .heart { color: var(--orange-500); }

/* Trust row under the hero CTA (family B) */
.cat-trust { list-style: none; padding: 0; margin: 1.35rem 0 0; display: flex; flex-wrap: wrap; gap: .85rem 1.6rem; }
.cat-trust li { display: flex; align-items: center; gap: .6rem; font-size: .84rem; line-height: 1.3; color: var(--text); }
.cat-trust strong { display: block; color: var(--ink); font-weight: 600; }
.cat-trust__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green-700); color: #fff; }
.cat-trust__icon .icon { width: 20px; height: 20px; }
/* Healthy Living design: soft green icon discs */
.cat-hero--light-trust .cat-trust__icon { background: var(--green-100); color: var(--green-700); }

/* ---------- Section heads ---------- */
.cat-section { padding-block: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem); }
.cat-section + .cat-section { padding-top: 0; }
.cat-head h2 { display: flex; align-items: center; gap: .55rem; }
.cat-head__icon { width: 1.05em; height: 1.05em; color: var(--green-600); flex: none; }
.cat-head--line h2::after { content: ""; flex: none; width: 52px; height: 2px; margin-left: .6rem; background: var(--green-600); border-radius: 2px; }
.cat-band { background: var(--mint-50); border-block: 1px solid var(--mint-100); }
.cat-band.cat-section + .cat-section, .cat-section + .cat-band.cat-section { padding-top: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem); }

/* ---------- Topic cards, family A: copy left, faded photo right ---------- */
.cat-topics { list-style: none; padding: 0; margin: 0; }
.topic-card { min-height: 220px; background: linear-gradient(180deg, #fff, #fbfdfb); }
.topic-card .card__body { position: relative; z-index: 1; padding: 1rem .95rem; gap: .35rem; }
.topic-card__img { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; }
.topic-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .3) 35%, #000 75%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .3) 35%, #000 75%);
}
.topic-card .card__title { font-size: .98rem; text-shadow: 0 0 6px #fff, 0 0 2px #fff; }
.topic-card .card__text { font-size: .8rem; color: var(--text); max-width: 64%; text-shadow: 0 0 6px #fff, 0 0 3px #fff, 0 0 1px #fff; }
.topic-card .circle-arrow { margin-top: auto; background: rgba(255, 255, 255, .9); }
.topic-icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); margin-bottom: .35rem; }
.topic-icon .icon { width: 24px; height: 24px; }
.topic-icon--teal { background: var(--teal-100); color: var(--teal-800); }
.topic-icon--orange { background: var(--orange-100); color: var(--orange-600); }
.topic-icon--pink { background: #fde3ec; color: #c2366b; }
.topic-icon--blue { background: #e1edfb; color: #2563b0; }
@media (max-width: 600px) {
  .topic-card__img { width: 52%; opacity: .75; }
  .topic-card .card__text { max-width: none; }
}

/* ---------- Topic cards, family B: photo on top, icon badge ---------- */
.topic-photo .card__media { aspect-ratio: 16 / 10; }
.topic-photo .card__body { align-items: center; text-align: center; padding-top: 0; gap: .3rem; }
.topic-photo__icon {
  width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 2;
  background: #fff; color: var(--green-700); box-shadow: 0 2px 8px rgba(15, 47, 54, .15); border: 2px solid #fff;
}
.topic-photo__icon .icon { width: 22px; height: 22px; }
.topic-photo .card__title { font-size: .95rem; margin-top: .3rem; }
.topic-photo .card__text { font-size: .8rem; }
.topic-photo--left .card__body { align-items: flex-start; text-align: left; }
.topic-photo--left .topic-photo__icon { margin-left: .1rem; }
.topic-photo--left .circle-arrow { margin-top: auto; }
.topic-photo--inline .card__body { align-items: flex-start; text-align: left; padding-top: .85rem; }
.topic-photo--inline .topic-photo__head { display: flex; align-items: center; gap: .5rem; }
.topic-photo--inline .topic-photo__icon { margin-top: 0; width: 34px; height: 34px; background: var(--green-100); border: 0; box-shadow: none; }
.topic-photo--inline .topic-photo__icon .icon { width: 18px; height: 18px; }
.topic-photo--inline .card__title { margin-top: 0; font-size: .9rem; }

/* ---------- Article / guide cards ---------- */
.guide-card .card__media { aspect-ratio: 2 / 1; }
.guide-card .card__body { padding: 1rem 1.15rem 1.2rem; gap: .5rem; }
.guide-card .card__title { font-size: 1.12rem; line-height: 1.28; }
.guide-card .card__text { font-size: .88rem; }
.guide-card .badge--below { align-self: flex-start; margin-top: -.15rem; }
.badge--pink { background: #d6457d; }
.badge--sm { font-size: .64rem; padding: .22rem .55rem; border-radius: var(--radius-pill); }
.meta-row .icon { width: 1em; height: 1em; }
.guide-card .card__foot .meta-row { font-size: .8rem; gap: .5rem 1.1rem; }
.circle-arrow--fill { background: var(--green-100); border-color: var(--green-100); }

/* ---------- Editor's picks (family A) ---------- */
.cat-picks { list-style: none; padding: 0; margin: 0; }
.pick-card { flex-direction: row; align-items: center; gap: .85rem; padding: .7rem; }
.pick-card__img { flex: 0 0 44%; aspect-ratio: 4 / 3.2; border-radius: var(--radius-sm); overflow: hidden; background: var(--mint-50); }
.pick-card__img img { width: 100%; height: 100%; object-fit: cover; }
.pick-card .card__body { padding: 0; gap: .4rem; }
.pick-card .card__title { font-size: .9rem; line-height: 1.3; }
.pick-card .link-arrow { font-size: .8rem; }

/* ---------- Product cards ---------- */
.cat-products { list-style: none; padding: 0; margin: 0; }
.cat-product .card__media { aspect-ratio: 5 / 4; }
.cat-product .card__media img { padding: 0; object-fit: cover; }
.cat-product .card__body { align-items: center; text-align: center; gap: .35rem; }
.cat-product .card__text { font-size: .82rem; }
.cat-product .rating, .mini-product .rating { flex-wrap: wrap; justify-content: center; }
.cat-notice { margin: 1rem 0 0; }
.cat-notice a, .cat-disclosure a { color: var(--teal-800); text-decoration: underline; text-underline-offset: 2px; }
.cat-disclosure { display: flex; align-items: flex-start; gap: .45rem; margin: -.4rem 0 1rem; }
.cat-disclosure .icon { flex: none; width: 1.05em; height: 1.05em; margin-top: .15em; color: var(--teal-700, var(--teal-800)); }
.cat-product .btn .icon { width: 1em; height: 1em; }
.badge--teal-dark { background: var(--teal-800); }

/* Mini product cards inside the family-B products panel */
.mini-products { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); }
.mini-product { text-align: center; }
.mini-product .card__media { aspect-ratio: 1; background: #fff; }
.mini-product .card__media img { object-fit: cover; }
.mini-product .card__media .badge { left: .5rem; top: .5rem; z-index: 1; }
.guide-card .card__media .badge--sm { left: .75rem; top: .75rem; z-index: 1; }
.mini-product .card__body { align-items: center; padding: .4rem .6rem .8rem; gap: .3rem; }
.mini-product .card__title { font-size: .86rem; line-height: 1.25; }
.mini-product .card__text { font-size: .76rem; }
.mini-product .rating { flex-wrap: wrap; justify-content: center; gap: .2rem .35rem; font-size: .72rem; }
.mini-product .stars .icon { width: 12px; height: 12px; }
.mini-product .btn { min-height: 34px; padding: .4rem .75rem; font-size: .8rem; border-radius: var(--radius-xs); }

/* ---------- Family B: two-column panels ---------- */
.cat-split { display: grid; gap: clamp(1rem, .8rem + 1vw, 1.5rem); align-items: stretch; }
@media (min-width: 1000px) {
  .cat-split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .cat-split--latest { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: center; }
}
.cat-panel { border-radius: var(--radius-lg); padding: clamp(1rem, .8rem + 1vw, 1.5rem); background: var(--mint-50); border: 1px solid var(--mint-100); }
.cat-panel--plain { background: #fff; border-color: var(--line); box-shadow: var(--shadow-xs); }
.cat-panel--sky { background: #eef5f9; border-color: #dbe8f0; }
.cat-panel__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .35rem 1rem; margin-bottom: 1rem; }
.cat-panel__head h2 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); margin: 0; display: flex; align-items: center; gap: .55rem; }
.cat-panel__head p { flex-basis: 100%; margin: 0; font-size: .86rem; color: var(--muted); }
.cat-panel__head .link-arrow { font-size: .8rem; padding-top: .3rem; }

.compare-feature { display: grid; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; align-items: center; }
@media (min-width: 560px) { .compare-feature { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } .compare-feature--media-left .compare-feature__media { order: -1; } }
.compare-feature__label { display: block; font-size: .76rem; font-weight: 600; color: var(--green-700); margin-bottom: .2rem; }
.compare-feature h3 { font-size: 1.12rem; margin-bottom: .55rem; }
.compare-feature p { font-size: .84rem; color: var(--muted); margin-bottom: .7rem; }
.compare-feature .check-list { gap: .3rem; margin-bottom: .9rem; }
.compare-feature .check-list li { font-size: .82rem; }
.compare-feature .check-list .icon { width: 1.05em; height: 1.05em; margin-top: .12rem; }
.compare-feature__media { border-radius: var(--radius-sm); overflow: hidden; height: 100%; min-height: 200px; }
.compare-feature__media img { width: 100%; height: 100%; object-fit: cover; }

/* Latest articles (family B, compact) */
.latest-mini { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.latest-mini .card__media { aspect-ratio: 16 / 10; }
.latest-mini .card__body { padding: .65rem .75rem .8rem; gap: .4rem; }
.latest-mini .card__title { font-size: .86rem; line-height: 1.3; }
.latest-mini .meta-row { font-size: .72rem; gap: .2rem .7rem; }
.cat-latest-head { margin-bottom: 1rem; }
.cat-latest-head h2 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); }

/* Newsletter panel (family B) */
.cat-news { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(1.1rem, .9rem + 1vw, 1.6rem); background: linear-gradient(120deg, #eef6ea, #f8fbf6 70%); border: 1px solid var(--mint-100); }
.cat-news__head { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; position: relative; z-index: 1; }
.cat-news__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--green-700); color: #fff; }
.cat-news__icon .icon { width: 22px; height: 22px; }
.cat-news h2 { font-size: clamp(1.1rem, 1rem + .5vw, 1.32rem); margin: 0 0 .3rem; }
.cat-news p { font-size: .86rem; color: var(--text); margin: 0; }
.cat-news .inline-form { position: relative; z-index: 1; }
.cat-news .inline-form .input-wrap { flex-basis: 200px; }
.cat-news .check-inline { position: relative; z-index: 1; list-style: none; padding: 0; margin: .8rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .8rem; color: var(--ink); }
.cat-news .check-inline li { display: inline-flex; align-items: center; gap: .35rem; }
.cat-news .check-inline .icon { color: var(--green-600); width: 1.1em; height: 1.1em; }
.cat-news .leaf-deco { width: clamp(60px, 7vw, 90px); opacity: .55; }

/* ---------- Family A: latest article strip ---------- */
.latest-card .card__media { aspect-ratio: 2.4 / 1; }
.latest-card .card__media .badge { left: .6rem; top: .6rem; }
.latest-card .card__body { padding: .8rem .95rem .9rem; gap: .35rem; }
.latest-card .card__title { font-size: .92rem; line-height: 1.3; }
.latest-card .card__foot { padding-top: .2rem; font-size: .76rem; color: var(--muted); }

/* ---------- Family A: review steps band ---------- */
.cat-steps .step__icon { background: var(--green-700); color: #fff; }
.cat-steps .step h3 { font-size: .98rem; }
@media (min-width: 1000px) {
  .cat-steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .cat-steps .step { position: relative; }
  .cat-steps .step:not(:last-child)::after {
    content: ""; position: absolute; right: -20px; top: 24px; width: 10px; height: 10px;
    border-top: 2px solid var(--green-600); border-right: 2px solid var(--green-600); transform: rotate(45deg);
  }
}
.cat-steps__more { margin: 1.25rem 0 0; }

/* ---------- Family A: lead magnet (book + copy) ---------- */
@media (min-width: 960px) { .cat-lead { grid-template-columns: 230px minmax(0, 1fr); padding-right: clamp(2rem, 8vw, 9rem); } }
.cat-lead .book__title { font-size: 1.15rem; }
.cat-lead .eyebrow { margin-bottom: .35rem; }
.cat-lead h2 { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.85rem); }
.cat-lead .inline-form { max-width: 620px; }
.cat-lead .leaf-deco--left { left: -24px; bottom: -18px; transform: rotate(-12deg); opacity: .8; }
@media (max-width: 959px) { .cat-lead .leaf-deco { display: none; } }

@media (min-width: 1100px) {
  .cat-products.grid--4, .cat-picks.grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* =====================================================================
   Push to 95: density and layout matched to the designs (1280 px reference).
   .cat-main--a = Wellness / Nutrition
   .cat-main--b = Fitness / Weight Management / Sleep & Recovery / Healthy Living
   ===================================================================== */

/* ---- Section rhythm: the designs stack sections about 20-30 px apart */
.cat-section { padding-block: clamp(1.1rem, .9rem + .6vw, 1.3rem); }
.cat-band.cat-section + .cat-section, .cat-section + .cat-band.cat-section { padding-top: clamp(1.1rem, .9rem + .6vw, 1.3rem); }
.cat-head { margin-bottom: clamp(.85rem, .7rem + .4vw, 1.05rem); }
.cat-head h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 1.95rem); }

/* ---- Hero: height follows the copy, like the designs */
.cat-hero .hero__inner { min-height: 0; padding-block: clamp(1.25rem, .9rem + 1.4vw, 1.9rem); }
.cat-hero .breadcrumb { margin-bottom: .45rem; }
.cat-hero .hero__actions { margin-top: 1.1rem; }
.cat-trust { margin-top: 1.15rem; }
.cat-main--a .cat-hero .hero__inner { padding-block: clamp(1.1rem, .8rem + 1.1vw, 1.6rem); }
.cat-main--a .cat-hero__title { margin-bottom: .08em; }
.cat-main--a .cat-hero__tagline { margin-bottom: .4rem; }
.cat-main--a .cat-hero .hero__lead { font-size: clamp(.95rem, .9rem + .2vw, 1.02rem); line-height: 1.55; max-width: 35rem; }
.cat-main--a .cat-hero .hero__checks { margin-top: .85rem; font-size: .8rem; }

/* Fitness / Sleep design: plain green trust icons, second line bold */
.cat-hero--trust-b .cat-trust__icon { background: none; color: var(--green-700); width: 36px; height: 36px; }
.cat-hero--trust-b .cat-trust__icon .icon { width: 30px; height: 30px; }
.cat-hero--trust-b .cat-trust li > span:last-child { font-weight: 700; color: var(--ink); }
.cat-hero--trust-b .cat-trust strong { font-weight: 400; color: var(--text); }

/* Weight Management design: one row, outlined icons, thin dividers */
@media (min-width: 1000px) {
  .cat-hero--trust-row .cat-trust { flex-wrap: nowrap; gap: 0; width: max-content; max-width: 820px; }
  .cat-hero--trust-row .cat-trust li + li { border-left: 1px solid rgba(15, 47, 54, .18); margin-left: 1rem; padding-left: 1rem; }
}
.cat-hero--trust-row .cat-trust li { font-size: .76rem; }
.cat-hero--trust-row .cat-trust strong { font-size: .84rem; }
.cat-hero--trust-row .cat-trust__icon { background: #fff; color: var(--teal-800); border: 2px solid var(--teal-800); width: 38px; height: 38px; }

/* Fitness / Sleep design: photo in a framed right-hand panel, script in a white leaf panel */
.cat-hero__leaf { display: none; }
@media (min-width: 900px) {
  .cat-hero--split { background: linear-gradient(100deg, #fbfdfa 0%, #f2f8ef 42%, #e9f3e5 100%); }
  .cat-hero--split .hero__bg { left: 45%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%); mask-image: linear-gradient(90deg, transparent 0, #000 9%); }
  .cat-hero--split .hero__bg::after { display: none; }
  .cat-hero--split .hero__bg img { object-position: 62% 38%; }
  .cat-hero--split .hero__copy { max-width: 620px; }
  .cat-hero--split .cat-hero__title { font-size: clamp(2.6rem, 1.4rem + 3.2vw, 3.9rem); white-space: nowrap; }
  .cat-hero--split .hero__lead { max-width: 31rem; }
  .cat-hero__leaf { display: block; position: absolute; z-index: 1; pointer-events: none; opacity: .55; }
  .cat-hero__leaf--edge { left: calc(45% - 54px); top: -26px; width: 132px; transform: rotate(-150deg) scaleX(-1); }
  .cat-hero__leaf--edge2 { left: calc(45% - 30px); bottom: -34px; width: 110px; transform: rotate(8deg); opacity: .45; }
  .cat-hero__leaf--corner { left: -46px; bottom: -48px; width: 104px; opacity: .3; }
  .cat-hero--split .cat-hero__script--panel {
    top: 0; bottom: 0; right: 0; width: clamp(160px, 15vw, 200px); display: grid; place-content: center;
    padding: 1rem .9rem 1rem 1.4rem; border-radius: 60% 0 0 60% / 50% 0 0 50%;
    background: linear-gradient(90deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .95) 30%);
    font-size: clamp(1.4rem, .9rem + 1.1vw, 1.8rem); line-height: 1.12; text-align: center; color: var(--teal-900); transform: none;
  }
}

/* ---- Family B topic cards */
.topic-photo .card__body { padding: 0 .7rem .8rem; gap: .2rem; }
.topic-photo__icon { width: 42px; height: 42px; margin-top: -21px; }
.topic-photo .card__title { font-size: .92rem; margin-top: .25rem; }
.topic-photo .card__text { font-size: .76rem; line-height: 1.38; }
.topic-photo--left .circle-arrow { width: 28px; height: 28px; }
.topic-photo--inline .card__body { padding-top: .7rem; }

/* ---- Featured guide cards: wide, short photos like the designs */
.cat-main--b .guide-card .card__media { aspect-ratio: 2.65 / 1; }
.cat-main--a .guide-card .card__media { aspect-ratio: 2.75 / 1; }
.guide-card .card__body { padding: .8rem 1rem .95rem; gap: .35rem; }
.guide-card .card__title { font-size: 1.06rem; line-height: 1.25; }
.guide-card .card__text { font-size: .84rem; line-height: 1.48; }
.guide-card .card__foot { padding-top: .25rem; }

/* ---- Family B product + compare panels */
.cat-panel { padding: clamp(.9rem, .7rem + .8vw, 1.2rem); }
.cat-panel__head { margin-bottom: .75rem; gap: .2rem .6rem; align-items: baseline; }
.cat-panel__head h2 { font-size: clamp(1.1rem, 1rem + .35vw, 1.22rem); }
.cat-panel__head .link-arrow { white-space: nowrap; padding-top: 0; }
.cat-panel__head p { font-size: .82rem; }
.mini-products { gap: .6rem; }
.mini-product .card__media { aspect-ratio: 4 / 3; }
.mini-product .card__media img { object-fit: cover; }
.mini-product .card__body { padding: .35rem .5rem .65rem; gap: .25rem; }
.mini-product .card__title { font-size: .84rem; }
.mini-product .rating { gap: .1rem .3rem; font-size: .72rem; }
.rating__val { white-space: nowrap; }
.mini-product .card__foot { padding-top: .3rem; }
.mini-product .btn { min-height: 32px; padding: .3rem .6rem; }
.cat-panel .cat-notice { font-size: .74rem; line-height: 1.45; margin-top: .7rem; }
.compare-feature { padding: .85rem; gap: .85rem; }
.compare-feature h3 { font-size: 1.06rem; margin-bottom: .4rem; }
.compare-feature p { font-size: .8rem; margin-bottom: .5rem; }
.compare-feature .check-list { gap: .12rem; margin-bottom: .75rem; }
.compare-feature .check-list li { font-size: .8rem; }
.compare-feature__media { min-height: 180px; }
@media (min-width: 1000px) {
  .cat-split { grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); }
  .cat-split--latest { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); }
}

/* ---- Family B latest strip + newsletter */
.cat-latest-head { margin-bottom: .75rem; flex-wrap: nowrap; align-items: flex-end; }
.cat-latest-head p { font-size: .84rem; }
.cat-latest-head .link-arrow { white-space: nowrap; font-size: .8rem; }
.cat-head.cat-latest-head h2 { font-size: clamp(1.2rem, 1rem + .6vw, 1.42rem); }
.latest-mini { gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
.latest-mini .card__media { aspect-ratio: 16 / 9; }
.latest-mini .card__body { padding: .5rem .65rem .65rem; gap: .3rem; }
.latest-mini .card__title { font-size: .82rem; line-height: 1.28; }
.latest-mini .meta-row { font-size: .7rem; gap: .15rem .6rem; }
.cat-news { padding: clamp(1rem, .8rem + .8vw, 1.3rem); }
.cat-news__head { margin-bottom: .8rem; }
.cat-news .inline-form .btn, .cat-news .inline-form input[type="email"] { height: 44px; }
@media (min-width: 1000px) {
  .cat-news .inline-form { flex-wrap: nowrap; }
  .cat-news .inline-form .input-wrap { flex: 1 1 auto; min-width: 0; }
  .cat-news .inline-form .btn { flex: none; }
}

/* ---- Family A topic cards */
.topic-card { min-height: 0; }
.topic-card .card__body { padding: .85rem .8rem .8rem; gap: .25rem; }
.topic-icon { width: 42px; height: 42px; margin-bottom: .2rem; }
.topic-icon .icon { width: 22px; height: 22px; }
.topic-card .card__title { font-size: .94rem; }
.topic-card .card__text { font-size: .78rem; line-height: 1.4; }
.topic-card .circle-arrow { width: 28px; height: 28px; }

/* ---- Family A editor's picks band */
.pick-card { padding: .55rem; gap: .75rem; }
.pick-card__img { flex-basis: 42%; aspect-ratio: 4 / 3; }

/* ---- Family A product cards: small product shot on white, compact body */
.cat-product .card__media { aspect-ratio: 2.1 / 1; background: #fff; }
/* product shots sit on a light grey studio sweep: lift it to white and fade the edges into the card */
.cat-product .card__media img { object-fit: contain; filter: brightness(1.07) contrast(1.04);
  -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 55%, transparent 100%); }
.cat-product .card__body { padding: .55rem .9rem .9rem; gap: .25rem; }
.cat-product .card__title { font-size: .96rem; }
.cat-product .card__text { font-size: .8rem; line-height: 1.45; }
.cat-product .rating { flex-wrap: nowrap; gap: .3rem; }
.cat-product .card__foot { padding-top: .4rem; }
.cat-product .btn { min-height: 40px; padding: .45rem 1rem; }
.cat-disclosure { font-size: .76rem; margin: -.3rem 0 .75rem; }
.cat-products + .cat-notice { font-size: .76rem; margin-top: .7rem; }

/* ---- Family A review steps: compact band, link beside the heading */
.cat-steps .step__icon { width: 46px; height: 46px; flex: none; }
.cat-steps .step p { font-size: .8rem; line-height: 1.45; }
.cat-steps__more { margin: .6rem 0 0; font-size: .82rem; }
.cat-main--a .cat-band.cat-section { padding-block: clamp(1rem, .8rem + .5vw, 1.15rem); }
.cat-main--a .cat-band .cat-head { margin-bottom: .7rem; }
.cat-main--a .cat-band .cat-head h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); }
@media (min-width: 1000px) {
  .cat-main--a .cat-band .container { position: relative; }
  .cat-steps__more { position: absolute; right: 0; top: .55rem; margin: 0; }
}

/* ---- Family A lead magnet: shorter band */
.cat-lead { padding-block: clamp(.9rem, .7rem + .6vw, 1.1rem); }
@media (min-width: 960px) { .cat-lead { grid-template-columns: 136px minmax(0, 1fr); padding-left: clamp(1.5rem, 3vw, 3rem); } }
.cat-lead .book { max-width: 136px; }
.cat-lead h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); margin-bottom: .3rem; }
.cat-lead .muted { font-size: .88rem; margin-bottom: .8rem; }
.cat-lead .inline-form .btn, .cat-lead .inline-form input[type="email"] { height: 46px; }
.cat-lead .check-inline { margin-top: .65rem; }
.cat-lead__more { color: var(--teal-800); font-weight: 600; white-space: nowrap; }
.cat-lead .book__title { font-size: .95rem; }

/* ---- Family A latest strip: short photos */
.latest-card .card__media { aspect-ratio: 4.2 / 1; }
.latest-card .card__body { padding: .6rem .85rem .7rem; gap: .25rem; }
.latest-card .card__title { font-size: .88rem; }
.latest-card .circle-arrow { width: 28px; height: 28px; }

/* Phones */
@media (max-width: 600px) {
  .cat-product .card__media { aspect-ratio: 16 / 9; }
  .cat-latest-head { flex-wrap: wrap; }
}

/* ---- Weight Management design: wider products panel and newsletter, readable trust row over the photo */
@media (min-width: 1000px) {
  .cat-main--weight-management .cat-split { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
  .cat-main--weight-management .cat-split--latest { grid-template-columns: minmax(0, 1.66fr) minmax(0, 1fr); }
  .cat-hero--trust-row .hero__bg::after {
    background: linear-gradient(90deg, rgba(250, 252, 249, .97) 0%, rgba(250, 252, 249, .9) 40%, rgba(250, 252, 249, .55) 58%, rgba(250, 252, 249, 0) 74%);
  }
}

/* ---- Bleed heroes (Weight Management, Healthy Living): the designs set the lead smaller */
.cat-main--b .cat-hero:not(.cat-hero--split) .hero__lead { font-size: clamp(.98rem, .9rem + .3vw, 1.06rem); line-height: 1.55; max-width: 31.5rem; }
.cat-main--weight-management .cat-hero .hero__lead { max-width: 34rem; }
.cat-main--weight-management .guide-card .card__media { aspect-ratio: 3 / 1; }

/* ---- Healthy Living design: smaller section titles, one-line topic heads, compact comparison */
.cat-main--healthy-living .cat-head h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.65rem); }
.cat-main--healthy-living .topic-photo--inline .topic-photo__icon { width: 28px; height: 28px; }
.cat-main--healthy-living .topic-photo--inline .topic-photo__icon .icon { width: 16px; height: 16px; }
.cat-main--healthy-living .topic-photo--inline .card__title { font-size: .84rem; }
.cat-main--healthy-living .topic-photo--inline .topic-photo__head { gap: .4rem; }
.cat-main--healthy-living .cat-hero .hero__inner { padding-block: clamp(1.1rem, .8rem + 1.1vw, 1.5rem); }
@media (min-width: 560px) {
  .cat-main--healthy-living .compare-feature { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
}
.cat-main--healthy-living .compare-feature p, .cat-main--healthy-living .compare-feature .check-list li { font-size: .77rem; }
.cat-main--weight-management .cat-panel__head h2 { font-size: clamp(1.05rem, .95rem + .3vw, 1.12rem); }
.cat-main--weight-management .cat-hero .hero__lead { line-height: 1.45; }
.cat-main--weight-management .cat-hero .hero__inner { padding-block: clamp(1.1rem, .8rem + 1vw, 1.45rem); }
/* Healthy Living design: compact newsletter card (one-line title, short form, tight checklist) */
.cat-main--healthy-living .cat-news { padding: 1rem 1.1rem; }
.cat-main--healthy-living .cat-news__icon { width: 38px; height: 38px; }
.cat-main--healthy-living .cat-news__icon .icon { width: 19px; height: 19px; }
.cat-main--healthy-living .cat-news h2 { font-size: clamp(1rem, .9rem + .3vw, 1.06rem); margin-bottom: .2rem; }
.cat-main--healthy-living .cat-news p { font-size: .8rem; line-height: 1.45; }
.cat-main--healthy-living .cat-news__head { margin-bottom: .65rem; }
.cat-main--healthy-living .cat-news .inline-form .btn, .cat-main--healthy-living .cat-news .inline-form input[type="email"] { height: 40px; }
.cat-main--healthy-living .cat-news .check-inline { margin-top: .55rem; gap: .2rem 1rem; font-size: .76rem; }
.cat-main--healthy-living .latest-mini .card__media { aspect-ratio: 16 / 8.5; }
.cat-main--healthy-living .cat-news .leaf-deco { opacity: .3; width: 64px; }
.cat-main--weight-management .cat-panel__head { column-gap: .5rem; }
.cat-main--weight-management .cat-panel__head .link-arrow { font-size: .76rem; }
@media (min-width: 560px) { .cat-main--weight-management .compare-feature { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); } }
.mini-product .card__media img { object-position: 50% 30%; }

/* Family B newsletter cards: the designs keep them compact */
.cat-main--b .cat-news p { font-size: .82rem; line-height: 1.45; }
.cat-main--b .cat-news .inline-form .btn, .cat-main--b .cat-news .inline-form input[type="email"] { height: 42px; }
.cat-main--b .cat-news .check-inline { margin-top: .6rem; font-size: .77rem; }
.cat-main--b .cat-news__icon { width: 42px; height: 42px; }
