html {
  background-color: #fffff8;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

body {
  background-color: #fffff8;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

/* This ensures that all content containers also have the same background */
.container, main, section {
  background-color: #fffff8;
}

hr {
  margin-bottom: 0px;
  border-top: none;
  background: #fffff8;
  background-color: #fffff8;
}

body {
  background-color: #fffff8;
}

.wrapper {
  background-color: #fffff8;
}

::selection {
  background-color: #ffd700;
  color: #000000;
}

/* Post navigation links */
.post_navi {
  display: flex;
  background: #fffff8;
}

.post_navi-label {
  font-size: 0.8em;
  opacity: 0.5;
}

.post_navi .post_navi-item {
  padding: 0 2.2em;
  width: 50%;
  position: relative;
  color: inherit !important;
}

.post_navi .nav_prev {
  text-align: left;
}

.post_navi .nav_next {
  text-align: right;
}

.post_navi .nav_prev .post_navi-arrow {
  left: 0;
}

.post_navi .nav_next .post_navi-arrow {
  right: 0;
}

.post_navi .post_navi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5em;
  opacity: 0.3;
}

.profile-container {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.profile-image {
  max-width: 200px;
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

@media screen and (max-width: 600px) {
  .profile-container {
    flex-direction: column;
    align-items: center;
  }

  .profile-image {
    max-width: 200px;
    margin-bottom: 1rem;
  }
}

/* Add or update these rules */
ul {
  margin-bottom: 1em;
}

li {
  margin-bottom: 0.5em;
}

li > ul {
  margin-top: 0.5em;
  margin-bottom: 0;
}

li > ul > li {
  margin-top: 0;
  margin-bottom: 0;
}

/* Specific fix for the pin emoji bullet points */
li > ul > li:has(.pin) {
  margin: 0.25em 0;
}

/* Remove extra space from paragraphs inside list items */
li p {
  margin: 0;
}
