/* Scoped additions for clearer product links and editorial planning guidance. */
.tech-detail,
.topic-card .more {
  white-space: normal;
  overflow-wrap: anywhere;
}
.planning-guide {
  margin-block: 2rem;
  border-top: 1px solid #dce3df;
  padding-top: 1rem;
}
/* Keep section headings visible below the sticky navigation after anchor links. */
main [id] {
  scroll-margin-top: 8rem;
}
.planning-guide h3 {
  margin: 1.3rem 0 .45rem;
  font-size: 1.08rem;
  line-height: 1.5;
}
.planning-guide p {
  margin-top: 0;
}
.content .planning-guide a {
  text-decoration: underline;
  text-underline-offset: .18em;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #246840;
  outline-offset: 4px;
}
/* Short, descriptive link text while retaining the clickable card area. */
.linked-card {
  position: relative;
}
.linked-card .card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}
.linked-card:focus-within {
  outline: 3px solid #246840;
  outline-offset: 4px;
}
.linked-card .card-link:focus-visible {
  outline: none;
}
.real-gallery .gallery-card .reference-title {
  font-size: 16px;
  line-height: 1.45;
  margin: 0;
  font-weight: 700;
}
.reference-cta h2 {
  margin: 0 0 .35rem;
  font-size: 1.2rem;
  line-height: 1.4;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .linked-card { transition: none; }
}
