/* Reset some default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: white;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.header {
  background-color: #007BFF;
  padding: 10px 0;
}

.header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo svg {
  width: 120px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav .menu {
  list-style: none;
  display: flex;
}

.main-nav .menu li {
  margin-right: 20px;
}

.main-nav .menu li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.main-nav .menu li a:hover {
  text-decoration: underline;
}

.search-language {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.search-language input {
  padding: 5px;
  margin-right: 10px;
}

.search-language select {
  padding: 5px;
}

/* News Grid Section */
.news-grid {
  margin-top: 30px;
}

.news-grid h1 {
  font-size: 24px;
  margin-bottom: 20px;
}

.news-item {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.news-item h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.news-item .news-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.news-item .news-description {
  font-size: 16px;
  margin-bottom: 10px;
}

.news-item .social-share a {
  text-decoration: none;
  color: #007BFF;
  margin-right: 10px;
}

.news-item .social-share a:hover {
  text-decoration: underline;
}

/* Top Stories Section */
.top-stories {
  margin-top: 50px;
}

.top-stories h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.top-story-item {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-story-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.top-story-item .story-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.top-story-item .story-description {
  font-size: 16px;
  margin-bottom: 10px;
}

.top-story-item .social-share a {
  text-decoration: none;
  color: #007BFF;
  margin-right: 10px;
}

.top-story-item .social-share a:hover {
  text-decoration: underline;
}

/* Pagination Section */
.pagination {
  margin-top: 30px;
  text-align: center;
}

.pagination button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 10px;
}

.pagination button:hover {
  background-color: #0056b3;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background-color: #f1f1f1;
  margin-top: 50px;
  border-top: 1px solid #ddd;
}

.footer p {
  font-size: 14px;
  color: #888;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .main-nav .menu {
    display: none;
    flex-direction: column;
  }

  .main-nav .hamburger-menu {
    display: block;
  }

  .hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
  }

  .main-nav .menu.active {
    display: flex;
  }

  .news-item, .top-story-item {
    padding: 10px;
  }
}