/* FAQ Accordion Styles - Matches blog theme styling */
.wp-block-group .faq-item {
  margin-bottom: 1.5em;
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.wp-block-group .faq-item summary.faq-question {
  padding: 0.5em 0;
  font-weight: 600;
  font-size: 1.1em;
  color: inherit;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
  background: transparent;
  border-bottom: 1px solid currentColor;
  border-opacity: 0.1;
  margin-bottom: 0.5em;
  transition: opacity 0.2s ease;
}

.wp-block-group .faq-item summary.faq-question::-webkit-details-marker {
  display: none;
}

.wp-block-group .faq-item summary.faq-question::after {
  content: '▼';
  position: absolute;
  right: 0;
  top: 0.5em;
  font-size: 0.7em;
  font-weight: normal;
  opacity: 0.6;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.wp-block-group .faq-item[open] summary.faq-question::after {
  transform: rotate(180deg);
}

.wp-block-group .faq-item summary.faq-question:hover {
  opacity: 0.8;
}

.wp-block-group .faq-item .faq-answer {
  padding: 0.5em 0 0 0;
  background: transparent;
  color: inherit;
  line-height: inherit;
  margin-top: 0.5em;
}

.wp-block-group .faq-item .faq-answer p {
  margin: 0 0 1em 0;
}

.wp-block-group .faq-item .faq-answer p:last-child {
  margin-bottom: 0;
}

/* Table of Contents Styles */
.wp-block-group.seo-postifier-index {
  margin-bottom: 2em;
  padding: 1.5em;
  background: transparent;
  border-left: 3px solid currentColor;
  border-opacity: 0.2;
}

.wp-block-group.seo-postifier-index .index-title {
  font-weight: 600;
  font-size: 1.2em;
  margin-bottom: 1em;
  color: inherit;
}

.wp-block-group.seo-postifier-index .index-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wp-block-group.seo-postifier-index .index-list li {
  margin-bottom: 0.5em;
  padding-left: 0;
}

.wp-block-group.seo-postifier-index .index-list li a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.wp-block-group.seo-postifier-index .index-list li a:hover {
  opacity: 1;
  text-decoration: underline;
}

.wp-block-group.seo-postifier-index .index-list li.index-level-2 {
  padding-left: 0;
}

.wp-block-group.seo-postifier-index .index-list li.index-level-3 {
  padding-left: 1.5em;
}

.wp-block-group.seo-postifier-index .index-list li.index-level-4 {
  padding-left: 3em;
}

/* Responsive adjustments */
@media (max-width: 782px) {
  .wp-block-group .faq-item summary.faq-question {
    font-size: 1em;
  }

  .wp-block-group.seo-postifier-index {
    padding: 1em;
  }

  .wp-block-group.seo-postifier-index .index-list li.index-level-3 {
    padding-left: 1em;
  }

  .wp-block-group.seo-postifier-index .index-list li.index-level-4 {
    padding-left: 2em;
  }
}

