/**
  * Custom styles for moe/faq-contents-block
  * This is a custom block
  *
  */
.faq-parent-category-name {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 15px;
}
.faq-parent-category-name:before {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: currentColor;
  left: 0;
  bottom: 0;
}
.faq-parent-category-name:after {
  content: '';
  position: absolute;
  width: 8px;
  height: 3px;
  background: currentColor;
  left: 65px;
  bottom: 0;
}
.faq-contents-block h4 {
  color: var(--wp--preset--color--text-body-color);
  font-weight: 600;
  margin: 30px 0 15px;
}
.faq-collapsible-list .collapsible-content {
  border-radius: 6px;
  border: 1px solid var(--wp--preset--color--primary-light);
  /* Collapsible Content */
}
.faq-collapsible-list .collapsible-content + .collapsible-content {
  margin-top: 10px;
}
.faq-collapsible-list .collapsible-content .faq-collapsible-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  margin: 0;
  color: var(--wp--preset--color--text-primary);
  font-size: var(--wp--preset--font-size--medium);
  transition: background 0.3s ease;
}
.faq-collapsible-list .collapsible-content .faq-collapsible-title .collapsible-icon {
  position: relative;
  display: block;
  z-index: 1;
  margin-left: 50px;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
}
.faq-collapsible-list .collapsible-content .faq-collapsible-title .collapsible-icon:before,
.faq-collapsible-list .collapsible-content .faq-collapsible-title .collapsible-icon:after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 20px;
  height: 2px;
  background: currentColor;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  opacity: 0.8;
}
.faq-collapsible-list .collapsible-content .faq-collapsible-title .collapsible-icon:after {
  -webkit-transform: rotate(90deg) translateY(-50%);
  -ms-transform: rotate(90deg) translateY(-50%);
  transform: rotate(90deg) translateY(-50%);
  right: 11px;
  width: 20px;
}
.faq-collapsible-list .collapsible-content .faq-collapsible-title.active {
  background: var(--wp--preset--color--primary-lighter);
}
.faq-collapsible-list .collapsible-content .faq-collapsible-title.active .collapsible-icon {
  color: var(--wp--preset--color--text-primary);
  background: #fff;
  border-radius: 50%;
}
.faq-collapsible-list .collapsible-content .faq-collapsible-title.active .collapsible-icon:after {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}
.faq-collapsible-list .collapsible-content .faq-collapsible-title:hover {
  background: var(--wp--preset--color--primary-lighter);
}
.faq-collapsible-list .collapsible-content .collapsible-content-body {
  position: relative;
  padding: 0;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  /* Expanded state */
}
.faq-collapsible-list .collapsible-content .collapsible-content-body .content-inner {
  padding: 20px;
  /* Post content inside collapsible */
}
.faq-collapsible-list .collapsible-content .collapsible-content-body .content-inner .post-content {
  line-height: 1.6;
  margin-top: 0;
  font-size: inherit;
}
.faq-collapsible-list .collapsible-content .collapsible-content-body .content-inner .post-content p {
  margin: 0;
}
.faq-collapsible-list .collapsible-content .collapsible-content-body .content-inner .post-content p + p {
  margin-top: 15px;
}
.faq-collapsible-list .collapsible-content .collapsible-content-body.open {
  background-color: var(--wp--preset--color--primary-lightest);
}
@keyframes flash-label {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  30% {
    opacity: 1;
    transform: scale(1.03);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
  70% {
    opacity: 1;
    transform: scale(1.03);
  }
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .collapsible-title {
    font-size: 14px;
    padding: 10px;
  }
  .collapsible-content-body {
    padding: 0 10px;
  }
  .collapsible-content-body.open {
    padding: 10px;
  }
}
