/* Initial state */
.lamp-accordion-open {
  display: none;
}

/* Clickable header */
/*.wpgmp_locations_head {
  display: flex;
  align-items: center;
  justify-content: space-between;

}*/

/* Arrow animation */
.wpgmp-toggle-arrow {
  transition: transform 0.25s ease;
  cursor: pointer;
  font-size: 25px;
}

.wpgmp-toggle-arrow.rotate {
  transform: rotate(180deg);
}

/* 1. Hide the "everything else" by default */
.lamp-accordion-open > *:not(.wpgmp_locations_head) {
  opacity: 0;
  transition: opacity 400ms ease;
}

/* 2. When the parent is visible, fade them in */
.lamp-accordion-open.is-active > *:not(.wpgmp_locations_head) {
  opacity: 1;
}

/* Ensure the header elements you mentioned are always visible immediately */
.lamp-accordion-open .wpgmp_locations_head {
  opacity: 1 !important;
}
