.item-title {
    padding-top: 0.5rem;
    padding-bottom: 0.3rem;
    color: #86462d;
    font-weight: bold;
  }

  .page-section-content h1 {
    text-transform: None !important;
  }

  .page-section-content .author {
    font-style: italic !important;
    font-weight: 300;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
  }

  @media (min-width: 992px) {
    #sideNav {
      padding-left: 0;
      padding-right: 0;
      text-align: center;
      position: fixed;
      top: 0;
      left: 0;
      display: flex;
      flex-direction: column;
      width: 15rem !important;
      height: 100vh;
    }
}

hr {
    margin-bottom: 0.5rem !important;
}

#sideNav .navbar-brand .img-profile {
    max-width: 5rem;
    max-height: 5rem;
    border: 0.5rem solid rgba(255, 255, 255, 0.2);
  }

  .page-section-content {
    max-width: 50rem !important;
    margin-left: 8rem !important;
    margin-right: auto !important;
    margin-top: 0.5rem !important;
  }

 .page-section-content h3 {
    font-weight: 600 !important;
    margin-bottom: 0.3rem !important;
}

.theorem-box, .lemma-box {
    border: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 6px solid #4f46e5;
    padding: 1rem 1rem;
    border-radius: .75rem;
    margin: 1.25rem 0;
}
.lemma-box { border-left-color: #0ea5e9; }
.theorem-title, .lemma-title {
    font-weight: 800;
    text-transform: uppercase;
    font-size: .9rem;
    letter-spacing: .08em;
    color: #111827;
    margin-bottom: .5rem;
}
.theorem-subtle, .lemma-subtle {
    font-size: .9rem;
    color: #374151;
    margin-top: .5rem;
}
.nowrap { white-space: nowrap; }