@import '../../../../../assets/scss/variables';

:host {
  position: relative;
  display: block;
}

.card-container {
  display: grid;
  grid-template-columns: min-content auto;
  grid-gap: 32px;
  background-color: white;
  margin-top: 10px;
  border-radius: 4px;
  padding: 20px 20px 20px 25px;
  min-height: 155px;
  cursor: pointer;
}

.card-container-no-image {
  grid-template-columns: auto;
}

.card-content-container {
  display: grid;
  grid-template-columns: auto;
}

.card-icon-container {
  padding-top: 5px;
  padding-left: 5px;
  padding-bottom: 5px;
}

.card-title span {
  font-size: 15px;
  font-weight: bold;
  color: $color-active;
}

.news-title {
  height: 33px;
  font-size: 24px;
  font-weight: 700;
  margin-top: 5px;
  padding-bottom: 5px;
}

.news-content {
  font-size: 17px;
  line-height: 22px;
  font-weight: 400;
  white-space: pre-wrap;
}

.news-icon {
  width: 5.2em;
  margin-top: 12px;
}

.card-icon-container {
  padding-top: 23px;
}

.recommendation-icon {
  position: absolute;
  z-index: 25;
  right: 30px;
  top: -5px;
}
