@import "../../../../styles/variables.less";

.astro-list__result {
  display: flex;
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
  // margin-top: 1rem;
  //width: @site-width;
  max-width: calc(@site-max-width + 16px);
  text-align: center;
  padding: 0 5px 0 5px;
  
  > a a:hover{
    text-decoration: none;
  }

  .ant-card {
    padding-top: 0;
    border: 2px solid @primary-color;
    border-radius: 0;
    background-color: @primary-color;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    color: @secondary-color;

    @media only screen and (min-width: @header-mobile-width) {
      margin-left: 0;
      margin-right: 0;
    }

    .ant-card-body {
      width: 100%;
      padding: 0;
      /*
      p {
        position: relative;
        display: flex;
        top: -10px;
        text-align: center;
        justify-content: center;
      }*/
    }

    .ant-card-meta {
      
      
      &-title{
        font-size: 1.8rem;
        color: @secondary-color;  
        margin:-10px;
      }
      
      &-description {
        margin-top: -10px;
        margin-bottom: 10px;
        //> a {
          font-size: 1.2rem;
          color: @secondary-color
        //}
      }  
    }
    
    .shadow {
      position: relative;
      top: -25px;
      bottom: 10px;
      //color: @primary-color;
      background-image: linear-gradient(
        to bottom,
        rgba(255, 0, 0, 0),
        @primary-color
      );
      width: 100%;
      z-index: 200;
      color: transparent;
    }
    
    img {
      //clip-path: polygon(0 7%, 100% 1%, 100% 100%, 0% 100%);
      border: 2px solid @primary-color;
      border-radius: 0;
      height: 250px;
    }
  }
}

.ant-btn-default {
  color: @secondary-color;
  background: @primary-color;
}