.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.news-item {
  display: flex;
  flex-direction: row;
  background-color: #edecec;
  padding: 15px;
  border-radius: 8px;
}

.news-image img {
  width: 150px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.orgao-item {
  display: flex;
  flex-direction: row;
  background-color: #edecec;
  padding: 10px;
  border-radius: 8px;
}

.orgao-image img {
  width: 50px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.gestor-image img {
  width: 300px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.orgao-content {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-content {
  margin: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-content h2 {
  margin: 0 0 10px 0;
  font-size: 1.5em;
}

.news-content p {
  margin: 0 0 5px;
}

.news-content p a {
  text-decoration: none;
}

.search-content {
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
}

.page-item {
  margin: 0 5px; /* Espaçamento entre os itens */
}

.page-link {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-link:hover {
  background-color: #f0f0f0;
}

.units-list {
  display: flex;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
  justify-content: space-around;
}

.units-item {
  display: flex;
  flex-direction: row;
  background-color: #edecec;
  padding: 15px;
  border-radius: 8px;
  width: 350px;
}

/* página de detalhes */
.single-news-detail {
  width: 100vw;
  max-width: 1140px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.single-news-title {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #333;
}

.single-news-date {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 20px;
}

.single-news-image {
  text-align: center;
  background-color: #cecece;
  align-content: center;
  border: solid 5px #c3bfbd;
}

.single-news-image img {
  height: 250px;
  width: auto;
  border-radius: 8px;
}

.single-gestor-image {
  text-align: center;
  background-color: #cecece;
  align-content: center;
  border: solid 5px #c3bfbd;
  margin-bottom: 10px;
}

.single-gestor-image img {
  height: 200px;
  width: auto;
  border-radius: 8px;
}

.single-news-body p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #444;
  margin: 20px;
}

@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
    align-items: center;
  }

  .news-image img {
    width: 100%;
    margin-bottom: 15px;
  }

  .news-content {
    //margin-left: 0;
    margin: auto;
    text-align: center;
  }

  .units-item {
    width: 100%;
  }

  .single-news-title {
    font-size: 2em;
  }

  .single-news-body p {
    font-size: 1em;
  }
}
