.accordion-wrapper {
  &.accordion {
    .accordion-element {
      background-color: $white;

      .card-header {
        background-color: $secondary-color;

        &:has(a[aria-expanded="true"]) {
          background-color: $red-dark;

          h4 {
            a {
              color: $white !important;
            }
          }
        }

        h4.card-title,
        .card-title.h4 {
          font-family: $font-family-secondary;
          font-weight: 600;
          text-shadow: 0.25em 0.25em 0 $black;
          padding-left: 15px;
          color: $black;

          a {
            font-size: 26px;

            &:hover {
              display: contents;
            }

            &[aria-expanded="true"] {
              color: $secondary-color;
            }

            &.accordion-toggle {
              color: $white;

              &.collapsed {
                color: $white;
              }
            }

            @media only screen and (max-width: 767.95px) {
              font-size: 1.125rem !important;
            }
          }
        }
      }

      .card-body {
        padding: 30px !important;

        .frame-type-text p {
          color: $black;
          font-weight: 300;
        }

        ol {
          li {
            color: $black !important;
            font-weight: 300 !important;
            font-size: 1.125rem !important;
          }
        }
      }

      .collapse {
        background-color: $white;

        .card-body {
          color: $black;
          padding: 30px 30px;
          font-size: 1.125rem !important;

          ul,
          ol {
            li {
              color: $black !important;
              font-size: 1.125rem !important;
              font-weight: 300 !important;

              &::marker {
                font-weight: 600;
                color: $red-dark !important;
              }
            }
          }

          p {
            color: $black;
            font-size: 1.125rem !important;

            strong {
              font-weight: 600 !important;
            }
          }
        }
      }
    }
  }
}

.accordion {
  .card-header {
    .card-title {
      .accordion-toggle:after {
        right: 10px !important;
      }
    }
  }
}