.ecs-card {
  width: 230px;
  height: 317px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
}

.ecs-card-image {
  width: 208px;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ecs-card-image img {
  width: 208px;
  height: 260px;
  object-fit: cover;
  display: block;
}

.ecs-card-image .image-placeholder {
  background: #f3f3f3;
  padding: 2rem;
  color: #666;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ecs-card-name {
  width: 169px;
  height: 25px;
  margin-top: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #000 !important;
}

.ecs-card-name *,
.ecs-card-name div,
.ecs-card-name span,
.ecs-card-name p {
  color: #000 !important;
}

/* CKEditor specific overrides */
.ecs-card-name [data-sdc-editable="true"],
.ecs-card-name [data-sdc-editable="true"] *,
.ecs-card-name .ck-editor__editable,
.ecs-card-name .ck-editor__editable * {
  color: #000 !important;
}
