/* Fixes layer, loaded last when FIXES_ENABLED in tools/build.py. Spacing, position and
   legibility only: no button styling, no scrims or overlays, the hero rings untouched.
   Measurements before and after: PROGRESS.md "Fixes layer" and reference/fixes-*.json. */

/* 1. Home hero, 768 px and wider: the "Request a Consultation" block shares grid rows 5-7 with
   the headline block (rows 2-7), so the button sat on the headline's second line. Start it on
   the row where the headline block ends. */
@media (min-width: 768px) {
  .fe-block.fe-block-yui_3_17_2_1_1781118688017_1146 { grid-row: 7 / 9; }
}

/* 2. Finance, nonprofits, tech and cultural heroes: the button (199 px) is wider than its block
   at 1024 px and below (189, 139 and 163 px), and the block centres it, so it hung 6-24 px past
   the left edge of the text column (7 px off screen at 768). Start it at the column edge. */
.fe-block-81dc60a5765dd44ea629 .sqs-block-button-container,
.fe-block-ea7d01e426b28abf6ad8 .sqs-block-button-container,
.fe-block-63dd7536462837bb6c5e .sqs-block-button-container,
.fe-block-fce03fd2c1c7324b2ea1 .sqs-block-button-container { justify-content: flex-start; }

/* 3. Home hero headline: white type over a bright, moving photo. A soft shadow on the letters
   keeps it readable without darkening the photo. */
.page-section:first-child .fe-block-437adf17051fc059a2f4 h2 {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 0 26px rgba(0, 0, 0, 0.45);
}

/* 3b. Phones (767 px and below): the soft shadow is too faint for the opening line at 390 and
   320 (David, 2026-09-27). Layered dark shadows: a tight edge for the letter shapes, a short
   drop for depth and a wide soft glow; nothing drawn on the photograph itself. */
@media (max-width: 767px) {
  .page-section:first-child .fe-block-437adf17051fc059a2f4 h2 {
    text-shadow:
      0 1px 1px rgba(0, 0, 0, 0.75),
      0 2px 3px rgba(0, 0, 0, 0.6),
      0 4px 12px rgba(0, 0, 0, 0.55),
      0 0 30px rgba(0, 0, 0, 0.5);
  }
}
