/* Inline images from JSON content */

.json-inline-image {
  max-width: 720px;
  margin: 2rem auto;
  text-align: center;
}

.json-inline-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Optional: tighter spacing on mobile */
@media (max-width: 768px) {
  .json-inline-image {
    margin: 1.5rem auto;
    max-width: 100%;
  }
}

/* FAQ accordion */
.json-faqs {
  max-width: 720px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.json-faqs h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.json-faq-item {
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  background: #fafafa;
}

.json-faq-item[open] {
  background: #ffffff;
}

.json-faq-question {
  cursor: pointer;
  font-weight: 600;
}

.json-faq-answer {
  margin-top: 0.75rem;
}

.json-faq-answer p:last-child {
  margin-bottom: 0;
}

/* Author block */
.json-author {
  max-width: 720px;
  margin: 2.5rem auto 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid #111;
  background: #f7f7f7;
}

.json-author-name {
  font-weight: 700;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.json-author-role {
  display: inline-flex;
  margin-left: 0.75rem;
  font-weight: 500;
  color: #555;
}

.json-author-link {
  color: inherit;
  text-decoration: none;
}

.json-author-link:hover {
  text-decoration: underline;
}

