/* BOF Auto Sitemap - Government-styled layout */
.bof-sitemap-wrap{
  --bof-navy:#003060;
  --bof-blue:#0066cc;
  --bof-light-blue:#eaf3fb;
  --bof-border:#d7e1ea;
  --bof-text:#1f2933;
  --bof-muted:#5b6773;

  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 0 42px;
  font-family: Raleway, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--bof-text);
}

.bof-sitemap-wrap::before{
  content:"";
  display:block;
  width: 76px;
  height: 4px;
  margin: 0 0 24px;
  background: var(--bof-blue);
  border-radius: 999px;
}

.bof-sitemap-grid{
  --bof-cols: 3;
  display: grid;
  grid-template-columns: repeat(var(--bof-cols), minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.bof-sitemap-col{
  background: #fff;
  border: 1px solid var(--bof-border);
  border-top: 4px solid var(--bof-navy);
  border-radius: 3px;
  box-shadow: 0 8px 20px rgba(0,48,96,.07);
  overflow: hidden;
  min-height: 100%;
}

.bof-sitemap-col h3{
  margin: 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, #f8fbfe 0%, var(--bof-light-blue) 100%);
  color: var(--bof-navy);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
  border-bottom: 1px solid var(--bof-border);
}

.bof-sitemap-coltitle-link{
  color: var(--bof-navy);
  text-decoration: none;
  font-weight: 800;
  display: inline-block;
  width: 100%;
}
.bof-sitemap-coltitle-link:hover,
.bof-sitemap-coltitle-link:focus{
  color: var(--bof-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bof-sitemap-list{
  margin: 0;
  padding: 16px 18px 18px 34px;
  list-style: disc;
}

.bof-sitemap-item{
  margin: 0 0 11px;
  line-height: 1.45;
  color: var(--bof-blue);
}

.bof-sitemap-link{
  color: var(--bof-navy);
  font-weight: 700;
  text-decoration: none;
}
.bof-sitemap-link:hover,
.bof-sitemap-link:focus{
  color: var(--bof-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bof-sitemap-sublist{
  margin: 9px 0 0;
  padding-left: 18px;
  list-style: circle;
}

.bof-sitemap-sublist .bof-sitemap-link{
  font-weight: 600;
  color: #243b53;
}

.bof-sitemap-text{
  color: var(--bof-text);
  font-weight: 600;
}

.bof-sitemap-inline-block{
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,48,96,.14);
}

.bof-sitemap-posts{
  display: block;
}

.bof-sitemap-year{
  margin: 0 0 10px;
  padding: 0;
}
.bof-sitemap-year summary{
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--bof-navy);
}
.bof-sitemap-year summary::-webkit-details-marker{ display:none; }
.bof-sitemap-year-title{
  font-size: 15px;
  font-weight: 800;
}
.bof-sitemap-count{
  font-size: 13px;
  font-weight: 700;
  color: var(--bof-muted);
}

.bof-sitemap-meta{
  font-size: 12px;
  font-weight: 700;
  color: var(--bof-muted);
  margin-left: 8px;
  white-space: nowrap;
}

.bof-sitemap-section,
.bof-sitemap-utility{
  display:none !important;
}

@media (max-width: 980px){
  .bof-sitemap-grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bof-sitemap-wrap{
    padding: 12px 0 34px;
  }
}

/* Single-link cards such as Careers should remain separate from Contact Us. */
.bof-sitemap-col-single h3{
  border-bottom: 0;
}

/* Stack related single-card sections in the same grid column while keeping them as separate boxes. */
.bof-sitemap-stack{
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.bof-sitemap-stack .bof-sitemap-col{
  min-height: 0;
}
