/* Modern CSS for AI News Daily */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Georgia", serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

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

/* Header */
.navbar {
  background: #2c3e50;
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.nav-menu a:hover {
  background-color: #34495e;
}

/* Main Content */
main {
  margin: 2rem auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

/* Article Styling */
.article-header {
  border-bottom: 3px solid #3498db;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.article-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.article-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.article-content h1 {
  font-size: 2rem;
  color: #2c3e50;
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #3498db;
}

.article-content h2 {
  font-size: 1.8rem;
  color: #34495e;
  border-bottom: 2px solid #3498db;
  padding-bottom: 0.5rem;
  margin: 2rem 0 1rem 0;
}

.article-content h3 {
  font-size: 1.4rem;
  color: #555;
  margin: 1.5rem 0 0.5rem 0;
}

.article-content p {
  margin-bottom: 1rem;
  text-align: justify;
  line-height: 1.8;
}

.article-content strong {
  color: #2c3e50;
  font-weight: 600;
}

.article-content em {
  color: #7f8c8d;
  font-style: italic;
}

.article-content a {
  color: #3498db;
  text-decoration: none;
  border-bottom: 1px solid #3498db;
}

.article-content a:hover {
  color: #2980b9;
  border-bottom-color: #2980b9;
}

.keywords-box {
  background: #f8f9fa;
  border-left: 4px solid #3498db;
  padding: 1rem;
  margin: 2rem 0;
}

/* Ad Banners */
.ad-banner {
  margin: 2rem 0;
  text-align: center;
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 4px;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer a {
  color: #3498db;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0.5rem;
  }

  .article-title {
    font-size: 2rem;
  }

  .article-content h1 {
    font-size: 1.6rem;
  }

  .article-content h2 {
    font-size: 1.4rem;
  }

  .article-content h3 {
    font-size: 1.2rem;
  }

  .article-content {
    font-size: 1rem;
  }

  main {
    margin: 1rem auto;
    padding: 1rem;
  }
}

/* SEO and Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
