

/* ==========================================================================
   BASE
   ========================================================================== */

.ilacven-faq-section {
  width: 100%;
  margin: 60px auto 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.ilacven-faq-container {
  max-width: 1200px;
  margin: 0 auto;
}


/* ==========================================================================
   HEADING
   ========================================================================== */

.ilacven-faq-heading {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 30px;
  text-align: left;
  letter-spacing: -0.5px;
}


/* ==========================================================================
   LIST
   ========================================================================== */

.ilacven-faq-list {
  border-top: 1px solid #f0f0f0;
}

.ilacven-faq-item {
  border-bottom: 1px solid #f0f0f0;
}


/* ==========================================================================
   QUESTION
   ========================================================================== */

.ilacven-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 22px 0;

  font-size: 16px;
  font-weight: 500;
  color: #222222;

  cursor: pointer;
  user-select: none;

  transition: color 0.2s ease;
}

.ilacven-faq-question:hover {
  color: #256643;
}


/* ==========================================================================
   ICON
   ========================================================================== */

.faq-icon {
  flex-shrink: 0;

  margin-left: 15px;

  font-size: 20px;
  font-weight: 300;
  line-height: 1;

  color: #666666;

  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.ilacven-faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #256643;
}


/* ==========================================================================
   ANSWER
   ========================================================================== */

.ilacven-faq-answer {
  max-height: 0;
  overflow: hidden;

  transition:
    max-height 0.3s ease-out,
    padding 0.3s ease;
}

.ilacven-faq-answer p {
  max-width: 900px;

  margin: 0;
  padding: 0 0 20px;

  font-size: 14px;
  line-height: 1.7;
  color: #555555;
}

.ilacven-faq-item.active .ilacven-faq-answer {
  max-height: 300px;
}


/* ==========================================================================
   INTERNAL LINK
   ========================================================================== */

.ilacven-faq-link {
  display: inline-block;
  margin-left: 4px;

  color: #256643;
  font-weight: 600;
  text-decoration: none;

  border-bottom: 1px solid #256643;

  transition: opacity 0.2s ease;
}

.ilacven-faq-link:hover {
  opacity: 0.7;
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media screen and (max-width: 767px) {

  .ilacven-faq-section {
    margin: 40px auto 30px auto;
    padding: 0 16px;
  }

  .ilacven-faq-heading {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .ilacven-faq-question {
    padding: 16px 0;

    font-size: 14px;
    line-height: 1.5;
  }

  .ilacven-faq-answer p {
    padding-bottom: 16px;

    font-size: 13px;
    line-height: 1.65;
  }

}

