.block_info_samozanyatykh{
  display:flex;
  flex-flow:row wrap;
  gap:20px;
  .big-card{
    background:#E63C3D;
    border-radius:15px;
    display:flex;
    align-items:center;
    flex-direction: column;
    max-width:325px;
    overflow: hidden;
    height: 538px;
    @media screen and (width <= 780px){
      max-width:100%;
    }
    >p{
      color:white;
      padding:32px;
      min-height:150px;
      font-family:'Montserrat', sans-serif;
      font-weight:600;
      font-size:24px;
      line-height:24px;
    }
    > img{
      @media screen and (width <= 780px){
        position: relative;
        left: 35px;
      }
    }
  }
  .small_cards{
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap:20px;
    .card{
      display:flex;
      flex-direction:column;
      justify-content: space-between;
      background:#FFDE41;
      height:256px;
      border-radius:15px;
      min-height:150px;
      padding:20px;
      .img{
        object-fit: contain;
        max-width: 100%;
        height: 57px;
        display: block;
        align-self: flex-start;
      }
      >p{
        color:#E63C3D;
        font-family:'Montserrat', sans-serif;
        font-weight:600;
        font-size:24px;
        line-height:24px;
      }
    }
  }
}