/* Smile Lab USA — article question and answer block.
   Sits inside the article text column, always readable, no page-builder chrome.
   Palette: cream #faf7f2, hairline #eee7db, ink #1c1b19, forest #14322b, rust #b4400f */

.slqa {
  box-sizing: border-box;
  display: block;
  width: auto;
  max-width: none;
  margin: 26px 0 0;
  padding: 4px 24px;
  background: #fff;
  border: 1px solid #eee7db;
  border-radius: 20px;
  color: #1c1b19;
  font-family: inherit;
  text-align: left;
}

.slqa details {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #f1ece2;
  background: none;
}

.slqa details:last-child {
  border-bottom: 0;
}

.slqa summary {
  position: relative;
  display: block;
  list-style: none;
  cursor: pointer;
  margin: 0;
  padding: 17px 34px 17px 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #14322b;
}

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

/* a topic may carry a real heading tag; it must read as the summary line */
.slqa summary > h3 {
  display: inline;
  margin: 0;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  text-transform: none;
}

.slqa summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 24px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #b4400f;
  border-bottom: 2px solid #b4400f;
  transform: rotate(45deg);
}

.slqa details[open] summary::after {
  top: 28px;
  transform: rotate(-135deg);
}

.slqa p {
  margin: 0;
  padding: 0 0 17px;
  font-size: 16.5px;
  line-height: 1.55;
  color: #4b463f;
  text-wrap: balance;
}

@media (max-width: 749px) {
  .slqa {
    padding: 2px 18px;
    border-radius: 16px;
  }

  .slqa summary {
    padding: 15px 26px 15px 0;
    font-size: 15.5px;
  }

  .slqa summary::after {
    top: 22px;
  }

  .slqa p {
    font-size: 15.5px;
  }
}

/* action line under a question block */
.slqa-cta {
  margin: 18px 0 0;
  padding: 0;
  text-align: center;
}

@media (max-width: 749px) {
  .slqa-cta .dev-btn {
    display: block;
    padding-left: 18px;
    padding-right: 18px;
  }
}
