dvn-card-header {
  display: flex;
  align-items: center;
  position: relative;
  --card-header-text-color: var(--color-text-title);
  /* Tint */
}
dvn-card-header.separated {
  border-bottom: 1px solid var(--color-border);
}
dvn-card-header:not(.separated) .content {
  padding-bottom: 0;
}
dvn-card-header.neutral {
  --card-header-text-color: var(--color-neutral-lightest);
}
dvn-card-header.primary {
  --card-header-text-color: var(--color-primary-lightest);
}
dvn-card-header.secondary {
  --card-header-text-color: var(--color-secondary-lightest);
}
dvn-card-header.warning {
  --card-header-text-color: var(--color-warning-lightest);
}
dvn-card-header.danger {
  --card-header-text-color: var(--color-danger-lightest);
}
dvn-card-header .vertical-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}
dvn-card-header .cover-image {
  height: 180px;
  width: 100%;
  object-fit: cover;
  background: var(--color-background-secondary);
  border-top-right-radius: var(--corner-radius);
  border-top-left-radius: var(--corner-radius);
}
dvn-card-header .aspect-ratio-cover-container {
  --aspect-ratio: 16/9;
  position: relative;
  height: 0;
  padding-bottom: calc(100% / (var(--aspect-ratio)));
}
dvn-card-header .aspect-ratio-cover-container > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
dvn-card-header .avatar-container {
  padding-top: calc(2 * var(--spacing-unit));
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  box-sizing: border-box;
}
dvn-card-header .avatar-container.absolute {
  padding: calc(2 * var(--spacing-unit));
  position: absolute;
}
dvn-card-header .avatar-container.center {
  justify-content: center;
  align-items: center;
}
dvn-card-header .avatar-container.bottom-left {
  justify-content: flex-start;
  align-items: flex-end;
}
dvn-card-header .avatar-container.top-left {
  justify-content: flex-start;
  align-items: flex-start;
  /* this is needed to make it align with the body content */
  padding: calc(4 * var(--spacing-unit));
}
dvn-card-header .avatar-container.bottom-right {
  justify-content: flex-end;
  align-items: flex-end;
}
dvn-card-header .avatar-container.top-right {
  justify-content: flex-end;
  align-items: flex-start;
}
dvn-card-header .avatar-container.top-center {
  justify-content: center;
  align-items: flex-start;
}
dvn-card-header .avatar-container.bottom-center {
  justify-content: center;
  align-items: flex-end;
}
dvn-card-header .horizontal-container {
  display: flex;
  align-items: center;
}
dvn-card-header .action-container {
  padding-top: calc(2 * var(--spacing-unit));
  padding-right: calc(2 * var(--spacing-unit));
  position: absolute;
  top: 0;
  right: 0;
}
dvn-card-header .action-container.absolute {
  padding-top: var(--spacing-unit);
  padding-right: var(--spacing-unit);
}
dvn-card-header .content {
  flex: 1;
  color: var(--card-header-text-color);
  padding: calc(4 * var(--spacing-unit));
}
dvn-card-header .content h3, dvn-card-header .content h4 {
  margin: 0;
  color: var(--card-header-text-color);
}
dvn-card-header .content h3.single-line {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
dvn-card-header .content dvn-image {
  margin-left: 0;
}