.content-box-content {
  padding: 0;
}

.news-container {
  background-color: #dfdfdf;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.error-box {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.news-box {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.news-image {
  height: 180px;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-source {
  font-size: 14px;
  color: #303030;
  margin-bottom: 10px;
}

h3.news-title {
  font-size: 20px;
  color: #000;
  font-weight: 500;
  margin-top: 10px;
  margin-bottom: 10px;
}

.news-description {
  font-size: 16px;
  color: #111111;
  margin-top: 10px;
}

.news-date {
  font-size: 14px;
  color: #303030;
}

@media (min-width: 420px) {
  .news-image {
    height: 190px;
    width: 90%;
    margin: 0 auto;
  }
}

@media (min-width: 470px) {
  .news-image {
    width: 80%;
  }
}

@media (min-width: 550px) {
  .news-box {
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
  .news-image {
    height: 120px;
    width: 140px;
  }
}

@media (min-width: 600px) {
  .news-image {
    width: 165px;
  }
}

@media (min-width: 700px) {
  .news-image {
    width: 180px;
    height: 140px;
  }
}

@media (prefers-color-scheme: dark) {
  .news-container {
    background-color: #1a1a1a;
  }

  .error-box {
    background-color: #2a2a2a;
  }

  .news-box {
    background-color: #2a2a2a;
  }

  .news-source {
    color: #e0e0e0;
  }

  h3.news-title {
    color: #ffffff;
  }

  .news-description {
    color: #d0d0d0;
  }

  .news-date {
    color: #a0a0a0;
  }
}
