@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@400;500;600&display=swap');

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

body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  color: #2D3436;
  background: #F8F9FA;
}

/* Header */
header {
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 28px;
}

header nav {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  display: flex;
  gap: 24px;
}

header nav a {
  color: #555;
  text-decoration: none;
  font-weight: 500;
}

header nav a:hover {
  color: #2B6CB0;
}

header nav a.active {
  color: #2B6CB0;
}

/* Main content */
main {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 24px;
}

h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #1A1A2E;
  line-height: 1.3;
  margin-bottom: 8px;
}

h2 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #8D6E63;
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e2e8f0;
}

h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1A1A2E;
  margin-top: 24px;
  margin-bottom: 8px;
}

p {
  margin: 14px 0;
}

a {
  color: #2B6CB0;
  text-decoration: underline;
  text-decoration-color: #b8d4f0;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: #2B6CB0;
}

/* Article subtitle/description on essay pages */
.subtitle {
  font-style: italic;
  color: #666;
  font-size: 18px;
  margin-bottom: 4px;
}

.meta {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  color: #888;
  margin-bottom: 32px;
}

/* Implications box */
.implications {
  background: #EDF2F7;
  border-left: 4px solid #2B6CB0;
  padding: 20px 24px;
  margin: 28px 0;
}

.implications h2 {
  margin-top: 0;
  border-bottom: none;
  padding-bottom: 0;
  color: #2B6CB0;
}

.implications ol {
  padding-left: 20px;
}

.implications li {
  margin: 10px 0;
}

/* Article list on index */
.article-list {
  list-style: none;
}

.article-list li {
  padding: 20px 0;
  border-bottom: 1px solid #e2e8f0;
}

.article-list li:last-child {
  border-bottom: none;
}

.article-list a {
  text-decoration: none;
  display: block;
}

.article-list a:hover .article-title {
  color: #2B6CB0;
}

.article-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: #1A1A2E;
  line-height: 1.3;
}

.article-desc {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  color: #666;
  margin-top: 4px;
  line-height: 1.4;
}

.article-date {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Topic label */
.topic-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2B6CB0;
  display: inline-block;
  margin-bottom: 4px;
}

/* About page */
.about-photo {
  margin: 20px 0;
}

.about-photo img {
  width: 200px;
  border-radius: 4px;
}

.contact-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 24px;
  border: 1px solid #2B6CB0;
  color: #2B6CB0;
  text-decoration: none;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.contact-btn:hover {
  background: #2B6CB0;
  color: #fff;
}

/* Footer */
footer {
  border-top: 1px solid #e2e8f0;
  padding: 24px 40px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  color: #999;
  text-align: center;
}

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

footer a:hover {
  color: #2B6CB0;
}

/* Essay header image */
.essay-header-img {
  width: 100%;
  margin-bottom: 24px;
}

/* Footnotes */
.footnotes {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  font-size: 14px;
  color: #666;
}

.footnotes ol {
  padding-left: 20px;
}

.footnotes li {
  margin: 8px 0;
}

sup a {
  font-size: 12px;
  text-decoration: none;
  color: #2B6CB0;
}
