@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* ── Base ────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  background: #fafaf8;
}

/* ── Typography ──────────────────────────────── */

h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

h2 {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  text-align: left;
  color: #444;
}

a {
  color: #2563a8;
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 168, 0.3);
  text-underline-offset: 2px;
  transition: color 0.15s, text-decoration-color 0.15s;
}

a:hover {
  color: #194a7a;
  text-decoration-color: #194a7a;
}

strong {
  font-weight: 600;
  color: #1a1a1a;
}

/* ── Layout ──────────────────────────────────── */

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero ─────────────────────────────────────── */

.hero {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  padding: 56px 0 40px;
}

.hero-text {
  flex: 1;
}

.hero-text .bio {
  margin-top: 16px;
}

.hero-text .interests {
  margin-top: 10px;
  font-size: 14px;
  color: #777;
}

.hero-photo {
  flex-shrink: 0;
  padding-top: 6px;
}

.hero-photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}

/* ── Social links ─────────────────────────────── */

.social-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.social-links .sep {
  color: #bbb;
  user-select: none;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2563a8;
  font-size: 14px;
  text-decoration: none;
}

.social-link:hover {
  color: #194a7a;
  text-decoration: none;
}

.social-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  opacity: 0.7;
}

/* ── Sections ─────────────────────────────────── */

.section {
  padding: 24px 0 8px;
}

.section-header {
  padding-bottom: 8px;
  border-bottom: 1.5px solid #e0e0e0;
  margin-bottom: 20px;
}

/* ── News ─────────────────────────────────────── */

.news-list {
  list-style: none;
  padding: 0;
}

.news-item {
  padding: 6px 0;
  font-size: 14px;
  color: #444;
  line-height: 1.55;
}

.news-date {
  color: #999;
  font-size: 13px;
  min-width: 84px;
  display: inline-block;
}

/* ── Entry cards ──────────────────────────────── */

.entry-card {
  display: flex;
  gap: 20px;
  padding: 18px 0;
}

.entry-card+.entry-card {
  border-top: 1px solid #eee;
}

.entry-thumb {
  flex-shrink: 0;
  width: 140px;
  height: 105px;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid #e8e8e8;
  align-self: flex-start;
  margin-top: 2px;
}

.entry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.entry-body {
  flex: 1;
  min-width: 0;
}

.entry-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #1a1a1a;
  text-decoration: none;
}

.entry-title:hover {
  color: #2563a8;
  text-decoration: none;
}

.entry-authors {
  margin-top: 3px;
  font-size: 13.5px;
  color: #555;
  line-height: 1.5;
}

.entry-authors a {
  color: #555;
  text-decoration: none;
}

.entry-authors a:hover {
  color: #2563a8;
  text-decoration: none;
}

.entry-venue {
  margin-top: 4px;
  font-size: 13px;
  color: #888;
  font-style: italic;
}

.oral-tag {
  font-style: normal;
  font-weight: 600;
  color: #c0392b;
}

.entry-description {
  margin-top: 8px;
  font-size: 13.5px;
  color: #555;
  line-height: 1.65;
}

/* ── Footer ───────────────────────────────────── */

footer {
  padding: 40px 0 32px;
  text-align: right;
}

footer p {
  font-size: 12px;
  color: #aaa;
  text-align: right;
}

footer a {
  color: #aaa;
  text-decoration: none;
}

footer a:hover {
  color: #666;
  text-decoration: none;
}

/* ── Responsive ───────────────────────────────── */

@media (max-width: 600px) {
  h1 {
    font-size: 1.6rem;
  }

  .hero {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    padding: 40px 0 32px;
    gap: 24px;
  }

  .hero-photo img {
    width: 130px;
    height: 130px;
  }

  .social-links {
    justify-content: center;
  }

  .entry-card {
    flex-direction: column;
    gap: 12px;
  }

  .entry-thumb {
    width: 100%;
    max-width: 200px;
    height: 130px;
  }
}