/* Basic styling for the ebook */
@page {
  orphans: 3;
  widows: 3;
}

body {
  font-family: "Literata", Georgia, serif;
  line-height: 1.5;
  margin: 0;
  padding: 0 1em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.2;
  break-after: avoid;
}

h1, h2, h3, h4, h5, h6 :first-sibling {
  break-before: avoid;
}

.chapter {
  break-before: page;
  break-after: page;
}

section {
  margin-bottom: 2em;
  break-inside: avoid;
}

/* ActionText content styling */
.trix-content {
  /* Reset any Trix-specific styling */
  max-width: none;
  margin: 0;
}

/* Handle common ActionText elements */
.trix-content div {
  margin: 0;
}

.trix-content blockquote {
  border-left: 3px solid #ccc;
  margin-left: 0;
  padding-left: 1em;
}
