/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f4f6f8;
  color: #1f2937;
  line-height: 1.6;
  padding-top: 100px;
  padding-bottom: 70px;
}

header {
  background: linear-gradient(to right, #1e3a8a, #3b82f6);
  color: white;
  padding: 1em 1em;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
}

.tagline {
  font-size: 1rem;
  color: #dbeafe;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sidebar {
  align-self: flex-start;
  padding-left: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.section-title i {
  font-size: 1.5rem;
  color: #2563eb;
  margin-right: 8px;
}

.category {
  margin-bottom: 30px;
}

.category h2 {
  color: #111827;
  border-left: 5px solid #2563eb;
  padding-left: 10px;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.article-card {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.article-card a {
  text-decoration: none;
  color: #1e40af;
  font-weight: 600;
  display: block;
}

.article-card a:hover {
  color: #2563eb;
}

footer {
  background: linear-gradient(to right, #1e3a8a, #2563eb);
  color: white;
  text-align: center;
  padding: 1.2em 1em;
  font-size: 0.95em;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1000;
}

footer a {
  color: #93c5fd;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .container {
    padding: 60px 15px;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .category h2 {
    font-size: 1.25rem;
  }
  .article-card {
    padding: 15px;
  }
}
