body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  line-height: 1.6;
  background: #f7f7f9;
  color: #222;
}

a {
  color: #0056b3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 960px;
  margin: 80px auto 40px;
  padding: 0 16px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(0,0,0,0.06);
  border-radius: 8px;
  padding-bottom: 32px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  z-index: 1000;
}

.nav-brand {
  font-weight: 600;
  font-size: 1.05rem;
}

.nav-right a {
  margin-left: 12px;
  font-size: 0.95rem;
}

.nav-right a.active {
  font-weight: 600;
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  padding: 24px 16px 8px;
}

.hero-text {
  flex: 2 1 280px;
  margin-right: 16px;
}

.hero-photo {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}

.hero-photo img {
  max-width: 180px;
  border-radius: 50%;
  border: 3px solid #eee;
}

.hero h1 {
  margin-top: 12px;
  margin-bottom: 4px;
}

.hero h2 {
  font-size: 1rem;
  font-weight: 400;
  color: #555;
}

.tagline {
  margin-top: 12px;
  font-style: italic;
}

/* Buttons */
.btn,
.btn-outline {
  display: inline-block;
  padding: 8px 14px;
  margin-top: 12px;
  margin-right: 8px;
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
}

.btn {
  background: #0056b3;
  color: #fff;
}

.btn-outline {
  border: 1px solid #0056b3;
  color: #0056b3;
  background: #fff;
}

/* Sections */
main section {
  padding: 0 16px;
  margin-top: 24px;
}

main h2 {
  margin-bottom: 8px;
}

/* Lists */
.news-list,
.pub-list {
  padding-left: 20px;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.table th,
.table td {
  padding: 8px;
  border: 1px solid #ddd;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 12px 8px 20px;
  font-size: 0.85rem;
  color: #666;
}

/* Mobile tweaks */
@media (max-width: 720px) {
  .container {
    margin-top: 96px;
  }

  .nav-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-right a {
    margin: 4px 6px;
  }

  .hero {
    flex-direction: column;
  }

  .hero-photo {
    margin-top: 16px;
  }
}
