/* Start custom CSS *//* ------------------------------------------------------------------
   Article prose - post_content descendants.
   The INHERITABLE half of the body type (font-family, font-size,
   font-weight, line-height, colour) lives in the article-prose V4
   class variants, per house rule #1. Only what cannot inherit or
   cannot carry a class is written here: paragraph rhythm, the heading
   scale, lists, links and the sign-off. post_content <p> tags come
   out of the DB, so no Elementor class can be attached to them.
   Heading rules are prefixed with body so they outrank the kit tag
   scale (.elementor-kit-5 h2) on equal-specificity load order.
   Logical properties only - this template ships RTL.
   ------------------------------------------------------------------ */

.article-prose p { margin-block: 0 1.25rem; }
.article-prose p:last-child { margin-block-end: 0; }

body .article-prose h2,
body .article-prose h3 { font-family: "Ploni", sans-serif; color: #2F3539; }
body .article-prose h2 {
  font-size: clamp(1.75rem, 1.177rem + 0.894vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  margin-block: 2.5rem 0.75rem;
}
body .article-prose h3 {
  font-size: clamp(1.5rem, 0.95rem + 0.86vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  margin-block: 2rem 0.75rem;
}
body:lang(he) .article-prose h2 { font-weight: 700; }
body .article-prose h2:first-child,
body .article-prose h3:first-child { margin-block-start: 0; }

.article-prose ul,
.article-prose ol { margin-block: 0 1.25rem; padding-inline-start: 1.5rem; }
.article-prose li { margin-block-end: 0.5rem; }
.article-prose li:last-child { margin-block-end: 0; }

.article-prose a { color: #D24148; text-decoration: underline; text-underline-offset: 0.15em; }
.article-prose a:hover { color: #F15B5B; }

.article-prose img { max-width: 100%; height: auto; border-radius: 24px; }

.article-prose blockquote {
  margin-block: 2rem;
  margin-inline: 0;
  padding-inline-start: 1.25rem;
  border-inline-start: 3px solid #D24148;
  font-weight: 500;
}

/* Sign-off. Quiet on purpose: Muted Text, one weight step up, extra
   air above. No italic - Ploni ships no italic face, so italics would
   be a synthesised oblique. */
.article-prose p.post-signoff {
  margin-block-start: 2.5rem;
  font-weight: 500;
  color: #8D9092;
}

/* Hebrew weight bump - mirrors the site's existing
   body:lang(he) .md-title / .hero-title rules (Customizer Additional CSS).
   Ploni Demibold reads too light in Hebrew display type.
   Cannot be a V4 variant: :lang() is not an expressible state. */
body:lang(he) .post-hero-title { font-weight: 700; }

/* Category term arrives from the post-terms dynamic tag wrapped in <a>.
   The anchor is generated markup, so it cannot carry a class. */
.post-eyebrow a { color: inherit; text-decoration: none; }
.post-eyebrow a:hover { color: #D24148; }

@media (max-width: 1024px) {
  body .article-prose h2 { font-size: 1.75rem; }
  body .article-prose h3 { font-size: 1.5rem; }
}
@media (max-width: 767px) {
  body .article-prose h2 { font-size: 1.625rem; }
  body .article-prose h3 { font-size: 1.375rem; }
  .article-prose p { margin-block-end: 1.125rem; }
}/* End custom CSS */