/* FAQ: contact card left, accordion right. Copied from website/industries/css/faq.css */
.as-faq {
  padding: 60px 0;
  background-color: var(--as-bg-white);
}

.as-faq-heading {
  font-family: var(--as-font-heading);
  font-size: 35px;
  font-weight: 700;
  line-height: normal;
  color: var(--as-color-heading-dark);
  margin-bottom: 26px;
  margin-left: 35px;
}

.as-faq-contact-card {
  border: 1px solid #cfd6e3;
  border-radius: 22px;
  padding: 32px 22px;
  text-align: center;
  margin-right: 30px;
  margin-left: 15px;
}

.as-faq-contact-title {
  font-family: var(--as-font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--as-color-heading-dark);
  margin-bottom: 10px;
}

.as-faq-contact-text {
  font-family: var(--as-font-body);
  font-size: 15px;
  line-height: 1.45;
  color: var(--as-color-body-text);
  margin-bottom: 18px;
}

.as-faq-contact-btn {
  display: inline-block;
  font-family: var(--as-font-heading);
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--as-color-primary-red);
  border-radius: 10px;
  padding: 10px 22px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.as-faq-contact-btn:hover,
.as-faq-contact-btn:focus {
  color: #ffffff;
  text-decoration: none;
  background-color: var(--as-color-primary-red-hover);
}

.as-faq-item {
  border-bottom: 1px solid #d7dbe5;
  padding: 14px 0;
}

.as-faq-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  font-family: var(--as-font-heading);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  color: #333333;
  cursor: pointer;
  transition: color 0.2s ease;
}

.as-faq-toggle:hover {
  color: var(--as-color-primary-red);
}

.as-faq-toggle:focus {
  outline: none;
}

.as-faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  min-width: 24px;
  margin-top: 4px;
  padding: 0;
  line-height: 0;
  color: var(--as-color-muted);
  transition: transform 0.2s ease;
}

.as-faq-icon svg {
  display: block;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.as-faq-toggle[aria-expanded="true"] .as-faq-icon {
  transform: rotate(180deg);
}

.as-faq .as-faq-answer a {
  color: var(--as-color-primary-red, #ca4441);
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.as-faq .as-faq-answer a:hover,
.as-faq .as-faq-answer a:focus,
.as-faq .as-faq-answer a:active {
  color: var(--as-color-primary-red-hover, #b91c1c);
  text-decoration: none !important;
}

/* Tablet (max-width: 991px): the two columns stack */
@media (max-width: 991px) {
  .as-faq-heading {
    margin-left: 0;
  }

  .as-faq-contact-card {
    margin-right: 0;
    margin-left: 0;
  }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .as-faq {
    padding: 50px 0 35px;
  }

  .as-faq-heading {
    font-size: 30px;
    line-height: 1.25;
    text-align: center;
    margin-bottom: 18px;
  }

  .as-faq-contact-card {
    border-radius: 18px;
    padding: 24px 18px;
  }

  .as-faq-contact-title {
    font-size: 24px;
  }

  .as-faq-contact-text {
    font-size: 16px;
  }

  .as-faq-toggle {
    font-size: 16px;
  }

  .as-faq .as-faq-answer {
    font-size: 15px;
    padding-right: 0;
  }
}
