:host {
  /**
   * @prop --background: Background of the card
   * @prop --color: Color of the card
   */
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: block;
  position: relative;
  background: var(--background);
  color: var(--color);
  overflow: hidden; }

:host(.ion-color) {
  background: var(--ion-color-base);
  color: var(--ion-color-contrast); }

:host(.ion-color)::slotted(*) ion-card-title,
:host(.ion-color)::slotted(*) ion-card-subtitle {
  color: currentColor; }

::slotted(*) img {
  display: block;
  width: 100%; }

::slotted(*) ion-list {
  margin: 0; }

:host {
  --background: var(--ion-item-background-color, transparent);
  --color: var(--ion-text-color-step-400, #666666);
  margin: 30px 20px;
  border-radius: 8px;
  width: calc(100% - 40px);
  transform: translateZ(0);
  font-family: var(--ion-font-family, inherit);
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12); }
