.sidebar {
  padding: 10px;
  background-color: #f9f9f9;
  border-left: 1px solid #ddd;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
  margin-bottom: 20px;
  text-align: center;
  background-color: #343a40;
  padding: 15px;
  border-bottom: 2px solid #9b6e1a;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: #fff;
}

.sidebar-title {
  margin: 0;
  font-size: 1.5rem;
  color: #fff;
}

.latest-articles-list {
  border-top: 2px solid #ddd;
  padding-top: 20px;
}

.latest-article {
  margin-bottom: 10px;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.latest-article:hover {
  transform: scale(1.02);
}

.latest-article-content {
  display: flex;
  align-items: center;
}

.latest-article-image {
  width: 120px;
  height: auto;
  margin-right: 15px;
  border-radius: 4px;
  flex-shrink: 0;
}

.latest-article-title {
  margin: 0;
  font-size: 1.1rem;
  color: #007bff;
  text-decoration: none;
}

.latest-article-title:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .sidebar {
    padding: 10px;
    margin-top: 20px;
  }

  .latest-articles-list {
    padding-top: 10px;
  }

  .latest-article {
    margin-bottom: 10px;
    padding: 8px;
  }

  .latest-article-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .latest-article-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }

  .latest-article-title {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 480px) {
  .sidebar {
    padding: 10px;
  }

  .sidebar-title {
    font-size: 1.2rem;
  }

  .latest-article {
    margin-bottom: 8px;
    padding: 6px;
  }

  .latest-article-title {
    font-size: 1rem;
  }
}
