body {
  background-image: var(--post-background-image)
}

/* Update the CSS selectors to target paragraphs inside .text-container */

blockquote.npc-dialogue {
  font-size: 1rem;
  overflow-wrap: break-word;
}

blockquote.npc-dialogue .text-container > p.player-line {
  color: var(--player-line-color);
  /*text-shadow: 0.5px 0.5px 0.5px #000;*/
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

blockquote.npc-dialogue .text-container > p.npc-line {
  color: var(--npc-line-color);
  line-height: 1.1em;
  padding-top: 0.1em;
  padding-bottom: 0.1em;
  margin-top: 0.1em;
  margin-bottom: 0.15em;
}

blockquote.npc-dialogue .text-container > p.npc-line strong {
  color: var(--npc-bold-color);
}


.tibiastyle .flexRow {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.content .npc-image-container .npc-image {
  min-width: 0;
  object-fit: contain;
  display: block;
  float: left;
  width: 64px;
  height: 64px;
  image-rendering: crisp-edges;
  margin-top: 0;
  margin-right: 10px;
  margin-left: 5px;
  margin-bottom: 5px;
  padding: 0;
}

blockquote.npc-dialogue > p {
  padding: 0;
  /* Add any other styles specific to NPC dialogues here */
  display: block;
  color: #c0c0c0;
  font-size: 18px;
  line-height: 1rem;
  letter-spacing: 0.04rem;
  font-family: var(--font-family-base);
  font-weight: 400;
}

/* Create two columns for NPC dialogues on bigger screens */
@media screen and (min-width: 601px) {
  .content blockquote.npc-dialogue {
    padding-left: 0.5em;
  }

  blockquote.npc-dialogue {
    display: flex; /* Enable Flexbox */
    align-items: flex-start; /* Align items at the start */
  }

  .content .npc-image-container {
    flex: 0 0 auto;
  }

  .text-container {
    flex-grow: 1;
  }
}

/* 
.content .blockquote .player-bold p {
  color: var(--player-bold-color);
}

.npc-bold p {
  color: var(--player-bold-color);
}
*/

.bookImage {
  /* background-image: url('https://s2ward.github.io/tibia/img/book/Book_(Brown).png');*/
  width: 40px;
  height: 40px;
  background-size: cover;
  background-position: center;
  margin: 10px;
}

.tibiastyle .bookBoxContent.leftSpace10M,
.tibiastyle .bookBoxContent.rightSpace10M,
.tibiastyle .bookBoxContent.bottomSpace10M {
  margin-top: 1rem;
  margin-right: auto;
  margin-bottom: 1rem;
  margin-left: auto;
}

.tibiastyle .tibiaStyleTextLight {
  color: #c0c0c0;
  font-size: 1rem;
  line-height: 1.3rem;
  letter-spacing: 0.04rem;
  font-family: Verdana, sans-serif;
  font-weight: 600;
}

.tibiastyle .bookHeader {
  color: #462525;
  font-size: 1.2rem;
  line-height: 1.3rem;
  letter-spacing: 0.04rem;
  font-family: Verdana, sans-serif;
  font-weight: 600;

}

.tibiastyle .bookBoxContent {
  width: 55%;
  min-width: 270px;
  margin-left: 20%;
  margin-right: 20%;
  /*background-image: var(--post-book-background-image);*/
  background-repeat: repeat;
  background-position: center;
  background-size: auto;
  color: #c0c0c0;
}

@media (max-width: 600px) {
  .tibiastyle .bookBoxContent {
    width: 100%;
    min-width: auto;
  }
}

.tibiastyle .bookText {
  background-color: #333333;
}

.tibiastyle .bookText p {
  display: block; 
  margin-bottom: 0.5em;
  color: #c0c0c0;
  font-size: 1rem;
  line-height: 1.15rem;
  letter-spacing: 0.04rem;
  font-family: Verdana, sans-serif;
  font-weight: 600;
}

.bookText {
  color: #c0c0c0;
}

.bookText strong {
  color: #ff9854;
}

.tibiastyle .bookNameLink {
  color: #c0c0c0;
  text-decoration: none;
}

.tibiastyle .bookNameLink a {
  text-decoration: none;
}

.bookNameLink:hover {
  text-decoration: underline;
}


.tibiastyle .fullWidth {
  width: 100%;
}

.tibiastyle .rightSpace10P {
  margin-right: 10%;
}

.tibiastyle .spaceAround5P {
  padding: 0.5rem;
}

.tibiastyle .leftSpace10M, .tibiastyle .rightSpace10M, .tibiastyle .bottomSpace10M {
  margin: 0.7rem;
  margin-top: 0rem;
}

.tibiastyle .topSpace10M {
  margin: 0.2rem;
}

.tibiastyle .tibiaStyleBorderHigh1 {
  border-top: 0.2rem solid rgb(113, 113, 113);
  border-left: 0.2rem solid rgb(113, 113, 113);
  border-bottom: 0.2rem solid rgb(37, 37, 37);
  border-right: 0.2rem solid rgb(37, 37, 37);
}

.tibiastyle .tibiaStyleBorderDeep1 {
  border-top: 0.2rem solid rgb(37, 37, 37);
  border-left: 0.2rem solid rgb(37, 37, 37);
  border-bottom: 0.2rem solid rgb(113, 113, 113);
  border-right: 0.2rem solid rgb(113, 113, 113);
}

.tibiastyle .tibiaStyleBorderHigh2 {
  border-top: 0.2rem solid rgb(113, 113, 113);
  border-left: 0.2rem solid rgb(113, 113, 113);
  border-bottom: 0.2rem solid rgb(37, 37, 37);
  border-right: 0.2rem solid rgb(37, 37, 37);
}

.tibiastyle .tibiaStyleBorderDeep2 {
  border-top: 0.2rem solid rgb(37, 37, 37);
  border-left: 0.2rem solid rgb(37, 37, 37);
  border-bottom: 0.2rem solid rgb(113, 113, 113);
  border-right: 0.2rem solid rgb(113, 113, 113);
}

.tibiastyle .tibiaStyleBackgroundDark {
  background-image: var(--post-book-background-image);
}



.tibiastyle br {
  display: block; 
  margin: 0.3em;
  
  /* Vendor prefixes for browser compatibility */
  -webkit-margin-before: 0.3em;
  -webkit-margin-after: 0.3em;
  -moz-margin-before: 0.3em;
  -moz-margin-after: 0.3em;
  -ms-margin-before: 0.3em;
  -ms-margin-after: 0.3em;
}
