:root {
  --ink: #1a1a1a;
  --muted: #4b4f57;
  --accent: #2b6ea6;
  --accent-soft: #d8e6f2;
  --border: #e0e3e8;
  --bg: #f7f8fa;
}

body {
  color: var(--ink);
  background: var(--bg);
  font-family: "Source Serif 4", "Georgia", "Times New Roman", serif;
}

.container {
  max-width: 980px;
}

.header {
  padding: 2rem 0 1.25rem;
  border-bottom: 1px solid var(--border);
}

#logo {
  height: 90px;
  width: auto;
  display: block;
  padding: 6px 20px;
  background: #2b6ea6;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(27, 39, 51, 0.12);
  box-sizing: border-box;
  object-fit: contain;
}

.nav-pills .nav-link {
  color: var(--muted);
  border-radius: 999px;
  padding: 0.5rem 1rem;
}

.nav-pills .nav-link.active {
  background: var(--accent);
  color: #fff;
}

.jumbotron {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0 1.5rem;
  box-shadow: 0 10px 25px rgba(27, 39, 51, 0.08);
}

.jumbotron-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.jumbotron .pub-image-frame {
  height: auto;
  aspect-ratio: 4 / 3;
}

.jumbotron .pub-image {
  object-fit: contain;
}

h2 {
  margin-top: 1.5rem;
  font-size: 1.6rem;
}

.news .date {
  font-weight: 600;
  margin-right: 0.75rem;
  color: var(--muted);
}

.shortnews {
  display: grid;
  grid-template-columns: 32px 120px 1fr;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.shortnews:last-child {
  border-bottom: none;
}

.section-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.section-card h2 {
  margin-bottom: 2.5rem;
}

.section-card p {
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

.section-card p:last-child {
  margin-bottom: 0;
}

.mobile-break {
  display: none;
}

.role-dash {
  display: inline;
}

.people-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.people-list li {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.person-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.person-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.person-details {
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pub-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pub-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pub-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pub-item-wide {
  grid-template-columns: 1fr;
}

.pub-item-wide .pub-content {
  width: 100%;
}


.pub-image-frame {
  height: 130px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pub-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  align-self: stretch;
}

.pub-title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.pub-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.pub-authors {
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.pub-meta {
  margin-bottom: 0.5rem;
  font-weight: 400;
  font-style: italic;
}

.pub-link {
  color: var(--accent);
  font-weight: 600;
}

.pub-image-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 0.75rem;
  width: 100%;
}

.pub-image-row .pub-image-frame {
  height: 220px;
}

.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .header {
    gap: 1rem;
  }

  .section-card p {
    font-size: 1.02rem;
    line-height: 1.65;
  }

  .mobile-break {
    display: block;
    height: 0.45rem;
  }

  .role-dash {
    display: none;
  }

  .people-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .person-photo {
    width: 84px;
    height: 84px;
  }

  .person-details {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .shortnews {
    grid-template-columns: 24px 1fr;
  }

  .shortnews .date {
    grid-column: 2;
  }

  .pub-item {
    grid-template-columns: 1fr;
  }

  .jumbotron-images {
    grid-template-columns: 1fr;
  }

  .pub-image-frame {
    height: 180px;
  }

  .pub-image-row {
    grid-template-columns: 1fr;
  }

  .pub-image-row .pub-image-frame {
    height: 200px;
  }
}
