/* Base Accordion Styles */

@media (hover: hover) and (pointer: fine) {
  .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;
}

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

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

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

@media (min-width: 992px) {
  .custom-accordion h5 {
    font-size: 19px;
    font-weight: 400 !important;
  }
}

@media (min-width: 1200px) {
  .custom-accordion h5 {
    font-size: 20px;
    font-weight: 400 !important;
  }
}

.custom-accordion .fas.fa-comments {
  font-size: 20px;
}

/* Accordion list styles */

.custom-accordion ul {
  display: grid;
  justify-content: center;
}

@media (min-width: 490px) {
  .custom-accordion ul {
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
    margin-left: 20px;
  }
}

@media (min-width: 576px) {
  .custom-accordion ul {
    gap: 0px 50px;
  }
}

@media (min-width: 768px) {
  .custom-accordion ul {
    gap: 0px 60px;
  }
}

@media (min-width: 992px) {
  .custom-accordion ul {
    grid-template-columns: 275px 285px 120px;
    margin-left: 0;
  }
}

@media (min-width: 1200px) {
  .custom-accordion ul {
    grid-template-columns: 346px 366px 140px;
  }
}

/* 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);
}

@media (hover: hover) and (pointer: fine) {
  .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);
}

