/* Desktop-only card finish. Mobile layouts are intentionally untouched. */
@media (min-width: 901px) {
  .homepage-body .desktop-homepage__start-grid,
  .homepage-body .desktop-homepage__directory-grid {
    gap: 12px !important;
    border: 0 !important;
  }

  .homepage-body .desktop-homepage__start-card,
  .homepage-body .desktop-homepage__start-card:first-child,
  .homepage-body .desktop-homepage__directory-grid a,
  .homepage-body .desktop-homepage__directory-grid a:nth-child(3n + 2),
  .homepage-body .desktop-homepage__directory-grid a:nth-child(3n + 3) {
    min-height: 152px !important;
    padding: 24px 22px !important;
    border: 1px solid rgba(43, 83, 116, .14) !important;
    border-radius: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-shadow: 0 8px 22px rgba(32, 66, 96, .08) !important;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease !important;
  }

  .homepage-body .desktop-homepage__start-card:nth-child(1),
  .homepage-body .desktop-homepage__directory-grid a:nth-child(1) {
    background: linear-gradient(135deg, #edf9f7 0%, #e2f0fb 100%) !important;
  }

  .homepage-body .desktop-homepage__start-card:nth-child(2),
  .homepage-body .desktop-homepage__directory-grid a:nth-child(2) {
    background: linear-gradient(135deg, #eef3ff 0%, #f4ecff 100%) !important;
  }

  .homepage-body .desktop-homepage__start-card:nth-child(3),
  .homepage-body .desktop-homepage__directory-grid a:nth-child(3) {
    background: linear-gradient(135deg, #fff6e9 0%, #fcecf1 100%) !important;
  }

  .homepage-body .desktop-homepage__start-card:nth-child(4),
  .homepage-body .desktop-homepage__directory-grid a:nth-child(4) {
    background: linear-gradient(135deg, #f0f7ec 0%, #e5f4f2 100%) !important;
  }

  .homepage-body .desktop-homepage__directory-grid a:nth-child(5) {
    background: linear-gradient(135deg, #fff3e8 0%, #fff9df 100%) !important;
  }

  .homepage-body .desktop-homepage__directory-grid a:nth-child(6) {
    background: linear-gradient(135deg, #f1edff 0%, #e9f4ff 100%) !important;
  }

  .homepage-body .desktop-homepage__start-card:hover,
  .homepage-body .desktop-homepage__start-card:focus-visible,
  .homepage-body .desktop-homepage__directory-grid a:hover,
  .homepage-body .desktop-homepage__directory-grid a:focus-visible {
    transform: translateY(-4px) !important;
    filter: saturate(1.06) brightness(1.01) !important;
    box-shadow: 0 14px 30px rgba(32, 66, 96, .14) !important;
    outline: 0 !important;
  }

  .homepage-body .desktop-homepage__start-card strong,
  .homepage-body .desktop-homepage__directory-grid strong {
    max-width: 270px !important;
    margin: 0 !important;
    color: #163e66 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }

  .homepage-body .desktop-homepage__start-card > span:not(.desktop-homepage__card-number),
  .homepage-body .desktop-homepage__directory-grid small {
    max-width: 270px !important;
    margin: 8px 0 0 !important;
    color: #315a78 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }

  .homepage-body .desktop-homepage__card-number,
  .homepage-body .desktop-homepage__start-card b,
  .homepage-body .desktop-homepage__directory-grid a::before {
    display: none !important;
  }


  /* Keep every directory-card copy centered across the full card width. */
  .homepage-body .desktop-homepage__directory-grid a,
  .homepage-body .desktop-homepage__directory-grid strong,
  .homepage-body .desktop-homepage__directory-grid small {
    width: 100% !important;
    text-align: center !important;
  }

  .homepage-body .desktop-homepage__directory-grid strong,
  .homepage-body .desktop-homepage__directory-grid small {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
