.lab-faq {
  width: 100%;
  font-family: Raleway, sans-serif;
  color: #000;
}

.lab-faq__columns {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.lab-faq__categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lab-faq__category-button {
  border: none;
  background: transparent;
  padding: 14px 18px;
  border-radius: 15px;
  font-family: Raleway, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.8);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lab-faq__category-button:hover,
.lab-faq__category-button:focus {
  background: rgba(111, 150, 245, 0.15);
  outline: none;
}

.lab-faq__category-button.is-active {
  background: #6f96f5;
  color: #fff;
}

.lab-faq__questions {
  position: relative;
}

.lab-faq__question-group[hidden] {
  display: none !important;
}

.lab-faq__question {
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.lab-faq__question:first-child {
  padding-top: 0;
}

.lab-faq__question:last-child {
  border-bottom: none;
}

.lab-faq__question-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
}

.lab-faq__question-text {
  flex: 1 1 auto;
  font-family: Raleway, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
}

.lab-faq__question-toggle {
  border: none;
  background: transparent;
  color: #0f56ff;
  text-align: center;
  font-family: Roboto, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  min-width: 32px;
}

.lab-faq__question-toggle:focus-visible {
  outline: 2px solid #0f56ff;
  outline-offset: 2px;
}

.lab-faq__answer {
  margin-top: 12px;
  font-family: Raleway, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #000;
}

@media (min-width: 768px) {
  .lab-faq__columns {
    flex-direction: row;
    align-items: flex-start;
  }

  .lab-faq__categories {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .lab-faq__questions {
    flex: 0 0 60%;
    max-width: 60%;
  }
}

@media (max-width: 767.98px) {
  .lab-faq__category-button {
    padding: 12px 14px;
  }
}
