/* Academic homepage styling */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Source+Serif+4:ital,wght@0,400;0,600;0,700;1,400&display=swap');

.page__content {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2c3e50;
}

.page__content h2,
.page__content h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1a2332;
  border-bottom: 2px solid #c9a227;
  padding-bottom: 0.35em;
  margin-top: 2.2em;
  margin-bottom: 1em;
}

.page__content h2:first-child {
  margin-top: 0;
}

.page__content a {
  color: #1e4d7b;
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 77, 123, 0.25);
  transition: color 0.2s, border-color 0.2s;
}

.page__content a:hover {
  color: #0d3a66;
  border-bottom-color: #0d3a66;
}

/* Intro block */
.academic-intro {
  font-size: 1.08rem;
  margin-bottom: 0.5em;
}

.academic-intro .highlight {
  color: #1e4d7b;
  font-weight: 600;
}

/* News list */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  position: relative;
  padding: 0.65em 0 0.65em 1.4em;
  border-bottom: 1px solid #eef1f4;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #c9a227;
  font-weight: bold;
}

.news-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
  margin-right: 0.4em;
}

.news-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15em 0.55em;
  border-radius: 4px;
  background: #1e4d7b;
  color: #fff;
  margin-right: 0.35em;
  vertical-align: middle;
}

/* Publication cards */
.pub-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pub-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #eef1f4;
  transition: background 0.2s;
}

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

.pub-item:hover {
  background: #fafbfc;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border-radius: 8px;
}

.pub-thumb {
  flex-shrink: 0;
  width: 200px;
  height: 130px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  background: #f8fafc;
}

.pub-content {
  flex: 1;
  min-width: 0;
}

.pub-title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 0.4em;
  color: #1a2332;
}

.pub-title a {
  border-bottom: none;
  color: inherit;
}

.pub-title a:hover {
  color: #1e4d7b;
}

.pub-authors {
  font-size: 0.95rem;
  color: #4b5563;
  margin: 0 0 0.35em;
}

.pub-authors strong {
  color: #1a2332;
}

.pub-venue {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #6b7280;
  margin: 0 0 0.5em;
}

.pub-venue em {
  font-style: normal;
  color: #374151;
  font-weight: 500;
}

.pub-award {
  color: #b91c1c;
  font-weight: 600;
}

.pub-links {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
}

.pub-links a {
  display: inline-block;
  margin-right: 0.75em;
  padding: 0.2em 0.65em;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  border-bottom: 1px solid #d1d5db;
  color: #374151;
}

.pub-links a:hover {
  background: #1e4d7b;
  border-color: #1e4d7b;
  color: #fff;
}

/* Internship experience list */
.internship-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.internship-entry {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #eef1f4;
}

.internship-entry:last-child {
  border-bottom: none;
}

.internship-logo {
  flex-shrink: 0;
  width: 140px;
  height: 72px;
  object-fit: contain;
  object-position: left center;
  margin-top: 0.1rem;
}

.internship-details {
  flex: 1;
  min-width: 0;
}

.internship-header {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #1a2332;
  margin: 0 0 0.35em;
  line-height: 1.5;
}

.internship-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.internship-bullets li {
  position: relative;
  padding: 0.15em 0 0.15em 1.1em;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.55;
}

.internship-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1a2332;
  font-weight: 700;
}

/* Sidebar refinements */
.author__name {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
}

.author__bio {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem !important;
  color: #4b5563 !important;
}

/* Responsive */
@media (max-width: 768px) {
  .pub-item {
    flex-direction: column;
  }

  .pub-thumb {
    width: 100%;
    height: auto;
    max-height: 180px;
  }

  .internship-entry {
    flex-direction: column;
    gap: 0.75rem;
  }

  .internship-logo {
    width: 120px;
    height: 60px;
  }
}
