/* Client hub project cards — separate file so updates are not blocked by cached app.css */
.client-detail-header .client-hub-hero {
  margin: 1rem 0 0;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26, 39, 68, 0.08);
}
.client-detail-header .client-hub-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
.client-hub-project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.client-hub-project-list:has(> .client-hub-project-item:only-child) {
  grid-template-columns: minmax(0, 400px);
}
.client-hub-project-item {
  display: flex;
  min-height: 0;
}
.client-hub-project-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(26, 39, 68, 0.06);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.client-hub-project-card:hover,
.client-hub-project-card:focus-visible {
  color: inherit;
  text-decoration: none;
  border-color: #07a7e2;
  box-shadow: 0 8px 24px rgba(26, 39, 68, 0.12);
  transform: translateY(-2px);
}
.client-hub-project-thumb {
  aspect-ratio: 16 / 10;
  background: #ececec;
  overflow: hidden;
  flex-shrink: 0;
}
.client-hub-project-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.client-hub-project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
  padding: 1.15rem 1.2rem 1.25rem;
}
.client-hub-project-card-title {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
  color: #1a2744 !important;
}
.client-hub-project-card:hover .client-hub-project-card-title,
.client-hub-project-card:focus-visible .client-hub-project-card-title {
  color: #1a2744 !important;
}
.client-hub-project-excerpt {
  margin: 0;
  flex: 1;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.client-hub-project-cta {
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: none;
  background: #07a7e2 !important;
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: none;
  transform: none;
}
.client-hub-project-card:hover .client-hub-project-cta,
.client-hub-project-card:focus-visible .client-hub-project-cta {
  background: #07a7e2 !important;
  color: #fff !important;
}
