
.card {
  display: inline-flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  width: 350px;
  max-width: calc(100% - 20px - 20px);
  margin: 20px;
  background: var(--background);
  border-radius: var(--rounded);
  overflow: hidden;
  box-shadow: var(--shadow);
  vertical-align: top;
  height: var(--card-height, 1000px);
}

.card[data-style=small] {
  width: 250px;
}

.card-image img {
  object-fit: contain;
  width: 100%;
  height: auto;
}

.card-text {
  display: inline-flex;
  justify-content: flex-start;
  flex-direction: column;
  gap: 20px;
  max-width: 100%;
  padding: 20px;
  height: 600px; /* fixed scroll area */
  overflow-y: auto; /* scrollable */
  position: relative;
}

.card-text > * {
  margin-top: 10px !important;
}

.card-title {
  font-family: var(--heading);
  font-weight: bold;
  color: grey;
  font-size: 1.5rem;
  position: sticky;
  top: 0;
  background: var(--background);
  padding: 40px 0;
  z-index: 10;
}

.card-subtitle {
  margin-top: -10px !important;
  font-style: italic;
  font-size: 1rem;
}

/*# sourceMappingURL=card.css.map */