/* Start custom CSS *//* FBI Index – The Black Vault (light theme, button-style categories) */

.fbi-index-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #20232a;
}

.fbi-index-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(10, 74, 58, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

/* subtle “conspiracy grid” accent */
.fbi-index-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background-image: radial-gradient(circle at 1px 1px, rgba(13, 118, 88, 0.08) 1px, transparent 0);
  background-size: 40px 40px;
  opacity: 0.5;
  pointer-events: none;
}

.fbi-index-card > * {
  position: relative;
}

/* header */

.fbi-index-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding-bottom: 1.25rem;
}

.fbi-index-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: #0d7658;
  margin-bottom: 0.35rem;
}

.fbi-index-title {
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 0 0 0.4rem;
  color: #111827;
}

.fbi-index-subtitle {
  font-size: 0.92rem;
  color: #4b5563;
  margin: 0;
}

/* body text */

.fbi-index-body {
  margin-top: 1.25rem;
  font-size: 0.96rem;
  line-height: 1.7;
  color: #1f2933;
}

.fbi-index-body p {
  margin: 0 0 0.9rem;
}

.fbi-index-section-title {
  margin-top: 1.6rem;
  font-size: 1.12rem;
  border-left: 3px solid #0d7658;
  padding-left: 0.6rem;
  color: #111827;
}

/* NEW: callout emphasizing Full Index = majority of files */
.fbi-index-callout {
  margin: 0.75rem 0;
  font-size: 0.86rem;
  color: #064e3b;
  background: rgba(209, 250, 229, 0.9);
  border-left: 3px solid #0d7658;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
}

/* small note under callout */
.fbi-index-note {
  font-size: 0.86rem;
  color: #6b7280;
  margin: 0.25rem 0 0.9rem;
}

/* lists */

.fbi-category-list,
.fbi-uncat-list {
  list-style: none;
  padding-left: 0;
  margin: 0.4rem 0 0;
}

.fbi-category-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.fbi-category-item:last-child {
  border-bottom: none;
}

.fbi-category-item:hover {
  background-color: rgba(6, 95, 70, 0.03);
}

/* main category row */

.fbi-category-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

/* “button” look for the main category links */

.fbi-category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(13, 118, 88, 0.14), rgba(5, 46, 35, 0.03));
  border: 1px solid rgba(13, 118, 88, 0.35);
  font-weight: 600;
  font-size: 0.95rem;
  color: #064e3b;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(15, 118, 110, 0.14);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.fbi-category-link::before {
  content: "▸";
  font-size: 0.75rem;
  opacity: 0.85;
}

.fbi-category-link:hover,
.fbi-category-link:focus {
  transform: translateY(-1px);
  box-shadow: 0 7px 14px rgba(15, 118, 110, 0.22);
  border-color: #0d7658;
  background: linear-gradient(135deg, rgba(13, 118, 88, 0.18), rgba(5, 46, 35, 0.06));
}

/* Full Index badge – updated label makes the point */
.fbi-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px dashed rgba(15, 118, 110, 0.6);
  color: #065f46;
  background: rgba(236, 253, 245, 0.9);
}

/* sublists */

.fbi-sublist {
  list-style: none;
  padding-left: 0.9rem;
  margin: 0.25rem 0 0;
  border-left: 1px dashed rgba(15, 23, 42, 0.2);
}

.fbi-sublist li {
  margin: 0.22rem 0;
  padding-left: 0.6rem;
  position: relative;
  font-size: 0.9rem;
}

.fbi-sublist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 1px;
  background: rgba(15, 23, 42, 0.4);
}

/* NEW: label above sublists to show these are extra pages */
.fbi-sublist-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  margin: 0.15rem 0 0.25rem 0.9rem;
}

/* uncategorized */

.fbi-uncat-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1.6rem;
  color: #111827;
}

.fbi-uncat-label::before {
  content: "";
  width: 20px;
  height: 2px;
  background: linear-gradient(to right, #0d7658, transparent);
}

.fbi-uncat-list li {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

/* link styling inside the block */

.fbi-index-wrapper a {
  color: #0d7658;
  text-decoration: none;
}

.fbi-index-wrapper a:hover,
.fbi-index-wrapper a:focus {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* mobile */

@media (max-width: 768px) {
  .fbi-index-wrapper {
    padding: 1.25rem 0.5rem;
  }

  .fbi-index-card {
    padding: 1.35rem 1rem;
  }

  .fbi-index-title {
    font-size: 1.35rem;
  }

  .fbi-index-body {
    font-size: 0.93rem;
  }

  .fbi-category-link {
    width: 100%;
    justify-content: flex-start;
  }
}/* End custom CSS */