.elementor-widget-faq {
  width: 100%;
}

.elementor-widget-faq .piw-faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.elementor-widget-faq .piw-faq__title {
  margin: 0;
  font-weight: 600;
}

.elementor-widget-faq .piw-faq__content {
  margin: 0;
}

.elementor-widget-faq .piw-faq__content p {
  margin: 0 0 12px 0;
}

.elementor-widget-faq .piw-faq__content p:last-child {
  margin-bottom: 0;
}

.elementor-widget-faq .faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.elementor-widget-faq .faq-accordion .faq-item {
  border: 1px solid #d1dae5;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  border-radius: var(--piw-border-radius, 4px);
}

.elementor-widget-faq .faq-accordion .faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.elementor-widget-faq .faq-accordion .faq-question {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  padding: 20px;
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
}

.elementor-widget-faq .faq-accordion .faq-question-title {
  color: var(--text-color);
  white-space: normal;
  margin: 0;
  font-size: 18px;
}

.elementor-widget-faq .faq-accordion .faq-icon {
  color: var(--title-color);
  transition: transform 0.3s ease;
}

.elementor-widget-faq .faq-accordion .faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.elementor-widget-faq .faq-accordion .faq-answer {
  overflow: hidden;
  display: grid;
  grid-template-rows: 0fr;
  transition: 250ms grid-template-rows ease;
}

.elementor-widget-faq .faq-accordion .faq-answer-div {
  overflow: hidden;
}

.elementor-widget-faq .faq-accordion .faq-answer-text {
  padding: 0 20px 20px;
}

.elementor-widget-faq .faq-accordion .faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}
