@use '@inside-library/styles/mixins/partials/common-mixin' as *;

.ged-card {
  position: relative;
  width: 100%;
  height: 12.5rem;
  overflow: hidden;
  border: 1px solid #b2b2b2;
  border-left: 1rem solid var(--color-primary);
  border-radius: 1.1rem;
  transition: all 0.3s ease;

  @include mobile {
    height: 10rem;
  }

  &:hover {
    transform: scale(1.01);
    -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.12);
  }

  &__content {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 2rem;

    .ds-title-container {
      max-width: 70%;
    }

    img {
      position: absolute;
      top: 50%;
      right: 2.8rem;
      transform: translateY(-50%);
      max-height: 6.7rem;
    }
  }
}
