@use "../../../../styles/abstracts/variables" as *; 

.web__testimonials {
    padding-top: 1rem;
    button {
      background: $col-orange;
      color: $col-dark;
      display: inline-block;
      padding: 0.5rem 0.8rem;
      border-radius: 6px;
      font-weight: 500;
      font-size: 0.8rem;
      cursor: pointer;
      transition: all ease-in-out .5s;

      &:hover {
        background: rgb(204, 79, 34);
        margin-bottom: 1rem;
      }
    }

  /* ===============================
     GRID CONTAINER
  =============================== */
  &__grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
    margin-top: 2rem;
    @media only screen and (max-width: 1000px) {
        margin-top: 2rem; 
    }

    &--item {
      background: #19191C;
      border: 1px solid #2A2A2F;
      padding: 1.5rem;
      border-radius: 6px;
      color: #FFF !important; 
      position: relative;

      &--role{
        position: absolute;
        background: $col-orange;
        color: $col-dark;
        padding: .3rem 1rem;
        border-radius: 50px;
        right: 1rem;
        font-size: .75rem;
        top: 1rem;
        font-weight: 500;
      }

      h5 {
        font-size: 1.15rem !important;
      }

      p {
        font-size: .82rem !important;
        line-height: 2;
        color: #FFF !important; 
        padding-top: .5rem;
        padding-bottom: 2rem !important;
        opacity: .9 !important;
      }

      &--buttons {
        display: flex;
        gap: 10px;
        width: 100%;
        @media only screen and (max-width: 1000px) {
            padding-top: 1rem;
        }

        &--edit {
          padding: .6rem .5rem;
          border-radius: 6px;
          cursor: pointer;
          background: $col-success-bg;
          color: $col-success-color;
          font-size: .8rem;
          font-weight: 600 !important;
          width: 100%; 
          text-align: center !important;
        }

        &--delete {
          @extend .web__testimonials__grid--item--buttons--edit;
          background: $col-danger-bg;
          color: $col-danger-color;
        }
      }
    }
  }
}
