@import '../../scss/mixin';

.customCard {
  width: max(267px, min(420px, u(25)));
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #fff;
  color: #000;
  overflow: hidden;
  box-shadow: shadow(sm);
}

.customCardMedia {
  position: relative;
}

.customCardAsset {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 0;
  overflow: hidden;
  background: var(--llm-color-neutral-200);

  &>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--llm-color-neutral-200);
  }
}

.customCardContent {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: size(3);
  gap: size(3);
  height: 100%;
}

.cardTitle {
  @include text(body4);
  font-weight: 800;
}

.cardAbstract {
  @include text(body5);
}
