/* ================================================================
   SOMERSET CEMETERIES PROJECT — START WITH THESE TOOLS

   Three equal cards on desktop. All cards intentionally use the
   same treatment; the first card is not visually "featured."
   ================================================================ */

.scp-tools {
  margin: 2rem 0 2.5rem;
}

.scp-tools > p {
  max-width: 72rem;
}

.scp-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.scp-tool-card,
.scp-tool-card-featured {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.15rem 1.2rem 1.2rem;
  background: #f5fbfc;
  border: 1px solid #a9cbd3;
  border-top: 5px solid #4f8795;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(31, 78, 91, 0.08);
}

.scp-tool-card .eyebrow {
  margin: 0 0 .55rem;
}

.scp-tool-card h3 {
  margin: 0 0 .65rem;
}

.scp-tool-card > p:not(.eyebrow) {
  margin-top: 0;
}

/* The last paragraph contains the action button. Push it to the
   bottom so the three buttons line up even when copy lengths differ. */
.scp-tool-card > p:last-child {
  margin-top: auto;
  padding-top: .8rem;
  margin-bottom: 0;
}

.scp-tool-card .tool-button,
.scp-tool-card .tool-button:visited {
  display: inline-block;
  padding: .68rem .9rem;
  border-radius: 6px;
  background: #2f7182;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.25;
}

.scp-tool-card .tool-button:hover,
.scp-tool-card .tool-button:focus {
  background: #245c69;
  color: #fff !important;
}

@media (max-width: 980px) {
  .scp-tool-grid {
    grid-template-columns: 1fr;
  }
}
