/* Reserve the existing Resources heading's final line count before Sora loads.
   At 320–468 CSS px the approved heading occupies three lines; at 469–760 px
   it occupies two. Keep this reservation in step with any future copy change.
   A minimum, rather than a fixed height, still lets enlarged text grow. */
.resources-doc-count-break {
  display: none;
}

@media (max-width: 760px) {
  .resources-stable-title {
    min-block-size: 2.26em;
    min-block-size: 2lh;
  }

  .resources-stable-title + p {
    min-block-size: 3.2em;
    min-block-size: 2lh;
  }
}

@media (max-width: 468px) {
  .resources-stable-title {
    min-block-size: 3.39em;
    min-block-size: 3lh;
  }
}

@media (max-width: 432px) {
  .resources-stable-title + p {
    min-block-size: 4.8em;
    min-block-size: 3lh;
  }
}

/* The series badge already wraps below this heading in the loaded font.
   Start it on that same line before font loading, too. */
@media (max-width: 416px) {
  .resources-doc-count-break {
    display: inline;
  }
}
