div.page-break
{
  /* Reset */
  page-break-after:initial !important;
}

/* Hide all subsequent siblings */
div.page-break ~ *
{
  display: none;
}

/* Show all subsequent siblings */
div.page-break.show ~ *
{
  display: block;
}

/* Button */
button.showmore
{
  display: block !important; /* The button sibling must always be visible. */
  position: relative; /* Required for the chevron positioning */

  color: black;

  padding: 0.5em 1em;
  margin: 1rem 0;

  background: none;
  border-radius: 8px;
  border: 1px solid black;

  padding-right: 2.5em; /* Add space for the chevron */
}

button.showmore.collapsed::before {
  content: 'Learn more';
}

button.showmore.collapsed::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"/></svg>');
}

button.showmore::before {
  content: 'Show less';
}

button.showmore::after {
  content: '';
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"/></svg>');
  background-size: contain; /* Adjust as needed */
  background-repeat: no-repeat;
  width: .8em; /* Adjust size as needed */
  height: .8em; /* Adjust size as needed */
  position: absolute;
  right: 1em; /* Adjust position as needed */
  top: 50%;
  transform: translateY(-50%);
}
