/* === General Page Styling === */
body {
  font-family: Georgia, serif;
  max-width: 800px;
  margin: auto;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}
 

/* Page title (#) */
h1 {
  font-size: 1.4rem;   /* ≈28px */
  font-weight: 600;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
  color: #002b5c;
  line-height: 1.25;
}

/* Section title (##) */
h2 {
  font-size: 1.3rem;   /* ≈22px */
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: #002b5c;
  line-height: 1.3;
}

/* Subsection title (###) */
h3 {
  font-size: 1.1rem;    /* ≈18px */
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  color: #003366;
}

/* Minor subsection (####) */
h4 {
  font-size: 1rem;      /* ≈16px */
  font-weight: 600;
  margin-top: 0.8rem;
  margin-bottom: 0.3rem;
  color: #333;
}

a {
  color: #004080;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* === Header (AcademicPages style) === */
.site-header {
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
  background-color: #f8f9fa;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  color: #002b5c;
}

.site-nav a:hover {
  text-decoration: underline;
}

/* Responsive stacking on mobile */
@media (max-width: 650px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav ul {
    margin-top: 0.5rem;
  }
}

/* === Page Sections === */
ul {
  line-height: 1.8;
}

ul li {
  margin-bottom: 10px;
}

/* === Contact Section === */
#contact {
  margin-top: 40px;
  padding: 10px;
  border-top: 1px solid #ddd;
}

.contact-info {
  text-align: left;
  font-size: 16px;
}

.contact-info a {
  color: #004080;
}

/* === Footer === */
footer {
  text-align: left;
  font-size: 14px;
  padding: 20px 0;
  margin-top: 40px;
  background-color: #f1f1f1;
  border-top: 1px solid #ddd;
}

.address-block {
  line-height: 1.5;
  margin-top: 1em;
  margin-bottom: 1em;
}