.faq-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
  box-sizing: border-box;
}

.faq-header {
  text-align: center;
  margin-bottom: 0px;
  color: var(--dark-green);
}

.howto-img {
  max-width: 150px;
  height: auto;
}

.clickImage {
  font-size: 0.8rem;
}

.faqTable {
  font-size: 0.7em;
  border-collapse: collapse;
  width: 100%;
}

.faq-header h1 {
  font-size: 2.5em;
  font-weight: bold;
  margin: 0;
}

#content {
  display: flex;
  justify-content: center;
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
  padding: 20px;
  width: 100%;
}

.faq-container {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 75px;
  box-sizing: border-box;
}

.faq-categories {
  flex: 0.5;
  max-width: 130px;
  padding: 10px;
  border-right: 1px solid var(--dark-green);
  font-size: 17px;
}

.faq-categories h4 {
  text-align: center;
  margin-bottom: 15px;
}

.faq-category {
  cursor: pointer;
  padding: 10px;
  margin-bottom: 5px;
  color: var(--dark-green);
  transition: background-color 0.2s;
}

.faq-category:hover {
  text-decoration: underline;
}

.faq-category.active {
  font-weight: bold;
  background-color: #f0f0f0;
  text-decoration: underline;
}

.faq-content {
  flex: 2;
  max-width: 500px;
  min-width: 500px;
  font-size: 17px;
}

.faq-item {
  margin-bottom: 10px;
  color: var(--dark-green);
}

.faq-question {
  font-weight: bold;
  cursor: pointer;
  margin: 10px 0;
  padding: 8px;
  transition: all 0.3s ease;
}

.faq-question.selected {
  background-color: var(--light-green);
  color: var(--dark-green);
}

.faq-answer {
  display: none;
  margin: 5px 0 0 20px;
  transition: max-height 0.6s ease, padding 0.6s ease;
  overflow: hidden;
}

.faq-answer.open {
  display: block;
}

#faqSearch {
  width: 100%;
  max-width: 400px;
  padding: 5px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

a {
  color: darkorange;
  text-decoration: none;
}

a:hover {
  color: var(--dark-green);
}

.lb-close {
  color: #fff !important;
  font-size: 2rem !important;
  top: 20px !important;
  right: 20px !important;
}

.howto-img {
  border: 2px solid #000;
  border-radius: 8px;
}

.faq-table {
  font-size: 0.7em;
  border-collapse: separate;
  border-spacing: 2px;
  width: 100%;
}

.faq-row th,
.faq-row td {
  padding: 6px;
}

@media (max-width: 675px) {
  .faq-container {
    flex-direction: column;
    padding: 0 0 120px;
  }

  .faq-categories {
    display: none;
    /* display: flex;
    flex-direction: row;
    min-width: 100vw;
    border-right: 0;
    border-bottom: 1px solid var(--dark-green); */
  }

  #faq-topics {
    display: flex;
    margin-top: 20px;
    position: relative;
    left: -65px;
    overflow: scroll;
    min-width: 100vw;
  }

  .faq-content {
    min-width: 0;
    max-width: 100%;
  }
}