.rapidmd_dropdown.rapidmd_dropdown {
  background-color: #fff;
  padding: 40px;
  box-sizing: border-box;
}

ul.rapidmd_dropdown.rapidmd_dropdown > li button {
  width: 100%;
  min-height: 80px;
  box-sizing: border-box;
  background-color: transparent;
  border: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  font-size: 24px;
  line-height: 38.4px;
  color: #374957;
  position: relative;
  outline: none;
  scroll-margin-top: 70px;
  transition: color 0.2s ease-in-out;
}

ul.rapidmd_dropdown.rapidmd_dropdown > li button::before {
  content: url(/img/dropdown_arrow.svg);
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  display: flex;
  align-items: center;
  padding-left: 15px;
  filter: grayscale(1);
  transition: transform 0.2s ease-in-out;
}

ul.rapidmd_dropdown.rapidmd_dropdown > li button.rapidmd_dropdown_button__open::before {
  transform: rotateX(180deg);
  filter: grayscale(0);
}

ul.rapidmd_dropdown.rapidmd_dropdown > li button > svg {
  margin-right: 15px;
  color: #c6c6c6;
  transition: color 0.2s ease-in-out;
}

ul.rapidmd_dropdown.rapidmd_dropdown > li button:hover,
ul.rapidmd_dropdown.rapidmd_dropdown > li button:hover > svg,
ul.rapidmd_dropdown.rapidmd_dropdown > li button.rapidmd_dropdown_button__open,
ul.rapidmd_dropdown.rapidmd_dropdown > li button.rapidmd_dropdown_button__open > svg {
  color: #2563eb;
}

ul.rapidmd_dropdown.rapidmd_dropdown > li {
  border-top: 1px solid #e2e8f0;
}

ul.rapidmd_dropdown.rapidmd_dropdown .faq-list-card li {
  font-size: 16px;
  line-height: 26px;
}

ul.rapidmd_dropdown.rapidmd_dropdown > li:last-child {
  border-bottom: 1px solid #e2e8f0;
}

.rapidmd_dropdown.rapidmd_dropdown .faq-list-card--transparent ul {
  margin-bottom: 0;
}

.rapidmd_dropdown.rapidmd_dropdown .rapidmd_dropdown_content {
  height: 0;
  overflow: hidden;
  transition: height 0.2s ease-in-out;
}

.rapidmd_dropdown.rapidmd_dropdown .rapidmd_dropdown_content {
  width: 1250px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;
}

.rapidmd_dropdown.rapidmd_dropdown .rapidmd_dropdown_content ul {
  width: 980px;
  max-width: 100%;
  padding-right: 0;
}

/* FAQ List Card Styles */

.faq-list-card {
  background-color: #edfff1;
  border: 1px solid #8be8a1;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 10px;
  position: relative;
}

.faq-list-card:not(.faq-list-card--transparent) {
  overflow: hidden;
}

.faq-list-card > *:not(svg) {
  position: relative;
  z-index: 1;
}

.faq-list-card h4 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  color: #374957;
  margin-bottom: 25px;
}

.faq-list-card > p {
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: #374957;
}

.faq-list-card > p:not(:last-child) {
  margin-bottom: 35px;
}

.faq-list-card ul {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 15px;
}

.faq-list-card li {
  display: flex;
  align-items: center;
  font-size: 20px;
  line-height: 28px;
}

.faq-list-card li svg {
  flex-shrink: 0;
  margin-right: 10px;
}

.faq-list-card--transparent {
  border: 0;
  background-color: transparent;
  padding: 0;
}

.faq-list-card--transparent h4 {
  font-weight: 400;
  font-size: 40px;
  line-height: 50px;
  color: #374957;
}

.faq-list-card--transparent ul {
  padding-right: 80px;
  gap: 20px;
}

.faq-list-card--transparent ul:not(:last-child) {
  margin-bottom: 20px;
}

.faq-list-card > svg {
  position: absolute;
  bottom: 0;
  right: 0;
}

@media only screen and (max-width: 1100px) {
  .rapidmd_dropdown {
    padding: 20px;
  }

  ul.rapidmd_dropdown > li button > svg {
    flex-shrink: 0;
  }

  ul.rapidmd_dropdown > li button {
    font-size: 16px;
    line-height: 18px;
    text-align: left;
    padding-right: 30px;
  }

  .rapidmd_dropdown .rapidmd_dropdown_content {
    padding: 0 25px;
  }

  ul.rapidmd_dropdown .faq-list-card li {
    font-size: 14px;
    line-height: 22px;
  }

  .faq-list-card ul {
    gap: 15px;
    padding-right: 0;
  }

  .faq-list-card h4 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 15px;
  }

  .faq-list-card > p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 15px;
  }
}

@media only screen and (max-width: 900px) {
  .faq-list-card > p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 15px;
  }
}

@media only screen and (max-width: 700px) {
  .faq-list-card ul {
    gap: 15px;
    padding-right: 0;
  }

  .faq-list-card h4 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 15px;
  }

  .faq-list-card > p {
    font-size: 14px;
    line-height: 20px;
  }

  .faq-list-card li {
    font-size: 14px;
    line-height: 20px;
  }
}
