@use "../../../../../styles" as *;
.item {
  position: relative;
  border-radius: $rad-25;
  padding: 12px;
  gap: 12px;
  background: $main-gradient;
  overflow: hidden;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  .content {
    display: flex;
    position: relative;
    .img-box {
      position: relative;
      overflow: hidden;
      border-radius: $rad-25 - 5px;
      .rate {
        display: flex;
        gap: 5px;
        align-items: center;
        justify-content: center;
        width: 53px;
        height: 22px;
        position: absolute;
        top: 0;
        right: 0;
        background-color: rgba($col-dark, 0.5);
        border-bottom-left-radius: $rad-25 - 5px;
        .star {
          overflow: visible;
          $vol: 8px;
          margin-top: -2px;
          width: $vol;
          height: $vol;
          fill: $col-orange;
          display: flex;
          justify-content: center;
          align-items: center;
        }
        h6 {
          font-weight: 600;
          color: $col-white;
        }
      }
      img {
        width: 100%;
        height: 100%;
      }
    }
    .content-box {
      display: flex;
      justify-content: space-between;
      .titles {
        display: flex;
        flex-direction: column;
        width: 100px;
        .title {
          font-weight: 400;
          color: $col-white;
        }
        .subtitle {
          font-weight: 300;
          color: $col-gray;
        }
      }
    }
  }
}
