.achievements {
  margin-top: 1rem;
}
.achievements-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.achievements-list li {
  margin-bottom: 0.5rem;
  color: #444;
}
.achievement-category {
  margin-bottom: 2rem;
}
.achievement-category h3 {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #333;
}
.achievement-category h3 .icon {
  width: 1.25em;
  height: 1.25em;
  margin-right: 0.5em;
  vertical-align: middle;
}
.achievement-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.achievement-category ul li {
  margin-bottom: 0.75rem;
}

.achievement-category ul li p {
  color: #666;
  font-size: 0.9rem;
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* Patents Section */
.patents {
  margin-top: 1rem;
}
.patents-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.patents-list li {
  margin-bottom: 1rem;
  color: #444;
}
.patents-list h2 {
  margin-bottom: 1rem;
  color: #333;
}
.patents-list strong {
  font-weight: bold;
}
.patents-list em {
  display: block;
  font-style: italic;
  margin: 0.25rem 0;
  color: #666;
  font-size: 0.9rem;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #fff;
  color: #111;
}

.container {
  max-width: 800px;
  margin: auto;
  padding: 2rem;
}

nav {
  text-align: center;
  margin-bottom: 2rem;
  background-color: #113469;
  padding: 1rem 0;
}

nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}

h1,
h2 {
  color: #333;
}

footer {
  text-align: center;
  margin-top: 4rem;
  font-size: 0.9em;
  color: #777;
}

.publication {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.publication-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: contain;
  margin-bottom: 0.1rem;
}

.publication-details {
  flex: 1;
}

.publication-card {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  padding-right: 2.5rem;
  border-bottom: 1px solid #ddd;
}

.publication-buttons {
  margin-top: 0.5rem;
}

.btn {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  margin-right: 0.5rem;
  text-decoration: none;
  border: 1px solid #0366d6;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: bold;
}

.btn-pdf {
  background-color: #0366d6;
  color: #fff;
}

.btn-doi {
  background-color: #fff;
  color: #0366d6;
}

.btn:hover {
  opacity: 0.8;
}

/* Numbering for publication cards */
.publications-grid {
  counter-reset: pub-counter;
}

.publication-card::before {
  counter-increment: pub-counter;
  content: counter(pub-counter);
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

/* Hide numbering on featured publications */
.featured-grid .publication-card::before {
  display: none;
}

/* Tighten spacing within publication-content */
.publication-content h3 {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.publication-content p {
  margin: 0.6rem 0;
}

/* .publication-buttons {
  margin-top: 0.25rem;
} */

/* Profile image placeholder */
.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0;
  display: block;
  object-fit: cover;
}

/* Profile header layout */
.profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.profile-text h1 {
  margin: 0;
}

.profile-text p {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  color: #555;
}

/* Recent News Section */
.recent-news {
  margin-top: 1rem;
}
/* .recent-news h2 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
  color: #333;
} */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.news-list time {
  flex: 0 0 90px;
  font-size: 0.9rem;
  color: #666;
  margin-right: 1.5rem;
}
.news-content {
  flex: 1;
}
.news-content h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #111;
}
.news-content p {
  margin: 0.25rem 0;
  color: #444;
}
.read-more {
  font-size: 0.9rem;
  color: #0366d6;
  text-decoration: none;
  font-weight: bold;
}
.read-more:hover {
  text-decoration: underline;
}

/* Education & Experience Section */
.info-grid {
  display: flex;
  gap: 2rem;
  max-width: 800px;
}
.info-column {
  flex: 1;
}
.info-column h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}
.info-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.info-column ul li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  color: #444;
}
.item-label {
  flex: 1;
}
.item-year {
  flex: 0 0 auto;
  margin-left: 1rem;
  color: #666;
}

.item-degree {
  font-weight: bold;
  margin-right: 0.5rem;
}

.item-institution {
  display: block;
  margin-top: 0.25rem;
  font-style: italic;
  color: #555;
}

.item-role {
  font-weight: bold;
  margin-right: 0.5rem;
}

.item-company {
  display: block;
  margin-top: 0.25rem;
  font-style: italic;
  color: #555;
}

/* Stack Education & Experience on mobile */
@media (max-width: 600px) {
  .info-grid {
    flex-direction: column;
  }
  .profile-header {
    flex-direction: column;
    align-items: center;
  }

  /* Stack recent news date below content on mobile */
  .news-list li {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
  }
  .news-content {
    order: 1;
  }
  .news-list time {
    order: 2;
    flex: none;
    margin-right: 0;
    margin-top: 0.25rem;
  }
}

/* Teaser section for CVI page */
.teaser-section {
  margin: 2rem 0;
}
.teaser-item h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.25rem;
  color: #333;
}
.teaser-item p {
  margin: 0 0 1rem;
  color: #555;
}
.coming-soon {
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
}

/* News item actions */
.news-actions {
  margin-top: 0.5rem;
}
.video-link {
  font-size: 0.9rem;
  color: #0366d6;
  margin-left: 1rem;
  text-decoration: none;
  font-weight: bold;
}
.video-link:hover {
  text-decoration: underline;
}

/* Footer last updated note */
.last-updated {
  font-size: 0.8rem;
  color: #777;
  margin-top: 0.5rem;
}

/* Constrain social  dSVG icons */
.social-icons svg {
  width: 24px !important;
  height: 24px !important;
  display: inline-block;
  vertical-align: middle;
  color: #113469;
}

/* Remove underline from social icon links */
.social-icons a {
  text-decoration: none;
}

.section-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 2rem 10;
}

.view-all-button {
  text-align: left;
  margin-top: 1em;
  padding-top: 0.5em;
}
