/* Keep the landing page readable while leaving reference and article layouts native. */
.template-home #main .page-header {
  min-height: 0;
}

.template-home #main .tb-lede {
  max-width: 28ch;
  margin: 1.1rem 0 0.8rem;
  color: var(--bs-heading-color, var(--bs-body-color));
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 650;
  line-height: 1.22;
}

.template-home #main h2 {
  margin-top: 2.6rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--bs-border-color);
}

.template-home #main img[src*="tampa-capital-projects-map"] {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.55rem;
}

@media (max-width: 700px) {
  .template-home #main .tb-lede {
    font-size: 1.7rem;
  }
}

/* Keep the Convenience functions note distinct from its reference entries. */
.template-reference-index #main #convenience-functions + .section-desc {
  max-width: 68ch;
  margin: 0.35rem 0 1.4rem;
  color: var(--bs-secondary-color);
}

.template-reference-index #main #convenience-functions + .section-desc p {
  margin-bottom: 0;
}

.template-reference-index #main .section:has(> #convenience-functions) + .section > dl > dt {
  margin-bottom: 0.15rem;
}

.template-reference-index #main .section:has(> #convenience-functions) + .section > dl > dd {
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.template-reference-index #main .section:has(> #convenience-functions) + .section > dl > dd:last-child {
  margin-bottom: 0;
}
