/* ========================================================================
 * HOME SERVICE RAIL — SHORTER BOX HEIGHT — 2026-10-14
 *
 * Purpose:
 * - Keep the original desktop hero title sizing and responsive behaviour.
 * - Keep the serviceRail's existing 5-column x 2-row layout and styling.
 * - Reduce only the vertical height/padding of each desktop rail box.
 * - Leave mobile behaviour unchanged.
 * ======================================================================== */

@media (min-width: 901px) {
  .homePage .railItem {
    min-height: 92px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* Short laptop-height viewports need a little more vertical saving. */
@media (min-width: 901px) and (max-height: 900px) {
  .homePage .railItem {
    min-height: 80px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
}

/* Very short desktop/laptop viewports: preserve the content, only trim box height. */
@media (min-width: 901px) and (max-height: 850px) {
  .homePage .railItem {
    min-height: 76px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
}
