.article {
  width: 100%;
  overflow: hidden;
  background: var(--eeat-cards-background-color, #fff);
  border-radius: var(--eeat-cards-border-radius, 1rem);
  border: var(--eeat-cards-border, none);
  box-shadow: 0 6px 8px -2px rgb(27 27 28 / 8%), 0 4px 4px -2px rgb(27 27 28 / 6%);
  position: relative;
  height: auto;
  display: grid;
  grid-template-rows: 14rem 1fr;
  padding: 1.6rem;
}

.cardContent {
  @include flex-direction(column);
  @include flex-align(flex-start, space-between);

  position: relative;

  > a {
    margin-bottom: 3.2rem;
    margin-top: 1.6rem;

    span {
      font-style: normal;
      font-weight: 700;
      font-size: 2.4rem;
      text-transform: capitalize;
      color: #1c1a28;
      display: flex;
    }
  }
}

.image {
  height: 14rem;
  position: relative;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 0.1rem solid #e2e8f0;
  }
}

.showAuthorOnOneLine {
  @include flex-align(center, space-between);

  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  width: 100%;
  gap: 0.8rem;

  img {
    border-radius: 10rem;
  }

  > div {
    @include flex-align(flex-start, flex-start);

    gap: 0.2rem;
    flex-grow: 1;
  }
}

.cardTitle {
  padding-top: 1.6rem;
  color: var(--heading-base-color) !important;
  font-size: 2rem;
  line-height: 28px;
  margin-bottom: 2.4rem !important;
  margin-top: 0 !important;
  text-transform: capitalize;
  font-weight: bold;
}

.showAuthorBlock {
  @include flex-align(center, flex-start);

  font-size: 14px;
  line-height: 22px;
  width: 100%;
  gap: 0.5rem;

  img {
    border-radius: 10rem;
  }

  > div {
    @include flex-align(flex-start, flex-start);

    gap: 0.2rem;
    flex-direction: column;

    > span {
      flex-grow: 1;

      @include flex-align(flex-end, flex-end);
    }
  }
}

.authorImages {
  position: relative;
  flex-grow: 0 !important;

  svg {
    position: absolute;
    width: 1rem;
    height: 1rem;
    bottom: 0;
    right: 0;
  }

  > img {
    border: 0.1rem solid #ececec;
    width: 4.8rem;
    height: 4.8rem;
    min-width: 4.8rem;
  }
}

.authorContainer {
  > p {
    color: #515156;
  }

  > a {
    text-decoration: underline;
    color: #000eee;
  }

  > span {
    font-size: 1.4rem;
    line-height: 2.2rem;
    font-weight: 500;
    color: #1b1b1c;
    text-align: right;
    margin-left: auto;
  }
}

.authorName {
  margin-left: unset !important;
}
