/* Hide all panels by default */
.no-js .accordion-block .item-content {
    display: none !important;
}

.no-js .accordion-content-inner {
    display: none !important;
}
.accordion-block {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
    background-color: white;
	box-shadow: #00000020 0px 4px 8px;
}

/* Clickable header area */
.item-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    cursor: pointer;
    padding: 1em;
    font-weight: bold;
    background-color: white;
    border-top: 1px solid #ddd;
}

/* Remove border from last header */
.accordion-block .accordion-item:first-child .item-head {
    border-top: none;
}

/* Optional icon (style as needed) */
.item-head .icon {
    width: 11.41px;
    height: 20px;
    margin-right: 1em;
    flex-shrink: 0;
    transition: transform 0.2s ease;
	background: url(assets/drop-arrow.svg) no-repeat;
    background-position: center;
    background-size: contain;
}

/* Animate icon on open */
.accordion-item.open .icon {
    transform: rotate(90deg);
}

/* Animate content */
.item-content {
    overflow: hidden;
    transition: max-height 0.2s ease;
}

/* Inner content styling */
.accordion-content-inner {
    padding: 1rem 1rem 1rem 3rem;
    
}

/* Trim final paragraph spacing */
.accordion-content-inner p:last-child {
    margin: 0;
}

/* New scoped selectors mirror legacy */
.faq-accordion .item-head,
.faq-accordion .faq-item-head { /* header row */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  cursor: pointer;
  padding: 1em;
  font-weight: bold;
  background-color: white;
  border-top: 1px solid #ddd;
}

.faq-accordion .accordion-item:first-child .item-head,
.faq-accordion .accordion-item:first-child .faq-item-head {
  border-top: none;
}

.faq-accordion .item-content,
.faq-accordion .faq-item-content { /* panel */
  overflow: hidden;
  transition: max-height 0.2s ease;
}

