/* Anchor links for collapsible sections */
.text-with-link {
  position: relative;
}
.anchor-link {
  margin-left: 0;
  text-decoration: none;
  font-size: 0.9em;
  opacity: 0;
  transition: opacity 0.2s;
}
.text-with-link:hover .anchor-link {
  opacity: 1;
}
.anchor-link:hover {
  opacity: 1;
}

/* General Banner Settings */
/* arrow */
.arrow {
  font-size: 1.5em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  color: #3e3e3e;
  margin-left: auto;          /* spacing from text */
  transition: transform 0.3s ease;
  transform-origin: center;
}
/* Rotate when explicitly marked or when JS adds rotate class */
.arrow.rotate,
.arrow.open-arrow {
  transform: rotate(90deg);
}
.banner {
  display: flex;
  align-items: center;   /* vertically align text and arrow */
  background-color: #eaf9f0;
  padding: 4px 8px;           /* Reduced vertical padding */
  border-bottom: 1px solid #e0e0e0;
  font-family: Lato; 
  color: #474646;
  font-weight: bold;
  gap: 3px;
  line-height: 18px;
  font-size: 0.9em;
  border-radius: 0; /* Make square shaped */
  cursor: pointer;
  width: 100%;
}

/* General Collapsible Banner Settings */
/* collapsible content */
.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #d0dff03d;
  border: 1px solid #3333331a;
  border-top: none;
  padding: 0 20px;
  border-radius: 0 0 5px 5px;
  font-size: 0.9em;
  margin-bottom: 10px; /* Adds spacing below the section */
}
.collapsible-content.open {
  max-height: none;
}
.collapsible-content p {
  font-size: 1.0em;
  line-height: 1.3;
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}
.collapsible-content b {
  line-height: 1.3;
}
.collapsible-content ul {
  margin-top: 1rem;
  padding-left: 0.4rem;
  line-height: 1;
}
.collapsible-content li {
  margin-bottom: 0.1rem;
  line-height: 1;
}
.collapsible-content ul ul {
  margin-top: 0.1rem;
  line-height: 1;
}
.collapsible-content ul ul li {
  margin-bottom: 0.1rem;
  line-height: 1;
}
.collapsible-content li b {
  line-height: 1;
}

/* text */
.text {
  flex: 1; /* Allows the text to take available space without overlapping */
  font-size: 1rem; 
  font-weight: bold; 
  text-align-last: left;
  margin-right: 10px; /* Adds space between text and the arrow */
  word-wrap: break-word; /* Ensures text wraps if too long */
}