body {
  background: #f7f7f5;
}

.container:has(.academic-home) {
  width: min(1180px, calc(100% - 32px));
}

.container:has(.academic-home) > .row > [class*="col-"] {
  float: none;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.academic-home {
  --surface: #ffffff;
  --surface-soft: #f3f2ed;
  --border: #d8d8d2;
  --text: #1e1e1e;
  --muted: #5f625f;
  --accent: #1f65ab;
  --accent-soft: #e7f1ff;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  margin: 0 auto 24px;
  max-width: 1180px;
  overflow: hidden;
}

.academic-home h1,
.academic-home h2,
.academic-home h3 {
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  margin-top: 0;
}

.academic-home h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 8px;
}

.academic-home h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}

.academic-home h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 5px;
}

.academic-home p,
.academic-home li,
.academic-home a {
  font-size: 15px;
  line-height: 1.65;
}

.academic-home p {
  margin-bottom: 0;
}

.hero-panel {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 190px;
  padding: 42px 32px 34px;
}

.hero-copy {
  max-width: 650px;
}

.section-label {
  color: #74736e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-role {
  color: #343434;
  font-weight: 500;
  margin-bottom: 2px;
}

.hero-role + .hero-summary {
  margin-top: 18px;
}

.hero-summary {
  color: #333735;
  font-size: 16px;
  line-height: 1.72;
  max-width: 43em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.action-pill {
  background: #ffffff;
  border: 1px solid #bfc3c8;
  border-radius: 8px;
  color: #064f99;
  display: inline-flex;
  font-size: 14px;
  line-height: 1.2;
  padding: 7px 12px;
  text-decoration: none;
}

.action-pill:hover,
.action-pill:focus {
  background: var(--accent-soft);
  border-color: #8eb8e6;
  color: #064f99;
  text-decoration: none;
}

.action-pill.primary {
  background: #1f65ab;
  border-color: #1f65ab;
  color: #ffffff;
}

.action-pill.primary:hover,
.action-pill.primary:focus {
  background: #174f88;
  border-color: #174f88;
  color: #ffffff;
}

.hero-card {
  align-self: start;
  text-align: center;
}

.hero-portrait {
  aspect-ratio: 1 / 1.15;
  border: 1px solid var(--border);
  border-radius: 10px;
  object-fit: cover;
  width: 140px;
}

.hero-card-body {
  color: var(--muted);
  margin-top: 9px;
}

.hero-card-name {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.hero-card-body p {
  font-size: 13px;
  line-height: 1.45;
}

.hero-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}

.hero-socials a {
  color: #064f99;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.hero-socials a:hover,
.hero-socials a:focus {
  color: #174f88;
  text-decoration: underline;
}

.news-strip {
  border-top: 1px solid var(--border);
  padding: 22px 32px 24px;
}

.news-list {
  display: grid;
  gap: 10px;
}

.news-item {
  align-items: baseline;
  display: grid;
  gap: 14px;
  grid-template-columns: 74px minmax(0, 1fr);
}

.news-item span {
  color: #6b6b66;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.news-item p {
  color: #333735;
  font-size: 14px;
  line-height: 1.55;
}

.news-item a {
  color: #0d5ea8;
  font-size: inherit;
  font-weight: 800;
  text-decoration: none;
}

.news-item a:hover,
.news-item a:focus {
  color: #174f88;
  text-decoration: underline;
}

.content-grid {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 216px;
}

.main-column {
  border-right: 1px solid var(--border);
  padding: 28px 32px 30px;
}

.side-column {
  padding: 28px 24px 30px;
}

.content-section + .content-section {
  margin-top: 28px;
}

.project-list {
  margin-top: 10px;
}

.project-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0 15px;
}

.project-item:first-child {
  padding-top: 8px;
}

.project-item p {
  color: #3f4444;
  font-size: 14px;
  line-height: 1.55;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.project-links a {
  background: var(--accent-soft);
  border-radius: 4px;
  color: #1260a6;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  padding: 4px 7px;
  text-decoration: none;
}

.project-links a:hover,
.project-links a:focus {
  background: #d7e9ff;
  color: #064f99;
  text-decoration: none;
}

.highlight-list {
  border-top: 1px solid var(--border);
  margin-top: 10px;
}

.highlight-list a {
  border-bottom: 1px solid var(--border);
  color: var(--text);
  display: block;
  padding: 12px 0;
  text-decoration: none;
}

.highlight-list a:hover,
.highlight-list a:focus {
  color: var(--text);
  text-decoration: none;
}

.highlight-list strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.highlight-list span {
  color: #3f4444;
  display: block;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 3px;
}

.about-section p {
  color: #3f4444;
}

.side-card + .side-card {
  margin-top: 24px;
}

.impact-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.impact-card {
  background: var(--surface-soft);
  border-radius: 8px;
  min-height: 80px;
  padding: 10px;
}

.impact-value {
  color: var(--text);
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 5px;
}

.impact-card p {
  color: #373a38;
  font-size: 12px;
  line-height: 1.35;
}

.award-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.award-list li {
  border-bottom: 1px solid var(--border);
  color: var(--text);
  display: flex;
  font-size: 13px;
  gap: 10px;
  justify-content: space-between;
  line-height: 1.4;
  padding: 8px 0;
}

.award-list li span:last-child {
  color: var(--muted);
  flex: 0 0 auto;
}

.callout-card {
  background: var(--accent-soft);
  border: 1px solid #82b7ed;
  border-radius: 10px;
  padding: 16px;
}

.callout-card p {
  color: #064f99;
  font-size: 13px;
  line-height: 1.55;
}

.inline-link {
  background: #1f65ab;
  border-radius: 8px;
  color: #ffffff;
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 12px;
  padding: 8px 12px;
  text-decoration: none;
}

.inline-link:hover,
.inline-link:focus {
  background: #174f88;
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 991px) {
  .hero-panel,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: start;
    text-align: left;
  }

  .hero-socials {
    justify-content: flex-start;
  }

  .main-column {
    border-right: 0;
    padding-bottom: 18px;
  }

  .side-column {
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 767px) {
  .academic-home {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
  }

  .academic-home h1 {
    font-size: 30px;
  }

  .hero-panel,
  .main-column,
  .news-strip,
  .side-column {
    padding-left: 22px;
    padding-right: 22px;
  }

  .news-item {
    gap: 4px;
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
