.l-card {
  margin: 0;
  padding: 0;
  font-size: var(--td-font-size-body-medium);
  font-family: var(--td-font-family);
  list-style: none;
  position: relative;
  box-sizing: border-box;
  border-radius: var(--td-radius-medium);
  background-color: var(--td-bg-color-container);
  color: var(--td-text-color-primary);
  transition: box-shadow 0.2s ease-in-out;
}
.l-card--bordered {
  border: 1px solid var(--td-component-border);
}
.l-card--shadow-hover:hover,
.l-card--shadow {
  box-shadow: var(--td-shadow-1);
}
.l-card__cover {
  display: flow-root;
}
.l-card__cover img {
  display: flow-root;
  width: 100%;
  max-height: 100%;
  border-radius: var(--td-radius-default) var(--td-radius-default) 0 0;
}
.l-card__body {
  display: flow-root;
  padding: 16px 24px;
  line-height: 1.5;
}
.l-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  position: relative;
  line-height: 1.5;
}
.l-card__header-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
}
.l-card__header + .l-card__cover img {
  border-radius: 0;
}
.l-card__footer {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
}
.l-card__footer-wrapper {
  flex: 1;
}
.l-size-small .l-card__body {
  padding: 8px 12px;
}
.l-size-small .l-card__header {
  padding: 8px 12px;
}
.l-size-small .l-card__footer {
  padding: 8px 12px;
}
.l-card__avatar {
  margin-right: 8px;
}
.l-card__title {
  font: var(--td-font-title-medium);
  color: var(--td-text-color-primary);
  margin-right: 16px;
  word-break: break-all;
}
.l-card__subtitle {
  font: var(--td-font-body-medium);
  color: var(--td-text-color-secondary);
  word-break: break-all;
}
.l-card__description {
  font: var(--td-font-body-medium);
  color: var(--td-text-color-secondary);
  margin-top: 4px;
  word-break: break-all;
}
.l-card__actions {
  float: right;
  color: var(--td-brand-color);
}
.l-card__title--bordered {
  border-bottom: 1px solid var(--td-component-border);
  padding-bottom: 16px;
}
.l-card__title--bordered + .l-card__body {
  padding-top: 16px;
}
