/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
:host {
  --digi--expandable-accordion--header--toggle-icon--transition: ease-in-out var(--digi--animation--duration--base) all;
  --digi--expandable-accordion--header--font-size: var(--digi--typography--accordion--font-size--desktop);
  --digi--expandable-accordion--header--font-size--small: var(--digi--typography--accordion--font-size--mobile);
  --digi--expandable-accordion--header--font-weight: var(--digi--typography--accordion--font-weight--desktop);
  --digi--expandable-accordion--icon--size: 0.875rem;
  --digi--expandable-accordion--icon--margin-right: var(--digi--margin--medium);
  --digi--expandable-accordion--border-bottom-width: var(--digi--border-width--secondary);
  --digi--expandable-accordion--border-bottom-color: var(--digi--color--divider--cta);
  --digi--expandable-accordion--content--padding: var(--digi--padding--medium) 0;
  --digi--expandable-accordion--content--transition: ease-in-out var(--digi--animation--duration--base) height;
  display: block;
}
:host .digi-expandable-accordion::after {
  content: "";
  display: block;
  max-width: var(--digi--paragraph-width--medium);
  border-bottom-width: var(--digi--expandable-accordion--border-bottom-width);
  border-bottom-color: var(--digi--expandable-accordion--border-bottom-color);
  border-bottom-style: solid;
  margin-top: calc(var(--digi--expandable-accordion--border-bottom-width) * -1);
}
:host .digi-expandable-accordion--fullwidth::after {
  content: "";
  display: block;
  max-width: none;
  border-bottom-width: var(--digi--expandable-accordion--border-bottom-width);
  border-bottom-style: solid;
  margin-top: calc(var(--digi--expandable-accordion--border-bottom-width) * -1);
}

.digi-expandable-accordion__header {
  display: flex;
  align-items: center;
}
.digi-expandable-accordion--variation-primary .digi-expandable-accordion__header {
  max-width: var(--digi--paragraph-width--medium);
  border-bottom-width: var(--digi--expandable-accordion--border-bottom-width);
  border-bottom-color: var(--digi--expandable-accordion--border-bottom-color);
  border-bottom-style: solid;
}
.digi-expandable-accordion--fullwidth .digi-expandable-accordion__header {
  max-width: none;
}

.digi-expandable-accordion__toggle-icon {
  transition: var(--digi--expandable-accordion--header--toggle-icon--transition);
}
.digi-expandable-accordion--expanded-true .digi-expandable-accordion__toggle-icon {
  transform: rotate(-180deg);
}

.digi-expandable-accordion__heading {
  margin: 0;
  flex: 1;
}
.digi-expandable-accordion__heading-text {
  max-width: var(--digi--paragraph-width--medium);
}

.digi-expandable-accordion__button {
  font-family: var(--digi--global--typography--font-family--default);
  font-size: var(--digi--expandable-accordion--header--font-size--small);
  font-weight: var(--digi--expandable-accordion--header--font-weight);
  width: 100%;
  display: flex;
  gap: var(--digi--expandable-accordion--icon--margin-right);
  align-items: center;
  text-align: start;
  cursor: pointer;
  border: none;
}
@media (min-width: 48rem) {
  .digi-expandable-accordion__button {
    font-size: var(--digi--expandable-accordion--header--font-size);
  }
}
.digi-expandable-accordion--variation-primary .digi-expandable-accordion__button {
  color: var(--digi--color--text--primary);
  background-color: transparent;
  padding: var(--digi--expandable-accordion--content--padding);
}
.digi-expandable-accordion--variation-primary .digi-expandable-accordion__button:focus-visible {
  outline: 2px solid black;
  outline-offset: 2px;
  box-shadow: 0px 0px 0px 5px white;
}
.digi-expandable-accordion--variation-primary .digi-expandable-accordion__button:hover {
  text-decoration: underline;
}
.digi-expandable-accordion--fullwidth .digi-expandable-accordion__button {
  max-width: none;
}

.digi-expandable-accordion__content {
  overflow-y: hidden;
}
.digi-expandable-accordion--expanded-false .digi-expandable-accordion__content {
  height: 0;
}
.digi-expandable-accordion--variation-primary .digi-expandable-accordion__content > div {
  padding: var(--digi--expandable-accordion--content--padding);
}
.digi-expandable-accordion--variation-primary.digi-expandable-accordion--animation-true .digi-expandable-accordion__content {
  transition: var(--digi--expandable-accordion--content--transition);
}

.digi-expandable-accordion__toggle-inside {
  text-align: center;
  --digi--button--color--background--function--hover: var(--digi--color--background--primary);
}

@keyframes heightAnim {
  from {
    height: 0%;
  }
  to {
    height: 100%;
  }
}