/* headlines-news-component.css */

.headlines-news-component {
    max-width: 90vw;
    margin: 15px auto;
    padding: 20px;
    text-align: center;
    background-color: #F2F8FB;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-title {
font-size: 30px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333333;
	line-height:1.2em;
}

.author-info {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.author-avatar img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 10px;
}

.headlines-news-component .author-name {
  font-size: 14px;
  font-weight: bold;
  padding-bottom:5px !important;
}

.thumbnail {
  margin-bottom: 10px;
}

.content {
  font-size: 16px;
  line-height: 1.5;
    
}

/* Responsive styles */

@media (max-width: 768px) {
  .news-component {
    padding: 10px;
  }

  .author-avatar img {
    width: 30px;
    height: 30px;
    margin-right: 5px;
  }

  .author-name {
    font-size: 12px;
  }

  .content {
    font-size: 14px;
  }
}