/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
.schema-faq.wp-block-yoast-faq-block {
  --faq-ink: #24211f;
  --faq-muted: rgba(36, 33, 31, 0.68);
  --faq-line: rgba(36, 33, 31, 0.12);
  --faq-white: rgba(255, 255, 255, 0.86);

  max-width: 980px;
  margin: 24px auto clamp(35px, 7vw, 56px);
  padding: 0 clamp(18px, 4vw, 32px);
  counter-reset: faq;
}


.schema-faq .schema-faq-section {
  position: relative;
  counter-increment: faq;
  padding: clamp(24px, 3vw, 34px) clamp(22px, 4vw, 42px);
  border: 1px solid var(--faq-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), var(--faq-white)),
    linear-gradient(135deg, rgba(231, 220, 207, 0.24), rgba(255, 255, 255, 0));
  box-shadow:
    0 18px 50px rgba(36, 33, 31, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.schema-faq .schema-faq-section + .schema-faq-section {
  margin-top: 14px;
}

.schema-faq .schema-faq-section::before {
  content: counter(faq, decimal-leading-zero);
  position: absolute;
  top: clamp(22px, 3vw, 32px);
  left: clamp(20px, 3vw, 34px);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  color: rgba(36, 33, 31, 0.38);
}

.schema-faq .schema-faq-section::after {
  content: "";
  position: absolute;
  top: 28px;
  right: clamp(20px, 3vw, 34px);
  width: 28px;
  height: 28px;
  border: 1px solid rgba(36, 33, 31, 0.16);
  border-radius: 50%;
  background:
    linear-gradient(var(--faq-ink), var(--faq-ink)) center / 11px 1px no-repeat,
    linear-gradient(var(--faq-ink), var(--faq-ink)) center / 1px 11px no-repeat;
  opacity: 0.55;
  transition:
    transform 220ms ease,
    opacity 220ms ease,
    border-color 220ms ease;
}

.schema-faq .schema-faq-section:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 33, 31, 0.2);
  box-shadow:
    0 24px 70px rgba(36, 33, 31, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.schema-faq .schema-faq-section:hover::after,
.schema-faq .schema-faq-section.is-open::after {
  opacity: 0.82;
  border-color: rgba(36, 33, 31, 0.26);
}

.schema-faq .schema-faq-section.is-open::after {
  transform: rotate(45deg);
}

.schema-faq .schema-faq-question {
  display: block;
  padding: 0 48px 0 54px;
  color: var(--faq-ink);
  font-family: inherit;
  font-size: clamp(18px, 1.55vw, 23px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}

.schema-faq .schema-faq-question-button {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
}

.schema-faq .schema-faq-question-button:focus-visible {
  outline: 1px solid rgba(36, 33, 31, 0.55);
  outline-offset: 6px;
  border-radius: 3px;
}

.schema-faq .schema-faq-answer {
  max-width: 760px;
  margin: 14px 0 0;
  padding: 0 48px 0 54px;
  color: var(--faq-muted);
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.75;
}

.schema-faq .schema-faq-answer {
  max-width: 760px;
  max-height: 420px;
  margin: 14px 0 0;
  padding: 0 48px 0 54px;
  color: var(--faq-muted);
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.75;
  opacity: 1;
  transform: translateY(0);
  overflow: hidden;
  transition:
    max-height 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 240ms ease,
    transform 300ms ease,
    margin-top 300ms ease;
}

.schema-faq .schema-faq-section.is-collapsed .schema-faq-answer {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  transform: translateY(-4px);
}

.schema-faq .schema-faq-answer a {
  color: var(--faq-ink);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

@media (max-width: 767px) {
  .schema-faq.wp-block-yoast-faq-block {
    margin: 44px auto;
    padding: 0 16px;
  }

  .schema-faq .schema-faq-section {
    padding: 22px 18px;
  }

  .schema-faq .schema-faq-section::before {
    position: static;
    display: block;
    margin-bottom: 12px;
  }

  .schema-faq .schema-faq-section::after {
    top: 18px;
    right: 18px;
    width: 26px;
    height: 26px;
  }

  .schema-faq .schema-faq-question,
  .schema-faq .schema-faq-answer {
    padding: 0 38px 0 0;
  }

  .schema-faq .schema-faq-answer {
    margin-top: 12px;
    line-height: 1.68;
  }
}
.schema-faq .schema-faq-section {
  cursor: pointer;
}

.schema-faq .schema-faq-answer {
  cursor: text;
}

.schema-faq .schema-faq-answer a {
  cursor: pointer;
}