.faq-p {
  font-size: 20px;
}

.faq-question {
  text-transform: uppercase;
}

.faq {
  color: white;
  background: linear-gradient(to bottom,#2C4545, #112929, #112929,#112929, #2C4545); 
  padding: 60px 15px;
  overflow: hidden;  
  position: relative;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.faq-title {
  z-index: 3;
  font-size: 50px;
  line-height: 1.75;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  height: 147px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-image: url(../images/questions.png.webp);
  background-position: center;
  background-size: 700px 140px;
  background-repeat: no-repeat;
  margin-bottom: 20px;
  position: relative;
}

.faq-question {
  cursor: pointer;
  font-weight: bold;
  padding: 1rem;
  background: transparent;
  border-bottom: 1px solid #87e37b;
  transition: background 0.3s ease;
}

.faq-question > a {
  text-decoration: none;
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding: 0 1rem;
}

.faq-item.active .faq-answer {
  padding: 1rem;
  max-height: 500px; /* достатньо для великих відповідей */
}

.faq-item > a {
  padding: 1rem;
  max-height: 500px; /* достатньо для великих відповідей */
}


.faq-wrapper {
  max-width: 960px;

  >form {
    margin-top: 30px;
  }
}

body {
  padding: 0 !important;
  margin: 0 !important;
}


@media (max-width: 720px) {
  .faq-title {
    font-size: 40px;
    background-size: contain;
    background-position: bottom;
  }
}