@import "../../../../assets/scss/abstracts/variables";
@import "../../../../assets/scss/abstracts/mixins";

.rdg-blocks .rdg-experts-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1.25rem 0;

  @media screen and (max-width: $breakpoint-md) {
    flex-direction: column;
    }

  p {
    margin: 0;
  }

  .left,
  .right {
    display: flex;
    align-items: center;
    @media screen and (max-width: $breakpoint-md) {
        flex-direction: column;
        }
  }

  .left {
    background-color: $color-primary-dark-light;
    width: 30%;
    border-top-left-radius: 0.8rem;
    border-bottom-left-radius: 0.8rem;
    padding: 0.9375rem 1.25rem;

    @media screen and (max-width: $breakpoint-md) {
        width: 100%;
        border-bottom-left-radius: 0;
        border-top-left-radius: 0.8rem;
        border-top-right-radius: 0.8rem;
        }

    .expert-img img {
      width: 3.75rem;
      height: 3.75rem;
      border-radius: 50%;
      border: 0.1875rem solid $color-white;
      object-fit: cover;

      
    }
    .description {
      padding-left: 0.9375rem;
      color: $color-white;

      @media screen and (max-width: $breakpoint-md) {
        width: 100%;
        text-align: center;
        padding-left: 0;
        }

      .expert-category {
        font-weight: bold;
      }
      .expert-name {
        font-size: 1.375rem;
        font-weight: bold;
        padding-top: 0.1875rem;
      }
    }
  }

  .right {
    background-color: $color-gray;
    width: 70%;
    border-top-right-radius: 0.8rem;
    border-bottom-right-radius: 0.8rem;
    padding: 0.9375rem 1.25rem;
    justify-content: space-between;

    @media screen and (max-width: $breakpoint-md) {
        width: 100%;
        border-top-right-radius: 0;
        border-bottom-left-radius: 0.8rem;
        border-bottom-right-radius: 0.8rem;
        padding: 1.25rem;
    }

    .odds {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      min-width: 12.5rem;
      .accent {
        font-weight: bold;
        padding-top: 0.625rem;
      }
    }
          
    .sponsor {
      color: $color-primary-dark-light;
      font-weight: 600;
      padding: 0 1.25rem;

      @media screen and (max-width: $breakpoint-md) {
        padding: 20px 0;
        text-align: center;
        }
    }

    .btn {
      font-weight: bold;
      background-color: $color-success;
      border-top: 2px solid $color-success-light;
      padding: 0.625rem 1.25rem;
      border-radius: 5px;
      text-align: center;
      margin-left: 1.25rem;
      transition: 0.3s ease-in;

      @media screen and (max-width: $breakpoint-md) {
        margin-left: 0;
        }

      &:hover {
        background-color: $color-success-dark;
      }
    }

    a {
      text-decoration: none;
      color: $color-white;
    }
  }
}
