/* Base layout styles inherited from privacy.css */
#faq .wrap {
  max-width: 1220px;
}

#faq .faq__description {
  margin-bottom: 90px;
}

#faq .faq__main {
  width: 906px;
  margin: 0 auto;
}

@media only screen and (max-width: 560px) {
  #faq .faq__description {
    margin-bottom: 160px;
  }
  #faq .faq__main {
    width: auto;
  }
}

/* FAQ specific styles */
.faq-list {
  margin-bottom: 60px;
}

.faq-category {
  margin-bottom: 40px;
}

.faq-category-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0071bb;
}

.toggle {
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 20px;
}

.toggle-link {
  position: relative;
  cursor: pointer;
  padding: 15px 50px 15px 15px;
}

.toggle-link:after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #0071bb;
  transition: all 0.3s ease;
}

.toggle.active .toggle-link:after {
  content: "-";
}

.toggle-main {
  padding: 0 15px 20px;
}

.faq-question {
  font-size: 18px;
  font-weight: 600;
  color: #0071bb;
  position: relative;
  padding-left: 30px;
}

.faq-question:before {
  content: "Q";
  font-size: 22px;
  font-weight: 700;
  color: #0071bb;
  position: absolute;
  left: 0;
  top: -2px;
}

.faq-answer {
  padding-left: 30px;
  position: relative;
  margin-top: 10px;
}

.faq-answer:before {
  content: "A";
  font-size: 22px;
  font-weight: 700;
  color: #e73828;
  position: absolute;
  left: 0;
  top: -2px;
}

/* Table styles */
.faq-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

.faq-table th, 
.faq-table td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
}

.faq-table th {
  background-color: #f5f5f5;
  font-weight: 600;
}

/* List styles */
.faq-list-bullet {
  margin: 10px 0 10px 30px;
  padding-left: 20px;
}

.faq-list-bullet li {
  list-style-type: none;
  margin-bottom: 5px;
}

/* Responsive styles */
@media only screen and (max-width: 560px) {
  .faq-category-title {
    font-size: 20px;
  }
  
  .toggle-link {
    padding: 15px 40px 15px 10px;
  }

  .faq-question {
    font-size: 16px;
    padding-left: 25px;
  }

  .faq-question:before {
    font-size: 20px;
  }

  .faq-answer {
    padding-left: 25px;
  }

  .faq-answer:before {
    font-size: 20px;
  }

  .toggle-link:after {
    right: 10px;
    font-size: 20px;
  }
  
  .faq-table th, 
  .faq-table td {
    padding: 6px 8px;
    font-size: 14px;
  }
}
