.author-section {
  background-color: #ffffff;
  color: #333333;
  padding: 5vh 5vw;
  font-family: 'Eagle Lake', serif;
  justify-content: center;
  text-align: center;
}

.author-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 2vw;
}

.author-image-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  width: 100%;
}

.author-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 20px;
}

.author-photo:hover {
  transform: scale(1.03);
}

.author-name-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px auto;
  padding: 0 2vw;
}

.author-name {
  font-size: 1.8em;
  color: #222;
  font-style: italic;
  margin-bottom: 10px;
  text-align: center;
}

.author-bio {
  width: 100%;
  max-width: 700px;
  text-align: center;
  padding: 0 2vw;
}

.author-bio h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #222;
}

.author-bio .intro {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #555;
  text-align: center;
}

.author-bio-text {
  font-size: 1.1em;
  color: #555;
  line-height: 1.6;
  margin-top: 0;
  padding: 0 2vw;
}

.qa-block {
  width: 100%;
  max-width: 700px;
  margin: 5vh auto 0 auto;
  text-align: left;
  padding: 0 2vw;
}

.qa-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.qa-question {
  background-color: #f5f5f5;
  color: #333;
  font-size: 1.1em;
  border: none;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 6px;
}

.qa-question:hover {
  background-color: #eaeaea;
}

.qa-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 16px;
  background-color: #fafafa;
  border-radius: 6px;
}

.qa-item.active .qa-answer {
  max-height: 300px;
  padding-top: 10px;
}

/* 📱 Mobile Responsiveness */
@media (max-width: 768px) {
  .author-photo {
    width: 150px;
    height: 150px;
  }

  .author-name {
    font-size: 1.5em;
  }

  .author-bio h2 {
    font-size: 1.6em;
  }

  .author-bio .intro,
  .author-bio-text {
    font-size: 1em;
  }

  .qa-question {
    font-size: 1em;
    padding: 10px 14px;
  }

  .qa-answer {
    padding: 0 14px;
  }
}

@media (max-width: 480px) {
  .author-photo {
    width: 120px;
    height: 120px;
  }

  .author-name {
    font-size: 1.3em;
  }

  .author-bio h2 {
    font-size: 1.4em;
  }

  .author-bio .intro,
  .author-bio-text {
    font-size: 0.95em;
  }

  .qa-question {
    font-size: 0.95em;
    padding: 8px 12px;
  }

  .qa-answer {
    padding: 0 12px;
  }
}
