/* /ebook/creation/index.html page */
 
.faq-item {
  background: var(--gradient-green-top);
  border: 1px solid var(--treeleaves-shade);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.faq-subquestion {
  background-color: #2d0000;
  border: 1px solid var(--fg);
  border-radius: 10%;
  font-family: var(--font-body);
  font-size: medium;
  padding: 1%;
}

.faq-p { text-align: justify; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none;  
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  transition: background 0.25s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin-top: 0.75rem;
  line-height: 1.6;
  hyphens: auto;
}

.faq-item[open] {
  /* background: #fff; */
  background: none;
  border-color: var(--fg);  
}

.faq-item[open] p {
  text-align: justify;
}

.faq-item[open] > summary {
  background: var(--fg);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  color: var(--bg);
}

.faq-item p::after {
  content: "";
  display: block;
  clear: both;
}

.faq-content h3,
.faq-content h4 {
  margin-top: 1rem;
  font-weight: 600;
}

.faq-content ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem;
}

.faq-content p {
  margin: 0.5rem 0 1rem;
  text-align: justify;
}

.faq-video-left {
  width: 260px;
  height: auto;
  float: left;
  margin: 0 20px 10px 0;
  border-radius: 25px;
  display: block;
}

.faq-video-block::after {
  content: "";
  display: block;
  clear: both;
}

.faq-item p:first-of-type::after {
  clear: right;
}