:root,
.pf-v6-c-expandable-section {
  --pf-v6-c-expandable-section--Gap: var(--pf-t--global--spacer--sm);
  --pf-v6-c-expandable-section__toggle-icon--MinWidth: 1em;
  --pf-v6-c-expandable-section__toggle-icon--Color: var(--pf-t--global--icon--color--regular);
  --pf-v6-c-expandable-section__toggle-icon--Transition: .2s ease-in 0s;
  --pf-v6-c-expandable-section__toggle-icon--Rotate: 0;
  --pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate: 0;
  --pf-v6-c-expandable-section--m-expanded__toggle-icon--Rotate: 90deg;
  --pf-v6-c-expandable-section--m-expanded__toggle-icon--m-expand-top--Rotate: -90deg;
  --pf-v6-c-expandable-section__content--MaxWidth: auto;
  --pf-v6-c-expandable-section--m-limit-width__content--MaxWidth: 46.875rem;
  --pf-v6-c-expandable-section--m-display-lg--PaddingBlockStart: var(--pf-t--global--spacer--sm);
  --pf-v6-c-expandable-section--m-display-lg--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
  --pf-v6-c-expandable-section--m-display-lg--PaddingInlineStart: var(--pf-t--global--spacer--md);
  --pf-v6-c-expandable-section--m-display-lg--PaddingInlineEnd: var(--pf-t--global--spacer--md);
  --pf-v6-c-expandable-section--m-display-lg--m-expanded--PaddingBlockEnd: var(--pf-t--global--spacer--md);
  --pf-v6-c-expandable-section--m-display-lg--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
  --pf-v6-c-expandable-section--m-display-lg--BorderWidth: var(--pf-t--global--border--width--box--default);
  --pf-v6-c-expandable-section--m-display-lg--BorderColor: var(--pf-t--global--border--color--default);
  --pf-v6-c-expandable-section--m-display-lg--BorderRadius: var(--pf-t--global--border--radius--medium);
  --pf-v6-c-expandable-section--m-indented__content--PaddingInlineStart: calc(var(--pf-t--global--spacer--action--horizontal--plain--default) + var(--pf-t--global--spacer--gap--text-to-element--default) + var(--pf-v6-c-expandable-section__toggle-icon--MinWidth));
  --pf-v6-c-expandable-section--m-truncate__content--LineClamp: 3;
  --pf-v6-c-expandable-section--m-truncate--Gap: var(--pf-t--global--spacer--xs);
}

.pf-v6-c-expandable-section {
  display: flex;
  flex-direction: column;
  gap: var(--pf-v6-c-expandable-section--Gap);
}
.pf-v6-c-expandable-section.pf-m-expanded {
  --pf-v6-c-expandable-section__toggle-icon--Rotate: var(--pf-v6-c-expandable-section--m-expanded__toggle-icon--Rotate);
  --pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate: var(--pf-v6-c-expandable-section--m-expanded__toggle-icon--m-expand-top--Rotate);
  --pf-v6-c-expandable-section--m-display-lg--PaddingBlockEnd: var(--pf-v6-c-expandable-section--m-display-lg--m-expanded--PaddingBlockEnd);
}
.pf-v6-c-expandable-section.pf-m-limit-width {
  --pf-v6-c-expandable-section__content--MaxWidth: var(--pf-v6-c-expandable-section--m-limit-width__content--MaxWidth);
}
.pf-v6-c-expandable-section.pf-m-display-lg {
  padding-block-start: var(--pf-v6-c-expandable-section--m-display-lg--PaddingBlockStart);
  padding-block-end: var(--pf-v6-c-expandable-section--m-display-lg--PaddingBlockEnd);
  padding-inline-start: var(--pf-v6-c-expandable-section--m-display-lg--PaddingInlineStart);
  padding-inline-end: var(--pf-v6-c-expandable-section--m-display-lg--PaddingInlineEnd);
  background-color: var(--pf-v6-c-expandable-section--m-display-lg--BackgroundColor);
  border: var(--pf-v6-c-expandable-section--m-display-lg--BorderWidth) solid var(--pf-v6-c-expandable-section--m-display-lg--BorderColor);
  border-radius: var(--pf-v6-c-expandable-section--m-display-lg--BorderRadius);
}
.pf-v6-c-expandable-section.pf-m-indented {
  --pf-v6-c-expandable-section__content--PaddingInlineStart: var(--pf-v6-c-expandable-section--m-indented__content--PaddingInlineStart);
}
.pf-v6-c-expandable-section.pf-m-truncate {
  --pf-v6-c-expandable-section--Gap: var(--pf-v6-c-expandable-section--m-truncate--Gap);
}
.pf-v6-c-expandable-section.pf-m-truncate:not(.pf-m-expanded) .pf-v6-c-expandable-section__content {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--pf-v6-c-expandable-section--m-truncate__content--LineClamp);
  overflow: hidden;
}

.pf-v6-c-expandable-section__toggle-icon {
  display: inline-block;
  min-width: var(--pf-v6-c-expandable-section__toggle-icon--MinWidth);
  color: var(--pf-v6-c-expandable-section__toggle-icon--Color);
  transition: var(--pf-v6-c-expandable-section__toggle-icon--Transition);
  transform: rotate(var(--pf-v6-c-expandable-section__toggle-icon--Rotate));
}
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-expandable-section__toggle-icon {
  scale: -1 1;
}

.pf-v6-c-expandable-section__toggle-icon.pf-m-expand-top {
  --pf-v6-c-expandable-section__toggle-icon--Rotate: var(--pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate);
}

.pf-v6-c-expandable-section__content {
  max-width: var(--pf-v6-c-expandable-section__content--MaxWidth);
  padding-block-end: var(--pf-v6-c-expandable-section__content--PaddingBlockEnd, 0);
  padding-inline-start: var(--pf-v6-c-expandable-section__content--PaddingInlineStart, 0);
}