/* FAQ accordion – clean design: question left, circular chevron right, subtle separators */
.glk-single-faqs {
  padding: var(--glk-single-spacing-xl, 2rem) var(--glk-single-spacing-2xl, 2.5rem);
  /* border-top removed as per instruction */
  background: var(--glk-white, #fff);
}

.glk-single-faqs-title {
  margin: 0 0 var(--glk-single-spacing-md, 1.5rem);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--glk-primary, #004aad);
}

.glk-single-faqs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.glk-single-faq-item {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--glk-border, #e5e7eb);
}

/* First faq item: remove top border */
.glk-single-faq-item:first-child {
  border-top: none;
}

/* Last faq item: remove bottom border */
.glk-single-faq-item:last-child {
  border-bottom: none;
}

.glk-single-faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 1rem 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-weight: 500;
  color: #374151;
  gap: 1rem;
  transition: color 0.2s ease;
}

.glk-single-faq-trigger:hover {
  color: var(--glk-primary, #1e3a5f);
}

.glk-single-faq-trigger:hover .glk-single-faq-chevron-wrap {
  background: #e5e7eb;
  color: #374151;
}

.glk-single-faq-trigger:focus-visible {
  outline: 2px solid var(--glk-accent, #0d9488);
  outline-offset: 2px;
}

.glk-single-faq-question-text {
  flex: 1;
  min-width: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #374151;
}

/* Circular button with chevron (right side) */
.glk-single-faq-chevron-wrap {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #f3f4f6;
  color: #6b7280;
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s ease;
}

.glk-single-faq-chevron-wrap .glk-faq-chevron-down,
.glk-single-faq-chevron-wrap .glk-faq-chevron-up {
  font-size: 0.75rem;
}

.glk-faq-chevron-down {
  display: inline-block;
}

.glk-faq-chevron-up {
  display: none;
}

.glk-single-faq-item.is-open .glk-faq-chevron-down {
  display: none;
}

.glk-single-faq-item.is-open .glk-faq-chevron-up {
  display: inline-block;
}

.glk-single-faq-item.is-open .glk-single-faq-chevron-wrap {
  background: #e5e7eb;
  color: #374151;
}

/* Answer panel */
.glk-single-faq-panel {
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.glk-single-faq-panel[hidden] {
  display: block !important;
  max-height: 0 !important;
  visibility: hidden;
  overflow: hidden;
}

.glk-single-faq-item.is-open .glk-single-faq-panel {
  max-height: 80vh;
}

.glk-single-faq-answer {
  margin: 0;
  padding: 0 0 1.25rem 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #4b5563;
}

.glk-single-faq-answer a {
  color: var(--glk-accent, #0d9488);
  text-decoration: underline;
}

.glk-single-faq-answer a:hover {
  color: var(--glk-primary, #1e3a5f);
}

@media (max-width: 767px) {
  .glk-single-faqs {
    padding: var(--glk-single-spacing-lg, 1.5rem) var(--glk-single-spacing-md, 1rem);
  }
  .glk-single-faq-trigger {
    padding: 0.875rem 0;
  }
  .glk-single-faq-answer {
    padding-bottom: 1rem;
  }
}
