@charset "UTF-08";

#news {
    max-width: 1170px;
    margin: 0 auto;
    background: #8b87876e;
    opacity: 1;
    border-radius: 10px;
    padding-bottom: 10px;
    
}
div.news-photo > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.news {
    display: flex;
    justify-content: space-around;
    padding: 20px;
}
.news-logo {
    text-align: center;
    padding: 20px;
}
ul.news {
    margin-top: 0;
}
.news li {
    list-style: none;
    width: 16em;
    
}
.news-photo {
    width: 16em;
    height: 11em;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #8b87876e;
    border-radius: 5px;
    margin-bottom: 10px;
    
}

  .message {
    background: #eee;
    overflow: hidden;
    width: 100%;
    border-radius: 5px;
    
  }
  .message p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    padding: 5px;
    margin: 0;
  }

  @media (max-width: 768px) {
    
    .news {
      display: block;
    }
    .news li {
      margin: 0 auto;
    } 
    .message {
      margin-bottom: 15px;
    }
    .news-photo {
      margin-bottom: 6px;
    }
  }
  