body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  background-color: #f4f4f4;
  color: #222;
}

.sidebar {
  width: 220px;
  background-color: #111;
  color: white;
  padding: 20px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin: 20px 0;
}

.sidebar ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.sidebar ul li a:hover {
  text-decoration: underline;
}

.content {
  margin-left: 240px;
  padding: 40px;
  max-width: 800px;
}

h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

h2 {
  font-size: 24px;
  margin: 15px 0 5px;
}

.byline {
  font-style: italic;
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

article {
  background: white;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

article img.thumb {
  max-width: 100%;
  height: auto;
  margin: 10px 0 15px;
  border-radius: 4px;
}

article p {
  line-height: 1.6;
  margin-bottom: 10px;
}

.pagination {
  text-align: center;
  margin: 40px 0;
}

.pagination a {
  background-color: #333;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
}

.pagination a:hover {
  background-color: #555;
}


/* Scoped article readability improvements */
main h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

main h2 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 8px;
}

main p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 75ch;
}


/* Ensure article titles are prominent */
.article-title {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 10px;
}

/* FINALIZED ARTICLE TITLE VISUAL FIX */
.article-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  display: block;
  margin: 30px 0 10px;
}

/* Ensure subheaders are visibly smaller than article title */
.content article h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 20px;
}


