.faqs-container:not(.layout-2) {
  max-width: 780px;
  margin: 0 auto;
}
.faqs-container.layout-2 {
  padding: 0;
}

/* Background Colour default */
.faqs-container .faq-item.bg-color-enigmaWhite .accordion__label .heading,
.faqs-container .faq-item.bg-color-enigmaWhite .faq-answer p {
  color: var(--enigmaBlack);
}

/* Arrow Colours */
.faq-item.arrow-enigmaWhite .accordion__label .heading::after {
  background: url('../../assets/chevron.svg') no-repeat center;
}
.faq-item.arrow-enigmaYellow .accordion__label .heading::after {
  background: url('../../assets/chevron-enigmaYellow.svg') no-repeat center;
}
.faq-item.arrow-enigmaGreen .accordion__label .heading::after {
  background: url('../../assets/chevron-enigmaGreen.svg') no-repeat center;
}
.faq-item.arrow-enigmaGreenLight .accordion__label .heading::after {
  background: url('../../assets/chevron-enigmaGreenLight.svg') no-repeat center;
}
.faq-item.arrow-enigmaRadiation .accordion__label .heading::after {
  background: url('../../assets/chevron-enigmaRadiation.svg') no-repeat center;
}
.faq-item.arrow-enigmaToxic .accordion__label .heading::after {
  background: url('../../assets/chevron-enigmaToxic.svg') no-repeat center;
}
.faq-item.arrow-enigmaInk .accordion__label .heading::after {
  background: url('../../assets/chevron-enigmaInk.svg') no-repeat center;
}
.faq-item.arrow-enigmaXenon .accordion__label .heading::after {
  background: url('../../assets/chevron-enigmaXenon.svg') no-repeat center;
}
.faq-item.arrow-enigmaCorporate .accordion__label .heading::after {
  background: url('../../assets/chevron-enigmaCorporate.svg') no-repeat center;
}
.faq-item.arrow-enigmaDarkGrey .accordion__label .heading::after {
  background: url('../../assets/chevron-enigmaDarkGrey.svg') no-repeat center;
}
.faq-item.arrow-enigmaGrey .accordion__label .heading::after {
  background: url('../../assets/chevron-enigmaGrey.svg') no-repeat center;
}
.faq-item.arrow-enigmaLightGrey .accordion__label .heading::after {
  background: url('../../assets/chevron-enigmaLightGrey.svg') no-repeat center;
}
.faq-item.arrow-enigmaBlack .accordion__label .heading::after {
  background: url('../../assets/chevron-enigmaBlack.svg') no-repeat center;
}

/* Initial state of the answers */
.faqs-section .faq-answer {
  max-height: 0;
  opacity: 0;
  padding: 0;
  overflow: hidden;
  transition: max-height 500ms ease-in-out, opacity 500ms ease-in-out, padding 500ms ease-in-out;
}
.faqs-section .faq-answer p {
  color: var(--enigmaWhite);
}

.faqs-section .accordion__label {
  width: 100%;
}
.faqs-container:not(.layout-2) .faq-item:not(:first-child) h3 {
  margin-top: 10px;
}

/* Style the labels to look like clickable headers */
.faqs-container:not(.layout-2) .accordion__label .heading {
  border-bottom: 1px solid var(--enigmaWhite);
  cursor: pointer;
  width: 100%;
  padding-bottom: 10px;
}
.faqs-container .accordion__label,
.faqs-container .accordion__label .heading {
  color: var(--enigmaWhite);
  margin-bottom: 0;
  padding-bottom: 0;
  position: relative;
}
.faqs-container .accordion__label .heading::after {
  content: "";
  background: url('../../assets/chevron.svg') no-repeat center;
  width: 10px;
  height: 10px;
  display: block;
  position: absolute;
  right: 0; top: 0;
  transform: rotate(-90deg) translateX(-50%);
  transition: transform 350ms ease-in-out;
}
.faqs-container.layout-2  .accordion__label .heading::after {
  background-size: contain;
  width: 18px;
  height: 18px;
  transform: rotate(-90deg);
}
.faqs-section .accordion__input:checked ~ label .heading::after {
  transform: rotate(0deg);
  transition: transform 350ms ease-in-out;
}

.faqs-section input[type="checkbox"].accordion__input {
  display: none;
}
/* Use the :checked pseudo-class to style the labels when the checkboxes are checked to expand the answer divs */
.faqs-section .accordion__input:checked ~ .faq-answer {
  max-height: 1000px;
  opacity: 1;
  padding: 4px 0 20px;
}
.faqs-container.layout-2 .accordion__input:checked ~ .faq-answer {
  padding: 20px 0 0px;
}
.faqs-container.layout-2 .accordion__input:checked ~ .faq-answer p:last-child {
  margin-bottom: 5px;
}

.faqs-section .faq-item {
  border-width: 1px;
}

.faqs-section .faqs-content {
  margin-top: 100px;
}

@media only screen and (max-width: 782px) {
  .faqs-section .faq-item {
    border-radius: 10px;
  }
  .faqs-section .faqs-content {
    margin-top: 30px;
  }
}

@media only screen and (max-width: 500px) {
  .faqs-section .faq-item {
    padding: 15px;
  }
  .faqs-container .accordion__label .heading {
    padding-right: 30px;
  }
}

