/* ==========================================================================
   CSGPE – custom overrides
   Put site-specific tweaks here so style.css can stay close to the original
   design. Loaded last on every page.
   ========================================================================== */

/* Bootstrap's reboot adds bottom margins to headings; the original layout uses none. */
h1, h2, h3, h4, h5, h6 { margin-bottom: 0; }

/* Keep Bootstrap gutters consistent with the original 3% card spacing */
.row.g-csg { --bs-gutter-x: 2rem; --bs-gutter-y: 2rem; }

@media (max-width: 767px) {
  .row.g-csg { --bs-gutter-x: 1rem; --bs-gutter-y: 1.25rem; }
}

/* Readable line length for long text blocks */
.narrow { max-width: 900px; }

/* Bootstrap's g-5 gutter (3rem) is wider than the 16px mobile page padding */
@media (max-width: 767px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2rem; }
}
