.author-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 15px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 90%;
  max-width: 800px; /* Limit the maximum width */
  margin: 20px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-box img {
  border-radius: 50%;
  margin-right: 15px;
  width: 10vw;
  height: 10vw;
  max-width: 100px;
  max-height: 100px;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.author-info h2 {
  margin: 0;
  font-size: 1.8vw;
  color: #333;
  text-align: left;
}

.author-info p {
  margin: 5px 0 0;
  font-size: 1.2vw;
  color: #666;
  text-align: left;
  line-height: 1.5;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .author-box {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .author-box img {
    margin-bottom: 15px;
    width: 20vw;
    height: 20vw;
    max-width: 80px;
    max-height: 80px;
  }

  .author-info h2 {
    font-size: 4vw;
  }

  .author-info p {
    font-size: 3vw;
  }
}