* {
  box-sizing: border-box;
}

:host {
  display: inline-flex;
}

:host(:not(.full-width)) {
  --card-links-padding: 0px 24px 24px 24px;
}

:host(.full-width) {
  width: 100%;
}
:host(.full-width) .card {
  width: 100%;
  border-width: 1px;
}
:host(.full-width) .card.horizontal ::slotted(ifx-card-links) {
  --card-links-padding: 0px;
  --card-links-padding-top: 16px;
}
:host(.full-width) .card.horizontal ::slotted(ifx-card-headline) {
  --card-headline-padding: 0px;
  --card-headline-font: 18px;
  --card-headline-line-height: 26px;
}
:host(.full-width) .card.horizontal ::slotted(ifx-card-text) {
  --card-text-line-clamp: unset;
}
:host(.full-width) .card.horizontal .horizontal {
  min-height: auto;
  width: 100%;
  height: auto;
  justify-content: space-between;
}
:host(.full-width) .card.horizontal .horizontal .card-img {
  flex: 0 0 40%;
  min-width: 0;
  max-width: 50%;
  position: relative;
  align-self: stretch;
}
:host(.full-width) .card.horizontal .horizontal .card-img ::slotted([slot=img]) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
:host(.full-width) .card.horizontal .horizontal .lower__body-wrapper {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
}
:host(.full-width) .card.horizontal .horizontal .lower__body-wrapper .upper-body {
  padding: 0px;
  flex: 1;
  min-height: 0;
}

.card {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  word-wrap: break-word;
  background-color: #ffffff;
  background-clip: border-box;
  border: 2px solid #eeeded;
  border-radius: 2px;
  width: 350px;
  height: auto;
  font-family: var(--ifx-font-family);
}
.card:has(.card-href:focus), .card:has(.card-href:hover) {
  outline: none;
  border-color: #0a8276;
}
.card:has(.card-href:focus) ::slotted(ifx-card-headline), .card:has(.card-href:hover) ::slotted(ifx-card-headline) {
  color: #0a8276;
}
.card.noBtns .vertical .lower__body-wrapper {
  padding-bottom: 24px;
}
.card.noBtns .horizontal .lower__body-wrapper {
  padding-bottom: 24px;
}
.card .horizontal {
  display: flex;
  flex-direction: row;
  min-height: 218px;
  width: 100%;
}
.card .horizontal .card-img {
  flex: 1;
  text-decoration: none;
}
.card .horizontal .card-img.noImage {
  display: none;
}
.card .horizontal .card-img ::slotted([slot=img]) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card .horizontal .lower__body-wrapper {
  flex: 1;
  display: grid;
  grid-template-rows: 1fr auto;
}
.card .horizontal .lower__body-wrapper .upper-body {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #1d1d1d;
  padding: 24px 24px 0px 24px;
}
.card .vertical .upper__body-wrapper {
  text-decoration: none;
  color: #1d1d1d;
}
.card .vertical .upper__body-wrapper .card-img {
  height: 190px;
}
.card .vertical .upper__body-wrapper .card-img.noImage {
  display: none;
}
.card .vertical .upper__body-wrapper .upper-body {
  padding: 24px 24px 0px 24px;
}
.card .vertical .lower__body-wrapper:hover {
  border-color: #eeeded;
}
.card.horizontal {
  flex-direction: row;
  width: 538px;
}
.card.horizontal .card-img {
  flex: 1;
  order: 2;
}
.card.horizontal .card-img ::slotted([slot=img]) {
  width: 100%;
  height: 100%;
  vertical-align: bottom;
  object-fit: cover;
}
.card.horizontal.left .horizontal .card-img {
  order: 1;
}
.card.horizontal.left .horizontal .lower__body-wrapper {
  order: 2;
}
.card .card-href:focus {
  outline: none;
}