


/* FAQ Accordion (scoped) */
.htmline-faq-accordion-wrapper .htmline-faq-accordion.elementor-toggle{
  text-align: start;
  direction: rtl;
}

/* Item */
.htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-toggle-item{
  border-bottom: 1px solid #d5d8dc;
}

/* Title row */
.htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-tab-title{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 18px 0;
  cursor: pointer;
  outline: none;
  border: 0;
  background: transparent;
  font-weight: 700;
  line-height: 1.25;
  color: #1f2a44;
}

/* Question text */
.htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-tab-title .faq-title{
  flex: 1 1 auto;
  font-size: 20px;
}

/* Arrow (Elementor icon wrapper) */
.htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-toggle-icon{
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Make sure icon is on the LEFT visually like the screenshot */
.htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-toggle-icon.elementor-toggle-icon-right{
  float: none;
  order: 2;
}

/* Icon size + smooth transition */
.htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-toggle-icon i{
  font-size: 18px;
  transition: transform 200ms ease;
  color: #1f2a44;
}

/* Closed state: show caret-left */
.htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-toggle-icon-closed{
  display: inline-flex;
}

/* Opened state: show caret-up */
.htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-toggle-icon-opened{
  display: none;
}

/* Active */
.htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-tab-title.elementor-active{
  color: #1f2a44;
}

/* Swap icons when open */
.htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-tab-title.elementor-active .elementor-toggle-icon-closed{
  display: none;
}
.htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-tab-title.elementor-active .elementor-toggle-icon-opened{
  display: inline-flex;
}

/* Optional: slight rotate feel when opened */
.htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-tab-title.elementor-active .elementor-toggle-icon i{
  transform: translateY(-1px);
}

/* Content */
.htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-tab-content{
  border: 0;
  padding: 0 0 18px 0;
  margin: 0;
  display: none; /* Elementor toggles it */
  color: #1f2a44;
  font-size: 16px;
  line-height: 1.7;
}

/* Links inside answer */
.htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-tab-content a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Hover */
.htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-tab-title:hover{
  opacity: 0.92;
}

/* Mobile */
@media (max-width: 767px){
  .htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-tab-title{
    padding: 14px 0;
    gap: 10px;
  }

  .htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-tab-title .faq-title{
    font-size: 17px;
  }

  .htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-tab-content{
    padding: 0 0 14px 0;
    font-size: 15px;
  }
}

.htmline-faq-accordion-wrapper .htmline-faq-accordion .elementor-tab-title{
  flex-direction: row-reverse;
}

/* בסיס - אייקון סגור (show more) */
.htmline-faq-accordion-wrapper .faq-question .faq-icon{
  display:inline-block;
  width:24px;
  height:24px;
  flex:0 0 24px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  background-image:url('/wp-content/themes/astra/functions/assets/images/show-more.svg');
}

/* פתוח - אייקון פתוח (show less) */
.htmline-faq-accordion-wrapper .faq-question.active .faq-icon{
  background-image:url('/wp-content/themes/astra/functions/assets/images/show-less.svg');
}
