@import '../../../styles/vars/breakpoints.css';

:global(.d-slide-colored) .baseCard  {
  box-shadow: none;
  background-color: rgb(255,255,255,0.05)
}

.baseCard {
  position: relative;
  /* width: 100%;
  height: 360px; */
  max-width: var(--component-max-width);
  /* display: flex;
  justify-content: flex-end;
  flex-direction: column;
  background-repeat: no-repeat; */
  border-radius: 21px;
  background-size: cover;
  background-position: 50%;
  box-sizing: border-box;
  height: 100%;

  @media (--ms-and-down) {
    min-height: 450px;
  }
}

.chip {
  margin-top: 16px;
}

.overlay {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  min-height: 360px;
  @media (--ms-and-down) {
    min-height: 450px;
  }
}

.content {
  color: #fff;
  font-size: rem(20px);
  border-radius: 20px;
  padding: 34px 40px;
  height: 100%;
  width: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  @media (--ms-and-down) {
    padding: 24px 30px;
    min-height: 450px;
  }
}
.text {
  margin: 0;
  line-height: 1.37;
  letter-spacing: 0.03em;
  margin-top: 16px;
  width: 100%;
  word-break: break-word;
  &.editing {
    &:active,
    &:focus,
    &:hover {
      width: 100%;
      outline: auto !important;
      outline-color: #4D90FE !important;
      outline-width: 5px !important;
      outline-offset: -2px  !important;
      outline-style: auto  !important;
      overflow: visible;
    }
  }
}

.chip {
  position: relative;
  z-index: 2;
}
