
/*!************************************************!*\
  !*** ../src/elements/accordion/accordion.scss ***!
  \************************************************/
/*******************************
 * Buttons
 ******************************/
/*
 * Applies the complete set of button styles with all desired style variations.
 * This mixin is normally applied to form buttons or links with
 * the desired button classes eg. .button.style-xxx.
 */
/*
 * Contains styles that all of the buttons have in common.
 * Some button styles might opt out or override some of these styles.
 * One benefit of this approach is that all of the buttons will be consistently
 * configurable with the CSS variables defined below.
 */
/*******************************
 * Button Styles
 *
 * Styles should define the way the buttons look. Depending on the project,
 * you may need to optimize each style based on the section / element that
 * a button is used in. For that purpose you can use the predefined CSS
 * variables to easily overwrite the desired colors based on your need.
 ******************************/
/*******************************
 * Inputs
 ******************************/
.accordion-wrapper {
  container: accordion/inline-size;
  margin-block: var(--element-spacing-lg);
}

.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  --section-spacing: 0px;
  --container-padding: 0px;
}

.accordion {
  --card-background: transparent;
  --card-border-color: color-mix(in srgb, var(--red-950), transparent 80%);
}
@container theme style(--theme: dark) {
  .accordion {
    --card-border-color: color-mix(in srgb, var(--red-200), transparent 80%);
  }
}
.accordion:where([data-query-theme="3871037065"]) {
  --card-border-color: color-mix(in srgb, var(--red-200), transparent 80%);
}
.accordion {
  background-color: var(--card-background);
  color: var(--card-foreground);
  border: 1px solid var(--card-border-color);
  --accordion-padding: /* grow(16, 32) */ clamp(1rem, 0.7272727273rem + 1.2121212121vw, 2rem);
  border-radius: var(--rounded);
  transition-duration: 300ms;
  transition-property: background-color, border-color, color;
}
.accordion:has(.accordion-heading:focus-visible) {
  outline: 2px solid var(--focus-color, var(--primary-color));
  outline-offset: var(--focus-offset, 3px);
}
.accordion.accordion-open {
  --card-background: var(--shade-color);
}
@container theme style(--theme: dark) {
  .accordion.accordion-open {
    --card-background: color-mix(in srgb, var(--red-200), transparent 95%);
  }
}
.accordion.accordion-open:where([data-query-theme="3871037065"]) {
  --card-background: color-mix(in srgb, var(--red-200), transparent 95%);
}
.accordion.accordion-open {
  --card-border-color: color-mix(in srgb, var(--red-950), transparent 80%);
}
@container theme style(--theme: dark) {
  .accordion.accordion-open {
    --card-border-color: color-mix(in srgb, var(--red-200), transparent 80%);
  }
}
.accordion.accordion-open:where([data-query-theme="3871037065"]) {
  --card-border-color: color-mix(in srgb, var(--red-200), transparent 80%);
}
.accordion.accordion-open .accordion-heading .toggle-icon {
  transform: rotate(180deg);
}
.accordion .accordion-heading {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  font: inherit;
  line-height: 1;
  letter-spacing: inherit;
  word-spacing: inherit;
  white-space: nowrap;
  background: none;
  color: inherit;
  text-align: left;
  font-family: var(--accent-font-family);
  font-size: /* grow(20, 24) */ clamp(1.25rem, 1.1818181818rem + 0.303030303vw, 1.5rem);
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: 0;
  padding: var(--accordion-padding);
  padding-bottom: calc(var(--accordion-padding) + var(--accent-font-descent));
  margin: 0;
  display: flex;
  gap: 1em;
  align-items: center;
  cursor: pointer;
  justify-content: space-between;
  width: 100%;
  white-space: normal;
  outline: none;
}
.accordion .accordion-inner {
  padding: var(--accordion-padding);
  padding-top: 0;
}
.accordion .accordion-inner:not(body.no-js *) {
  display: none;
}
.accordion .accordion-inner > :first-child, .accordion .accordion-inner > link:first-child + * {
  margin-top: 0;
}
.accordion .accordion-inner > :last-child {
  margin-bottom: 0;
}
.accordion .accordion-inner > :is(.large-text, .lead-text):first-child > :first-child {
  margin-top: 0;
}
.accordion .accordion-inner > :is(.large-text, .lead-text):last-child > :last-child {
  margin-bottom: 0;
}
.accordion:last-child {
  margin-bottom: 1em;
}
.accordion .toggle-icon {
  margin-bottom: 0.125rem;
  transition: transform 300ms;
  transform-origin: center 35%;
}
.accordion .toggle-icon:is(body.no-js *) {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .accordion .toggle-icon {
    transition: none;
  }
}

/*# sourceMappingURL=css-wpce--accordion.css.map*/