/* === FIX START: NE-CATEGORY-PEREX-FIRST-PAINT-20260625 ===
   Category perex must render compactly before route JS/CSS finishes. */
body.type-category #content .category-top .category-perex:not(:has(.ne-more-toggle)) {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #3d3936 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

body.type-category #content .category-top .category-perex:not(:has(.ne-more-toggle)) > h2,
body.type-category #content .category-top .category-perex:not(:has(.ne-more-toggle)) > h3 {
  margin: 0 0 6px !important;
  color: #2f2b28 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.28 !important;
  letter-spacing: 0 !important;
}

body.type-category #content .category-top .category-perex:not(:has(.ne-more-toggle)) > p {
  margin: 0 0 8px !important;
  color: #3d3936 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}

html body.type-category #content .category-top .category-perex,
html body.type-category #content .category-top .category-perex .ne-lead {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.type-category #content .category-top .category-perex .ne-lead {
  margin: 0 0 10px !important;
  padding: 0 !important;
}

html body.type-category #content .category-top .category-perex::before,
html body.type-category #content .category-top .category-perex::after,
html body.type-category #content .category-top .category-perex .ne-lead::before,
html body.type-category #content .category-top .category-perex .ne-lead::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

html body.type-category #content .category-top .category-perex .ne-more-toggle {
  display: inline-block !important;
  min-height: 0 !important;
  width: auto !important;
  margin: 3px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #b61120 !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

@media (max-width: 767px) {
  html body.type-category #content .category-top {
    margin-bottom: 0 !important;
  }

  html body.type-category #content .category-top .category-perex:not(:has(.ne-more-toggle)) {
    margin: 0 0 9px !important;
    max-height: 84px;
    overflow: hidden;
    font-size: 14px !important;
    line-height: 1.46 !important;
  }

  html body.type-category #content .category-top .category-perex:not(:has(.ne-more-toggle)) > h2:first-child {
    display: inline !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.46 !important;
    text-wrap: balance;
  }

  html body.type-category #content .category-top .category-perex:not(:has(.ne-more-toggle)) > h2:first-child::after {
    content: " ";
  }

  html body.type-category #content .category-top .category-perex:not(:has(.ne-more-toggle)) > p:first-of-type {
    display: inline !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.46 !important;
    text-wrap: pretty;
  }

  html body.type-category #content .category-top .category-perex .ne-lead,
  html body.type-category #content .category-top .category-perex .ne-lead h2,
  html body.type-category #content .category-top .category-perex .ne-lead p,
  html body.type-category #content .category-top .category-perex .ne-more-toggle {
    font-size: 14px !important;
    line-height: 1.46 !important;
  }
}
/* === FIX END: NE-CATEGORY-PEREX-FIRST-PAINT-20260625 === */
