/**
 * Projects sections (custom_845): headings over Jay's own projects and over
 * the bands he plays with. The second section's cards sit in a .view-content
 * of their own inside the same .view-projects, so the theme's Projects grid
 * (dragonfly css/projects.css) lays them out like the first section's.
 *
 * Theme colours and fonts are used where the theme defines them; the values
 * after the commas are only for a theme that doesn't.
 */

.project-sections__title {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white, #f2f2f2);
  margin: 0 0 0.9rem;
}

.project-sections__others {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.14));
}

/* The view wraps attachments in its own divs; no extra space from them. */
.view-projects .attachment-after > .project-sections__others:first-child {
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .project-sections__others {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }
  .project-sections__title {
    margin-bottom: 0.7rem;
  }
}
