/* Variables */
.lgh-faq {
  margin-top: 3rem;
  /* Search bar area */
  /* Navigation links (section anchors) */
  /* FAQ sections and items */
  /* No results message styling */
  /* Prevent flashing during filtering */
}
.lgh-faq .faq-top {
  margin-bottom: 3rem;
}
.lgh-faq .faq-top .faq-search-container {
  width: 85%;
  margin: auto;
  position: relative;
}
.lgh-faq .faq-top .faq-search-container label {
  position: absolute;
  top: 0;
  right: 0;
  text-align: center;
  color: #b0aa00;
}
.lgh-faq .faq-top .faq-search-container label::before {
  content: "";
  display: inline-block;
  line-height: 45px;
  font-size: 24px;
  font-family: ms-icons;
  margin-right: 15px;
}
.lgh-faq .faq-top .faq-search-container .faq-search {
  padding: 0.7rem 1rem;
  border: 1px solid #b0aa00;
  border-radius: 48px;
  color: #333;
  width: 100%;
  background-color: #ffffff;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}
.lgh-faq .faq-top .faq-search-container .faq-search:focus {
  outline: none;
  box-shadow: 0 4px 5px 1px #cccccc;
}
.lgh-faq .faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}
.lgh-faq .faq-nav a {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: #b0aa00;
  color: #fafafa;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  display: block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.lgh-faq .faq-nav a:hover {
  background: #7d7900;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.lgh-faq .faq-section {
  margin-bottom: 2rem;
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}
.lgh-faq .faq-section .faq-section-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #000000;
  border-bottom: 2px solid #b0aa00;
  padding-bottom: 0.3rem;
  transition: color 0.3s ease;
}
.lgh-faq .faq-section .faq-item {
  border-bottom: 1px solid #b3b3b3;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  /* Smoothly reveal answer without depending on .active display:block */
}
.lgh-faq .faq-section .faq-item:last-child {
  border-bottom: none;
}
.lgh-faq .faq-section .faq-item .faq-question {
  color: #000000;
  position: relative;
  padding: 1.1rem 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.lgh-faq .faq-section .faq-item .faq-question:after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 24%;
  font-size: 1.25rem;
  color: #b0aa00;
  transition: transform 0.3s ease, color 0.3s ease;
}
.lgh-faq .faq-section .faq-item .faq-question:hover {
  background-color: rgba(173, 170, 15, 0.15);
}
.lgh-faq .faq-section .faq-item .faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0 1rem;
  color: #000000;
  line-height: 1.6;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}
.lgh-faq .faq-section .faq-item .faq-answer p {
  margin-bottom: 0;
}
.lgh-faq .faq-section .faq-item.active {
  /* Animate answer reveal smoothly */
}
.lgh-faq .faq-section .faq-item.active .faq-question {
  background-color: rgba(173, 170, 15, 0.1);
}
.lgh-faq .faq-section .faq-item.active .faq-question:after {
  content: '−';
  transform: rotate(180deg);
  color: #7d7900;
}
.lgh-faq .faq-section .faq-item.active .faq-answer {
  max-height: 500px;
  /* enough to fit most answers */
  opacity: 1;
  padding: 1rem;
}
.lgh-faq .faq-no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: #000000;
  font-size: 1.1rem;
  font-weight: 500;
  background: #ffffff;
  border: 1px dashed #b3b3b3;
  border-radius: 12px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
  display: none;
  transition: opacity 0.4s ease, transform 0.3s ease;
}
.lgh-faq .faq-no-results.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.lgh-faq .faq-no-results:not(.visible) {
  opacity: 0;
  transform: translateY(15px);
}
.lgh-faq .faq-sections.filtering .faq-item,
.lgh-faq .faq-sections.filtering .faq-section,
.lgh-faq .faq-sections.filtering .faq-nav li {
  display: none !important;
}
.lgh-faq .faq-sections.filtering .faq-item:visible,
.lgh-faq .faq-sections.filtering .faq-section:visible,
.lgh-faq .faq-sections.filtering .faq-nav li:visible {
  display: block !important;
}
