/* ==================================================
   1. Base page typography
   ================================================== */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  color: #060606;
  line-height: 1.35;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

h1 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 16px;
}

h2 {
  font-size: 26px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 10px;
}

p {
  margin-bottom: 14px;
  line-height: 1.35;
}

small {
  color: #444;
}

hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 30px 0;
}


/* ==================================================
   2. Links
   ================================================== */

a {
  color: #264778;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* ==================================================
   3. Lists
   ================================================== */

ul {
  margin-bottom: 14px;
  padding-left: 20px;
}

li {
  margin-bottom: 6px;
}

/* Nested lists: more separation and slightly more compact text */
li > ul,
li > ol {
  margin-top: 6px;
  margin-bottom: 4px;
  padding-left: 20px;
}

li > ul > li,
li > ol > li {
  font-size: 0.9em;
  line-height: 1.25;
  margin-bottom: 3px;
}
.blog-list li {
  margin-bottom: 6px;
}


/* ==================================================
   4. Navbar
   Final effective styling after later overrides
   ================================================== */

.navbar {
  background: none;
  border-bottom: 1px solid #ddd;
  padding-top: 6px;
  padding-bottom: 6px;
}

.navbar-nav {
  gap: 22px;
}

.navbar a {
  color: #1d4f91;
  font-weight: 600;
}

.navbar a:hover {
  text-decoration: underline;
}

.navbar .nav-link {
  font-size: 17px;
  font-weight: 600;
  padding: 6px 0;
  color: #1d4f91;
}

.navbar .nav-link:hover {
  text-decoration: underline;
}

.navbar .nav-link.active {
  color: #000;
  font-weight: 700;
  border-bottom: 0px solid #1d4f91;
}


/* ==================================================
   5. Home page layout
   ================================================== */

.home-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 10px;
}

.home-photo {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}

.home-name {
  font-size: 40px;
  margin: 0 0 6px 0;
}

.home-tagline {
  margin-bottom: 16px;
}

.home-links a {
  margin-right: 14px;
  font-weight: 600;
}

.home-box {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.home-box h2 {
  font-size: 18px;
  margin-top: 0;
}


/* ==================================================
   6. Publication-style entries
   Final effective styling after later overrides
   ================================================== */

.publication {
  margin-bottom: 10px;
  padding: 6px 0 8px 0;
  border-bottom: none;
}

.publication:last-child {
  border-bottom: none;
}

.publication + .publication {
  margin-top: 4px;
}

.pub-title {
  font-size: 1.05em;
  margin-bottom: 3px;
}

.pub-title a,
.publication .pub-title a {
  font-weight: 650;
  font-size: 1.02em;
  line-height: 1.25;
}

.pub-journal {
  font-style: italic;
  color: #333;
  margin-bottom: 3px;
  margin-left: 0px;
  line-height: 1.3;
}

.pub-authors {
  color: #444;
  margin-left: 0px;
  line-height: 1.3;
}

.pub-links {
  margin-top: 4px;
  margin-left: 0px;
  font-size: 0.92em;
  color: #444;
  line-height: 1.3;
}

.pub-links a {
  margin-right: 12px;
  font-weight: 600;
}

.pub-links a:hover {
  text-decoration: underline;
}

.pub-links a:not(:last-child)::after {
  content: " |";
  margin-left: 4px;
}


/* ==================================================
   7. Responsive adjustments
   ================================================== */

@media (max-width: 800px) {
  .home-grid {
    grid-template-columns: 1fr;
  }

  .home-photo {
    width: 140px;
    height: 140px;
  }
}




