/* Base Accordion Styles */

.custom-accordion a:hover {
  text-decoration: none;
}

.custom-accordion .card-header {
  padding: 0;
  margin-bottom: 0;
  border: none;
}

.custom-accordion .card {
  border: none;
  margin-top: 15px;
}

.custom-accordion .card-body {
  padding: 15px;
}

/* Typography */

.custom-accordion p {
  font-size: 18px;
  line-height: 1.3;
}

.custom-accordion ul {
  font-size: 17px;
}

.custom-accordion h5 {
  font-size: 18px;
  font-weight: 400 !important;
}

/* Accordion Header / Toggle Link */

.custom-accordion .panel-heading .panel-title > a {
  background-color: #6f006f;
  border: medium none;
  color: #fff;
  display: block;
  line-height: 28px;
  padding: 15px 45px 15px 20px;
  word-wrap: break-word;
  border-radius: 4px;
  transition: background-color 0.3s;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
}

.custom-accordion .panel-heading .panel-title > a:hover, .custom-accordion .panel-heading .panel-title > a:not(.collapsed) {
  background-color: #91298c;
}

/* Indicator Arrow Icon */

.custom-accordion .panel-heading .panel-title > a::after {
  bottom: 0;
  content: url("../../assets/img/arrow-open.svg");
  letter-spacing: 0px;
  position: absolute;
  right: 0px;
  top: 17px;
  width: 35px;
  height: 25px;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
  transform-origin: 20% 12px;
}

.custom-accordion .panel-heading .panel-title > a.collapsed::after {
  transform: rotate(90deg);
}

/* Responsive Styles (992px and up) */

@media (min-width: 992px) {
  .custom-accordion p, .custom-accordion ul, .custom-accordion h5 {
    font-size: 20px;
  }
}

