.mykn-card {
  background-color: var(--card-background);
  border-radius: var(--sizes-border-radius-s);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  //overflow: clip;  // Turned off for now to allow DatePicker to overflow Card and Modal.
  width: 100%;
  border: unset;

  &--border {
    border: 1px solid var(--card-border);
  }

  &--direction--column {
    flex-direction: column;
  }

  &--direction-column-reverse {
    flex-direction: column-reverse;
  }

  &--direction-row {
    flex-direction: row;
  }

  &--direction-row-reverse {
    flex-direction: row-reverse;
  }

  &--full-height {
    height: 100%;
  }

  &--justify-start {
    justify-content: start;
  }

  &--justify-end {
    justify-content: end;
  }

  &--justify-center {
    justify-content: center;
  }

  &--justify-space-between {
    justify-content: space-between;
  }

  &--justify-space-around {
    justify-content: space-around;
  }

  &--justify-space-evenly {
    justify-content: space-evenly;
  }

  &__header {
    display: flex;
    justify-content: space-between;
    padding-block-start: var(--sizes-spacing-xs-v);
  }

  & + & {
    margin-block-start: var(--sizes-spacing-xs-v);
  }

  &:has(> .mykn-body),
  &__header:has(> .mykn-body) {
    padding: 0;
  }
}
