.accordionTitle {
  display: flex;
  align-items: center;
  padding-block: 24px;
  padding-inline: 32px;

  details[open] > & {
    padding-block-end: 20px;
  }
  background-color: transparent;
  cursor: pointer;
  list-style: none;

  &::-webkit-details-marker {
    display: none;
  }
}

.accordionTitleText {
  // force h4 styles
  font-size: var(--hs-heading4-fontSize);
  font-family: var(--hs-heading4-fontFamily);
  font-style: var(--hs-heading4-fontStyle);
  font-weight: var(--hs-heading4-fontWeight);
  text-decoration: none;

  & * {
    font-size: inherit;
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
    text-decoration: inherit;
    margin-block: 0;
  }

  margin-inline-end: 16px;
  flex: 1;
}

.accordionIcon {
  flex-shrink: 0;
  align-self: center;
  fill: currentColor;
  margin-inline-start: auto;
  transition: transform 0.3s ease;
  display: block;
}

.accordionIconChevron {
  width: 28px;
  height: 17px;
}

.accordionIconPlus {
  width: 24px;
  height: 27px;
}

.accordionIconMinus {
  display: none;
  width: 24px;
  height: 24px;
}

.accordionIconCaret {
  width: 24px;
  height: 24px;
}
