/**
 * REATS · תוכן עמודי קטגוריה — כותרות H2 מעוצבות (כמו חוויות)
 */

body.page-category-hub .category-page-content,
body.page-category-hub .bz-listing-hub-legacy__content {
  --cat-h2-accent: var(--accent-2, #2f7d3f);
  --cat-h2-ink: var(--ink-0, #0c3c1e);
  --cat-h2-muted: var(--ink-2, #4a5f52);
  --cat-h2-soft: #f1f7e9;
  --cat-h2-radius: clamp(12px, 2.5vw, 16px);
}

/* כל H2 בתוכן קטגוריה */
body.page-category-hub .category-page-content :is(h2, h2.cat-content-h2),
body.page-category-hub .bz-listing-hub-legacy__content :is(h2, h2.cat-content-h2) {
  position: relative;
  margin: clamp(24px, 4.5vw, 36px) 0 clamp(12px, 2.8vw, 16px);
  padding: clamp(14px, 3.2vw, 18px) clamp(16px, 3.8vw, 22px);
  padding-inline-start: clamp(18px, 4.2vw, 26px);
  background: linear-gradient(135deg, rgba(241, 247, 233, 0.98) 0%, rgba(255, 255, 255, 0.92) 72%);
  border: 1px solid rgba(47, 125, 63, 0.22);
  border-inline-start: 4px solid var(--cat-h2-accent);
  border-radius: var(--cat-h2-radius);
  font-size: clamp(1.15rem, 3.4vw, 1.5rem);
  font-weight: 800 !important;
  line-height: 1.28;
  color: var(--cat-h2-ink) !important;
  box-shadow: 0 10px 28px -18px rgba(12, 60, 30, 0.18);
  box-sizing: border-box;
  max-width: 100%;
}

body.page-category-hub .category-page-content h2:first-child,
body.page-category-hub .bz-listing-hub-legacy__content h2:first-child {
  margin-top: 0;
}

/* בלוק H2+תוכן (אותה לוגיקה כמו חוויות) */
body.page-category-hub .exp-prose-block {
  margin: 0 0 clamp(16px, 3vw, 22px);
  padding: 0;
  overflow: hidden;
  background: linear-gradient(165deg, #f6faf0 0%, #ffffff 58%);
  border: 1px solid rgba(47, 125, 63, 0.2);
  border-radius: var(--cat-h2-radius);
  box-shadow: 0 12px 32px -22px rgba(12, 60, 30, 0.14);
  box-sizing: border-box;
}

body.page-category-hub .exp-prose-block:last-child {
  margin-bottom: 0;
}

body.page-category-hub .exp-prose-block > h2,
body.page-category-hub .exp-prose-block > h2.cat-content-h2 {
  margin: 0;
  padding: clamp(14px, 3.2vw, 18px) clamp(16px, 3.8vw, 22px);
  background: linear-gradient(90deg, rgba(47, 125, 63, 0.14) 0%, rgba(241, 247, 233, 0.5) 55%, transparent 100%);
  border: 0;
  border-bottom: 1px solid rgba(47, 125, 63, 0.14);
  border-inline-start: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: clamp(1.12rem, 3.2vw, 1.42rem);
}

body.page-category-hub .exp-prose-block > :not(h2) {
  padding: clamp(12px, 2.8vw, 16px) clamp(16px, 3.8vw, 22px) clamp(16px, 3.5vw, 20px);
  margin: 0;
  color: var(--cat-h2-muted);
  line-height: 1.78;
  font-size: clamp(0.95rem, 2.6vw, 1.05rem);
}

body.page-category-hub .exp-prose-block > :not(h2):last-child {
  padding-bottom: clamp(16px, 3.5vw, 22px);
}

body.page-category-hub .exp-prose-block > ul,
body.page-category-hub .exp-prose-block > ol {
  padding-inline-start: clamp(28px, 5vw, 38px);
}

body.page-category-hub .exp-prose-block li {
  margin-bottom: 0.35em;
}

body.page-category-hub .category-page-content h3,
body.page-category-hub .bz-listing-hub-legacy__content h3 {
  margin: clamp(18px, 3.5vw, 24px) 0 clamp(8px, 2vw, 12px);
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  font-weight: 700;
  color: var(--cat-h2-accent);
}

body.page-category-hub .category-page-content p,
body.page-category-hub .bz-listing-hub-legacy__content p {
  color: var(--cat-h2-muted);
  line-height: 1.78;
  margin: 0 0 1em;
}

@media (max-width: 520px) {
  body.page-category-hub .category-page-content h2,
  body.page-category-hub .bz-listing-hub-legacy__content h2,
  body.page-category-hub .exp-prose-block > h2 {
    padding: 12px 14px;
    padding-inline-start: 16px;
    font-size: 1.08rem;
  }
}
