/* ===== Document Navigation Sidebar ===== */
.doc-nav ul {
  list-style-type: none;
  padding: 8px;
  margin: 0;
}

.doc-nav li {
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
  transition-delay: 0s;
  margin: 2px;
}

.doc-nav a {
  position: relative;
  display: block;
  padding: 2px 4px;
  color: #705218;
  text-decoration: none;
  font-weight: bold;
  z-index: 1;                     /* Keep text above pseudo-element */
}

/* Animated underline/fill effect on hover */
.doc-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  background-color: rgba(225, 200, 86, 0.3);
  transition: width 0.3s ease-in;
  z-index: -1;                    /* Place behind text */
}

.doc-nav a:hover::before {
  width: 100%;
}

/* Optional: subtle hover effect on list item */
.doc-nav li:hover {
  background-color: rgba(112, 88, 24, 0.05);
}

.tc {
  font-style: italic;
  font-size: small;
}
/* ===== PDF Display Toggles ===== */
/* Hide PDF containers by default */
#mandate-pdf,
#bylaws-pdf,
#annexes,
#financials,
#annex_a-pdf,
#annex_b-pdf,
#annex_c-pdf,
#annex_d-pdf,
#annex_e-pdf,
#annex_f-pdf,
#annex_g-pdf,
#annex_h-pdf,
#financial_pm-pdf,
#financial_proc-pdf {
  display: none;
}

@media(max-width: 930px) {
  .doc-nav ul {
    padding: 6px;
  }

  .doc-nav a {
    padding: 1px 2px;
  }

  h2 {
    font-size: 16px;
  }

  .tc {
    font-size: x-small;
  }
}

@media screen and (max-width: 630px) {
  .doc-nav ul {
    padding: 4px;
  }

  .doc-nav a {
    padding: 0px 1px;
    font-size: small;
  }

  h2 {
    font-size: 14px;
  }

  .tc {
    font-size: xx-small;
  }
}