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

body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 16px;
  line-height: 1.65;
  color: #333333;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

/* The top color bar from the original template */
.header-track {
  background-color: #edf2f7; /* Very light gray/blue track */
  height: 6px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
}

.header {
  background-color: #1b4b72; /* Refined academic blue */
  height: 6px;
  width: 0%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transition: width 0.1s ease-out; /* Smooth progression */
}

.wrapper {
  max-width: 820px;
  margin: 50px auto;
  padding: 0 20px;
}

/* Headings using a nice Serif font */
h1, h2, h3, h4, h5 {
  font-family: 'Merriweather', Georgia, serif;
  color: #1b4b72; /* Matches the top bar */
}

h2 {
  font-size: 1.4em;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 5px;
  margin-top: 1.8em;
  margin-bottom: 0.8em;
}

h3 {
  font-size: 1.6em;
  margin-bottom: 5px;
  margin-top: 0;
}

h5 {
  font-size: 1.1em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

b, strong {
  font-weight: 800;
  color: #111111;
}

a {
  color: #2b6cb0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #1a365d;
}

/* Original table layout for header */
.imgtable {
  width: 100%;
  margin-bottom: 2em;
}

.imgtable td {
  vertical-align: top;
}

.imgtable td:first-child {
  width: 160px; /* Reserve space for an image if you add one */
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
  .wrapper {
    margin: 20px auto;
  }
  
  .imgtable, .imgtable tbody, .imgtable tr, .imgtable td {
    display: block;
    width: 100%;
  }

  .imgtable td:first-child {
    text-align: center;
    margin-bottom: 15px;
    width: 100%;
  }

  .imgtable td:first-child img {
    margin: 0 auto !important;
  }
  
  .nav-index {
    line-height: 2;
  }
}

ul {
  padding-left: 20px;
  list-style-type: square;
}

ul.no-bullets {
  list-style-type: none;
  padding-left: 0;
}

ul.compact-list li {
  margin-bottom: 4px;
}

li {
  margin-bottom: 12px;
}

/* The custom tag from the original template for descriptions */
l {
  color: #555555;
  font-size: 0.95em;
}

p {
  margin-bottom: 1em;
}

.nav-index {
  font-size: 0.85em;
  text-align: center;
}

.nav-index a {
  color: #1b4b72;
  font-family: Georgia, serif;
  font-weight: 600;
}

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

footer {
  margin-top: 4em;
  padding-top: 1em;
  color: #718096;
  font-size: 0.9em;
  text-align: left;
}
