/* Services / offerings card grid — a richer variant of the resources
   card with room for bullet lists. Consistent with resources.css so
   both card surfaces read as the same visual family. */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.25rem;
  margin: 1rem 0 2rem;
}

.service-card,
a.service-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 1rem;
  background: var(--rollup-bg, #fff);
  color: var(--body-text, #333);
  border: 1px solid var(--border-subtle, silver);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 1px 2px var(--shadow-color, rgba(0, 0, 0, 0.08));
  transition: box-shadow 150ms ease, transform 150ms ease;
}

a.service-card:hover {
  box-shadow: 0 4px 12px var(--shadow-color, rgba(0, 0, 0, 0.12));
  transform: translateY(-1px);
  text-decoration: none;
}

.service-card-thumb {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.service-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.service-card-title {
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0;
  font-weight: 600;
  color: var(--link-color, #4B52D8);
}
a.service-card:hover .service-card-title {
  color: var(--link-hover-color, #08148F);
}
.service-card:not(a) .service-card-title {
  /* Non-clickable cards don't read as links */
  color: var(--body-text, #333);
}

.service-card-subtitle {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gallery-stats, #595959);
  margin: -0.1rem 0 0.15rem;
}

.service-card-desc {
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
  color: var(--body-text, #333);
}

.service-card-bullets {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--body-text, #333);
}
.service-card-bullets li { margin: 0.1rem 0; }

/* Blockquote inside a service card stays readable on card backgrounds */
.service-card blockquote {
  margin: 0.3rem 0;
  padding: 0.35rem 0.6rem;
  border-left: 3px solid var(--border-subtle, silver);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--gallery-stats, #595959);
}
.service-card cite {
  display: block;
  font-size: 0.78rem;
  font-style: normal;
  color: var(--gallery-stats, #595959);
  margin-top: 0.2rem;
}

@media (max-width: 480px) {
  .service-card,
  a.service-card {
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
    padding: 0.85rem;
  }
  .service-card-thumb { width: 80px; height: 80px; }
  .service-card-title { font-size: 1rem; }
}
