/* About directions and service: shared near-white cards, without icons.
   Shared hover treatment; keyboard focus styling is reserved for direction links. */

/* Match the other section CTAs while keeping the full stock label readable. */
.about-showroom-copy .about-section-cta {
  display: flex;
  margin-inline: auto;
  padding-inline: 12px;
  line-height: 1.25;
  text-align: center;
}

.about-directions-grid > a[id] {
  scroll-margin-top: calc(var(--header-h, 80px) + 24px);
}

/* Balance the space around the centered card group, including the separator gap. */
main:not(.product-shell) > .about-intro-section {
  padding-block: var(--separator-content-gap) !important;
}

/* Keep these cards independent of the adjacent company description's height. */
main .about-directions-grid {
  height: auto;
  align-self: center;
}

main .about-directions-grid > a {
  min-height: 240px;
}

main .about-directions-grid > a,
main .about-service-grid > div {
  min-width: 0;
  padding: 16px 18px;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
  box-shadow: 0 10px 28px rgba(35, 53, 84, .06);
  text-align: left;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

main .about-service-grid > div {
  min-height: 132px;
}

main .about-directions-grid > a strong,
main .about-service-grid > div strong {
  min-width: 0;
  color: var(--blue-deep);
  font-size: 1.125rem;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

main .about-directions-grid > a span,
main .about-service-grid > div span {
  min-width: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.42;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

main .about-directions-grid > a:hover,
main .about-service-grid > div:hover,
main .about-directions-grid > a:focus-visible {
  transform: translateY(-2px);
  background: var(--surface, #eef6fc);
  border-color: color-mix(in srgb, var(--blue) 32%, var(--line));
  box-shadow: 0 12px 28px rgba(25, 80, 125, .09);
}

main .about-directions-grid > a:focus-visible {
  outline: 3px solid var(--blue-deep);
  outline-offset: 4px;
}

[data-theme="dark"] main .about-directions-grid > a,
[data-theme="dark"] main .about-service-grid > div {
  border-color: var(--line);
  background: var(--surface-2);
}

[data-theme="dark"] main .about-directions-grid > a:hover,
[data-theme="dark"] main .about-service-grid > div:hover,
[data-theme="dark"] main .about-directions-grid > a:focus-visible {
  background: var(--surface-3);
}

[data-theme="dark"] main .about-directions-grid > a strong,
[data-theme="dark"] main .about-service-grid > div strong {
  color: #b9e5ff;
}

[data-theme="dark"] main .about-directions-grid > a:focus-visible {
  outline-color: #8fd2ff;
}

@media (max-width: 680px) {
  main .about-directions-grid > a,
  main .about-service-grid > div {
    min-height: 108px;
    padding: 13px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  main .about-directions-grid > a,
  main .about-service-grid > div {
    transition: none;
  }

  main .about-directions-grid > a:hover,
  main .about-service-grid > div:hover,
  main .about-directions-grid > a:focus-visible {
    transform: none;
  }
}
